.deck-flow-main { min-height: 70vh; }
.deck-flow-main .deck-tool-breadcrumbs { padding-top: 14px; }
.deck-flow-main .deck-tool-breadcrumbs a { color: #b8f9ff; }
.deck-flow-main .deck-tool-breadcrumbs a[aria-current="page"] { color: #fff7a5; text-decoration: underline; text-underline-offset: 3px; }
.deck-flow-hero { padding: clamp(42px, 7vw, 84px) 0 30px; background: linear-gradient(125deg, rgba(28, 31, 85, .94), rgba(8, 13, 42, .82) 52%, rgba(6, 75, 87, .78)); border-bottom: 1px solid rgba(255,255,255,.16); }
.deck-flow-hero-grid, .deck-flow-editor-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 28px; align-items: end; }
.deck-flow-hero h1 { margin: 0; max-width: 13ch; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .95; }
.deck-flow-hero p:not(.eyebrow) { max-width: 700px; margin: 22px 0 0; color: rgba(255,255,255,.84); font-size: 1.05rem; }
.deck-flow-status-strip { justify-self: end; width: min(100%, 360px); padding: 18px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: rgba(3, 6, 26, .56); box-shadow: 0 16px 40px rgba(0,0,0,.22); }
.deck-flow-status-strip strong, .deck-flow-status-strip span { display: block; }
.deck-flow-status-strip strong { color: #fff58b; overflow-wrap: anywhere; }
.deck-flow-status-strip span { margin-top: 7px; color: rgba(255,255,255,.72); font-size: .86rem; }
.deck-flow-section { padding: clamp(34px, 5vw, 70px) 0; }
.deck-flow-heading { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 24px; }
.deck-flow-heading h2, .deck-flow-form h2, .deck-flow-side h2 { margin: 0; }
.deck-flow-heading > p { max-width: 560px; margin: 0; color: var(--muted, #b6bedb); }
.deck-flow-bubbles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.deck-flow-bubble { min-height: 152px; padding: 25px 27px; display: flex; flex-direction: column; justify-content: center; gap: 8px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; color: #fff; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.56), inset 0 -12px 24px rgba(3,5,19,.22), 0 7px 0 rgba(0,0,0,.22), 0 0 24px rgba(93, 232, 255, .18); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; overflow: hidden; }
.deck-flow-bubble:hover, .deck-flow-bubble:focus-visible { color: #fff; transform: translateY(-4px); border-color: #f8ff46; box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -12px 24px rgba(3,5,19,.16), 0 9px 0 rgba(0,0,0,.22), 0 0 32px rgba(248,255,70,.2); }
.deck-flow-bubble:focus-visible { outline: 3px solid #f8ff46; outline-offset: 4px; }
.deck-flow-bubble strong { font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.08; }
.deck-flow-bubble span:not(.deck-flow-bubble-kicker) { max-width: 34ch; color: rgba(255,255,255,.86); font-size: .93rem; line-height: 1.3; }
.deck-flow-bubble-kicker { color: #fff58b; font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.deck-flow-bubble-build { grid-column: span 4; background: linear-gradient(125deg, #dd5b98, #775ee8 48%, #2698cf); }
.deck-flow-bubble-analyze { grid-column: span 4; background: linear-gradient(125deg, #cf7a41, #d94d77 46%, #875ed5); }
.deck-flow-bubble-swap { grid-column: span 4; background: linear-gradient(125deg, #159d9b, #3973cf 55%, #7c58c9); }
.deck-flow-bubble-advanced { grid-column: span 6; background: linear-gradient(125deg, #354c9a, #2c9c94 52%, #d19a45); }
.deck-flow-bubble-search { grid-column: span 6; background: linear-gradient(125deg, #a14d9e, #3977ba 56%, #35aa88); }
.deck-flow-bubble-small { min-height: 96px; padding: 18px 24px; }
.deck-flow-bubbles-inline { margin-top: 28px; }
.deck-flow-bubbles-inline .deck-flow-bubble { grid-column: span 3; }
.deck-flow-editor-grid { align-items: start; }
.deck-flow-form, .deck-flow-panel { min-width: 0; padding: clamp(22px, 4vw, 36px); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: rgba(9, 12, 34, .7); box-shadow: 0 18px 45px rgba(0,0,0,.18); }
.deck-flow-form-heading { margin-bottom: 24px; }
.deck-flow-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.deck-flow-form label, .deck-flow-target { display: grid; gap: 7px; color: var(--ink, #fff); font-weight: 800; }
.deck-flow-form label > span, .deck-flow-target > span { font-size: .86rem; }
.deck-flow-form input, .deck-flow-form select, .deck-flow-form textarea, .deck-flow-target input { width: 100%; min-width: 0; color: #fff; background: rgba(4, 6, 24, .78); border: 1px solid rgba(255,255,255,.22); border-radius: 6px; padding: 12px 13px; font: inherit; }
.deck-flow-form textarea { resize: vertical; min-height: 290px; line-height: 1.45; }
.deck-flow-form input:focus, .deck-flow-form select:focus, .deck-flow-form textarea:focus, .deck-flow-target input:focus { outline: 2px solid #f8ff46; outline-offset: 2px; }
.deck-flow-textarea-label { margin-top: 18px; }
.deck-flow-file-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; color: var(--muted, #b6bedb); font-size: .86rem; }
.deck-flow-file { display: inline-flex !important; width: auto; align-items: center; }
.deck-flow-file input { padding: 8px; }
.deck-flow-inline-status { min-height: 24px; margin: 18px 0 0; color: #fff58b; }
.deck-flow-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.deck-flow-side { display: grid; gap: 14px; align-content: start; }
.deck-flow-side > p, .deck-flow-side > h2 { margin-inline: 8px; }
.deck-flow-side > p:not(.eyebrow) { color: var(--muted, #b6bedb); }
.deck-flow-back { margin: 4px 8px; color: #fff58b; font-weight: 800; }
.deck-flow-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.deck-flow-stat-grid > div { min-width: 0; padding: 17px; border-left: 3px solid #ef83bc; background: rgba(255,255,255,.06); }
.deck-flow-stat-grid span, .deck-flow-stat-grid strong { display: block; }
.deck-flow-stat-grid span { color: var(--muted, #b6bedb); font-size: .78rem; }
.deck-flow-stat-grid strong { margin-top: 5px; color: #fff58b; font-size: 1.6rem; overflow-wrap: anywhere; }
.deck-flow-stat-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.deck-flow-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid rgba(255,255,255,.14); border-radius: 6px; }
.deck-flow-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.deck-flow-table th, .deck-flow-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.1); }
.deck-flow-table th { color: #fff58b; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.deck-flow-table td { color: rgba(255,255,255,.86); }
.deck-flow-issue-panel { margin-top: 18px; padding: 16px 18px; border-left: 3px solid #ff8c79; background: rgba(255, 105, 105, .08); }
.deck-flow-issue-panel h3 { margin: 0 0 8px; }
.deck-flow-issue-panel ul { margin: 0; padding-left: 20px; color: #ffc2b7; }
.deck-flow-target { margin-top: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 860px) { .deck-flow-hero-grid, .deck-flow-editor-grid { grid-template-columns: 1fr; } .deck-flow-status-strip { justify-self: stretch; width: auto; } .deck-flow-heading { display: block; } .deck-flow-heading > p { margin-top: 12px; } .deck-flow-bubble, .deck-flow-bubbles-inline .deck-flow-bubble { grid-column: span 6; } .deck-flow-fields { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .deck-flow-hero h1 { font-size: 2.8rem; } .deck-flow-bubble, .deck-flow-bubbles-inline .deck-flow-bubble { grid-column: 1 / -1; min-height: 124px; } .deck-flow-actions { align-items: stretch; flex-direction: column; } .deck-flow-actions .deck-flow-bubble { width: 100%; } .deck-flow-stat-grid, .deck-flow-stat-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } .deck-flow-form, .deck-flow-panel { padding: 20px 16px; } }
@media (prefers-reduced-motion: reduce) { .deck-flow-bubble { transition: none; } }
.deck-tool-console { margin: 0 0 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(8,10,30,.78); box-shadow: 0 18px 46px rgba(0,0,0,.2); }
.deck-tool-console-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 16px; }
.deck-tool-console-header > div:first-child { display:grid; gap:3px; }
.deck-tool-console-header strong { color:#f5f8ff; font-size:1rem; }
.deck-tool-console-header small { color:#9fa9c4; font-size:.78rem; }
.deck-tool-console-kicker { color:#8dedff; font-size:.68rem; font-weight:950; letter-spacing:.08em; }
.deck-tool-menu { position:relative; }
.deck-tool-menu summary { display:flex; align-items:center; gap:7px; min-height:34px; padding:7px 11px; border:1px solid rgba(141,237,255,.42); border-radius:6px; color:#f5f8ff; background:rgba(43,55,102,.45); cursor:pointer; font-size:.78rem; font-weight:900; list-style:none; }
.deck-tool-menu summary::-webkit-details-marker { display:none; }
.deck-tool-menu[open] summary { border-color:#f8ff46; color:#fff7a5; }
.deck-tool-menu-list { position:absolute; z-index:5; right:0; top:calc(100% + 7px); display:grid; min-width:190px; padding:5px; border:1px solid rgba(255,255,255,.18); border-radius:7px; background:#101633; box-shadow:0 16px 34px rgba(0,0,0,.4); }
.deck-tool-menu-list a { display:grid; gap:2px; padding:9px 10px; border-radius:4px; color:#f5f8ff; text-decoration:none; }
.deck-tool-menu-list a:hover, .deck-tool-menu-list a:focus-visible { background:rgba(141,237,255,.12); outline:none; }
.deck-tool-menu-list b { font-size:.82rem; }
.deck-tool-menu-list span { color:#aeb8d1; font-size:.72rem; }
.deck-tool-console-stats { display:flex; flex-wrap:wrap; align-items:center; gap:7px; padding:9px 16px; border-top:1px solid rgba(255,255,255,.1); color:#b8c4db; font-size:.73rem; }
.deck-tool-console-stats span:not(.deck-tool-console-note) { padding:4px 8px; border:1px solid rgba(255,255,255,.12); border-radius:999px; }
.deck-tool-console-stats b { color:#8dedff; margin-right:3px; }
.deck-tool-console-note { margin-left:auto; color:#8e9ab4; }
.deck-flow-bubble { position:relative; min-height:170px; padding:18px; }
.deck-flow-bubble-action { margin-top:auto; color:#8dedff; font-size:.74rem; font-weight:900; }
@media (max-width: 600px) {
  .deck-tool-console-header { align-items:flex-start; }
  .deck-tool-console-note { width:100%; margin-left:0; }
  .deck-flow-bubble { min-height:145px; padding:15px; }
}
