/* Arbitration Watch. One stylesheet: screen first, print at the end.
   No web fonts and no third-party requests. */

:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #1b2229;
  --muted: #55606b;
  --line: #e0dcd2;
  --field-line: #b9b3a6;
  --accent: #1d5c86;
  --accent-strong: #154766;
  --accent-soft: #e7f0f6;
  --accent-ink: #ffffff;
  --warn-ink: #6b4500;
  --warn-bg: #fff3d6;
  --warn-line: #ecd193;
  --paper: #ffffff;
  --paper-ink: #111111;
  --paper-hint: #8b9198;
  /* Status colors: background / ink pairs. Never the only signal; every badge has text. */
  --none-bg: #e3f3e8;     --none-ink: #1d6337;
  --easy-bg: #e1f0f5;     --easy-ink: #135a6b;
  --mail-bg: #fff0d2;     --mail-ink: #774b00;
  --noopt-bg: #fce4e1;    --noopt-ink: #962b20;
  --unver-bg: #ebe9e4;    --unver-ink: #575c63;
  --alert: #e8590c;        --alert-ink: #ffffff;
  /* Outlet badges in "In the news": 8 calm pairs, picked by a hash of the outlet name. */
  --m0-bg: #dbe9f6; --m0-ink: #1d4f7a;
  --m1-bg: #d7efec; --m1-ink: #14615a;
  --m2-bg: #e1f1dd; --m2-ink: #2f6526;
  --m3-bg: #fbecd2; --m3-ink: #7a4d06;
  --m4-bg: #f8dfe3; --m4-ink: #8a2a3c;
  --m5-bg: #e9e1f6; --m5-ink: #523a85;
  --m6-bg: #e3e7ec; --m6-ink: #3d4b5c;
  --m7-bg: #fbe3d4; --m7-ink: #8a3e12;
  --pill-bg: #efede7;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 8px 24px rgb(0 0 0 / 0.08);
  --radius: 10px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181c;
    --surface: #1b2026;
    --ink: #e7e5e0;
    --muted: #a2abb4;
    --line: #2d343b;
    --field-line: #4a535c;
    --accent: #7db8e3;
    --accent-strong: #a6cfee;
    --accent-soft: #1d2c38;
    --accent-ink: #0d1a24;
    --warn-ink: #f3d38f;
    --warn-bg: #2e2614;
    --warn-line: #5c4a1f;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.35);
    --none-bg: #16301f;   --none-ink: #8fd5a6;
    --easy-bg: #122e37;   --easy-ink: #87cde0;
    --mail-bg: #33280f;   --mail-ink: #f0c66d;
    --noopt-bg: #3a1a17;  --noopt-ink: #f2a59c;
    --unver-bg: #262b31;  --unver-ink: #b4bbc3;
    --alert: #ff8a4c;     --alert-ink: #1b1208;
    --m0-bg: #1b2f44; --m0-ink: #9cc6ec;
    --m1-bg: #15332f; --m1-ink: #8fd3c9;
    --m2-bg: #1d3319; --m2-ink: #a3d699;
    --m3-bg: #36290f; --m3-ink: #efc77c;
    --m4-bg: #3a1c22; --m4-ink: #f0a7b5;
    --m5-bg: #2a2140; --m5-ink: #c3b0ee;
    --m6-bg: #262d36; --m6-ink: #b9c4d1;
    --m7-bg: #3a2216; --m7-ink: #f2b48f;
    --pill-bg: #242a30;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--sans);
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: var(--accent-strong); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.85rem, 1.3rem + 2.6vw, 2.6rem); margin: 0 0 0.75rem; }
h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.15rem; margin: 1.75rem 0 0.5rem; }
p, ul, ol { margin: 0 0 1rem; }
li + li { margin-top: 0.35rem; }

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }
.wrap.wide { max-width: 74rem; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--surface); padding: 0.5rem 0.75rem; border-radius: 6px; z-index: 10;
}
.skip-link:focus { top: 0.75rem; }

.draft-banner {
  background: var(--warn-bg); color: var(--warn-ink); border-bottom: 1px solid var(--warn-line);
  padding: 0.6rem 1rem; text-align: center; font-weight: 600;
}

/* Header and footer */

.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; min-height: 3.5rem; flex-wrap: wrap; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.wrap.header-row { max-width: 74rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand img { display: block; flex: none; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--ink); }
/* Narrow screens: the menu folds behind a button (only with JavaScript; without it the
   links stay visible). */
