/* Chabad UF caller page. Round 1 look (direction C, "up next" deck, tinted result tiles). No third-party origin. */
:root {
  --bg: #fffaf8;
  --surface: #ffffff;
  --ink: #0b1a3d;          /* deep navy, headings */
  --ink-2: #26324f;        /* body */
  --muted: #545d73;        /* secondary text, 4.5:1 on --bg */
  --line: #e6dfdc;
  --line-2: #d6ccc8;
  --brand: #1f4180;        /* logo navy */
  --red: #da3b1d;          /* action red: logo red darkened so white text passes 4.5:1 */
  --red-ring: #ef3f23;     /* logo red, rings and marks only */
  --red-soft: #fde4dc;
  --shadow: 0 1px 2px rgba(11, 26, 61, .06), 0 8px 24px rgba(11, 26, 61, .08);
  --radius: 18px;
  --radius-s: 14px;
  --tap: 48px;
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --t-new-bg: #d6f5e4;    --t-new-fg: #0b4a31;
  --t-rose-bg: #fde0da;   --t-rose-fg: #6e1a0c;
  --t-violet-bg: #ebe3fd; --t-violet-fg: #36206e;
  --t-blue-bg: #dbe5ff;   --t-blue-fg: #0f2a6b;
  --t-green-bg: #d8f5dc;  --t-green-fg: #114a1c;
  --t-amber-bg: #fcefc2;  --t-amber-fg: #5a4000;
  --t-gray-bg: #e8e9ee;   --t-gray-fg: #2c3245;
  --t-teal-bg: #d3f0f0;   --t-teal-fg: #0b4545;
  --t-peach-bg: #ffe5cf;  --t-peach-fg: #5e2c00;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font-family: var(--font); font-size: 17px; line-height: 1.4;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.app { min-height: 100vh; min-height: 100dvh; }
.screen {
  max-width: 480px; margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 18px;
}
.screen-boot { align-items: center; justify-content: center; min-height: 80vh; }
.screen-boot .logo { width: 180px; opacity: .9; }

/* Header */
.top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.logo { display: block; width: 176px; height: auto; }
.top-actions { display: flex; gap: 4px; }
.link-btn {
  min-height: 44px; min-width: 44px; padding: 0 10px; border: 0; background: none; color: var(--brand);
  font-weight: 650; font-size: 15px; border-radius: 12px; cursor: pointer;
}
.link-btn:hover { background: rgba(31, 65, 128, .07); }
.back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px 0 0;
  border: 0; background: none; color: var(--ink); font-weight: 750; font-size: 18px; cursor: pointer; align-self: flex-start;
}
.back svg { width: 22px; height: 22px; }

h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.01em; }
.hello { font-size: 38px; line-height: 1.1; font-weight: 800; }
.big-title { font-size: 44px; line-height: 1.05; font-weight: 850; letter-spacing: -.02em; overflow-wrap: anywhere; }
.sub { margin: 4px 0 0; color: var(--ink-2); font-size: 17px; }
.muted { color: var(--muted); }

/* Round line + ring */
.round-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.round-name { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.15; }
.round-kind { font-size: 17px; color: var(--ink-2); }
.ring-wrap { display: flex; align-items: center; gap: 10px; flex: none; }
.ring { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring .track { stroke: var(--red-soft); }
.ring .bar { stroke: var(--red-ring); stroke-linecap: round; transition: stroke-dashoffset .5s ease; }
.ring-nums { font-weight: 750; color: var(--ink); font-size: 16px; line-height: 1.3; }

.tabs { display: flex; gap: 8px; overflow-x: auto; }
.tab {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface);
  color: var(--ink); font-weight: 650; cursor: pointer; white-space: nowrap;
}
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Up next deck */
.deck { position: relative; padding-bottom: 18px; }
.deck::before, .deck::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 9px; height: 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); z-index: 0;
}
.deck::after { left: 28px; right: 28px; bottom: 0; }
.deck.single::before, .deck.single::after { display: none; }
.deck.two::after { display: none; }
.card {
  position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 18px 18px;
}
.upnext-label { font-weight: 750; color: var(--ink); font-size: 20px; margin: 0 0 2px 4px; }
.upnext-name { font-size: 38px; font-weight: 850; color: var(--ink); line-height: 1.1; margin: 0 4px 10px; overflow-wrap: anywhere; letter-spacing: -.015em; }
.chan { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--ink-2); margin: 0 4px 14px; font-size: 18px; }
.chan span { display: inline-flex; align-items: center; gap: 6px; }
.chan svg { width: 20px; height: 20px; }
.chan .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-2); }
.gift-chip-row { margin: -4px 4px 12px; }

