:root{color-scheme:light;--bg: #f3f3f0;--surface: #ffffff;--surface-muted: #ebebe7;--text: #171717;--text-muted: #62625e;--border: #c9c9c3;--input-border: #85857f;--accent: #d52b1e;--accent-hover: #b22116;--accent-text: #ffffff;--accent-soft: #fae9e6;--action: #8b4c00;--action-soft: #fff0da;--done: #28603b;--done-soft: #e5efe7;--problem: #b22116;--problem-soft: #fae9e6;--radius: 0;--shadow: none;--focus: #d52b1e;--heading-font: "Helvetica Neue", Helvetica, Arial, sans-serif;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.55;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}@media(prefers-color-scheme:dark){:root{color-scheme:dark;--bg: #111111;--surface: #1b1b1b;--surface-muted: #292929;--text: #f5f5f0;--text-muted: #b4b4ad;--border: #474743;--input-border: #82827b;--accent: #ff6b5c;--accent-hover: #ff8b7f;--accent-text: #111111;--accent-soft: #3e2522;--action: #f4b969;--action-soft: #3c301e;--done: #a7cfb3;--done-soft: #26372b;--problem: #ffaaa0;--problem-soft: #3e2522;--shadow: none;--focus: #ff6b5c}}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--bg)}button,input,select,textarea{font:inherit;color:inherit}a{color:inherit;text-underline-offset:4px}::selection{background:var(--accent);color:var(--accent-text)}.shell{max-width:960px;margin:0 auto;padding:16px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0 16px}.brand{display:flex;align-items:center;gap:10px;font-family:var(--heading-font);font-size:1.65rem;font-weight:750;letter-spacing:-.055em}.brand img{width:34px;height:34px}.who{display:flex;align-items:center;gap:12px;color:var(--text-muted);font-size:.8rem;flex-wrap:wrap;justify-content:flex-end}.who a{color:var(--accent)}.tabs{display:flex;gap:0;margin-bottom:16px;overflow-x:auto;padding:0;border:0;border-bottom:2px solid var(--text);background:transparent;scrollbar-width:thin;scrollbar-color:var(--input-border) transparent}.tab{display:inline-flex;align-items:center;justify-content:center;border:0;border-bottom:3px solid transparent;background:transparent;padding:12px;cursor:pointer;color:var(--text-muted);text-decoration:none;white-space:nowrap;font-size:.8rem;font-weight:700;transition:color .16s ease,background-color .16s ease,box-shadow .16s ease}.tab:hover{color:var(--text);background:var(--surface-muted)}.tab.active,.tab[aria-selected=true]{color:var(--text);background:var(--surface);border-bottom-color:var(--accent)}.tab-gap{flex:1;min-width:12px}.count{display:inline-block;min-width:21px;padding:1px 6px;margin-left:6px;border-radius:0;background:var(--text);color:var(--surface);font-size:.7rem;font-weight:700;font-variant-numeric:tabular-nums}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.stack{display:grid;gap:12px}.grid-2{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.page{display:grid;gap:16px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.page-head p{margin:4px 0 0}h1,h2,h3{margin:0}h1{font-family:var(--heading-font);font-size:clamp(2rem,4vw,3rem);font-weight:750;line-height:1.1;letter-spacing:-.055em}h2{margin:24px 0 12px;font-family:var(--heading-font);font-size:1.4rem;font-weight:700;line-height:1.25;letter-spacing:-.035em}h3{font-size:1.05rem;font-weight:600}.muted{color:var(--text-muted)}.small{font-size:.82rem}label{display:grid;gap:6px;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;min-width:0}input,select,textarea{width:100%;min-width:0;padding:11px 13px;border-radius:0;border:1px solid var(--input-border);background:var(--surface);font-weight:400;font-size:16px;line-height:1.5;letter-spacing:normal;text-transform:none;box-shadow:none;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}input::placeholder,textarea::placeholder{color:var(--text-muted);opacity:1}input:hover,select:hover,textarea:hover{border-color:var(--accent)}textarea{min-height:84px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--accent);background:var(--surface);outline:2px solid var(--accent);outline-offset:1px}:where(a,button,input,select,textarea):focus-visible{outline:2px solid var(--focus);outline-offset:3px}.tab:focus-visible{outline-offset:-3px}input[type=checkbox],input[type=radio]{width:18px;height:18px;padding:0;accent-color:var(--accent);justify-self:start}input[type=file]{font-size:.85rem}input::file-selector-button{border:0;border-radius:0;background:var(--surface-muted);color:var(--text);padding:5px 10px;margin-right:10px;font:inherit;font-weight:600;cursor:pointer}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--accent);background:var(--accent);color:var(--accent-text);border-radius:0;padding:12px 20px;min-height:44px;font-size:.75rem;line-height:1.5;font-weight:700;letter-spacing:.05em;text-transform:uppercase;text-decoration:none;cursor:pointer;box-shadow:none;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}.button:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.button:active:not(:disabled){outline:2px solid var(--accent);outline-offset:2px}.button.secondary{background:var(--text);color:var(--surface);border-color:var(--text)}.button.quiet{background:transparent;border-color:var(--input-border);color:var(--text);box-shadow:none}.button.secondary:hover:not(:disabled),.button.quiet:hover:not(:disabled){background:var(--surface-muted);color:var(--text);border-color:var(--text)}:where(button,input,select,textarea):disabled{opacity:.55;cursor:not-allowed}.actions{display:flex;gap:8px;flex-wrap:wrap}.problems{margin:0;padding:12px 14px 12px 28px;border:1px solid var(--problem);border-radius:0;background:var(--problem-soft);color:var(--problem);font-size:.9rem}p.problems{padding-left:14px}.notice{padding:12px 14px;border-radius:0;background:var(--surface-muted)}.notice.bad{background:var(--problem-soft);color:var(--problem)}.trip{display:grid;gap:6px;text-align:left;width:100%;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}a.trip{text-decoration:none;color:inherit}.trip:hover{border-color:var(--accent);background:var(--surface-muted)}.trip-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.trip-title{font-weight:600;overflow-wrap:anywhere}.chip{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;padding:4px 10px;border-radius:0;font-size:.68rem;line-height:1.5;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:var(--surface-muted);color:var(--text-muted)}.chip:before{content:"";width:5px;height:5px;background:currentColor;flex:none}.chip.action{background:var(--action-soft);color:var(--action)}.chip.waiting,.chip.working{background:var(--accent-soft);color:var(--accent)}.chip.done{background:var(--done-soft);color:var(--done)}.chip.problem{background:var(--problem-soft);color:var(--problem)}.chat{display:grid;gap:10px;max-height:60vh;overflow-y:auto;padding:4px;scrollbar-width:thin;scrollbar-color:var(--input-border) transparent}.bubble{max-width:80%;padding:12px 16px;border-radius:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.bubble.human{justify-self:end;background:var(--text);color:var(--surface);border-left:3px solid var(--accent)}.bubble.agent,.bubble.system{justify-self:start;background:var(--surface-muted);border-left:3px solid var(--input-border)}.bubble .meta{display:block;font-size:.72rem;opacity:.8;margin-top:6px;font-variant-numeric:tabular-nums}.composer{display:flex;gap:8px;align-items:flex-end}.composer textarea{min-height:48px}.answer{border-left:4px solid var(--action)}.empty{text-align:center;padding:40px 16px;background:var(--surface);border-style:solid;box-shadow:none}.center{min-height:80vh;display:grid;place-items:center;padding:16px}.signin{width:min(420px,100%);border-top:4px solid var(--accent)}.open-answer{width:min(640px,100%);border-top:4px solid var(--accent)}label.check{display:flex;gap:10px;align-items:flex-start;font-size:.82rem;font-weight:400;letter-spacing:normal;text-transform:none}label.check input{flex:none;margin-top:2px}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.row input,.row select{width:auto;flex:1 1 160px}.grow{flex:1 1 200px;min-width:0;overflow-wrap:anywhere}.question{margin:0;white-space:pre-wrap}.loading{padding:24px 0}@media(max-width:640px){.grid-2{grid-template-columns:1fr}.brand{font-size:1.4rem}.who{gap:6px}.who>span{overflow-wrap:anywhere}.topbar>*{min-width:0}.brand{flex-shrink:0}.who .button{padding:8px 12px}.trip-head{flex-wrap:wrap}.bubble{max-width:90%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