.nav-toggle { display: none; }
@media (max-width: 47.99rem) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; margin: -0.4rem -0.5rem -0.4rem auto; padding: 0;
    border: 0; border-radius: var(--radius); background: none; color: var(--ink); cursor: pointer;
  }
  .js .nav-toggle .nav-icon-close,
  .js .nav-toggle[aria-expanded="true"] .nav-icon-open { display: none; }
  .js .nav-toggle[aria-expanded="true"] .nav-icon-close { display: block; }
  .js .site-header nav { display: none; }
  .js .site-header nav.is-open {
    display: flex; flex-direction: column; flex-basis: 100%; gap: 0;
    border-top: 1px solid var(--line); margin-top: 0.1rem;
  }
  .js .site-header nav.is-open a { padding: 0.8rem 0.1rem; font-size: 1.05rem; color: var(--ink); }
  .js .site-header nav.is-open a + a { border-top: 1px solid var(--line); }
  .js .site-header nav.is-open a[aria-current="page"] { color: var(--accent); font-weight: 600; }
}

.site-footer {
  margin-top: 4rem; border-top: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font-size: 0.92rem; padding: 2rem 0 2.5rem;
}
.site-footer .wrap { max-width: 74rem; }
.site-footer p { max-width: 44rem; }

/* Page furniture */

.hero { padding: 2.5rem 0 1rem; }
/* Pages without a hero band start with the same space under the header. */
main > .wrap:first-child { padding-top: 2.5rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.eyebrow { font-size: 0.95rem; margin-bottom: 0.5rem; }
.eyebrow a { text-decoration: none; }
.section-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 1.5rem 0 0.75rem; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.15rem; border-radius: 8px; border: 1px solid var(--field-line);
  background: var(--surface); color: var(--ink); font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; line-height: 1.2;
}
.btn:hover { border-color: var(--accent); color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--accent-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0; }

.card {
  display: grid; gap: 0.35rem; padding: 1.25rem 1.25rem 1.1rem; margin-bottom: 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow);
}
.card:hover { border-color: var(--accent); color: var(--ink); }
.card-kicker { font-size: 0.85rem; color: var(--muted); }
.card-title { font-size: 1.3rem; font-weight: 700; line-height: 1.25; color: var(--accent); }
.card-text { color: var(--muted); }

.countdown:empty { display: none; }
.countdown {
  justify-self: start; display: inline-block; margin-top: 0.25rem; padding: 0.2rem 0.6rem;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong);
  font-size: 0.9rem; font-weight: 600;
}

/* Key dates on a guide */

.keyfacts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 1.25rem 0 0.6rem;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
/* Phones: the two yes/no facts share a row; "How to reject it" takes the full width. */
.keyfact-how, .keyfact-status { grid-column: 1 / -1; }
@media (min-width: 36rem) {
  .keyfacts { grid-template-columns: repeat(3, 1fr); }
  .keyfact-how { grid-column: auto; }
}
.keyfact-status {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.7rem 1rem; padding: 0.85rem 1rem;
}
.keyfact-status-main { display: grid; gap: 0.15rem; flex: 1 1 18rem; }
/* "Watch changes": on the rating's own color, so it reads as part of the rating row. */
.status-watch {
  flex: none; display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.85rem; border: 1px solid currentColor; border-radius: 999px;
  color: inherit; font-size: 0.92rem; font-weight: 600; text-decoration: none;
}
.status-watch:hover { background: color-mix(in srgb, currentColor 14%, transparent); }
.status-watch svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.keyfact-status-label { font-size: 1.3rem; font-weight: 800; line-height: 1.25; }
.keyfact-status-text { font-size: 0.95rem; line-height: 1.4; }
.keyfact { background: var(--surface); padding: 0.9rem 1rem; }
.keyfact-label { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.keyfact-value { display: block; font-size: 1.1rem; font-weight: 700; line-height: 1.3; margin-top: 0.2rem; }
.keyfact-note { display: block; font-size: 0.88rem; color: var(--muted); margin-top: 0.2rem; }
@media (max-width: 35.99rem) { .keyfact-label { font-size: 0.74rem; letter-spacing: 0.03em; } }

.notice {
  background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line);
  border-radius: var(--radius); padding: 0.9rem 1rem; margin: 1rem 0;
}
.notice[hidden] { display: none; }

.cite {
  font-size: 0.72em; vertical-align: super; line-height: 0; margin-left: 0.2em;
  text-decoration: none; font-weight: 600; white-space: nowrap;
}
.cite + .cite::before { content: ","; margin-right: 0.1em; }  /* two sources: "1,2" */

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding-left: 2.4rem; margin-bottom: 1rem; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0.05rem;
  width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent-strong); font-weight: 700; font-size: 0.95rem;
  display: grid; place-items: center;
}

.address-box {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.75rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem; margin: 0.75rem 0 1.25rem;
}
.address-box address { font-style: normal; font-weight: 600; white-space: pre-line; }

/* FAQ */

.faq details { border-top: 1px solid var(--line); padding: 0.2rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 0.75rem 0; list-style-position: outside; }
.faq details > :not(summary) { margin-left: 0; }

/* Sources */

