/* HiddenHelp clean design system — rebuilt 2026-07. */
:root {
  color-scheme: light;
  --hh-ink: #241b2d;
  --hh-ink-soft: #4e4358;
  --hh-muted: #6b6074;
  --hh-line: #e5ddeb;
  --hh-line-strong: #d4c6df;
  --hh-canvas: #fbf9fc;
  --hh-surface: #ffffff;
  --hh-surface-soft: #f7f2fa;
  --hh-lilac: #e9ddf8;
  --hh-lilac-strong: #9a72b6;
  --hh-blue: #dff2fd;
  --hh-blue-strong: #4c9dcb;
  --hh-mint: #e3f6ea;
  --hh-mint-strong: #4d9870;
  --hh-blush: #f9e2e8;
  --hh-blush-strong: #b65d76;
  --hh-peach: #fce9dc;
  --hh-peach-strong: #b66e48;
  --hh-yellow: #fff2bf;
  --hh-yellow-strong: #8b711d;
  --hh-danger: #9d2947;
  --hh-danger-soft: #fff0f3;
  --hh-focus: #6f3f93;
  --hh-shadow-xs: 0 2px 8px rgba(46, 28, 58, .06);
  --hh-shadow-sm: 0 8px 22px rgba(46, 28, 58, .08);
  --hh-shadow-md: 0 18px 48px rgba(46, 28, 58, .11);
  --hh-radius-sm: 12px;
  --hh-radius-md: 18px;
  --hh-radius-lg: 26px;
  --hh-radius-xl: 34px;
  --hh-content: 1180px;
  --hh-reading: 760px;
  --hh-gutter: clamp(16px, 3vw, 36px);
  --hh-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --hh-display: Georgia, "Times New Roman", serif;
  --hh-duration: 160ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--hh-canvas); }
