/* Perpfield v3 shared chrome (tokens, Geist, header, footer, tooltips) for legacy-layout pages. Generated from pf3.css. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/static/fonts/geist-wght.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/static/fonts/geist-mono-wght.woff2) format("woff2"); }
.ic { width: 20px; height: 20px; fill: currentColor; flex: none; }
.ic-16 { width: 16px; height: 16px; }
.hdr { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; height: 64px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 560; font-size: 19px; letter-spacing: -.035em; }
.brand svg { width: 24px; height: 24px; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--text-2); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: background-color .12s, color .12s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current] { color: var(--text); background: var(--surface-2); }
.hdr-r { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--text-2); }
.menu-btn { display: none; }
.tip-b { border: 0; background: none; padding: 2px; margin: -2px; color: var(--text-3); cursor: help; display: inline-flex; border-radius: 999px; }
.tip-b .ic { width: 15px; height: 15px; }
.tip-p { position: absolute; z-index: 20; left: 50%; bottom: calc(100% + 8px); width: 260px; transform: translateX(-50%) scale(.97); transform-origin: 50% 100%; opacity: 0; pointer-events: none; background: var(--text); color: var(--bg); font-size: 13.5px; line-height: 1.45; padding: 10px 12px; border-radius: 10px; transition: opacity .12s, transform .12s cubic-bezier(.2,.8,.2,1); font-weight: 400; }
.tip.on .tip-p { opacity: 1; transform: translateX(-50%) scale(1); }
.foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hdr { background: color-mix(in srgb, var(--bg) 96%, transparent); }
.tip-p { display: none; }
.tip.on .tip-p { display: block; animation: tipin .12s cubic-bezier(.2,.8,.2,1); }
[data-theme="dark"] body { font-family: Geist, ui-sans-serif, system-ui, -apple-system, sans-serif; font-feature-settings: "tnum"; letter-spacing: -.0125em; font-size: 16px;
  background: radial-gradient(1200px 520px at 50% -120px, rgba(255,255,255,.045), rgba(255,255,255,0) 70%), var(--bg) no-repeat; }
[data-theme="dark"] .preview-bar { background: transparent; }
[data-theme="dark"] .hdr { background: rgba(5,6,6,.86); }
@keyframes tipin { from { opacity: 0; } }
@media (max-width: 760px) { .wrap { padding: 0 16px; } .nav { display: none; } .menu-btn { display: grid; } .hdr .wrap { height: 56px; } .tip-p { width: min(260px, 78vw); left: auto; right: -10px; transform: none !important; } }
.preview-bar { text-align: center; }
.mnav { position: relative; display: none; }
.mnav summary { list-style: none; } .mnav summary::-webkit-details-marker { display: none; }
.mnav nav { position: absolute; right: 0; top: 48px; min-width: 220px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: 8px; display: grid; z-index: 50; }
.mnav nav a { padding: 12px; border-radius: 10px; text-decoration: none; color: var(--text); font-size: 15px; }
.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--text-3); font-size: 13.5px; }
.foot p { margin: 12px 0 0; } .foot-links a { color: var(--text-2); }
.brand { color: var(--text); text-decoration: none; }
.brand svg { width: 24px; height: 24px; }
.nav a:hover { text-decoration: none; }
main { padding-top: 8px; }
@media (max-width: 760px) { .mnav { display: block; } }

/* AB brand (15 Nov): Shortlist mark + Geist wordmark */
[data-theme] .brand { font-weight: 560; letter-spacing: -.035em; }
.brand svg { width: 24px; height: 24px; flex: none; }

/* Header v46 scale (15 Nov "too big"): 60px bar, 14px nav, subtle active pill */
.hdr .wrap { height: 60px; gap: 28px; }
[data-theme] .hdr .brand { font-size: 16px; gap: 7px; }
.hdr .brand svg { width: 20px; height: 20px; }
.nav { gap: 2px; }
.nav a { font-size: 14px; font-weight: 500; letter-spacing: -.01em; padding: 6px 10px; color: var(--text-2); border-radius: 999px; }
.nav a:hover { color: var(--text); background: color-mix(in srgb, var(--text) 5%, transparent); }
.nav a[aria-current] { color: var(--text); background: color-mix(in srgb, var(--text) 7%, transparent); }
@media (max-width: 760px) { .hdr .wrap { height: 56px; } .menu-btn { width: 38px; height: 38px; } }

/* ===== QA m6: tap targets, contrast, chips, menu ===== */
.tip-b { min-width: 32px; min-height: 32px; display: inline-grid; place-items: center; margin: -8px -6px; }
.foot-links a, .foot a { display: inline-block; padding: 6px 2px; }
.cmp input[type="checkbox"], .pl-opts input { width: 20px; height: 20px; }
.cmp { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.seg button[aria-pressed="false"], .seg-lg button[aria-pressed="false"] { color: var(--text); opacity: 1; }
.chip { min-height: 36px; height: auto; white-space: nowrap; }
.chips { flex-wrap: wrap; }
.menu-btn { width: auto !important; padding: 0 12px 0 10px; gap: 6px; grid-auto-flow: column; border-radius: 999px; }
.menu-lbl { font-size: 14px; font-weight: 500; color: var(--text); }
.mnav[open]::before { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 40; }
.mnav nav { z-index: 50; }
@media (max-width: 760px) { .btn, .chip, .tab { min-height: 44px; } }