.quotes { display: grid; gap: 1rem; }
.quote {
  margin: 0; padding: 0.9rem 1rem; background: var(--surface);
  border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 6px;
  scroll-margin-top: 1rem;
}
.quote:target { box-shadow: 0 0 0 3px var(--accent-soft); animation: quote-arrive 1.6s ease-out; }
@keyframes quote-arrive { from { background: var(--accent-soft); } to { background: var(--surface); } }
.quote-fact { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 0.4rem; }
.quote-num {
  display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; margin-right: 0.55em;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent);
  font-weight: 700; letter-spacing: 0; vertical-align: 0.05em;
}
.quote blockquote { margin: 0 0 0.6rem; font-family: var(--serif); font-size: 1rem; }
.quote-source { font-size: 0.88rem; color: var(--muted); margin: 0; }

.prose h2:first-child { margin-top: 1rem; }
/* A line above each section heading, so long pages read as sections. */
.prose h2 { position: relative; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.debate h2 { border-top: 0; padding-top: 0; }  /* the columns have their own colored bars */
.debate h2 .heading-anchor { top: 0; }
/* "#" before each section heading (site.js): copies a link to that section. It hangs in
   the margin on wide screens and sits after the heading on narrow ones. */
.heading-anchor {
  position: absolute; left: -1.15em; top: 1.5rem; font-weight: 400; color: var(--muted);
  text-decoration: none; opacity: 0.35; transition: opacity 0.15s ease;
}
.prose h2:hover > .heading-anchor, .heading-anchor:focus-visible { opacity: 1; }
.heading-anchor.is-copied { opacity: 1; color: var(--accent); }
.heading-anchor.is-copied::after {
  content: "Copied"; position: absolute; left: 0; top: -1.5em; white-space: nowrap;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
}
@media (max-width: 47.99rem) {
  .heading-anchor { position: static; margin-left: 0.35em; }
  .heading-anchor.is-copied::after { position: static; margin-left: 0.4em; }
}

/* Generator */

.generator { margin-top: 2.5rem; padding: 2rem 0 1rem; background: var(--surface); border-block: 1px solid var(--line); }
.generator h2 { margin-top: 0; }
.privacy-note {
  display: inline-block; background: var(--accent-soft); color: var(--accent-strong);
  border-radius: 8px; padding: 0.55rem 0.8rem; font-size: 0.95rem;
}
/* The letter tool's privacy promise: above the form, so it's read before typing. */
.privacy-callout {
  display: flex; gap: 0.85rem; align-items: flex-start; 
  background: var(--accent-soft); color: var(--ink); border: 1px solid var(--accent);
  border-radius: var(--radius); padding: 1rem 1.1rem; margin: 0.25rem 0 0.5rem;
}
.privacy-callout-icon { flex: none; color: var(--accent); margin-top: 0.1rem; }
.privacy-callout p { margin: 0; font-size: 0.95rem; }
.privacy-callout p + p { margin-top: 0.4rem; }
.privacy-callout .privacy-callout-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.gen-grid { display: grid; gap: 2rem; margin-top: 1rem; }
@media (min-width: 62rem) {
  .gen-grid { grid-template-columns: minmax(19rem, 1fr) minmax(0, 1.3fr); align-items: start; }
  .gen-preview { position: sticky; top: 1rem; }
}
.js-only { display: none; }
.js .js-only { display: block; }
.js .no-js-only { display: none; }

.field { display: block; margin-bottom: 0.9rem; }
.field-label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.3rem; }
.field-hint { display: block; font-size: 0.86rem; color: var(--muted); margin-top: 0.25rem; }
input[type="text"], input[type="tel"], input[type="email"], input[type="url"], textarea, select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--field-line); border-radius: 8px; padding: 0.6rem 0.75rem;
}
textarea { min-height: 5.5rem; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
.row-city { display: grid; gap: 0 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 30rem) { .row-city { grid-template-columns: 2fr 1fr 1.3fr; } }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem 1rem 0.25rem; margin: 0 0 1rem; }
legend { font-weight: 600; font-size: 0.95rem; padding: 0 0.3rem; }
.radio { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.6rem; cursor: pointer; }
.radio input { margin-top: 0.35rem; accent-color: var(--accent); width: 1.05rem; height: 1.05rem; flex: none; }
.gen-form details { margin: 0 0 1rem; }
.gen-form summary { cursor: pointer; color: var(--accent); font-weight: 600; margin-bottom: 0.6rem; }
.gen-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 0.5rem; }
.preview-label { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.4rem; }

/* The letter: a true-to-scale US Letter page (8.5in x 11in, 1in margins, 12pt type).
   Sizes are in cqi of the preview column, so 1in = 100/8.5 = 11.76cqi
   and 12pt = 100 * 12 / 612 = 1.96cqi. */

