@font-face{font-family:Manrope;src:url('/fonts/manrope.ttf') format('truetype');font-weight:200 800;font-display:swap}
:root{--forest:#173e35;--deep:#102e27;--paper:#f5f4ee;--ink:#203c34;--muted:#58685f;--line:#d8ddd3;--sage:#e1e9df;--white:#fffefa;--bronze:#b78a4d;--danger:#a0322a;font-family:Manrope,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;scrollbar-color:#abb9ad transparent}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:wait;opacity:.5}a{color:inherit;text-underline-offset:4px}button{border:0;background:none}button,select,input{min-height:44px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--bronze);outline-offset:4px}::selection{background:#d2dfb8;color:var(--deep)}input,textarea{caret-color:var(--forest)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{letter-spacing:-.035em;text-wrap:balance}p{line-height:1.75}svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}span[data-icon]{display:inline-flex}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.primary,.secondary{border-radius:12px;padding:13px 20px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:18px}.primary{background:var(--forest);color:var(--white)}.primary:hover{background:var(--deep)}.secondary{border:1px solid var(--line);background:var(--white)}.secondary:hover{background:var(--sage)}.icon-button{width:44px;height:44px;padding:10px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}.icon-button:hover{background:var(--sage)}.muted{color:var(--muted);font-size:13px}.error{color:var(--danger);font-size:13px;line-height:1.6}.error:empty{display:none}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;border:1px solid #708c7f;border-radius:13px;color:#d6e3cb;font-size:31px;font-weight:500;letter-spacing:-.04em;line-height:1;padding-bottom:6px}.login-page{min-height:100dvh;background:var(--forest);color:var(--paper);padding:38px 5vw;display:flex;flex-direction:column;align-items:center}.login-brand{display:flex;gap:14px;align-items:center;align-self:flex-start;letter-spacing:.15em;font-size:20px;font-weight:650}.login-form{width:min(100%,430px);margin:auto;padding:42px 0}.login-form h1{font-size:44px;font-weight:500;line-height:1.2;margin:26px 0 18px}.login-form p{color:#c5d4c6;font-size:14px;margin-bottom:28px}.login-form label{font-size:13px;display:block;margin-bottom:9px}.login-form input{width:100%;border:1px solid #698476;border-radius:12px;background:var(--deep);color:var(--white);padding:14px 16px}.login-form input::placeholder{color:#b2c0b5}.login-form .primary{width:100%;margin:12px 0 16px;background:#dbe6c8;color:var(--deep);justify-content:space-between}.login-form small{color:#c5d4c6;font-size:12px}.login-form .error{color:#ffd1b9}.login-foot{font-size:12px;color:#c5d4c6}.speech-mark{display:flex;align-items:center;justify-content:center;gap:5px;height:45px;color:var(--forest)}.speech-mark i{display:block;width:5px;height:13px;border-radius:4px;background:currentColor}.speech-mark i:nth-child(2),.speech-mark i:nth-child(6){height:23px}.speech-mark i:nth-child(3),.speech-mark i:nth-child(5){height:35px}.speech-mark i:nth-child(4){height:45px}.login-form .speech-mark{justify-content:flex-start;color:#d4dfbd}.app{height:100dvh;display:grid;grid-template-columns:268px minmax(0,1fr)}.sidebar{background:var(--forest);color:#e1e9df;padding:31px 20px 18px;display:flex;flex-direction:column;min-height:0}.brand{display:flex;align-items:center;gap:14px;font-size:24px;font-weight:650;letter-spacing:.12em;text-decoration:none;padding:0 10px 36px}.new-chat{display:flex;align-items:center;gap:12px;background:#284d40;border:1px solid #597564;border-radius:10px;padding:12px 14px;color:#f2f4e9;font-size:13px;font-weight:600}.new-chat:hover{background:#365f4f}.sidebar h2{font-size:11px;font-weight:500;letter-spacing:.04em;color:#c0d0c0;margin:32px 12px 12px}.chat-list{overflow-y:auto;flex:1}.chat-list button{width:100%;text-align:left;padding:12px;border-radius:8px;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#d3dfd2}.chat-list button:hover,.chat-list button[aria-current=true]{background:#2d5345;color:#fff}.chat-list .empty-history{font-size:12px;line-height:1.7;color:#c0d0c0;margin:0 12px}.sidebar-bottom{padding-top:20px}.sidebar-bottom>button{display:flex;align-items:center;gap:12px;width:100%;font-size:13px;padding:11px 12px;border-radius:8px}.sidebar-bottom>button:hover{background:#284d40}.personal{margin:20px 9px 0;border-top:1px solid #476856;padding-top:20px;display:flex;align-items:center;gap:10px;font-size:12px}.personal small{display:block;color:#c0d0c0;font-size:11px;margin-top:4px}.personal button{margin-left:auto;padding:8px;color:#c0d0c0}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#d9dfc2;color:var(--deep)}.main{display:flex;flex-direction:column;min-width:0;height:100dvh}.topbar{height:85px;min-height:85px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:18px;font-size:13px}.topbar>div{display:flex;align-items:center;min-width:0;gap:8px}#chat-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status-badge{white-space:nowrap;display:inline-flex;align-items:center;gap:8px;font-size:11px;border:1px solid #ccd7c9;padding:7px 11px;border-radius:20px;background:#edf0e5}.status-badge::before{content:'';width:6px;height:6px;background:#56774d;border-radius:50%}.conversation{flex:1;overflow-y:auto;min-height:0;scroll-behavior:smooth}.welcome{min-height:100%;padding:46px 24px 28px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.welcome h1{font-size:clamp(38px,4vw,56px);line-height:1.2;font-weight:500;margin:23px 0 16px}.welcome p{color:var(--muted);font-size:15px}.hero-mic{width:94px;height:94px;border-radius:50%;background:var(--forest);color:#ecf0da;display:grid;place-items:center;margin-top:29px;border:7px solid var(--sage)}.hero-mic:hover{background:var(--deep)}.hero-mic svg{width:30px;height:30px}.mic-caption{font-size:11px;color:var(--muted);margin-top:11px}.suggestions{display:flex;gap:12px;margin-top:31px}.suggestions button{font-size:12px;border:1px solid var(--line);border-radius:10px;padding:12px 17px;background:var(--white);display:flex;gap:24px;align-items:center}.suggestions button:hover{border-color:#8da088}.composer-area{width:min(100%,840px);padding:15px 36px 22px;align-self:center}.composer{display:flex;align-items:flex-end;background:var(--white);border:1px solid #bbc6b9;border-radius:16px;padding:9px;gap:5px}.composer:focus-within{border-color:var(--forest)}.composer textarea{resize:none;min-width:0;flex:1;border:0;background:transparent;padding:12px 10px;line-height:1.5;max-height:160px;font-size:14px;outline:none}.composer textarea::placeholder{color:var(--muted)}.composer textarea:focus-visible{outline:none}.send{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:var(--forest);color:#fff}.send:hover{background:var(--deep)}.voice-status{font-size:12px;min-height:22px;padding:0 4px 6px;color:var(--muted)}.composer-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:9px;font-size:11px;color:var(--muted)}.toggle-line{display:flex;align-items:center;gap:8px;position:relative;cursor:pointer;font-size:11px;min-height:36px}.toggle-line input{position:absolute;opacity:0;width:100%;height:100%;min-height:0;cursor:pointer;margin:0}.switch{width:29px;height:17px;border-radius:10px;background:#b7c2b5;padding:3px;display:block}.switch::after{content:'';display:block;width:11px;height:11px;border-radius:50%;background:var(--white);transition:transform .2s}.toggle-line input:checked+.switch{background:var(--forest)}.toggle-line input:checked+.switch::after{transform:translateX(12px)}.toggle-line input:focus-visible+.switch{outline:3px solid var(--bronze);outline-offset:3px}#stop-speaking{font-size:11px;text-decoration:underline}.job-status{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;font-size:12px}.job-status button{color:var(--danger);font-size:11px}.messages{max-width:800px;margin:0 auto;padding:32px 32px 16px}.message{margin-bottom:28px;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.message .author{font-size:11px;font-weight:750;margin-bottom:8px;color:var(--muted)}.message.user{background:var(--sage);padding:16px 20px;border-radius:14px;margin-left:12%;}.message.assistant{padding:4px 0}.message p{white-space:pre-wrap;margin:0 0 10px}.message pre,.approval pre,#pair-result pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#e6e9df;padding:15px;border-radius:10px;font:12px/1.7 ui-monospace,monospace;max-width:100%;overflow-x:auto}.read-button{font-size:11px;color:var(--muted);display:inline-flex;align-items:center;gap:7px}.read-button svg{width:15px;height:15px}.tool-log{color:var(--muted);font-size:11px;margin:0 0 20px}.tool-log summary{cursor:pointer;min-height:36px;padding-top:8px}.tool-log pre{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.6 ui-monospace,monospace;max-height:220px;overflow:auto}.approval{padding:20px;border:1px solid #c8b48c;border-radius:12px;background:#f3eddd;margin-bottom:24px}.approval h3{font-size:14px;margin-bottom:7px}.approval p{font-size:12px}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px;flex-wrap:wrap}.files{margin:20px 0;padding-top:15px;border-top:1px solid var(--line);font-size:12px}.files a{display:block;padding:10px 0;overflow-wrap:anywhere}.network{background:#eee2c5;color:#67471d;font-size:12px;padding:10px 24px}.mobile-only{display:none}.backdrop{position:fixed;inset:0;background:#102e2770;z-index:4}dialog{border:1px solid var(--line);border-radius:16px;background:var(--paper);color:var(--ink);width:min(540px,calc(100% - 28px));padding:28px;max-height:90dvh;overflow:auto}dialog::backdrop{background:#102e2780}dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}dialog h2{font-size:22px;font-weight:600;letter-spacing:-.02em}dialog p{font-size:13px;color:var(--muted)}dialog h3{font-size:14px;margin-bottom:8px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 20px;border-bottom:1px solid var(--line);font-size:13px}.setting-row small{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:6px}.setting-row input{width:20px;accent-color:var(--forest)}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;margin:20px 0}.field select,.field input{width:100%;border:1px solid #bdc8b8;border-radius:9px;padding:11px;background:var(--white);color:var(--ink)}.setting-note{padding:20px 0;border-bottom:1px solid var(--line)}#install{margin:20px 0 10px;width:100%}.device-row{padding:16px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.device-row strong{display:block;font-size:13px}.device-row small{color:var(--muted);font-size:11px}.device-row button{font-size:11px;color:var(--danger)}#pair-result{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.listening .speech-mark i,.speaking .speech-mark i{animation:listen 1s ease-in-out infinite alternate}.listening .speech-mark i:nth-child(2n),.speaking .speech-mark i:nth-child(2n){animation-delay:-.4s}.listening .hero-mic,.listening #mic{background:#b88543;color:var(--deep)}.listening .voice-status{color:var(--forest);font-weight:650}@keyframes listen{from{transform:scaleY(.55)}to{transform:scaleY(1)}}
@media(min-width:1500px){.welcome h1{font-size:60px}.composer-area{padding-bottom:30px}.topbar{padding:0 52px}}
@media(max-width:800px){.app{grid-template-columns:1fr}.sidebar{position:fixed;z-index:5;inset:0 auto 0 0;width:280px;transform:translateX(-100%);transition:transform .25s ease-out}.sidebar.open{transform:translateX(0)}.mobile-only{display:inline-flex}.topbar{height:69px;min-height:69px;padding:0 16px}.topbar>div{max-width:66%}.status-badge{font-size:11px;padding:6px 9px}.welcome{padding:30px 20px 24px}.welcome h1{font-size:43px;margin-top:20px}.welcome p{font-size:13px}.hero-mic{width:86px;height:86px;margin-top:23px}.suggestions{margin-top:25px;gap:8px}.suggestions button{font-size:11px;padding:10px 12px;gap:12px}.composer-area{padding:10px 16px max(14px,env(safe-area-inset-bottom))}.composer-foot{font-size:11px;gap:8px}.composer textarea{font-size:16px}.messages{padding:25px 22px 10px}.message.user{margin-left:6%}.login-page{padding:26px}.login-form h1{font-size:40px}.login-form{padding:36px 0}.login-foot{padding-bottom:env(safe-area-inset-bottom)}dialog{padding:22px}dialog h2{font-size:20px}.job-status{font-size:11px}}
@media(max-height:730px){.welcome{padding-top:20px;padding-bottom:16px}.welcome h1{font-size:36px;margin:15px 0 10px}.welcome .speech-mark{height:30px;transform:scale(.8)}.hero-mic{margin-top:18px;width:74px;height:74px}.suggestions{margin-top:18px}.composer-area{padding-top:6px}.topbar{height:64px;min-height:64px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.device-guide{max-width:760px;margin:0 auto;padding:40px 24px 80px}.device-guide h1{font-size:36px;margin:40px 0 24px}.device-guide h2{font-size:23px;margin:36px 0 16px}.device-guide h3{font-size:16px;margin:24px 0 12px}.device-guide p,.device-guide li{font-size:15px;line-height:1.8;margin-bottom:16px}.device-guide pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--sage);padding:18px;border-radius:12px;font:13px/1.8 ui-monospace,monospace}
