/* shell/shell.css — only the standalone shell's own screens: the gate (passcode, unlock, data files) and the update note.
   Colors are the page's tokens (style.css), so the gate follows the saved theme. */
html.cclock .shell,html.cclock .fab{display:none!important}
.ccgate{min-height:100vh;display:grid;place-items:center;padding:24px 16px}
.ccg{width:100%;max-width:420px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:22px 20px}
.ccg h1{font-size:26px;margin:6px 0 10px}
.ccg p{color:var(--fg-dim);font-size:14px;line-height:1.5;margin:0 0 14px}
.ccg code{font-family:var(--font-mono);font-size:12px;color:var(--fg)}
.ccg form{display:grid;gap:12px}
.ccg label:not(.btn){display:grid;gap:6px;font:500 11px var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--fg-faint)}
.ccg input[type=password]{background:var(--bg);color:var(--fg);border:1px solid var(--line-2);border-radius:4px;padding:10px 12px;font:500 20px var(--font-mono);letter-spacing:.4em;width:100%}
.ccg .btn{--c:var(--skill);padding:8px 14px;font-size:14px;justify-content:center;cursor:pointer}
.ccg .ccsmall{font-size:13px;margin-top:16px}
.ccg .ccsmall .btn{padding:3px 8px;font-size:12px}
.ccmsg{min-height:1.2em;color:var(--bad);font-size:13px}
.ccupd{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:60;display:flex;gap:12px;align-items:center;
  background:var(--surface-2);border:1px solid var(--skill);border-radius:6px;padding:8px 12px;font-size:13px;color:var(--fg);max-width:calc(100vw - 32px)}
.live .btn{padding:1px 6px;font-size:11px;margin-left:4px}
.ccg input.ccwide{background:var(--bg);color:var(--fg);border:1px solid var(--line-2);border-radius:4px;padding:10px 12px;font:500 14px var(--font-mono);letter-spacing:0;width:100%;box-sizing:border-box}
.ccg .ccrow{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.ccg .ccmsg{color:var(--bad);font-size:13px;margin:8px 0 0}
.live .amber{color:var(--stale)}
.live .red{color:var(--bad)}
.ccbar{position:sticky;top:0;z-index:70;display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;background:var(--surface-2);border-bottom:2px solid var(--bad);padding:8px 16px;font-size:13px;color:var(--fg)}
.ccbar .btn{padding:3px 10px;font-size:12px}
