:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f8f7f4;--sidebar:#efede7;--surface:#fff;--surface-soft:#f3f1ec;--surface-hover:#e8e5dd;--text:#292a28;--muted:#81817b;--subtle:#a3a29b;--border:#e5e2da;--accent:#be6937;--accent-soft:#f4e8dd;--accent-strong:#a85325;--button:#30332f;--button-text:#fff;--danger:#b44539;--shadow:0 8px 30px #34312508;--dialog-shadow:0 24px 90px #1b1b2433;--code:#f0eee9;--green:#4c795f;font-synthesis:none;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;font-size:15px}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#20211f;--sidebar:#191b19;--surface:#292c28;--surface-soft:#30332e;--surface-hover:#353930;--text:#e9e9e2;--muted:#a0a398;--subtle:#797d73;--border:#3a3e35;--accent:#e39b69;--accent-soft:#403329;--accent-strong:#efad7e;--button:#e7e8de;--button-text:#252821;--danger:#ef978d;--shadow:0 8px 30px #00000016;--dialog-shadow:0 24px 90px #0008;--code:#191c18;--green:#9ec4a5}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;overflow:hidden}button,input,textarea,select{font:inherit}button{color:inherit;cursor:pointer;background:0 0;border:0}button:disabled{cursor:default;opacity:.42}a{color:var(--accent-strong)}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}:is(button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible){outline:2px solid var(--accent);outline-offset:4px}button{touch-action:manipulation}input,textarea,select{color:var(--text)}[hidden]{display:none!important}.icon{flex:none;width:21px;height:21px;display:block}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:80;background:var(--surface);border-radius:10px;padding:12px;position:fixed;top:8px;left:8px;transform:translateY(-160%)}.skip-link:focus{transform:translateY(0)}.app{grid-template-columns:264px minmax(0,1fr);height:100dvh;transition:grid-template-columns .2s;display:grid}.sidebar{background:var(--sidebar);border-right:1px solid var(--border);flex-direction:column;width:264px;min-width:0;padding:24px 16px 16px;transition:transform .2s;display:flex;overflow:hidden}.sidebar-top{justify-content:space-between;align-items:center;margin-bottom:32px;padding:0 4px;display:flex}.brand{letter-spacing:-.9px;white-space:nowrap;align-items:center;gap:9px;padding:0;font-size:22px;font-weight:650;display:flex}.brand-mark{width:31px;height:31px;color:var(--accent);place-items:center;display:grid}.brand-mark .icon{stroke-width:1.65px;width:31px;height:31px}.brand-period{color:var(--accent)}.icon-button{width:36px;height:36px;color:var(--muted);border-radius:10px;flex:none;justify-content:center;align-items:center;display:inline-flex}.icon-button:hover{color:var(--text);background:var(--surface-hover)}.sidebar-collapse{width:30px;height:30px;color:var(--subtle)}.sidebar-collapse .icon{width:18px;height:18px}.sidebar-nav{gap:9px;margin-bottom:31px;display:grid}.new-chat-button,.nav-button{text-align:left;white-space:nowrap;border-radius:10px;align-items:center;gap:10px;width:100%;height:43px;padding:0 12px;font-size:13px;display:flex}.new-chat-button{background:var(--surface);border:1px solid var(--border);font-weight:550;box-shadow:0 2px 3px #22222203}.new-chat-button:hover{border-color:var(--subtle)}.new-chat-button .icon{width:17px;height:17px;color:var(--accent)}.nav-button:hover{background:var(--surface-hover);color:var(--text)}.nav-button .icon{width:17px;height:17px}kbd{color:var(--subtle);white-space:nowrap;font:400 10px/1.5 inherit}.sidebar-nav kbd{letter-spacing:.5px;margin-left:auto;font-size:10px}.history-heading{color:var(--subtle);letter-spacing:1.1px;justify-content:space-between;align-items:center;margin-bottom:14px;padding:0 12px;font-size:10px;font-weight:600;display:flex}.history{scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex:1;min-height:40px;overflow:auto}.history-empty{color:var(--muted);padding:24px 13px;font-size:12px;line-height:1.7}.history-empty .icon{width:22px;height:22px;color:var(--subtle);margin-bottom:11px}.history-empty strong{color:var(--muted);font-weight:500;display:block}.history-empty p{margin:5px 0}.history-item{border-radius:9px;align-items:center;margin:2px 0;display:flex;position:relative}.history-item:hover,.history-item.active{background:var(--surface-hover)}.history-open{text-align:left;align-items:center;gap:9px;width:100%;min-width:0;padding:11px 34px 11px 11px;font-size:12px;display:flex}.history-open .icon{width:15px;height:15px;color:var(--subtle)}.history-open span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.history-more{opacity:0;width:28px;height:28px;position:absolute;right:3px}.history-more .icon{width:18px;height:18px}.history-item:hover .history-more,.history-item.active .history-more{opacity:1}.history-more:focus-visible{opacity:1}.sidebar-bottom{margin-top:16px}.local-note{color:var(--muted);align-items:center;gap:9px;margin:0 10px 20px;text-decoration:none;display:flex}.local-note>.icon,.local-note>span>.icon{width:17px;height:17px;color:var(--subtle)}.local-note div{gap:5px;display:grid}.local-note div>span{color:var(--subtle);font-size:10px}.settings-button{border-top:1px solid var(--border);text-align:left;align-items:center;gap:10px;width:100%;padding:16px 6px 2px;display:flex}.avatar{color:#515947;background:#dce0d1;border:1px solid #bfc1b4;border-radius:50%;flex:none;place-items:center;width:33px;height:33px;font-size:12px;font-weight:600;display:grid}.settings-button>span:nth-child(2){flex:1;gap:4px;display:grid}.settings-button small{color:var(--muted);font-size:10px}.settings-button>span:last-child{color:var(--muted)}.settings-button>span:last-child .icon{width:17px;height:17px}.settings-button:hover strong{color:var(--accent)}.workspace{flex-direction:column;min-width:0;height:100dvh;display:flex;position:relative}.topbar{justify-content:space-between;align-items:center;gap:16px;height:78px;min-height:78px;padding:0 32px;display:flex}.topbar-left,.topbar-right{align-items:center;gap:12px;min-width:0;display:flex}.topbar-left{flex:1}.topbar-left>#toggle-sidebar{display:none}.model-heading{align-items:center;gap:10px;min-width:0;display:flex}#header-title{letter-spacing:-.2px;white-space:nowrap;text-overflow:ellipsis;max-width:350px;font-size:14px;font-weight:600;overflow:hidden}.model-badge{border:1px solid var(--border);color:var(--muted);letter-spacing:.1px;white-space:nowrap;border-radius:5px;padding:3px 6px;font-size:9px}.private-label{color:var(--subtle);white-space:nowrap;align-items:center;gap:6px;font-size:10px;display:flex}.private-label .icon{width:12px;height:12px}.topbar-right>.icon-button{width:30px;height:30px}.topbar-right>.icon-button .icon{width:17px;height:17px}.sidebar-collapsed .sidebar{transform:translate(-100%)}.sidebar-collapsed .topbar-left>#toggle-sidebar{display:flex}.connection-banner{border:1px solid var(--border);background:var(--accent-soft);border-radius:12px;align-items:center;gap:10px;margin:0 32px 6px;padding:10px 13px;font-size:12px;display:flex}.connection-banner>.icon,.connection-banner>span .icon{width:17px;height:17px;color:var(--accent)}.connection-banner p{flex:1;margin:0;line-height:1.5}.connection-banner button{color:var(--accent-strong);white-space:nowrap;padding:6px 8px;font-size:11px;font-weight:600}.conversation-scroll{scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:var(--border) transparent;overscroll-behavior:contain;flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}.welcome{text-align:center;width:min(100%,720px);margin:auto;padding:34px 30px 24px}.welcome-orbit{place-items:center;width:70px;height:70px;margin:0 auto 27px;display:grid;position:relative}.hero-sun{background:var(--accent-soft);width:62px;height:62px;color:var(--accent);border-radius:20px;place-items:center;display:grid}.hero-sun .icon{stroke-width:1.35px;width:40px;height:40px}.orbit-dot{width:8px;height:8px;box-shadow:0 0 0 6px var(--bg);background:#dfbc8e;border-radius:50%;position:absolute;top:3px;right:-5px}.eyebrow{letter-spacing:1.8px;color:var(--accent);margin:0 0 15px;font-size:9px;font-weight:650}.welcome h1{letter-spacing:-1.7px;margin:0 0 18px;font-size:46px;font-weight:500;line-height:1.15}.welcome-subtitle{color:var(--muted);margin:0 0 35px;font-size:14px;line-height:1.8}.starter-grid{grid-template-columns:1fr 1fr;gap:12px;max-width:610px;margin:0 auto;display:grid}.starter-card{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:14px;align-items:center;gap:13px;min-width:0;min-height:84px;padding:18px 19px;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex;position:relative}.starter-card:hover{border-color:var(--subtle);box-shadow:var(--shadow);transform:translateY(-2px)}.starter-icon{border-radius:10px;flex:none;place-items:center;width:34px;height:34px;display:grid}.starter-icon .icon{width:19px;height:19px}.starter-icon.amber{color:#b98844;background:#f9efdf}.starter-icon.blue{color:#6785a5;background:#eaf0f7}.starter-icon.green{color:#76916a;background:#edf2e7}.starter-icon.purple{color:#9783ae;background:#f2edf8}.starter-card>span:nth-child(2){gap:7px;min-width:0;display:grid}.starter-card strong{white-space:nowrap;font-size:12px;font-weight:600}.starter-card small{color:var(--muted);white-space:nowrap;font-size:10px}.starter-arrow{color:var(--subtle);opacity:.6;margin-left:auto}.starter-arrow .icon{width:14px;height:14px}.welcome-hint{color:var(--subtle);justify-content:center;align-items:center;gap:7px;margin:25px 0 0;font-size:10px;display:flex}.mini-dot{background:var(--accent);border-radius:50%;width:4px;height:4px}.composer-dock{flex:none;width:min(100%,870px);margin:0 auto;padding:20px 32px 19px;position:relative}.composer-shell{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:22px;transition:border-color .15s,box-shadow .15s;position:relative}.composer-shell:focus-within{border-color:var(--subtle);box-shadow:0 6px 30px #3431250a}#composer-form{margin:0}#prompt{resize:none;scrollbar-width:thin;background:0 0;border:0;width:100%;min-height:74px;max-height:210px;padding:22px 22px 8px;font-size:14px;line-height:1.6;display:block;overflow-y:auto;outline:none!important}.composer-toolbar{justify-content:space-between;align-items:center;gap:8px;padding:11px 13px 13px;display:flex}.composer-tools,.composer-send{align-items:center;gap:5px;min-width:0;display:flex}.tool-button{min-height:32px;color:var(--muted);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:7px 9px;font-size:10px;display:flex}.tool-button .icon{width:16px;height:16px}.tool-button:hover{background:var(--surface-soft);color:var(--text)}.tool-button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-strong)}.attachment-button{width:31px;padding:7px}.tool-divider{background:var(--border);width:1px;height:16px;margin:0 3px}.effort-control{color:var(--muted);align-items:center;gap:5px;margin-right:5px;padding-left:7px;display:flex;position:relative}.effort-control>.icon,.effort-control>span>.icon{width:14px;height:14px}.effort-control select{-webkit-appearance:none;appearance:none;cursor:pointer;background:0 0;border:0;max-width:120px;padding:7px 17px 7px 0;font-size:10px}.effort-control>span:last-child{pointer-events:none;position:absolute;right:0}.effort-control>span:last-child .icon{width:13px;height:13px}.send-button{background:var(--button);width:35px;height:35px;color:var(--button-text);border-radius:11px;flex:none;place-items:center;display:grid}.send-button .icon{width:20px;height:20px}.send-button:not(:disabled):hover{filter:brightness(1.15)}.send-button.stopping .icon{fill:currentColor;stroke-width:0;width:17px;height:17px}.composer-note{text-align:center;color:var(--subtle);margin-top:13px;font-size:9px}.scroll-bottom{border:1px solid var(--border);background:var(--surface);width:34px;height:34px;box-shadow:var(--shadow);z-index:3;border-radius:50%;position:absolute;top:-28px;left:calc(50% - 17px)}.scroll-bottom .icon{width:17px;height:17px}.image-options{border-top:1px solid var(--border);color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;margin:8px 20px 0;padding:12px 0 3px;font-size:10px;display:flex}.image-mode-label{color:var(--accent-strong);align-items:center;gap:6px;margin-right:auto;display:flex}.image-mode-label .icon{width:15px;height:15px}.image-options label{align-items:center;gap:6px;display:flex}.image-options select{background:var(--surface-soft);border:1px solid var(--border);border-radius:6px;max-width:145px;padding:4px 5px;font-size:10px}.editing-banner{background:var(--accent-soft);color:var(--accent-strong);border-radius:10px;align-items:center;gap:10px;margin:12px 15px 0;padding:10px 10px 10px 12px;display:flex}.editing-banner>span>.icon{width:17px;height:17px}.editing-banner div{flex:1;gap:3px;font-size:12px;display:grid}.editing-banner small{color:var(--muted);font-size:10px}.editing-banner .icon-button{width:26px;height:26px}.attachments{scrollbar-width:thin;gap:8px;padding:15px 18px 0;display:flex;overflow:auto}.attachment-chip{background:var(--surface-soft);border:1px solid var(--border);border-radius:11px;flex:none;align-items:center;gap:8px;width:190px;min-width:0;padding:7px 29px 7px 8px;display:flex;position:relative}.attachment-chip>img{object-fit:cover;border-radius:6px;width:35px;height:35px}.attachment-chip>.icon{width:26px;height:26px;color:var(--accent)}.attachment-chip>div{gap:4px;display:grid;overflow:hidden}.attachment-chip strong{white-space:nowrap;text-overflow:ellipsis;font-size:10px;font-weight:500;overflow:hidden}.attachment-chip small{color:var(--muted);font-size:9px}.attachment-chip .remove-attachment{border-radius:6px;width:23px;height:23px;position:absolute;top:5px;right:4px}.remove-attachment .icon{width:12px;height:12px}.drop-hint{border:2px dashed var(--accent);background:var(--surface);z-index:5;color:var(--accent);pointer-events:none;border-radius:22px;justify-content:center;align-items:center;gap:9px;display:flex;position:absolute;inset:0}.messages{flex:1;width:min(100%,810px);margin:0 auto;padding:30px 32px 8px}.message{min-width:0;margin:0 0 31px}.message-user{flex-direction:column;align-items:flex-end;display:flex}.user-bubble{background:var(--surface-soft);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:19px 19px 5px;min-width:0;max-width:88%;padding:13px 18px;font-size:14px;line-height:1.7}.user-attachments{flex-wrap:wrap;justify-content:flex-end;gap:7px;max-width:90%;margin-bottom:8px;display:flex}.user-attachment{background:var(--surface);border:1px solid var(--border);border-radius:10px;align-items:center;gap:7px;min-width:0;max-width:220px;padding:8px 10px;font-size:10px;display:flex}.user-attachment>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.user-attachment>.icon{width:16px;height:16px;color:var(--muted)}.user-attachment>img{object-fit:cover;border-radius:6px;width:55px;height:55px}.assistant-heading{align-items:center;gap:9px;margin-bottom:14px;font-size:12px;font-weight:600;display:flex}.assistant-mark{background:var(--accent-soft);width:27px;height:27px;color:var(--accent);border-radius:9px;place-items:center;display:grid}.assistant-mark .icon{width:19px;height:19px}.assistant-meta{color:var(--subtle);margin-left:2px;font-size:9px;font-weight:400}.message-content{overflow-wrap:anywhere;min-width:0;font-size:15px;line-height:1.8}.message-content>:first-child{margin-top:0}.message-content>:last-child{margin-bottom:0}.message-content p{margin:0 0 15px}.message-content h1,.message-content h2,.message-content h3,.message-content h4,.message-content h5,.message-content h6{letter-spacing:-.3px;margin:24px 0 13px;font-weight:600;line-height:1.35}.message-content h1{font-size:26px}.message-content h2{font-size:22px}.message-content h3{font-size:19px}.message-content h4,.message-content h5,.message-content h6{font-size:16px}.message-content ul,.message-content ol{margin:12px 0 18px;padding-left:24px}.message-content li{margin:5px 0}.message-content blockquote{border-left:3px solid var(--accent);background:var(--surface-soft);color:var(--muted);border-radius:0 8px 8px 0;margin:18px 0;padding:6px 16px}.message-content hr{border:0;border-top:1px solid var(--border);margin:24px 0}.message-content code{background:var(--code);overflow-wrap:anywhere;border-radius:5px;padding:2px 5px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.87em}.message-content a{overflow-wrap:anywhere;text-underline-offset:3px;text-decoration-thickness:1px}.code-block{border:1px solid var(--border);background:var(--code);border-radius:12px;margin:17px 0;overflow:hidden}.code-header{border-bottom:1px solid var(--border);color:var(--muted);justify-content:space-between;align-items:center;padding:8px 13px;font-size:10px;display:flex}.copy-code{color:var(--muted);border-radius:5px;padding:4px 7px;font-size:10px}.copy-code:hover{background:var(--surface-hover);color:var(--text)}.code-block pre{white-space:pre;tab-size:4;scrollbar-width:thin;max-width:100%;margin:0;padding:16px;line-height:1.65;overflow:auto}.code-block pre code{overflow-wrap:normal;background:0 0;border-radius:0;padding:0;font-size:12px}.table-wrap{border:1px solid var(--border);scrollbar-width:thin;border-radius:10px;max-width:100%;margin:17px 0;overflow:auto}.table-wrap table{border-collapse:collapse;text-align:left;min-width:100%;font-size:12px}.table-wrap th{background:var(--surface-soft);font-weight:600}.table-wrap td,.table-wrap th{border-bottom:1px solid var(--border);min-width:90px;padding:10px 13px}.table-wrap tr:last-child td{border-bottom:0}.message-tools{align-items:center;gap:3px;min-height:26px;margin-top:8px;display:flex}.message-tools .icon-button{width:27px;height:27px;color:var(--subtle);border-radius:7px}.message-tools .icon{width:14px;height:14px}.message-user .message-tools{margin-top:4px}.message-model{color:var(--subtle);margin-left:7px;font-size:9px}.message-state{color:var(--muted);background:var(--surface-soft);border-radius:9px;align-items:flex-start;gap:8px;margin-top:13px;padding:10px 12px;font-size:12px;line-height:1.6;display:flex}.message-state>.icon{width:15px;height:15px;margin-top:2px}.message-state.error{color:var(--danger);background:color-mix(in srgb,var(--danger) 6%,var(--surface))}.thinking{color:var(--muted);align-items:center;gap:8px;min-height:31px;margin:0 0 8px;font-size:12px;display:flex}.thinking-dot{background:var(--accent);border-radius:50%;width:7px;height:7px;animation:1.2s ease-in-out infinite breathe}.sources{border-top:1px solid var(--border);margin-top:17px;padding-top:13px}.sources-title{color:var(--muted);align-items:center;gap:6px;margin-bottom:9px;font-size:10px;display:flex}.sources-title .icon{width:13px;height:13px}.source-list{flex-wrap:wrap;gap:6px;display:flex}.source-link{border:1px solid var(--border);max-width:100%;color:var(--muted);border-radius:8px;align-items:center;gap:6px;padding:7px 9px;font-size:10px;text-decoration:none;display:flex}.source-link:hover{background:var(--surface-soft);color:var(--text)}.source-link b{color:var(--accent);font-size:9px}.source-link span{white-space:nowrap;text-overflow:ellipsis;max-width:230px;overflow:hidden}.source-link .icon{width:11px;height:11px}.inline-citation{vertical-align:super;background:var(--accent-soft);color:var(--accent-strong);border-radius:4px;align-items:center;margin-left:2px;padding:1px 4px;font-weight:600;line-height:1.3;display:inline-flex;font-size:9px!important;text-decoration:none!important}.generated-images{gap:14px;margin:4px 0 12px;display:grid}.generated-image{border:1px solid var(--border);background:var(--surface);border-radius:15px;width:min(100%,560px);margin:0;overflow:hidden}.generated-image img{object-fit:contain;background:var(--surface-soft);width:100%;max-height:640px;display:block}.generated-image figcaption{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;padding:9px 12px;font-size:10px;display:flex}.image-download{color:var(--text);white-space:nowrap;border-radius:5px;align-items:center;gap:5px;padding:4px;text-decoration:none;display:flex}.image-download .icon{width:14px;height:14px}.image-download:hover{background:var(--surface-soft)}.image-prompt{color:var(--muted);margin-top:9px;font-size:11px}.image-prompt summary{cursor:pointer}.image-prompt p{margin:8px 0;font-size:12px}.dialog{border:1px solid var(--border);background:var(--surface);color:var(--text);box-shadow:var(--dialog-shadow);scrollbar-width:thin;border-radius:21px;width:min(560px,100vw - 32px);max-height:88dvh;padding:0;overflow:auto}.dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#181c1752}.dialog-header{justify-content:space-between;align-items:center;gap:15px;padding:24px 25px 19px;display:flex}.dialog-header h2{letter-spacing:-.5px;margin:0;font-size:21px;font-weight:600;line-height:1.3}.dialog-header .icon-button{width:30px;height:30px}.dialog-header .icon-button .icon{width:18px;height:18px}.dialog-eyebrow{color:var(--accent);letter-spacing:1.5px;margin:0 0 8px;font-size:8px;font-weight:600}.settings-body{padding:0 26px}.setting-section{border-bottom:1px solid var(--border);padding:19px 0}.setting-section:first-child{padding-top:8px}.setting-section h3{margin:0 0 8px;font-size:13px;font-weight:600}.setting-section>p{color:var(--muted);margin:0 0 14px;font-size:11px;line-height:1.7}.theme-picker{grid-template-columns:repeat(3,1fr);gap:9px;margin-top:15px;display:grid}.theme-picker button{border:1px solid var(--border);border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:13px 7px;font-size:11px;display:flex}.theme-picker .icon{width:16px;height:16px}.theme-picker button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong)}.model-details{gap:10px;margin:14px 0 16px;font-size:11px;display:grid}.model-details>div{justify-content:space-between;align-items:center;gap:12px;display:flex}.model-details dt{color:var(--muted)}.model-details dd{text-align:right;overflow-wrap:anywhere;margin:0}.key-status{align-items:center;gap:5px;display:inline-flex}.key-status:before{content:"";background:var(--green);border-radius:50%;width:5px;height:5px}.key-status.missing:before{background:var(--accent)}.setup-instructions{background:var(--surface-soft);color:var(--muted);border-radius:10px;gap:9px;margin-bottom:8px;padding:12px;display:flex}.setup-instructions>span{margin-top:1px}.setup-instructions .icon{width:15px;height:15px}.setup-instructions p{margin:0;font-size:10px;line-height:1.8}.setup-instructions strong{color:var(--text);font-weight:550}.text-button{color:var(--muted);border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:8px 0;font-size:11px;display:inline-flex}.text-button:hover{color:var(--text)}.text-button .icon{width:14px;height:14px}.secondary-button,.primary-button{border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:35px;padding:10px 14px;font-size:11px;display:inline-flex}.secondary-button{border:1px solid var(--border);background:var(--surface);text-decoration:none}.secondary-button:hover{background:var(--surface-soft)}.secondary-button .icon,.primary-button .icon{width:15px;height:15px}.primary-button{background:var(--button);color:var(--button-text);font-weight:550}.primary-button:hover{filter:brightness(1.13)}.primary-button.destructive{background:var(--danger);color:#fff}.settings-actions{flex-wrap:wrap;align-items:center;gap:20px;display:flex}.danger-text{color:var(--danger)!important}.settings-credit{align-items:center;gap:9px;padding:21px 0 23px;display:flex}.credit-mark{color:var(--accent)}.credit-mark .icon{width:25px;height:25px}.settings-credit>div{gap:4px;display:grid}.settings-credit strong{font-size:11px;font-weight:600}.settings-credit div>span{color:var(--muted);font-size:9px}.settings-credit b{color:var(--subtle);padding:0 3px;font-weight:400}.settings-credit>small{text-align:right;color:var(--subtle);max-width:130px;margin-left:auto;font-size:8px;line-height:1.6}.search-field{background:var(--surface-soft);border:1px solid var(--border);border-radius:11px;align-items:center;gap:11px;margin:0 25px 13px;padding:10px 13px;display:flex}.search-field>.icon,.search-field>span>.icon{width:18px;height:18px;color:var(--muted)}.search-field input{background:0 0;border:0;outline:none;width:100%;min-width:0;padding:3px;font-size:13px}.search-results{min-height:110px;max-height:49dvh;padding:0 15px 13px;overflow:auto}.search-result{text-align:left;border-radius:10px;align-items:center;gap:12px;width:100%;min-width:0;padding:13px 12px;display:flex}.search-result:hover{background:var(--surface-soft)}.search-result>.icon{width:18px;height:18px;color:var(--subtle)}.search-result>span{flex:1;gap:5px;min-width:0;display:grid}.search-result strong{white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:550;overflow:hidden}.search-result small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.search-result time{color:var(--subtle);font-size:9px}.search-empty{text-align:center;color:var(--muted);padding:35px 12px;font-size:12px;line-height:1.8}.dialog-footnote{border-top:1px solid var(--border);color:var(--subtle);justify-content:space-between;padding:13px 26px;font-size:9px;display:flex}.action-dialog{width:min(430px,100vw - 32px)}.action-dialog form{padding:0 25px 24px}.action-dialog form>p{color:var(--muted);overflow-wrap:anywhere;margin:0 0 19px;font-size:12px;line-height:1.7}.action-dialog label,.login-dialog label{color:var(--muted);margin:0 0 8px;font-size:11px;display:block}.action-dialog input,.login-dialog input{background:var(--surface-soft);border:1px solid var(--border);border-radius:9px;width:100%;padding:12px;font-size:13px}.dialog-actions{justify-content:flex-end;gap:9px;margin-top:21px;display:flex}.chat-menu{z-index:35;border:1px solid var(--border);background:var(--surface);width:192px;box-shadow:var(--dialog-shadow);border-radius:12px;padding:5px;position:fixed}.chat-menu button{text-align:left;border-radius:7px;align-items:center;gap:9px;width:100%;padding:10px 9px;font-size:11px;display:flex}:is(.chat-menu button:hover,.chat-menu button:focus-visible){background:var(--surface-soft)}.chat-menu .icon{width:15px;height:15px}.login-dialog{width:min(400px,100vw - 32px);padding:34px}.login-brand{letter-spacing:-.6px;align-items:center;gap:12px;margin-bottom:28px;font-size:23px;font-weight:600;display:flex}.login-brand .hero-sun{border-radius:13px;width:44px;height:44px}.login-brand .hero-sun .icon{width:30px;height:30px}.login-dialog h2{letter-spacing:-.6px;margin:0 0 10px;font-size:24px;font-weight:550}.login-dialog>p{color:var(--muted);margin:0 0 24px;font-size:12px;line-height:1.7}.login-dialog .primary-button{width:100%;margin-top:15px;padding:13px}.login-dialog .login-note{color:var(--subtle);margin:21px 0 0;font-size:10px;line-height:1.7}.form-error{color:var(--danger);margin:10px 0 0;font-size:11px;line-height:1.6}.toasts{z-index:100;pointer-events:none;gap:8px;width:min(440px,100vw - 32px);display:grid;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.toast{background:var(--button);color:var(--button-text);box-shadow:var(--dialog-shadow);overflow-wrap:anywhere;border-radius:12px;padding:13px 17px;font-size:12px;line-height:1.6;animation:.2s toast-in}.sidebar-overlay{z-index:19;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#13161166;position:fixed;inset:0}@keyframes breathe{50%{opacity:.35;transform:scale(.8)}}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (min-width:1200px){.welcome{padding-bottom:32px}.topbar{padding-left:37px;padding-right:37px}.welcome h1{font-size:48px}}@media (max-width:1100px){.private-label{display:none}.topbar{padding:0 24px}.welcome{padding-left:25px;padding-right:25px}.starter-card{gap:10px;padding:16px 14px}.starter-arrow{display:none}.starter-card small{font-size:9px}.composer-dock{padding-left:25px;padding-right:25px}.model-badge{display:none}#header-title{max-width:300px}}@media (max-height:820px) and (min-width:821px){.welcome{padding-top:14px;padding-bottom:10px}.welcome-orbit{width:56px;height:56px;margin-bottom:18px}.hero-sun{border-radius:16px;width:52px;height:52px}.hero-sun .icon{width:34px;height:34px}.welcome h1{margin-bottom:13px;font-size:40px}.eyebrow{margin-bottom:11px}.welcome-subtitle{margin-bottom:25px;font-size:13px}.starter-card{min-height:74px;padding-top:14px;padding-bottom:14px}.welcome-hint{margin-top:19px}.composer-dock{padding-top:15px;padding-bottom:14px}}@media (max-width:820px){.app,.sidebar-collapsed .app{grid-template-columns:minmax(0,1fr)}.sidebar{z-index:20;height:100dvh;padding-top:max(24px,env(safe-area-inset-top));position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.sidebar-open .sidebar{transform:translate(0)}.topbar-left>#toggle-sidebar{display:flex}.topbar{gap:10px;height:66px;min-height:66px;padding:0 18px}.topbar-left{gap:10px}.topbar-right{gap:7px}.topbar-left>#toggle-sidebar .icon{width:19px;height:19px}#header-title{max-width:50vw;font-size:14px}.welcome{max-width:640px;padding:27px 24px 20px}.welcome h1{font-size:42px}.welcome-subtitle{font-size:13px}.connection-banner{margin:0 20px 8px}.composer-dock{max-width:720px;padding:16px 22px max(15px,env(safe-area-inset-bottom))}.messages{max-width:760px;padding:22px 28px 8px}.message-content{font-size:14px}.history-more{opacity:1}.history-open{font-size:13px}.sidebar-nav kbd{display:none}.settings-credit>small{max-width:100px}.starter-card{min-height:84px}}@media (max-width:480px){.topbar{height:61px;min-height:61px;padding:0 12px}.topbar-right>.icon-button{width:28px;height:28px}.topbar-left{gap:5px}.topbar-left>#toggle-sidebar{width:32px}.welcome{padding:21px 19px 18px}.welcome-orbit{width:56px;height:56px;margin-bottom:23px}.hero-sun{border-radius:16px;width:49px;height:49px}.hero-sun .icon{width:33px;height:33px}.orbit-dot{width:6px;height:6px;top:1px;right:0}.eyebrow{letter-spacing:1.25px;margin-bottom:12px;font-size:7px}.welcome h1{letter-spacing:-1.1px;margin-bottom:14px;font-size:35px}.welcome-subtitle{margin-bottom:27px;font-size:11px;line-height:1.8}.starter-grid{gap:9px}.starter-card{border-radius:12px;min-height:112px;padding:14px 12px;display:block}.starter-icon{border-radius:8px;width:28px;height:28px;margin-bottom:12px}.starter-icon .icon{width:16px;height:16px}.starter-card>span:nth-child(2){gap:6px}.starter-card strong{white-space:normal;font-size:10px;line-height:1.35}.starter-card small{white-space:normal;font-size:8px;line-height:1.5}.welcome-hint{margin-top:19px;font-size:8px}.composer-dock{padding:12px 12px max(12px,env(safe-area-inset-bottom))}.composer-shell{border-radius:18px}#prompt{min-height:65px;max-height:150px;padding:17px 16px 8px;font-size:13px}.composer-toolbar{gap:4px;padding:8px 10px 10px}.composer-tools{gap:3px}.tool-button{width:32px;padding:7px}.tool-label{display:none}.tool-divider{margin:0 2px}.effort-control{gap:3px;margin-right:4px;padding-left:2px}.effort-control select{max-width:110px;font-size:10px}.effort-control>.icon,.effort-control>span>.icon{width:13px;height:13px}.send-button{border-radius:10px;width:33px;height:33px}.composer-note{margin-top:10px;font-size:8px}.connection-banner{border-radius:9px;gap:7px;margin:0 12px 8px;padding:8px 10px;font-size:10px}.connection-banner button{padding:5px;font-size:10px}.connection-banner>span .icon{width:14px;height:14px}.messages{padding:18px 17px 7px}.message{margin-bottom:28px}.user-bubble{max-width:93%;padding:11px 14px;font-size:13px}.message-content{font-size:13px;line-height:1.8}.assistant-heading{margin-bottom:13px;font-size:11px}.assistant-meta{font-size:8px}.message-content h1{font-size:22px}.message-content h2{font-size:19px}.message-content h3{font-size:16px}.code-block pre{padding:13px}.code-block pre code{font-size:11px}.source-link span{max-width:200px}.user-attachment{max-width:190px}.image-options{gap:9px;margin:6px 15px 0;font-size:9px}.image-mode-label{width:100%;font-size:10px}.image-options select{max-width:120px;font-size:9px}.attachments{padding:12px 13px 0}.attachment-chip{width:168px}.dialog-header{padding:21px 20px 17px}.dialog-header h2{font-size:19px}.settings-body{padding:0 20px}.theme-picker{gap:6px}.theme-picker button{gap:5px;padding:12px 6px;font-size:10px}.theme-picker .icon{width:14px;height:14px}.settings-actions{gap:8px}.settings-actions .secondary-button,.settings-actions .text-button{font-size:10px}.settings-credit>small{display:none}.search-field{margin-left:19px;margin-right:19px}.search-results{padding-left:9px;padding-right:9px}.search-result{gap:9px}.search-result time{display:none}.action-dialog form{padding:0 20px 21px}.login-dialog{padding:28px}.toasts{bottom:17px}.message-model{text-overflow:ellipsis;white-space:nowrap;max-width:140px;overflow:hidden}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}:root{--bg:#fff;--sidebar:#f9f9f9;--surface:#f4f4f4;--surface-soft:#ededed;--surface-hover:#e8e8e8;--text:#0d0d0d;--muted:#676767;--subtle:#8f8f8f;--border:#e5e5e5;--accent:#0d0d0d;--accent-soft:#ececec;--accent-strong:#0d0d0d;--button:#0d0d0d;--button-text:#fff;--code:#f4f4f4;--shadow:none;font-family:Arial,Segoe UI,sans-serif}:root[data-theme=dark]{--bg:#0d0d0d;--sidebar:#0d0d0d;--surface:#212121;--surface-soft:#1a1a1a;--surface-hover:#262626;--text:#ececec;--muted:#9b9b9b;--subtle:#747474;--border:#262626;--accent:#ececec;--accent-soft:#262626;--accent-strong:#fff;--button:#fff;--button-text:#0d0d0d;--code:#171717;--shadow:none}.app{grid-template-columns:52px 304px minmax(0,1fr)}.app-rail{background:var(--bg);border-right:1px solid var(--border);flex-direction:column;align-items:center;gap:14px;height:100dvh;padding:8px 6px;display:flex}.rail-button{width:36px;height:36px;color:var(--text);border-radius:11px;justify-content:center;align-items:center;text-decoration:none;display:flex}.rail-button .icon{width:20px;height:20px}.rail-button:hover,.rail-button.active{background:var(--surface)}.rail-spacer{flex:1}.app-rail>a{border:1px solid var(--muted);border-radius:50%;width:27px;height:27px;margin:0 0 7px}.app-rail>a .icon{width:17px;height:17px}.sidebar{border-color:var(--border);border-radius:0 0 16px;width:304px;padding:10px 12px 12px}.sidebar-top{gap:5px;min-height:34px;margin-bottom:4px;padding:0 3px}.brand{letter-spacing:0;flex:1;justify-content:flex-start;font-size:17px;font-weight:550}.sidebar-collapse,.sidebar-search{width:28px;height:28px}.sidebar-search kbd{display:none}.sidebar-search .icon,.sidebar-collapse .icon{width:18px;height:18px}.sidebar-nav{gap:1px;margin:0 0 18px}.new-chat-button,.nav-button{min-height:36px;box-shadow:none;background:0 0;border:0;border-radius:8px;padding:8px 6px;font-size:14px;font-weight:400}.new-chat-button:hover,.nav-button:hover{background:var(--surface)}.sidebar-nav kbd{display:none}.nav-button{color:var(--muted)}.history-heading{letter-spacing:0;color:var(--muted);padding:5px 6px 10px;font-size:13px;font-weight:500}.history-group{color:var(--muted);padding:18px 9px 8px;font-size:12px}.history-item{border-radius:8px;margin:2px 0}.history-open{gap:9px;min-height:37px;padding:9px;font-size:14px}.history-open>.icon{display:none}.history-empty{text-align:left;padding:20px 9px;font-size:12px}.history-empty>.icon,.history-empty p{display:none}.history-empty strong{color:var(--subtle);font-weight:400}.sidebar-bottom{border-top:0;gap:6px;padding-top:10px}.local-note{background:0 0;border:0;padding:9px 7px}.local-note>span,.local-note div>span{display:none}.local-note strong{font-size:13px;font-weight:400}.settings-button{border:0;border-radius:8px;padding:8px 7px}.settings-button .avatar{background:var(--surface);width:28px;height:28px;color:var(--text);border-radius:50%}.settings-button strong{font-size:12px;font-weight:400}.settings-button small{display:none}.topbar{height:56px;min-height:56px;padding:0 18px;position:relative}.topbar-left{min-width:0}.model-heading{display:none}.mode-switch{background:var(--surface-soft);border-radius:24px;gap:0;padding:3px;display:flex;position:absolute;top:8px;left:50%;transform:translate(-50%)}.mode-switch button{min-width:106px;height:30px;color:var(--muted);border-radius:20px;padding:0 22px;font-size:13px;font-weight:550}.mode-switch button.selected{background:var(--surface);color:var(--text)}.topbar-right{margin-left:auto}.topbar-right .icon-button{width:29px;height:29px;color:var(--muted)}.topbar-right .icon-button .icon{width:18px;height:18px}.sidebar-collapsed .app{grid-template-columns:52px 0 minmax(0,1fr)}.sidebar-collapsed .sidebar{padding:0;transform:translate(calc(-100% - 52px))}body:not(.has-messages) .conversation-scroll{flex:none;height:0;overflow:visible}body:not(.has-messages) .welcome{width:100%;margin:0;padding:0 20px;position:absolute;top:34.5%;left:0;right:0}body:not(.has-messages) .welcome h1{letter-spacing:0;margin:0;font-size:24px;font-weight:500;line-height:1.3}body:not(.has-messages) .composer-dock{width:min(768px,100% - 64px);margin:0;padding:0;position:absolute;top:42%;left:50%;transform:translate(-50%)}.composer-shell{box-shadow:none;background:var(--surface);border:0;border-radius:28px}.composer-shell:focus-within{box-shadow:none;border-color:#0000}#composer-form{grid-template-columns:40px minmax(0,1fr) auto;align-items:center;min-height:54px;padding:5px 8px;display:grid}#prompt{min-height:40px;max-height:210px;color:var(--text);grid-area:1/2;padding:10px 4px;font-size:16px;line-height:20px}#prompt::placeholder{color:var(--muted)}.composer-toolbar,.composer-tools{display:contents}.composer-tools .attachment-button{background:0 0;grid-area:1/1;width:36px;height:36px;padding:8px}.attachment-button .icon{width:23px;height:23px}.tool-divider{display:none}.composer-tools #web-search,.composer-tools #image-mode{grid-row:2;display:none}.composer-shell:focus-within #web-search,.composer-shell:focus-within #image-mode,.has-messages #web-search,.has-messages #image-mode{width:auto;min-height:28px;margin:4px 0;padding:5px 9px;font-size:12px;display:flex}.composer-tools #web-search{grid-column:1/3;justify-self:start;margin-left:4px}.composer-tools #image-mode{grid-column:3;justify-self:end}.composer-tools .tool-label{display:inline}.composer-send{grid-area:1/3;gap:8px}.effort-control{order:0;gap:2px;margin:0;padding:0}.effort-control>span:first-child{display:none}.effort-control select{max-width:110px;color:var(--muted);padding:5px 16px 5px 3px;font-size:13px}.effort-control>span:last-child{display:none}#dictate{width:27px;height:32px;color:var(--muted);order:1;padding:5px}#dictate.recording{color:var(--danger)}.send-button{background:var(--button);width:36px;height:36px;color:var(--button-text);border-radius:50%;order:2;padding:8px}.send-button:disabled{background:var(--button);color:var(--button-text);opacity:.9}.composer-note{color:var(--muted);text-align:center;margin:12px 0 0;font-size:11px}body:not(.has-messages) .composer-note{opacity:0}.image-options{grid-area:3/1/auto/-1;margin:6px 9px 4px}.image-options select{background:var(--surface-soft)}.connection-banner{z-index:2;background:var(--surface-soft);border-color:var(--border);width:min(650px,100% - 48px);margin:0;font-size:12px;position:absolute;top:65px;left:50%;transform:translate(-50%)}.has-messages .connection-banner{width:auto;margin:0 24px 10px;position:static;transform:none}.messages{max-width:820px;padding:28px 30px 15px}.message-content{font-size:16px;line-height:1.75}.user-bubble{background:var(--surface);border-radius:24px;font-size:16px}.has-messages .composer-dock{width:min(100%,832px);padding:14px 32px}.assistant-heading{font-size:13px}.portal-dot{display:none}.portal-kicker{color:var(--muted)}@media (max-width:1100px){.app{grid-template-columns:52px 260px minmax(0,1fr)}.sidebar{width:260px}body:not(.has-messages) .composer-dock{width:calc(100% - 48px)}.mode-switch button{min-width:90px}.welcome h1{font-size:24px}}@media (max-width:820px){.app,.sidebar-collapsed .app{grid-template-columns:minmax(0,1fr)}.app-rail{display:none}.sidebar{width:304px;padding-top:max(18px,env(safe-area-inset-top));border-radius:0}.sidebar-collapsed .sidebar{padding:18px 12px;transform:translate(-100%)}.sidebar-open .sidebar{transform:translate(0)}.mode-switch button{min-width:80px;padding:0 15px}.topbar{height:56px;min-height:56px}.topbar-left>#toggle-sidebar{display:flex}body:not(.has-messages) .welcome{padding:0 22px;top:31%}body:not(.has-messages) .welcome h1{font-size:24px}body:not(.has-messages) .composer-dock{width:calc(100% - 28px);top:41%}.composer-send{gap:2px}.effort-control select{max-width:90px;font-size:11px}#prompt{font-size:15px}#dictate{display:none}.has-messages .composer-dock{padding:12px 14px max(12px,env(safe-area-inset-bottom))}.connection-banner{width:calc(100% - 28px);font-size:11px}.composer-note{font-size:10px}.topbar-right>#quick-theme{width:24px}.messages{padding:20px}.message-content,.user-bubble{font-size:15px}}.settings-page{background:var(--bg);width:100vw;max-width:none;height:100dvh;max-height:none;box-shadow:none;border:0;border-radius:0;margin:0;padding:0;position:fixed;inset:0;overflow:hidden}.settings-page::backdrop{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none}.settings-layout{grid-template-columns:52px 304px minmax(0,1fr);height:100%;display:grid}.settings-rail{background:var(--bg);height:100%}.settings-sidebar{border-right:1px solid var(--border);background:var(--bg);flex-direction:column;min-width:0;display:flex;overflow:hidden}.settings-sidebar>h1{letter-spacing:0;margin:15px 16px 16px;font-size:18px;font-weight:600;line-height:24px}.settings-search{background:var(--surface);border-radius:24px;flex:none;align-items:center;gap:8px;min-height:36px;margin:0 8px 4px;padding:0 12px;display:flex}.settings-search>span{color:var(--muted);display:flex}.settings-search .icon{width:17px;height:17px}.settings-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:0;padding:9px 0;font-size:14px}.settings-search input::placeholder{color:var(--muted)}.settings-nav-scroll{scrollbar-width:thin;scrollbar-color:var(--border) transparent;flex:1;padding:0 7px;overflow:auto}.settings-nav-label{color:var(--muted);margin:11px 9px 12px;font-size:13px;font-weight:500}.settings-nav{flex-direction:column;gap:1px;display:flex}.settings-nav>button{text-align:left;min-height:36px;color:var(--text);white-space:nowrap;border-radius:8px;align-items:center;gap:8px;padding:8px 12px;font-size:14px;font-weight:400;display:flex}.settings-nav>button>span:first-child{display:flex}.settings-nav .icon{width:18px;height:18px}.settings-nav>button[aria-selected=true],.settings-nav>button:hover{background:var(--surface-hover)}.settings-main{scrollbar-width:thin;min-width:0;position:relative;overflow:auto}.settings-content{width:min(728px,100% - 64px);margin:32px auto 60px}.settings-close{z-index:2;color:var(--muted);width:30px;height:30px;position:fixed;top:17px;right:19px}.settings-close .icon{width:18px;height:18px}.settings-panel>h1{letter-spacing:0;margin:0 0 47px;font-size:24px;font-weight:600;line-height:30px}.settings-panel>h2{margin:0 0 18px;font-size:16px;font-weight:600;line-height:22px}.settings-card{border:1px solid var(--border);border-radius:18px;margin-bottom:16px;padding:0 16px}.settings-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:24px;min-height:63px;padding:12px 0;font-size:14px;display:flex}.settings-row:last-child{border-bottom:0}.settings-row strong,.settings-row>label{font-size:14px;font-weight:550}.settings-row>div:first-child{min-width:0}.settings-row p{color:var(--muted);max-width:470px;margin:5px 0 0;font-size:12px;line-height:1.45}.settings-row>span:not(.settings-pill){overflow-wrap:anywhere;text-align:right}.settings-pill{background:var(--surface-hover);border:1px solid var(--border);min-height:36px;color:var(--text);border-radius:22px;flex:none;justify-content:center;align-items:center;gap:8px;padding:7px 12px;font-size:14px;font-weight:400;line-height:20px;text-decoration:none;display:inline-flex}.settings-pill:hover{filter:brightness(1.1)}.settings-pill .icon{width:14px;height:14px}.settings-pill:disabled{opacity:.4;cursor:default}.settings-row select{cursor:pointer;max-width:210px}.settings-levels{flex:none;position:relative}.settings-levels summary{cursor:pointer;list-style:none}.settings-levels summary::-webkit-details-marker{display:none}.settings-levels>div{z-index:4;background:var(--surface);border:1px solid var(--border);min-width:190px;box-shadow:var(--dialog-shadow);border-radius:12px;padding:7px;position:absolute;top:calc(100% + 8px);right:0}.settings-levels label{cursor:pointer;border-radius:6px;align-items:center;gap:10px;padding:9px 10px;font-size:14px;display:flex}.settings-levels label:hover{background:var(--surface-hover)}.settings-levels input{accent-color:var(--text);width:16px;height:16px}.settings-theme-picker{gap:12px;margin:0;display:flex}.settings-theme-picker button{background:0 0;border:2px solid #0000;border-radius:10px;width:80px;height:60px;min-height:0;padding:3px}.settings-theme-picker button[aria-pressed=true]{background:0 0;border-color:#60a5fa}.theme-preview{background:#fff;border:1px solid #a0a0a030;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:100%;height:100%;display:flex;box-shadow:inset 17px 0 #e6e6e6}.theme-preview i{background:#b3b3b3;border-radius:2px;width:30px;height:3px;display:block}.theme-preview i:nth-child(2){background:#60a5fa;width:20px}.theme-preview-dark{background:#0d0d0d;box-shadow:inset 17px 0 #212121}.theme-preview-dark i{background:#676767}.theme-preview-system{background:linear-gradient(90deg,#fff 50%,#0d0d0d 50%);box-shadow:inset 17px 0 #b3b3b344}.settings-row-actions{align-items:center;gap:7px;display:flex}.settings-row-actions>.icon-button{width:30px;height:30px;color:var(--muted)}.settings-color{border:1px solid var(--border);cursor:pointer;border-radius:20px;align-items:center;gap:9px;padding:6px 10px;display:inline-flex;font-size:12px!important;font-weight:400!important}.settings-color input{-webkit-appearance:none;appearance:none;cursor:pointer;background:0 0;border:0;width:17px;height:17px;padding:0}.settings-color input::-webkit-color-swatch-wrapper{padding:0}.settings-color input::-webkit-color-swatch{border:1px solid var(--border);border-radius:50%}.settings-reset{color:var(--muted);margin-top:7px;font-size:13px}.settings-row>kbd{color:var(--muted);border:1px solid var(--border);white-space:nowrap;border-radius:6px;padding:5px 9px;font-size:12px}@media (max-width:1100px){.settings-layout{grid-template-columns:52px 260px minmax(0,1fr)}.settings-content{width:calc(100% - 48px)}}@media (max-width:820px){.settings-layout{flex-direction:column;display:flex}.settings-rail{display:none}.settings-sidebar{border-right:0;border-bottom:1px solid var(--border);flex:none}.settings-sidebar>h1{margin:18px 18px 15px}.settings-search{margin:0 16px 10px}.settings-nav-scroll{padding:0 10px 9px;overflow:auto}.settings-nav-label{display:none}.settings-nav{flex-direction:row;gap:3px}.settings-nav>button{min-height:35px;padding:8px 10px;font-size:13px}.settings-nav .icon{width:16px;height:16px}.settings-main{flex:1}.settings-content{width:calc(100% - 32px);margin:26px auto 40px}.settings-panel>h1{margin-bottom:30px;font-size:24px}.settings-close{top:14px;right:13px}.settings-row{gap:15px;min-height:65px;font-size:13px}.settings-row strong,.settings-row>label{font-size:13px}.settings-row p{font-size:11px}.settings-card{border-radius:15px;padding:0 12px}.settings-pill{min-height:32px;padding:6px 10px;font-size:12px}.settings-theme-picker{gap:5px}.settings-theme-picker button{width:60px;height:49px}.theme-preview{box-shadow:inset 12px 0 #e6e6e6}.theme-preview-dark{box-shadow:inset 12px 0 #212121}.settings-row-actions{gap:2px}.settings-row-actions .settings-pill{padding:5px 8px}.settings-color{gap:6px;font-size:11px!important}.settings-levels>div{min-width:175px}.settings-row select{max-width:150px}}.portal-page{background:var(--bg);height:100dvh;color:var(--text);flex-direction:column;display:flex;overflow:auto}.portal-header{border-bottom:1px solid var(--border);flex-shrink:0;align-items:center;gap:24px;padding:26px 5vw;display:flex}.portal-brand{color:var(--text);letter-spacing:-.8px;align-items:center;gap:9px;font-size:23px;font-weight:650;text-decoration:none;display:flex}.portal-dot{color:var(--accent)}.portal-section{color:var(--muted);border-left:1px solid var(--border);padding-left:24px;font-size:12px}.portal-back{color:var(--muted);margin-left:auto;font-size:13px;text-decoration:none}.portal-back:hover{color:var(--text)}.portal-footer{color:var(--muted);justify-content:space-between;gap:20px;margin-top:auto;padding:25px 5vw;font-size:11px;line-height:1.6;display:flex}.account-layout{grid-template-columns:1fr 440px;align-items:center;gap:85px;width:min(1100px,90%);margin:76px auto 65px;display:grid}.portal-kicker{letter-spacing:1.6px;color:var(--accent);font-size:10px;font-weight:650}.account-story h1{letter-spacing:-2.5px;margin:22px 0;font-size:clamp(34px,4vw,52px);font-weight:550;line-height:1.13}.account-story>p{color:var(--muted);max-width:430px;font-size:15px;line-height:1.8}.account-benefits{gap:23px;margin-top:38px;display:grid}.account-benefits>div{grid-template-columns:29px 1fr;column-gap:12px;display:grid}.account-benefits span{color:var(--accent);grid-row:span 2;padding-top:4px;font-size:10px}.account-benefits strong{font-size:13px;font-weight:600}.account-benefits p{color:var(--muted);margin:6px 0 0;font-size:12px;line-height:1.6}.account-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:24px;padding:36px}.account-card h2,.portal-empty h2{letter-spacing:-.8px;margin:16px 0;font-size:25px;font-weight:550;line-height:1.25}.portal-symbol{color:var(--accent);margin-bottom:22px;font-size:40px;line-height:1;display:inline-flex}.portal-description,.portal-empty p{color:var(--muted);overflow-wrap:anywhere;font-size:13px;line-height:1.75}.portal-form{flex-direction:column;gap:10px;margin-top:25px;display:flex}.portal-form label,.admin-field label{font-size:12px;font-weight:550}.portal-form input,.admin-field input{background:var(--bg);border:1px solid var(--border);color:var(--text);outline-offset:2px;border-radius:10px;width:100%;min-width:0;padding:13px 15px;font-size:14px}.portal-primary,.portal-secondary{text-align:center;border-radius:10px;justify-content:center;align-items:center;gap:16px;min-height:45px;padding:12px 18px;font-size:13px;font-weight:550;line-height:1.4;text-decoration:none;transition:background .15s;display:inline-flex}.portal-primary{background:var(--button);color:var(--button-text)}.portal-primary:hover{filter:brightness(1.1)}.portal-secondary{border:1px solid var(--border);color:var(--text);background:var(--surface)}.portal-secondary:hover{background:var(--surface-soft)}.portal-form .portal-primary{margin-top:9px}.portal-fineprint{color:var(--muted);margin:3px 0 12px;font-size:11px;line-height:1.7}.portal-fineprint a{color:var(--text)}.portal-alert{color:var(--danger);overflow-wrap:anywhere;background:#b4453910;border:1px solid #b4453925;border-radius:9px;padding:12px 14px;font-size:12px;line-height:1.65}.portal-success{color:var(--green);background:#4c795f10;border:1px solid #4c795f25;border-radius:9px;padding:12px 14px;font-size:12px;line-height:1.65}.portal-empty{padding:12px 0}.portal-empty .portal-primary,.portal-empty .portal-secondary{margin-top:15px}.profile-avatar{background:var(--accent-soft);width:54px;height:54px;color:var(--accent);border-radius:16px;justify-content:center;align-items:center;margin-bottom:27px;font-size:22px;display:flex}.profile-summary h2{overflow-wrap:anywhere}.profile-email{color:var(--muted);overflow-wrap:anywhere;font-size:12px}.profile-details{margin:26px 0}.profile-details>div{border-bottom:1px solid var(--border);justify-content:space-between;gap:10px;padding:13px 0;font-size:12px;display:flex}.profile-details dt{color:var(--muted)}.profile-details dd{text-align:right;margin:0}.profile-summary>.portal-primary{width:100%}.profile-links{justify-content:space-between;gap:15px;margin-top:20px;font-size:12px;display:flex}.profile-links a{color:var(--muted)}.admin-layout{width:min(1140px,90%);margin:45px auto 60px}.admin-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px;display:flex}.admin-heading h1{letter-spacing:-1.4px;margin:12px 0;font-size:34px;font-weight:550}.admin-heading p{color:var(--muted);margin:0;font-size:13px;line-height:1.7}.admin-controls{flex-wrap:wrap;gap:8px;display:flex}.admin-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0;display:grid}.admin-stat{border:1px solid var(--border);background:var(--surface);border-radius:15px;padding:22px}.admin-stat span{color:var(--muted);font-size:11px}.admin-stat strong{letter-spacing:-1px;margin-top:12px;font-size:30px;font-weight:550;display:block}.admin-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start;gap:18px;display:grid}.admin-panel{background:var(--surface);border:1px solid var(--border);border-radius:18px;min-width:0;padding:27px}.admin-panel h2{letter-spacing:-.4px;margin:0 0 9px;font-size:18px;font-weight:550}.admin-panel>p{color:var(--muted);margin:0 0 23px;font-size:12px;line-height:1.7}.admin-field{flex-direction:column;gap:8px;margin-top:18px;display:flex}.admin-field small{color:var(--muted);font-size:11px;line-height:1.6}.admin-status{color:var(--muted);align-items:center;gap:7px;font-size:12px;display:flex}.admin-status i{background:var(--accent);border-radius:50%;width:6px;height:6px}.admin-status.ready{color:var(--green)}.admin-status.ready i{background:var(--green)}.admin-inline{justify-content:space-between;align-items:center;gap:20px;margin-top:24px;font-size:12px;display:flex}.admin-inline input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent);flex:none}.admin-toggle-label strong{font-weight:550;display:block}.admin-toggle-label small{color:var(--muted);margin-top:6px;line-height:1.7;display:block}.admin-save{flex-wrap:wrap;align-items:center;gap:16px;margin-top:23px;display:flex}.admin-note{color:var(--muted);max-width:240px;font-size:11px;line-height:1.7}.admin-users{margin-top:22px}.admin-users-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px;display:flex}.admin-users-heading h2{margin:0}.admin-user-search{background:var(--bg);border:1px solid var(--border);border-radius:9px;width:230px;max-width:100%;padding:10px 13px;font-size:12px}.admin-table-wrap{overflow-x:auto}.admin-table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}.admin-table th{color:var(--muted);letter-spacing:.4px;border-bottom:1px solid var(--border);padding:13px 10px;font-size:10px;font-weight:500}.admin-table td{border-bottom:1px solid var(--border);vertical-align:middle;padding:17px 10px}.admin-table td:first-child{padding-left:0}.admin-table tr:last-child td{border-bottom:0}.admin-user-name{overflow-wrap:anywhere;font-weight:550;display:block}.admin-user-email{color:var(--muted);overflow-wrap:anywhere;margin-top:5px;font-size:11px;display:block}.admin-user-limit{align-items:center;gap:6px;display:flex}.admin-user-limit input{border:1px solid var(--border);background:var(--bg);border-radius:7px;width:76px;min-height:34px;padding:8px;font-size:12px}.admin-mini{border:1px solid var(--border);background:var(--surface);white-space:nowrap;border-radius:7px;padding:8px 10px;font-size:11px}.admin-mini:hover{background:var(--surface-soft)}.admin-danger{color:var(--danger)}.admin-badge{color:var(--green);white-space:nowrap;background:#4c795f10;border-radius:6px;padding:5px 8px;font-size:10px;display:inline-flex}.admin-badge.blocked{color:var(--danger);background:#b4453910}.admin-lock-layout{width:90%;max-width:440px;margin:65px auto}.admin-lock-layout .account-card{width:100%}.admin-lock-layout .portal-kicker{margin-top:4px}.admin-lock-layout h1{letter-spacing:-1px;margin:18px 0 12px;font-size:29px;font-weight:550}.admin-users-empty{color:var(--muted);text-align:center;padding:25px 0;font-size:13px}@media (max-width:1000px){.account-layout{grid-template-columns:1fr 390px;gap:40px}.account-card{padding:28px}.admin-panel{padding:22px}.admin-stat{padding:18px}.admin-stat strong{font-size:26px}}@media (max-width:760px){.portal-header{gap:14px;padding:20px 5vw}.portal-section{display:none}.portal-brand{font-size:21px}.portal-brand img{width:28px;height:28px}.portal-footer{padding-bottom:max(22px,env(safe-area-inset-bottom));flex-direction:column;gap:3px;font-size:10px}.account-layout{flex-direction:column;align-items:stretch;gap:32px;width:90%;margin:35px auto;display:flex}.account-story h1{letter-spacing:-1.7px;margin:17px 0;font-size:37px}.account-story h1 br{display:none}.account-story>p{max-width:100%;font-size:13px}.account-benefits{display:none}.account-card{padding:28px}.admin-layout{margin:30px auto 40px}.admin-heading{flex-direction:column;gap:15px}.admin-heading h1{font-size:29px}.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-stat{padding:17px}.admin-stat strong{font-size:27px}.admin-grid{grid-template-columns:1fr}.admin-table thead{display:none}.admin-table,.admin-table tbody,.admin-table tr,.admin-table td{width:100%;display:block}.admin-table tr{border-bottom:1px solid var(--border);padding:17px 0}.admin-table tr:last-child{border-bottom:0}.admin-table td{border:0;padding:7px 0}.admin-table td[data-label]{justify-content:space-between;align-items:center;gap:15px;display:flex}.admin-table td[data-label]:before{content:attr(data-label);color:var(--muted);font-size:11px}.admin-table td:last-child{text-align:right}.admin-panel{padding:22px}.admin-users-heading{flex-direction:column;align-items:stretch}.admin-user-search{width:100%}.admin-lock-layout{margin:35px auto}.admin-controls{width:100%}.admin-controls .portal-secondary{flex:1}.portal-alert,.portal-success{font-size:12px}}
