/* PlannerWick site chrome: accessibility menu, cookie consent, back to top, help pages. Loaded on every page. */

/* ---------- floating buttons ---------- */
.pw-a11y-btn, .pw-top { position: fixed; z-index: 60; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; box-shadow: 0 8px 24px -8px rgba(var(--shadow-tint), .45), 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .2s var(--ease), opacity .2s var(--ease), background .2s; }
.pw-a11y-btn { left: 16px; bottom: 16px; background: var(--strong-bg); color: var(--strong-fg); }
.pw-a11y-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pw-a11y-btn svg circle { fill: currentColor; stroke: none; }
.pw-a11y-btn:hover { transform: scale(1.06); }
.pw-a11y-btn.on { background: var(--action); color: var(--on-action); }
.pw-a11y-n { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: #0B132B; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.pw-a11y-n:empty { display: none; }
.pw-top { right: 16px; bottom: 16px; background: var(--surface); color: var(--heading); box-shadow: 0 8px 24px -10px rgba(var(--shadow-tint), .45), inset 0 0 0 1px var(--line-2); opacity: 0; transform: translateY(12px); pointer-events: none; }
.pw-top.show { opacity: 1; transform: none; pointer-events: auto; }
.pw-top:hover { background: var(--strong-bg); color: var(--strong-fg); }
.pw-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media print { .pw-a11y-btn, .pw-top, .pw-a11y-panel, .pwc, .pw-guide, .pw-social { display: none !important; } }

/* ---------- accessibility panel ---------- */
.pw-a11y-panel { position: fixed; z-index: 70; left: 16px; bottom: 72px; width: min(380px, calc(100vw - 32px)); max-height: calc(100vh - 96px); overflow: auto; background: var(--surface); color: var(--ink); border-radius: 18px; box-shadow: 0 24px 60px -12px rgba(var(--shadow-tint), .45), inset 0 0 0 1px var(--line); padding: 16px; display: grid; gap: 8px; grid-template-columns: 1fr 1fr; align-content: start; }
.pw-a11y-panel[hidden] { display: none; }
.pw-a11y-head, .pw-a11y-lead, .pw-a11y-theme, .pw-a11y-steps, .pw-a11y-foot, .pw-a11y-key { grid-column: 1 / -1; }
.pw-a11y-head { display: flex; align-items: center; justify-content: space-between; }
.pw-a11y-head h2 { font-size: 18px; color: var(--heading); }
.pw-a11y-lead { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.pwc-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink); font-size: 22px; line-height: 1; display: grid; place-items: center; }
.pwc-x:hover { background: var(--line); }
.pw-a11y-theme, .pw-a11y-steps { display: grid; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.pw-a11y-theme > div, .pw-a11y-steps > div { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.pw-a11y-theme button, .pw-a11y-steps button { border: 0; background: none; border-radius: 9px; padding: 8px 4px; font-weight: 600; color: var(--ink-2); }
.pw-a11y-steps button { font-family: var(--display); }
.pw-a11y-steps button:nth-child(2) { font-size: 16px; } .pw-a11y-steps button:nth-child(3) { font-size: 18px; } .pw-a11y-steps button:nth-child(4) { font-size: 20px; }
.pw-a11y-theme button[aria-pressed="true"], .pw-a11y-steps button[aria-pressed="true"] { background: var(--strong-bg); color: var(--strong-fg); }
.pw-a11y-opt { display: grid; justify-items: start; gap: 8px; text-align: left; border: 0; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; padding: 12px; font-size: 13.5px; font-weight: 600; color: var(--ink); min-height: 76px; }
.pw-a11y-opt svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; color: var(--action); }
.pw-a11y-opt:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.pw-a11y-opt[aria-pressed="true"] { background: var(--action); color: var(--on-action); box-shadow: none; }
.pw-a11y-opt[aria-pressed="true"] svg { color: currentColor; }
.pw-a11y-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; font-size: 13px; }
.pw-a11y-key { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .pw-a11y-panel { left: 8px; right: 8px; bottom: 70px; width: auto; } .pw-a11y-btn { left: 12px; bottom: 12px; } .pw-top { right: 12px; bottom: 12px; } }

