/* hub-look-pages.css — the hub look on the hub's other pages (feature_look_hub_pages).
   The palette itself needs nothing here: these pages read the same plenum tokens
   the look overrides. What they need is the contrast guard's two jobs that are
   not a token — accent used as TEXT (a link has to clear 4.5:1, a shape only
   3:1) and white text ON the accent — plus the accessibility switches written
   against this markup instead of the home page's. Every rule is keyed on an
   html class core/hub-look.js sets, so with the flag off nothing here matches. */

/* guard: accent as text */
html.lk-guard main.page :is(.faq .faq-body a, .wa-more:hover, a.list-row:hover .lr-main b, .ma-chip.on) { color: var(--lk-link); }
/* guard: text on the accent */
html.lk-guard :is(.btn-accent, .tmsg-you, .brand .dot),
html.lk-guard main.page :is(.wa-filters .chip.on, .snav .sn-badge) { background: var(--lk-cta); color: var(--lk-cta-ink); }
html.lk-guard .btn-accent:hover { background: var(--lk-cta-h); }

/* accessibility */
html.lk-underline main.page a:not(.btn):not(.snav):not(.list-row):not(.wa-row):not([class*="tab"]) { text-decoration: underline; text-underline-offset: 2px; }
html.lk-targets :is(.topbar, .nr) .tb-btn,
html.lk-targets main.page :is(.btn, .chip, button.lk-x) { min-width: 44px; min-height: 44px; }
html.lk-focus :focus-visible { outline: 3px solid var(--lk-link, var(--accent)) !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px var(--accent-ring) !important; }
html.lk-opaque :is(.topbar, .nr) { background: var(--paper) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* ── backgrounds and card styles (feature_look_hub_pages_bg) ──
   The ground layers and effects are hub-look.css's own (.lk-ground, .lk-banner);
   what these pages need is where the banner sits, plates for the text that is
   not on a card (the title, the side nav, each pane's heading), and the card
   styles on this template's .card and .panel. */
html.lk-on main.page { position: relative; }
/* Behind the page, not over it: unlike the home page, the content under the title
   starts inside the banner's fade, and z-index 0 painted the fade over it. */
main.page > .lk-banner { height: 130px; z-index: -1; }
html.lk-banner-on main.page .page-head { position: relative; z-index: 1; }
html.lk-plate main.page :is(.page-head, .side, .pane-head) {
  background: color-mix(in srgb, var(--panel) 80%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid color-mix(in srgb, var(--hair) 80%, transparent); border-radius: 14px; }
html.lk-plate main.page .page-head { padding: 14px 20px 16px; justify-self: start; }
html.lk-plate main.page .side { padding: 8px; }
html.lk-plate main.page .pane-head { padding: 12px 16px; }
html[data-lk-cards="glass"] main.page :is(.card, .panel) {
  background: color-mix(in srgb, var(--panel) var(--lk-glass, 80%), transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); }
html[data-lk-cards="outline"] main.page :is(.card, .panel) { background: var(--paper); border: 1.5px solid var(--hair-2); box-shadow: none; }
html[data-lk-cards="tinted"] main.page :is(.card, .panel) {
  background: color-mix(in srgb, var(--accent) 5%, var(--panel)); border-color: color-mix(in srgb, var(--accent) 16%, var(--hair)); }
html.lk-noborder main.page :is(.card, .panel) { border-color: transparent; }
html.lk-opaque.lk-plate main.page :is(.page-head, .side, .pane-head),
html.lk-opaque[data-lk-cards="glass"] main.page :is(.card, .panel) {
  background: var(--panel) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
