/*
  Ask My CBA: design system
  Plain CSS. No external fonts, images, CDNs or @import. Works under
  style-src 'self' (no inline styles are needed anywhere in the markup).
  Mobile first: base rules are for phones, @media (min-width) adds desktop.
*/

/* ---------- tokens ---------- */
:root {
  --bg: #f4f3ef;
  --surface: #ffffff;
  --surface-2: #ebe9e3;
  --text: #15181e;
  --muted: #5a6170;
  --border: #dad7cf;
  --brand: #1e3765;
  --brand-ink: #ffffff;
  --tally: #c63d28;          /* "on air" red: focus, quote bar, live dot */
  --ok: #1d6f47;
  --ok-bg: #e2f1e8;
  --warn: #7f5300;
  --warn-bg: #fbefd3;
  --bad: #a12c25;
  --bad-bg: #fae4e1;
  --health: #2f6fb0;
  --annuity: #1d7a5a;
  --pension: #8a5a12;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 24, 32, .05), 0 2px 8px rgba(20, 24, 32, .05);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, Georgia, "Times New Roman", serif;   /* contract language only */
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d11;
    --surface: #14171d;
    --surface-2: #1c2028;
    --text: #e8eaee;
    --muted: #9ba2ae;
    --border: #2a2f38;
    --brand: #a3bdf0;
    --brand-ink: #0b0d11;
    --tally: #ff6b4f;
    --ok: #74d3a3;
    --ok-bg: #15302a;
    --warn: #f1c46a;
    --warn-bg: #352a12;
    --bad: #f39b91;
    --bad-bg: #38191a;
    --health: #7fb2ea;
    --annuity: #6fd0ab;
    --pension: #e3b56b;
    --shadow: none;
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 1.5rem; margin: 1.25rem 0 .4rem; }
h2 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
h3 { font-size: 1rem; margin: 1.1rem 0 .35rem; }
p { margin: .5rem 0; }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: .3rem; }
img, svg { display: block; }
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 20; }
:focus-visible { outline: 3px solid var(--tally); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- controls ---------- */
input, select, textarea, button { font: inherit; color: inherit; }
input[type="password"], input[type="text"], select, textarea {
  width: 100%;
  min-height: 48px;
  font-size: 16px;                 /* 16px stops iOS zooming on focus */
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
}
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
label { font-weight: 600; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px;
  border: 0; border-radius: var(--radius-sm);
  background: var(--brand); color: var(--brand-ink);
  font-weight: 700; text-decoration: none;
}
.btn.block { width: 100%; }

/* ---------- header and nav ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.top-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; margin-right: auto; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name b { font-size: 1rem; }
.brand-name small { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.info-chip {
  font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px;
}
.tabs {
  order: 3; width: 100%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  background: var(--surface-2); border-radius: 12px; padding: 4px;
}
.tabs a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; border-radius: 9px;
  color: var(--muted); text-decoration: none; font-weight: 650; font-size: .9rem;
}
.tabs a svg { width: 18px; height: 18px; }
.tabs a[aria-current="page"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

/* ---------- page text ---------- */
.lede { color: var(--muted); margin-top: 0; }
.fine { color: var(--muted); font-size: .8rem; line-height: 1.45; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.callout {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem;
}
.callout svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--muted); }
.callout p { margin: 0; }

/* ---------- ask ---------- */
.ask-view { display: flex; flex-direction: column; min-height: calc(100dvh - 120px); }
.ask-intro h1 { margin-top: 1.1rem; }
.employer { margin: 1rem 0 .5rem; display: grid; gap: 6px; }
.employer label { font-size: .9rem; }
.employer .hint { font-size: .8rem; color: var(--muted); margin: 0; }

