/* DietXP Partners (partner.dietxp.com) — design system and layouts.
   Brand: DietXP-Fonts-and-Colours.md (13 Sep 2026). Switzer 600/700 for titles and headings, Manrope for body,
   labels and controls. Navy text and primary buttons, oat ground, white cards, yellow only for campaign buttons
   and labels on navy, citrus only as a decorative accent. Light theme only (brand look).
   No inline styles anywhere: the CSP is style-src 'self'. Dynamic sizes are set through the CSSOM. */

@font-face { font-family: 'Switzer'; src: url('fonts/Switzer-Variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('fonts/Manrope-Variable.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --navy: #0B132B; --navy-2: #162041; --navy-3: #22305C;
  --oat: #FAF7F2; --oat-2: #F1EBE1; --oat-3: #E9E1D4;
  --white: #FFFFFF; --yellow: #F4D35E; --yellow-2: #E9C64A; --citrus: #FF691A;
  --muted: #4B546E; --muted-2: #6A7188; --line: #E4DDD1; --line-2: #D5CCBD;
  --on-navy: #FFFFFF; --on-navy-muted: #C9CEDD;
  --ok: #1F6F43; --ok-bg: #EEF8F1; --ok-line: #BFE3CC;
  --warn: #7A4F00; --warn-bg: #FFF7DF; --warn-line: #F1DDA5;
  --bad: #9B2226; --bad-bg: #FDEEEE; --bad-line: #F0C4C6;
  --info-bg: #EEF3FB; --info-line: #C9D6EA;
  --fd: 'Switzer', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --fb: 'Manrope', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(11, 19, 43, .05), 0 8px 24px -18px rgba(11, 19, 43, .22);
  --shadow-2: 0 2px 6px rgba(11, 19, 43, .06), 0 18px 40px -20px rgba(11, 19, 43, .30);
  --focus: 0 0 0 3px var(--white), 0 0 0 5px var(--navy);
  --sidebar-w: 264px;
  --topbar-h: 64px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--oat); color: var(--navy); font-family: var(--fb); font-size: 16px; line-height: 1.55; font-weight: 400; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--fd); color: var(--navy); margin: 0; line-height: 1.15; }