.letter-stage, .gen-preview { container-type: inline-size; }
.letter-stage { margin-top: 1.5rem; }
.letter {
  aspect-ratio: 8.5 / 11; width: 100%; padding: 11.76cqi;
  background: var(--paper); color: var(--paper-ink); box-shadow: var(--shadow);
  border: 1px solid var(--line); border-radius: 2px;
  font: 1.96cqi/1.45 var(--serif);
}
.letter p { margin: 0; }
.letter-date { margin: 2em 0 !important; }
.letter-to { margin-bottom: 2em; }
.letter-re { margin-bottom: 1.4em !important; }
.letter-body p + p, .letter-body .choice { margin-top: 0.6em; }
.letter-sign { margin-top: 2.6em; max-width: 55%; }
.sign-line { display: block; border-bottom: 1px solid currentColor; height: 2.6em; }
.choice { display: flex; gap: 0.6em; align-items: baseline; }
.box { flex: none; display: inline-block; width: 0.85em; height: 0.85em; border: 1px solid currentColor; transform: translateY(0.1em); }

/* An empty fill is a line to write on, with its label underneath like a paper form. */
.fill:empty {
  position: relative; display: inline-block; min-width: 16em; height: 1.9em;
  vertical-align: bottom; border-bottom: 1px solid currentColor;
}
.fill.short:empty { min-width: 9em; }
.fill.long:empty { display: block; width: 100%; min-width: 0; }
.fill:empty::before {
  content: attr(data-label); position: absolute; left: 0; top: 100%;
  font: 0.7em/1.3 var(--sans); color: var(--paper-hint); white-space: nowrap;
}
.letter p:has(> .fill:empty) { margin-bottom: 0.8em; }

.letter .only-all, .letter .only-list, .letter .only-blank, .letter .if-street2 { display: none; }
.letter[data-mode="all"] .only-all,
.letter[data-mode="list"] .only-list,
.letter[data-mode="blank"] .only-blank,
.letter.has-street2 .if-street2 { display: block; }

/* Home: alert, then the company list with a filter sidebar */

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap.home { max-width: 74rem; }
.hero .lead { max-width: 40rem; }
/* News on the left, the current alert on the right; stacked on narrow screens. */
.home-bottom { display: grid; gap: 1.5rem 2.5rem; margin-top: 2.75rem; }
@media (min-width: 62rem) {
  .home-bottom { grid-template-columns: minmax(0, 2fr) minmax(17rem, 1fr); align-items: start; }
}
.home-bottom .news h2 { margin-top: 0; }
.home-bottom .alerts .section-label { margin-top: 0.4rem; }

/* A recent alert on a list row: an orange ring around the letter circle and a bell
   badge on its corner, like a notification. The badge sits above the row's link
   overlay so it can show its tooltip. */
.monogram { position: relative; }
.monogram.has-alert { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--alert); }
.alert-badge {
  position: absolute; top: -0.3rem; right: -0.3rem; z-index: 2;
  display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%;
  background: var(--alert); color: var(--alert-ink); box-shadow: 0 0 0 2px var(--surface);
  cursor: default;
}
.alert-badge svg { width: 0.8rem; height: 0.8rem; fill: currentColor; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.alert-badge::after {
  content: attr(data-tip); position: absolute; bottom: calc(100% + 0.45rem); left: -0.4rem;
  white-space: nowrap; padding: 0.35rem 0.6rem; border-radius: 6px;
  background: var(--ink); color: var(--bg); font-size: 0.8rem; font-weight: 600; line-height: 1.3;
  opacity: 0; pointer-events: none; transition: opacity 0.15s;
}
.alert-badge:hover::after { opacity: 1; }

.alert-card { border-left: 4px solid var(--accent); }
.alert-card .card-kicker { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.alert-meta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; font-size: 0.92rem; color: var(--muted); margin-top: 0.2rem; }
.alert-meta .countdown { margin-top: 0; }

.badge {
  display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; line-height: 1.4; white-space: nowrap;
}
/* Small all-caps labels on each company. Neutral unless a tier class colors them. */
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.55rem;
  border-radius: 4px; background: var(--pill-bg); color: var(--muted);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  line-height: 1.4; white-space: nowrap;
}
.pill-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; flex: none; }
.tier-none { background: var(--none-bg); color: var(--none-ink); }
.tier-easy { background: var(--easy-bg); color: var(--easy-ink); }
.tier-mail { background: var(--mail-bg); color: var(--mail-ink); }
.tier-no-opt-out { background: var(--noopt-bg); color: var(--noopt-ink); }
.tier-unverified { background: var(--unver-bg); color: var(--unver-ink); }
.dot { display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; flex: none; }
.dot.tier-none { background: var(--none-ink); }
.dot.tier-easy { background: var(--easy-ink); }
.dot.tier-mail { background: var(--mail-ink); }
.dot.tier-no-opt-out { background: var(--noopt-ink); }
.dot.tier-unverified { background: var(--unver-ink); }

.companies-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 1rem; margin: 2.75rem 0 1rem;
}
.companies-head h2 { margin: 0; }
.js .sort { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.95rem; }
.sort select { width: auto; background: var(--surface); padding: 0.5rem 0.75rem; font-size: 0.95rem; }

.browser { display: grid; gap: 1rem; }
@media (min-width: 60rem) {
  .js .browser { grid-template-columns: 17rem minmax(0, 1fr); gap: 1.5rem; align-items: start; }
}