.starters { margin: 1rem 0; }
.starters h2 { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.starters ul { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.starters li + li { margin: 0; border-top: 1px solid var(--border); }
.starters button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 12px 16px;
  background: none; border: 0; text-align: left; font-size: .97rem;
}
.starters button::after { content: "›"; color: var(--muted); font-size: 1.4rem; line-height: 1; }
.starters button:hover { background: var(--surface-2); }

.chat { display: flex; flex-direction: column; gap: 14px; margin: 1rem 0; flex: 1; }
.chat:empty { margin: 0; }
.msg { max-width: 100%; overflow-wrap: anywhere; }
.msg.user {
  align-self: flex-end; max-width: 88%;
  background: var(--brand); color: var(--brand-ink);
  border-radius: 18px 18px 6px 18px; padding: 10px 15px; white-space: pre-wrap;
}
.msg.bot {
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  border-radius: 6px 18px 18px 18px; padding: 14px 16px;
}
.msg.bot > :first-child, .msg.bot > div > :first-child { margin-top: 0; }
.msg.bot > :last-child, .msg.bot > div > :last-child { margin-bottom: 0; }
.msg.bot h3 { font-size: 1rem; }
.msg.err { background: var(--bad-bg); color: var(--bad); border: 0; border-radius: var(--radius-sm); padding: 12px 14px; }
.msg.note { background: var(--warn-bg); color: var(--warn); border: 0; border-radius: var(--radius-sm); padding: 12px 14px; }

.steps { list-style: none; margin: 0 0 10px; padding: 0 0 10px; border-bottom: 1px dashed var(--border); color: var(--muted); font-size: .8rem; }
.steps li { display: flex; gap: 8px; align-items: baseline; }
.steps li + li { margin-top: 2px; }
.steps li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex: none; transform: translateY(-1px); }
.thinking { color: var(--muted); display: flex; align-items: center; gap: 10px; margin: 0; }
.thinking::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tally); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* Contract language: serif with a tally bar, so quoted text never looks like the AI's own words. */
.msg blockquote {
  margin: .7em 0; padding: .55em .9em;
  border-left: 3px solid var(--tally); background: var(--surface-2); border-radius: 0 8px 8px 0;
  font-family: var(--serif); font-size: .98rem;
}
.msg table { border-collapse: collapse; margin: .6em 0; display: block; overflow-x: auto; font-size: .9rem; }
.msg th, .msg td { border: 1px solid var(--border); padding: 5px 8px; text-align: left; vertical-align: top; }
.msg code { background: var(--surface-2); padding: 0 4px; border-radius: 4px; font: .88em var(--mono); }
.cite {
  display: inline-block; font-size: .78rem; font-weight: 650; color: var(--muted);
  background: var(--surface-2); border-radius: 6px; padding: 1px 7px; white-space: nowrap;
}

.ask-form {
  position: sticky; bottom: 0; z-index: 5;
  margin: 0 -16px; padding: 10px 16px max(10px, env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, transparent, var(--bg) 14px);
}
.composer {
  display: flex; align-items: flex-end; gap: 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  padding: 5px 5px 5px 16px; box-shadow: var(--shadow);
}
.composer:focus-within { border-color: var(--brand); }
.composer textarea {
  flex: 1; border: 0; background: none; padding: 9px 0; min-height: 40px; max-height: 160px;
  resize: none; box-shadow: none;
}
.composer textarea:focus { box-shadow: none; }
.composer button {
  width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: var(--brand); color: var(--brand-ink);
}
.composer button svg { width: 20px; height: 20px; }
.ask-form .fine { margin: 8px 4px 0; text-align: center; }

/* ---------- benefits ---------- */
.funds { display: grid; gap: 10px; margin: 1rem 0; }
.fund {
  display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow);
}
.fund .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; grid-row: span 2; }
.fund .ico svg { width: 22px; height: 22px; }
.fund h3 { margin: 0; font-size: 1rem; }
.fund p { margin: 0; color: var(--muted); font-size: .92rem; }
.fund.health .ico { background: color-mix(in srgb, var(--health) 15%, transparent); color: var(--health); }
.fund.annuity .ico { background: color-mix(in srgb, var(--annuity) 15%, transparent); color: var(--annuity); }
.fund.pension .ico { background: color-mix(in srgb, var(--pension) 15%, transparent); color: var(--pension); }

  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px;
  font-weight: 700; font-size: 1.02rem;
}


.src { font-size: .8rem; color: var(--muted); }
.src a { color: var(--muted); }
.contact { font-size: .95rem; }
.contact a { font-weight: 600; }

/* Benefits topic cards are buttons that ask a starter question. */
.starters .funds { margin: 0 0 1.25rem; }
.starters .fund {
  width: 100%; min-height: 0; text-align: left; font-size: inherit;
  display: grid; grid-template-columns: 40px 1fr; gap: 0 12px; align-items: center;
}
.starters .fund::after { content: none; }
.starters .fund b { font-size: 1rem; align-self: end; }
.starters .fund > span:last-child { grid-column: 2; color: var(--muted); font-size: .9rem; align-self: start; }
.starters .fund:hover { border-color: var(--brand); background: var(--surface); }

.contact-box { margin: .25rem 0 1rem; background: var(--surface-2); border-radius: var(--radius-sm); padding: 0 14px; font-size: .92rem; }
.contact-box summary { cursor: pointer; font-weight: 650; min-height: 44px; display: flex; align-items: center; }
.contact-box[open] { padding-bottom: 10px; }

