:root{color-scheme:dark;--bg: #0f172a;--fg: #e2e8f0;--muted: #94a3b8;--ok: #16a34a;--bad: #dc2626;--accent: #1d4ed8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.5 system-ui,sans-serif}.card{max-width:720px;margin:0 auto;padding:16px;padding-bottom:env(safe-area-inset-bottom)}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}h1{font-size:20px}h2{font-size:17px}h3{font-size:16px}ul{list-style:none;padding:0;display:grid;gap:8px}a{color:inherit}button{font:inherit;padding:8px 12px;border-radius:8px;border:1px solid #334155;background:#1e293b;color:var(--fg)}button.link{border:0;background:none;padding:0;text-align:left;text-decoration:underline}button.ghost{background:transparent;color:var(--muted)}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,a:focus-visible,.switch input:focus-visible+.track{outline:2px solid var(--accent);outline-offset:2px}input{width:100%;padding:10px;border-radius:8px;border:1px solid #334155;background:#0b1220;color:var(--fg)}label{display:grid;gap:4px;margin-bottom:12px}.badge{padding:2px 8px;border-radius:999px;font-size:12px;white-space:nowrap}.badge.ok{background:var(--ok)}.badge.bad{background:var(--bad)}.badge.pending{background:var(--accent)}.note,small{color:var(--muted);font-size:13px}.error{color:#fca5a5}.report pre,.action-details pre{white-space:pre-wrap;word-break:break-word;background:#0b1220;padding:12px;border-radius:8px;margin:0}.messages{display:grid;gap:8px;margin-bottom:12px}.msg{padding:8px 12px;border-radius:12px;background:#1e293b;margin:0;white-space:pre-wrap}.msg.user{background:var(--accent);justify-self:end}.msg.failed{background:#7f1d1d}.msg.capped{background:#78350f}.chat form{display:flex;gap:8px}.login{max-width:380px;padding-top:15vh}.autofix{align-items:flex-start;padding:12px 0;border-bottom:1px solid #1e293b;margin-bottom:4px}.autofix strong{display:block;margin-bottom:2px}.autofix .note{margin:0;max-width:52ch}.autofix .error{margin:6px 0 0;font-size:13px;text-align:right;max-width:22ch}.switch{position:relative;display:inline-flex;flex:0 0 auto;margin-top:2px}.switch input{position:absolute;top:0;right:0;bottom:0;left:0;width:44px;height:26px;margin:0;opacity:0;cursor:pointer}.switch .track{width:44px;height:26px;border-radius:999px;background:#334155;transition:background .18s cubic-bezier(.16,1,.3,1)}.switch .thumb{display:block;width:20px;height:20px;margin:3px;border-radius:50%;background:#e2e8f0;transition:transform .18s cubic-bezier(.16,1,.3,1)}.switch input:checked+.track{background:var(--accent)}.switch input:checked+.track .thumb{transform:translate(18px)}.switch input:disabled+.track{opacity:.5}.actions ul{gap:12px}.action{background:#16213c;border-radius:10px;padding:14px 16px;display:grid;gap:8px}.action.action-ok{background:#132a1d}.action.action-bad{background:#2a1616}.action .row{flex-wrap:wrap}.action-reason{margin:0;font-weight:600}.action-steps{margin:0;font-size:13px}.action-steps .step{color:var(--muted)}.action-steps .step.done{color:var(--fg)}.action-steps .step.active{color:var(--accent);font-weight:600}.action-steps .arrow{color:#475569}.action-buttons{justify-content:flex-start}.action-details{display:grid;gap:8px}.action-details pre{font-size:13px}
