@font-face{font-family:__Figtree_8f38c6;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/d9fef5bf2f64cf9a-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Figtree_8f38c6;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/de42cfb9a3b980ae-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Figtree_8f38c6;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/d9fef5bf2f64cf9a-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Figtree_8f38c6;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/de42cfb9a3b980ae-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Figtree_8f38c6;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/d9fef5bf2f64cf9a-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Figtree_8f38c6;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/de42cfb9a3b980ae-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Figtree_8f38c6;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/d9fef5bf2f64cf9a-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Figtree_8f38c6;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/de42cfb9a3b980ae-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Figtree_8f38c6;font-style:normal;font-weight:800;font-display:swap;src:url(/_next/static/media/d9fef5bf2f64cf9a-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Figtree_8f38c6;font-style:normal;font-weight:800;font-display:swap;src:url(/_next/static/media/de42cfb9a3b980ae-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Figtree_Fallback_8f38c6;src:local("Arial");ascent-override:94.32%;descent-override:24.82%;line-gap-override:0.00%;size-adjust:100.72%}.__className_8f38c6{font-family:__Figtree_8f38c6,__Figtree_Fallback_8f38c6;font-style:normal}.__variable_8f38c6{--font-body:"__Figtree_8f38c6","__Figtree_Fallback_8f38c6"}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/edc640959b0c7826-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/ac0e76ddaeeb7981-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/64d784ea54a4acde-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/ff71da380fbe67dd-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/6d831b18ae5b01dc-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/558ca1a6aa3cb55e-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/edc640959b0c7826-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/ac0e76ddaeeb7981-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/64d784ea54a4acde-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/ff71da380fbe67dd-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/6d831b18ae5b01dc-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/558ca1a6aa3cb55e-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/edc640959b0c7826-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/ac0e76ddaeeb7981-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/64d784ea54a4acde-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/ff71da380fbe67dd-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/6d831b18ae5b01dc-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__JetBrains_Mono_e896d9;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/558ca1a6aa3cb55e-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__JetBrains_Mono_Fallback_e896d9;src:local("Arial");ascent-override:75.79%;descent-override:22.29%;line-gap-override:0.00%;size-adjust:134.59%}.__className_e896d9{font-family:__JetBrains_Mono_e896d9,__JetBrains_Mono_Fallback_e896d9;font-style:normal}.__variable_e896d9{--font-mono:"__JetBrains_Mono_e896d9","__JetBrains_Mono_Fallback_e896d9"}:root{--bg:#12131c;--bg-alt:#181a26;--panel:#1c1e2b;--panel-2:#232537;--line:#2c2f42;--ink:#edeef3;--ink-dim:#9a9cae;--ink-faint:#676a80;--amber:#e8a33d;--amber-dim:#6b5127;--teal:#5fbfb3;--teal-dim:#2e5751;--danger:#e0637a;--radius:14px}*{box-sizing:border-box}body,html{height:100%}body{margin:0;background:radial-gradient(ellipse 900px 500px at 15% -10%,rgba(232,163,61,.07),transparent 60%),radial-gradient(ellipse 700px 500px at 100% 10%,rgba(95,191,179,.05),transparent 60%),var(--bg);color:var(--ink);font-family:var(--font-body),-apple-system,sans-serif;overflow:hidden}::selection{background:var(--amber-dim);color:var(--ink)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--line);border-radius:8px}::-webkit-scrollbar-thumb:hover{background:var(--ink-faint)}@keyframes fadeDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeUp{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes messageIn{0%{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes stepIn{0%{opacity:0;transform:translateX(-6px)}to{opacity:1;transform:translateX(0)}}@keyframes logoPulse{0%,to{box-shadow:0 0 0 0 rgba(232,163,61,.35)}50%{box-shadow:0 0 0 6px rgba(232,163,61,0)}}@keyframes caretBlink{0%,45%{opacity:1}50%,95%{opacity:0}to{opacity:1}}@keyframes blink{0%,80%,to{opacity:.25;transform:scale(.85)}40%{opacity:1;transform:scale(1)}}@keyframes spinSlow{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.app-shell{display:flex;flex-direction:column;height:100vh}header.app-header{justify-content:space-between;padding:14px 24px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,hsla(0,0%,100%,.02),transparent);flex-shrink:0;animation:fadeDown .5s ease both}.brand,header.app-header{display:flex;align-items:center}.brand{gap:12px}.logo-badge{width:36px;height:36px;flex-shrink:0;display:flex;align-items:center;justify-content:center;animation:logoPulse 2.8s ease-in-out infinite;border-radius:11px}.logo-badge svg{display:block}.brand-text{display:flex;flex-direction:column;gap:1px}.brand .mark{font-weight:800;font-size:19px;letter-spacing:-.02em;color:var(--ink);line-height:1}.brand .mark span{color:var(--amber)}.brand .tag{font-family:var(--font-mono),monospace;font-size:11px;color:var(--ink-faint);letter-spacing:.02em}.header-actions{gap:8px}.header-actions,.icon-btn{display:flex;align-items:center}.icon-btn{background:transparent;border:1px solid var(--line);color:var(--ink-dim);width:34px;height:34px;border-radius:9px;cursor:pointer;justify-content:center;transition:.15s ease}.icon-btn:hover{border-color:var(--ink-faint);color:var(--ink);background:var(--panel);transform:translateY(-1px)}.icon-btn.active{border-color:var(--teal);color:var(--teal);background:rgba(95,191,179,.08)}.status-pill{font-family:var(--font-mono),monospace;font-size:10.5px;padding:5px 10px;border-radius:100px;border:1px solid var(--line);color:var(--ink-faint);display:flex;align-items:center;gap:6px}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--ink-faint)}.status-pill.ready .status-dot{background:var(--teal);box-shadow:0 0 6px var(--teal)}.status-pill.ready{color:var(--teal);border-color:rgba(95,191,179,.3)}main.app-main{flex:1 1;display:flex;overflow:hidden;position:relative}#settings{width:0;overflow:hidden;background:var(--bg-alt);border-right:1px solid var(--line);transition:width .22s ease;flex-shrink:0}#settings.open{width:320px}.settings-inner{width:320px;padding:20px;height:100%;overflow-y:auto}.settings-inner h3{font-family:var(--font-mono),monospace;text-transform:uppercase;font-size:11px;letter-spacing:.08em;color:var(--ink-faint);margin:0 0 16px;display:flex;align-items:center;gap:8px}.settings-inner h3:after{content:"";flex:1 1;height:1px;background:var(--line)}.field{margin-bottom:18px}.field label{display:block;font-size:12.5px;color:var(--ink-dim);margin-bottom:6px;font-weight:500}.field .hint{font-size:11px;color:var(--ink-faint);margin-top:6px;line-height:1.5}.field textarea{width:100%;background:var(--panel);border:1px solid var(--line);color:var(--ink);padding:10px 12px;border-radius:9px;font-family:var(--font-body),sans-serif;font-size:13px;resize:vertical;min-height:70px;line-height:1.5;outline:none;transition:.15s}.field textarea:focus{border-color:var(--amber)}.locked-row{display:flex;align-items:center;justify-content:space-between;background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:10px 12px;font-family:var(--font-mono),monospace;font-size:12px;color:var(--ink-dim)}.locked-row .lock-icon{color:var(--ink-faint);display:flex}.toggle-row{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-top:1px solid var(--line)}.toggle-row:first-of-type{border-top:none}.toggle-row .label-block .t{font-size:13px;color:var(--ink);font-weight:500;display:flex;align-items:center;gap:6px}.toggle-row .label-block .d{font-size:11px;color:var(--ink-faint);margin-top:2px}.switch{width:38px;height:22px;border-radius:100px;background:var(--panel-2);border:1px solid var(--line);position:relative;cursor:pointer;flex-shrink:0;transition:.15s}.switch:after{content:"";position:absolute;width:16px;height:16px;border-radius:50%;background:var(--ink-faint);top:2px;left:2px;transition:.18s ease}.switch.on{background:var(--amber-dim);border-color:var(--amber)}.switch.on:after{transform:translateX(16px);background:var(--amber)}.switch.teal.on{background:var(--teal-dim);border-color:var(--teal)}.switch.teal.on:after{background:var(--teal)}.settings-footer{font-size:11px;color:var(--ink-faint);line-height:1.6;padding-top:12px;border-top:1px solid var(--line)}.settings-footer code{font-family:var(--font-mono),monospace;color:var(--ink-dim)}#chat-col{flex:1 1;display:flex;flex-direction:column;min-width:0}#scroll-area{flex:1 1;overflow-y:auto;padding:28px 0 12px}#thread{max-width:760px;margin:0 auto;padding:0 24px;display:flex;flex-direction:column;gap:26px}.empty-state{max-width:560px;margin:8vh auto;text-align:center;padding:0 20px;animation:fadeUp .6s ease .1s both}.empty-state .logo-badge-lg{width:60px;height:60px;border-radius:16px;margin:0 auto 16px;animation:logoPulse 2.8s ease-in-out infinite}.empty-state h2{font-weight:700;font-size:21px;margin:0 0 8px}.empty-state p{color:var(--ink-dim);font-size:13.5px;line-height:1.6}.starter-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin-top:22px}.starter{text-align:left;background:var(--panel);border:1px solid var(--line);border-radius:11px;padding:12px 14px;cursor:pointer;font-size:12.5px;color:var(--ink-dim);transition:.15s}.starter:hover{border-color:var(--amber);color:var(--ink);transform:translateY(-2px)}.msg{display:flex;gap:14px;align-items:flex-start;animation:messageIn .35s ease both}.msg.user{flex-direction:row-reverse}.avatar{width:30px;height:30px;border-radius:8px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-family:var(--font-mono),monospace;font-size:11px;font-weight:600;margin-top:2px;overflow:hidden}.msg.assistant .avatar{background:var(--amber-dim);border:1px solid rgba(232,163,61,.35)}.msg.user .avatar{background:var(--panel-2);color:var(--teal);border:1px solid rgba(95,191,179,.3)}.bubble-col{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:10px}.msg.user .bubble-col{align-items:flex-end}.who{font-family:var(--font-mono),monospace;font-size:10.5px;color:var(--ink-faint);letter-spacing:.04em;display:flex;align-items:center;gap:6px}.msg.user .who{text-align:right}.mode-chip{font-family:var(--font-mono),monospace;font-size:9.5px;letter-spacing:.04em;color:var(--teal);border:1px solid rgba(95,191,179,.35);background:rgba(95,191,179,.08);padding:1px 6px;border-radius:100px}.bubble{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:13px 16px;font-size:14.5px;line-height:1.65;max-width:100%}.msg.user .bubble{background:var(--panel-2);border-color:rgba(95,191,179,.25)}.bubble p{margin:0 0 10px}.bubble p:last-child{margin-bottom:0}.bubble ol,.bubble ul{margin:8px 0;padding-left:22px}.bubble li{margin:4px 0}.bubble a{color:var(--teal)}.bubble h1,.bubble h2,.bubble h3{font-weight:700;margin:14px 0 8px;line-height:1.3}.bubble h1{font-size:19px}.bubble h2{font-size:16.5px}.bubble h3{font-size:14.5px}.bubble blockquote{border-left:3px solid var(--amber);margin:10px 0;padding:2px 0 2px 14px;color:var(--ink-dim)}.bubble code{font-family:var(--font-mono),monospace;background:hsla(0,0%,100%,.06);padding:2px 5px;border-radius:5px;font-size:.88em}.bubble pre{background:#10111a;border:1px solid var(--line);border-radius:10px;padding:14px;overflow-x:auto;margin:10px 0;position:relative}.bubble pre code{background:none;padding:0;font-size:12.5px;line-height:1.55}.code-copy{position:absolute;top:8px;right:8px;background:var(--panel-2);border:1px solid var(--line);color:var(--ink-faint);font-family:var(--font-mono),monospace;font-size:10.5px;padding:4px 8px;border-radius:6px;cursor:pointer;opacity:0;transition:.15s}.bubble pre:hover .code-copy{opacity:1}.code-copy:hover{color:var(--amber);border-color:var(--amber)}.bubble table{border-collapse:collapse;width:100%;margin:10px 0;font-size:13px}.bubble td,.bubble th{border:1px solid var(--line);padding:6px 10px;text-align:left}.bubble th{background:var(--panel-2);font-family:var(--font-mono),monospace;font-size:11px}.typing-bubble{font-family:var(--font-body),sans-serif}.typewriter-text{white-space:pre-wrap;word-break:break-word}.caret{display:inline-block;width:2px;height:15px;background:var(--amber);margin-left:2px;vertical-align:text-bottom;animation:caretBlink .9s step-end infinite}.ledger{border:1px solid rgba(232,163,61,.28);background:linear-gradient(180deg,rgba(232,163,61,.05),transparent 40%),var(--bg-alt);border-radius:var(--radius);overflow:hidden}.ledger-head{display:flex;align-items:center;gap:8px;padding:10px 14px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-family:var(--font-mono),monospace;font-size:11px;letter-spacing:.04em;color:var(--amber);border-bottom:1px solid rgba(232,163,61,.18)}.ledger-head svg{width:12px;height:12px;transition:transform .18s}.ledger.collapsed .ledger-head svg{transform:rotate(-90deg)}.ledger-head .n{color:var(--ink-faint);font-weight:400}.ledger-steps{padding:6px 14px 12px}.ledger.collapsed .ledger-steps{display:none}.step{display:flex;gap:12px;padding:9px 0;border-bottom:1px dashed hsla(0,0%,100%,.06);animation:stepIn .3s ease both}.step:last-child{border-bottom:none}.step .idx{font-family:var(--font-mono),monospace;font-size:11px;color:var(--amber);width:22px;flex-shrink:0;padding-top:1px}.step .txt{font-size:13px;color:var(--ink-dim);line-height:1.55}.msg-meta{display:flex;gap:10px;align-items:center}.msg-actions{display:flex;gap:4px}.mini-btn{background:none;border:none;color:var(--ink-faint);cursor:pointer;padding:3px;display:flex;align-items:center;border-radius:5px}.mini-btn:hover{color:var(--amber);background:var(--panel-2)}.thinking{display:flex;align-items:center;gap:10px;font-family:var(--font-mono),monospace;font-size:12px;color:var(--amber);padding:4px 0}.thinking .dots{display:flex;gap:4px}.thinking .dots span{width:5px;height:5px;border-radius:50%;background:var(--amber);animation:blink 1.2s ease-in-out infinite}.thinking .dots span:nth-child(2){animation-delay:.2s}.thinking .dots span:nth-child(3){animation-delay:.4s}.thinking .spinner{width:12px;height:12px;border-radius:50%;border:2px solid rgba(232,163,61,.25);border-top:2px solid var(--amber);animation:spinSlow .8s linear infinite}.err-bubble{border:1px solid rgba(224,99,122,.4);background:rgba(224,99,122,.08);color:#f0a5b4;border-radius:var(--radius);padding:12px 16px;font-size:13px;font-family:var(--font-mono),monospace;line-height:1.6}#composer-wrap{border-top:1px solid var(--line);background:linear-gradient(0deg,var(--bg) 60%,transparent);padding:16px 24px 20px;flex-shrink:0}#composer{max-width:760px;margin:0 auto;background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:8px 8px 8px 16px;display:flex;align-items:flex-end;gap:8px;transition:.18s}#composer:focus-within{border-color:var(--amber)}#composer.code-mode{border-color:rgba(95,191,179,.4);background:linear-gradient(180deg,rgba(95,191,179,.04),var(--panel))}#composer.code-mode:focus-within{border-color:var(--teal)}#composer textarea{flex:1 1;background:none;border:none;outline:none;resize:none;color:var(--ink);font-family:var(--font-body),sans-serif;font-size:14.5px;line-height:1.5;max-height:180px;padding:8px 0}#composer.code-mode textarea{font-family:var(--font-mono),monospace;font-size:13px}#composer textarea::placeholder{color:var(--ink-faint)}#send-btn{width:38px;height:38px;border-radius:11px;border:none;cursor:pointer;flex-shrink:0;background:var(--amber);color:#1a1200;display:flex;align-items:center;justify-content:center;transition:.15s}#composer.code-mode #send-btn{background:var(--teal);color:#08211d}#send-btn:disabled{background:var(--panel-2);color:var(--ink-faint);cursor:not-allowed}#send-btn:not(:disabled):hover{filter:brightness(1.08);transform:translateY(-1px) scale(1.03)}.composer-foot{max-width:760px;margin:8px auto 0;display:flex;justify-content:space-between;font-family:var(--font-mono),monospace;font-size:10.5px;color:var(--ink-faint);padding:0 4px}.composer-foot .think-badge{color:var(--amber)}.composer-foot .code-badge{color:var(--teal)}@media (max-width:720px){#settings.open{width:100%;position:absolute;inset:0;z-index:20}.settings-inner{width:100%}header.app-header{padding:12px 16px}#thread{padding:0 14px}#composer-wrap{padding:12px 14px 16px}.starter-grid{grid-template-columns:1fr}}