/* Filters: a sidebar on wide screens (site.js keeps it open there), a toggle on narrow ones. */
.filter-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 1.25rem;
}
.filter-panel > summary { cursor: pointer; font-weight: 600; padding: 0.75rem 0; }
.filter-panel[open] > summary { border-bottom: 1px solid var(--line); }
.filter-active { margin-left: 0.4rem; font-weight: 400; font-size: 0.88rem; color: var(--muted); }
@media (min-width: 60rem) {
  .filter-panel { position: sticky; top: 1rem; }
  .filter-panel > summary { display: none; }
}
.filter-group { border: 0; border-radius: 0; margin: 0; padding: 1.1rem 0; min-width: 0; }
.filter-group + .filter-group { border-top: 1px solid var(--line); }
.filter-group legend { float: left; width: 100%; padding: 0; margin-bottom: 0.4rem; font-weight: 700; font-size: 1.02rem; }
.check {
  clear: both; display: flex; align-items: center; gap: 0.55rem; padding: 0.28rem 0;
  font-size: 0.98rem; line-height: 1.35; cursor: pointer;
}
.check input { flex: none; width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--accent); }
.count {
  padding: 0 0.35rem; border: 1px solid var(--line); border-radius: 4px;
  font-size: 0.78rem; line-height: 1.5; color: var(--muted); font-variant-numeric: tabular-nums;
}

.search-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem;
}
.search input {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--surface);
  border: 1px solid var(--field-line); border-radius: 8px; padding: 0.75rem 0.9rem;
}
.search input:focus { border-color: var(--accent); }
.result-count { margin: 1rem 0 0.75rem; font-size: 0.95rem; color: var(--muted); }

.company-list {
  list-style: none; margin: 0; padding: 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.company-list > li + li { margin-top: 0; }
/* A line above every visible row except the first, whichever rows the filters hide. */
.company:not([hidden]) ~ .company { border-top: 1px solid var(--line); }
.company {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem; align-items: center; padding: 1.25rem 1.5rem;
}
.company:has(.company-name a):hover { background: var(--bg); }
/* The rating as an icon, in its color (tier-* sets the background and ink). */
.monogram {
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  line-height: 1;
}
.status-icon { width: 52%; height: 52%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.company-body { display: grid; gap: 0.3rem; min-width: 0; }
.company-body p { margin: 0; }
.company-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.75rem; }
.company-name { font-size: 1.2rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.company-name a { text-decoration: none; }
.company-name a:hover { text-decoration: underline; }
.company-name a::after { content: ""; position: absolute; inset: 0; }  /* the whole row is the link */
.company-product { font-size: 0.95rem; color: var(--muted); }
.company-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.5rem; margin-top: 0.25rem !important; }
.company-checked { margin-left: auto; font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 40rem) {
  .search-panel { padding: 0; border: 0; background: none; }
  .company { gap: 0.9rem; padding: 1rem; align-items: start; }
  .monogram { width: 2.75rem; height: 2.75rem; font-size: 1.15rem; }
  .company-checked { margin-left: 0; }
}
.tag {
  display: inline-block; padding: 0 0.4rem; border-radius: 4px;
  border: 1px dashed var(--field-line); font-size: 0.72rem; font-weight: 500;
  color: var(--muted); vertical-align: 0.1em; align-self: center;
}
.no-results { color: var(--muted); padding: 1rem 0.25rem; }
.show-more { margin: 1rem 0 0; text-align: center; }
.request-line { color: var(--muted); font-size: 0.95rem; margin: 1rem 0.25rem 0; }
/* "Get notified of changes" on company pages */
.watch-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: 1rem 0; }
@media (min-width: 40rem) { .watch-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.watch-option { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; background: var(--surface); }
.watch-option h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.watch-option p { margin: 0.5rem 0 0; }
.watch-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
/* "RSS tools": a button that opens a small menu (a <details>, so it works without JS). */
.menu { position: relative; display: inline-block; margin-top: 0.6rem; }
.menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-chevron { width: 0.8rem; height: 0.8rem; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.15s ease; }
.menu[open] .menu-chevron { transform: rotate(180deg); }
.menu-panel {
  position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; width: min(20rem, 80vw);
  display: grid; gap: 0.1rem; padding: 0.5rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow);
}
.menu-panel > a { padding: 0.55rem 0.65rem; border-radius: 8px; color: var(--ink); text-decoration: none; }
.menu-panel > a:hover { background: var(--bg); }
.menu-copy { display: grid; gap: 0.4rem; padding: 0.55rem 0.65rem; border-top: 1px solid var(--line); margin-top: 0.25rem; }
.menu-copy code { font-size: 0.78rem; overflow-wrap: anywhere; color: var(--muted); }
.menu-copy .btn { justify-self: start; }
.menu-panel > p { margin: 0; padding: 0.4rem 0.65rem 0.2rem; }

.link-button {
  background: none; border: 0; padding: 0; font: inherit; color: var(--accent);
  text-decoration: underline; cursor: pointer;
}