html, body { margin: 0; min-width: 0; }
body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% -10%, rgba(214, 233, 255, .72), transparent 34rem),
    radial-gradient(circle at 92% 3%, rgba(249, 221, 230, .62), transparent 32rem),
    linear-gradient(180deg, #fbfaff 0%, #fbf9fc 44%, #f9fbfc 100%);
  color: var(--hh-ink);
  font-family: var(--hh-font);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.18), transparent 46rem);
  z-index: -1;
}
img, svg { max-width: 100%; }
a { color: #5f3a83; text-underline-offset: .16em; }
a:hover { color: #3d2358; }
button, input, select, textarea, summary { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

.hh-skip-link {
  position: fixed;
  left: 12px;
  top: 10px;
  z-index: 100000;
  transform: translateY(-150%);
  border: 2px solid var(--hh-focus);
  border-radius: 999px;
  background: #fff;
  color: var(--hh-ink);
  padding: 10px 16px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: var(--hh-shadow-md);
}
.hh-skip-link:focus { transform: translateY(0); }

/* Shared page geometry. */
:where(main, .site, .wrap, .hh-page, .hh-savings-main, .hh-guides-v70, .hh-editorial-main, .hh-life-main, .legal-card, #hh-bill-tracker > main) {
  width: min(var(--hh-content), calc(100% - (var(--hh-gutter) * 2)));
  max-width: var(--hh-content);
  margin-inline: auto;
}
main, .site, .wrap, .hh-page, .hh-savings-main, .hh-guides-v70, .hh-editorial-main, .hh-life-main {
  min-width: 0;
}
body > .site { width: auto; max-width: none; margin: 0; }
section { min-width: 0; }

h1, h2, h3, h4 {
  color: var(--hh-ink);
  line-height: 1.12;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
h1, h2 { font-family: var(--hh-display); font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(2.25rem, 5.4vw, 4.9rem); margin: 0 0 18px; }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.7rem); margin: 0 0 14px; }
h3 { font-size: clamp(1.08rem, 1.8vw, 1.34rem); margin: 0 0 10px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3rem; }
li + li { margin-top: .4rem; }

/* New shared shell. */
.hh-site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  width: 100%;
  border-bottom: 1px solid rgba(218, 206, 228, .82);
  background: rgba(252, 250, 253, .91);
  backdrop-filter: blur(16px) saturate(1.12);
  box-shadow: 0 3px 18px rgba(48, 31, 61, .05);
}
.hh-header-inner {
  width: min(1320px, calc(100% - (var(--hh-gutter) * 2)));
  min-height: 78px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(190px, 265px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.hh-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.hh-brand-wordmark { width: clamp(135px, 15vw, 195px); height: auto; display: block; }
.hh-brand-smiley { width: 38px; height: 38px; flex: 0 0 38px; }
.hh-site-nav { display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; }
.hh-site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 11px;
  color: var(--hh-ink-soft);
  text-decoration: none;
  font-size: .91rem;
  font-weight: 760;
  white-space: nowrap;
  transition: background var(--hh-duration), color var(--hh-duration), transform var(--hh-duration);
}
.hh-site-nav a:hover { background: var(--hh-surface-soft); color: var(--hh-ink); }
.hh-site-nav a[aria-current="page"], .hh-site-nav a[data-hh-current-route="true"] {
  background: linear-gradient(135deg, #ede2f8, #e4f3fd);
  color: #4b2d63;
  box-shadow: inset 0 0 0 1px rgba(130, 91, 159, .12);
}
.hh-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.hh-header-action, .hh-menu-toggle {
  min-height: 42px;
  border: 1px solid var(--hh-line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--hh-ink);
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--hh-shadow-xs);
}
.hh-header-action:hover, .hh-menu-toggle:hover { background: #fff; transform: translateY(-1px); }
.hh-header-action.hh-plan-link { background: linear-gradient(135deg, var(--hh-lilac), var(--hh-blue)); border-color: transparent; }
.hh-menu-toggle { display: none; }
.hh-mobile-nav {
  display: none;
  width: min(1320px, calc(100% - (var(--hh-gutter) * 2)));
  margin: 0 auto 14px;
  padding: 12px;
  border: 1px solid var(--hh-line);
  border-radius: var(--hh-radius-lg);
  background: rgba(255,255,255,.98);
  box-shadow: var(--hh-shadow-md);
}
.hh-mobile-nav[hidden] { display: none !important; }
.hh-mobile-nav nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hh-mobile-nav a {
  min-height: 48px;
  border-radius: 15px;
  background: var(--hh-surface-soft);
  color: var(--hh-ink);
  display: flex;
  align-items: center;
  padding: 11px 13px;
  text-decoration: none;
  font-weight: 780;
}
.hh-mobile-nav a[aria-current="page"], .hh-mobile-nav a[data-hh-current-route="true"] { background: linear-gradient(135deg, var(--hh-lilac), var(--hh-blue)); }

/* Accessibility panel. */
.hh-accessibility-shell { position: fixed; right: 18px; bottom: 18px; z-index: 9200; }
.hh-accessibility-trigger {
  min-height: 48px;
  border: 1px solid rgba(142, 111, 162, .34);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #4d315f;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 850;
  box-shadow: var(--hh-shadow-md);
  cursor: pointer;
}
.hh-accessibility-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: min(340px, calc(100vw - 28px));
  max-height: min(620px, calc(100vh - 90px));
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--hh-line-strong);
  border-radius: var(--hh-radius-lg);
  background: rgba(255,255,255,.99);
  box-shadow: var(--hh-shadow-md);
}
.hh-accessibility-panel[hidden] { display: none !important; }
.hh-accessibility-panel h2 { font-family: var(--hh-font); font-size: 1.05rem; letter-spacing: 0; margin: 0 0 12px; }
.hh-accessibility-grid { display: grid; gap: 8px; }
.hh-accessibility-grid button, .hh-accessibility-grid a {
  min-height: 46px;
  border: 1px solid var(--hh-line);
  border-radius: 14px;
  background: var(--hh-surface-soft);
  color: var(--hh-ink);
  padding: 10px 12px;
  text-align: left;
  text-decoration: none;
  font-weight: 760;
  cursor: pointer;
}
.hh-accessibility-grid button[aria-pressed="true"] { background: linear-gradient(135deg, var(--hh-mint), var(--hh-blue)); border-color: #9cc8b1; }
.hh-accessibility-note { margin: 12px 0 0; color: var(--hh-muted); font-size: .88rem; }

/* Footer. */
.hh-site-footer {
  width: min(1320px, calc(100% - (var(--hh-gutter) * 2)));
  margin: clamp(48px, 8vw, 96px) auto 24px;
  border: 1px solid var(--hh-line);
  border-radius: var(--hh-radius-xl);
  background: rgba(255,255,255,.78);
  box-shadow: var(--hh-shadow-sm);
  overflow: hidden;
}
.hh-footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 1.1fr) minmax(320px, 1fr);
  gap: 32px;
  padding: clamp(24px, 4vw, 42px);
}
.hh-footer-brand { display: grid; gap: 10px; align-content: start; }
.hh-footer-logo { display: flex; align-items: center; gap: 10px; }
.hh-footer-logo img:first-child { width: 145px; }
.hh-footer-logo img:last-child { width: 34px; }
.hh-footer-brand p { max-width: 540px; color: var(--hh-muted); margin: 0; }
.hh-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hh-footer-links a {
  min-height: 44px;
  border-radius: 14px;
  background: var(--hh-surface-soft);
  color: var(--hh-ink);
  display: flex;
  align-items: center;
  padding: 10px 12px;
  text-decoration: none;
  font-weight: 760;
}
.hh-footer-bottom {
  border-top: 1px solid var(--hh-line);
  padding: 14px clamp(24px, 4vw, 42px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--hh-muted);
  font-size: .88rem;
}
.hh-footer-bottom p { margin: 0; }