h1 { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 12px; }
small { font-size: 13px; }
code, .mono { font-family: var(--mono); font-size: 13px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--r-pill); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
.field, .check, fieldset, .success-panel, [id] { scroll-margin-top: 96px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.nowrap { white-space: nowrap; overflow-wrap: normal; }
.page-title:focus, h1[tabindex='-1']:focus { outline: none; }
.num { font-variant-numeric: tabular-nums; }
.stack > * + * { margin-top: 16px; }
.stack-sm > * + * { margin-top: 10px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row.between { justify-content: space-between; }
.row.end { justify-content: flex-end; }
.row.top { align-items: flex-start; }
.grow { flex: 1 1 auto; min-width: 0; }
.grid { display: grid; gap: 14px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .grid.stats { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.grid.stats > .span-all { grid-column: 1 / -1; }
@media (min-width: 720px) { .grid.stats > .span-all { grid-column: auto; } }
.grid.stats.quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1280px) { .grid.stats.quad { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 720px) { .grid.stats.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 719px) { .grid.stats.trio > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
.mt-0 { margin-top: 0 !important; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }

/* ------------------------------------------------------------------ buttons */
.btn { --b-bg: var(--navy); --b-fg: var(--white); --b-line: var(--navy); --b-hover: var(--navy-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px;
  border-radius: var(--r-pill); border: 1.5px solid var(--b-line); background: var(--b-bg); color: var(--b-fg);
  font-family: var(--fb); font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease; white-space: nowrap; }
.btn:hover { background: var(--b-hover); border-color: var(--b-hover); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: var(--focus); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.secondary { --b-bg: var(--white); --b-fg: var(--navy); --b-line: var(--navy); --b-hover: var(--oat-2); }
.btn.secondary:hover { border-color: var(--navy); }
.btn.ghost { --b-bg: transparent; --b-fg: var(--navy); --b-line: transparent; --b-hover: var(--oat-2); }
.btn.campaign { --b-bg: var(--yellow); --b-fg: var(--navy); --b-line: var(--yellow); --b-hover: var(--yellow-2); }
.btn.danger { --b-bg: var(--white); --b-fg: var(--bad); --b-line: var(--bad); --b-hover: var(--bad-bg); }
.btn.danger:hover { border-color: var(--bad); }
.btn.on-navy { --b-bg: var(--white); --b-fg: var(--navy); --b-line: var(--white); --b-hover: var(--oat-2); }
.btn.on-navy:focus-visible { box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px var(--yellow); }
.btn.sm { min-height: 44px; padding: 8px 16px; font-size: 14px; }
.btn.block { width: 100%; }
.btn.icon-only { padding: 0; width: 44px; height: 44px; min-height: 44px; flex: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.btn.busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.busy::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--b-fg); border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.linkbtn { background: none; border: 0; padding: 0; color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }

/* ------------------------------------------------------------------ forms */
.field { display: grid; gap: 6px; margin: 0 0 14px; min-width: 0; }
.field > label, .field > .label { font-weight: 600; font-size: 14px; }
.field .opt { font-weight: 500; color: var(--muted); }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--oat); color: var(--navy); font-size: 16px; font-weight: 500; -webkit-appearance: none; appearance: none; margin: 0; }
.field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%230B132B' stroke-width='2.2' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { background-color: var(--white); border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(11, 19, 43, .14); }
.field input::placeholder, .field textarea::placeholder { color: #8A8FA0; }
.field .help { font-size: 13px; color: var(--muted); }
.field .error { font-size: 13.5px; color: var(--bad); font-weight: 600; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); background: var(--bad-bg); }
.fields-2 { display: grid; gap: 0 14px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px) { .fields-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; cursor: pointer; min-height: 44px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); flex: none; cursor: pointer; }
.check span { flex: 1; }
.check.invalid span { color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.segmented { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; max-width: 100%; }
.segmented button { min-height: 38px; padding: 6px 14px; border-radius: var(--r-pill); border: 0; background: transparent; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--navy); }
.segmented button:hover { background: var(--oat-2); }
.segmented button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.segmented .count { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: var(--r-pill); background: var(--oat-2); color: var(--navy); font-size: 12px; }
.segmented button[aria-pressed="true"] .count { background: rgba(255, 255, 255, .18); color: var(--white); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 44px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { width: 46px; height: 26px; border-radius: 13px; background: var(--line-2); position: relative; transition: background .15s ease; flex: none; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s ease; }
.switch input:checked + .track { background: var(--ok); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { box-shadow: var(--focus); }

/* ------------------------------------------------------------------ surfaces */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-1); min-width: 0; }
.card.flat { box-shadow: none; }
pre.card { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; line-height: 1.5; }
.card.pad-lg { padding: 28px; }
.card-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.card-head h2, .card-head h3 { margin: 0; }
.card-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.card.navy { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.card.navy h2, .card.navy h3 { color: var(--white); }
.card.navy .muted, .card.navy p { color: var(--on-navy-muted); }
.card.highlight { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(244, 211, 94, .35), var(--shadow-1); }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.card.navy .kicker { color: var(--yellow); }
.divider-list { list-style: none; margin: 0; padding: 0; }
.divider-list > li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.divider-list > li:last-child { border-bottom: 0; }
.divider-list > li > :first-child { color: var(--muted); }
.divider-list > li > :last-child { text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.dl { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 8px 16px; margin: 0; }
.dl dt { color: var(--muted); font-size: 14px; }
.dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* stat tiles */
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; min-width: 0; box-shadow: var(--shadow-1); display: flex; flex-direction: column; gap: 4px; }
.stat .l { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.stat .v { font-family: var(--fb); font-weight: 700; font-size: clamp(21px, 5.2vw, 28px); letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.2; overflow-wrap: anywhere; }
.stat .s { font-size: 13px; color: var(--muted); }
.stat.hero { background: var(--navy); border-color: var(--navy); color: var(--white); }
.stat.hero .l { color: var(--yellow); }
.stat.hero .s { color: var(--on-navy-muted); }
.stat.action { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; text-align: left; font: inherit; color: inherit; width: 100%; }
.stat.action:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.stat.action:focus-visible { outline: none; box-shadow: var(--focus); }
.stat.attention { border-color: var(--yellow); box-shadow: inset 4px 0 0 var(--yellow), var(--shadow-1); }
.stat .go { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 4px; }
.stat .go svg { width: 14px; height: 14px; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; line-height: 1.3; padding: 3px 10px; border-radius: var(--r-pill); background: var(--oat-2); border: 1px solid var(--line); color: var(--navy); white-space: nowrap; max-width: 100%; }
.pill.wrap { white-space: normal; }
.pill.ok { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.pill.warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.pill.bad { background: var(--bad-bg); color: var(--bad); border-color: var(--bad-line); }
.pill.info { background: var(--info-bg); color: var(--navy); border-color: var(--info-line); }
.pill.navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pill.yellow { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* alerts */
.alert { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-left-width: 4px; border-radius: var(--r); background: var(--white); padding: 13px 16px; font-weight: 500; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert .alert-body { flex: 1; min-width: 0; }
.alert .alert-body strong { display: block; margin-bottom: 2px; }
.alert p { margin: 0; }
.alert.ok { background: var(--ok-bg); border-color: var(--ok-line); border-left-color: var(--ok); color: var(--ok); }
.alert.warn { background: var(--warn-bg); border-color: var(--warn-line); border-left-color: #D99A1B; color: var(--warn); }
.alert.bad { background: var(--bad-bg); border-color: var(--bad-line); border-left-color: var(--bad); color: var(--bad); }
.alert.info { background: var(--info-bg); border-color: var(--info-line); border-left-color: var(--navy); color: var(--navy); }
.alert .row { margin-top: 10px; }

/* tables */
/* position: relative keeps absolutely positioned screen-reader text inside the scroller (it widened the page) */
.table-wrap { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; box-shadow: var(--shadow-1); }
.table-wrap.flat { box-shadow: none; }
table.t { border-collapse: collapse; width: 100%; min-width: 100%; font-size: 14px; }
table.t th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 11px 14px; background: var(--oat); border-bottom: 1px solid var(--line); white-space: nowrap; }
table.t td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
table.t tr:last-child td { border-bottom: 0; }
table.t tbody tr:hover td { background: #FCFAF6; }
table.t td.num, table.t th.num { text-align: right; }
table.t td.num { white-space: nowrap; overflow-wrap: normal; }
table.t td.actions { text-align: right; white-space: nowrap; }
table.t td .sub { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
table.t tr.clickable { cursor: pointer; }
table.t td.empty-cell { padding: 0; }
@media (max-width: 720px) {
  table.t.stack-mobile, table.t.stack-mobile thead, table.t.stack-mobile tbody, table.t.stack-mobile tr, table.t.stack-mobile td { display: block; width: 100%; }
  table.t.stack-mobile thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.t.stack-mobile tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  table.t.stack-mobile tr:last-child { border-bottom: 0; }
  table.t.stack-mobile td { display: grid; grid-template-columns: minmax(96px, 38%) 1fr; gap: 10px; padding: 5px 0; border: 0; text-align: left; align-items: start; }
  table.t.stack-mobile td::before { content: attr(data-label); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
  table.t.stack-mobile td[data-label=''] { grid-template-columns: 1fr; }
  table.t.stack-mobile td[data-label='']::before { display: none; }
  table.t.stack-mobile td.num { text-align: left; }
  table.t.stack-mobile td.actions { text-align: left; }
  table.t.stack-mobile td.actions .btn { width: 100%; }
  table.t.stack-mobile td > .pill { justify-self: start; }
  table.t.stack-mobile tbody tr:hover td { background: transparent; }
}

/* empty, skeleton, spinner */
.empty { text-align: center; padding: 34px 18px; color: var(--muted); }
.empty .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--oat-2); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; color: var(--navy); }
.empty .ico svg { width: 24px; height: 24px; }
.empty h3 { margin-bottom: 6px; }
.empty p { max-width: 460px; margin: 0 auto 12px; }
.skel { display: grid; gap: 14px; }
.skel span { display: block; border-radius: 12px; background: linear-gradient(90deg, var(--oat-2) 25%, #F8F4EE 50%, var(--oat-2) 75%); background-size: 200% 100%; }
.skel .line { height: 18px; width: 38%; }
.skel .tiles { height: 96px; }
.skel .block { height: 180px; }
@media (prefers-reduced-motion: no-preference) { .skel span { animation: shimmer 1.3s ease-in-out infinite; } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* copy field, qr */
.copy { display: flex; align-items: stretch; gap: 8px; min-width: 0; }
.copy code { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; background: var(--oat); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; font-size: 13.5px; overflow-wrap: anywhere; word-break: break-all; }
.copy.big code { font-size: 15px; font-weight: 600; font-family: var(--fb); }
@media (max-width: 520px) { .copy { flex-direction: column; } .copy .btn { width: 100%; } }
.qr-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; width: 196px; max-width: 100%; }
.qr-box svg { width: 100%; height: auto; }

/* avatar */
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--oat-2); border: 1px solid var(--line); flex: none; display: inline-flex; align-items: center; justify-content: center; font-family: var(--fd); font-weight: 700; color: var(--navy); font-size: 15px; overflow: hidden; }
.avatar.xs { width: 30px; height: 30px; font-size: 12px; }
.avatar.lg { width: 84px; height: 84px; font-size: 26px; }
.avatar.on-navy { background: var(--navy-3); color: var(--white); border-color: var(--navy-3); }

/* progress, steps */
.progress { height: 8px; background: var(--oat-2); border-radius: var(--r-pill); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--navy); border-radius: var(--r-pill); width: 0; transition: width .4s ease; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.checklist li { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; }
.checklist .tick { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; color: var(--white); background: var(--white); }
.checklist .tick svg { width: 16px; height: 16px; }
.checklist li.done .tick { background: var(--ok); border-color: var(--ok); }
.checklist li.done strong { color: var(--muted); font-weight: 500; text-decoration: line-through; text-decoration-color: var(--line-2); }
.checklist .hint { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) { .checklist li { grid-template-columns: 30px 1fr; } .checklist li > .btn { grid-column: 2; justify-self: start; } }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 26px; }
.timeline li::before { content: ''; position: absolute; left: 6px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--navy); }
.timeline li::after { content: ''; position: absolute; left: 10px; top: 20px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline .when { display: block; font-size: 12.5px; color: var(--muted); }

/* details (accordions) */
details.acc { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); margin: 0 0 10px; }
details.acc > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; font-weight: 600; }
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); margin-top: -4px; flex: none; transition: transform .15s ease; }
details.acc[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
details.acc > .acc-body { padding: 0 16px 16px; }
details.acc > .acc-body > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ dialogs, drawers, toasts */
dialog.dlg { border: 0; padding: 0; background: transparent; color: var(--navy); max-width: none; max-height: none; }
dialog.dlg::backdrop { background: rgba(11, 19, 43, .5); }
dialog.dlg .dlg-panel { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-2); width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); display: flex; flex-direction: column; overflow: hidden; }
dialog.dlg.wide .dlg-panel { width: min(820px, calc(100vw - 32px)); }
dialog.dlg .dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; border-bottom: 1px solid var(--line); }
dialog.dlg .dlg-head h2 { font-size: 20px; }
dialog.dlg .dlg-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
dialog.dlg .dlg-body { padding: 18px 20px; overflow-y: auto; overscroll-behavior: contain; }
dialog.dlg .dlg-foot { padding: 14px 20px 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; background: var(--white); }
dialog.dlg.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; }
dialog.dlg.drawer .dlg-panel { width: min(600px, 100vw); height: 100dvh; max-height: 100dvh; border-radius: var(--r-lg) 0 0 var(--r-lg); }
dialog.dlg.drawer .dlg-body { flex: 1; }
@media (max-width: 640px) {
  dialog.dlg { margin: auto 0 0; width: 100vw; }
  dialog.dlg .dlg-panel, dialog.dlg.wide .dlg-panel { width: 100vw; max-height: 92dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  dialog.dlg.drawer { margin: auto 0 0; height: auto; }
  dialog.dlg.drawer .dlg-panel { width: 100vw; height: auto; max-height: 92dvh; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  dialog.dlg .dlg-foot .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: no-preference) {
  dialog.dlg[open] .dlg-panel { animation: dlgIn .18s ease-out; }
  dialog.dlg.drawer[open] .dlg-panel { animation: drawerIn .22s ease-out; }
  @media (max-width: 640px) { dialog.dlg[open] .dlg-panel, dialog.dlg.drawer[open] .dlg-panel { animation: sheetIn .22s ease-out; } }
}
@keyframes dlgIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.toasts { position: fixed; z-index: 2000; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 10px; align-items: flex-start; background: var(--navy); color: var(--white); border-radius: var(--r); padding: 12px 14px; box-shadow: var(--shadow-2); font-weight: 500; font-size: 14.5px; }
.toast svg { width: 20px; height: 20px; flex: none; }
.toast.ok svg { color: #7FD6A1; }
.toast.bad { background: var(--bad); }
.toast .grow { padding-top: 1px; }
.toast button { background: none; border: 0; color: inherit; cursor: pointer; padding: 2px; min-width: 28px; min-height: 28px; }
@media (min-width: 1024px) { .toasts { left: auto; right: 24px; transform: none; } }
body.has-bottomnav .toasts { bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { body.has-bottomnav .toasts { bottom: 24px; } }

/* ------------------------------------------------------------------ public site */
.pub-top { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.pub-top .in { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); height: 68px; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); min-height: 44px; }
.brand img { height: 40px; width: auto; }
.brand .word { font-family: var(--fd); font-weight: 600; font-size: 17px; letter-spacing: -.01em; padding-left: 12px; border-left: 1.5px solid var(--line-2); line-height: 1.1; }
.brand .word small { display: block; font-family: var(--fb); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pub-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.pub-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: var(--r-pill); }
.pub-nav a:not(.btn):hover { background: var(--oat-2); }
.pub-nav a[aria-current="page"]:not(.btn) { background: var(--oat-2); }
@media (max-width: 760px) { .pub-nav .hide-sm { display: none; } .brand .word { display: none; } }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }
.pub-hero { padding: 48px 0 36px; }
.pub-hero .in { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .pub-hero { padding: 72px 0 56px; } .pub-hero .in { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.pub-hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.04; letter-spacing: -.03em; }
.pub-hero h1 .accent { background-image: linear-gradient(transparent 70%, rgba(255, 105, 26, .35) 70%); }
.pub-hero .lead { font-size: 18px; color: var(--muted); max-width: 560px; margin: 18px 0 26px; }
.pub-hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pub-hero .fine { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.preview-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: var(--shadow-2); }
.preview-card .ph { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.preview-card .grid.stats { grid-template-columns: 1fr 1fr; }
.preview-card .grid.stats .stat { box-shadow: none; }
.preview-card .bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 12px 4px 0; border-top: 1px solid var(--line); margin-top: 16px; }
.preview-card .bars span { flex: 1; background: var(--oat-2); border-radius: 6px 6px 2px 2px; }
.preview-card .bars span.hi { background: var(--navy); }
.preview-card .bars span.re { background: var(--yellow); }
.preview-card .legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.preview-card .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.section { padding: 44px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2.title { font-size: clamp(26px, 4vw, 34px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.section .intro { color: var(--muted); max-width: 640px; margin-bottom: 26px; font-size: 17px; }
.steps3 { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 820px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.steps3 .card { position: relative; padding-top: 58px; }
.steps3 .card::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; left: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-family: var(--fd); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.feature-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature { display: flex; flex-direction: column; gap: 8px; }
.feature .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--oat-2); display: inline-flex; align-items: center; justify-content: center; }
.feature .ico svg { width: 22px; height: 22px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.band { background: var(--navy); color: var(--white); border-radius: 28px; padding: 32px 24px; display: grid; gap: 18px; align-items: center; }
.band h2 { color: var(--white); font-size: clamp(24px, 4vw, 32px); font-weight: 700; }
.band p { color: var(--on-navy-muted); margin: 8px 0 0; }
@media (min-width: 860px) { .band { grid-template-columns: 1fr auto; padding: 40px 44px; } }
.pub-foot { margin-top: 56px; background: var(--navy); color: var(--on-navy-muted); padding: 36px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; }
.pub-foot .in { display: grid; gap: 22px; }
@media (min-width: 820px) { .pub-foot .in { grid-template-columns: 1.4fr 1fr 1fr; } }
.pub-foot a { color: var(--white); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.pub-foot a:hover { text-decoration: underline; }
.pub-foot h3 { color: var(--yellow); font-family: var(--fb); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.pub-foot ul { list-style: none; margin: 0; padding: 0; }
.pub-foot img { height: 44px; width: auto; margin-bottom: 12px; }
.pub-foot :focus-visible { outline-color: var(--yellow); }
.page-narrow { max-width: 720px; margin: 0 auto; padding: 36px var(--gutter) 24px; }
.page-narrow > h1 { font-size: clamp(28px, 5vw, 38px); margin-bottom: 10px; }
.page-narrow > .lead { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.auth-card { max-width: 480px; margin: 40px auto 0; }
.auth-card .card { padding: 28px; }
@media (max-width: 520px) { .auth-card { margin-top: 20px; } .auth-card .card { padding: 22px 18px; } }
.auth-card .brandmark { display: flex; justify-content: center; margin-bottom: 16px; }
.auth-card .brandmark img { height: 56px; width: auto; }
.auth-card h1 { font-size: 26px; text-align: center; margin-bottom: 8px; }
.auth-card .sub { text-align: center; color: var(--muted); margin-bottom: 20px; }
.auth-card .or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.auth-card .or::before, .auth-card .or::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bullets li { display: flex; gap: 10px; align-items: flex-start; }
.bullets li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--ok); }
.bullets.no li svg { color: var(--bad); }
html.modal-open { overflow: hidden; }
.neg { color: var(--bad); }

/* stepper (apply) */
.stepper { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); min-width: 0; }
.stepper .n { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: 14px; flex: none; background: var(--white); }
.stepper .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepper li[aria-current] { color: var(--navy); }
.stepper li[aria-current] .n { border-color: var(--navy); background: var(--navy); color: var(--white); }
.stepper li.done .n { border-color: var(--ok); background: var(--ok); color: var(--white); }
@media (max-width: 480px) { .stepper li:not([aria-current]) .t { display: none; } .stepper { grid-template-columns: auto auto auto; justify-content: start; gap: 14px; } }
fieldset.step { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.step legend { font-family: var(--fd); font-size: 20px; font-weight: 600; margin-bottom: 14px; padding: 0; }
.form-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 8px; flex-wrap: wrap; }
.success-panel { text-align: center; padding: 18px 4px; }
.success-panel .tickbig { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: var(--white); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.success-panel .tickbig svg { width: 32px; height: 32px; }
.success-panel ol { text-align: left; max-width: 520px; margin: 12px auto 20px; padding-left: 22px; }
.success-panel ol li { margin-bottom: 8px; }

/* ------------------------------------------------------------------ app shell (partner + admin) */
.app { min-height: 100dvh; }
.side { position: fixed; z-index: 70; inset: 0 auto 0 0; width: var(--sidebar-w); background: var(--white); border-right: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .22s ease; visibility: hidden; }
.side .side-head { height: var(--topbar-h); display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--line); flex: none; }
.side .side-head .brand img { height: 36px; }
.side .side-head .brand .word { display: block; font-size: 15px; }
.side nav { flex: 1; overflow-y: auto; padding: 12px 10px; }
.side .nav-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 6px; }
.side .nav-link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 15px; position: relative; }
.side .nav-link svg { width: 20px; height: 20px; flex: none; }
.side .nav-link:hover { background: var(--oat-2); text-decoration: none; }
.side .nav-link[aria-current="page"] { background: var(--navy); color: var(--white); }
.side .nav-link .badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--yellow); color: var(--navy); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.side .side-foot { border-top: 1px solid var(--line); padding: 12px; display: grid; gap: 8px; flex: none; }
.side .me { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 4px; }
.side .me .who { min-width: 0; }
.side .me .who strong { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side .me .who span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app.open .side { transform: none; visibility: visible; }
.scrim { position: fixed; inset: 0; z-index: 65; background: rgba(11, 19, 43, .45); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.app.open .scrim { opacity: 1; pointer-events: auto; }
.topbar { position: sticky; top: 0; z-index: 40; height: var(--topbar-h); background: rgba(250, 247, 242, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.topbar .brand img { height: 34px; }
.topbar .brand .word { display: none; }
.topbar .spacer { flex: 1; }
.topbar > * { flex: none; }
.topbar .spacer { flex: 1 1 auto; }
@media (max-width: 560px) { .topbar .hide-sm { display: none; } }
.topbar .ctx { font-weight: 600; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 0 1 auto; }
.topbar .status-strip { flex: 0 1 auto; min-width: 0; flex-wrap: nowrap; overflow: hidden; }
.main { padding: 22px var(--gutter) 48px; max-width: 1240px; margin: 0 auto; min-width: 0; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.page-head h1 { font-size: clamp(26px, 4.4vw, 32px); }
.page-head p { margin: 6px 0 0; color: var(--muted); max-width: 720px; }
.page-head .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; text-decoration: none; margin-bottom: 10px; min-height: 36px; }
.back svg { width: 16px; height: 16px; }
.bottomnav { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; background: var(--white); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px -14px rgba(11, 19, 43, .3); }
.bottomnav a, .bottomnav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; border: 0; background: none; font-size: 11.5px; font-weight: 600; color: var(--muted); text-decoration: none; border-radius: 12px; cursor: pointer; padding: 4px 2px; }
.bottomnav svg { width: 22px; height: 22px; }
.bottomnav [aria-current="page"] { color: var(--navy); }
.bottomnav [aria-current="page"] svg { stroke-width: 2.4; }
.bottomnav [aria-current="page"]::after { content: ''; width: 18px; height: 3px; border-radius: 2px; background: var(--citrus); margin-top: 1px; }
body.has-bottomnav .main { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  .side { transform: none; visibility: visible; transition: none; }
  .scrim, .topbar .menu-btn, .topbar .brand, .bottomnav { display: none; }
  .app .content { margin-left: var(--sidebar-w); }
  .topbar { padding: 0 28px; }
  .main { padding: 28px 32px 64px; }
  body.has-bottomnav .main { padding-bottom: 64px; }
}
/* admin: navy sidebar so staff always know they are in the operations console */
.app.admin .side { background: var(--navy); border-right-color: var(--navy); color: var(--on-navy); }
.app.admin .side .side-head { border-bottom-color: rgba(255, 255, 255, .1); }
.app.admin .side .brand, .app.admin .side .brand .word { color: var(--white); border-left-color: rgba(255, 255, 255, .25); }
.app.admin .side .brand .word small { color: var(--yellow); }
.app.admin .side .nav-label { color: #9AA3BD; }
.app.admin .side .nav-link { color: #E4E7F0; }
.app.admin .side .nav-link:hover { background: rgba(255, 255, 255, .08); }
.app.admin .side .nav-link[aria-current="page"] { background: rgba(255, 255, 255, .12); color: var(--white); box-shadow: inset 3px 0 0 var(--yellow); }
.app.admin .side .side-foot { border-top-color: rgba(255, 255, 255, .1); }
.app.admin .side .me .who span { color: #AEB5CB; }
.app.admin .side :focus-visible { outline-color: var(--yellow); }
.app.admin .side .btn.ghost { --b-fg: var(--white); --b-hover: rgba(255, 255, 255, .08); }
.status-strip { display: flex; flex-wrap: wrap; gap: 8px; }

/* identity header used on dashboards */
.idcard { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.idcard .who { min-width: 0; }
.idcard .who strong { font-family: var(--fd); font-size: 18px; display: block; letter-spacing: -.01em; }
.idcard .who .row { gap: 6px; margin-top: 4px; }

/* partner overview specifics */
.share-card .copy { margin-top: 8px; }
/* the QR sits beside the link only when the card itself is wide enough (it is half-width on the overview) */
.share-card { container-type: inline-size; }
.share-grid { display: grid; gap: 18px; align-items: start; }
@container (min-width: 560px) { .share-grid { grid-template-columns: 1fr auto; } }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.offer { display: grid; gap: 14px; }
.offer .terms { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.offer .term { background: var(--oat); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.offer .term .k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.offer .term .v { font-weight: 700; font-size: 18px; margin-top: 2px; }

/* statement print */
@media print {
  body { background: #fff; }
  .side, .topbar, .bottomnav, .scrim, .toasts, .no-print, .pub-top, .pub-foot { display: none !important; }
  .app .content { margin: 0 !important; }
  .main { padding: 0 !important; max-width: none; }
  .card, .table-wrap, .stat { box-shadow: none !important; break-inside: avoid; }
  a { text-decoration: none; }
}

/* boot splash (index.html) */
.boot { min-height: 100dvh; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; color: var(--muted); }
.boot img { height: 60px; width: auto; }
.boot .bar { width: 120px; height: 4px; border-radius: 2px; background: var(--oat-2); overflow: hidden; position: relative; }
.boot .bar::after { content: ''; position: absolute; inset: 0; width: 40%; background: var(--navy); border-radius: 2px; animation: bootbar 1.1s ease-in-out infinite; }
@keyframes bootbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }
.fatal { max-width: 560px; margin: 12vh auto 0; padding: 0 var(--gutter); }

/* password field with a show/hide button; sign-in form links */
.pw { position: relative; }
.field .pw input { padding-right: 52px; }
.pw-toggle { position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.pw-toggle:hover { color: var(--navy); background: var(--oat-2); }
.pw-toggle:focus-visible { outline: none; box-shadow: var(--focus); }
.form-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 16px; margin: -6px 0 10px; font-size: 14px; }
.form-links a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.auth-card .note { font-size: 14px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.auth-card .note a { font-weight: 600; }
.readonly-email { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--oat); font-weight: 600; margin-bottom: 14px; overflow-wrap: anywhere; }
.readonly-email svg { flex: none; color: var(--muted); }
.steps-list { margin: 0; padding-left: 22px; display: grid; gap: 6px; color: var(--muted); font-size: 14.5px; }
.divider-list > li > :last-child { min-width: 0; overflow-wrap: anywhere; text-align: right; }
