/* The account's pages at samlify.com/account (account-routes.js shell). 29 November 2026 ("looks bad and all is in the
   middle"): one left-aligned column of at most 960 px under a 64 px top bar; the account's sections as cards (plan, use,
   Mac; deleting at the bottom); the plans as three cards side by side, the one open plan with the spectrum edge and the
   one pill. 1 December 2026 ("why is this white"): the same dark look as samlify.com, the story site. The six tokens
   below are its :root (experiments/story-site/before-v4.html: --ground, --raise, --line, --ink, --muted, --faint)
   written over the kit's names, so every kit part (pill, link, card, row) turns dark with no rule of its own; the
   pills turn white with dark text as the story site's do. test/kit-rules.mjs allows these six only in this file and
   in account-routes.js; test/account-dark.test.mjs holds them to the story site's values. Phone first; two or three
   columns from 760 px. */
:root{--kit-ground:#0c0d10;--kit-soft:#15161b;--kit-line:#25272e;--kit-ink:#f3f4f6;--kit-muted:#9a9ea7;--kit-faint:#5d616b;--kit-spectrum:linear-gradient(90deg,#f8d95b,#ee8cc2 33%,#8554e7 66%,#4d97ef);color-scheme:dark}
html{background:var(--kit-ground)}
.acct-page .kit-brand{font-size:18px;font-weight:500;letter-spacing:0}
.acct-top{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:960px;height:64px;margin:0 auto;padding:0 24px;border-bottom:1px solid var(--kit-line)}
.acct{max-width:960px;margin:0 auto;padding:40px 24px 64px;display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.acct>form,.acct>.kit-pill{margin-top:8px}
.acct p{font-size:16px;line-height:24px;color:var(--kit-muted);max-width:36em;text-wrap:pretty}
.acct a:not(.kit-pill){color:var(--kit-ink);text-underline-offset:3px}
.acct strong{color:var(--kit-ink);font-weight:600}
.oauth-copy{display:grid;gap:12px;max-width:40em}
.oauth-copy h1{margin:0;font-size:28px;line-height:34px;font-weight:600;letter-spacing:-.02em;color:var(--kit-ink);text-wrap:balance}
.oauth-copy h2{margin:12px 0 0;font-size:17px;line-height:24px;font-weight:600;color:var(--kit-ink)}

/* The account: its cards. */
.acct-grid{width:100%;display:grid;grid-template-columns:1fr;gap:16px}
.acct-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:24px;background:var(--kit-soft)}
.acct-card>*+*{margin-top:0}
.acct-h{font-size:15px;line-height:20px;font-weight:600;color:var(--kit-ink)}
.acct-card p{font-size:15px;line-height:22px}
.acct-card form{margin-top:4px}
.acct-danger{width:100%;padding-top:12px;padding-bottom:12px}
.acct .kit-more{margin-top:0}
.acct .kit-more-body{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding-top:12px}
/* Samlify in Claude Code (src/connect.js): the one command with its pairing code, selected whole by one click. */
.acct-code{display:block;padding:12px 14px;border:1px solid var(--kit-line);border-radius:12px;background:var(--kit-soft);color:var(--kit-ink);font:15px/22px ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere;user-select:all}

/* Samlify in Claude Code, one step at a time (2 December 2026): a view's parts 20 px apart; the line full width; the
   Connected check as a white disc like the pills (the spectrum stays the open plan's edge only), drawn in once. */
.acct-view{width:100%;gap:20px}
.acct-view .kit-status{margin:0}
.acct-line{width:100%;max-width:40em}
.acct-check{display:grid;place-items:center;width:52px;height:52px;border-radius:999px;background:var(--kit-ink);color:var(--kit-ground)}
.acct-view.is-entering .acct-check{animation:acct-pop 360ms cubic-bezier(.2,.8,.2,1) both}
@keyframes acct-pop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.acct-view.is-entering .acct-check{animation:none}}

/* The plans. */
.plans-head h1{font-size:clamp(30px,5vw,44px);line-height:1.08;letter-spacing:-.035em}
.plans{width:100%;display:grid;grid-template-columns:1fr;gap:16px}
.plan-card{position:relative;display:flex;flex-direction:column;gap:14px;padding:28px 24px 24px;border-radius:22px;background:var(--kit-soft);border:1px solid var(--kit-line)}
.plan-card.is-open{border:1.5px solid transparent;background:linear-gradient(var(--kit-soft),var(--kit-soft)) padding-box,var(--kit-spectrum) border-box}
.plan-name{font-size:15px;font-weight:600;letter-spacing:.01em;color:var(--kit-ink)}
.plan-price{display:flex;align-items:baseline;gap:8px;margin:2px 0 0}
.plan-amount{font-size:48px;line-height:1;font-weight:650;letter-spacing:-.04em;color:var(--kit-ink)}
.plan-per{font-size:15px;color:var(--kit-muted)}
.acct .plan-line{font-size:15px;line-height:22px;min-height:44px}
.plan-card form{margin-top:auto;padding-top:8px}
.plan-card .kit-pill{width:100%}
.plan-card.is-soon .plan-name,.plan-card.is-soon .plan-amount{color:var(--kit-faint)}
.acct .plan-soon{margin-top:auto;height:48px;max-width:none;display:flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid var(--kit-line);color:var(--kit-faint);font-size:14px}
.acct .plans-back{color:var(--kit-muted)}

@media (min-width:760px){
  .acct{padding:56px 32px 96px;gap:32px}
  .acct-top{padding:0 32px}
  .acct-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
  .plans{grid-template-columns:repeat(3,1fr);gap:20px}
  .oauth-copy h1{font-size:32px;line-height:38px}
}

/* Samlify in Claude Code, the saving as bars (src/connect-weekly.js pageBar, 2 December 2026): the old website's usage bar
   (experiments/story-site/before-v4.html .ub-*), the used part its grey, the saved part the three brand colours in the
   SVG's own gradient (the page's CSP allows no inline style). */
.acct-ub{width:100%;max-width:40em;display:grid;gap:10px}
.acct .acct-ub-h{color:var(--kit-ink)}
.acct-ub-row{display:grid;grid-template-columns:120px 1fr;gap:16px;align-items:center;font-size:14px;color:var(--kit-muted)}
.acct-ub-track{display:block}
.acct-ub-used{fill:var(--kit-faint)}
@media (max-width:420px){.acct-ub-row{grid-template-columns:1fr;gap:6px}}