/* ---------- accessibility settings ---------- */
html[data-a11y-text="1"] body { zoom: 1.15; }
html[data-a11y-text="2"] body { zoom: 1.3; }
html[data-a11y-text="3"] body { zoom: 1.5; }
.a11y-spacing body, .a11y-spacing body * { line-height: 1.8 !important; letter-spacing: .04em !important; word-spacing: .12em !important; }
.a11y-spacing p, .a11y-spacing li { margin-bottom: .6em; }
.a11y-readable body, .a11y-readable body *:not(svg):not(svg *) { font-family: "Atkinson Hyperlegible", Verdana, sans-serif !important; }
.a11y-dyslexia body, .a11y-dyslexia body *:not(svg):not(svg *) { font-family: "Lexend", Verdana, sans-serif !important; letter-spacing: .02em; }
.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; background: rgba(179, 162, 118, .22); border-radius: 3px; }
.a11y-links a.btn { outline: 2px dashed var(--action); outline-offset: 2px; }
.a11y-focus *:focus, .a11y-focus *:focus-visible { outline: 4px solid #FFB000 !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px #0B132B !important; }
.a11y-cursor, .a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 9-6.5 1.6L9 20z' fill='%230B132B' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important; }
.a11y-motion *, .a11y-motion *::before, .a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.a11y-left body, .a11y-left body * { text-align: left !important; }
.a11y-gray body { filter: grayscale(1); }
.pw-guide { position: fixed; left: 0; right: 0; top: 0; height: 36px; z-index: 65; pointer-events: none; background: rgba(179, 162, 118, .14); box-shadow: 0 0 0 100vmax rgba(11, 19, 43, .38); }
/* high contrast: strong text, solid lines, no faint greys */
.a11y-contrast { --ink: #000; --ink-2: #000; --muted: #1F1F1F; --faint: #333; --line: #4A4A4A; --line-2: #000; --canvas: #FFF; --surface: #FFF; --surface-2: #F2F2F2; --heading: #000; --action: #5A0F24; --action-hover: #3D0A18; --strong-bg: #000; --strong-fg: #FFF; --gold-ink: #4A3A10; }
:root[data-theme="dark"].a11y-contrast { --ink: #FFF; --ink-2: #FFF; --muted: #E6E6E6; --faint: #CCC; --line: #BDBDBD; --line-2: #FFF; --canvas: #000; --surface: #000; --surface-2: #141414; --heading: #FFF; --action: #FFD86B; --action-hover: #FFE69A; --on-action: #000; --strong-bg: #FFF; --strong-fg: #000; --gold-ink: #FFD86B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]).a11y-contrast { --ink: #FFF; --ink-2: #FFF; --muted: #E6E6E6; --faint: #CCC; --line: #BDBDBD; --line-2: #FFF; --canvas: #000; --surface: #000; --surface-2: #141414; --heading: #FFF; --action: #FFD86B; --action-hover: #FFE69A; --on-action: #000; --strong-bg: #FFF; --strong-fg: #000; --gold-ink: #FFD86B; } }
.a11y-contrast body { background: var(--canvas) !important; }
.a11y-contrast ::placeholder { color: var(--muted) !important; opacity: 1 !important; }

/* ---------- cookie banner + dialog ---------- */
.pwc { position: fixed; z-index: 75; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(920px, calc(100vw - 32px)); display: flex; gap: 16px; align-items: center; background: var(--surface); color: var(--ink); border-radius: 18px; padding: 16px 18px; box-shadow: 0 24px 60px -14px rgba(var(--shadow-tint), .5), inset 0 0 0 1px var(--line); border-top: 3px solid var(--gold); }
.pwc-text b { font-size: 15px; color: var(--heading); }
.pwc-text p { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.pwc-acts { display: flex; gap: 8px; flex: none; }
@media (max-width: 760px) { .pwc { flex-direction: column; align-items: stretch; bottom: 70px; } .pwc-acts { flex-wrap: wrap; } .pwc-acts .btn { flex: 1 1 auto; } }
.pwc-dlg { width: min(560px, calc(100vw - 24px)); }
.pwc-form { display: grid; gap: 12px; padding: 20px; }
.pwc-head { display: flex; justify-content: space-between; align-items: center; }
.pwc-head h2 { font-size: 21px; color: var(--heading); }
.pwc-lead { font-size: 13.5px; color: var(--muted); }
.pwc-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.pwc-row b { font-size: 14.5px; color: var(--heading); }
.pwc-row p { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.pwc-sw { position: relative; display: grid; justify-items: center; gap: 3px; }
.pwc-sw input { position: absolute; z-index: 1; opacity: 0; width: 46px; height: 26px; margin: 0; cursor: pointer; }
.pwc-sw span { pointer-events: none; }
.pwc-sw input:disabled { cursor: not-allowed; }
.pwc-sw span { width: 46px; height: 26px; border-radius: 13px; background: var(--line-2); position: relative; transition: background .18s; }
.pwc-sw span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .18s var(--ease); }
.pwc-sw input:checked + span { background: var(--action); }
.pwc-sw input:checked + span::after { transform: translateX(20px); }
.pwc-sw input:focus-visible + span { outline: 2px solid var(--action); outline-offset: 2px; }
.pwc-sw input:disabled + span { opacity: .6; }
.pwc-sw small { font-size: 11px; color: var(--muted); }
.pwc-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; }
.pwc-sp { flex: 1; }

/* ---------- long-form pages: guide, help, legal ---------- */
.kb { max-width: var(--page-max, 1320px); margin: 0 auto; padding: 8px var(--page-pad, 24px) 48px; display: grid; gap: 18px; }
.kb-hero { padding: 18px 0 4px; display: grid; gap: 8px; }
.kb-crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.kb-crumbs a { color: var(--muted); }
.kb-hero h1 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.035em; color: var(--heading); }
.kb-hero p { color: var(--ink-2); font-size: 15.5px; max-width: 70ch; }
.kb-meta { font-size: 12.5px; color: var(--muted); }
.kb-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.kb-toc { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); padding: 12px; font-size: 13.5px; }
.kb-toc h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 4px 8px 8px; }
.kb-toc ol, .kb-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.kb-toc a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--ink-2); text-decoration: none; }
.kb-toc a:hover { background: var(--surface-2); color: var(--heading); }
.kb-toc a[aria-current="true"] { background: var(--strong-bg); color: var(--strong-fg); }
.kb-toc a small { color: inherit; opacity: .65; font-size: 12px; }
.kb-toc ul ul a { padding-left: 20px; font-size: 13px; }
.kb-body { display: grid; gap: 18px; min-width: 0; }
.kb-sec { background: var(--surface); border-radius: var(--r-xl); box-shadow: inset 0 0 0 1px var(--line); padding: 22px 24px; scroll-margin-top: 80px; display: grid; gap: 14px; min-width: 0; }
.kb-sec > h2 { font-size: 22px; color: var(--heading); display: flex; gap: 10px; align-items: center; }
.kb-sec > h2 .kb-num { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--strong-bg); color: var(--strong-fg); font-size: 15px; display: grid; place-items: center; }
.kb-sec > p, .kb-prose p, .kb-prose li { color: var(--ink-2); font-size: 15px; line-height: 1.65; }
.kb-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.kb-badges span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--golden-soft); color: var(--gold-ink); }
.kb-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.kb-steps > li { counter-increment: s; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.kb-steps > li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--action-soft); color: var(--action); font-weight: 700; font-size: 14px; display: grid; place-items: center; margin-top: 1px; }
.kb-steps h3 { font-size: 16px; color: var(--heading); margin-bottom: 4px; }
.kb-steps p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.kb-shot { margin: 10px 0 0; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 0 rgba(var(--shadow-tint), .04), 0 14px 30px -18px rgba(var(--shadow-tint), .5), inset 0 0 0 1px var(--line); background: var(--surface-2); }
.kb-shot img { display: block; width: 100%; height: auto; }
.kb-shot figcaption { font-size: 12.5px; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.kb-tip { font-size: 14px; color: var(--ink-2); background: var(--golden-soft); border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; padding: 10px 14px; }
.kb-tip b { color: var(--heading); }
.kb-ui { font-weight: 600; color: var(--heading); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); border-radius: 6px; padding: 1px 6px; font-size: .95em; white-space: nowrap; }
.kb-next { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 1000px) { .kb-layout { grid-template-columns: 1fr; } .kb-toc { position: static; max-height: none; } .kb-toc ol, .kb-toc ul { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
@media (max-width: 640px) { .kb { padding: 4px 14px 40px; } .kb-sec { padding: 16px; } .kb-sec > h2 { font-size: 19px; } .kb-steps > li { grid-template-columns: 1fr; gap: 6px; } }

/* help center */
.hc-top { display: grid; gap: 12px; background: linear-gradient(135deg, #0B132B, #16244F 60%, #3A1A2E); color: #F8F3E8; border-radius: var(--r-xl); padding: 28px; }
.hc-top h1 { color: #F8F3E8; font-size: clamp(26px, 3.2vw, 38px); }
.hc-top p { color: #C9CEDB; font-size: 15px; }
.hc-search { position: relative; max-width: 680px; }
.hc-search input { width: 100%; height: 52px; border-radius: 14px; border: 0; padding: 0 16px 0 46px; font-size: 16px; background: #fff; color: #0B132B; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }
.hc-search input:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.hc-search svg { position: absolute; left: 15px; top: 15px; width: 22px; height: 22px; fill: none; stroke: #5E6478; stroke-width: 2; stroke-linecap: round; }
.hc-stats { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: #C9CEDB; }
.hc-stats b { color: #F8F3E8; }
.hc-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.hc-cat { text-align: left; border: 0; background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); padding: 14px; display: grid; gap: 4px; color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.hc-cat:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 8px 20px -12px rgba(var(--shadow-tint), .4); transform: translateY(-1px); }
.hc-cat b { font-size: 15px; color: var(--heading); display: flex; justify-content: space-between; gap: 8px; }
.hc-cat b small { font-size: 12px; font-weight: 600; color: var(--gold-ink); background: var(--golden-soft); border-radius: 999px; padding: 1px 8px; }
.hc-cat span { font-size: 13px; color: var(--muted); }
.hc-cat[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--action); }
.hc-list { display: grid; gap: 8px; }
.hc-group { scroll-margin-top: 80px; display: grid; gap: 8px; }
.hc-group > h2 { font-size: 18px; color: var(--heading); margin: 8px 0 2px; display: flex; gap: 8px; align-items: baseline; }
.hc-group > h2 small { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.hc-q { background: var(--surface); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: 80px; }
.hc-q[open] { box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 26px -18px rgba(var(--shadow-tint), .5); }
.hc-q > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 13px 14px; font-weight: 600; font-size: 15px; color: var(--heading); }
.hc-q > summary::-webkit-details-marker { display: none; }
.hc-q > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg); transition: transform .2s var(--ease); }
.hc-q[open] > summary::after { transform: rotate(-135deg); }
.hc-id { font: 600 11px var(--body); color: var(--muted); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); border-radius: 6px; padding: 2px 6px; letter-spacing: .03em; }
.hc-a { padding: 0 14px 14px 14px; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
.hc-a ol, .hc-a ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.hc-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.hc-meta a { color: var(--action); }
.hc-tagl { display: flex; gap: 5px; flex-wrap: wrap; }
.hc-tagl span { background: var(--surface-2); border-radius: 999px; padding: 1px 8px; box-shadow: inset 0 0 0 1px var(--line); }
.hc-empty { background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); padding: 20px; color: var(--muted); }
.hc-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.hc-card { background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); padding: 16px; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.hc-card b { color: var(--heading); font-size: 15px; }
mark.hc-hit { background: rgba(179, 162, 118, .45); color: inherit; border-radius: 3px; padding: 0 1px; }

/* legal pages */
.legal { max-width: 980px; }
.legal .kb-sec h3 { font-size: 16px; color: var(--heading); margin-top: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 9px 8px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.legal code { font: 600 12.5px var(--body); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); border-radius: 5px; padding: 1px 6px; color: var(--heading); }
.legal .kb-scroll { overflow-x: auto; }
.legal-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.legal-sum div { background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); padding: 14px; font-size: 13.5px; color: var(--ink-2); }
.legal-sum b { display: block; color: var(--heading); font-size: 14.5px; margin-bottom: 3px; }

/* ---------- footer ---------- */
.pf { margin-top: 32px; background: #0B132B; color: #C9CEDB; }
.pf-in { max-width: var(--page-max, 1320px); margin: 0 auto; padding: 40px var(--page-pad, 24px) 28px; display: grid; grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 1fr)); gap: 28px; }
.pf-brand { display: grid; gap: 12px; align-content: start; }
.pf-logo { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; color: #F8F3E8; }
.pf-logo img { width: 40px; height: 40px; object-fit: contain; }
.pf-logo b { display: block; font: 800 20px/1 var(--display); letter-spacing: -.04em; }
.pf-logo small { display: block; font-size: 8.5px; letter-spacing: .32em; text-transform: uppercase; color: #B3A276; margin-top: 5px; font-weight: 600; }
.pf-brand p { font-size: 13.5px; line-height: 1.6; max-width: 40ch; }
.pf a { color: #E6E1D6; text-decoration: none; }
.pf a:hover, .pf a:focus-visible { color: #FFFFFF; text-decoration: underline; }
.pf-contact a { color: #D9C99E; }
.pf-col h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #B3A276; margin-bottom: 12px; font-family: var(--body); font-weight: 700; }
.pf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.pf-col a[aria-current="page"] { color: #fff; font-weight: 600; }
.pf-linkbtn { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.pf .pf-linkbtn { color: #E6E1D6; text-decoration: none; font-size: 14px; }
.pf .pf-linkbtn:hover { color: #fff; text-decoration: underline; }
.kb-prose .pf-linkbtn, .legal .pf-linkbtn { color: var(--action); }
.pf-social { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.pf-social a:hover { background: #B3A276; color: #0B132B; }
.pf-social svg { width: 18px; height: 18px; fill: currentColor; }
.pf-bar { border-top: 1px solid rgba(255, 255, 255, .1); max-width: var(--page-max, 1320px); margin: 0 auto; padding: 16px var(--page-pad, 24px) 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 12.5px; color: #9AA0B3; }
.pf-bar a { color: #D9C99E; }
@media (max-width: 900px) { .pf-in { grid-template-columns: 1fr 1fr; } .pf-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pf-in { grid-template-columns: 1fr 1fr; gap: 22px 16px; padding: 32px 16px 20px; } .pf-col:last-child { grid-column: 1 / -1; } .pf-bar { padding: 14px 16px 76px; } }
.has-pf .foot { display: none; }
/* keep the floating controls the same size when page text is enlarged */
html[data-a11y-text="1"] :is(.pw-a11y-panel, .pw-a11y-btn, .pw-top, .pwc, .pwc-dlg) { zoom: .87; }
html[data-a11y-text="2"] :is(.pw-a11y-panel, .pw-a11y-btn, .pw-top, .pwc, .pwc-dlg) { zoom: .77; }
html[data-a11y-text="3"] :is(.pw-a11y-panel, .pw-a11y-btn, .pw-top, .pwc, .pwc-dlg) { zoom: .667; }
.pw-a11y-btn { background: var(--action); color: var(--on-action); box-shadow: 0 0 0 3px var(--canvas), 0 0 0 4px var(--gold), 0 10px 26px -8px rgba(var(--shadow-tint), .5); }
.pw-a11y-btn.on { background: var(--strong-bg); color: var(--strong-fg); }
.pf-bar { padding-left: max(var(--page-pad, 24px), 78px); padding-right: max(var(--page-pad, 24px), 78px); }
@media (max-width: 520px) { .pf-bar { padding-left: 16px; padding-right: 16px; } }
/* contrast and target-size fixes (axe) */
.btn-gold { color: #0B132B; }
.pf-bar a, .pf-brand p a, .pf-contact a { text-decoration: underline; text-underline-offset: 2px; }
.g-track { height: 24px; }
.g-bar { height: 24px !important; top: 0 !important; padding: 5px 0 !important; background-clip: content-box !important; min-width: 24px; box-sizing: border-box; }
.g-bar:hover, .g-bar.sel { transform: none; padding: 3px 0 !important; }
.kb-steps > li > * { grid-column: 2; min-width: 0; }
.kb-steps > li::before { grid-row: 1 / span 4; }
@media (max-width: 640px) { .kb-steps > li > * { grid-column: 1; } .kb-steps > li::before { grid-row: auto; } }
.kb-shot { width: fit-content; max-width: 100%; }
.kb-shot img { width: auto; max-width: 100%; height: auto; }
@media (max-width: 900px) { .kb-sec, .hc-q, .hc-group, .ct-card { scroll-margin-top: 140px; } }
@media (max-width: 640px) { .hc-cats { grid-template-columns: 1fr 1fr; gap: 8px; } .hc-cat { padding: 10px 12px; } .hc-cat span { display: none; } .hc-cat b { font-size: 14px; } }
/* keep pop-up messages (and their Undo buttons) above the cookie banner while it shows */
body:has(.pwc) .toast { bottom: 130px; }
@media (max-width: 760px) { body:has(.pwc) .toast { bottom: 340px; } }
