    /* ── Theme ───────────────────────────────────────────────────────────
       Carbon: the product's default palette. Neutral black and white with a
       single sunset accent; the logo supplies the colour. Light mode follows
       the visitor's OS — these pages have no theme picker of their own.
       Keep in sync with claude-dashboard/client/src/index.css. */
    :root {
      --bg: #0b0b0c;
      --surface: #141416;
      --hover: #1e1e21;
      --border: #26262a;
      --text: #f4f3f0;
      --muted: #a5a29c;
      --dim: #6f6c67;
      --primary: #f4f3f0;
      --primary-hover: #ffffff;
      --primary-fg: #0b0b0c;
      --primary-soft: #d8d6d1;
      --accent: #ff7a2f;
      --danger: #f0563d;
      --danger-soft: #ff8b78;
      --danger-dark: #cf432d;
      --warning: #f0a63c;
      --success: #5ec08c;
      /* The logo's sunset bands — brand, not UI. Hairlines and loading bars only. */
      --brand-gradient: linear-gradient(
        90deg, #ffd41c, #ffa419, #ff3f16, #ff2a50, #ee2975, #b027a3, #6b27c1
      );
    }

    @media (prefers-color-scheme: light) {
      :root {
        --bg: #ffffff;
        --surface: #fafaf8;
        --hover: #f1f0ed;
        --border: #e5e4df;
        --text: #101011;
        --muted: #5b5852;
        --dim: #8c8983;
        --primary: #101011;
        --primary-hover: #2b2b2d;
        --primary-fg: #ffffff;
        --primary-soft: #3a3a3c;
        --accent: #e2560f;
        --danger: #c33d22;
        --danger-soft: #a3311a;
        --danger-dark: #a3311a;
        --warning: #b7791f;
        --success: #1f8a5b;
      }
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .container {
      width: 100%;
      max-width: 400px;
      padding: 2rem;
    }
    h1 {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      text-align: center;
    }
    .subtitle {
      color: var(--muted);
      text-align: center;
      margin-bottom: 2rem;
      font-size: 0.875rem;
    }
    .form-group {
      margin-bottom: 1rem;
    }
    label {
      display: block;
      font-size: 0.875rem;
      font-weight: 500;
      margin-bottom: 0.375rem;
      color: var(--muted);
    }
    input {
      width: 100%;
      padding: 0.625rem 0.75rem;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 0.5rem;
      color: var(--text);
      font-size: 0.875rem;
      outline: none;
      transition: border-color 0.15s;
    }
    input:focus {
      border-color: var(--primary);
    }
    .hint {
      font-size: 0.75rem;
      color: var(--dim);
      margin-top: 0.25rem;
    }
    .btn {
      width: 100%;
      padding: 0.625rem;
      background: var(--primary);
      color: var(--primary-fg);
      border: none;
      border-radius: 0.5rem;
      font-size: 0.875rem;
      font-weight: 600;
      cursor: pointer;
      margin-top: 0.5rem;
      transition: background 0.15s;
    }
    .btn:hover { background: var(--primary-hover); }
    .btn:disabled { opacity: 0.5; cursor: not-allowed; }
    .error {
      color: var(--danger);
      font-size: 0.8125rem;
      margin-top: 0.5rem;
      display: none;
    }
    .link {
      text-align: center;
      margin-top: 1rem;
      font-size: 0.8125rem;
      color: var(--muted);
    }
    .link a {
      color: var(--primary);
      text-decoration: none;
    }
    .link a:hover { text-decoration: underline; }
    /* One hairline of the logo's spectrum across the top — the single place
       the brand gradient appears in the interface. */

    /* These pages centre a single card with flex; the lockup sits above it,
       so the main axis has to run down the page rather than across it. */
    body {
      flex-direction: column;
    }
    .brand-rail {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--brand-gradient);
    }
    .brand-lockup {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.6rem;
      margin-bottom: 1.5rem;
    }
    .brand-lockup img { width: 56px; height: 56px; }
    .brand-lockup span {
      font-size: 0.95rem;
      font-weight: 600;
      letter-spacing: -0.01em;
      color: var(--text);
    }

    /* ── Account pages: shared extras (signup, forgot/reset, verify) ── */
    .label-row { display: flex; justify-content: space-between; align-items: baseline; }
    .label-row a { font-size: 0.75rem; color: var(--muted); text-decoration: none; }
    .label-row a:hover { color: var(--text); text-decoration: underline; }
    .pw-wrap { position: relative; }
    .pw-wrap input { padding-right: 3.5rem; }
    .pw-toggle {
      position: absolute; right: 0.375rem; top: 50%; transform: translateY(-50%);
      background: none; border: 0; color: var(--muted); font-size: 0.75rem; cursor: pointer;
      padding: 0.25rem 0.5rem; border-radius: 0.375rem;
    }
    .pw-toggle:hover { color: var(--text); background: var(--hover); }
    .meter { display: flex; gap: 4px; margin-top: 0.5rem; }
    .meter span { flex: 1; height: 4px; border-radius: 2px; background: var(--border); transition: background 0.2s; }
    .meter[data-score="0"] span:nth-child(-n+1),
    .meter[data-score="1"] span:nth-child(-n+1) { background: var(--danger); }
    .meter[data-score="2"] span:nth-child(-n+2) { background: var(--warning); }
    .meter[data-score="3"] span:nth-child(-n+3) { background: var(--success); }
    .meter[data-score="4"] span:nth-child(-n+4) { background: var(--success); }
    .pw-feedback { font-size: 0.75rem; margin-top: 0.375rem; color: var(--muted); min-height: 1rem; }
    .pw-feedback strong { font-weight: 600; color: var(--text); }
    .pw-feedback.bad strong { color: var(--danger); }
    .pw-feedback.good strong { color: var(--success); }
    .pw-feedback ul { margin: 0.25rem 0 0 1rem; color: var(--dim); }
    .address {
      display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
      font-size: 0.8125rem; color: var(--muted); padding: 0.5rem 0.75rem;
      background: var(--surface); border: 1px dashed var(--border); border-radius: 0.5rem;
    }
    .address b { color: var(--text); font-weight: 600; word-break: break-all; }
    .address button {
      background: none; border: 0; color: var(--muted); font-size: 0.75rem; cursor: pointer; white-space: nowrap;
      text-decoration: underline;
    }
    .address button:hover { color: var(--text); }
    .suffix-input { display: flex; align-items: center; gap: 0.375rem; }
    .suffix-input span { font-size: 0.8125rem; color: var(--dim); white-space: nowrap; }
    .notice {
      font-size: 0.875rem; line-height: 1.55; color: var(--muted); text-align: center;
      background: var(--surface); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.25rem;
    }
    .notice b { color: var(--text); word-break: break-all; }
    .notice .spinner {
      width: 18px; height: 18px; margin: 0.75rem auto 0; border-radius: 50%;
      border: 2px solid var(--border); border-top-color: var(--accent); animation: spin 0.9s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
    .btn-ghost {
      background: transparent; color: var(--text); border: 1px solid var(--border);
    }
    .btn-ghost:hover { background: var(--hover); }
    .success-text { color: var(--success); font-size: 0.8125rem; margin-top: 0.5rem; }
    .hidden { display: none !important; }

    /* ── Delete account page ── */
    .container.wide { max-width: 460px; }
    .notice.left { text-align: left; margin-bottom: 1.5rem; }
    .notice .list { margin: 0.375rem 0 0.875rem 1.1rem; }
    .notice .list li { margin-bottom: 0.25rem; }
    .notice .fine { font-size: 0.8125rem; color: var(--dim); }
    .btn-danger { background: var(--danger); color: #fff; }
    .btn-danger:hover { background: var(--danger-dark); }
    .btn-link { display: block; text-align: center; text-decoration: none; }