.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list > li { margin: 0; padding: 0.85rem 0.25rem; border-bottom: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.85rem; align-items: start; }
.news-text { display: grid; gap: 0.15rem; }
/* The outlet's initials, not its logo: the site shows no logos. */
.outlet-badge {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1;
}
.outlet-badge.c0 { background: var(--m0-bg); color: var(--m0-ink); }
.outlet-badge.c1 { background: var(--m1-bg); color: var(--m1-ink); }
.outlet-badge.c2 { background: var(--m2-bg); color: var(--m2-ink); }
.outlet-badge.c3 { background: var(--m3-bg); color: var(--m3-ink); }
.outlet-badge.c4 { background: var(--m4-bg); color: var(--m4-ink); }
.outlet-badge.c5 { background: var(--m5-bg); color: var(--m5-ink); }
.outlet-badge.c6 { background: var(--m6-bg); color: var(--m6-ink); }
.outlet-badge.c7 { background: var(--m7-bg); color: var(--m7-ink); }
.news-list a { font-weight: 600; text-decoration: none; color: var(--ink); }
.news-list a:hover { color: var(--accent); text-decoration: underline; }
.news-meta { font-size: 0.85rem; color: var(--muted); }
.news-credit { font-size: 0.82rem; color: var(--muted); margin-top: 0.6rem; }

/* Quotations in long-form pages (the arbitration explainer) */
.prose blockquote {
  margin: 1.25rem 0; padding: 0.15rem 0 0.15rem 1rem; border-left: 3px solid var(--accent);
  font-family: var(--serif); font-size: 1.02rem;
}
.prose blockquote p { margin-bottom: 0.5rem; }
.prose blockquote .attribution { display: block; font-family: var(--sans); font-size: 0.85rem; color: var(--muted); }

/* Timeline (arbitration explainer). Without JavaScript: a sideways-scrolling row of
   cards. With it: a row of years above, previous/next buttons, and arrow keys. */
.timeline { margin: 1.25rem 0 2rem; }
.tl-controls { display: none; }
.js .tl-controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 0.5rem; margin-bottom: 0.75rem; }
.tl-arrow {
  width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 1.3rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
}
.tl-arrow:hover { border-color: var(--accent); }
.tl-arrow:disabled { opacity: 0.35; cursor: default; }
.tl-years {
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
}
.tl-years::before {
  content: ""; position: absolute; left: 0; right: 0; top: 1.1rem; height: 2px; background: var(--line);
}
.tl-years > li + li { margin-top: 0; }
.tl-year {
  position: relative; width: 100%; padding: 0.55rem 0 0; border: 0; background: none;
  color: var(--muted); font: inherit; font-size: 0.78rem; cursor: pointer;
  display: grid; justify-items: center; gap: 0.3rem;
}
.tl-dot {
  width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--surface);
  border: 2px solid var(--field-line);
}
.tl-year:hover .tl-dot { border-color: var(--accent); }
.tl-year[aria-current="true"] { color: var(--ink); font-weight: 700; }
.tl-year[aria-current="true"] .tl-dot { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }
.tl-year-label { display: none; }
@media (min-width: 40rem) { .tl-year-label { display: block; } }

.tl-track {
  list-style: none; margin: 0; padding: 0.25rem 0 1rem; position: relative;
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}
.tl-track:focus-visible { outline-offset: 4px; }
.tl-track > li + li { margin-top: 0; }
.tl-card {
  flex: 0 0 min(85%, 19rem); scroll-snap-align: center;
  display: grid; align-content: start; gap: 0.35rem; padding: 1rem 1.1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tl-card.is-active { border-color: var(--accent); box-shadow: var(--shadow); }
.tl-card-year { font-size: 1.5rem; font-weight: 800; color: var(--accent); line-height: 1; }
.tl-card-title { font-size: 1.02rem; line-height: 1.3; }
.tl-card-title a { color: var(--ink); }
.tl-card-text { font-size: 0.95rem; color: var(--muted); }
.tl-card-court { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 0.45rem; margin-top: 0.25rem; }
.tl-card-quote { display: grid; gap: 0.2rem; font-family: var(--serif); font-size: 0.92rem; padding-left: 0.65rem; border-left: 3px solid var(--side, var(--accent)); }
.tl-card-quote-side { font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--side); }
.tl-card-quote q { quotes: "“" "”"; }
.tl-card-quote-by { font-family: var(--sans); font-size: 0.78rem; color: var(--muted); }
.tl-card-people { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 0.45rem; margin-top: 0.25rem; }

/* Supporters and critics side by side (arbitration explainer). Distinct colors that
   don't imply a verdict: violet and amber, not green and red,
   and neither the site's blue nor a rating color. */
