:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--space-6:2rem;--text-sm:.875rem;--text-lg:1.125rem;--text-xl:1.5rem;--text-2xl:1.875rem;--radius:.75rem;--radius-lg:1.25rem;--touch:3rem;--bg:#f5f6f8;--surface:#fff;--surface-muted:#eceef2;--text:#15171c;--text-muted:#505661;--border:#c9ced6;--accent:#2348b5;--accent-strong:#1a3891;--on-accent:#fff;--accent-soft:#e5ebfa;--ok:#1b7340;--problem:#b3261e;--problem-soft:#fbeceb;font-family:system-ui,sans-serif;line-height:1.5}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#111318;--surface:#1b1e25;--surface-muted:#252a33;--text:#eceef2;--text-muted:#a8afbb;--border:#3f4552;--accent:#9fb5ff;--accent-strong:#c0cfff;--on-accent:#0c1633;--accent-soft:#222b47;--ok:#74d396;--problem:#ff9a8f;--problem-soft:#3b2120}}*,:before,:after{box-sizing:border-box}body{background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%;margin:0}h1,h2,p{margin:0}h1{font-size:var(--text-xl);line-height:1.25}h2{font-size:var(--text-lg)}a{color:var(--accent)}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}h1:focus{outline:none}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.page{max-width:36rem;padding:var(--space-4);margin:0 auto}.stack{gap:var(--space-4);display:grid}.stack-tight{gap:var(--space-3);display:grid}.lead{font-size:var(--text-lg)}.note{padding:var(--space-3) var(--space-4);border-radius:var(--radius);background:var(--surface-muted);color:var(--text-muted);font-size:var(--text-sm)}.note strong{color:var(--text)}.fine-print,.caption{color:var(--text-muted);font-size:var(--text-sm)}.caption{text-align:center}.topbar{z-index:1;justify-content:space-between;align-items:center;gap:var(--space-3);max-width:36rem;padding:var(--space-1) var(--space-4);background:var(--bg);margin:0 auto;display:flex;position:sticky;top:0}.back{align-items:center;gap:var(--space-2);min-height:var(--touch);padding-right:var(--space-3);font-weight:600;text-decoration:none;display:inline-flex}.button{min-height:var(--touch);padding:0 var(--space-5);border-radius:var(--radius);font:inherit;cursor:pointer;border:2px solid #0000;justify-content:center;align-items:center;font-weight:600;display:inline-flex}.button.primary{background:var(--accent);color:var(--on-accent)}.button.primary:hover:not(:disabled){background:var(--accent-strong)}.button.secondary{border-color:var(--border);background:var(--surface);color:var(--text)}.button:disabled{cursor:default;opacity:.45}.button-row{gap:var(--space-3);flex-wrap:wrap;display:flex}.button-row .button{padding:0 var(--space-3);flex:8rem}.start{gap:var(--space-6);padding-top:var(--space-6);display:grid}.hero{gap:var(--space-3);display:grid}.hero h1{font-size:var(--text-2xl)}.star{width:2.5rem;height:2.5rem;fill:var(--accent)}.options{gap:var(--space-4);display:grid}.option{gap:var(--space-2);padding:var(--space-5);border:2px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);color:var(--text);text-decoration:none;display:grid}.option.primary{border-color:var(--accent);background:var(--accent-soft)}.option:hover{border-color:var(--accent)}.option-title{font-size:var(--text-lg);font-weight:700}.option-title:after{content:" →";color:var(--accent)}.option-text{color:var(--text-muted)}.badge{padding:0 var(--space-2);border-radius:var(--radius);background:var(--accent);color:var(--on-accent);font-size:var(--text-sm);justify-self:start;font-weight:600}form{gap:var(--space-4);display:grid}fieldset{gap:var(--space-2);border:none;min-width:0;margin:0;padding:0;display:grid}legend{margin-bottom:var(--space-2);padding:0;font-weight:700}label{gap:var(--space-1);font-weight:600;display:grid}label.choice{align-items:center;gap:var(--space-3);min-height:var(--touch);font-weight:400;display:flex}label.choice input{width:1.25rem;height:1.25rem;min-height:0;accent-color:var(--accent)}input,select{min-height:var(--touch);padding:var(--space-2) var(--space-3);border:2px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);font:inherit;font-weight:400}input:focus-visible,select:focus-visible{border-color:var(--accent);outline-offset:0}.segments{padding:var(--space-1);border-radius:var(--radius);background:var(--surface-muted);display:flex}.segment{flex:1;position:relative}.segment input{opacity:0;pointer-events:none;position:absolute;inset:0}.segment span{min-height:calc(var(--touch) - 2 * var(--space-1));padding:0 var(--space-3);border-radius:calc(var(--radius) - var(--space-1));color:var(--text-muted);text-align:center;cursor:pointer;justify-content:center;align-items:center;display:flex}.segment input:checked+span{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #00000026}.segment input:focus-visible+span{outline:3px solid var(--accent)}.preview{color:var(--text-muted);overflow-wrap:anywhere}.code{gap:var(--space-3);display:grid}.problem{padding:var(--space-3) var(--space-4);border-radius:var(--radius);background:var(--problem-soft);color:var(--problem)}details>summary{cursor:pointer}.code summary{min-height:var(--touch);color:var(--text-muted);align-items:center;display:flex}code{word-break:break-all}.qr-card{width:100%;max-width:22rem;padding:var(--space-2);border-radius:var(--radius-lg);background:#fff;margin:0 auto;box-shadow:0 1px 4px #0000001f}.qr{width:100%;display:block}.status{align-items:center;gap:var(--space-2);padding:var(--space-1) var(--space-3);background:var(--surface-muted);font-size:var(--text-sm);border-radius:999px;display:inline-flex}.status-dot{background:var(--text-muted);border-radius:50%;width:.625rem;height:.625rem}.status.on .status-dot{background:var(--ok)}.status.wait .status-dot{border:2px solid var(--text-muted);background:0 0}.pairing{text-align:center}.pairing .note{text-align:left}.waiting{justify-content:center;align-items:center;gap:var(--space-3);color:var(--text-muted);display:flex}.pulse{background:var(--accent);border-radius:50%;width:.75rem;height:.75rem;animation:1.6s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.25;transform:scale(.7)}}.conversation{gap:var(--space-3);margin:0;padding:0;list-style:none;display:grid}.bubble{gap:var(--space-2);max-width:88%;padding:var(--space-3) var(--space-4);border-radius:var(--radius-lg);overflow-wrap:anywhere;display:grid}.bubble.user{border-bottom-right-radius:var(--space-1);background:var(--accent);color:var(--on-accent);justify-self:end}.bubble.assistant,.bubble.app{border-bottom-left-radius:var(--space-1);background:var(--surface);justify-self:start;box-shadow:0 1px 2px #00000014}.bubble.app{background:var(--accent-soft)}.bubble.streaming>p:last-of-type:after{content:"▍";color:var(--accent);animation:1s steps(2,end) infinite pulse}.thinking{align-items:center;gap:var(--space-3);color:var(--text-muted);display:flex}.dots{gap:var(--space-1);display:inline-flex}.dots span{background:var(--text-muted);border-radius:50%;width:.5rem;height:.5rem;animation:1.2s ease-in-out infinite pulse}.dots span:nth-child(2){animation-delay:.2s}.dots span:nth-child(3){animation-delay:.4s}.activity{gap:var(--space-2);display:grid}.activity-line{color:var(--text-muted);font-size:var(--text-sm)}.activity-line>summary,p.activity-line{align-items:flex-start;gap:var(--space-2);min-height:2.75rem;padding:var(--space-2) 0;list-style:none;display:flex}.activity-line>summary::-webkit-details-marker{display:none}.activity-line>summary .activity-text{text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.activity-line.done .activity-text,.activity-line.failed .activity-text{color:var(--text)}.activity-icon{border-radius:50%;flex:none;place-items:center;width:1.25rem;height:1.25rem;margin-top:.05rem;font-size:.75rem;font-weight:700;display:inline-grid}.activity-icon.done{background:var(--ok);color:var(--surface)}.activity-icon.failed{background:var(--problem);color:var(--surface)}.activity-icon.declined{background:var(--surface-muted);color:var(--text-muted)}.activity-icon.working{border:2px solid var(--border);border-top-color:var(--accent);animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.activity-line dl{gap:var(--space-2);margin:0 0 var(--space-2) calc(1.25rem + var(--space-2));padding:var(--space-3);border-radius:var(--radius);background:var(--surface-muted);display:grid}.activity-line dt{color:var(--text);font-weight:600}.activity-line dd{overflow-wrap:anywhere;margin:0}.confirm-card{gap:var(--space-3);padding:var(--space-4);border:2px solid var(--accent);border-radius:var(--radius-lg);background:var(--surface);display:grid}.confirm-question{font-size:var(--text-lg);overflow-wrap:anywhere}.confirm-why{color:var(--text-muted);font-size:var(--text-sm)}.origin{overflow-wrap:anywhere;font-family:ui-monospace,monospace}.notice{padding:var(--space-1) var(--space-3);background:var(--surface-muted);color:var(--text-muted);font-size:var(--text-sm);text-align:center;border-radius:999px;justify-self:center}.notice.error{border-radius:var(--radius);background:var(--problem-soft);color:var(--problem)}.examples{gap:var(--space-2);margin-top:var(--space-4);flex-wrap:wrap;display:flex}.chip{min-height:var(--touch);padding:var(--space-2) var(--space-4);border:2px solid var(--accent);border-radius:var(--radius-lg);background:var(--surface);color:var(--accent);font:inherit;text-align:left;cursor:pointer;font-weight:600}.chip:hover{background:var(--accent-soft)}.chat{flex-direction:column;min-height:calc(100dvh - 5.5rem);display:flex}.dock{margin:auto calc(-1 * var(--space-4)) calc(-1 * var(--space-4));padding:var(--space-3) var(--space-4) var(--space-2);background:var(--bg);box-shadow:0 -1px 0 var(--border);position:sticky;bottom:0}.composer{gap:var(--space-2);display:flex}.composer input{flex:1;min-width:0}.composer input[aria-disabled=true]{background:var(--surface-muted);color:var(--text-muted)}.composer-hint{min-height:1.5em;padding-top:var(--space-1);color:var(--text-muted);font-size:var(--text-sm)}.dock-panel{margin-top:var(--space-5);padding:var(--space-4);border-radius:var(--radius-lg);background:var(--surface);box-shadow:0 1px 4px #0000001f}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