/* Personal details stripped before sending. */
.redacted { background: color-mix(in srgb, var(--brand-ink) 22%, transparent); border-radius: 5px; padding: 0 5px; font-size: .9em; font-weight: 650; white-space: nowrap; }

/* ---------- about ---------- */
.prose { max-width: 66ch; }
.pair { display: grid; gap: 10px; margin: 1rem 0; }
.pair > div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.pair h2 { margin-top: 0; font-size: 1rem; }
.pair ul { margin: 0; }
.pair .is h2 { color: var(--ok); }
.pair .isnt h2 { color: var(--bad); }

/* ---------- password screen ---------- */
.gate { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px max(24px, env(safe-area-inset-bottom)); }
.gate-card { width: 100%; max-width: 380px; }
.gate-card .mark { width: 56px; height: 56px; margin: 0 0 18px; }
.gate-card h1 { font-size: 1.6rem; margin: 0 0 .3rem; }
.gate-card form { display: grid; gap: 8px; margin: 1.5rem 0 1rem; }
.gate-card .msg.err { margin: 0 0 6px; font-size: .92rem; }
.gate-card .btn { margin-top: 8px; }
.gate-foot { border-top: 1px solid var(--border); padding-top: 14px; margin-top: 1.5rem; }

/* ---------- footer ---------- */
.foot { color: var(--muted); font-size: .8rem; padding: 1.5rem 0 2rem; border-top: 1px solid var(--border); margin-top: 2rem; }

/* ---------- larger screens ---------- */
@media (min-width: 720px) {
  h1 { font-size: 1.9rem; }
  .top-inner { flex-wrap: nowrap; }
  .tabs { order: 0; width: auto; display: flex; background: none; padding: 0; gap: 2px; }
  .tabs a { padding: 0 14px; }
  .tabs a[aria-current="page"] { background: var(--surface-2); box-shadow: none; }
  .ask-view { min-height: calc(100dvh - 64px); }
  .employer { grid-template-columns: auto minmax(0, 340px); justify-content: start; align-items: center; gap: 4px 14px; }
  .employer .hint { grid-column: 2; }
  .funds { grid-template-columns: repeat(3, 1fr); }
  .starters .fund { grid-template-columns: 1fr; align-items: start; gap: 4px; }
  .starters .fund > span:last-child { grid-column: 1; }
  .starters .fund .ico { margin-bottom: 6px; }
  .pair { grid-template-columns: 1fr 1fr; }
  .msg.user { max-width: 75%; }
}

/* ---------- running costs and donations ---------- */
.cost { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--border); color: var(--muted); font-size: .8rem; }
.cost a { color: var(--muted); font-weight: 650; }
.support { margin: 2rem 0 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.support h2 { margin-top: 0; }
.support .btn { margin: 14px 0 4px; }
.tally { background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 12px; }
.tally-row { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--muted); }
.tally-row b { color: var(--text); }
.tally progress {
  appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 12px; margin: 8px 0 12px;
  border: 0; border-radius: 999px; overflow: hidden; background: var(--border); color: var(--ok);
}
.tally progress::-webkit-progress-bar { background: var(--border); border-radius: 999px; }
.tally progress::-webkit-progress-value { background: var(--ok); border-radius: 999px; }
.tally progress::-moz-progress-bar { background: var(--ok); border-radius: 999px; }
.tally-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.tally-nums div { min-width: 0; }
.tally-nums dt { font-size: .72rem; color: var(--muted); line-height: 1.25; }
.tally-nums dd { margin: 2px 0 0; font-weight: 700; font-size: 1.05rem; }
.foot a { color: var(--muted); font-weight: 650; }

/* Running cost of this visit's questions, above the chat box. Kept in page memory only. */
.spend { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px 9px; margin-bottom: 8px; box-shadow: var(--shadow); }
.spend-label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0; font-size: .82rem; color: var(--muted); }
.spend-label b { color: var(--text); }
.spend-label a { font-weight: 700; white-space: nowrap; }
.spend-bar { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: .72rem; color: var(--muted); }
.spend progress {
  appearance: none; -webkit-appearance: none; flex: 1; height: 8px; border: 0; border-radius: 999px; overflow: hidden;
  background: var(--surface-2); color: var(--tally);
}
.spend progress::-webkit-progress-bar { background: var(--surface-2); border-radius: 999px; }
.spend progress::-webkit-progress-value { background: var(--tally); border-radius: 999px; }
.spend progress::-moz-progress-bar { background: var(--tally); border-radius: 999px; }
.meter-sheet { position: static; margin: 0; padding: 0; background: none; }
.meter-sheet h2 { font-size: .85rem; color: var(--muted); margin: 1rem 0 .4rem; }

