/* The hosted build's sign-in, consent and account screens (#auth-root) and the account menu over the hub (#auth-bar).
   Same colours and fonts as the start page (shell.css). Only the hosted build loads this file. */
#auth-root {
  --a-navy: #0B2D33; --a-ink: #0B2D33; --a-muted: #4F6B6E; --a-line: #D3E2E1; --a-bg: #EEF5F4; --a-card: #FFFFFF;
  --a-accent: #0B7A5C; --a-good-soft: #E2F6EE; --a-bad: #C03A2E; --a-bad-soft: #FDF0EE; --a-warn: #9A6516; --a-warn-soft: #FDF6EA;
  --a-font: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif; --a-mono: 'DM Mono', ui-monospace, Menlo, monospace;
  background: var(--a-bg); color: var(--a-ink); font-family: var(--a-font); font-size: 15px; line-height: 1.5; min-height: 100vh;
}
html[lang="km"] #auth-root, html[lang="km"] #auth-bar { --a-font: 'Manrope', 'Noto Sans Khmer', 'Segoe UI', system-ui, sans-serif; }
/* gym round 11, 1.6: the account badge (the role label under the name) is drawn in the Khmer font too; its own font list had none, so
   Khmer fell back to a font that draws it in pieces */
html[lang="km"] #auth-bar { font-family: var(--a-font); }
#auth-root[hidden], #auth-bar[hidden] { display: none; }
#auth-root .a-band { background: var(--a-navy); color: #FFFFFF; padding-top: env(safe-area-inset-top, 0px); }
#auth-root .a-in { max-width: 720px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
#auth-root .a-band .a-in { display: flex; align-items: center; gap: 10px; padding-block: 12px; }
#auth-root .a-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--a-accent); display: inline-flex; align-items: center; justify-content: center; }
#auth-root .a-lang { margin-left: auto; }
#auth-root .a-lang select { font: inherit; font-size: 14px; padding: 4px 8px; border-radius: 8px; border: 1px solid #1E4A50; background: #123E45; color: #FFFFFF; }
#auth-root .a-main { padding-block: 24px 48px; }
#auth-root .a-main.a-wide { max-width: 1000px; }
#auth-root h1 { font-size: 26px; line-height: 1.25; margin: 4px 0 14px; }
#auth-root h1:focus { outline: none; }
#auth-root h2 { font-size: 18px; margin: 0 0 8px; }
#auth-root .a-lead { color: var(--a-muted); max-width: 64ch; }
#auth-root .a-small { color: var(--a-muted); font-size: 13.5px; }
#auth-root .a-card { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 14px; padding: 18px 20px; margin: 0 0 16px; }
#auth-root .a-form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
#auth-root .a-form.a-row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; max-width: none; }
#auth-root .a-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; }
#auth-root .a-form label.a-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; }
#auth-root .a-form [hidden] { display: none !important; }
#auth-root .a-form input:not([type="checkbox"]), #auth-root .a-form select { font: inherit; font-weight: 400; font-size: 16px; padding: 9px 11px; border-radius: 9px; border: 1px solid #8FB3B5; background: #FFFFFF; color: var(--a-ink); min-width: 0; }
#auth-root .a-form input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; flex: none; }
#auth-root .a-btn { font: 600 15px/1 var(--a-font); min-height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--a-line); background: #FFFFFF; color: var(--a-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
#auth-root .a-btn.primary { background: var(--a-navy); border-color: var(--a-navy); color: #FFFFFF; }
#auth-root .a-btn.danger { color: var(--a-bad); }
#auth-root .a-btn.small { min-height: 34px; font-size: 13.5px; padding: 0 10px; }
#auth-root .a-btn:disabled { opacity: .55; cursor: wait; }
#auth-root .a-btn:focus-visible, #auth-root a:focus-visible, #auth-root input:focus-visible, #auth-root select:focus-visible { outline: 3px solid var(--a-accent); outline-offset: 2px; }
#auth-root .a-msg { padding: 10px 12px; border-radius: 9px; margin: 0 0 14px; }
#auth-root .a-msg.a-good { background: var(--a-good-soft); color: var(--a-accent); }
#auth-root .a-msg.a-info { background: var(--a-good-soft); color: var(--a-ink); }
#auth-root .a-msg.a-bad { background: var(--a-bad-soft); color: var(--a-bad); }
#auth-root .a-draft { background: var(--a-warn-soft); color: var(--a-warn); border: 1px dashed var(--a-warn); padding: 8px 12px; border-radius: 9px; font-weight: 700; }
#auth-root .a-list { padding-left: 20px; max-width: 70ch; }
#auth-root .a-list li { margin: 0 0 8px; }
#auth-root .a-steps { padding-left: 22px; }
#auth-root .a-qrbox { background: #FFFFFF; display: inline-block; padding: 10px; border-radius: 12px; border: 1px solid var(--a-line); }
#auth-root .a-qr { width: 220px; height: 220px; display: block; }
#auth-root .a-secret, #auth-root .a-ident { font-family: var(--a-mono); font-size: 15px; word-break: break-all; background: #FFFFFF; border: 1px solid var(--a-line); border-radius: 8px; padding: 4px 8px; }
#auth-root p.a-ident { display: inline-block; margin: 0 0 8px; }
#auth-root .a-link { word-break: break-all; font-size: 13px; }
#auth-root .a-back { color: var(--a-accent); font-weight: 600; text-decoration: none; }
#auth-root .a-table-wrap { overflow-x: auto; }
#auth-root .a-table { border-collapse: collapse; width: 100%; font-size: 14px; }
#auth-root .a-table th, #auth-root .a-table td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--a-line); vertical-align: top; }
#auth-root .a-table tr.a-closed td { color: var(--a-muted); }
/* the actions cell stays a table cell (a flex cell stops being one, so its lines no longer met the row's: owner's check of 3.2);
   the buttons are laid out by a box inside it */
