/* shared/shell.css */
:root{
  --bg:#0f1216; --surface:#171c22; --surface-2:#1f262e; --line:#2a333d;
  --text:#e8edf2; --muted:#9aa7b4; --accent:#4cc2ff; --good:#37d39b; --warn:#ffb454;
  --r:14px; --space:clamp(12px,2vw,20px);
}
*{box-sizing:border-box} html,body{margin:0}
body{background:var(--bg);color:var(--text);font:16px/1.5 system-ui,Segoe UI,Roboto,sans-serif}
.app{max-width:760px;margin:0 auto;padding:var(--space)}
.hdr{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:var(--space)}
.ring{--p:0;width:54px;height:54px;border-radius:50%;
  background:conic-gradient(var(--good) calc(var(--p)*1%),var(--surface-2) 0);
  display:grid;place-items:center}
.ring span{width:42px;height:42px;border-radius:50%;background:var(--bg);display:grid;place-items:center;font-size:12px;color:var(--muted)}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chip{background:var(--surface-2);border:1px solid var(--line);border-radius:999px;padding:2px 10px;font-size:12px;color:var(--muted)}
.group{margin:var(--space) 0}
.group h2{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 8px}
.quest{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:12px;margin-bottom:10px}
.quest .top{display:flex;justify-content:space-between;gap:10px;align-items:center}
.quest .ttl{font-weight:600}
.quest .meta{font-size:12px;color:var(--muted)}
.dots{display:flex;gap:6px;margin-top:10px}
.dot{width:26px;height:26px;border-radius:8px;border:1px solid var(--line);background:var(--surface-2);color:var(--muted);font-size:11px;display:grid;place-items:center;cursor:pointer}
.dot.on{background:var(--good);color:#06281d;border-color:transparent}
.wbtn{margin-top:10px;background:var(--surface-2);border:1px solid var(--line);color:var(--text);border-radius:10px;padding:8px 12px;cursor:pointer}
.wbtn.done{background:var(--good);color:#06281d;border-color:transparent}
.cta{display:block;width:100%;margin-top:var(--space);background:var(--accent);color:#04222e;border:0;border-radius:12px;padding:14px;font-weight:700;cursor:pointer}
.empty{color:var(--muted);text-align:center;padding:40px 0}