/* Buttons */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px;
  padding: 10px 18px; border-radius: var(--radius-s); border: 1.5px solid var(--line-2); background: var(--surface);
  color: var(--ink); font-weight: 800; font-size: 20px; text-decoration: none; cursor: pointer; text-align: left;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(218, 59, 29, .25); }
.btn.primary:hover { background: #c83417; }
.btn.center { text-align: center; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn.big { min-height: 74px; font-size: 28px; }
.btn.step { justify-content: flex-start; min-height: 66px; }
.btn .num { font-size: 24px; font-weight: 850; min-width: 22px; }
.btn .lbl { display: flex; flex-direction: column; line-height: 1.15; }
.btn .lbl small { font-size: 15px; font-weight: 550; opacity: .95; margin-top: 3px; }
.btn.primary .lbl small { opacity: 1; }
.btn svg { width: 30px; height: 30px; flex: none; }
.btn.step svg { width: 28px; height: 28px; }
.btn.quiet { font-size: 18px; min-height: 52px; font-weight: 750; justify-content: center; }
.btn.done-step { background: var(--t-new-bg); border-color: #b9e8cf; }
.btn .tick { margin-left: auto; width: 26px; height: 26px; color: var(--t-new-fg); }

.divider { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); font-size: 18px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }

.big-title:focus, h1[tabindex]:focus { outline: none; }
.sticky-foot {
  position: sticky; bottom: 0; z-index: 5; margin: 0 -20px -28px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom));
  background: var(--bg); border-top: 1px solid var(--line);
}
.sticky-foot .btn { box-shadow: var(--shadow); }

