/* /admin and its "not allowed" page, in the Rodillo look (same tokens as /join and css/app.css). Phone first:
   one column, big touch targets; wider screens just center the column. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
:root {
  --paper: #eceeeb; --sheet: #fbfcfa; --sheet2: #eef1ed; --rule: #dfe3de; --ink: #16181b; --muted: #5f666c; --faint: #8d949a;
  --press: #000; --bad: #cf2f3b; --bad-bg: #fbe1e3; --ok-bg: #dff3e6; --ok-ink: #0f6e3a; --warn-bg: #f3ecd9; --warn-ink: #7a5a12;
  --card-shadow: 0 1px 2px rgba(22, 24, 27, .04), 0 10px 30px rgba(22, 24, 27, .06);
  font-family: "Archivo", system-ui, -apple-system, sans-serif; font-stretch: 100%; color-scheme: light;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #050606; --sheet: #111413; --sheet2: #1b1f1d; --rule: #202523; --ink: #eef1ec; --muted: #98a09a; --faint: #69716b;
    --press: #fff; --bad: #ff5c66; --bad-bg: #3a1519; --ok-bg: #12301f; --ok-ink: #7be3a6; --warn-bg: #2e2612; --warn-ink: #e6c36a;
    --card-shadow: none; color-scheme: dark; }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { min-height: 100vh; padding: max(20px, env(safe-area-inset-top)) 16px max(32px, env(safe-area-inset-bottom)); }
main { max-width: 520px; margin: 0 auto; }
main.narrow { max-width: 440px; padding-top: 12vh; }
.brand { font-size: 26px; font-weight: 850; font-stretch: 125%; letter-spacing: -0.035em; display: flex; align-items: center; gap: 10px; line-height: 1; margin: 4px 4px 20px; }
.logo { width: 46px; height: 19px; flex: none; margin-bottom: 2px; background: var(--ink);
  -webkit-mask: url("/icons/pin.svg") center / contain no-repeat; mask: url("/icons/pin.svg") center / contain no-repeat; }
.tag { font-size: 13px; font-weight: 700; font-stretch: 100%; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  border: 1.5px solid var(--rule); border-radius: 999px; padding: 5px 10px 4px; margin-left: 2px; }
.card { background: var(--sheet); border-radius: 22px; padding: 22px 18px 18px; box-shadow: var(--card-shadow); border: 1px solid var(--rule); margin-bottom: 14px; }
h1 { font-size: 24px; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; margin: 0 0 16px; line-height: 1.1; }
h2 { font-size: 19px; font-weight: 800; font-stretch: 112%; letter-spacing: -0.01em; margin: 0; }
p { margin: 0 0 18px; font-size: 16px; line-height: 1.45; color: var(--muted); }
.field { display: block; margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.field > span, legend { display: block; font-size: 14px; font-weight: 700; color: var(--muted); margin: 0 0 7px 2px; padding: 0; }
.field em { font-style: normal; font-weight: 500; color: var(--faint); }
input[type="email"] { width: 100%; font: inherit; font-size: 17px; padding: 13px 15px; border-radius: 14px; border: 1.5px solid var(--rule);
  background: var(--paper); color: var(--ink); }
input::placeholder { color: var(--faint); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: var(--paper); border: 1.5px solid var(--rule); border-radius: 14px; padding: 3px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 10px 2px; border-radius: 11px; font-size: 15px; font-weight: 650; color: var(--muted); white-space: nowrap; }
.seg input:checked + span { background: var(--sheet); color: var(--ink); box-shadow: 0 1px 3px rgba(22, 24, 27, .12); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 1px; }
button, a.button { font: inherit; cursor: pointer; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--sheet); color: var(--ink);
  padding: 11px 18px; font-size: 15px; font-weight: 650; min-height: 44px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:active, a.button:active { transform: translateY(1px); }
button:disabled { opacity: .5; cursor: default; transform: none; }
button:focus-visible, a.button:focus-visible, input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) { button:hover:not(:disabled), a.button:hover { border-color: var(--ink); } }
button.primary { width: 100%; background: var(--ink); border-color: var(--ink); color: var(--sheet); padding: 14px 22px; font-size: 16px; }
button.dark { background: var(--ink); border-color: var(--ink); color: var(--sheet); }
button.danger { color: var(--bad); }
button.danger[data-armed="1"] { background: var(--bad); border-color: var(--bad); color: #fff; }
.error { color: var(--bad); font-weight: 600; margin: -4px 2px 14px; }
.fresh { border: 1.5px solid var(--ink); }
.kicker { font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--ok-ink); margin: 0 0 6px; }
.big { font-size: 38px; font-weight: 850; font-stretch: 90%; letter-spacing: .06em; line-height: 1.05; margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.link { font-size: 14px; color: var(--ink); word-break: break-all; background: var(--paper); border-radius: 12px; padding: 10px 12px; margin: 0 0 10px; user-select: all; -webkit-user-select: all; }
.list-head { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 6px 10px; }
.count { font-size: 14px; color: var(--muted); font-weight: 600; }
.note { margin: 0 6px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.invite { background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; padding: 14px 14px 12px; }
.invite.used, .invite.expired, .invite.revoked { background: transparent; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.code { font-size: 21px; font-weight: 800; font-stretch: 90%; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.invite.expired .code, .invite.revoked .code { color: var(--faint); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.pill { font-size: 12px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 5px 9px 4px; flex: none; }
.pill.unused { background: var(--ink); color: var(--sheet); }
.pill.used { background: var(--ok-bg); color: var(--ok-ink); }
.pill.expired { background: var(--warn-bg); color: var(--warn-ink); }
.pill.revoked { background: var(--bad-bg); color: var(--bad); }
.detail { font-size: 14px; margin: 0; line-height: 1.4; overflow-wrap: anywhere; }
.actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px; }
.actions button { padding: 10px 6px; font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--sheet); border-radius: 999px; padding: 12px 18px; font-size: 15px; font-weight: 650; transition: opacity .18s, transform .18s;
  max-width: calc(100vw - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
/* riders (launch session 6) */
.rider .who { display: flex; flex-direction: column; min-width: 0; }
.rider .name { font-size: 18px; font-weight: 800; font-stretch: 100%; overflow-wrap: anywhere; }
.rider .email { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.rider.paused { background: transparent; }
.rider.paused .name { color: var(--muted); }
.pill.active { background: var(--ok-bg); color: var(--ok-ink); }
.pill.paused { background: var(--warn-bg); color: var(--warn-ink); }
.pill.admin { background: var(--ink); color: var(--sheet); }
.actions.two { grid-template-columns: 1fr 1fr; }
button.danger.armed:not(:disabled) { background: var(--bad); border-color: var(--bad); color: #fff; }
button[data-action="pause"][data-armed="1"] { background: var(--warn-bg); border-color: var(--warn-ink); color: var(--warn-ink); }
.confirm { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); }
.confirm .field { margin-bottom: 0; }
.confirm .field > span { font-weight: 600; line-height: 1.4; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }
/* the sign-in page at the root (src/pages.js signInPage) */
button.primary { display: flex; align-items: center; justify-content: center; gap: 10px; }
/* the paused page's way out (launch session 6): full width like Continue with Google, but quiet */
button.ghost-wide { width: 100%; gap: 10px; padding: 14px 22px; font-size: 16px; }
.g { width: 18px; height: 18px; flex: none; }
.foot { margin: 18px 6px 0; font-size: 14px; color: var(--muted); }
.foot a, .card a { color: var(--ink); text-underline-offset: 3px; }
/* Rodillo's public home page: the root signed out (launch session 8, src/pages.js signInPage). What it is, the sign-in
   card, what Google sign-in is for, privacy and contact. Phone first; wider screens keep one readable column. */
main.landing { max-width: 560px; padding-top: 7vh; }
.hero-brand { display: flex; align-items: center; gap: 14px; margin: 0 4px 22px; }
.app-icon { width: 64px; height: 64px; border-radius: 15px; flex: none; display: block; }
.hero-brand .name { margin: 0; font-size: 34px; font-weight: 850; font-stretch: 112%; letter-spacing: -0.035em; line-height: 1; color: var(--ink); }
.lede { font-size: 30px; font-weight: 820; font-stretch: 100%; letter-spacing: -0.025em; line-height: 1.12; margin: 0 4px 18px; }
.about { margin: 0 4px 26px; }
.about h2 { font-size: 19px; margin: 0 0 10px; }
.about p { font-size: 17px; line-height: 1.5; color: var(--muted); margin: 0 0 14px; }
.about p:last-child { margin-bottom: 0; }
.landing .card { margin-bottom: 26px; }
.landing .card h2 { font-size: 22px; font-stretch: 112%; margin: 0 0 10px; }
.landing .card p#body { margin-bottom: 18px; }
.invite-line { font-size: 15px; margin: 14px 2px 0; }
.landing .foot { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 4px; font-size: 15px; }
@media (min-width: 700px) {
  .lede { font-size: 38px; }
  .landing .card { padding: 26px 24px 22px; }
}
.app-icon { box-shadow: 0 0 0 1px var(--rule); }
/* connecting an AI app (launch session 8, src/oauth.js consent pages) */
.consent-list { margin: -6px 0 16px; padding-left: 20px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-actions button { width: 100%; }
.warn-note { background: var(--warn-bg); color: var(--warn-ink); border-radius: 12px; padding: 10px 12px; font-size: 15px; }