/* Core controls. */
:where(.btn, .hh-btn, button:not(.hh-menu-toggle):not(.hh-accessibility-trigger), a.btn, a.hh-btn, a.mini, .hh-action-button, .hh-related-button, .hh-source-button) {
  min-height: 46px;
  border: 1px solid var(--hh-line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--hh-ink);
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 820;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: var(--hh-shadow-xs);
  transition: transform var(--hh-duration), box-shadow var(--hh-duration), background var(--hh-duration), border-color var(--hh-duration);
}
:where(.btn, .hh-btn, button, a.btn, a.hh-btn, a.mini, .hh-action-button, .hh-related-button, .hh-source-button):hover:not(:disabled) { transform: translateY(-1px); box-shadow: var(--hh-shadow-sm); }
:where(.primary, .btn.primary, .hh-btn.primary, .hh-btn-primary, .hh-u-primary, .hh-v67-btn-primary) {
  border-color: transparent !important;
  background: linear-gradient(135deg, #b38bca, #7fc4e8) !important;
  color: #fff !important;
}
:where(.soft, .secondary, .hh-secondary) { background: var(--hh-surface-soft) !important; }
button:disabled, [aria-disabled="true"] { cursor: not-allowed; filter: grayscale(.18); opacity: .72; transform: none !important; box-shadow: none !important; }
:focus-visible { outline: 3px solid var(--hh-focus) !important; outline-offset: 3px !important; }

input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--hh-line-strong);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  color: var(--hh-ink);
  padding: 11px 13px;
  box-shadow: inset 0 1px 2px rgba(37,24,47,.03);
}
textarea { min-height: 118px; resize: vertical; }
label { color: var(--hh-ink-soft); font-weight: 720; }
label > input, label > select, label > textarea { display: block; margin-top: 7px; }
fieldset { border: 1px solid var(--hh-line); border-radius: var(--hh-radius-md); padding: 16px; }
legend { padding-inline: 7px; font-weight: 820; }

