html,body,#root{min-height:100%}*{box-sizing:border-box}:root{--bg: #05080c;--bg-raised: #0b1117;--sidebar: #0d141c;--surface: #111820;--surface-2: #0e151d;--surface-3: #151d27;--border: rgba(139, 156, 178, .18);--border-strong: rgba(139, 156, 178, .28);--text: #f0f6fc;--muted: #9aa9ba;--muted-2: #6f8094;--accent: #3ecf8e;--accent-strong: #55f0a8;--accent-ink: #03120b;--warn: #f4d35e;--radius: 8px;--radius-soft: 10px;--shadow-soft: 0 18px 48px rgba(0, 0, 0, .24)}body{margin:0;background:radial-gradient(circle at 16% 0%,rgba(62,207,142,.09),transparent 30rem),radial-gradient(circle at 82% 12%,rgba(46,144,250,.08),transparent 26rem),var(--bg);color:var(--text);font-family:Inter,Geist,IBM Plex Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;overflow-x:hidden}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid rgba(62,207,142,.55);outline-offset:2px}button:disabled,textarea:disabled{cursor:not-allowed;opacity:.65}h1,h2,p{margin:0}h1{font-size:28px;line-height:1.06}h2{font-size:18px;line-height:1.12}p{line-height:1.5}input,select,textarea{width:100%;border:1px solid rgba(148,163,184,.18);border-radius:12px;background:#121922}input,select{min-height:40px;padding:0 11px}textarea{min-height:88px;padding:11px;resize:vertical}input::placeholder,textarea::placeholder{color:#6d7c8f}.app-shell{display:grid;grid-template-columns:276px minmax(0,1fr);min-height:100vh;min-height:100dvh}.app-shell.sidebar-compact{grid-template-columns:96px minmax(0,1fr)}.sidebar{display:flex;flex-direction:column;gap:16px;padding:16px;border-right:1px solid rgba(148,163,184,.18);background:#101720;overflow:auto}.sidebar-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.sidebar.compact{padding:12px 10px;gap:12px}.sidebar.compact .brand{justify-items:center;text-align:center}.sidebar.compact .brand-wordmark,.sidebar.compact .brand span,.sidebar.compact .brand strong{display:none}.sidebar.compact .nav-button{grid-template-columns:20px;justify-items:center;gap:0;min-height:40px;padding:0}.sidebar.compact .nav-button-label,.sidebar.compact .nav-button svg:last-of-type{display:none}.sidebar.compact .nav-section-label{text-align:center}.sidebar.compact .side-panel{display:none}.brand{display:grid;justify-items:start;gap:5px;min-width:0}.brand-centered{justify-items:center;text-align:center;gap:6px}.brand-mark{display:grid;place-items:center;width:40px;height:40px;overflow:hidden;border-radius:12px}.brand-mark img{display:block;width:100%;height:100%;object-fit:cover}.brand span{color:#92a2b6;font-size:12px;line-height:1.35}.brand strong{font-size:16px;line-height:1.1}.brand-centered .brand-mark{width:48px;height:48px}.brand-centered strong{font-size:17px;letter-spacing:-.02em}.brand-wordmark{display:block;width:min(100%,180px);height:auto;max-width:100%}.nav-stack{display:grid;gap:12px;padding-top:4px}.nav-section{display:grid;gap:10px}.nav-section+.nav-section{padding-top:7px;border-top:1px solid rgba(148,163,184,.18)}.nav-section-label{color:#6d7c8f;font-size:10px;font-weight:800;text-transform:uppercase}.nav-section-items{display:grid;gap:6px}.nav-button,.dock-button,.primary-action,.ghost-action,.icon-button,.surface-button,.surface-group-tab,.surface-row-button,.surface-row-card,.option-card,.wallet-choice{border:1px solid transparent;border-radius:12px;background:transparent}.nav-button{display:grid;grid-template-columns:20px 1fr auto;align-items:center;gap:10px;min-height:40px;padding:0 11px;color:#92a2b6;text-align:left}.nav-button-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-button:hover,.nav-button.active{border-color:#94a3b82e;background:#ffffff0a;color:#e6edf5}.nav-button.active{border-color:#3ecf8e57;background:#3ecf8e1f}.side-panel,.panel,.lead-panel,.notice-panel,.error-band,.module-table,.chat-surface,.surface-banner,.module-row,.surface-row-button,.surface-row-card,.option-card,.surface-button,.surface-table,.code-block,.auth-panel,.wallet-modal,.dashboard-mobile-toolbar,.dashboard-mobile-sheet{border:1px solid rgba(148,163,184,.18);border-radius:12px;background:#121922}.side-panel{display:grid;gap:10px;margin-top:auto;padding:12px}.side-row,.key-value,.surface-item{display:flex;align-items:center;justify-content:space-between;gap:12px}.side-row span,.key-value span,.metric span{color:#92a2b6;font-size:12px}.side-row strong,.key-value strong{font-size:12px;text-align:right}.side-address,.mono{color:#92a2b6;font-family:IBM Plex Mono,SF Mono,ui-monospace,Menlo,Monaco,Consolas,monospace;font-size:12px;overflow-wrap:anywhere}.main-shell{min-width:0}.topbar-brand{display:flex;align-items:center;gap:12px;min-width:0}.topbar-mark{display:grid;place-items:center;width:38px;height:38px;overflow:hidden;border-radius:12px;border:1px solid rgba(148,163,184,.16);background:#ffffff08;flex:0 0 auto}.topbar-mark img{display:block;width:100%;height:100%;object-fit:cover}.topbar-copy{display:grid;gap:4px;min-width:0}.topbar-copy h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.panel-head>svg{flex:0 0 auto;margin-top:2px;color:#92a2b6}.topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:72px;padding:14px 20px;border-bottom:1px solid rgba(148,163,184,.18);background:#101720;position:sticky;top:0;z-index:18}.topbar-actions,.lead-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.content-area{padding:20px}.home-shell{display:grid;gap:16px}.home-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px;border:1px solid rgba(148,163,184,.18);border-radius:14px;background:linear-gradient(180deg,#ffffff0a,#ffffff05)}.home-hero-copy{display:grid;gap:10px;max-width:760px}.home-hero-copy h2{font-size:clamp(22px,2.2vw,30px);line-height:1.08;letter-spacing:-.03em}.home-hero-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;flex:0 0 auto}.home-card-section{display:grid;gap:12px}.home-card-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.home-card-section-head h3{margin-top:2px;color:#e6edf5;font-size:14px;font-weight:600;line-height:1.45;letter-spacing:-.01em}.home-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.home-card{display:grid;height:100%}.home-card .panel-body{display:grid;gap:12px;height:100%}.home-card-summary{color:#e6edf5;font-size:14px;line-height:1.45;margin:0}.home-card-detail{margin-top:-6px}.home-card-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.view-grid{display:grid;gap:14px}.lead-panel{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px}.section-copy{max-width:760px;margin-top:10px;color:#92a2b6;font-size:13px;line-height:1.55}.eyebrow{margin-bottom:6px;color:#6d7c8f;font-size:11px;font-weight:800}.status-pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:28px;padding:0 9px;border:1px solid rgba(148,163,184,.18);border-radius:999px;background:#ffffff0a;color:#92a2b6;font-size:11px;line-height:1;white-space:nowrap}.status-pill.good{border-color:#8dff6a3d;background:#8dff6a1a;color:#d4ffc7}.status-pill.warn{border-color:#f6d46f47;background:#f6d46f1a;color:#f8df95}.primary-action,.ghost-action,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 11px;text-decoration:none;white-space:nowrap}.primary-action{border-color:#3ecf8e4d;background:#3ecf8e;color:#04130d;font-weight:700}.ghost-action,.icon-button{border-color:#94a3b82e;background:#ffffff08;color:#92a2b6}.icon-button{width:36px;padding:0}.primary-action:hover:not(:disabled),.ghost-action:hover:not(:disabled),.icon-button:hover:not(:disabled),.surface-button:hover:not(:disabled),.surface-row-button:hover:not(:disabled),.surface-row-card:hover:not(:disabled),.surface-group-tab:hover:not(:disabled),.nav-button:hover:not(:disabled),.wallet-choice:hover:not(:disabled){border-color:#3ecf8e57;background:#3ecf8e1f;color:#e6edf5}.metric-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1px;overflow:hidden;border:1px solid rgba(148,163,184,.18);border-radius:12px;background:#94a3b82e}.metric{min-height:80px;padding:12px;background:#121922}.metric strong{display:block;margin-top:8px;font-size:17px;overflow-wrap:anywhere}.split-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dashboard-shell{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start}.dashboard-rail{display:grid;gap:16px;align-self:start;overflow:auto;padding-right:2px}.dashboard-stage{display:grid;gap:16px;min-width:0}.dashboard-toolbar{display:grid;gap:12px;min-width:0;padding:14px;border:1px solid rgba(148,163,184,.18);border-radius:12px;background:#121922}.surface-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(188px,1fr));gap:8px}.surface-tab{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:10px;min-height:58px;padding:9px 10px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);color:inherit;text-align:left}.surface-tab.active{border-color:#3ecf8e6b;background:#3ecf8e1f}.surface-tab>svg{color:var(--accent-strong)}.surface-tab strong,.surface-tab em{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.surface-tab strong{color:var(--text);font-size:13px}.surface-tab em{margin-top:3px;color:var(--muted);font-size:11px;font-style:normal}.surface-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.surface-banner{padding:14px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.surface-banner-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:8px;flex-wrap:wrap}.surface-index{display:grid;gap:12px}.surface-launch-grid{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.surface-index.launcher .surface-group-list,.surface-index.rail .surface-group-list{display:grid;gap:8px}.surface-group-switcher{display:flex;gap:8px;flex-wrap:wrap}.surface-group-switcher.compact{flex-wrap:nowrap;min-width:0;overflow-x:auto;padding-bottom:2px;scrollbar-width:none;-ms-overflow-style:none}.surface-group-switcher.compact::-webkit-scrollbar{display:none}.surface-group-tab{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px;padding:0 11px;border:1px solid rgba(148,163,184,.18);border-radius:12px;background:#ffffff0a;color:#92a2b6;cursor:pointer;flex:1 1 150px}.surface-group-tab strong{font-size:12px}.surface-group-tab span{font-size:11px}.surface-group-switcher.compact .surface-group-tab{flex:0 0 auto;min-width:108px}.surface-group-tab.active{border-color:#3ecf8e57;background:#3ecf8e1f;color:#e6edf5}.surface-group{display:grid;gap:10px}.surface-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#92a2b6;font-size:11px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}.surface-button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:72px;padding:11px;color:inherit;cursor:pointer;text-align:left}.surface-button-main{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:12px;min-width:0}.surface-button-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#ffffff0a;color:#c9d6e5}.surface-button-copy{display:grid;gap:4px;min-width:0}.surface-button-copy strong,.surface-button-copy span{display:block;min-width:0}.surface-button-copy strong{font-size:14px;line-height:1.25}.surface-button-copy span{color:#92a2b6;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.surface-button-tail{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.surface-row-button,.surface-row-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;width:100%;min-height:58px;padding:10px 11px;color:inherit;text-align:left}.surface-row-button:has(.module-icon),.surface-row-card:has(.module-icon){grid-template-columns:34px minmax(0,1fr) auto;align-items:center}.notice-panel{display:grid;grid-template-columns:18px minmax(0,1fr);gap:12px;align-items:start;padding:12px}.notice-panel>div{display:grid;gap:4px;min-width:0}.notice-panel strong,.notice-panel span{display:block;min-width:0;overflow-wrap:anywhere}.notice-panel strong{font-size:14px;line-height:1.2}.notice-panel span{color:#92a2b6;font-size:12px;line-height:1.45}.option-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.option-card{display:grid;gap:10px;width:100%;padding:12px;border-color:#94a3b82e;background:#ffffff08;color:inherit;text-align:left}.option-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.option-card-top strong{min-width:0}.module-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:58px;padding:10px 11px;color:inherit;text-align:left}.module-row>div:nth-child(2),.module-row>span:nth-child(2),.surface-row-button>div:nth-child(2),.surface-row-button>span:nth-child(2),.surface-row-card>div:nth-child(2),.surface-row-card>span:nth-child(1){display:grid;gap:4px;min-width:0}.module-row strong,.surface-row-button strong,.surface-row-card strong{display:block;font-size:14px;line-height:1.25}.module-row span,.surface-row-button span,.surface-row-card span{display:block;color:#92a2b6;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.surface-row-card-meta{display:grid;gap:8px;justify-items:end;align-self:center}.surface-table{display:grid;gap:1px;overflow:hidden}.code-block{padding:12px;font-family:IBM Plex Mono,SF Mono,ui-monospace,Menlo,Monaco,Consolas,monospace;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.chat-surface,.auth-panel,.wallet-modal{padding:16px}.chat-surface{display:grid;gap:14px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 24%,rgba(62,207,142,.16),transparent 24rem),#02060ab8;-webkit-backdrop-filter:blur(18px) saturate(1.15);backdrop-filter:blur(18px) saturate(1.15)}.wallet-modal{width:min(100%,680px);max-height:min(760px,calc(100dvh - 48px));overflow:auto;box-shadow:0 30px 90px #0000007a}.modal-header,.modal-subhead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.modal-header{margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--border)}.modal-subhead{align-items:center;margin-top:6px}.modal-subhead span{color:var(--muted);font-size:12px;font-weight:760}.chat-log{display:grid;gap:10px;min-height:220px;align-content:start}.message{display:grid;gap:4px;padding:10px 11px;border:1px solid rgba(148,163,184,.18);border-radius:12px;background:#ffffff08}.message.assistant{background:#3ecf8e14}.message p{white-space:pre-wrap;overflow-wrap:anywhere}.formatted-message{display:grid;gap:8px;min-width:0}.formatted-message p,.formatted-message ul,.formatted-message ol{margin:0}.formatted-message ul,.formatted-message ol{display:grid;gap:5px;padding-left:20px}.formatted-message li{color:#d8e2ed;line-height:1.5}.chat-controls{display:grid;gap:12px}.chat-shell-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--border)}.chat-shell-head>div{display:grid;gap:6px;min-width:0}.chat-shell-head h2{font-size:clamp(20px,2vw,28px);letter-spacing:-.03em}.chat-shell-head p:not(.eyebrow){max-width:780px;color:var(--muted);font-size:13px;line-height:1.5}.chat-provider-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(100%,420px);padding:10px 12px;border:1px solid rgba(62,207,142,.22);border-radius:14px;background:linear-gradient(135deg,#3ecf8e1c,#1e293b29),var(--surface-2);color:var(--text);box-shadow:0 12px 28px #02061729}.chat-provider-summary span{min-width:0;color:var(--muted);font-size:12px;font-weight:780;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-provider-summary strong{flex:0 0 auto;color:var(--accent-strong);font-size:12px;font-weight:820}.chat-control-row{display:grid;gap:8px}.chat-control-grid{display:grid;grid-template-columns:minmax(260px,420px) minmax(240px,1fr);gap:12px;align-items:end}.chat-control-grid.compact{grid-template-columns:minmax(260px,420px)}.chat-control-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:#92a2b6;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.chat-control-head strong,.chat-control-head span{min-width:0}.chat-control-head span{color:#e6edf5;font-size:12px;font-weight:700;letter-spacing:0;text-transform:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-model-select{width:min(100%,420px);min-height:40px;padding:0 12px;border:1px solid rgba(148,163,184,.18);border-radius:10px;background:#ffffff0a;color:#e6edf5;font-size:13px;font-weight:700;line-height:1}.chat-model-select:focus{outline:2px solid rgba(62,207,142,.28);outline-offset:1px}.chat-model-select option{background:#121922;color:#e6edf5}.rag-toggle{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;min-height:56px;padding:10px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);color:inherit;text-align:left}.rag-toggle.active{border-color:#3ecf8e6b;background:#3ecf8e1f}.rag-toggle-icon{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--border);border-radius:var(--radius);color:var(--accent-strong)}.rag-toggle strong,.rag-toggle span{display:block;min-width:0}.rag-toggle strong{color:var(--text);font-size:13px}.rag-toggle span span{margin-top:3px;color:var(--muted);font-size:12px}.chat-empty-state{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;align-items:start;min-height:132px;padding:14px;border:1px dashed rgba(148,163,184,.24);border-radius:var(--radius);background:#ffffff06}.chat-empty-state>svg{color:var(--accent-strong)}.chat-empty-state strong,.chat-empty-state span{display:block}.chat-empty-state span{margin-top:4px;color:var(--muted);font-size:13px;line-height:1.45}.composer{display:grid;gap:10px}.composer textarea{min-height:96px}.composer-actions{display:flex;justify-content:space-between;gap:8px;align-items:center}.auth-screen{display:grid;place-items:center;min-height:100vh;padding:20px}.auth-panel{display:grid;gap:14px;width:min(100%,420px);background:#121922}.auth-branding,.auth-copy{display:grid;gap:8px;justify-items:center;text-align:center}.auth-form{display:grid;gap:10px;width:100%}.auth-form .primary-action,.auth-form .ghost-action{width:100%;min-height:38px;justify-content:center}.wallet-connect-form,.wallet-choice-list,.wallet-modal-list,.wallet-account-picker{display:grid;gap:10px}.wallet-choice{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;padding:0 11px;border:1px solid rgba(148,163,184,.18);background:#ffffff0a;color:#92a2b6}.wallet-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:72px;border:1px solid rgba(148,163,184,.18);border-radius:12px;padding:11px;background:#ffffff0a}.wallet-card-main{display:flex;align-items:center;gap:12px;min-width:0}.wallet-card-icon{display:grid;flex:0 0 auto;place-items:center;width:40px;height:40px;border:1px solid rgba(148,163,184,.18);border-radius:12px;background:#3ecf8e1f;color:#3ecf8e}.wallet-card-copy{display:grid;gap:3px;min-width:0}.wallet-card-copy strong{font-size:14px}.wallet-card-copy span,.wallet-card-copy em,.wallet-card-copy code{color:#92a2b6;font-size:12px;font-style:normal;line-height:1.4;overflow-wrap:anywhere}.wallet-card-copy code{font-family:IBM Plex Mono,SF Mono,ui-monospace,Menlo,Monaco,Consolas,monospace}.text-action{border:0;background:transparent;color:#3ecf8e;cursor:pointer;font-size:12px;font-weight:700}.mobile-dock,.dashboard-mobile-toolbar,.dashboard-mobile-actions,.dashboard-mobile-sheet-backdrop{display:none}.app-shell{background:linear-gradient(90deg,rgba(255,255,255,.02),transparent 36rem),transparent}.sidebar{background:color-mix(in srgb,var(--sidebar) 94%,black);border-right-color:var(--border)}.brand-mark,.topbar-mark,.wallet-card-icon,.surface-button-icon,.module-icon{border-radius:var(--radius)}.brand span,.nav-button,.section-copy,.field-hint,.side-row span,.key-value span,.metric span,.surface-button-copy span,.module-row span,.surface-row-button span,.surface-row-card span,.notice-panel span,.wallet-card-copy span,.wallet-card-copy em,.wallet-card-copy code{color:var(--muted)}.nav-button,.dock-button,.primary-action,.ghost-action,.icon-button,.surface-button,.surface-group-tab,.surface-row-button,.surface-row-card,.option-card,.wallet-choice{border-radius:var(--radius)}.nav-button:hover,.nav-button.active,.surface-button.active,.surface-row-button.active,.surface-row-card.active,.option-card.active{border-color:#3ecf8e61;background:#3ecf8e1c}.topbar{min-height:76px;border-bottom-color:var(--border);background:#0b1117e0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.content-area{width:min(100%,1500px);margin:0 auto}.panel,.lead-panel,.surface-rail-panel,.notice-panel,.error-band,.module-table,.chat-surface,.surface-banner,.module-row,.surface-row-button,.surface-row-card,.option-card,.surface-button,.surface-table,.code-block,.auth-panel,.wallet-modal,.dashboard-toolbar,.dashboard-mobile-toolbar,.dashboard-mobile-sheet,.wallet-card,.message{border-color:var(--border);border-radius:var(--radius);background:linear-gradient(180deg,#ffffff06,#ffffff02),var(--surface);box-shadow:0 1px #ffffff06 inset}.panel,.surface-rail-panel{display:grid;gap:12px;min-width:0;padding:14px}.module-table{display:grid;gap:8px;min-width:0;padding:14px}.panel-head,.surface-panel-head,.table-head{align-items:center;margin-bottom:0;padding-bottom:10px;border-bottom:1px solid var(--border)}.table-head{display:flex;justify-content:space-between;gap:12px}.panel-head h2,.surface-panel-head h2,.table-head h2,.lead-panel h2,.surface-banner h2{letter-spacing:-.02em}.panel-head>svg,.surface-panel-head>svg,.table-head>svg{color:var(--muted)}.panel-body,.surface-stack,.channel-install-form{display:grid;gap:12px;min-width:0}.channel-result-card{display:grid;gap:10px;padding:12px;border:1px solid rgba(62,207,142,.24);border-radius:var(--radius);background:linear-gradient(135deg,rgba(62,207,142,.09),transparent 48%),#3ecf8e0a}.channel-result-card>div{display:grid;gap:4px}.channel-result-card strong,.channel-result-card span,.channel-result-card code{min-width:0;overflow-wrap:anywhere}.channel-result-card span{color:var(--muted);font-size:12px}.channel-result-card code{padding:10px;border:1px solid rgba(62,207,142,.18);border-radius:12px;background:#04130d73;color:#d4ffc7;font-size:12px;line-height:1.45}.channel-policy-grid{grid-template-columns:1fr}.account-panel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.account-panel-grid>.disclosure-panel{grid-column:1 / -1}.disclosure-panel{display:grid;min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(180deg,#ffffff06,#ffffff02),var(--surface);box-shadow:0 1px #ffffff06 inset}.disclosure-panel>summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:13px 14px;list-style:none;cursor:pointer}.disclosure-panel>summary::-webkit-details-marker{display:none}.disclosure-panel>summary:after{content:"+";display:grid;flex:0 0 auto;place-items:center;width:24px;height:24px;border:1px solid var(--border);border-radius:999px;color:var(--muted);font-weight:800}.disclosure-panel[open]>summary:after{content:"-";color:var(--accent-strong)}.disclosure-title{display:flex;align-items:center;gap:8px;min-width:0}.disclosure-title svg{color:var(--accent-strong)}.disclosure-title strong{overflow:hidden;color:var(--text);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.disclosure-summary{min-width:0;color:var(--muted);font-size:12px;font-weight:700;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}.disclosure-body{display:grid;gap:12px;min-width:0;padding:0 14px 14px}.disclosure-panel:not([open]) .disclosure-body{display:none}.lead-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:14px;background:linear-gradient(135deg,rgba(62,207,142,.075),transparent 42%),linear-gradient(180deg,#ffffff08,#ffffff03),var(--surface)}.lead-panel>div:first-child,.surface-banner>div:first-child,.home-hero-copy{min-width:0}.lead-actions{max-width:560px}.surface-banner{padding:14px;background:linear-gradient(135deg,rgba(62,207,142,.08),transparent 45%),var(--surface-2)}.dashboard-shell{grid-template-columns:minmax(0,1fr);gap:16px}.dashboard-rail{position:sticky;top:96px;max-height:calc(100dvh - 116px);gap:12px;padding-right:0}.surface-rail-summary{display:grid;gap:2px}.surface-index.rail .surface-group-list{gap:7px}.surface-button{min-height:68px;background:var(--surface-2)}.surface-button.rail{min-height:62px;padding:10px}.surface-button.launcher{min-height:82px}.surface-button-icon,.module-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--border);background:#ffffff09;color:#d2dfec}.surface-button.active .surface-button-icon,.surface-row-button.active .module-icon,.surface-row-card.active .module-icon{border-color:#3ecf8e57;background:#3ecf8e24;color:var(--accent-strong)}.surface-button-tail{color:var(--muted)}.surface-button-tail .status-pill{min-width:30px}.surface-group-tab{min-height:34px;background:var(--surface-2)}.surface-group-tab.active{border-color:#3ecf8e6b;background:#3ecf8e1f}.split-layout{grid-template-columns:repeat(12,minmax(0,1fr));align-items:start;gap:12px}.split-layout>*{grid-column:span 6;min-width:0}.split-layout>*:only-child{grid-column:1 / -1}.split-layout>*:nth-child(1):nth-last-child(3),.split-layout>*:nth-child(2):nth-last-child(2),.split-layout>*:nth-child(3):nth-last-child(1){grid-column:span 4}.home-shell{gap:18px}.home-hero{position:relative;overflow:hidden;min-height:148px;padding:20px;border-radius:var(--radius);background:radial-gradient(circle at 86% 18%,rgba(62,207,142,.2),transparent 18rem),linear-gradient(135deg,#3ecf8e14,#ffffff05 48%,#2dd4bf12),var(--surface-2)}.home-hero:after{content:"";position:absolute;right:-60px;bottom:-80px;width:260px;height:260px;border:1px solid rgba(62,207,142,.14);border-radius:50%;pointer-events:none}.home-hero>*{position:relative;z-index:1}.home-hero-copy h2{max-width:760px}.home-card-section{gap:10px}.home-card-section-head{align-items:center;padding:0 2px}.home-card-section-head h3{margin:0;color:var(--text);font-size:15px;font-weight:760;letter-spacing:-.01em}.home-card-section-head p{margin-top:4px;color:var(--muted);font-size:13px;line-height:1.45}.home-card-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:12px}.home-card{grid-column:span 6;min-height:236px}.home-card:nth-child(odd){grid-column:span 7}.home-card:nth-child(2n){grid-column:span 5}.home-card .panel-body{grid-template-rows:auto auto 1fr auto;gap:10px}.home-card-summary{font-size:13px}.home-card-detail{min-height:42px}.metric-strip{gap:8px;overflow:visible;border:0;border-radius:0;background:transparent}.metric{min-height:76px;padding:12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2)}.metric strong{color:var(--text);font-size:16px;letter-spacing:-.02em}.home-card-metrics{align-self:end}.key-value{display:grid;grid-template-columns:minmax(120px,.48fr) minmax(0,1fr);align-items:start;min-height:34px;padding:8px 0;border-top:1px solid rgba(139,156,178,.12)}.key-value:first-child{border-top:0;padding-top:0}.key-value strong{justify-self:end;max-width:100%;color:var(--text);line-height:1.35;overflow-wrap:anywhere}.module-row,.surface-row-button,.surface-row-card,.option-card,.message,.wallet-card{background:var(--surface-2)}.module-row,.surface-row-button,.surface-row-card{min-height:62px;padding:11px}.surface-table{gap:8px;overflow:visible;background:transparent}.surface-row-card-meta{align-self:center}.notice-panel{background:#3ecf8e0e}.error-band{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start;padding:11px;color:#ffe8a3;background:#f4d35e17}.status-pill{min-height:26px;border-radius:999px;background:#ffffff09}.primary-action{border-color:#3ecf8e7a;background:var(--accent);color:var(--accent-ink)}.primary-action:hover:not(:disabled){border-color:#55f0a8ad;background:var(--accent-strong);color:var(--accent-ink)}.ghost-action,.icon-button,.wallet-choice{background:var(--surface-3)}.full-width{width:100%}.split-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.field,.field-block{display:grid;gap:7px;min-width:0}.field-label,.field-block>span{color:var(--muted);font-size:12px;font-weight:760;letter-spacing:.01em}input,select,textarea,.chat-model-select{border-color:var(--border);border-radius:var(--radius);background:var(--surface-2)}select option{background:var(--surface);color:var(--text)}.code-block{background:#070c11}.spin{display:inline-block}@media (max-width: 980px){.app-shell{grid-template-columns:1fr;padding-bottom:72px}.sidebar{display:none}.topbar{min-height:64px;padding:12px 14px}.topbar-actions{gap:5px}.topbar-actions .demo-pill{display:none}.topbar-actions .status-pill{min-height:22px;padding:0 7px;font-size:10px}.content-area{padding:12px 12px 144px}.dashboard-shell,.lead-panel,.split-layout,.account-panel-grid{grid-template-columns:1fr}.split-layout>*,.split-layout>*:only-child,.split-layout>*:nth-child(1):nth-last-child(3),.split-layout>*:nth-child(2):nth-last-child(2),.split-layout>*:nth-child(3):nth-last-child(1){grid-column:1 / -1}.home-card,.home-card:nth-child(odd),.home-card:nth-child(2n){grid-column:span 6}.dashboard-rail{display:none}.dashboard-toolbar{display:grid;gap:10px;padding:12px;min-width:0;width:100%}.surface-banner{display:none}.dashboard-mobile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0;width:100%}.surface-group-switcher.compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0;width:100%;max-width:100%;overflow:visible;padding-bottom:0}.surface-group-switcher.compact .surface-group-tab{min-width:0;width:100%;flex:1 1 auto}.lead-panel{display:grid}.metric-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-compact-hide{display:none!important}.mobile-dock{position:fixed;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));left:8px;z-index:10;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;border:1px solid rgba(148,163,184,.18);border-radius:12px;padding:5px;background:#040806}.dashboard-mobile-sheet-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:29;background:#000000a8}.dashboard-mobile-sheet{position:fixed;top:8px;right:8px;bottom:8px;left:8px;z-index:30;display:flex;flex-direction:column;border:1px solid rgba(148,163,184,.18);border-radius:16px;background:#040806;overflow:hidden}.dashboard-mobile-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px;border-bottom:1px solid rgba(148,163,184,.18)}.dashboard-mobile-sheet-body{flex:1;min-height:0;overflow:auto;padding:10px}.dashboard-mobile-sheet-body .surface-index.rail{gap:10px}.dock-button{position:relative;display:grid;place-items:center;gap:2px;min-height:50px;color:#92a2b6;font-size:10px}.dock-button.active{border-color:#3ecf8e57;background:#3ecf8e1f;color:#e6edf5}.dock-lock{position:absolute;top:6px;right:8px}}@media (max-width: 620px){h1{font-size:22px}h2{font-size:15px}.auth-copy h1{font-size:20px}.composer{grid-template-columns:1fr}.chat-control-head{align-items:flex-start;flex-direction:column}.chat-shell-head{flex-direction:column}.chat-control-grid,.chat-control-grid.compact{grid-template-columns:1fr}.chat-provider-summary{align-items:flex-start;flex-direction:column;width:100%}.chat-model-select{width:100%}.disclosure-panel>summary{align-items:flex-start;flex-direction:column}.disclosure-panel>summary:after{position:absolute;right:12px}.disclosure-summary{max-width:calc(100% - 38px);text-align:left}.modal-backdrop{padding:10px}.wallet-modal{max-height:calc(100dvh - 20px);padding:12px}.wallet-card{grid-template-columns:1fr}.billing-summary-strip{display:none}.home-hero{flex-direction:column}.home-hero-actions{justify-content:flex-start;width:100%}.home-hero-actions>*{width:100%}.home-card-section-head{align-items:flex-start;flex-direction:column}.home-card-grid{grid-template-columns:1fr}.home-card,.home-card:nth-child(odd),.home-card:nth-child(2n){grid-column:1 / -1;min-height:0}.home-card-metrics{grid-template-columns:1fr}.key-value{grid-template-columns:1fr;gap:3px}.key-value strong{justify-self:start;text-align:left}.surface-row-button,.surface-row-card{grid-template-columns:minmax(0,1fr)}.surface-row-button:has(.module-icon),.surface-row-card:has(.module-icon){grid-template-columns:34px minmax(0,1fr)}.surface-row-button .status-pill,.surface-row-card .status-pill,.surface-row-card-meta{grid-column:1;justify-self:start}.surface-row-button:has(.module-icon) .status-pill,.surface-row-card:has(.module-icon) .status-pill,.surface-row-button:has(.module-icon) .surface-row-card-meta,.surface-row-card:has(.module-icon) .surface-row-card-meta{grid-column:2}.account-choice-grid.account-provider-grid,.account-choice-grid.account-model-grid,.account-choice-grid.account-custody-grid{grid-template-columns:minmax(0,1fr)!important}.account-choice-button.account-provider-button,.account-choice-button.account-model-button,.account-choice-button.account-custody-button{min-height:64px!important;padding:10px 11px!important;gap:8px!important}.module-row{grid-template-columns:34px minmax(0,1fr)}.module-row .status-pill{grid-column:2;justify-self:start}.auth-status,.topbar{align-items:flex-start}.auth-status,.lead-actions{flex-direction:column}.topbar-actions,.lead-actions{align-items:stretch;width:100%}.topbar-actions>*,.lead-actions>*{min-width:0;width:100%}.topbar{align-items:center;flex-direction:row}.topbar-actions{align-items:center;width:auto}.topbar-actions>*,.topbar-actions .icon-button{min-width:36px;width:36px}.topbar-actions .status-pill,.lead-actions .status-pill,.topbar-actions .primary-action,.topbar-actions .ghost-action,.lead-actions .primary-action,.lead-actions .ghost-action{justify-content:center;text-align:center;white-space:normal}.auth-screen{padding:14px}.auth-panel{gap:14px;width:min(100%,392px);padding:20px}.auth-form{width:100%}.auth-form .primary-action,.auth-form .ghost-action{min-height:36px;font-size:12px}.topbar{gap:10px}.topbar-brand{flex:1 1 auto;width:auto;min-width:0}.topbar-mark{width:34px;height:34px}.surface-banner,.surface-row-button,.surface-row-card{align-items:flex-start}.surface-banner{flex-direction:column}.surface-banner-actions{justify-content:flex-start}.surface-group-switcher:not(.compact){flex-direction:column}.split-actions{grid-template-columns:1fr}.panel{padding:12px}.panel-head,.table-head{margin-bottom:10px}.view-grid,.surface-stack{gap:10px}.lead-panel{gap:10px;padding:14px}.section-copy{font-size:13px;line-height:1.48}.metric-strip,.option-grid{grid-template-columns:1fr}.option-card-top{flex-direction:column;align-items:flex-start}.mobile-dock{right:6px;bottom:calc(6px + env(safe-area-inset-bottom));left:6px;gap:2px;padding:4px}.dock-button{min-height:46px;font-size:9px}.dashboard-mobile-sheet{top:6px;right:6px;bottom:6px;left:6px;border-radius:14px}.dashboard-mobile-sheet-head{padding:10px}.dashboard-mobile-sheet-body{padding:8px}.dashboard-mobile-sheet-body .surface-index.rail{gap:8px}}