.debate { display: grid; gap: 1.5rem; margin: 2rem 0; }
@media (min-width: 56rem) {
  .debate { grid-template-columns: 1fr 1fr; gap: 2rem; }
  /* The debate and the timeline break out of the text column to the header's width;
     paragraphs stay narrow. The "On this page" list fades out while they pass under it. */
  .debate, .timeline { width: min(72rem, calc(100vw - 2rem)); position: relative; left: 50%; transform: translateX(-50%); }
}
.debate-side { border-top: 4px solid var(--side); padding-top: 0.75rem; }
.debate-side h2 { margin-top: 0.25rem; color: var(--side); }
.debate-side blockquote { border-left-color: var(--side); }
.debate-side ul { padding-left: 1.1rem; }
.debate-side li { margin-bottom: 0.9rem; }
.debate-side li strong { color: var(--side); }
.debate .attribution { display: block; margin-top: 0.2rem; font-size: 0.82rem; color: var(--muted); }
.debate-pro, .side-supporter { --side: var(--m5-ink); }
.debate-con, .side-critic { --side: var(--m3-ink); }

/* Process chart (methodology): agent steps and script steps in two colors. */
.flow { margin: 1.5rem 0 2rem; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; counter-reset: flow; }
.flow-steps > li + li { margin-top: 0; }
.flow-step {
  position: relative; counter-increment: flow; display: grid; gap: 0.2rem; align-content: start;
  padding: 0.75rem 0.85rem; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); border-top: 4px solid var(--lane);
}
.flow-agent { --lane: var(--m5-ink); }
.flow-script { --lane: var(--easy-ink); }
.flow-who { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lane); }
.flow-who::before { content: counter(flow) " · "; }
.flow-step strong { font-size: 0.98rem; line-height: 1.25; }
.flow-step > span:last-child { font-size: 0.85rem; color: var(--muted); }
.flow-note { font-size: 0.9rem; color: var(--muted); margin-top: 0.75rem; }
@media (min-width: 56rem) {
  .flow { width: min(72rem, calc(100vw - 2rem)); position: relative; left: 50%; transform: translateX(-50%); }
  .flow-steps { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1.1rem; }
  .flow-step + .flow-step::before {
    content: "→"; position: absolute; left: -0.95rem; top: 1.6rem; color: var(--muted); font-size: 0.95rem;
  }
}

/* Standard entry pages */
/* "Report an error" sits at the top right; the archive note's summary stays clear of it,
   and its opened text can use the full width below. */
.entry-meta { position: relative; min-height: 1.5em; font-size: 0.9rem; margin: 0 0 0.5rem; }
.entry-report { position: absolute; top: 0; right: 0; }
.archive-note { color: var(--muted); margin: 0; }
.archive-note summary { margin-right: 8.5rem; }
/* Wide screens with the "On this page" side panel: its own "Report an error" is enough. */
@media (min-width: 75rem) {
  main:has(> .outline) .entry-report { display: none; }
  main:has(> .outline) .archive-note summary { margin-right: 0; }
  main:has(> .outline) .entry-meta:not(:has(.archive-note)) { display: none; }
}
.archive-note summary { cursor: pointer; }
.archive-note p { margin: 0.4rem 0 0; border-left: 3px solid var(--line); padding-left: 0.7rem; }

/* Print: only the letter, on one US Letter page. Works without JavaScript too. */