/* Cards, panels, disclosures. */
:where(.panel, .card, .section, .legal-card, .hh-panel, .hh-choice-block, .hh-savings-finder, .hh-money-picture, .route-card, .hh-u-card, .hh-summary-card, .hh-script-card, .hh-source-card, .hh-related-card, .hh-action-panel, .monthPanel, .hh-bill-confirm, .hh-urgent-results, .hh-immediate-danger, .hh-country-panel) {
  border: 1px solid var(--hh-line);
  border-radius: var(--hh-radius-lg);
  background: rgba(255,255,255,.9);
  box-shadow: var(--hh-shadow-sm);
}
:where(.panel, .card, .section, .legal-card, .hh-panel, .hh-choice-block, .hh-savings-finder, .hh-summary-card, .hh-script-card, .hh-action-panel, .monthPanel, .hh-immediate-danger, .hh-country-panel) { padding: clamp(18px, 3vw, 30px); }
.mint, .pastel-mint { background: linear-gradient(145deg, #fff, var(--hh-mint)); }
.blue, .pastel-blue { background: linear-gradient(145deg, #fff, var(--hh-blue)); }
.peach, .pastel-peach { background: linear-gradient(145deg, #fff, var(--hh-peach)); }
.pastel-yellow { background: linear-gradient(145deg, #fff, #fff8d9); }
.pastel-pink, .pastel-red { background: linear-gradient(145deg, #fff, var(--hh-blush)); }
.pastel-lilac { background: linear-gradient(145deg, #fff, var(--hh-lilac)); }

summary {
  list-style: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: var(--hh-ink);
  font-weight: 820;
}
summary::-webkit-details-marker { display: none; }
details > summary::after {
  content: "+";
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--hh-line-strong);
  background: #fff;
  font-size: 1.15rem;
  line-height: 1;
}
details[open] > summary::after { content: "−"; }
/* Disclosures with their own live +/− span must not also receive the global pseudo-icon. */
.hh-support-details > summary::after, .hh-child-detail > summary::after, .hh-track-action > summary::after { display: none; }
.hh-u-toggle {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border: 1px solid var(--hh-line-strong) !important;
  border-radius: 50% !important;
  background: #fff !important;
  display: grid !important;
  place-items: center !important;
  font-size: 1.1rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

/* Common layout helpers. */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.actions, .hero-actions, .hh-hero-actions, .hh-button-row, .hh-danger-actions, .hh-install-actions, .hh-savings-toolbar, .hh-guide-toolbar, .railnav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hidden, [hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.pill, .hh-pill, .hh-kicker, .hh-guide-kicker, .hh-urgent-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: fit-content;
  border-radius: 999px;
  background: rgba(235, 221, 248, .82);
  color: #684680;
  padding: 5px 10px;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.count, .hh-count { display: inline-flex; align-items: center; border-radius: 999px; background: var(--hh-surface-soft); padding: 7px 11px; font-weight: 800; color: var(--hh-muted); }

/* Cookie banner. */
#hhc {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9500;
  width: min(430px, calc(100vw - 36px));
  border: 1px solid var(--hh-line-strong);
  border-radius: var(--hh-radius-lg);
  background: rgba(255,255,255,.98);
  color: var(--hh-ink);
  padding: 18px;
  box-shadow: var(--hh-shadow-md);
}
#hhc strong { font-size: 1.05rem; }
#hhc p { margin: 7px 0 10px; color: var(--hh-muted); }
#hhc > div { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
#hhc button { flex: 1 1 150px; }

/* Toasts and status. */
.hh52-status-toast, .hh-status-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 9800;
  max-width: min(520px, calc(100vw - 32px));
  transform: translate(-50%, 14px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid #abd4bb;
  border-radius: 999px;
  background: #f1fff6;
  color: #244b31;
  padding: 11px 15px;
  box-shadow: var(--hh-shadow-md);
  font-weight: 820;
  transition: opacity var(--hh-duration), transform var(--hh-duration);
}
.hh52-status-toast.show, .hh-status-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Accessibility preferences. */
html.hh-dyslexia body, html.dyslexia body { font-family: Arial, Verdana, sans-serif; letter-spacing: .025em; word-spacing: .08em; line-height: 1.68; }
html.hh-dyslexia h1, html.hh-dyslexia h2, html.dyslexia h1, html.dyslexia h2 { font-family: Arial, Verdana, sans-serif; letter-spacing: 0; }
html.hh-big-controls :where(button, a.btn, a.hh-btn, input, select, textarea, summary), html.big :where(button, a.btn, a.hh-btn, input, select, textarea, summary) { min-height: 54px; font-size: 1.06rem; }
html.hh-contrast, html.contrast {
  --hh-ink: #08070a;
  --hh-ink-soft: #18131e;
  --hh-muted: #352e3b;
  --hh-line: #74677f;
  --hh-line-strong: #4c3f57;
  --hh-canvas: #fff;
  --hh-surface-soft: #f2f2f2;
}
html.hh-contrast body, html.contrast body { background: #fff; }
html.hh-reduced-motion *, html.reduce-motion * { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }
html.low-energy .hh-secondary-choice,
html.low-energy [data-hh-low-priority],
html.low-energy body.hh-page-home .mini-links,
html.low-energy body.hh-page-home .hh-home-guides,
html.low-energy .hh-related-guides,
html.low-energy .hh-related-content { display: none !important; }
html.low-energy :where(.hh-rail,.rail,.hh-results-rail) > :nth-child(n+3) { display: none !important; }
html.low-energy :where(.hh-carousel,.hh-results-controls,.railnav) { display: none !important; }
html.low-energy body::before { content: "Fewer choices mode is on"; position: fixed; left: 12px; bottom: 12px; z-index: 9100; padding: 8px 11px; border: 1px solid var(--hh-line-strong); border-radius: 999px; background: rgba(255,255,255,.96); color: var(--hh-ink-soft); font-size: .78rem; font-weight: 750; box-shadow: var(--hh-shadow-xs); pointer-events: none; }

/* Print baseline. */
@media print {
  .hh-site-header, .hh-site-footer, .hh-accessibility-shell, #hhc, .screen-only, .railnav, .hh-carousel, .hh-guide-toolbar, .hh-install-card { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 11pt; }
  body::before { display: none; }
  :where(main, .site, .wrap, .hh-page, .hh-savings-main, .hh-guides-v70, .hh-editorial-main) { width: 100% !important; max-width: none !important; margin: 0 !important; }
  :where(.panel, .card, .section, .legal-card, .hh-panel, .route-card, .hh-u-card) { box-shadow: none !important; break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  @page { size: A4; margin: 14mm; }
}

/* Responsive shell. */
@media (max-width: 1120px) {
  .hh-header-inner { grid-template-columns: minmax(185px, 240px) 1fr auto; }
  .hh-site-nav a { padding-inline: 9px; font-size: .86rem; }
  .hh-header-action .hh-action-label { display: none; }
}
@media (max-width: 940px) {
  .hh-header-inner { grid-template-columns: 1fr auto; min-height: 70px; }
  .hh-site-nav { display: none; }
  .hh-header-action.hh-plan-link { display: none; }
  .hh-menu-toggle { display: inline-flex; }
  .hh-mobile-nav.is-open { display: block; }
}
@media (max-width: 720px) {
  :root { --hh-gutter: 12px; }
  h1 { font-size: clamp(2.15rem, 11vw, 3.4rem); }
  h2 { font-size: clamp(1.55rem, 7vw, 2.2rem); }
  .hh-header-inner { min-height: 64px; gap: 8px; }
  .hh-brand-wordmark { width: 126px; }
  .hh-brand-smiley { width: 32px; height: 32px; flex-basis: 32px; }
  .hh-header-action { width: 44px; padding: 0; }
  .hh-mobile-nav nav { grid-template-columns: 1fr; }
  .hh-accessibility-shell { right: 10px; bottom: 10px; }
  .hh-accessibility-trigger { min-height: 46px; padding: 9px 12px; }
  .hh-footer-main { grid-template-columns: 1fr; gap: 22px; }
  .hh-footer-links { grid-template-columns: 1fr; }
  .hh-footer-bottom { flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  .actions, .hero-actions, .hh-hero-actions, .hh-button-row, .hh-danger-actions, .hh-install-actions { display: grid; grid-template-columns: 1fr; }
  .actions > *, .hero-actions > *, .hh-hero-actions > *, .hh-button-row > *, .hh-danger-actions > *, .hh-install-actions > * { width: 100%; }
}

@media (min-width: 941px){.hh-accessibility-trigger[data-hh-a11y-floating]{display:none !important}}

/* Compact accessibility control stays visible in the header at every size. */
.hh-a11y-icon { font-size: 1.12rem; line-height: 1; }
@media (max-width: 940px) {
  #hh-v61-a11y-trigger.hh-header-action { display: inline-flex !important; width: 44px; min-width: 44px; padding: 0; }
  #hh-v61-a11y-trigger .hh-action-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; }
  .hh-accessibility-trigger[data-hh-a11y-floating] { display: none !important; }
  .hh-accessibility-panel { position: fixed; right: 12px; bottom: 12px; width: min(360px, calc(100vw - 24px)); max-height: min(620px, calc(100vh - 86px)); overflow: auto; }
}
@media (max-width: 720px) {
  #hh-v61-a11y-trigger.hh-header-action { width: 42px; min-width: 42px; }
  .hh-accessibility-panel { right: 10px; bottom: 10px; width: min(360px, calc(100vw - 20px)); max-height: min(620px, calc(100vh - 78px)); }
}

/* Robust accessibility panel placement and disclosure icon ownership. */
.hh-accessibility-shell.hh-a11y-from-header .hh-accessibility-panel {
  position: fixed;
  top: 88px;
  right: max(18px, env(safe-area-inset-right));
  bottom: auto;
}
body details.hh-support-details > summary::after,
body details.hh-child-detail > summary::after,
body details.hh-track-action > summary::after,
body details > summary:has(> .hh-u-toggle)::after {
  content: none !important;
  display: none !important;
}
@media (max-width:940px) {
  .hh-accessibility-shell.hh-a11y-from-header .hh-accessibility-panel {
    top: 76px;
    right: 12px;
    bottom: auto;
  }
}

/* Accessibility entry-point ownership: desktop uses the labelled header control;
   compact layouts keep the familiar floating accessibility control. */
@media (max-width: 940px) {
  #hh-v61-a11y-trigger.hh-header-action { display: none !important; }
  .hh-accessibility-trigger[data-hh-a11y-floating] { display: inline-flex !important; }
  .hh-accessibility-shell.hh-a11y-from-header .hh-accessibility-panel,
  .hh-accessibility-panel {
    position: fixed;
    top: auto;
    right: 12px;
    bottom: 76px;
    width: min(360px, calc(100vw - 24px));
    max-height: min(620px, calc(100vh - 100px));
    overflow: auto;
  }
}
@media (max-width: 720px) {
  .hh-accessibility-shell { right: 12px; bottom: 12px; }
  .hh-accessibility-trigger[data-hh-a11y-floating] {
    width: 58px;
    min-width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 0;
    justify-content: center;
  }
  .hh-accessibility-trigger[data-hh-a11y-floating] > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .hh-accessibility-trigger[data-hh-a11y-floating] .hh-a11y-icon { font-size: 1.45rem; }
  .hh-accessibility-panel { right: 10px; bottom: 80px; width: min(360px, calc(100vw - 20px)); }
}

/* Accessibility must remain available before a cookie choice is made. */
.hh-accessibility-shell { z-index: 9700; }
@media (max-width: 720px) {
  #hhc { bottom: 84px; }
}


/* Build v4: any summary with an explicit HiddenHelp toggle owns that single glyph. */
body details > summary:has(.hh-u-toggle)::after,
body details > summary:has(.hh-u-toggle)::before { content: none !important; display: none !important; }
body details > summary .hh-u-toggle { visibility: visible; }

/* V7 locked-card refinements: compact benefit and money-saving prompts. */
.hh-card-benefit-hint, .hh-u-benefit-note {
  margin: 10px 0; padding: 10px 12px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(196,232,250,.85), rgba(237,225,246,.85));
  border: 1px solid rgba(157,126,178,.22);
}
.hh-card-tip, .hh-u-card-tip, .hh-bill-tip-preview, .hh-bill-contact-preview {
  margin: 10px 0; padding: 10px 12px; border-radius: 16px;
  background: rgba(255,255,255,.78); border: 1px solid var(--hh-border);
}
.hh-card-tip ul, .hh-u-tip-list { margin: 8px 0 0 1.1rem; padding: 0; }
.hh-card-tip li, .hh-u-tip-list li { margin: 4px 0; }
.hh-bill-contact-preview, .hh-bill-tip-preview { font-size: .94rem; }
.hh-bill-contact-preview a { font-weight: 800; text-decoration: none; color: var(--hh-purple); }
.hh-return-highlight { outline: 4px solid rgba(150,113,181,.35); outline-offset: 4px; transition: outline-color .3s ease; }
@media (max-width: 760px) {
  .hh-card-benefit-hint, .hh-card-tip, .hh-u-card-tip, .hh-bill-contact-preview, .hh-bill-tip-preview { border-radius: 14px; }
}

/* Navigation fit refinement for the added Self Help menu item. Keeps the existing pill style. */
@media (min-width: 941px) {
  .hh-header-inner { grid-template-columns: minmax(170px, 230px) minmax(0, 1fr) auto; }
  .hh-site-nav { gap: 2px; }
  .hh-site-nav a { padding: 8px 8px; font-size: .84rem; }
  .hh-header-action, .hh-menu-toggle { padding-inline: 11px; }
}
@media (min-width: 941px) and (max-width: 1240px) {
  .hh-header-action .hh-action-label { display: none; }
}


/* v5 accessibility behaviour refinements */
html.low-energy .hh-self-links,
html.low-energy .hh-self-hero-card,
html.low-energy .hh-self-card-rail > article:nth-child(n+3) { display: none !important; }
html.low-energy .hh-self-filter-row > button:nth-child(n+5) { display: none !important; }
.hh-install-fallback-backdrop { position: fixed; inset: 0; z-index: 10050; background: rgba(28,18,38,.32); display: grid; place-items: center; padding: 18px; }
.hh-install-fallback { width: min(560px, calc(100vw - 36px)); max-height: min(720px, calc(100vh - 36px)); overflow: auto; border: 1px solid var(--hh-line-strong); border-radius: 24px; background: linear-gradient(135deg,#fff,#eef8ff 60%,#fbf3ff); box-shadow: var(--hh-shadow-lg); padding: 22px; color: var(--hh-ink); }
.hh-install-fallback h2 { margin: 0 0 8px; }
.hh-install-fallback p, .hh-install-fallback li { color: var(--hh-ink-soft); }
.hh-install-fallback-actions { display: flex; justify-content: flex-end; margin-top: 14px; }
.hh-install-fallback button { min-height: 44px; border-radius: 999px; border: 1px solid var(--hh-line-strong); background: #fff; padding: 9px 14px; font-weight: 850; cursor: pointer; }


/* v6: never print skip/access buttons. */
@media print {
  .hh-skip-link,
  .hh-compat-skip,
  .hh-header-actions,
  .hh-menu-toggle { display: none !important; }
}