#auth-root .a-actions-in { display: flex; flex-wrap: wrap; gap: 6px; }
/* a long address or a name with no spaces breaks inside its cell rather than widening the table */
#auth-root .a-addr, #auth-root .a-name { overflow-wrap: anywhere; }
#auth-root .a-table .a-narrow { display: none; }
/* a phone: the role and status move under the name, so the row (name, address, buttons) fits without scrolling sideways */
@media (max-width: 640px) {
  #auth-root .a-table .a-wide { display: none; }
  #auth-root .a-table .a-narrow { display: inline; }
  #auth-root .a-table { font-size: 13px; }
  #auth-root .a-table th, #auth-root .a-table td { padding: 8px 4px; }
  #auth-root .a-actions-in { flex-direction: column; align-items: stretch; }
  #auth-root .a-actions-in .a-btn.small { min-height: 34px; height: auto; padding: 6px 8px; font-size: 12.5px; line-height: 1.2; white-space: normal; text-align: center; }
}
#auth-root .a-rows { list-style: none; padding: 0; margin: 0 0 12px; }
#auth-root .a-rows li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--a-line); }
#auth-root .a-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* the account menu over the hub. Owner, 22 Nov 2026: bottom left, above Settings in each app's sidebar (src/auth/acct-place.ts
   places it; html[data-acct] says where: side, rail, top or corner). The rules at the end of this file override this first one. */
