:root{font-family:'Segoe UI',sans-serif;color:#18243b;background:#eef2f7;font-size:16px;line-height:1.55}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}a{color:#6550b9}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer;border:1px solid #cdd5e1;background:white;color:#18243b;border-radius:10px;padding:10px 15px}button:disabled{opacity:.55;cursor:wait}button:hover{background:#f1eff9}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #907ed0;outline-offset:3px}.primary{background:#6550b9;color:white;border-color:#6550b9}.primary:hover{background:#514095}.quiet{background:transparent;border-color:transparent;font-size:14px}h1,h2,h3{font-family:'Trebuchet MS',sans-serif;line-height:1.2}h1{font-size:28px;margin:6px 0}h2{font-size:23px}small,.desk-intro{color:#5c6980}.app-shell{display:grid;grid-template-columns:230px minmax(0,1fr);max-width:1500px;margin:auto;min-height:100dvh}.workspace-rail{padding:36px 24px;display:flex;flex-direction:column;gap:38px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:#18243b;font-size:24px;font-weight:700}.brand small{display:block;font-size:11px;font-weight:400}.brand-mark{background:#6550b9;color:white;border-radius:14px;width:44px;height:44px;text-align:center;font-size:30px}.workspace-rail nav{display:grid;gap:8px}.workspace-rail nav a,.workspace-rail nav button{padding:12px;text-decoration:none;text-align:left;font-size:14px;border:0;color:#43516a;background:transparent}.workspace-rail nav .nav-current{background:white;color:#6550b9;border-radius:10px}.rail-note{margin-top:auto;font-size:14px}.beta-label,.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.5px;color:#6550b9}.workspace-main{width:100%;max-width:1040px;padding:36px 48px 60px}.page-header,.workspace-status,.composer-actions,.saved-heading,.dialog-top,.bar{display:flex;align-items:center;justify-content:space-between;gap:12px}.page-header{margin-bottom:30px}.help-shortcut{font-size:14px}.workspace-status{font-size:12px;color:#236b62;margin-bottom:18px;flex-wrap:wrap}.workspace-status>div{display:flex}.task-desk,.login-card,.activation-card{background:white;border:1px solid #dce2eb;border-radius:20px;padding:32px}.task-desk h2{font-size:32px;margin:10px 0}.desk-intro{margin:0 0 24px}#task{border:1px solid #cdd5e1;border-radius:14px;padding:12px}#task:focus-within{outline:2px solid #907ed0}textarea,input{width:100%;border:1px solid #cdd5e1;background:white;border-radius:8px;padding:12px;color:#18243b}#message{border:0;resize:vertical;min-height:120px;outline:none}.composer-actions{justify-content:flex-end}.starter-heading{font-size:13px;font-weight:600;margin:24px 0 10px}.starter-heading small{display:block;font-weight:400}.choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choices button{text-align:left;font-size:13px;padding:12px;background:#f8f9fc;overflow-wrap:anywhere}.saved-heading{margin-top:28px}.saved-heading span{font-size:13px;color:#5c6980}.result-card{background:white;border:1px solid #dce2eb;border-radius:14px;margin-bottom:14px;overflow:hidden}.result-card>summary{padding:18px;cursor:pointer;font-weight:600;overflow-wrap:anywhere}.result-body{padding:0 20px 20px}.answer{line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap;font-family:inherit}.feedback{margin-top:18px;border-top:1px solid #e3e7ee;padding-top:16px}.feedback summary{cursor:pointer;font-size:14px}.feedback textarea{margin:12px 0}.bar{justify-content:flex-start;flex-wrap:wrap}.bar button{font-size:13px}.scope-note{font-size:13px;color:#5c6980;padding:24px 0}.scope-note summary{cursor:pointer}#preview{font-size:12px;color:#6550b9}#working{font-size:14px;color:#6550b9}#error,#update-notice{padding:16px;background:#fff4dd;border-radius:12px;margin-bottom:18px}#update-notice small{display:block}dialog{width:min(720px,calc(100% - 28px));max-height:88dvh;border:1px solid #dce2eb;border-radius:18px;padding:24px;color:#18243b}dialog::backdrop{background:#18243b80}.dialog-top{position:sticky;top:-24px;background:white;padding:12px 0;z-index:1}#test-guide details{border-top:1px solid #e3e7ee;padding:16px 0}#test-guide summary{font-weight:600;cursor:pointer}.test-prompt{margin:16px 0;padding:16px;background:#f2f0f9;border-left:3px solid #6550b9}label{display:block;margin:12px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}body>main{max-width:700px;margin:30px auto;padding:24px}body[data-pilot=hipson] .primary,body[data-pilot=hipson] .brand-mark{background:#285772;border-color:#285772}@media(max-width:800px){.app-shell{display:block}.workspace-rail{padding:18px 16px;gap:12px}.brand small,.rail-note p,.rail-note small,.nav-current{display:none}.workspace-rail nav{display:flex;flex-wrap:wrap;gap:2px}.workspace-rail nav a,.workspace-rail nav button{padding:6px 10px;font-size:12px}.rail-note{position:absolute;right:12px;top:22px}.beta-label{display:none}.workspace-main{padding:12px 16px 40px}.page-header{margin-bottom:18px}h1{font-size:24px}.task-desk,.login-card,.activation-card{padding:22px 16px}.task-desk h2{font-size:27px}.workspace-status{gap:4px}.choices{gap:8px}.choices button{padding:10px}.composer-actions{flex-wrap:wrap}.help-shortcut{font-size:12px}.result-body{padding:0 16px 16px}dialog{padding:18px}.dialog-top{top:-18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* ── v0.5.0 chat thread (2026-09-11, hipson.cos.luci) ── */
.hq-light{font-size:12px;padding:6px 10px;border-radius:999px;background:#e8edf2;color:#43516a;max-width:52%}.hq-light[data-state=ok]{background:#e3f4ee;color:#1f6b57}.hq-light[data-state=off]{background:#fff1e8;color:#8a4a12}.hq-light[data-state=loading]{opacity:.7}
.thread{display:flex;flex-direction:column;gap:14px;margin-bottom:14px;min-height:120px}.msg{max-width:92%;padding:14px 18px;border-radius:16px;background:white;border:1px solid #dce2eb;position:relative}.msg.user{align-self:flex-end;background:#eef2f7;border-color:#dbe3ee}.msg.luci{align-self:flex-start}.msg .who{display:block;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#6550b9;margin-bottom:6px;font-family:ui-monospace,Menlo,Consolas,monospace}body[data-pilot=hipson] .msg .who,body[data-pilot=hipson] .history .current{color:#285772}
.md p{margin:0 0 10px;line-height:1.6;overflow-wrap:anywhere}.md p:last-child{margin-bottom:0}.md h3,.md h4{margin:12px 0 6px;font-size:16px}.md ul,.md ol{margin:0 0 10px 20px;padding:0}.md li{margin:4px 0;line-height:1.5}.md code{background:#f1eff9;padding:1px 5px;border-radius:4px;font-size:.92em}.md pre{background:#18243b;color:#e8edf2;padding:12px;border-radius:10px;overflow:auto;font-size:13px}
.meta{display:block;margin-top:8px;font-size:11px;color:#8391a7;font-family:ui-monospace,Menlo,Consolas,monospace}.thinking{color:#6550b9;margin:0}.failed{color:#8a2f2f;margin:0}.empty{color:#5c6980;text-align:center;padding:28px 12px;margin:0}
.actions{margin-top:12px;display:flex;flex-direction:column;gap:8px}.actions .action{text-align:left;background:#fffaf0;border-color:#e6c98a;font-weight:600}.actions .action.done{background:#e3f4ee;border-color:#9fd7c3;color:#1f6b57;cursor:default}.actions details{font-size:13px;color:#43516a}.actions summary{cursor:pointer}.actions .draft{border-left:3px solid #cdd5e1;padding:8px 12px;background:#f8f9fc;font-size:14px}
.question{font-weight:600;margin:12px 0 8px}.choices{margin-top:0}
.composer{border:1px solid #cdd5e1;border-radius:14px;padding:12px;background:white}.composer:focus-within{outline:2px solid #907ed0}.composer .composer-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px}
.starters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px}.starters button{font-size:13px;background:#f8f9fc}
.history{display:grid;gap:2px;margin:6px 0 10px}.history button{font-size:12px;text-align:left;color:#43516a;padding:6px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.history .current{background:white;border-radius:8px}
@media(max-width:800px){.hq-light{max-width:100%;margin-top:8px}.page-header{flex-wrap:wrap}.msg{max-width:100%}.history{display:none}}
