/* ACCENT TOKENS (owner 2026-11-04): red is the ONE accent of the whole site. Red/orange hex colours exist only on custom-property declarations; everything else uses var(). Same values as ui-pilot.css and lfr-site.css (tests/test_accent_tokens.py). */
:root{--cta:#C8102E;--ctaInk:#FFFFFF;--ctaHover:#A50D26;--ctaText:#C8102E;--ctaOnNavy:#FF8A8F;--ctaTint:#FFE3E6;--behind:#C8102E;--behind3:#FCEBEE;--behindInk:#A50D26;--behindLt:#F1B3BC}
:root[data-theme="dark"]{--cta:#D93B42;--ctaHover:#E85359;--ctaText:#FF8A8F;--behind:#D93B42;--behind3:#3A1A1E;--behindInk:#FF8A8F}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--cta:#D93B42;--ctaHover:#E85359;--ctaText:#FF8A8F;--behind:#D93B42;--behind3:#3A1A1E;--behindInk:#FF8A8F}}
/* UI v2 / layer 1 (loaded only when private/completion/ui_v2.flag is active) */
.ui2-hide{display:none!important}
.ui2-card{background:#fff;border:1px solid #E3E6EC;border-radius:12px;padding:16px 20px;margin:0 0 16px;max-width:100%}
.ui2-card h3{margin:0 0 10px;font-size:16px;letter-spacing:-.01em;color:#13213C}
.ui2-card p{margin:4px 0;font-size:14px;line-height:1.5;color:#3B4660}
.ui2-card.ui2-finding{background:#F7F8FA;border-style:dashed}
.ui2-row{display:flex;justify-content:space-between;gap:16px;padding:6px 0;border-bottom:1px solid #EEF0F4;font-size:14px;color:#3B4660}
.ui2-row:last-of-type{border-bottom:0}.ui2-row strong{color:#13213C;font-weight:600;text-align:right}
.ui2-approx{font-style:normal;font-size:11px;font-weight:600;color:var(--behindInk);background:#FBF0DD;border-radius:5px;padding:1px 6px;margin-left:4px;cursor:help}
.ui2-meta{display:block;font-size:12px;color:#7A8296;margin:-2px 0 6px}
.ui2-status{display:flex;align-items:center;gap:8px;padding:12px 16px;margin:0 0 16px;border:1px dashed #D5DAE3;border-radius:10px;background:#FAFBFD;font-size:14px;color:#657087}
.ui2-i{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#E6EAF2;color:#4B5468;font:600 11px/1 Georgia,serif;font-style:italic;margin-left:6px;cursor:help}
.ui2-cov{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600;color:#0F6E60;background:#E3F4F1;white-space:nowrap;vertical-align:middle}
.ui2-sortwrap{display:block;margin:0 0 12px}.ui2-sort{font:inherit;font-size:13px;padding:6px 10px;border:1px solid #D5DAE3;border-radius:8px;background:#fff;color:#13213C}
.ui2-hwm{display:inline-block;margin:12px 0;font-size:13px;color:#4C5BD4}
.ui2-doc{margin:0;background:#F7F8FA;font-family:Geist,system-ui,sans-serif;color:#13213C}.ui2-doc-top{padding:16px 24px}.ui2-doc-top a{color:#4C5BD4;text-decoration:none}
.ui2-doc-main{max-width:720px;margin:0 auto;padding:8px 24px 64px}.ui2-doc-main h1{font-size:34px;letter-spacing:-.03em}.ui2-doc-main h2{font-size:19px;margin:28px 0 6px}.ui2-doc-main p{font-size:16px;line-height:1.65;color:#3B4660}.ui2-doc-lead{font-size:18px!important}
.ui2-cov{align-self:flex-start;width:auto;flex:0 0 auto;max-width:max-content}
.ui2-i+.ui2-i{display:none}
/* layer 2 */
.ui2-l2{display:grid;gap:16px;margin:0 0 16px}.ui2-l2 .ui2-card{margin:0}
.ui2-findings{background:#13213C;border-color:#13213C}.ui2-findings h3,.ui2-findings p{color:#fff}.ui2-findings .ui2-meta{color:#B8C0D4}
.ui2-finding{margin:8px 0!important;font-size:15px!important}
.ui2-tablewrap{overflow-x:auto;max-width:100%}.ui2-table{width:100%;border-collapse:collapse;font-size:14px;min-width:560px}
.ui2-table th,.ui2-table td{padding:8px 10px;border-bottom:1px solid #EEF0F4;text-align:left;white-space:nowrap}.ui2-table thead th{font-size:12px;color:#657087;font-weight:600}
.ui2-table tbody th{font-weight:600;color:#13213C}.ui2-table a{color:#4C5BD4;text-decoration:none}.ui2-me{background:#F7F8FC}.ui2-median td,.ui2-median th{color:#657087;font-style:italic}
.ui2-ind{display:inline-block;margin-left:6px;font-size:11px;font-style:normal;font-weight:600;padding:1px 6px;border-radius:5px}.ui2-up{background:#E3F4F1;color:#0F6E60}.ui2-down{background:#FBE7EA;color:var(--behindInk)}.ui2-level{background:#EEF0F4;color:#4B5468}
.ui2-opp{margin:8px 0!important}.ui2-opp a{color:#4C5BD4;white-space:nowrap}.ui2-muted{color:#7A8296!important;font-size:13px!important}.ui2-slot{margin-top:10px!important;padding-top:8px;border-top:1px dashed #E3E6EC}
.ui2-chartrow{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}.ui2-chart h4{margin:0 0 8px;font-size:14px;color:#13213C}
.ui2-bars{display:flex;align-items:flex-end;gap:4px;height:84px}.ui2-bar{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0}.ui2-bar span{display:block;width:100%;border-radius:3px 3px 0 0;min-height:2px}.ui2-bar b{font-size:11px;color:#3B4660}.ui2-bar small{font-size:10px;color:#7A8296}
.ui2-line{width:100%;height:auto;max-width:320px;display:block}
.ui2-grid{display:grid;gap:3px;max-width:300px}.ui2-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:14px;border-radius:4px}
.ui2-legend{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px;color:#657087;margin-top:6px}.ui2-legend i{display:inline-block;width:12px;height:12px;border-radius:3px}
.ui2-collapsed{opacity:.65}.ui2-collapsed *{min-height:0!important}
html,body{max-width:100%;overflow-x:clip}
/* fixes 3 */
.ui2-badge{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:28px;width:34px;height:34px;border-radius:8px;background:#ECEEFC;color:#3C49B8;font:600 12px/1 Geist,system-ui,sans-serif;letter-spacing:.02em;flex:0 0 auto;overflow:hidden}
.ui2-badge.ui2-noimg{background:#EEF0F4}
.ui2-sortwrap.ui2-inhead{display:inline-block;margin:0 12px 0 0;align-self:center}
.ui2-sep{margin:14px 0 4px;font-size:12px;font-weight:600;color:#7A8296;text-transform:none}
/* guest layer */
.ui2-guest{display:grid;gap:14px;margin:0 0 18px;max-width:100%}
.ui2-basics{display:flex;flex-wrap:wrap;gap:12px}.ui2-basic{flex:1 1 140px;background:#fff;border:1px solid #E3E6EC;border-radius:12px;padding:12px 16px;display:flex;flex-direction:column;gap:2px}.ui2-basic strong{font-size:24px;color:#13213C}.ui2-basic span{font-size:13px;color:#657087}
.ui2-guestmeta{font-size:13px;color:#657087}.ui2-guestmeta a{color:#4C5BD4}
.ui2-lock{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;background:#F7F8FC;border:1px dashed #C9CFEA;border-radius:12px;padding:14px 18px}.ui2-lock strong{color:#13213C}.ui2-lock span{color:#657087;font-size:14px;flex:1 1 260px}
.ui2-lockbtn{background:var(--cta);color:#fff;border-radius:8px;padding:8px 14px;text-decoration:none;font-weight:600;font-size:14px}
/* tiers */
.ui2-headline{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.ui2-basic.ui2-na strong{font-size:15px;font-weight:600;color:#7A8296;line-height:1.5;margin-top:6px}
.ui2-quota{background:#F2F4FB;border-style:solid;border-color:#D9DDF3;color:#3B4660}
.ui2-lockcard{border-style:dashed;background:#FAFBFD}.ui2-lockcard h3{margin:0 0 6px}
.ui2-card.ui2-siteaccess{background:#FFF7EA;border:1px solid var(--behindLt);border-style:solid;position:relative}.ui2-siteaccess h3{color:var(--behindInk)}.ui2-siteaccess .ui2-dismiss{margin-top:8px;padding:6px 12px;min-height:32px;border:1px solid var(--behind);border-radius:8px;background:#fff;color:var(--behindInk);font:inherit;font-size:13px;cursor:pointer}.ui2-siteaccess .ui2-dismiss:focus-visible{outline:2px solid #4C5BD4;outline-offset:2px}
.ui2-practice{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:8px 0 14px}.ui2-plabel{font-size:12px;font-weight:600;color:#5B667F;margin-right:4px}
.ui2-pchip{display:inline-block;padding:5px 11px;border:1px solid #D5DAE3;border-radius:999px;font-size:12.5px;line-height:1.2;color:#13213C;background:#fff;text-decoration:none;white-space:nowrap}
.ui2-pchip:hover{border-color:#13213C}.ui2-pchip.on{background:#13213C;border-color:#13213C;color:#fff}
.ui2-areas{display:inline-flex;flex-wrap:wrap;gap:4px;margin-left:8px;vertical-align:middle}.ui2-area{padding:1px 7px;border-radius:4px;font-size:10.5px;font-weight:600;background:#EEF1F7;color:#36415C;white-space:nowrap}
.pt-areas{margin-top:6px}.pt-chip{background:#EEF1F7}

/* Plans page (owner 2026-10-31): three plans (Free, Growth, Pro), so the compare table has three plan columns, not four. */
[style*="repeat(4,minmax(110px,1fr))"]{grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(110px,1fr))!important}
.ui2-areas.ui2-incell{margin-left:0}.ui2-incell .ui2-meta{color:#7A8296}

/* Compare page (guest-open during prelaunch): full-width card centred on wide screens, styled picker button. Uses the native tokens, so it follows light/dark. */
.lfr-native:has(>.uipc){grid-column:1/-1;width:100%;box-sizing:border-box}
.uipc{max-width:1180px;margin-inline:auto;box-sizing:border-box}
.uipc .compare-picker{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:16px 18px}
.uipc .compare-picker>label{flex:1 0 100%;font-size:13px;font-weight:600;color:var(--muted)}
.uipc .compare-picker .input{flex:1 1 240px;min-width:0;height:42px;box-sizing:border-box;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:var(--white);color:var(--ink)}
.uipc .compare-picker .btn{height:42px;padding:0 20px;border:1px solid var(--green);border-radius:9px;background:var(--green);color:var(--white);font:500 14px Geist,system-ui,sans-serif;cursor:pointer}
.uipc .compare-picker .btn:hover{filter:brightness(1.15)}
.uipc .compare-picker .btn:focus-visible,.uipc .compare-picker .input:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.uipc .compare-picker .btn-main{background:var(--green);border-color:var(--green)}
.uipc .comparison-wrap{overflow-x:auto}
@media (max-width:600px){.uipc .compare-picker .btn{flex:1 0 100%}}

/* Plans compare table (owner 2026-11-02): at <=760px the 220px label column pushed Growth and Pro out of view. Fit all three plans (Free, Growth, Pro) in the viewport: three plan tracks, narrow label track, tighter padding, 44px rows; the wrapper keeps overflow-x:auto only as a fallback for very narrow screens. Structural selectors, because generated class names change per build. */
section[data-screen-label="Plans"]>div:has(>div>div:first-child>span:nth-child(4):last-child)>div>div:has(>span:nth-child(4):last-child){grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(110px,1fr))}
@media (max-width:760px){
section[data-screen-label="Plans"]>div:has(>div>div:first-child>span:nth-child(4):last-child){overflow-x:auto;max-width:100%;box-sizing:border-box;-webkit-overflow-scrolling:touch}
section[data-screen-label="Plans"]>div:has(>div>div:first-child>span:nth-child(4):last-child)>div{min-width:0;width:100%}
section[data-screen-label="Plans"]>div:has(>div>div:first-child>span:nth-child(4):last-child)>div>div:has(>span:nth-child(4):last-child){grid-template-columns:minmax(0,1.7fr) repeat(3,minmax(54px,1fr));column-gap:4px;padding-left:12px;padding-right:12px;min-height:44px;box-sizing:border-box}
section[data-screen-label="Plans"]>div:has(>div>div:first-child>span:nth-child(4):last-child)>div>div:has(>span:nth-child(4):last-child)>span:first-child{font-size:12.5px;line-height:1.3;overflow-wrap:anywhere;padding-right:4px}
section[data-screen-label="Plans"]>div:has(>div>div:first-child>span:nth-child(4):last-child)>div>div:has(>span:nth-child(4):last-child)>span:not(:first-child){padding-left:0;padding-right:0;font-size:12px;overflow-wrap:anywhere}
section[data-screen-label="Plans"]>div:has(>div>div:first-child>span:nth-child(4):last-child)>div>div:first-child>span:first-child{font-size:15px}
section[data-screen-label="Plans"]>div:has(>div>div:first-child>span:nth-child(4):last-child)>div>div:first-child>span:not(:first-child){font-size:13px}
}
/* loop-qa 2026-11-04 (D1, D2): compare table labels use the page tokens (the legacy sage #7d8b72 labels were 3.4:1 on white, the header tint olive); the directory pager keeps the page gutter on a phone (it ran edge to edge). Tokens only. */
.uipc .comparison th{color:var(--ink2)}
.uipc .comparison thead th{background:var(--soft);color:var(--ink)}
@media (max-width:640px){.lfr-production-pagination{box-sizing:border-box;padding-inline:16px}}

/* design-shell 2026-11-04: image logo in the old document pages */
.ui2-doc-top{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.ui2-doc-top .brand img{display:block;height:34px;width:auto}