@media print {
  @page { size: letter; margin: 1in; }
  html, body { background: #fff !important; color: #000 !important; }
  body *:not(:has(.letter)):not(.letter):not(.letter *) { display: none !important; }
  body *:has(.letter) {
    display: block !important; margin: 0 !important; padding: 0 !important; border: 0 !important;
    max-width: none !important; width: auto !important; background: none !important;
    box-shadow: none !important; position: static !important;
  }
  .letter {
    aspect-ratio: auto; padding: 0; border: 0; box-shadow: none; border-radius: 0;
    font-size: 12pt; color: #000;
  }
  /* Blank lines keep a small label, so a hand-filled letter is clear. */
  .fill:empty::before { color: #6b6b6b; }
}

/* A company's other services (entry pages and guides). */
.related { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.related-title { font-size: 1rem; margin: 0 0 0.2rem; }
.related-note { font-size: 0.9rem; color: var(--muted); margin: 0 0 0.6rem; }
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.related-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem; }
.pill.differs { background: var(--m5-bg); color: var(--m5-ink); }

/* Guides: the list under the home page intro, and the guide pages. */
.posts { margin: 0 0 2.5rem; }
.posts h2 { font-size: 1.1rem; margin: 0 0 0.75rem; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.post-list > li + li { margin-top: 0; }
@media (min-width: 44rem) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Phones: the home page's guides scroll sideways instead of stacking, so the company
   list starts higher. The next card peeks in at the edge to show there's more. */
@media (max-width: 43.99rem) {
  .posts .post-list:not(.post-archive) {
    grid-auto-flow: column; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    /* Run to the screen edges, with the first card still lined up with the text. */
    margin-inline: -1rem; padding: 0 1rem 0.4rem; scroll-padding-inline: 1rem;
  }
  .posts .post-list:not(.post-archive) > .post { scroll-snap-align: start; grid-template-rows: auto auto 1fr; }
  .posts .post-list:not(.post-archive) .post-date { align-self: end; }
  .posts { margin-bottom: 1.75rem; }
  /* Three lines of each guide's description are enough to choose one. */
  .posts .post-list:not(.post-archive) .post-desc {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  }
  /* A tighter opening on the home page, without the list of examples. */
  .hero { padding: 1.5rem 0 0.25rem; }
  .hero h1 { font-size: 1.65rem; margin-bottom: 0.5rem; }
  .hero .lead { font-size: 1.05rem; }
  .lead-extra { display: none; }
}
.post {
  position: relative; display: grid; gap: 0.3rem; align-content: start;
  padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.post:hover { border-color: var(--accent); }
.post-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; color: var(--ink); text-decoration: none; }
.post-title::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.post-desc { font-size: 0.92rem; color: var(--muted); }
.post-date { font-size: 0.8rem; color: var(--muted); }
.guide-dates { color: var(--muted); font-size: 0.9rem; margin-top: -0.5rem; }
.guide-page .company-list { list-style: none; padding: 0; margin: 1rem 0 2rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.section-head h2 { margin: 0; }
.section-head a { font-size: 0.9rem; }
.post-list.post-archive { grid-template-columns: 1fr; margin-top: 1.5rem; }
#news, #search { scroll-margin-top: 1rem; }

/* "On this page" (templates/_outline.html, site.js): beside the text on wide screens,
   a pill at the bottom of the screen on narrow ones. */
html:has(.outline) { scroll-behavior: smooth; }
main:has(> .outline) { position: relative; }
main h2[id] { scroll-margin-top: 1.25rem; }
.outline { font-family: var(--sans); font-size: 0.88rem; line-height: 1.35; }
.outline ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.outline li { margin: 0; }
.outline a {
  display: block; margin-left: -1px; padding: 0.45em 0 0.45em 1em;
  border-left: 2px solid transparent; color: var(--muted); text-decoration: none;
}
.outline a:hover { color: var(--ink); }
.outline a[aria-current] { color: var(--accent); border-left-color: var(--accent); }
.outline .outline-report { display: block; margin-top: 0.8em; padding: 0.6em 0 0; border-top: 1px solid var(--line); border-left: 0; color: var(--accent); }
/* The page's own title heads the list; it links to the top, and is the current item
   while the reader is above the first section. */
.outline .outline-title {
  display: block; margin: 0 0 0.6em; padding: 0; border-left: 0;
  font-weight: 600; color: var(--ink);
}
.outline .outline-title[aria-current] { color: var(--accent); }

@media (min-width: 75rem) {
  main > .outline {
    position: absolute; top: 0; bottom: 0; padding-top: 2.5rem;
    left: calc(50% + 22rem + 2.5rem); width: min(15rem, calc(50% - 22rem - 4rem));
  }
  .outline-toggle { display: none; }
  .outline-panel {
    position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow-y: auto;
    transition: opacity 0.2s ease, visibility 0s;
  }
  /* A wide block, such as the letter generator, passing under the list: step aside. */
  .outline.is-covered .outline-panel {
    opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0s 0.2s;
  }
}
@media (max-width: 74.99rem) {
  main > .outline {
    position: fixed; z-index: 50; left: 1rem; right: 1rem;
    bottom: calc(0.9rem + env(safe-area-inset-bottom)); max-width: 30rem; margin: 0 auto;
    opacity: 0; visibility: hidden; transform: translateY(120%);
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s 0.25s;
  }
  main > .outline.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .outline-toggle {
    display: flex; align-items: center; gap: 0.65em; width: 100%;
    padding: 0.7em 1.1em 0.7em 0.8em; font: inherit; color: var(--ink); cursor: pointer;
    border: 1px solid var(--line); border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
  }
  .outline-now { flex: 1; min-width: 0; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .outline-ring { flex: none; width: 22px; height: 22px; transform: rotate(-90deg); fill: none; stroke-width: 2.5; }
  .outline-ring circle { stroke: var(--line); }
  .outline-ring .outline-done { stroke: var(--accent); stroke-dasharray: 100; stroke-dashoffset: 100; }
  .outline-chevron {
    flex: none; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5;
    transition: transform 0.2s ease;
  }
  .outline.is-open .outline-chevron { transform: rotate(180deg); }
  .outline-panel {
    position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); max-height: 60vh; overflow-y: auto;
    padding: 1.1em 1.2em 1em; border-radius: 16px; background: var(--surface);
    border: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s 0.2s;
  }
  .outline.is-open .outline-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}

/* "Report an error" (/report/) */
.report-form { margin-top: 1.5rem; }
.report-kinds { border: 0; padding: 0; margin: 0 0 0.9rem; min-width: 0; }
.report-kinds legend { padding: 0; }
.report-kind { display: block; margin: 0.3rem 0; font-weight: 400; }
.report-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.report-note { font-size: 0.92rem; color: var(--muted); margin-top: 1.5rem; }