/* Lists */
.sec-title { font-size: 24px; font-weight: 800; color: var(--ink); margin: 6px 0 -6px; }
.sec-title.dim { color: var(--muted); font-size: 19px; }
.rows { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.row {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 8px 12px 8px 16px;
  border: 0; border-top: 1px solid var(--line); background: none; text-align: left; cursor: pointer; color: var(--ink);
}
.row:first-child { border-top: 0; }
.row:hover { background: #fff6f3; }
.row .nm { flex: 1; font-weight: 750; font-size: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row.dim .nm { color: var(--muted); }
.row .chev { width: 20px; height: 20px; color: var(--ink); flex: none; }
.row .when { font-size: 14px; color: var(--muted); white-space: nowrap; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 3px 12px; border-radius: 999px;
  font-size: 15px; font-weight: 650; white-space: nowrap; background: var(--t-gray-bg); color: var(--t-gray-fg);
}
.chip svg { width: 16px; height: 16px; }
.tone-new { background: var(--t-new-bg); color: var(--t-new-fg); }
.tone-rose { background: var(--t-rose-bg); color: var(--t-rose-fg); }
.tone-violet { background: var(--t-violet-bg); color: var(--t-violet-fg); }
.tone-blue { background: var(--t-blue-bg); color: var(--t-blue-fg); }
.tone-green { background: var(--t-green-bg); color: var(--t-green-fg); }
.tone-amber { background: var(--t-amber-bg); color: var(--t-amber-fg); }
.tone-gray { background: var(--t-gray-bg); color: var(--t-gray-fg); }
.tone-teal { background: var(--t-teal-bg); color: var(--t-teal-fg); }
.tone-peach { background: var(--t-peach-bg); color: var(--t-peach-fg); }

/* Person */
.person-sub { font-size: 18px; color: var(--ink-2); margin-top: 2px; }
.context { display: flex; flex-direction: column; gap: 10px; }
.ctx-line { display: flex; gap: 12px; align-items: flex-start; }
.ctx-line svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 1px; }
.ctx-line p { margin: 0; color: var(--ink-2); }
.ctx-line strong { color: var(--ink); }
.say { background: #fff4ef; border-left: 4px solid var(--red-ring); border-radius: 10px; padding: 10px 12px; color: var(--ink); }
.say .say-k { display: block; font-size: 14px; font-weight: 750; color: var(--muted); margin-bottom: 2px; }
.notes { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.notes li { background: #f7f4f2; border-radius: 10px; padding: 8px 12px; color: var(--ink-2); }
.notes .by { display: block; font-size: 14px; color: var(--muted); font-weight: 650; }
.card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.script { white-space: pre-line; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.script.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.show-all { min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.more-phones { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2);
  color: var(--ink); text-decoration: none; font-weight: 650; background: var(--surface);
}
.gift-banner {
  display: flex; gap: 12px; align-items: center; background: var(--t-green-bg); color: var(--t-green-fg);
  border-radius: var(--radius-s); padding: 12px 14px; font-weight: 650; border: 0; width: 100%; text-align: left; min-height: 56px; cursor: pointer;
}
.gift-banner svg { width: 26px; height: 26px; flex: none; }
.gift-banner .grow { flex: 1; }

/* Sheet */
.scrim { position: fixed; inset: 0; background: rgba(11, 26, 61, .32); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); z-index: 20; animation: fade .18s ease; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; max-height: 92vh; max-height: 92dvh; overflow-y: auto;
  background: var(--bg); border-radius: 26px 26px 0 0; padding: 10px 20px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 40px rgba(11, 26, 61, .2); animation: rise .22s ease;
  max-width: 520px; margin: 0 auto;
}
.grab { width: 52px; height: 5px; border-radius: 3px; background: var(--line-2); margin: 4px auto 14px; }
.sheet h2 { font-size: 40px; font-weight: 850; line-height: 1.1; }
.sheet .who { font-size: 26px; font-weight: 800; color: var(--ink); margin: 2px 0 16px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  position: relative; min-height: 78px; padding: 10px 12px; border-radius: 16px; border: 2px solid transparent;
  font-weight: 800; font-size: 20px; line-height: 1.15; cursor: pointer; text-align: center;
}
.tile[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.tile .tick { position: absolute; right: 10px; top: 50%; width: 22px; height: 22px; margin-top: -11px; }
.field-label { display: block; font-size: 20px; font-weight: 800; color: var(--ink); margin: 18px 0 8px; }
.input, .textarea {
  width: 100%; min-height: 56px; padding: 14px 16px; border-radius: var(--radius-s); border: 1.5px solid var(--line-2);
  background: var(--surface); font-size: 18px; color: var(--ink);
}
.textarea { min-height: 88px; resize: vertical; }
.input:focus, .textarea:focus, .btn:focus-visible, .tile:focus-visible, .row:focus-visible, .tab:focus-visible, .link-btn:focus-visible, .back:focus-visible, .show-all:focus-visible, .pill-link:focus-visible, .gift-banner:focus-visible {
  outline: 3px solid #4b74c9; outline-offset: 2px;
}
.cb { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cb .input { min-width: 0; }
.cb-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.err { color: #a3220b; font-weight: 650; margin: 8px 0 0; }
.sheet .btn.primary { margin-top: 18px; }
/* Version 1.3: Save and next sticks to the bottom of the sheet (short phones, 390x664) */
.sheet-foot {
  position: sticky; bottom: calc(-20px - env(safe-area-inset-bottom)); z-index: 1; background: var(--bg);
  margin: 0 -20px; padding: 0 20px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 14px -12px rgba(11, 26, 61, .25);
}
.sheet-foot .err { padding-top: 10px; margin: 0; }
.sheet-foot .btn.primary { margin-top: 12px; }
.held li { color: var(--ink-2); }

/* Saved / done / nothing / gift */
.saved-head { display: flex; align-items: center; gap: 10px; }
.saved-head svg { width: 36px; height: 36px; }
.saved-head h1 { font-size: 40px; font-weight: 850; }
.mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 20px 0; }
.mid svg.hero { width: 120px; height: 120px; }
.mid h1 { font-size: 46px; font-weight: 850; line-height: 1.08; }
.mid p { margin: 0; font-size: 19px; color: var(--ink-2); }
.summary-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--line); min-height: 52px; }
.summary-row:first-child { border-top: 0; }
.summary-row b { color: var(--ink); font-size: 18px; }

/* Sign in */
.signin { min-height: 100vh; min-height: 100dvh; }
.signin .logo { width: 230px; margin-top: 8px; }
.signin h1 { font-size: 48px; font-weight: 850; line-height: 1.05; margin-top: 18px; }
.signin .lead { font-size: 20px; color: var(--ink-2); margin: 0; }
.signin form { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 40px; }
.signin label { font-size: 20px; font-weight: 800; color: var(--ink); }
.code-input { letter-spacing: .4em; font-size: 26px; font-weight: 800; text-align: center; }

/* His view */
.admin .screen, .screen.admin { max-width: 1120px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; }
.kpi .k { color: var(--muted); font-size: 15px; font-weight: 650; }
.kpi .v { color: var(--ink); font-size: 30px; font-weight: 850; line-height: 1.1; }
.girls { display: grid; grid-template-columns: 1fr; gap: 12px; }
.girl { display: flex; flex-direction: column; gap: 12px; }
.girl-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.girl-name { font-size: 22px; font-weight: 850; color: var(--ink); }
.live { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--t-new-fg); background: var(--t-new-bg); border-radius: 999px; padding: 4px 10px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #179157; display: block; animation: pulse 1.6s infinite; }
.idle { font-size: 15px; color: var(--muted); font-weight: 600; }
.bar { height: 10px; background: var(--red-soft); border-radius: 999px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--red-ring); border-radius: 999px; }
.girl-nums { display: flex; gap: 16px; flex-wrap: wrap; color: var(--ink-2); font-size: 16px; }
.girl-nums b { color: var(--ink); font-size: 18px; }

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 40;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 650; max-width: calc(100% - 32px);
  box-shadow: var(--shadow);
}
.noscript { padding: 20px; }

@keyframes rise { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Laptop */
@media (min-width: 900px) {
  body { background: #f6efec; }
  .screen:not(.admin) {
    margin: 32px auto; min-height: auto; background: var(--bg); border-radius: 28px; box-shadow: var(--shadow);
    padding: 28px 32px 32px; max-width: 520px;
  }
  .signin { min-height: 760px; }
  .sticky-foot { margin: 0 -32px -32px; padding: 14px 32px; border-radius: 0 0 28px 28px; }
  .screen.admin { padding: 32px; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .girls { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
}

/* ---------- version 1.1 ---------- */
/* Call and Text outside 9 AM to 8 PM: dimmed, not tappable (Email stays). Disabled, so contrast rules do not apply,
   but the words stay readable. */
.btn.step.dimmed { background: var(--t-gray-bg); color: var(--t-gray-fg); border-color: var(--line-2); opacity: 1; box-shadow: none; }
.btn.step.dimmed .num { background: transparent; color: var(--t-gray-fg); }
.btn.step.dimmed small { color: var(--t-gray-fg); }
.screen-line { margin-bottom: 2px; }
.bd-email { margin: 4px 0 2px; }
.bd-email .btn { width: 100%; }
.girl-flags { display: flex; gap: 8px; flex-wrap: wrap; }
.girl.quiet { border-color: var(--t-rose-fg); }
.per-day { color: var(--muted); }
.office { border-left: 5px solid var(--t-peach-fg); }
.office .sec-title { margin: 0 0 6px; }
.office-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.office-list li { padding-top: 10px; border-top: 1px solid var(--line); }
.office-list li:first-child { border-top: 0; padding-top: 0; }
.office-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--ink); }
.office-list p { margin: 4px 0 0; color: var(--ink-2); white-space: pre-line; }
.pool-empty { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: var(--radius-s);
  background: var(--t-amber-bg); color: var(--t-amber-fg); font-weight: 700; }
.pool-empty svg { width: 22px; height: 22px; flex: none; }
.script-card .script { font-size: 18px; }

/* Version 1.2: his "If they say..." answers. */
.faq summary { display: flex; flex-direction: column; justify-content: center; min-height: 44px; cursor: pointer; list-style: none; font-weight: 750; color: var(--ink); font-size: 17px; padding-right: 32px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 700; color: var(--ink); }
.faq[open] summary::after { content: '\2212'; }
.faq[open] .faq-hint { display: none; }
.faq summary small { font-weight: 500; font-size: 14px; color: var(--muted); }
.faq summary:focus-visible { outline: 3px solid var(--red-ring); outline-offset: 3px; border-radius: 6px; }
.faq-list { margin: 10px 0 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { padding-top: 12px; border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: 0; padding-top: 0; }
.faq-list dt { font-weight: 700; color: var(--ink); margin: 0; }
.faq-list dd { margin: 4px 0 0; color: var(--ink-2); line-height: 1.5; }
.faq-k { color: var(--muted); font-weight: 750; }

/* My script: one clean printed page, the logo and her script, no buttons. */
@media print {
  @page { size: letter; margin: 0.6in 0.7in; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .top-actions, .no-print, .btn, .back, .toast, #sheet-root, .sticky-foot { display: none !important; }
  .app, .screen { max-width: none !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; border: 0 !important; background: #fff !important; min-height: 0 !important; gap: 8pt !important; }
  .top { padding: 0 !important; }
  .logo { width: 150px !important; height: auto !important; }
  .big-title { font-size: 20pt !important; color: #000 !important; }
  .round-kind { color: #333 !important; }
  .card { box-shadow: none !important; border: 0 !important; padding: 0 !important; background: #fff !important; }
  .script-card .script { font-size: 11.5pt; line-height: 1.45; color: #000; }
  /* v1.2: script + his answers still fit one Letter page. */
  @page { margin: 0.45in 0.6in; }
  .logo { width: 120px !important; }
  .big-title { font-size: 17pt !important; }
  .script-card .script { font-size: 10.5pt !important; line-height: 1.32 !important; }
  .faq-open h3 { font-size: 12pt; margin: 2pt 0 0; color: #000; }
  .faq-list { gap: 2pt !important; margin-top: 2pt !important; }
  .faq-item { padding-top: 2pt !important; break-inside: avoid; border-top-color: #ccc !important; }
  .faq-list dt, .faq-list dd, .faq-k { font-size: 9.5pt; line-height: 1.28; color: #000 !important; }
  .faq-list dd { margin-top: 0 !important; }
}
/* Header with "My script": keep each link on one line; the logo gives way a little on a narrow phone. */
.link-btn { white-space: nowrap; }
.top-actions { flex-wrap: wrap; justify-content: flex-end; }
.top .logo { width: min(176px, 42vw); }
