/* Working app only. No landing selectors or root tokens are changed here. */
.app-shell,.workspace-dialog{--bg:#080611;--panel:#0d0a18;--panel-2:#181222;--line:#30243e;--line-bright:#59416b;--text:#f0e9f7;--muted:#b2a0c0;--soft:#d7c7e3;--accent:#97fce4;--blue:#c59bed;--danger:#f1a69e;color:var(--text)}
.app-shell{display:flex;flex-direction:column;height:100dvh;min-height:400px;background:var(--bg);overflow:hidden;font-family:'Space Grotesk',Arial,sans-serif}
.workspace-nav{display:flex;align-items:center;gap:32px;height:62px;min-height:62px;border-bottom:1px solid var(--line);padding:0 24px;background:#0e0a1b;z-index:30}
.workspace-brand{flex:none}.workspace-brand .brand{font-size:1.2rem;letter-spacing:-.05em;gap:8px}.workspace-brand .brand img{width:31px;height:34px;filter:none}
.workspace-nav nav{display:flex;align-self:stretch;align-items:center;gap:23px;min-width:0}.workspace-nav nav a{font-size:.875rem;color:var(--muted);height:100%;display:flex;align-items:center;border-bottom:2px solid transparent;padding-top:2px;white-space:nowrap}.workspace-nav nav a:hover{color:var(--text)}.workspace-nav nav a.is-active{color:var(--text);border-color:var(--accent)}
.workspace-account{display:flex;align-items:center;gap:16px;margin-left:auto;flex:none}.workspace-credit{display:flex;align-items:center;gap:10px;font-size:.8125rem;color:var(--muted);padding:10px 0}.workspace-credit strong{color:var(--accent);font-size:.9375rem;font-weight:500;font-variant-numeric:tabular-nums}.workspace-account .workspace-signin{min-height:34px;border-radius:4px;border-color:var(--line-bright);padding:6px 12px;font-size:.8125rem;background:transparent}.workspace-signin .icon{width:15px;height:15px}
.workspace-body{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:0;flex:1}.workspace-body.is-wide{grid-template-columns:1fr}.workspace-body.is-wide .app-main>main{width:100%}
.app-shell .sidebar{position:relative;inset:auto;transform:none;visibility:visible;display:flex;flex-direction:column;width:auto;min-width:0;padding:16px 12px;background:var(--panel);border-right:1px solid var(--line);overflow-y:auto;z-index:20}.sidebar-mobile-head{display:none}
.chat-create-row{display:flex;gap:7px;flex:none}.app-shell .new-chat{min-height:40px;margin:0;padding:8px 11px;border-radius:4px;font-size:.875rem;color:#e9dcf6;background:#2b1d3b;border:1px solid #2b1d3b;justify-content:center;flex:1}.app-shell .new-chat:hover{background:#3b2551}.new-chat .icon{width:17px;height:17px}
.temporary-button{display:flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--line);border-radius:4px;padding:8px;font-size:.75rem;color:var(--muted)}.temporary-button .icon{width:15px;height:15px}.temporary-button.is-on{border-color:var(--accent);color:var(--accent);background:#2a173d}
.persona-section{margin:19px 2px 10px;flex:none;max-height:178px;overflow-y:auto}.sidebar-section-head{display:flex;align-items:center;justify-content:space-between;gap:7px;color:var(--muted);font-size:.75rem;min-height:28px}.sidebar-section-head>.text-button{font-size:.75rem;color:var(--accent);padding:4px 0}.sidebar-section-head .icon{width:13px;height:13px}.sidebar-help{color:#a795b8;font-size:.8125rem;line-height:1.65;margin:7px 0 3px}.sidebar-persona{display:flex;align-items:center;gap:7px;width:100%;min-height:34px;padding:7px;color:var(--soft);border-radius:3px;text-align:left;font-size:.8125rem}.sidebar-persona span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-persona .icon{width:15px;height:15px}.sidebar-persona:hover,.sidebar-persona.is-selected{background:#24182f;color:var(--accent)}
.history-heading{margin:8px 3px 5px}.history-heading .icon-btn{width:26px;height:26px}.sidebar-search{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:3px;padding:0 9px;min-height:36px;flex:none}.sidebar-search>.icon{width:14px;height:14px;color:var(--muted)}.sidebar-search>input{background:transparent;border:0;padding:8px 0!important;margin:0!important;width:100%;font-size:.8125rem;outline:none;color:var(--text)}.sidebar-search:focus-within{outline:2px solid var(--blue);outline-offset:2px}.sidebar-search kbd{white-space:nowrap;font-size:.625rem;color:#83999b;border:1px solid var(--line);padding:2px 3px}
.app-shell .chat-list{padding-top:10px;flex:1;min-height:80px;overflow:auto}.app-shell .history-item{min-height:38px;font-size:.8125rem;color:var(--soft);padding:8px;border-radius:3px}.app-shell .history-item:hover,.app-shell .history-item.active{background:#281a38;color:var(--text)}.app-shell .history-empty{color:#a795b8;padding:12px 5px;font-size:.8125rem;line-height:1.7}
.app-shell .sidebar-bottom{border:0;margin:18px 0 0;padding:0;flex:none}.history-storage{padding:11px 10px;border:1px solid var(--line);border-radius:4px;background:#130d20}.history-storage>p{display:flex;gap:8px;margin:0 0 10px;color:var(--muted);font-size:.75rem;line-height:1.7}.history-storage>p>.icon{width:14px;height:14px;margin-top:3px;color:var(--accent)}.history-storage>.side-item{border:1px solid var(--line-bright);border-radius:4px;padding:8px;font-size:.8125rem;min-height:37px;color:var(--soft)}.history-storage>.side-item>.icon{width:14px;height:14px}.history-storage>.side-item>.icon:last-child{margin-left:auto}.storage-actions{display:flex;gap:8px;margin-top:8px}.storage-actions>a,.storage-actions>button{display:flex;align-items:center;justify-content:center;min-height:32px;flex:1;border:1px solid var(--line);border-radius:3px;font-size:.75rem;color:var(--soft)}.storage-actions>a:hover,.storage-actions>button:hover{background:#1d2b31}.sidebar-footer{display:flex;flex-wrap:wrap;gap:7px 12px;font-size:.6875rem;color:var(--muted);padding:12px 3px 0}.sidebar-footer button{font-size:inherit;padding:0;color:inherit;text-decoration:underline;text-underline-offset:3px}
.app-shell .app-header{height:60px;min-height:60px;padding:10px 18px;gap:12px;border-bottom:1px solid var(--line);background:#100b1d;align-items:center}.app-shell .workspace-model{display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid var(--line-bright);border-radius:3px;max-width:720px;flex:0 1 auto;min-height:38px;min-width:0}.workspace-model>.model-name{font-size:.875rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text)}.workspace-model .provider-logo{width:22px;height:22px}.workspace-model>.model-rates{font-family:ui-monospace,SFMono-Regular,monospace;font-size:.6875rem;color:var(--muted);margin-left:10px;white-space:nowrap;overflow:visible!important;flex:none}.model-rates>span{color:#8e779e;padding:0 3px}.model-rates small{font-size:inherit}.workspace-model>.icon:last-child{width:13px;height:13px;margin-left:auto}.app-shell .zdr{border:1px solid #665079;border-radius:12px;color:#d9c1eb;background:#20152e;font-size:.625rem;letter-spacing:0;padding:2px 5px}
.compare-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;border:1px solid var(--line-bright);border-radius:3px;padding:8px 11px;color:var(--soft);font-size:.8125rem;white-space:nowrap}.compare-toggle .icon{width:15px;height:15px}.compare-toggle:hover,.compare-toggle.is-on{border-color:#9875af;background:#2a173d;color:var(--accent)}.workspace-meter{margin-left:auto;display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.75rem;white-space:nowrap}.workspace-meter>a{color:var(--soft);text-decoration:underline;text-underline-offset:4px}.quota-bars{display:flex;gap:2px}.quota-bars i{display:block;width:5px;height:12px;background:#3b284b}.quota-bars i.filled{background:#97fce4}
.app-shell .chat-topline{min-height:35px;padding:5px 24px;color:var(--muted);gap:12px}.app-shell .chat-topline>span{font-size:.75rem;letter-spacing:0;color:var(--muted)}.app-shell .chat-topline>span>.icon{width:12px;height:12px}.chat-thread-actions{display:flex;align-items:center;gap:14px;margin-left:auto}.chat-thread-actions .text-button{font-size:.75rem;color:var(--muted);padding:3px 0}.app-shell .chat-topline .tag{margin-right:auto;background:#202434;color:#d7c2f3;border-color:#464057;font-size:.75rem;letter-spacing:0;border-radius:3px}
.app-shell .messages{display:flex;flex-direction:column;overflow:auto;padding:0 28px 20px;scroll-behavior:auto}.app-shell .empty-chat{width:min(800px,100%);max-width:800px;margin:auto;text-align:center;padding:30px 0 16px}.app-shell .empty-chat>img{width:66px;height:66px;filter:none!important;opacity:1;margin:0 0 22px}.app-shell .empty-chat>h1{font-size:clamp(1.7rem,3.1vw,2.7rem);font-weight:400;line-height:1.2;letter-spacing:-.05em;margin:0 0 17px}.empty-chat>h1>span{color:#9eaeaf}.app-shell .empty-chat>p{font-size:.9375rem;max-width:510px;margin:0 auto;color:var(--muted);line-height:1.65}.app-shell .empty-chat .suggestions{max-width:650px;margin:26px auto 0;display:flex;justify-content:center;gap:8px}.app-shell .suggestions button{min-height:40px;padding:10px 14px;font-size:.8125rem;line-height:1.4;color:#d0dcda;border-radius:3px;background:#100b1d;border:1px solid #513c65}.app-shell .suggestions button:hover{border-color:#a27fc0;background:#281a38}.workspace-start-links{display:flex;gap:10px 20px;align-items:center;justify-content:center;flex-wrap:wrap;margin:23px 0}.workspace-start-links a,.workspace-start-links button{display:flex;align-items:center;gap:7px;min-height:36px;color:var(--accent);font-size:.8125rem;padding:5px 0}.workspace-start-links .icon{width:14px;height:14px}.workspace-start-links a:hover,.workspace-start-links button:hover{text-decoration:underline;text-underline-offset:5px}.workspace-principles{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);text-align:left;margin:27px auto 0;max-width:690px}.workspace-principles>div{padding:14px 17px}.workspace-principles>div+div{border-left:1px solid var(--line)}.workspace-principles strong{font-size:.75rem;letter-spacing:0;color:#d7c1e8;font-weight:400}.workspace-principles p{font-size:.8125rem;line-height:1.7;color:var(--muted);margin:7px 0 0}
.app-shell .chat-bottom{width:100%;max-width:960px;padding:12px 24px 10px;border-top:1px solid var(--line);margin:0 auto}.app-shell .workspace-composer{background:#151020;border:1px solid #674780;border-radius:4px;padding:3px 12px 9px}.app-shell .workspace-composer:focus-within{border-color:#bf91ed;box-shadow:0 0 0 1px #b06cf030}.app-shell .workspace-composer textarea{min-height:62px;max-height:220px;padding:11px 1px 5px;font-size:1rem;line-height:1.55;color:var(--text)}.app-shell .workspace-composer textarea::placeholder{color:#af97c1}.app-shell .composer-bottom{display:flex;align-items:center;gap:12px;flex-wrap:nowrap}.composer-tools{display:flex;align-items:center;gap:6px;min-width:0}.composer-tool{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 7px;font-size:.75rem;color:var(--muted);border:1px solid transparent;border-radius:3px;flex:none}.composer-tool>.icon{width:15px;height:15px}.composer-tool:hover{color:var(--text);background:#30203f}.app-shell .composer-tool.enabled{background:#321d46;color:var(--accent);border-color:#7a558f}.app-shell .workspace-composer .web-toggle{letter-spacing:0;text-transform:none;min-width:0}.app-shell .composer-bottom .balance-mode{margin-left:auto;color:var(--muted);font-size:.75rem;white-space:nowrap;display:flex;align-items:center;gap:6px}.balance-mode input{accent-color:var(--accent)}.app-shell .workspace-composer .send-button{width:auto;min-width:64px;height:34px;padding:5px 13px;border-radius:4px;background:#97fce4;color:#100b1a;font-size:.875rem;font-weight:500;border-color:#97fce4;margin-left:0}.app-shell .workspace-composer .send-button:hover{background:#c3fff0}.app-shell .composer-foot{display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;color:#aa91bb;font-size:.75rem;line-height:1.5;gap:12px}.composer-foot>.text-button{font-size:.75rem;padding:0;color:#cab1dc}.app-shell .search-disclosure{font-size:.75rem;color:var(--muted);line-height:1.65;margin:10px 0 0}.app-shell .attachment-chip{background:#251630;border-color:#674b79;border-radius:3px;color:#e4cdef}.app-shell .compare-active{color:var(--accent);font-size:.8125rem}
.app-shell .message-column{width:min(850px,100%);max-width:850px;margin:0 auto}.app-shell .message{padding:24px 0 13px;border-color:#33233f}.app-shell .message.user{padding:22px 0 16px}.app-shell .message-label{display:flex;align-items:center;gap:9px;letter-spacing:0;color:var(--soft);font-size:.8125rem;margin-bottom:11px}.message-label strong{font-weight:500}.app-shell .message-label .provider-logo{width:24px;height:24px}.message-avatar{display:grid;place-items:center;width:25px;height:25px;border:1px solid #624774;border-radius:3px;background:#2c1c3b;color:#ebdaf8;font-size:.625rem;letter-spacing:0}.app-shell .message.user .message-content{color:#e1ebe7}.app-shell .message-content{font-size:1rem;line-height:1.85;color:#e2d5eb}.app-shell .message-content a{color:#a2eddf;text-decoration-color:#6d4c81}.app-shell .message-content pre{background:#090510;border-color:#4b345c;border-radius:4px}.app-shell .message-content code{color:#e5c5f6;background:#2c193b;border-radius:3px}.app-shell .message-tools{margin-top:9px;gap:5px}.app-shell .message-tools .icon-btn{width:32px;height:32px;color:var(--muted)}.app-shell .message-tools .icon-btn:hover{background:#30203f;color:var(--text)}.app-shell .thinking{color:var(--accent);font-size:.875rem}.app-shell .message-documents button{border-color:#425c62;background:#261737;color:#dfc9ed}
.answer-receipt{margin-top:17px;border:1px solid var(--line);background:#100b1a;border-radius:3px;font-size:.75rem}.answer-receipt>summary{display:flex;align-items:center;gap:20px;cursor:pointer;padding:10px 12px;min-height:39px;color:var(--muted);list-style:none;font-variant-numeric:tabular-nums}.answer-receipt>summary::-webkit-details-marker{display:none}.answer-receipt>summary>span:first-child{color:#d6b5ee;display:flex;align-items:center;gap:7px}.answer-receipt>summary>.icon:last-child{width:13px;height:13px;margin-left:auto;transition:transform .15s}.answer-receipt[open]>summary>.icon:last-child{transform:rotate(180deg)}.answer-receipt>summary .icon{width:14px;height:14px}.answer-receipt[open]>summary{border-bottom:1px solid var(--line)}.answer-receipt-body{padding:13px}.answer-receipt-body dl{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:0}.answer-receipt-body dt{color:var(--muted);margin-bottom:7px}.answer-receipt-body dd{margin:0;color:var(--soft);font-family:ui-monospace,SFMono-Regular,monospace;font-size:.75rem}.receipt-links{display:flex;gap:24px;align-items:center;margin-top:12px}.receipt-links .text-button,.receipt-links a{font-size:.75rem;color:var(--accent);padding:5px 0}
.app-shell .compare-results{width:100%;gap:14px}.app-shell .compare-column{background:#110c1d;border-color:#4c345e;border-radius:4px}.app-shell .compare-title{border-color:var(--line);padding:13px 14px}.app-shell .compare-title strong{font-size:.875rem;color:var(--text)}.app-shell .compare-text{padding:17px;font-size:1rem;color:#e2d4eb}.app-shell .compare-bottom{border-color:var(--line);font-size:.8125rem}.app-shell .compare-bottom .tag{border-color:#6a4b80;color:#dbc0ee;font-size:.6875rem;letter-spacing:0}.app-shell .compare-bottom .button{border-radius:3px;color:var(--accent);font-size:.8125rem}.app-shell .local-note{font-size:.75rem;color:var(--muted)}
.app-shell .page-content{width:min(1180px,100%);max-width:1180px;padding:42px 32px 64px;margin:auto}.app-shell .page-content>h1{font-size:2.25rem;line-height:1.15;font-weight:400;letter-spacing:-.045em;margin:11px 0 15px}.app-shell .page-content>.eyebrow{color:var(--muted);font-size:.75rem;letter-spacing:0;text-transform:none}.app-shell .page-intro{color:var(--muted);font-size:1rem;line-height:1.65;margin-bottom:28px}.app-shell .page-content h2{font-weight:400}.app-shell .button{border-radius:4px}.app-shell .button.primary{color:#10221b;background:#97fce4;border-color:#97fce4}.app-shell .button.primary:hover{background:#f0fff8}.app-shell .button.outline{color:var(--soft);background:transparent;border-color:var(--line-bright)}.app-shell .button.outline:hover{background:#261a35}.app-shell .text-button{color:var(--soft)}.app-shell .text-button:hover{color:var(--accent)}.app-shell .text-link{color:var(--accent);text-decoration-color:#866299}.app-shell input,.app-shell textarea,.app-shell select{background-color:#130d20;border-color:#59416b;border-radius:4px;color:var(--text)}.app-shell input::placeholder,.app-shell textarea::placeholder{color:#ac96bf}.app-shell label{color:var(--soft);font-size:.875rem}.app-shell .muted{color:var(--muted)}.app-shell .setup-note{background:#1d132b;border-color:#604376;color:#dac8e7;border-radius:3px}.app-shell .table-wrap{border-top:1px solid var(--line)}.app-shell th{font-size:.75rem;color:var(--muted);border-color:var(--line-bright);padding-top:13px;padding-bottom:13px}.app-shell td{font-size:.875rem;color:var(--soft);border-color:var(--line)}.app-shell tr:hover td{background:#181021}.app-shell .model-cell strong{font-size:.9375rem;color:var(--text)}.app-shell .trial-label{color:#e0c9ef;border-color:#77548a;border-radius:3px}.app-shell .search-field{background:#130d20;border-color:#59416b;border-radius:4px}.app-shell .search-field input{background:transparent}.app-shell .balance-overview{padding:22px 0;margin:20px 0 30px;gap:32px;border-color:var(--line)}.app-shell .balance-overview strong{font-size:1.85rem;color:var(--accent)}.app-shell .privacy-grid{border-color:var(--line);margin-top:32px}.app-shell .privacy-grid article{border-color:var(--line);padding:24px}.app-shell .privacy-grid p,.app-shell .privacy-tools p{color:var(--muted);line-height:1.8}.app-shell .privacy-tools{border-color:var(--line);padding:24px 0}
.app-shell .feature-row{border-color:var(--line);grid-template-columns:minmax(0,1fr) auto;gap:28px;padding:23px 0}.app-shell .feature-row h2{font-size:1.4rem;margin:0 0 7px}.app-shell .feature-row p{color:var(--muted);font-size:.9375rem;line-height:1.7}.app-shell .feature-row>a,.app-shell .feature-row>.text-button{font-size:.875rem}.app-shell .feature-number{display:none}.app-shell .feature-list{margin-top:24px}.app-shell .studio-layout{gap:30px;margin-top:30px;grid-template-columns:340px minmax(0,1fr)}.app-shell .studio-result{border-radius:5px;border-color:#513964;background:#0f091b;min-height:460px}.app-shell .studio-empty h2{font-size:1.5rem;letter-spacing:-.03em}.app-shell .studio-empty>img{width:88px;height:88px;opacity:.9}.app-shell .studio-controls{gap:15px}.app-shell .studio-controls .muted{font-size:.75rem;line-height:1.75}.app-shell .reference-picker{border-color:#6e4c83;border-radius:4px;color:var(--muted);background:#130d20}.app-shell .image-gallery img{border-radius:4px}.app-shell .image-gallery p{color:var(--muted)}.app-shell .vault-summary{border-color:var(--line);gap:20px;padding:22px 0;margin:25px 0}.app-shell .vault-mark{display:none}.app-shell .vault-summary h2{font-size:1.2rem;margin:0 0 10px}.app-shell .vault-summary p{font-size:.875rem;color:var(--muted)}.app-shell .vault-form{max-width:560px}.app-shell .developer-balance,.app-shell .api-key-row,.app-shell .developer-docs,.app-shell .proof-summary,.app-shell .proof-row,.app-shell .private-api-note,.app-shell .developer-empty{border-color:var(--line);background:transparent;border-radius:4px}.app-shell .key-status.active{background:#281c38;border-color:#735286;color:#d9bbed}.app-shell .api-base,.app-shell .api-example,.app-shell .proof-hash{border-color:var(--line-bright);background:#100a1c;border-radius:4px}.app-shell .api-base code,.app-shell .api-example pre{color:var(--soft)}.app-shell .price-output{color:var(--accent)}
.workspace-dialog{background:#111b20;border:1px solid #78558e;border-radius:6px;box-shadow:0 24px 100px #0008}.workspace-dialog::backdrop{background:#05020be0;backdrop-filter:blur(3px)}.workspace-dialog .modal-head{border-color:var(--line);padding:16px 20px}.workspace-dialog .modal-head h2{font-weight:400;font-size:1.15rem}.workspace-dialog .modal-body{padding:20px}.workspace-dialog .modal-body p{color:var(--soft)}.workspace-dialog input,.workspace-dialog textarea,.workspace-dialog select{border-color:var(--line-bright);background-color:#0f091b;color:var(--text);border-radius:4px}.workspace-dialog .search-field{background:#0f091b;border-color:var(--line-bright);border-radius:4px}.workspace-dialog .search-field input{background:transparent}.workspace-dialog .picker-row{border-color:var(--line);border-radius:3px;min-height:58px}.workspace-dialog .picker-row:hover,.workspace-dialog .picker-row.chosen{background:#2b1b3e}.workspace-dialog .picker-row strong{font-size:.9375rem}.workspace-dialog .picker-row small{font-size:.75rem;color:var(--muted)}.workspace-dialog .picker-price{color:var(--soft)}.workspace-dialog .model-mark{border:0}.workspace-dialog .button{border-radius:4px}.workspace-dialog .button.primary{background:#97fce4;color:#11251c}.workspace-dialog .button.outline{border-color:var(--line-bright);color:var(--soft)}.workspace-dialog .request-json{background:#081116;border-color:var(--line);color:var(--soft)}.workspace-dialog .icon-btn:hover{background:#382248;color:var(--text)}.workspace-dialog .receipt-details dt{color:var(--muted)}.workspace-dialog .receipt-details dd{color:var(--text)}
.sidebar-backdrop{display:none}.app-shell :focus-visible,.workspace-dialog :focus-visible{outline:2px solid #c59bed;outline-offset:3px}.app-shell .workspace-composer textarea:focus-visible{outline:none}
@media(min-width:881px){.app-shell .mobile-only{display:none}}
@media(max-width:1200px){.workspace-nav{gap:24px;padding:0 18px}.workspace-nav nav{gap:18px}.workspace-account{gap:12px}.workspace-credit>span{display:none}.workspace-body{grid-template-columns:226px minmax(0,1fr)}.workspace-model>.model-rates{display:none}.workspace-meter>a{display:none}.app-shell .workspace-model{max-width:450px}.workspace-principles>div{padding:12px}.app-shell .studio-layout{grid-template-columns:310px minmax(0,1fr)}}
@media(max-width:880px){.workspace-nav{height:108px;min-height:108px;flex-wrap:wrap;gap:0 14px;padding:0 16px;align-content:stretch}.workspace-brand{height:57px;display:flex;align-items:center}.workspace-account{height:57px}.workspace-nav nav{order:3;align-self:auto;flex:1 0 100%;height:50px;overflow-x:auto;gap:23px;scrollbar-width:none}.workspace-nav nav::-webkit-scrollbar{display:none}.workspace-nav nav a{font-size:.875rem;min-height:44px}.workspace-brand .brand{font-size:1.15rem}.workspace-account .workspace-signin{min-height:35px;font-size:.8125rem}.workspace-account .workspace-credit strong{font-size:.875rem}.workspace-body{grid-template-columns:minmax(0,1fr)}.app-shell .sidebar{position:fixed;top:108px;bottom:0;left:0;width:278px;height:calc(100dvh - 108px);transform:translateX(-100%);visibility:hidden;transition:transform .18s,visibility .18s;z-index:80;background:#100a1d;box-shadow:24px 0 60px #0007}.app-shell .sidebar.mobile-open{transform:translateX(0);visibility:visible}.sidebar-mobile-head{display:flex;align-items:center;justify-content:space-between;font-size:.875rem;color:var(--soft);margin:-3px 1px 12px}.sidebar-mobile-head .icon-btn{width:34px;height:34px}.sidebar-backdrop.is-visible{display:block;position:fixed;inset:108px 0 0;background:#0009;z-index:70}.app-shell .mobile-only{display:inline-flex}.app-shell .app-header{height:54px;min-height:54px;padding:7px 12px;gap:8px}.app-header>.icon-btn{width:32px;height:36px}.app-shell .workspace-model{max-width:none;flex:1;min-width:0;padding:7px;gap:6px}.workspace-model>.model-name{font-size:.8125rem}.workspace-model .provider-logo{width:18px;height:18px}.workspace-model>.zdr{display:none}.compare-toggle{height:36px;min-height:36px;padding:7px 9px;font-size:.75rem}.workspace-meter{display:none}.app-shell .chat-topline{padding:6px 17px;min-height:31px}.app-shell .chat-topline>span{font-size:.6875rem}.chat-thread-actions{gap:11px}.chat-thread-actions .text-button{font-size:.6875rem}.app-shell .messages{padding:0 18px 16px}.app-shell .chat-bottom{padding:10px 16px 8px}.app-shell .empty-chat{padding:25px 0}.app-shell .empty-chat>img{width:57px;height:57px;margin-bottom:18px}.app-shell .empty-chat>h1{font-size:2rem;max-width:580px;margin-left:auto;margin-right:auto}.app-shell .empty-chat>p{max-width:440px;font-size:.875rem}.app-shell .page-content{padding:29px 22px 50px}.app-shell .page-content>h1{font-size:2rem}.app-shell .studio-layout{grid-template-columns:minmax(0,1fr)}.app-shell .studio-result{min-height:350px}.app-shell .studio-controls{max-width:none}.app-shell .image-gallery{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.app-shell .feature-row{gap:18px}.app-shell .feature-row>a{grid-column:auto}}
@media(max-width:540px){.workspace-nav{padding:0 13px}.workspace-brand .brand img{width:28px;height:30px}.workspace-credit{gap:5px}.workspace-account{gap:11px}.workspace-account .workspace-signin{padding:6px 9px}.workspace-signin .icon{display:none}.workspace-nav nav{gap:22px}.app-shell .workspace-model>.provider-logo{display:none}.app-shell .empty-chat>h1{font-size:1.8rem;line-height:1.2;max-width:320px}.empty-chat>h1>span{display:block}.app-shell .empty-chat>p{max-width:310px;line-height:1.7}.app-shell .empty-chat .suggestions{display:grid;grid-template-columns:1fr;gap:7px;margin-top:22px;max-width:340px}.app-shell .suggestions button{font-size:.8125rem;min-height:40px;text-align:center}.workspace-start-links{gap:5px 15px;margin:16px 0 0}.workspace-start-links a,.workspace-start-links button{font-size:.75rem;min-height:36px}.workspace-principles{display:none}.app-shell .workspace-composer{padding:2px 9px 7px}.app-shell .workspace-composer textarea{font-size:.9375rem;min-height:62px}.app-shell .composer-bottom{gap:5px}.composer-tools{gap:1px}.composer-tool{padding:5px;min-height:34px;gap:4px;font-size:.6875rem}.composer-tool>.icon{width:15px;height:15px}.composer-tool>span{display:none}.composer-tool.web-toggle>span{display:block}.inspect-tool{display:none}.app-shell .composer-bottom .balance-mode{font-size:.6875rem;gap:4px}.app-shell .composer-bottom .balance-mode input{width:13px;height:13px}.app-shell .workspace-composer .send-button{min-width:54px;padding:5px 10px;font-size:.8125rem}.app-shell .composer-foot{font-size:.625rem;gap:8px;align-items:flex-start}.composer-foot>.text-button{font-size:.625rem;white-space:nowrap}.app-shell .message{padding:22px 0 12px}.app-shell .message-content{font-size:1rem;line-height:1.8}.app-shell .message-label{font-size:.8125rem}.answer-receipt>summary{gap:10px;font-size:.6875rem;padding:9px}.answer-receipt-body dl{display:grid;grid-template-columns:1fr 1fr}.answer-receipt-body dt,.answer-receipt-body dd{font-size:.75rem}.receipt-links{gap:16px}.app-shell .feature-row{grid-template-columns:1fr;gap:10px;padding:21px 0}.app-shell .feature-row>a,.app-shell .feature-row>.text-button{grid-column:1;justify-self:start}.app-shell .feature-row h2{font-size:1.35rem}.app-shell .privacy-grid{grid-template-columns:1fr}.app-shell .privacy-grid article{padding:20px}.app-shell .balance-overview{gap:20px}.app-shell .balance-overview>div:last-child:not(:first-child){margin-left:0}.app-shell .page-content{padding:27px 18px 45px}.app-shell .page-content>h1{font-size:1.9rem}.app-shell .page-intro{font-size:.9375rem}.app-shell .image-gallery{grid-template-columns:1fr 1fr}.app-shell .image-result-actions{gap:8px}.app-shell .vault-summary{gap:0}.workspace-dialog{width:calc(100vw - 22px);max-height:calc(100dvh - 28px)}.workspace-dialog .modal-body{padding:17px}.workspace-dialog .picker-list{max-height:52dvh}.workspace-dialog .picker-row .picker-price{font-size:.75rem}.workspace-dialog .picker-row strong{font-size:.875rem}}
@media(max-height:740px) and (min-width:881px){.app-shell .empty-chat{padding:16px 0}.app-shell .empty-chat>img{width:45px;height:45px;margin-bottom:12px}.app-shell .empty-chat>h1{font-size:2.15rem}.app-shell .empty-chat .suggestions{margin-top:18px}.workspace-start-links{margin:12px 0}.workspace-principles{margin-top:16px}.workspace-principles>div{padding:10px 14px}.workspace-principles p{font-size:.75rem;margin-top:4px}.history-storage>p br:last-child{display:none}.app-shell .persona-section{margin-top:13px}}
@media(prefers-reduced-motion:reduce){.app-shell *,.workspace-dialog *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.app-shell .app-main{background:var(--bg)}
.holder-page-heading{display:flex;justify-content:space-between;gap:32px;align-items:flex-start}.holder-page-heading h1{font-size:2.35rem;line-height:1.15;letter-spacing:-.045em;font-weight:400;margin:12px 0 16px}.holder-page-heading .page-intro{max-width:560px}.holder-status{font-size:.75rem;color:var(--muted);padding:8px 10px;border:1px solid var(--line-bright);border-radius:3px;white-space:nowrap;margin-top:12px}.holder-status.is-active{color:var(--accent);border-color:#77548a;background:#271637}.holder-credit-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;margin:8px 0 40px;border-top:1px solid var(--line);padding-top:30px}.holder-account>span{color:var(--muted);font-size:.875rem}.holder-account>strong{display:block;font-size:3.25rem;letter-spacing:-.06em;font-weight:400;color:var(--accent);margin:10px 0 17px;font-variant-numeric:tabular-nums}.holder-account>p{font-size:.9375rem;color:var(--muted);line-height:1.8;max-width:470px}.holder-facts{display:grid;grid-template-columns:130px minmax(0,1fr);gap:13px;font-size:.8125rem;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:24px 0}.holder-facts dt{color:var(--muted)}.holder-facts dd{margin:0;color:var(--soft)}.holder-facts code{font-size:.8125rem}.holder-rules{border-left:1px solid var(--line);padding-left:32px}.holder-rules>h2{font-size:1.2rem;margin:0 0 20px}.holder-rules article+article{margin-top:24px}.holder-rules h3{font-size:.9375rem;font-weight:400;color:var(--soft);margin:0 0 7px}.holder-rules p{font-size:.875rem;line-height:1.8;color:var(--muted);margin:0}.holder-account .feature-actions{gap:10px}.workspace-nav nav{gap:20px}@media(max-width:1200px){.workspace-nav{gap:20px}.workspace-nav nav{gap:15px}.workspace-nav nav a{font-size:.8125rem}.workspace-nav .workspace-credit{display:none}}@media(max-width:880px){.workspace-nav .workspace-credit{display:flex}.workspace-nav nav{gap:23px}.workspace-nav nav a{font-size:.875rem}.holder-page-heading{display:block}.holder-status{display:inline-block;margin:0 0 25px}.holder-credit-layout{grid-template-columns:1fr;gap:30px;padding-top:23px}.holder-rules{padding:25px 0 0;border-left:0;border-top:1px solid var(--line)}.holder-page-heading h1{font-size:2rem}.holder-account>strong{font-size:2.8rem}}

.app-shell .model-rates{font-size:.75rem}.app-shell .zdr{font-size:.75rem}.sidebar-footer{font-size:.75rem}.app-shell .composer-tool{font-size:.875rem}
@media(max-width:540px){.app-shell .workspace-composer textarea{font-size:1rem}.app-shell .composer-foot,.composer-foot>.text-button{font-size:.75rem}.app-shell .composer-tool{min-width:44px;min-height:44px;font-size:.875rem}.app-shell .workspace-composer .send-button{height:44px;font-size:.875rem}.app-shell .empty-chat .suggestions button{min-height:44px}.app-shell .workspace-account .workspace-signin{min-height:44px}.app-shell .chat-topline>span{font-size:.75rem}.app-shell .workspace-model>.model-name{font-size:.875rem}}

/* User correction: keep the working layout, match the jellyfish homepage palette. */
.app-shell .new-chat{background:#2b1d3b;border-color:#79548d;color:#ecdcfb}.app-shell .new-chat:hover{background:#3b2551}.workspace-nav nav a.is-active{border-bottom-color:#b585df}.app-shell .workspace-model{background:#130d20}.app-shell .workspace-signin{border-color:#5c406d}.app-shell .workspace-principles{background:#100b1a}.app-shell .workspace-model .model-rates{color:#b6a1c7}.app-shell .sidebar-search kbd{color:#a991bd}.app-shell .workspace-composer .send-button{background:#97fce4;border-color:#97fce4;color:#0a1620}.app-shell .button.primary{background:#97fce4;border-color:#97fce4;color:#0a1620}.workspace-dialog .button.primary{background:#97fce4;color:#0a1620}.workspace-dialog::backdrop{background:#05020be0}

/* Keep the comparison action beside the composer throughout a conversation. */
.app-shell .compare-ready{justify-content:space-between;gap:12px;padding-bottom:6px}
.compare-ready>span{color:var(--muted)}
.compare-ready>.text-button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:6px 10px;border:1px solid #6c4b84;border-radius:4px;background:#261832;color:var(--text)}
@media(max-width:540px){.compare-ready>.text-button{min-height:44px}}
/* Account linking uses the existing workspace palette and controls. */
.account-page{max-width:920px}.account-identity{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-block:1px solid var(--line);padding:26px 0;margin-top:32px}.account-identity>div{margin-right:auto}.account-identity>div>span{display:block;color:var(--muted);font-size:.875rem;margin-bottom:9px}.account-identity strong{font-size:2rem;font-weight:400;color:#aaf5df;letter-spacing:-.04em}.account-page>.muted{line-height:1.7}.account-telegram{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:37px}.account-telegram h2{font-size:1.75rem;letter-spacing:-.035em;font-weight:400;margin:9px 0 15px}.telegram-steps{padding-left:22px;color:var(--soft);line-height:2;max-width:660px}.account-page code{color:#b8f1de}.account-page form{display:grid;grid-template-columns:1fr 1.3fr;gap:18px;padding:22px 0}.account-page form label{font-size:1rem}.account-page form input,.account-page form select{display:block;width:100%;margin-top:10px;min-height:48px}.account-page form input{text-transform:uppercase;letter-spacing:.08em}.account-page form button{justify-self:start;min-height:46px}.account-page form .error-text{grid-column:1/-1;margin:0}.telegram-pending,.telegram-connected{padding:25px 0;border-bottom:1px solid var(--line);line-height:1.8}.telegram-pending>strong,.telegram-connected>strong{font-size:1.125rem;color:#aaf5df}.telegram-pending .text-button{margin-left:15px}.account-privacy{color:var(--muted);font-size:.875rem;line-height:1.8;max-width:710px;margin-top:24px;padding-left:16px;border-left:2px solid #9b7fb8}@media(max-width:600px){.account-page form{grid-template-columns:1fr}.account-identity strong{font-size:1.8rem}.account-telegram{display:block}.account-telegram>.button{margin:3px 0 14px}.account-page h1{font-size:2.2rem}.account-identity .text-button{padding-block:10px}.telegram-pending .text-button{margin-left:0;display:block}.account-privacy{font-size:.875rem}}

.holder-funding{margin-top:42px;border-top:1px solid var(--line);padding-top:24px}.holder-operator{border-left:2px solid #9aead0;padding:4px 0 4px 24px;margin:28px 0}.holder-operator>p{max-width:760px;line-height:1.7}.holder-claim-label{display:block;margin:24px 0 16px;max-width:760px}.holder-claim-label input{display:block;width:100%;min-height:48px;margin-top:10px;font-family:monospace}.holder-funding-quote{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:14px 0;border-top:1px solid var(--line)}.holder-funding-quote code{overflow-wrap:anywhere}@media(max-width:600px){.holder-operator{padding-left:14px}.holder-funding .keys-heading{align-items:flex-start;gap:14px;flex-wrap:wrap}.holder-funding .button{max-width:100%;white-space:normal}}

.holder-live-indicator{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.8rem;line-height:1.5;margin:12px 0 20px}.holder-live-indicator>span{width:6px;height:6px;flex:none;border-radius:50%;background:#96f3d3;box-shadow:0 0 10px #96f3d344}.holder-account #holder-live-balance{font-variant-numeric:tabular-nums;letter-spacing:-.04em;font-size:clamp(2.4rem,5vw,4rem)}