/* Request a missing contract (inline under the employer list, no JS needed to open). */
.request { margin: -.1rem 0 .5rem; font-size: .9rem; }
.request summary { cursor: pointer; color: var(--brand); font-weight: 650; min-height: 40px; display: inline-flex; align-items: center; }
.request-form { display: grid; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin-top: 4px; }
.request-form label { font-size: .85rem; margin-top: 4px; }
.request-form .btn { margin-top: 8px; }
.request-form .fine { margin: 2px 0 0; }
.request .msg.note { margin: 4px 0 8px; }
@media (min-width: 720px) { .request-form { max-width: 480px; } }
.msg.done { background: var(--ok-bg); color: var(--ok); border-radius: var(--radius-sm); padding: 12px 14px; margin: 4px 0 8px; }

/* Who are you working for: union pills, then a local-grouped employer list. */
.employer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.employer-label { font-weight: 600; font-size: .9rem; margin: 0; }
.employer select { flex: 1 0 100%; }
.union-pick { display: flex; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.union-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.union-pick label {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font-size: .85rem; font-weight: 700; letter-spacing: .03em; color: var(--muted); cursor: pointer;
}
.union-pick input:checked + label { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.union-pick input:focus-visible + label { outline: 3px solid var(--tally); outline-offset: 2px; }
.msg.empty { flex: 1 0 100%; margin: 0; background: var(--surface-2); color: var(--muted); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; }

/* ---------- compare pay (from the design thread's compare.css) ---------- */
.cmp-form { display: grid; gap: 12px; margin: 1rem 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.cmp-form label, .cmp-form legend { font-size: .85rem; font-weight: 650; }
.cmp-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 6px; }
.cmp-form select { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; border: 1px solid var(--border); border-radius: 999px; padding: 0 12px; font-size: .85rem; font-weight: 500 !important; background: var(--surface-2); cursor: pointer; }
.chips input:checked + .chip { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.chips input:disabled + .chip { opacity: .45; cursor: not-allowed; }
.chips input:focus-visible + .chip { outline: 3px solid var(--tally); outline-offset: 2px; }
.cmp-levels { display: grid; gap: 4px; }
.cmp-levels label { font-weight: 500; margin-top: 4px; }
.cmp { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 12px; box-shadow: var(--shadow); margin: 1rem 0; }
.cmp h2 { margin: 0 0 2px; font-size: 1.05rem; }
#cmp-card { scroll-margin-top: 130px; }
.cmp .sub { color: var(--muted); font-size: .82rem; margin: 0 0 10px; }
.cmp-scroll { overflow-x: auto; }
.cmp table { width: 100%; border-collapse: collapse; font-size: .86rem; font-variant-numeric: tabular-nums; }
.cmp th, .cmp td { padding: 7px 4px; border-bottom: 1px solid var(--border); text-align: right; vertical-align: top; }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--muted); font-weight: 500; }
.cmp thead th { font-size: .8rem; color: var(--text); font-weight: 700; }
.cmp thead th small { display: block; font-weight: 500; color: var(--muted); font-size: .7rem; }
.cmp td small { display: block; color: var(--muted); font-size: .7rem; }
.cmp tr.group td { padding-top: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); border-bottom: 0; }
.cmp tr.total td { font-weight: 800; color: var(--text); border-bottom: 2px solid var(--text); }
.cmp tr.text td { text-align: left; font-size: .8rem; }
.cmp tr.text td:first-child { width: 26%; }
.cmp tr.text td div + div { margin-top: 6px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.dot.h { background: var(--health); } .dot.a { background: var(--annuity); } .dot.p { background: var(--pension); }
.notes { margin: 12px 0 0; padding: 0 0 0 1.1rem; font-size: .78rem; color: var(--muted); }
.notes li + li { margin-top: 4px; }
.uses { margin: 0; font-size: .78rem; color: var(--muted); }
#cmp-msg { margin: .5rem 0; }
@media (max-width: 560px) {
  .cmp { padding: 12px 8px; }
  .cmp table { table-layout: fixed; font-size: .8rem; }
  .cmp th:first-child, .cmp td:first-child { width: 27%; }
  .cmp th, .cmp td { padding: 6px 3px; overflow-wrap: anywhere; }
  .cmp td small, .cmp thead th small { font-size: .66rem; }
}
.divider { display: flex; align-items: center; gap: 10px; margin: .5rem 0; color: var(--muted); font-size: .8rem; font-weight: 650; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid var(--border); }
.signout { margin: 0 0 .8rem; }
.signout button { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
