@charset "UTF-8";
:root{color-scheme:dark;--bg:#080e1b;--sidebar:#0b1120;--panel:#101a2b;--panel-hover:#152238;--panel-soft:#0c1525;--line:#1e2b41;--text:#eef5ff;--muted:#8b9ab2;--soft:#596c87;--cyan:#6de9f8;--cyan-bright:#42d9ef;--cyan-dark:#133747;--danger:#f7a2ab;--green:#7cdfb6;--radius:22px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;font-size:14px;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}body{overflow:hidden}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}button{border:0}a{color:var(--cyan);text-underline-offset:3px}svg{display:block}[hidden]{display:none!important}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.skip-link{position:fixed;left:20px;top:-80px;z-index:1000;background:var(--cyan);color:var(--bg);padding:12px 20px;border-radius:12px}.skip-link:focus{top:20px}.app-shell{display:grid;grid-template-columns:258px minmax(0,1fr);height:100dvh;min-height:500px}.sidebar{background:var(--sidebar);border-right:1px solid #172238;padding:30px 18px 16px;display:flex;flex-direction:column;min-width:0}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:var(--text);padding:0 9px;margin-bottom:33px;font-size:22px;font-weight:750;letter-spacing:1.5px}.brand img{border-radius:11px;filter:drop-shadow(0 0 9px #48dafa18)}.brand-caption{display:block;font-size:7px;letter-spacing:1.8px;color:var(--muted);font-weight:600;margin-top:5px;white-space:nowrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--panel);border:1px solid var(--line);border-radius:11px;padding:11px 15px;font-weight:550;font-size:12px;transition:background .16s,border-color .16s,transform .16s}.button:hover{background:var(--panel-hover);border-color:#344b68}.button:active{transform:translateY(1px)}.button-primary,.primary{background:var(--cyan);color:#05212c;border-color:transparent}.button-primary:hover,.primary:hover{background:#a0f4ff;border-color:transparent}.button-danger,.danger{color:var(--danger);background:#321d2a;border-color:#563243}.button-small{padding:7px 11px;font-size:11px}.button-small .icon{width:15px;height:15px}.new-chat{width:100%;justify-content:flex-start;padding:13px 12px;background:linear-gradient(110deg,#132839,#132135);border-color:#244358;font-weight:600;font-size:12px}.new-chat .icon{color:var(--cyan);width:18px;height:18px}.keyboard-hint{margin-left:auto;color:#6b829d;font-size:18px}.main-nav{display:flex;flex-direction:column;gap:6px;margin-top:22px}.nav-button{display:flex;align-items:center;gap:12px;padding:13px 13px;text-align:left;color:#93a2b9;background:transparent;border-radius:10px;font-size:12px;transition:background .15s,color .15s}.nav-button .icon{width:18px;height:18px}.nav-button:hover{background:#111e30;color:var(--text)}.nav-button.active{background:#122536;color:#baf6ff}.nav-dot{display:none;width:5px;height:5px;border-radius:50%;background:var(--cyan);margin-left:auto;box-shadow:0 0 9px #60eafd65}.nav-button.active .nav-dot{display:block}.sidebar-divider{height:1px;background:#1a263b;margin:22px 10px}.sidebar-section-title{font-size:9px;letter-spacing:1.5px;font-weight:650;color:#64758f;margin:0 12px 12px}.chat-list{flex:1;overflow-y:auto;min-height:50px}.empty-history{font-size:11px;line-height:1.8;color:#60718b;margin:0 12px;max-width:165px}.chat-list button,.chat-history-item{display:block;width:100%;background:transparent;text-align:left;border-radius:9px;padding:10px 12px;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-list button:hover,.chat-history-item:hover,.chat-list button.active{background:var(--panel);color:var(--text)}.sidebar-bottom{margin-top:22px}.local-card{display:flex;align-items:center;gap:10px;border:1px solid #1b2c3e;background:linear-gradient(135deg,#10202b99,#101829);border-radius:13px;padding:13px 11px;margin-bottom:15px}.local-card-icon{padding:6px;border-radius:8px;background:#13313a;color:#70cacc}.local-card-icon .icon{width:16px;height:16px}.local-card strong{font-weight:550;font-size:10px;color:#bdd1df}.local-card p{font-size:9px;color:#647c91;margin:5px 0 0;white-space:nowrap}.profile-button{display:flex;align-items:center;gap:10px;width:100%;padding:11px 7px 1px;background:transparent;text-align:left;border-top:1px solid #1b263b}.profile-avatar{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#253046;color:#c2cfe1;font-size:10px;font-weight:650}.profile-button strong{display:block;font-size:11px;font-weight:550}.profile-button small{display:block;color:#5f718a;font-size:9px;margin-top:4px}.profile-button>.icon{margin-left:auto;width:16px;color:#7b8ca6}.main-content{min-width:0;display:flex;flex-direction:column;position:relative;background:radial-gradient(ellipse at 50% 25%,#10303c1f,transparent 50%),var(--bg);overflow:hidden}.topbar{height:77px;flex-shrink:0;border-bottom:1px solid #162136;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 38px}.topbar-title{display:flex;align-items:center;gap:13px;min-width:0}.desktop-title{font-size:12px;color:#c2cedf;font-weight:500}.edition-badge{font-size:8px;letter-spacing:1.1px;font-weight:600;border:1px solid #273148;color:#7c8ca4;border-radius:5px;padding:4px 6px}.topbar-actions{display:flex;align-items:center;gap:13px}.status-pill{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#8c9eb3;white-space:nowrap}.status-dot{height:5px;width:5px;background:#7f8a9b;border-radius:50%;flex-shrink:0}.status-pill.online .status-dot,.status-pill[data-state=online] .status-dot{background:var(--green);box-shadow:0 0 7px #7cdfb633}.status-pill.offline .status-dot,.status-pill[data-state=offline] .status-dot{background:#e0b56a}.engine-bar{min-height:42px;display:flex;align-items:center;justify-content:center;gap:9px;padding:8px 28px;border-bottom:1px solid #17213755;color:#6f839d;font-size:10px;flex-wrap:wrap}.engine-symbol .icon{width:14px;height:14px;color:#6e8eaa}.engine-bar .text-button{font-size:10px;margin-left:5px}.text-button{display:inline-flex;align-items:center;gap:6px;background:none;padding:0;color:#93d7df;font-size:11px;text-decoration:none}.text-button:hover{color:#d0fcff}.text-button .icon{width:14px;height:14px}.model-progress-label{font-size:10px;max-width:500px;overflow-wrap:anywhere}progress{width:130px;height:4px;accent-color:var(--cyan);border-radius:8px;overflow:hidden}progress::-webkit-progress-bar{background:#253144}progress::-webkit-progress-value{background:var(--cyan)}.compatibility-notice{padding:10px 22px;font-size:11px;line-height:1.5;color:#e1c290;background:#33271955;border-bottom:1px solid #78623644;text-align:center}.chat-view{display:flex;flex-direction:column;flex:1;min-height:0}.conversation-scroll{flex:1;min-height:0;overflow:auto;scroll-behavior:smooth;overscroll-behavior:contain;padding:0 32px}.welcome{max-width:790px;margin:auto;text-align:center;padding:12px 0 30px;min-height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.orb-stage{width:280px;height:223px;margin:-9px 0 6px;position:relative}.orb{height:100%;width:100%;position:relative;--orb-hue:0deg}.orb-art{width:100%;height:100%;filter:hue-rotate(var(--orb-hue));transition:filter .7s}.orb-character{transform-origin:200px 160px;animation:orb-bob 5.4s ease-in-out infinite}.orb-shadow{transform-origin:200px 287px;animation:shadow-breathe 5.4s ease-in-out infinite}.hoop{transform-origin:200px 159px;animation:hoop-drift 7s ease-in-out infinite}.hoop-front{animation-duration:7s}.hoop-glint{animation:glint 3.8s ease-in-out infinite}.eye{transform-box:fill-box;transform-origin:center;animation:blink 5.9s infinite}.eye-right{animation-delay:.05s}.happy-eye,.orb-blush{opacity:0}.orb-face{transition:transform .3s}.orb[data-state=listening]{--orb-hue:-16deg}.orb[data-state=listening] .orb-face{transform:translate(3px,-2px)}.orb[data-state=listening] .orb-character{animation-duration:3s}.orb[data-state=thinking]{--orb-hue:47deg}.orb[data-state=thinking] .hoop{animation-duration:2.2s}.orb[data-state=thinking] .orb-face{transform:translate(4px,-5px)}.orb[data-state=speaking] .orb-character{animation:orb-speak .65s ease-in-out infinite}.orb[data-state=speaking] .hoop{animation-duration:1.6s}.orb[data-state=speaking] .voice-bars,.orb[data-state=listening] .voice-bars{opacity:1}.voice-bars{position:absolute;bottom:2%;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;height:15px;opacity:0;transition:opacity .2s}.voice-bars i{width:3px;height:5px;border-radius:4px;background:var(--cyan);animation:voice-level .7s ease-in-out infinite alternate}.voice-bars i:nth-child(2){animation-delay:.2s}.voice-bars i:nth-child(3){animation-delay:.4s}.voice-bars i:nth-child(4){animation-delay:.1s}.voice-bars i:nth-child(5){animation-delay:.3s}.voice-bars i:nth-child(6){animation-delay:.5s}.voice-bars i:nth-child(7){animation-delay:.15s}.orb[data-emotion=happy],.orb[data-emotion=listening]{--orb-hue:-25deg}.orb[data-emotion=joyful],.orb[data-emotion=proud]{--orb-hue:-140deg}.orb[data-emotion=sad],.orb[data-emotion=concerned]{--orb-hue:30deg}.orb[data-emotion=embarrassed],.orb[data-emotion=affectionate]{--orb-hue:140deg}.orb[data-emotion=surprised]{--orb-hue:-130deg}.orb[data-emotion=excited]{--orb-hue:-160deg}.orb[data-emotion=thoughtful],.orb[data-emotion=thinking]{--orb-hue:65deg}.orb[data-emotion=confused]{--orb-hue:83deg}.orb[data-emotion=frustrated]{--orb-hue:173deg}.orb[data-emotion=sleepy]{--orb-hue:48deg}.orb[data-emotion=playful]{--orb-hue:109deg}.orb[data-emotion=happy] .eye ellipse,.orb[data-emotion=joyful] .eye ellipse,.orb[data-emotion=proud] .eye ellipse,.orb[data-emotion=affectionate] .eye ellipse{opacity:0}.orb[data-emotion=happy] .happy-eye,.orb[data-emotion=joyful] .happy-eye,.orb[data-emotion=proud] .happy-eye,.orb[data-emotion=affectionate] .happy-eye{opacity:1}.orb[data-emotion=embarrassed] .orb-blush,.orb[data-emotion=affectionate] .orb-blush{opacity:.65}.orb[data-emotion=embarrassed] .orb-face{transform:translate(-4px,5px)}.orb[data-emotion=sad] .orb-face,.orb[data-emotion=concerned] .orb-face{transform:translateY(6px)}.orb[data-emotion=sleepy] .eye,.orb[data-emotion=frustrated] .eye{animation:none;transform:scaleY(.35)}.orb[data-emotion=confused] .eye-right{animation:none;transform:scaleY(.55)}.orb[data-emotion=playful] .eye-right{animation:wink 3.5s infinite}.orb[data-emotion=excited] .orb-character,.orb[data-emotion=joyful] .orb-character{animation-duration:1.5s}.orb[data-emotion=surprised] .eye{animation:none;transform:scale(1.25)}.orb[data-emotion=curious] .eye-right{animation:none;transform:scaleY(1.2)}.welcome-eyebrow{display:flex;align-items:center;gap:7px;color:#6fa7b7;font-size:8px;font-weight:600;letter-spacing:2px;margin:0 0 17px}.welcome-eyebrow>span{width:4px;height:4px;border-radius:50%;background:#6ce0e8;box-shadow:0 0 6px #6ce0e844}.welcome h1{font-size:clamp(25px,2.65vw,38px);font-weight:550;letter-spacing:-1.4px;line-height:1.2;margin:0 0 16px;color:#e9f2ff}.welcome h1 span{color:#80dae7}.welcome-description{font-size:12px;color:#8193ac;line-height:1.9;margin:0}.suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;width:100%;margin-top:30px;max-width:684px}.suggestion{display:flex;align-items:center;gap:11px;min-width:0;border:1px solid #1b2c40;background:linear-gradient(140deg,#12213199,#0f192999);border-radius:13px;padding:16px 13px;text-align:left;transition:background .2s,transform .2s,border-color .2s}.suggestion:hover{background:#16283a;border-color:#325a69;transform:translateY(-2px)}.suggestion>.icon{color:#73b7c7;width:18px;height:18px}.suggestion>span{font-size:11px;font-weight:550;white-space:nowrap}.suggestion small{display:block;font-size:9px;font-weight:400;color:#6c819b;margin-top:6px}.suggestion .suggestion-arrow{color:#526d85;margin-left:auto;font-size:15px;align-self:flex-start;line-height:1}.messages{max-width:790px;margin:0 auto;padding:24px 0 14px;display:flex;flex-direction:column;gap:25px}.messages:empty{display:none}.message{font-size:13px;line-height:1.8;overflow-wrap:anywhere;min-width:0}.message-user,.message.user,.user-message{align-self:flex-end;max-width:88%;background:#172b3f;border:1px solid #244158;border-radius:20px 20px 6px 20px;padding:13px 18px}.message-assistant,.message.assistant,.assistant-message{align-self:flex-start;width:100%;max-width:100%;padding:3px 0;color:#d2deee}.message-role,.message-label,.message-header{font-size:10px;letter-spacing:.4px;font-weight:600;color:#79cedb;margin-bottom:7px;display:flex;align-items:center;gap:8px}.message-body{white-space:pre-wrap}.message p{margin:0 0 12px}.message p:last-child{margin-bottom:0}.message ul,.message ol{padding-left:23px}.message li{margin:4px 0}.message a{color:#8bdce6;word-break:break-word}.message pre,.code-block{white-space:pre;overflow:auto;background:#0a1424;border:1px solid #23334c;border-radius:13px;padding:17px;margin:13px 0;font-size:12px;line-height:1.7}.message code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,monospace;font-size:.9em;color:#ace5ed;background:#172536;padding:2px 5px;border-radius:4px}.message pre code{background:transparent;padding:0;color:#cadbea;font-size:inherit}.message blockquote{border-left:2px solid #3a7b8b;padding-left:15px;color:var(--muted);margin-left:0}.message table{border-collapse:collapse;width:100%;font-size:12px;margin:15px 0}.message th,.message td{border:1px solid var(--line);padding:8px 10px;text-align:left}.message th{background:var(--panel)}.message-actions{display:flex;gap:12px;margin-top:11px;flex-wrap:wrap}.message-actions button{background:none;color:var(--muted);font-size:10px;padding:3px}.message-actions button:hover{color:var(--cyan)}.sources,.source-list,.source-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.source-chip,.sources a,.source-list a,.source-chips a{background:#102632;border:1px solid #24404e;border-radius:7px;padding:4px 8px;font-size:10px;color:#a8d8df;text-decoration:none;max-width:100%;overflow:hidden;text-overflow:ellipsis}.source-chip:hover,.sources a:hover{background:#183747}.thinking-indicator{display:flex;gap:4px;padding:10px 0}.thinking-indicator span{width:5px;height:5px;border-radius:50%;background:var(--cyan);animation:glint 1.1s infinite}.thinking-indicator span:nth-child(2){animation-delay:.2s}.thinking-indicator span:nth-child(3){animation-delay:.4s}.composer-area{padding:7px 36px max(16px,env(safe-area-inset-bottom));width:100%;max-width:900px;margin:0 auto;flex-shrink:0;background:linear-gradient(transparent,var(--bg) 20%)}.composer{background:#111d2f;border:1px solid #2a3c54;border-radius:23px;padding:17px 15px 12px;box-shadow:0 10px 35px #00000016;transition:border-color .2s,box-shadow .2s}.composer:focus-within{border-color:#467180;box-shadow:0 0 0 3px #62d1e508,0 10px 35px #00000016}.composer textarea{resize:none;display:block;background:transparent;width:100%;min-height:47px;max-height:160px;padding:0 5px;margin:0;outline:none;border:0;color:var(--text);line-height:1.6;font-size:12px;border-radius:8px;overflow-y:auto}.composer textarea::placeholder{color:#7889a4}.composer textarea:focus-visible{outline:none}.composer-toolbar,.composer-left,.composer-right{display:flex;align-items:center;gap:8px}.composer-toolbar{justify-content:space-between}.composer-left{gap:10px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;background:transparent;color:#8e9fb7;transition:background .15s,color .15s;flex-shrink:0}.icon-button:hover{background:#26364b;color:#d3eff6}.icon-button .icon{width:18px;height:18px}.composer-divider{height:14px;width:1px;background:#2a384b}.voice-button{background:none;color:#9aabc1;font-size:10px;display:inline-flex;align-items:center;gap:7px;padding:6px 2px;border-radius:6px}.voice-button .icon{color:#8dc9d8;width:16px;height:16px}.voice-button[aria-pressed=true],.mic-button[aria-pressed=true]{background:#164353;color:var(--cyan)}.mic-button[aria-pressed=true]{animation:mic-pulse 1.2s infinite}.send-button{height:32px;width:32px;border-radius:10px;background:var(--cyan);color:#072836;display:grid;place-items:center;transition:background .2s}.send-button:hover{background:#baf8ff}.send-button .icon{width:18px;height:18px;stroke-width:2}.stop-button{background:#293b55;color:var(--text)}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 6px 0;color:#566c89;font-size:9px}.voice-options{display:flex;align-items:center;gap:14px}.speak-toggle{display:flex;gap:6px;align-items:center;color:#8497af;font-size:9px;cursor:pointer}.speak-toggle input{accent-color:var(--cyan);margin:0;width:12px;height:12px}.voice-options .text-button{font-size:9px;gap:5px;color:#8fb6c8}.voice-options .icon{width:12px;height:12px}.accuracy-note{text-align:center;font-size:8px;letter-spacing:.05px;color:#435974;margin:11px 0 0}.attachment-list{display:flex;flex-wrap:wrap;gap:7px;padding:0 8px 8px}.attachment-list:empty{padding:0}.attachment,.attachment-chip{display:flex;align-items:center;gap:8px;font-size:10px;padding:6px 9px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.attachment button,.attachment-chip button{background:none;color:var(--muted);padding:2px}.workspace-view{overflow:auto;flex:1;padding:38px 48px 60px;max-width:1200px;width:100%;margin:auto}.page-heading{margin-bottom:27px}.eyebrow{font-size:9px;color:#65a8bb;letter-spacing:1.7px;font-weight:650;margin:0 0 13px}.page-heading h1{margin:0 0 12px;font-size:29px;letter-spacing:-.8px;font-weight:550}.page-heading>p:last-child{font-size:12px;line-height:1.8;color:var(--muted);max-width:720px}.view-panel{display:grid;gap:18px}.card{background:var(--panel-soft);border:1px solid var(--line);border-radius:17px;padding:23px}.card h2,.card h3{font-size:16px;font-weight:550;margin:0 0 12px}.card h3{font-size:13px}.card p{font-size:12px;color:var(--muted);line-height:1.8}.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.toolbar,.button-row,.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:14px}.field{display:flex;flex-direction:column;gap:8px;margin:0 0 19px}.field>span,.field>label,.field-label{font-size:11px;font-weight:600;color:#c3d0e2}.field input,.field select,.field textarea,.settings-content input:not([type=checkbox]):not([type=range]),.settings-content select,.settings-content textarea,.view-panel input:not([type=checkbox]):not([type=range]),.view-panel select,.view-panel textarea{width:100%;border:1px solid #2b3a52;border-radius:9px;background:#0b1424;color:var(--text);padding:10px 11px;font-size:12px;line-height:1.5}.field textarea,.view-panel textarea{min-height:90px;resize:vertical}.field small,.help-text,.hint{font-size:10px;line-height:1.7;color:#7287a2}.field input[type=range],.settings-content input[type=range]{padding:0;accent-color:var(--cyan)}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #1c2a40;font-size:12px;line-height:1.6}.toggle-row small{display:block;font-size:10px;color:var(--muted);line-height:1.7;margin-top:3px}.toggle-row input[type=checkbox]{width:16px;height:16px;accent-color:var(--cyan);flex-shrink:0}.note,.notice,.info-box{border:1px solid #244353;background:#122a3677;padding:12px 14px;border-radius:11px;font-size:11px;line-height:1.8;color:#a3c3d0}.warning{border-color:#665038;background:#392c1c66;color:#e7c595}.error{border-color:#6d384b;background:#371e2a66;color:var(--danger)}.empty-state{color:var(--muted);text-align:center;padding:35px 20px;font-size:12px;line-height:1.8}.badge{display:inline-block;font-size:9px;padding:4px 7px;border:1px solid var(--line);border-radius:6px;color:var(--muted)}.list-row{padding:15px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.7;overflow-wrap:anywhere}.list-row:last-child{border-bottom:0}.list-row h3{font-size:12px;margin-bottom:7px}.settings-dialog{padding:0;max-width:850px;width:calc(100% - 40px);max-height:85dvh;min-height:460px;border:1px solid #32435d;border-radius:23px;background:#0e1728;color:var(--text);box-shadow:0 30px 100px #0008;overflow:hidden}.settings-dialog::backdrop{background:#020714ba;backdrop-filter:blur(6px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;padding:25px 27px 22px;border-bottom:1px solid var(--line)}.dialog-header .eyebrow{margin-bottom:9px;font-size:8px}.dialog-header h2{font-weight:550;font-size:22px;letter-spacing:-.5px;margin:0}.settings-layout{display:grid;grid-template-columns:180px minmax(0,1fr);min-height:360px;max-height:calc(85dvh - 99px)}.settings-tabs{padding:19px 13px;display:flex;flex-direction:column;gap:6px;border-right:1px solid var(--line);background:#0c1524}.settings-tab{text-align:left;padding:12px 13px;background:none;font-size:11px;color:var(--muted);border-radius:8px}.settings-tab.active,.settings-tab[aria-selected=true]{background:#183040;color:#b7edf4}.settings-tab:hover{color:var(--text)}.settings-content{padding:26px 29px;overflow:auto;min-height:0}.settings-content h3{font-size:15px;font-weight:550;margin:0 0 8px}.settings-content h4{font-size:12px;margin:22px 0 10px}.settings-content p{color:var(--muted);font-size:11px;line-height:1.8}.settings-content>p:first-child{margin-top:0;margin-bottom:22px}.settings-content hr{border:0;border-top:1px solid var(--line);margin:23px 0}.settings-content .button-row{margin-top:24px}.toast{position:fixed;left:calc(50% + 129px);bottom:28px;transform:translateX(-50%);max-width:min(600px,calc(100% - 32px));background:#1a3144;border:1px solid #3b6377;color:#dbf2f6;box-shadow:0 12px 40px #0007;border-radius:12px;padding:13px 18px;font-size:12px;line-height:1.6;z-index:200;overflow-wrap:anywhere}.noscript-notice{position:fixed;inset:0;z-index:9999;background:var(--bg);display:grid;place-items:center;padding:30px;text-align:center}.mobile-menu,.mobile-brand,.sidebar-backdrop{display:none}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:#293b50;border-radius:8px}::-webkit-scrollbar-track{background:transparent}::selection{background:#38778588;color:white}
@keyframes orb-bob{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-8px) rotate(1deg)}}@keyframes shadow-breathe{0%,100%{transform:scaleX(1);opacity:.12}50%{transform:scaleX(.82);opacity:.08}}@keyframes hoop-drift{0%,100%{transform:rotate(-3deg) translateY(1px)}50%{transform:rotate(5deg) translateY(-3px)}}@keyframes blink{0%,43%,47%,100%{transform:scaleY(1)}45%{transform:scaleY(.07)}}@keyframes wink{0%,60%,70%,100%{transform:scaleY(1)}63%,67%{transform:scaleY(.08)}}@keyframes glint{0%,100%{opacity:.45}50%{opacity:1}}@keyframes orb-speak{0%,100%{transform:translateY(-3px) scale(1.012,.99)}50%{transform:translateY(-7px) scale(.988,1.018)}}@keyframes voice-level{from{height:4px;opacity:.45}to{height:14px;opacity:1}}@keyframes mic-pulse{50%{box-shadow:0 0 0 5px #6de9f818}}
.muted{color:var(--muted)}.small{font-size:11px;line-height:1.7}.source-link{display:inline-block;background:#102632;border:1px solid #24404e;border-radius:7px;padding:4px 8px;font-size:10px;color:#a8d8df;text-decoration:none;max-width:100%;overflow:hidden;text-overflow:ellipsis}.live-orb-dock{display:flex;align-items:center;justify-content:center;gap:1px;height:59px;margin-top:-5px;margin-bottom:2px}.live-orb-dock .orb{width:94px;height:75px;order:-1;flex-shrink:0}.live-orb-dock .voice-bars{height:9px;bottom:7%;gap:2px}.live-orb-dock .voice-bars i{width:2px;max-height:8px}.live-orb-caption{display:flex;flex-direction:column;gap:5px;text-align:left;min-width:110px}.live-orb-caption strong{font-size:10px;color:#b5dbe8;letter-spacing:1px;font-weight:550}.live-orb-caption span{font-size:9px;color:#6b91a7}.settings-content .permission-table{width:100%;border-collapse:collapse;font-size:11px}.permission-table td,.permission-table th{text-align:left;padding:10px 6px;border-bottom:1px solid var(--line)}.permission-table th{font-weight:500;color:var(--muted)}.permission-table select{min-width:90px}.settings-content .danger-zone{margin-top:25px;border-top:1px solid #5e354055;padding-top:18px}
@media(min-height:920px) and (min-width:1000px){.orb-stage{width:325px;height:260px;margin-bottom:10px}.suggestions{margin-top:35px}.welcome h1{font-size:39px}.welcome-description{font-size:13px}.composer{padding-top:20px}.composer textarea{min-height:59px}}
@media(max-width:1150px){.app-shell{grid-template-columns:225px minmax(0,1fr)}.sidebar{padding-left:13px;padding-right:13px}.brand{gap:8px;padding-left:5px}.brand-caption{font-size:6px;letter-spacing:1.6px}.topbar{padding:0 25px}.composer-area{padding-left:26px;padding-right:26px}.suggestions{gap:8px}.suggestion{padding:14px 10px;gap:9px}.suggestion-arrow{display:none}.toast{left:calc(50% + 112px)}}
@media(max-width:900px){.app-shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding-top:24px}.brand{font-size:19px}.brand img{width:34px;height:34px}.brand-caption{letter-spacing:1px;font-size:6px}.local-card{padding:10px 8px;gap:7px}.local-card-icon{display:none}.topbar{height:67px;padding:0 20px}.edition-badge{display:none}.welcome h1{font-size:27px;letter-spacing:-.8px}.orb-stage{width:245px;height:196px}.welcome-description{font-size:11px}.suggestions{max-width:440px;grid-template-columns:1fr;gap:8px;margin-top:23px}.suggestion{padding:11px 14px;gap:12px}.suggestion>span{font-size:11px}.suggestion small{display:inline;margin-left:10px;font-size:10px}.suggestion-arrow{display:block!important}.welcome{padding-top:8px;padding-bottom:25px}.composer-footer{align-items:flex-start;flex-wrap:wrap;font-size:8px}.voice-options{margin-left:auto}.conversation-scroll{padding:0 23px}.workspace-view{padding:30px 25px}.card-grid{grid-template-columns:1fr}.toast{left:calc(50% + 100px)}}
@media(max-width:700px){.app-shell{display:block;min-height:0}.main-content{height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:50;width:260px;transform:translateX(-101%);transition:transform .2s ease;padding-top:max(25px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom));box-shadow:20px 0 80px #0005}.sidebar.open,body.sidebar-open .sidebar{transform:translateX(0)}.sidebar-backdrop{position:fixed;inset:0;z-index:45;background:#020613aa;backdrop-filter:blur(3px)}body.sidebar-open .sidebar-backdrop,.sidebar.open+.sidebar-backdrop{display:block}.brand{font-size:23px;gap:11px}.brand img{width:40px;height:40px}.brand-caption{font-size:7px;letter-spacing:1.7px}.local-card-icon{display:block}.mobile-menu,.mobile-brand{display:inline-flex}.desktop-title{display:none}.mobile-brand{font-size:16px;letter-spacing:1px;font-weight:650}.topbar{height:calc(59px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;gap:8px}.topbar-title{gap:8px}.topbar-actions{gap:7px}.status-pill{font-size:9px}.topbar .button-small{font-size:9px;padding:6px 8px;gap:5px}.topbar .button-small .icon{width:13px}.engine-bar{font-size:9px;min-height:37px;padding:7px 15px;gap:6px}.engine-bar .text-button{font-size:9px}.engine-symbol .icon{width:12px}.model-progress-label{font-size:9px}.compatibility-notice{font-size:10px;padding:8px 14px}.conversation-scroll{padding:0 20px}.welcome{padding-top:3px;padding-bottom:23px}.orb-stage{width:250px;height:200px;margin-top:0;margin-bottom:0}.welcome-eyebrow{font-size:7px;letter-spacing:1.8px;margin-bottom:13px}.welcome h1{font-size:27px;line-height:1.25;max-width:330px;letter-spacing:-.9px;margin-bottom:12px}.welcome h1 span{display:block}.welcome-description{font-size:11px;line-height:1.8}.suggestions{max-width:400px;margin-top:22px;gap:8px}.suggestion{padding:12px 14px;border-radius:12px}.suggestion>.icon{width:17px;height:17px}.suggestion small{font-size:9px}.composer-area{padding:5px 13px max(13px,env(safe-area-inset-bottom))}.composer{border-radius:21px;padding:14px 12px 10px}.composer textarea{font-size:16px;min-height:45px;max-height:120px}.composer-toolbar{margin-top:3px}.voice-button{font-size:10px}.icon-button{width:34px;height:34px}.send-button{height:35px;width:35px;border-radius:11px}.composer-footer{padding:10px 5px 0;gap:8px}.composer-footer>#composerHint{display:none}.voice-options{width:100%;justify-content:space-between;margin-left:0}.speak-toggle,.voice-options .text-button{font-size:9px}.accuracy-note{font-size:7px;margin-top:10px}.messages{padding-top:25px;gap:22px}.message{font-size:13px}.message-user,.message.user,.user-message{max-width:92%}.toast{left:50%;bottom:20px;font-size:11px}.settings-dialog{width:calc(100% - 20px);border-radius:20px;max-height:91dvh;min-height:0}.dialog-header{padding:20px 19px 18px}.dialog-header h2{font-size:21px}.settings-layout{display:flex;flex-direction:column;max-height:calc(91dvh - 93px);min-height:0}.settings-tabs{flex-direction:row;gap:3px;padding:10px 12px;overflow:auto;flex-shrink:0;border-right:0;border-bottom:1px solid var(--line)}.settings-tab{white-space:nowrap;font-size:10px;padding:10px}.settings-content{padding:23px 20px;max-height:65dvh}.settings-content input:not([type=checkbox]):not([type=range]),.settings-content textarea,.settings-content select,.view-panel input:not([type=checkbox]):not([type=range]),.view-panel textarea,.view-panel select{font-size:16px}.workspace-view{padding:29px 20px 40px}.page-heading h1{font-size:27px}.card{padding:19px}.view-panel .button{font-size:11px}.local-card p{font-size:10px}.chat-list button{font-size:12px}}
@media(max-height:750px) and (min-width:701px){.orb-stage{width:220px;height:176px;margin-bottom:0}.welcome h1{font-size:29px}.welcome-eyebrow{margin-bottom:11px}.welcome-description{font-size:11px}.suggestions{margin-top:20px}.welcome{padding-top:10px;padding-bottom:23px}.composer-area{padding-bottom:12px}.accuracy-note{margin-top:8px}}
@media(max-height:720px) and (max-width:700px){.orb-stage{width:170px;height:136px}.welcome{padding-top:12px}.welcome-eyebrow{margin-bottom:10px;font-size:6px}.welcome h1{font-size:24px}.welcome-description{font-size:10px}.suggestions{margin-top:16px;gap:6px}.suggestion{padding:10px 13px}.composer textarea{min-height:36px}.welcome h1 span{display:inline}.accuracy-note{margin-top:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.voice-bars{display:none}.suggestion:hover{transform:none}}
body.reduce-motion *,body.reduce-motion *::before,body.reduce-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
body.reduced-motion *,body.reduced-motion *::before,body.reduced-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
.message-content{white-space:pre-wrap}.card>.button{margin:6px 6px 0 0}.settings-content>.button{margin:6px 6px 0 0}.toggle-row>input:first-child+span{flex:1}.settings-content .toggle-row{justify-content:flex-start}.card .toggle-row{justify-content:flex-start}.card>.toggle-row>input:first-child{margin-right:4px}
body[data-theme=light]{color-scheme:light;--bg:#f4f8fb;--sidebar:#eaf1f7;--panel:#fff;--panel-hover:#e5f0f7;--panel-soft:#fff;--line:#ccdbe7;--text:#142a40;--muted:#526b82;--soft:#70869a;--cyan:#096b83;--cyan-bright:#086c83;--cyan-dark:#d1edf2;--danger:#a9354c;--green:#19815d}
body[data-theme=light] .sidebar{border-color:#d2dfea}body[data-theme=light] .main-content{background:radial-gradient(ellipse at 50% 25%,#a9e9ed2b,transparent 50%),var(--bg)}body[data-theme=light] .brand,body[data-theme=light] .profile-button strong{color:var(--text)}body[data-theme=light] .brand-caption,body[data-theme=light] .desktop-title,body[data-theme=light] .status-pill{color:#536f86}body[data-theme=light] .new-chat{background:linear-gradient(110deg,#d1edf2,#e2eef6);border-color:#b4d4de;color:#194057}body[data-theme=light] .keyboard-hint{color:#628296}body[data-theme=light] .nav-button{color:#5b7188}body[data-theme=light] .nav-button:hover{background:#dfeaf2;color:#243f58}body[data-theme=light] .nav-button.active{background:#d4e9ef;color:#155267}body[data-theme=light] .sidebar-divider,body[data-theme=light] .composer-divider{background:#d0deea}body[data-theme=light] .sidebar-section-title,body[data-theme=light] .empty-history,body[data-theme=light] .profile-button small{color:#668096}body[data-theme=light] .local-card{background:#e2eef3;border-color:#c7dce5}body[data-theme=light] .local-card-icon{background:#cde7ea;color:#316c78}body[data-theme=light] .local-card strong{color:#3c5a6d}body[data-theme=light] .local-card p{color:#678397}body[data-theme=light] .profile-button{border-color:#d0deea}body[data-theme=light] .profile-avatar{background:#d2e0ed;color:#435c72}body[data-theme=light] .topbar{border-color:#d6e3ed}body[data-theme=light] .edition-badge{color:#6a8195;border-color:#c9d8e3}body[data-theme=light] .engine-bar{color:#5f7a92;border-color:#dce8f0}body[data-theme=light] .text-button,body[data-theme=light] .engine-symbol .icon{color:#27738a}body[data-theme=light] .text-button:hover{color:#114d64}body[data-theme=light] .welcome h1{color:#1b354b}body[data-theme=light] .welcome h1 span{color:#10768b}body[data-theme=light] .welcome-description{color:#627b91}body[data-theme=light] .welcome-eyebrow{color:#33788a}body[data-theme=light] .suggestion{background:linear-gradient(130deg,#fff,#eef7fa);border-color:#d3e3ea;color:#29475e}body[data-theme=light] .suggestion:hover{background:#e5f5f9;border-color:#92c5d2}body[data-theme=light] .suggestion>.icon{color:#40879b}body[data-theme=light] .suggestion small{color:#6a859c}body[data-theme=light] .composer{background:#fff;border-color:#bfd1df;box-shadow:0 9px 35px #42678808}body[data-theme=light] .composer:focus-within{border-color:#6ea8b9;box-shadow:0 0 0 3px #2d8ca510}body[data-theme=light] .composer textarea::placeholder{color:#7c90a5}body[data-theme=light] .icon-button{color:#627e96}body[data-theme=light] .icon-button:hover{background:#e3eef5;color:#365f7c}body[data-theme=light] .voice-button{color:#57748b}body[data-theme=light] .voice-button .icon{color:#3f8ba0}body[data-theme=light] .send-button{background:#157d92;color:#fff}body[data-theme=light] .send-button:hover{background:#106276}body[data-theme=light] .stop-button{background:#d9e6ef;color:#466782}body[data-theme=light] .voice-button[aria-pressed=true],body[data-theme=light] .mic-button[aria-pressed=true]{background:#d3eef2;color:#146e83}body[data-theme=light] .speak-toggle,body[data-theme=light] .voice-options .text-button{color:#617c93}body[data-theme=light] .composer-footer,body[data-theme=light] .accuracy-note{color:#7b92a5}body[data-theme=light] .message-user,body[data-theme=light] .message.user{background:#dfedf5;border-color:#c7dce8;color:#294a62}body[data-theme=light] .message-assistant,body[data-theme=light] .message.assistant{color:#344f65}body[data-theme=light] .message-role,body[data-theme=light] .message-label,body[data-theme=light] .message-header{color:#267d8f}body[data-theme=light] .message code,body[data-theme=light] .message pre{background:#e9f1f7;color:#324e65;border-color:#cfdeea}body[data-theme=light] .message pre code{background:none;color:#324e65}body[data-theme=light] .source-link,body[data-theme=light] .source-chip,body[data-theme=light] .sources a{background:#e3f1f5;border-color:#bad9e2;color:#2b6c7b}body[data-theme=light] .settings-dialog{background:#f6fafc;border-color:#c0d3e1;box-shadow:0 25px 100px #27466333}body[data-theme=light] .settings-tabs{background:#eaf2f7}body[data-theme=light] .settings-tab.active{background:#d6eaf0;color:#1b6276}body[data-theme=light] .settings-tab:hover{color:#204762}body[data-theme=light] .field>span,body[data-theme=light] .field>label,body[data-theme=light] .field-label{color:#3e5a72}body[data-theme=light] .field input,body[data-theme=light] .field select,body[data-theme=light] .field textarea,body[data-theme=light] .settings-content input:not([type=checkbox]):not([type=range]),body[data-theme=light] .settings-content select,body[data-theme=light] .settings-content textarea,body[data-theme=light] .view-panel input:not([type=checkbox]):not([type=range]),body[data-theme=light] .view-panel select,body[data-theme=light] .view-panel textarea{background:#fff;border-color:#c3d4e0;color:#29485f}body[data-theme=light] .field small,body[data-theme=light] .help-text,body[data-theme=light] .hint{color:#6e879c}body[data-theme=light] .toggle-row{border-color:#d5e3ed}body[data-theme=light] .note,body[data-theme=light] .notice,body[data-theme=light] .info-box{background:#e0f1f4;border-color:#acd1da;color:#3c6979}body[data-theme=light] .warning,body[data-theme=light] .compatibility-notice{background:#fff4da;border-color:#e3cf9a;color:#856821}body[data-theme=light] .error{background:#fae9ed;border-color:#e3b5bf;color:#9e4053}body[data-theme=light] .button-primary,body[data-theme=light] .primary{background:#137f94;color:#fff}body[data-theme=light] .button-danger,body[data-theme=light] .danger{background:#f9e8ed;border-color:#dfb3c0;color:#a9354c}body[data-theme=light] .toast{background:#e1f1f5;border-color:#9dc5d4;color:#325d74;box-shadow:0 10px 35px #1d4b6122}body[data-theme=light] .live-orb-caption strong{color:#37667c}body[data-theme=light] .live-orb-caption span{color:#7191a4}body[data-theme=light] ::-webkit-scrollbar-thumb{background:#b9cddd}

/* Small companion controls stay reachable on phones without covering the composer. */
.companion-play{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:4px 12px 8px;min-height:36px}.companion-play button{min-height:36px;padding:5px 8px}.companion-play span{font-size:12px;color:var(--muted)}
@media(max-width:420px){.companion-play{gap:5px}.companion-play span{display:none}}