#auth-bar { position: fixed; right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 2147483000; font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif; font-size: 14px; }
#auth-bar .a-menu > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; align-items: flex-end; padding: 8px 14px; border-radius: 999px; background: #0B2D33; color: #FFFFFF; box-shadow: 0 4px 16px rgba(11,45,51,.25); }
#auth-bar .a-menu > summary::-webkit-details-marker { display: none; }
#auth-bar .a-who { font-weight: 700; }
#auth-bar .a-role { font-size: 12px; color: #D3E2E1; }
#auth-bar .a-menu-body { position: absolute; right: 0; bottom: calc(100% + 8px); display: flex; flex-direction: column; gap: 6px; background: #FFFFFF; color: #0B2D33; border: 1px solid #D3E2E1; border-radius: 12px; padding: 10px; min-width: 240px; box-shadow: 0 8px 24px rgba(11,45,51,.2); }
#auth-bar .a-btn { font: 600 14px/1.2 inherit; font-family: inherit; min-height: 38px; padding: 8px 12px; border-radius: 9px; border: 1px solid #D3E2E1; background: #FFFFFF; color: #0B2D33; cursor: pointer; text-align: left; text-decoration: none; }
#auth-bar .a-msg { margin: 0 0 4px; padding: 8px 10px; border-radius: 8px; background: #E2F6EE; color: #0B7A5C; }
#auth-bar .a-msg.a-bad { background: #FDF0EE; color: #C03A2E; }
@media print { #auth-bar { display: none !important; } }

/* step 3.1: the player's own profile, the kiosk's list, and what the club's server did with a change (over the hub) */
#auth-root .a-own-name { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
#auth-root .a-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
#auth-root .a-facts dt { color: var(--a-muted); }
#auth-root .a-facts dd { margin: 0; font-weight: 600; }
#auth-root .a-kiosk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
#auth-root .a-kiosk-list li { border: 1px solid var(--a-line); border-radius: 10px; padding: 8px 12px; }
#auth-root .a-kiosk-list b { display: inline-block; min-width: 2.2em; color: var(--a-accent); }
.a-server-msg { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: min(520px, calc(100vw - 32px)); font: 14px/1.45 'Manrope', 'Noto Sans Khmer', 'Segoe UI', system-ui, sans-serif; }
.a-server-msg:empty { display: none; }
.a-server-msg[data-tone] { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; box-shadow: 0 6px 24px rgba(11, 45, 51, .18); background: #FFFFFF; color: #0B2D33; border: 1px solid #D3E2E1; }
.a-server-msg[data-tone="bad"] { background: #FDF0EE; color: #8E2A21; border-color: #F0C4BE; }
.a-server-msg[data-tone="good"] { background: #E2F6EE; color: #0B5C45; border-color: #B7E3D2; }
.a-server-msg p { margin: 0; flex: 1; }
.a-server-msg .a-btn { font: 600 13px/1 inherit; min-height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }

/* step 3.2: the wellness check-in (the kiosk tablet and the player's own page) */
#auth-root .ci-kiosk { max-width: 980px; margin: 0 auto; }
#auth-root .ci-date { margin: 0; color: var(--a-muted, #4F6B6E); }
#auth-root .ci-grid { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
#auth-root .ci-name { width: 100%; min-height: 56px; display: flex; align-items: center; gap: 10px; text-align: left; font: inherit; font-size: 17px; padding: 10px 14px; border: 1px solid var(--a-line); border-radius: 12px; background: var(--a-card); color: inherit; cursor: pointer; }
#auth-root .ci-name.done { border-color: #0E8A68; background: #E2F6EE; color: #0B2D33; }
#auth-root .ci-num { min-width: 2.2em; color: var(--a-accent); }
#auth-root .ci-tick { margin-left: auto; color: #0B7A5C; font-weight: 700; }
#auth-root .ci-tablet { margin-top: 32px; }
#auth-root .ci-dots { display: flex; gap: 14px; justify-content: center; margin: 18px 0; }
#auth-root .ci-dots span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--a-accent); }
#auth-root .ci-dots span.on { background: var(--a-accent); }
#auth-root .ci-pad { display: grid; grid-template-columns: repeat(3, minmax(72px, 110px)); gap: 12px; justify-content: center; }
#auth-root .ci-key { min-height: 64px; font: inherit; font-size: 24px; border: 1px solid var(--a-line); border-radius: 14px; background: var(--a-card); color: inherit; cursor: pointer; }
#auth-root .ci-form { display: grid; gap: 14px; }
#auth-root .ci-q { border: 1px solid var(--a-line); border-radius: 12px; padding: 12px 14px; margin: 0; }
#auth-root .ci-q legend { display: flex; flex-direction: column; font-weight: 700; padding: 0 4px; }
#auth-root .ci-qs { font-weight: 400; font-size: 14px; }
#auth-root .ci-anchors { display: flex; justify-content: space-between; font-size: 13px; margin: 4px 0 6px; }
#auth-root .ci-scale { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
#auth-root .ci-opt { position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--a-line); border-radius: 10px; cursor: pointer; font-weight: 700; }
#auth-root .ci-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
#auth-root .ci-opt.on { background: var(--a-accent); color: #FFFFFF; border-color: var(--a-accent); }
#auth-root .ci-opt:focus-within { outline: 3px solid var(--a-accent); outline-offset: 2px; }
#auth-root .ci-areas { display: flex; flex-wrap: wrap; gap: 8px; }
#auth-root .ci-area { font: inherit; padding: 8px 12px; border: 1px solid var(--a-line); border-radius: 999px; background: var(--a-card); color: inherit; cursor: pointer; }
#auth-root .ci-area[aria-pressed="true"] { background: #FDF6EA; border-color: #D98B2B; color: #9A6516; font-weight: 700; }
#auth-root .ci-comment { display: grid; gap: 6px; }
#auth-root .ci-comment textarea { font: inherit; padding: 8px 10px; border: 1px solid var(--a-line); border-radius: 10px; }
#auth-root .ci-thanks { text-align: center; }
#auth-root .ci-big { font-size: 64px; color: #0B7A5C; margin: 12px 0 0; }

/* step 3.3: the gym on the player's own page and on the kiosk tablet */
/* Phase 5 (Stage 2): gym entries waiting on the phone, and those the server refused */
#auth-root .gy-outbox { border: 1px solid var(--a-line); border-radius: 12px; padding: 10px 14px; margin: 0 0 12px; background: var(--a-warn-soft); }
#auth-root .gy-outbox h3 { font-size: 15px; margin: 0 0 4px; color: var(--a-warn); }
#auth-root .gy-outbox.gy-failed { background: var(--a-bad-soft); }
#auth-root .gy-outbox.gy-failed h3 { color: var(--a-bad); }
#auth-root .gy-qlist { margin: 6px 0; padding-left: 18px; overflow-wrap: anywhere; }
/* Phase 5 (Stage 2): "A new version of the app is ready. Reload" (pwa/register.ts), over every screen */
.app-update { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 2147483000; display: flex; gap: 12px; align-items: center; justify-content: space-between;
  background: #0B2D33; color: #FFFFFF; padding: 10px 14px; border-radius: 12px; font: 600 15px/1.35 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif; box-shadow: 0 4px 16px rgba(0, 0, 0, .25); max-width: 560px; margin: 0 auto; }
.app-update button { font: inherit; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 0; background: #6EF0C2; color: #0B2D33; cursor: pointer; }
#auth-root .gy-pick { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; }
#auth-root .gy-pick select { font: inherit; padding: 6px 8px; border: 1px solid var(--a-line); border-radius: 8px; }
#auth-root .gy-title { font-weight: 700; margin: 0 0 8px; }
#auth-root .gy-sec h3 { font-size: 15px; margin: 14px 0 6px; }
#auth-root .gy-list, #auth-root .gy-hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
#auth-root .gy-hist { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
#auth-root .gy-ex { border: 1px solid var(--a-line); border-radius: 12px; padding: 10px 12px; background: var(--a-card); }
#auth-root .gy-ex.done { border-color: #0E8A68; }
#auth-root .gy-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
#auth-root .gy-name { font-size: 16px; }
#auth-root .gy-tick { font: inherit; font-weight: 600; min-height: 40px; padding: 0 12px; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-card); color: inherit; cursor: pointer; }
#auth-root .gy-tick[aria-pressed="true"], #auth-root .gy-tick.on { background: #E2F6EE; border-color: #0E8A68; color: #0B5C45; }
#auth-root .gy-dose { margin: 4px 0; font-weight: 600; }
#auth-root .gy-note, #auth-root .gy-cue { margin: 4px 0; font-size: 14px; color: var(--a-muted); }
#auth-root .gy-sets { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
#auth-root .gy-set { display: grid; gap: 2px; font-size: 12px; color: var(--a-muted); }
#auth-root .gy-set input { width: 78px; min-height: 44px; font: inherit; font-size: 17px; padding: 4px 8px; border: 1px solid var(--a-line); border-radius: 9px; color: var(--a-ink); }
#auth-root .gy-bw { align-self: end; font: inherit; font-weight: 700; min-height: 44px; min-width: 56px; padding: 0 12px; border: 1px solid var(--a-line); border-radius: 9px; background: var(--a-card); color: var(--a-ink); cursor: pointer; }
#auth-root .gy-bw[aria-pressed="true"] { background: #E2F6EE; border-color: #0E8A68; color: #0B5C45; }
#auth-root .gy-ss { border-left: 4px solid #6A4FC8; border-radius: 4px 12px 12px 4px; padding: 0 0 0 10px; }
#auth-root .gy-ss-h { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: #5A3FB5; }
#auth-root .gy-none { color: var(--a-muted); }

/* Step 3.5: a player's own rehab plan (rehab-screen.ts) */
#auth-root .rh-plan + .rh-plan { margin-top: 18px; padding-top: 14px; border-top: 1px solid currentColor; }
#auth-root .rh-plan h3 { font-size: 15px; margin: 14px 0 6px; }
#auth-root .rh-phases, #auth-root .rh-ms, #auth-root .rh-crit { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
#auth-root .rh-phase[data-status="done"] > b { opacity: .75; }
#auth-root .rh-crit li[data-met="true"] { font-weight: 600; background: var(--a-good-soft); color: var(--a-accent); border-radius: 8px; padding: 2px 8px; margin-left: -8px; }

/* ---------- the account badge's places (owner, 22 Nov 2026; src/auth/acct-place.ts) ---------- */
#auth-bar { right: auto; bottom: auto; left: 16px; top: auto; }
html[data-acct="corner"] #auth-bar { bottom: 16px; }
#auth-bar .a-menu { height: 100%; }
#auth-bar .a-menu > summary { align-items: flex-start; box-sizing: border-box; height: 100%; justify-content: center; gap: 1px; }
#auth-bar .a-ini { display: none; }
#auth-bar .a-who, #auth-bar .a-role { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* in a sidebar: one card across the sidebar, in its colours, the menu opening upwards */
html[data-acct="side"] #auth-bar .a-menu > summary { border-radius: 12px; padding: 6px 12px; background: #123E45; box-shadow: inset 0 0 0 1px #1E4A50; }
html[data-acct="side"] #auth-bar .a-menu > summary:hover { background: #1E4A50; }
#auth-bar .a-menu-body { left: 0; right: auto; }
/* the rail and a narrow screen's top bar: a round icon with the initials */
html[data-acct="rail"] #auth-bar .a-menu > summary, html[data-acct="top"] #auth-bar .a-menu > summary { width: 100%; height: 100%; padding: 0; border-radius: 50%; align-items: center; background: #6EF0C2; color: #0B2D33; box-shadow: 0 0 0 2px #0B2D33; }
html[data-acct="rail"] #auth-bar .a-ini, html[data-acct="top"] #auth-bar .a-ini { display: block; font-weight: 800; font-size: 14px; letter-spacing: .02em; }
html[data-acct="rail"] #auth-bar .a-who, html[data-acct="rail"] #auth-bar .a-role, html[data-acct="top"] #auth-bar .a-who, html[data-acct="top"] #auth-bar .a-role { display: none; }
/* on a narrow screen the menu opens downwards, under the icon, at the right */
html[data-acct="top"] #auth-bar .a-menu-body { left: auto; right: 0; bottom: auto; top: calc(100% + 8px); }
/* the reserved space above Settings that the badge sits on (put there by acct-place.ts) */
.acct-slot { flex: none; height: 52px; margin-top: auto; width: 100%; box-sizing: border-box; }
.acct-slot + * { margin-top: 0 !important; }
@media screen and (min-width: 1024px) and (max-width: 1439px) { .acct-slot { height: 56px; } }
@media (max-width: 1023px) {
  .acct-slot { display: none; }
  /* room at the right end of each app's top bar for the round icon */
  html[data-acct="top"] #test-root .top-in, html[data-acct="top"] #gym-root .gtop-in { padding-right: 64px; }
  html[data-acct="top"] #gps-root .side-foot, html[data-acct="top"] #med-root .side-foot, html[data-acct="top"] #rehab-root .side-foot { right: 68px !important; }
  html[data-acct="top"] #gps-root .side .xapp-lead, html[data-acct="top"] #med-root .side .xapp-lead, html[data-acct="top"] #rehab-root .side .xapp-lead { padding-right: 56px; }
}
/* what the server did with a change: a strip at the bottom left, now beside the sidebar instead of over it */
@media screen and (min-width: 1024px) { html[data-acct="side"] .a-server-msg, html[data-acct="rail"] .a-server-msg { left: calc(var(--sidebar-w, 248px) + 16px); } }
@media screen and (min-width: 1024px) and (max-width: 1439px) { html[data-acct="rail"] .a-server-msg { left: 112px; } }

/* gym round 7, stage 6: the planned weight "as planned"; the questions at Finish */
#auth-root .gy-set.gy-plan input { color: var(--a-muted); font-style: italic; border-style: dashed; }
#auth-root .gy-fin { border-top: 1px solid var(--a-line); margin-top: 12px; padding-top: 8px; }
#auth-root .gy-q { font-weight: 700; margin: 10px 0 6px; }
#auth-root .gy-q small { font-weight: 500; color: var(--a-muted); margin-left: 6px; }
#auth-root .gy-finacts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 12px; }
/* gym round 12, 1.1: how hard on one line, green (1) to red (10), with ticks and numbers; the number chosen large beside it; the
   whole line (64 px high) is the touch target; then the comment box */
#auth-root .gy-rpeline { display: flex; align-items: center; gap: 12px; }
#auth-root .gy-slider { position: relative; flex: 1 1 auto; min-width: 0; height: 64px; touch-action: none; cursor: pointer; border-radius: 10px; -webkit-tap-highlight-color: transparent; user-select: none; }
#auth-root .gy-slider:focus { outline: none; }
#auth-root .gy-slider:focus-visible { outline: 3px solid var(--a-accent); outline-offset: 2px; }
#auth-root .gy-track { position: absolute; left: 14px; right: 14px; top: 17px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #1E9E5A 0%, #7DB83A 30%, #E5B323 55%, #E07B24 78%, #C03A2E 100%); }
#auth-root .gy-ticks { position: absolute; left: 14px; right: 14px; top: 0; bottom: 0; }
#auth-root .gy-tk { position: absolute; top: 31px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; font-size: 13px; line-height: 1; color: var(--a-muted); }
#auth-root .gy-tk i { display: block; width: 2px; height: 6px; margin-bottom: 4px; background: var(--a-muted); border-radius: 1px; }
#auth-root .gy-tk.on b { color: var(--a-ink); font-weight: 800; }
#auth-root .gy-thumb { position: absolute; top: 8px; width: 28px; height: 28px; margin-left: -14px; box-sizing: border-box; border-radius: 50%; background: #FFFFFF; border: 3px solid var(--a-navy); box-shadow: 0 1px 4px rgba(11, 45, 51, .35); pointer-events: none; }
#auth-root .gy-thumb[hidden] { display: none; }
#auth-root .gy-rpev { flex: none; width: 56px; height: 56px; box-sizing: border-box; display: grid; place-items: center; border: 2px solid var(--a-line); border-radius: 12px; background: var(--a-card); font: 800 28px/1 var(--a-font); color: var(--a-ink); }
#auth-root .gy-rpehint { margin: 4px 0 0; }
#auth-root .gy-cmt { display: grid; gap: 4px; margin: 14px 0 0; font-weight: 600; font-size: 14px; }
#auth-root .gy-cmt textarea { display: block; width: 100%; box-sizing: border-box; min-height: 76px; resize: vertical; font: inherit; font-weight: 400; font-size: 16px; padding: 8px 10px; border: 1px solid #8FB3B5; border-radius: 9px; background: #FFFFFF; color: var(--a-ink); }
#auth-root .gy-cmt textarea:focus-visible { outline: 3px solid var(--a-accent); outline-offset: 2px; }
#auth-root .gy-cmtnote { margin: 4px 0 0; }
#auth-root .gy-saved { margin: 0 0 4px; }
#auth-root .gy-saved-cmt { margin: 0 0 8px; padding: 6px 10px; border-left: 3px solid var(--a-line); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
/* Stage 2 (data rights): the account managers' deletion card stands out; the privacy page's lists read as text */
#auth-root .a-danger-zone { border-color: var(--a-bad); }
#auth-root .a-danger-zone h2 { color: var(--a-bad); }
#auth-root .a-privacy .a-list li { margin: 0 0 8px; }
