:root {
  color-scheme: light;
  /* Same temporary brand contract as the operations UI. */
  --brand-ink: #1a2634; --brand-muted: #6f7c89; --brand-line: #e5e9ee;
  --brand-surface: #fff; --brand-canvas: #f5f7f9; --brand-primary: #24394e;
  --brand-accent: #0f7d78; --brand-accent-soft: #e8f5f3;
  --brand-success: #19715a; --brand-success-soft: #eaf7f0;
  --brand-warning: #a36b12; --brand-warning-soft: #fff6e4;
  --brand-danger: #b44c55; --brand-danger-soft: #fff0f1;
  --ink: var(--brand-ink); --muted: var(--brand-muted); --line: var(--brand-line);
  --surface: var(--brand-surface); --canvas: var(--brand-canvas); --navy: var(--brand-primary);
  --teal: var(--brand-accent); --teal-soft: var(--brand-accent-soft);
  --green: var(--brand-success); --green-soft: var(--brand-success-soft);
  --amber: var(--brand-warning); --amber-soft: var(--brand-warning-soft);
  --red: var(--brand-danger); --red-soft: var(--brand-danger-soft);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #71bdb5; outline-offset: 2px; }
.skip-link { position: absolute; left: 12px; top: -50px; z-index: 2; padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--navy); }.skip-link:focus { top: 12px; }
.account-shell { width: min(960px, calc(100% - 32px)); min-height: 100vh; margin: 0 auto; padding-bottom: 70px; }.account-header { min-height: 76px; display: flex; justify-content: space-between; align-items: center; }.wordmark { display: flex; gap: 10px; align-items: center; color: var(--navy); font-size: 13px; font-weight: 850; letter-spacing: .12em; text-decoration: none; }.mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: var(--navy); font-size: 17px; letter-spacing: 0; }.test-badge { display: flex; gap: 7px; align-items: center; padding: 7px 10px; border: 1px solid #cfe8e4; border-radius: 999px; color: var(--teal); background: var(--teal-soft); font-size: 11px; font-weight: 750; }.test-badge span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hero { padding: 54px 0 30px; }.eyebrow { margin: 0 0 7px; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .15em; }.eyebrow.accent { color: var(--teal); }h1, h2, h3, p { margin-top: 0; }h1 { margin-bottom: 11px; color: var(--navy); font-size: clamp(32px, 5vw, 48px); letter-spacing: -.055em; line-height: 1; }.hero > p:last-child { max-width: 540px; margin-bottom: 0; color: var(--muted); line-height: 1.6; }.card { margin-top: 18px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: 0 4px 20px rgba(27,45,62,.035); }.card h2 { margin-bottom: 7px; color: var(--navy); font-size: 24px; letter-spacing: -.04em; }.muted { color: var(--muted); font-size: 13px; line-height: 1.55; }.login-form { display: grid; gap: 9px; max-width: 420px; margin-top: 22px; }.login-form label { color: var(--navy); font-size: 12px; font-weight: 750; }.login-form input { height: 44px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; color: var(--ink); }.button { min-height: 42px; padding: 0 15px; border: 1px solid transparent; border-radius: 10px; font-size: 12px; font-weight: 800; }.primary { color: #fff; background: var(--navy); }.secondary { border-color: var(--line); color: var(--navy); background: #fff; }.button.secondary { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }.form-status, .page-status { min-height: 18px; margin: 14px 0 0; color: var(--green); font-size: 12px; }.is-error { color: var(--red) !important; }.test-note { margin: 22px 0 0; padding: 11px 13px; border-radius: 9px; color: var(--amber); background: var(--amber-soft); font-size: 11px; }.section-heading { display: flex; justify-content: space-between; align-items: start; gap: 18px; }.section-heading h2 { margin-bottom: 4px; }.section-heading .muted { margin-bottom: 0; font-size: 11px; }.library-list { margin-top: 22px; border-top: 1px solid var(--line); }.book-row { display: grid; grid-template-columns: 40px minmax(0,1fr) auto auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }.book-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--teal); background: var(--teal-soft); }.book-main h3 { margin: 0 0 4px; color: var(--navy); font-size: 14px; }.book-main p { margin: 0; color: var(--muted); font-size: 11px; }.book-meta { display: grid; justify-items: end; gap: 7px; }.book-meta strong { color: var(--navy); font-size: 12px; }.status { padding: 6px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; white-space: nowrap; }.status.neutral { color: var(--muted); background: #eef1f4; }.status.success, .status.ready { color: var(--green); background: var(--green-soft); }.status.progress { color: #326b9b; background: #edf5fb; }.status.danger { color: var(--red); background: var(--red-soft); }.book-action { min-width: 180px; text-align: right; }.pending-copy { color: var(--muted); font-size: 10px; line-height: 1.4; }.empty-state { display: grid; justify-items: center; padding: 44px 20px 30px; text-align: center; }.empty-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; color: var(--teal); background: var(--teal-soft); font-size: 22px; }.empty-state h3 { margin-bottom: 6px; color: var(--navy); font-size: 15px; }.empty-state p { max-width: 330px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.section-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: end; }
.status-copy { max-width: 220px; margin: 0 0 7px auto; color: var(--muted); font-size: 11px; line-height: 1.4; }
@media (max-width: 680px) { .section-actions { justify-content: start; margin-top: 16px; } .status-copy { margin-left: 0; } }
@media (max-width: 680px) { .account-shell { width: min(100% - 24px, 560px); }.account-header { min-height: 68px; }.hero { padding-top: 38px; }.section-heading { display: block; }.section-heading .button { margin-top: 16px; }.book-row { grid-template-columns: 38px minmax(0,1fr); gap: 10px 12px; }.book-meta { display: flex; grid-column: 2; justify-content: space-between; justify-items: start; }.book-action { grid-column: 2; min-width: 0; text-align: left; } }
