/* RateFileAI v2 public-site additions. Ledger tokens remain the only visual primitives. */
.skip-link{position:fixed;left:var(--s3);top:var(--s3);z-index:100;transform:translateY(-180%);background:var(--surface);color:var(--ink);border:1px solid var(--line-strong);border-radius:var(--r-ctl);padding:var(--s2) var(--s3);box-shadow:var(--shadow-raised)}
.skip-link:focus{transform:none}
.public-page .skip-link{display:inline-flex;align-items:center;min-width:44px;min-height:44px;box-sizing:border-box}
.public-page{overflow-x:hidden}
.public-main{min-height:60vh}
.public-home-focused{background:var(--page);overflow-x:hidden}
.public-home-focused .public-main{min-height:calc(100vh - 76px);display:flex;flex-direction:column;align-items:stretch}
.public-home-hero{width:100%;display:grid;grid-template-columns:minmax(0,.88fr) minmax(480px,1.12fr);align-items:center;gap:clamp(34px,5vw,84px);padding-block:clamp(36px,6vh,78px);max-width:1440px}
.public-home-copy{min-width:0;max-width:620px}
.public-home-copy .pub-h1{max-width:620px;font-size:clamp(42px,5.2vw,76px);line-height:1.01;letter-spacing:-.045em}
.public-home-copy .pub-lede{max-width:560px;font-size:clamp(17px,1.65vw,21px);line-height:1.58}
.public-home-boundary{display:flex;align-items:flex-start;gap:10px;max-width:560px;margin:24px 0 0;color:var(--ink-3);font-size:var(--fs-ui);line-height:1.55}
.public-home-boundary .tag{flex:none;margin-top:1px}
.public-search-demo{position:relative;box-sizing:border-box;width:100%;height:auto;min-height:0;overflow:hidden;border:1px solid var(--line-strong);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-overlay);padding:clamp(18px,2.2vw,28px)}
.public-search-demo::before{content:"";z-index:30;pointer-events:none;position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--brand),var(--brand-accent),var(--brand-highlight));opacity:.95}
.public-search-demo-head,.public-demo-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.public-search-demo-head h2{margin-top:6px;font-size:clamp(19px,2.2vw,26px)}
.public-demo-badge{flex:none;margin-top:2px;padding:5px 8px;border:1px solid var(--brand-line);border-radius:var(--r-pill);color:var(--brand);font:600 var(--fs-chip) var(--font-record);letter-spacing:.08em}
.public-demo-query{display:flex;align-items:center;min-height:52px;gap:10px;margin-top:22px;padding:0 14px;border:1px solid var(--line-strong);border-radius:var(--r-ctl);background:var(--subtle);color:var(--ink);font-size:14px;line-height:1.4;overflow:hidden}
.public-demo-search-icon{color:var(--brand);font-size:22px;line-height:1}
.public-demo-caret{width:2px;height:20px;background:var(--brand);animation:public-demo-caret 1s steps(1,end) infinite}
.public-demo-scope{display:flex;flex-wrap:wrap;gap:6px;min-height:27px;margin-top:12px}
.public-demo-scope span{display:inline-flex;align-items:center;min-height:25px;padding:0 8px;border:1px solid var(--brand-line);border-radius:var(--r-pill);background:var(--brand-tint);color:var(--brand);font:500 var(--fs-chip) var(--font-record)}
.public-demo-results{display:grid;align-content:start;gap:8px;margin-top:16px;height:216px;min-height:216px}
.public-demo-result{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:var(--r-ctl);background:var(--surface);color:inherit;text-align:left;cursor:pointer;transition:border-color var(--t-fast),background var(--t-fast),transform var(--t-fast)}
.public-demo-result:hover,.public-demo-result:focus-visible,.public-demo-result[data-demo-hovered="true"]{border-color:var(--brand-line);background:var(--brand-tint);transform:translateY(-1px);text-decoration:none}
.public-demo-result-main{min-width:0}.public-demo-result-title{display:block;overflow:hidden;color:var(--ink);font-weight:600;text-overflow:ellipsis;white-space:nowrap}.public-demo-result-meta{display:block;margin-top:4px;overflow:hidden;color:var(--ink-3);font:400 var(--fs-chip) var(--font-record);text-overflow:ellipsis;white-space:nowrap}.public-demo-result-rate{color:var(--up);font:600 14px var(--font-record);white-space:nowrap}.public-demo-result-arrow{color:var(--brand);font-size:18px}
.public-demo-drawer{position:absolute;inset:0;z-index:3;overflow:auto;padding:clamp(18px,2.2vw,28px);background:var(--surface);border-radius:inherit}.public-demo-drawer-head{padding-bottom:16px;border-bottom:1px solid var(--line)}.public-demo-drawer-head h3{margin-top:6px;font-size:20px}.public-demo-detail-grid{display:block;margin-top:18px}.public-demo-summary-card{padding:12px 13px;border-left:3px solid var(--brand);border-radius:0 var(--r-ctl) var(--r-ctl) 0;background:var(--brand-tint)}.public-demo-summary-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.public-demo-summary-head .tag{font-size:var(--fs-chip)}.public-demo-summary{margin:8px 0 0;color:var(--ink-2);font-size:var(--fs-ui);line-height:1.5}.public-demo-summary-note{display:block;margin-top:8px;color:var(--ink-3);font:400 var(--fs-chip)/1.4 var(--font-ui)}.public-demo-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.public-demo-metric{min-width:0;padding:10px;border:1px solid var(--line);border-radius:var(--r-ctl);background:var(--subtle)}.public-demo-metric dt{color:var(--ink-3);font:500 var(--fs-chip) var(--font-ui);letter-spacing:var(--track-eyebrow);text-transform:var(--case-eyebrow)}.public-demo-metric dd{margin:5px 0 0;color:var(--ink);font:600 13px var(--font-record);overflow-wrap:anywhere}.public-demo-metric small{display:block;margin-top:4px;color:var(--ink-3);font:400 var(--fs-chip) var(--font-ui);line-height:1.35}.public-demo-widget-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.public-demo-widget{min-width:0;padding:12px;border:1px solid var(--line);border-radius:var(--r-ctl);background:var(--subtle)}.public-demo-widget-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.public-demo-widget-marker{color:var(--brand);font:500 var(--fs-chip) var(--font-ui);letter-spacing:var(--track-eyebrow)}.public-demo-widget-value{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-top:11px}.public-demo-widget-value strong{color:var(--ink);font:600 20px/1.1 var(--font-record);font-variant-numeric:tabular-nums}.public-demo-widget-value span{max-width:58%;color:var(--ink-3);font-size:var(--fs-ui);line-height:1.35;text-align:right}.public-demo-chain{display:grid;gap:5px;margin-top:10px}.public-demo-chain span{padding:5px 7px;border-left:2px solid var(--brand-line);color:var(--ink-2);font:500 var(--fs-chip) var(--font-ui)}.public-demo-indicators{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.public-demo-indicator{display:inline-flex;align-items:center;min-height:25px;padding:0 8px;border:1px solid var(--brand-line);border-radius:var(--r-pill);background:var(--subtle);color:var(--brand);font:500 var(--fs-chip) var(--font-ui);letter-spacing:var(--track-eyebrow)}.public-demo-evidence{margin-top:12px;padding:11px 12px;border:1px solid var(--line);border-radius:var(--r-ctl);background:var(--subtle);color:var(--ink-2);font-size:var(--fs-ui);line-height:1.45}.public-demo-evidence b{display:block;margin-bottom:4px;color:var(--ink);font-size:var(--fs-ui)}.public-demo-source{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.public-demo-source-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.public-demo-source a{font-weight:600;color:var(--brand)}.public-demo-source-note{flex-basis:100%;color:var(--ink-3);font-size:var(--fs-meta);line-height:1.45}
.public-demo-drawer-head .btn-sm,.public-demo-source-actions .btn-sm,.public-demo-source-actions a{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
@keyframes public-demo-caret{0%,45%{opacity:1}46%,100%{opacity:0}}
@media(max-width:980px){.public-home-hero{grid-template-columns:1fr;max-width:780px}.public-home-copy{max-width:720px}.public-home-copy .pub-h1{max-width:720px}.public-search-demo{width:100%}}
@media(max-width:520px){.public-home-focused .public-main{min-height:auto}.public-home-hero{padding-block:30px 42px;gap:30px}.public-home-copy .pub-h1{font-size:clamp(38px,12vw,54px)}.public-home-copy .pub-lede{font-size:16px}.public-home-boundary{font-size:var(--fs-ui)}.public-search-demo{height:auto;min-height:0}.public-demo-results{height:216px;min-height:216px}.public-demo-result{grid-template-columns:minmax(0,1fr) auto auto;padding:10px}.public-demo-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.public-demo-widget-grid{grid-template-columns:1fr}.public-demo-source{align-items:flex-start;flex-direction:column;gap:8px}.public-demo-source-actions{width:100%;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.public-demo-caret{animation:none}.public-demo-result{transition:none}}
.public-brand{display:inline-flex;align-items:center;gap:var(--s2);color:var(--shell-ink);font:700 15px var(--font-brand);white-space:nowrap}
.pub-header .public-brand{min-height:44px;box-sizing:border-box}
.public-brand:hover{color:var(--shell-ink);text-decoration:none}
.public-mark{width:28px;height:24px;display:grid;place-items:center;border-radius:6px;background:var(--shell-strong);color:#0E7D59;font:700 18px var(--font-brand);letter-spacing:0}
.public-brand-sub{color:#0E7D59;font:700 1em var(--font-brand)}
.pub-header{box-shadow:0 1px 0 var(--shell-line)}
.pub-header nav a{position:relative;padding-block:20px}
.pub-header .primary-nav>a[href$="/about/"],.pub-header .primary-nav>a[href$="/data/"],.pub-header .primary-nav>a[href$="alerts-inbox.html"]{min-width:44px;text-align:center}
.pub-footer .cols a{display:flex;align-items:center;min-height:44px;padding-block:0}
.pub-header nav a[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:var(--r-pill);background:linear-gradient(90deg,var(--brand-accent),var(--brand-highlight))}
.pub-header .signin-link{background:#0E7D59;border-color:#0E7D59;color:#FFFFFF;min-height:44px;white-space:nowrap}
.pub-header .signin-link:hover{background:#0B6446;border-color:#0B6446;color:#FFFFFF;text-decoration:none}.pub-header .app-link{display:inline-flex;align-items:center;min-height:var(--h-touch)}
.pub-header nav a[aria-current="page"]{color:var(--shell-ink);font-weight:700}
.pub-header .cta .app-link{color:var(--shell-muted)}
.pub-header .cta .app-link:hover{color:var(--brand-highlight);text-decoration:none}
.pub-header .signup-link,.pub-header .theme-btn,.pub-header .menu-btn{height:var(--h-touch);min-height:var(--h-touch)}
.pub-header .theme-btn,.pub-header .menu-btn{width:44px;min-width:44px;padding:0}
.public-page .card .btn{min-height:var(--h-touch);height:var(--h-touch)}
.pub-header .public-mobile-nav{display:none;border-top:1px solid var(--shell-line);background:var(--shell-bg);padding:var(--s3) var(--s5) var(--s4)}
.pub-header .public-mobile-nav[aria-hidden="false"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s1)}
.public-mobile-nav a{min-height:44px;display:flex;align-items:center;padding:0 var(--s3);border-radius:var(--r-ctl);color:var(--shell-muted);font-weight:600}
.public-mobile-nav a:hover,.public-mobile-nav a[aria-current="page"]{background:rgba(232,246,239,.08);color:var(--shell-ink);text-decoration:none}
.public-kicker{font:600 var(--fs-chip) var(--font-ui);letter-spacing:var(--track-eyebrow);text-transform:var(--case-eyebrow);color:var(--brand)}
.public-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:var(--s7);align-items:center}
/* Public hero and closing action bars follow the shared button-bar contract (ui.css, UI-BAR-01, ruled
   2026-09-18, every width including phones): each control is as wide as its label plus its own padding
   and at least 44px tall, and the bar is one row. A control is never stretched to fill the row (no
   width:100%, no flex-grow), never squeezed below its label (no flex-shrink on a bar child) and never
   given a fixed or minimum width. Only a bar whose labels genuinely cannot share one row of its column
   wraps, as a last resort: still content-width, left-aligned, the same gap on both axes. A label wider
   than the whole bar (a ~290px label on a 288px phone) wraps inside its own 44px button instead of
   spilling past the border. */
.public-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s3);margin-top:var(--s5);min-width:0;max-width:100%}
.public-hero-actions>*{flex:0 0 auto;width:auto;min-width:0;max-width:100%}
.public-hero-actions .btn{min-height:44px;white-space:normal;text-align:center}
.public-proof{box-shadow:var(--shadow-overlay)}
.public-proof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s3)}
.public-proof-cell{display:flex;flex-direction:column;gap:var(--s1);min-height:102px;padding:var(--s4);border:1px solid var(--line);border-radius:var(--r-ctl);background:var(--subtle)}
.public-proof-cell a{font:500 20px var(--font-record);font-variant-numeric:tabular-nums}
.public-proof-cell .unavail{align-self:flex-start}
.public-proof-label{font-size:var(--fs-meta);color:var(--ink-2)}
.public-section-head{max-width:720px;margin-bottom:var(--s5)}
.public-section-head p{margin:var(--s3) 0 0;color:var(--ink-2);font-size:var(--fs-read);line-height:1.65}
.public-card-link{display:block;color:inherit;min-height:100%}
.public-card-link:hover{color:inherit;text-decoration:none;border-color:var(--brand-line);box-shadow:var(--shadow-raised);transform:translateY(-2px)}
.public-card-link{transition:transform var(--t-fast),border-color var(--t-fast),box-shadow var(--t-fast)}
.public-card-link h3{font-size:15px}
.public-card-link p,.public-copy{color:var(--ink-2);line-height:1.65}
.public-card-link p{margin:var(--s2) 0 0}
.public-arrow{display:inline-block;margin-top:var(--s3);font-weight:600;color:var(--brand)}
.public-band{background:var(--surface);border-block:1px solid var(--line)}
.public-page main>section:not(.public-band){position:relative}
.public-page main>section:not(.public-band)::before{content:"";position:absolute;left:24px;right:24px;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--brand-line),transparent);pointer-events:none}
.public-route-hero{padding-block:var(--s8) var(--s6);max-width:1160px}
.public-route-hero .pub-lede{max-width:900px;margin:var(--s4) 0 0}
.public-breadcrumbs{display:flex;gap:var(--s2);align-items:center;flex-wrap:wrap;color:var(--ink-3);font-size:var(--fs-meta);margin-bottom:var(--s4)}
.public-breadcrumbs a{color:var(--ink-3)}
.public-list{margin:var(--s3) 0 0;padding-left:20px;color:var(--ink-2);line-height:1.8}
.public-availability{display:flex;align-items:flex-start;gap:var(--s3)}
.public-availability>span:first-child{flex:none}
.public-availability b{display:block;margin-bottom:2px}
.public-availability p{margin:0;color:var(--ink-2)}
.public-unavailable{padding:var(--s5);background:var(--hatch);border:1px solid var(--line);border-radius:var(--r-card)}
.public-unavailable h3{font-size:15px}
.public-unavailable p{margin:var(--s2) 0 0;color:var(--ink-2);line-height:1.6}
.public-unavailable .repro{margin:var(--s4) calc(var(--s5) * -1) calc(var(--s5) * -1);border-radius:0 0 var(--r-card) var(--r-card)}
.public-source-note{font:400 var(--fs-chip) var(--font-record);color:var(--ink-3)}
.public-source-note a{font-weight:500}
.public-fact-classes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s3)}
.public-fact-class{padding:var(--s4);border:1px solid var(--line);border-radius:var(--r-ctl);background:var(--surface)}
.public-fact-class p{margin:var(--s2) 0 0;color:var(--ink-2);font-size:var(--fs-meta)}
.public-product-grid{align-items:stretch}
.public-product-grid .public-card-link{display:flex;flex-direction:column;position:relative;min-height:214px;padding-top:28px}
.public-product-grid .public-card-link::before{content:"";position:absolute;left:20px;right:20px;top:0;height:3px;border-radius:var(--r-pill);background:linear-gradient(90deg,var(--brand-accent),var(--brand-highlight))}
.public-product-grid .public-card-link p{flex:1}
.public-product-grid .public-card-link h3{font-size:18px;letter-spacing:-.01em}
.product-chain{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--s3);margin-top:var(--s5)}
.product-chain-step{position:relative;min-width:0;padding:var(--s4);border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);box-shadow:var(--shadow-card)}
.product-chain-step:not(:last-child)::after{content:"→";position:absolute;right:-17px;top:50%;transform:translateY(-50%);z-index:1;width:28px;height:28px;display:grid;place-items:center;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--page);color:var(--brand);font-weight:700}
.product-chain-step .step-number{font:500 var(--fs-chip) var(--font-record);color:var(--brand)}
.product-chain-step h3{font-size:16px;margin-top:var(--s2)}
.product-chain-step p{margin-top:var(--s2);color:var(--ink-2);font-size:var(--fs-meta);line-height:1.55}
.product-detail-preview{padding-top:var(--s7)}
.product-detail-preview .public-section-head{max-width:820px}
.product-detail-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:var(--s5);align-items:stretch}
.product-preview{min-width:0;padding:var(--s5);border:1px solid var(--line-strong);border-radius:var(--r-card);background:linear-gradient(145deg,var(--surface),var(--subtle));box-shadow:var(--shadow-raised)}
.product-preview-header,.product-preview-row,.product-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);min-width:0;flex-wrap:wrap}
.product-preview-header{padding-bottom:var(--s4);border-bottom:1px solid var(--line)}
.product-preview-title{font-family:var(--font-display);font-size:17px;font-weight:700}
.product-preview-meta,.product-preview-caption{font:400 var(--fs-meta) var(--font-record);color:var(--ink-3)}
.product-preview-toolbar{justify-content:flex-start;margin-top:var(--s4)}
.product-preview-surface{margin-top:var(--s4);padding:var(--s4);border:1px solid var(--line);border-radius:var(--r-ctl);background:var(--surface)}
.product-preview-caption{display:block;margin-top:var(--s4);line-height:1.55}
.product-preview-list{display:grid;gap:var(--s2);margin-top:var(--s4)}
.product-preview-list .product-preview-row{padding:var(--s3) 0;border-bottom:1px solid var(--line);font-size:var(--fs-meta)}
.product-preview-list .product-preview-row:last-child{border-bottom:0;padding-bottom:0}
.product-preview-bars{display:grid;gap:var(--s3);margin-top:var(--s4)}
.product-preview-bar-row{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(120px,1.5fr) auto;align-items:center;gap:var(--s3);font-size:var(--fs-meta)}
.product-preview-bar{height:10px;overflow:hidden;border-radius:var(--r-pill);background:var(--inset)}
.product-preview-bar i{display:block;width:var(--fill,50%);height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--brand),var(--down))}
.product-preview-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:var(--s5)}
.product-preview-event{position:relative;min-width:0;padding-right:var(--s4)}
.product-preview-event:not(:last-child)::after{content:"";position:absolute;left:14px;right:0;top:9px;border-top:2px solid var(--brand-line)}
.product-preview-event .dot{position:relative;z-index:1;width:18px;height:18px;border:4px solid var(--surface);border-radius:var(--r-pill);background:var(--brand);box-shadow:0 0 0 1px var(--brand)}
.product-preview-event h4{font-size:var(--fs-ui);margin-top:var(--s3)}
.product-preview-event p{margin-top:var(--s1);font-size:var(--fs-meta);color:var(--ink-2);line-height:1.45}
.product-preview-flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--s2);margin-top:var(--s5)}
.product-preview-flow-step{position:relative;min-width:0;padding:var(--s3);border:1px solid var(--line);border-radius:var(--r-ctl);background:var(--surface)}
.product-preview-flow-step:not(:last-child)::after{content:"";position:absolute;right:-12px;top:50%;width:20px;border-top:1px solid var(--brand-line)}
.product-preview-flow-step b{display:block;font-size:var(--fs-ui)}
.product-preview-flow-step span{display:block;margin-top:var(--s1);font:400 var(--fs-chip) var(--font-record);color:var(--ink-3)}
.product-preview-contract{display:grid;gap:var(--s2);margin-top:var(--s4)}
.product-preview-contract .product-preview-row{padding-bottom:var(--s2);border-bottom:1px solid var(--line);font-size:var(--fs-meta)}
.product-preview-contract .product-preview-row:last-child{border-bottom:0}
.product-boundary-list{display:grid;gap:var(--s3);margin-top:var(--s4)}
.product-boundary-item{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--s3);align-items:start}
.product-boundary-item p{margin:0;color:var(--ink-2);line-height:1.55}
.product-evidence-note{margin-top:var(--s5);padding:var(--s4);border-left:3px solid var(--brand);background:var(--brand-tint);border-radius:0 var(--r-ctl) var(--r-ctl) 0;color:var(--ink-2);font-size:var(--fs-meta);line-height:1.6}
.public-form{display:flex;flex-direction:column;gap:var(--s4)}
.public-form input.input,.public-form select.select{height:var(--h-touch);min-height:var(--h-touch)}.public-form textarea.input{height:auto;min-height:150px;padding-block:10px;resize:vertical}
.public-form .required{color:var(--up)}
.public-form-status{min-height:24px;font-size:var(--fs-meta);color:var(--ink-2)}
.public-form-status[data-state="success"]{color:var(--down)}
.public-form-status[data-state="partial"]{color:var(--warn)}
.public-form-status[data-state="error"]{color:var(--up)}
.public-form .btn[aria-busy="true"]{cursor:wait;opacity:.7}
.public-form-note{font-size:var(--fs-meta);color:var(--ink-3);line-height:1.55}
.public-table-link{font-family:var(--font-record);font-variant-numeric:tabular-nums}
.public-table-status{min-width:240px}
.public-table-status .state{margin-bottom:var(--s4)}
.public-filter{max-width:440px;margin-bottom:var(--s4)}
.public-definition{white-space:normal;min-width:220px;max-width:420px;line-height:1.5}
.public-artifact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s3)}
.public-artifact{position:relative;overflow:hidden;padding:var(--s4);border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface);box-shadow:var(--shadow-card);transition:box-shadow var(--t-fast),transform var(--t-fast)}
.public-artifact::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--brand),var(--brand-accent),var(--brand-highlight));opacity:.9}
.public-artifact:hover{box-shadow:var(--shadow-raised);transform:translateY(-1px)}
.public-artifact .label{font:600 var(--fs-chip) var(--font-ui);letter-spacing:var(--track-eyebrow);text-transform:var(--case-eyebrow);color:var(--brand)}
.public-artifact .value{display:block;margin-top:var(--s2);font:600 var(--fs-h3) var(--font-record);color:var(--ink);font-variant-numeric:tabular-nums}
.public-legal-links{display:flex;gap:var(--s3);flex-wrap:wrap}
.public-footer-meta{display:flex;justify-content:space-between;gap:var(--s4);flex-wrap:wrap;margin-top:var(--s5);padding-top:var(--s4);border-top:1px solid var(--shell-line);font-size:var(--fs-meta);color:color-mix(in srgb,var(--shell-muted) 72%,transparent)}
.public-footer-meta a{color:var(--shell-muted)}
.public-noscript{margin:var(--s3) auto;max-width:1160px;padding:var(--s3) var(--s5);background:var(--warn-bg);border:1px solid var(--warn-line);border-radius:var(--r-ctl);color:var(--warn)}
body[data-public-section="home"] .pub-hero-elevated{padding-block:clamp(var(--s7),6vw,var(--s9)) clamp(var(--s6),5vw,var(--s8));background:linear-gradient(120deg,var(--subtle),var(--surface) 68%);border-block:1px solid var(--line)}
body[data-public-section="home"] .pub-hero-elevated .public-hero-grid{align-items:stretch}
body[data-public-section="home"] .pub-hero-elevated .public-hero-grid> :first-child{display:flex;flex-direction:column;justify-content:center}
body[data-public-section="home"] .pub-hero-elevated .public-proof{align-self:stretch;border-color:var(--line-strong)}
body[data-public-section="home"] .public-card-link{position:relative;padding-top:calc(var(--s5) + 4px)}
body[data-public-section="home"] .public-card-link::before{content:"";position:absolute;left:var(--s5);right:var(--s5);top:0;height:3px;background:var(--brand-line);border-radius:var(--r-ctl)}
@media (max-width:1000px){
  .public-hero-grid{grid-template-columns:1fr}
  .public-fact-classes,.public-artifact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-detail-grid{grid-template-columns:1fr}
  .product-chain{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-chain-step:nth-child(2)::after{display:none}
  .product-preview-flow{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1001px){.pub-header .public-mobile-nav[aria-hidden="false"]{display:none}}
@media (max-width:720px){
  .pub-header .in,.pub-wrap{padding-inline:var(--s4)}
  .pub-header .cta{gap:var(--s2)}
  .pub-header .cta .app-link{display:none}
  .public-mobile-nav{padding-inline:var(--s4)}
  .public-proof-grid,.public-fact-classes,.public-artifact-grid{grid-template-columns:1fr}
  .product-chain{grid-template-columns:1fr}
  .product-chain-step::after{display:none!important}
  .product-preview-timeline{grid-template-columns:1fr;gap:var(--s4)}
  .product-preview-event{padding:0 0 var(--s4) var(--s5)}
  .product-preview-event:not(:last-child)::after{left:8px;right:auto;top:18px;bottom:-1px;height:auto;border-top:0;border-left:2px solid var(--brand-line)}
  .product-preview-flow{grid-template-columns:1fr}
  .product-preview-flow-step:not(:last-child)::after{right:auto;left:50%;top:auto;bottom:-12px;width:0;height:20px;border-top:0;border-left:1px solid var(--brand-line)}
  .product-preview-bar-row{grid-template-columns:1fr auto}
  .product-preview-bar-row .product-preview-bar{grid-column:1/-1;grid-row:2}
  .public-route-hero{padding-block:var(--s7) var(--s5)}
  .public-footer-meta{flex-direction:column}
}
@media (max-width:430px){
  .pub-header .cta .demo-link{display:none}
  .pub-header .public-mobile-nav[aria-hidden="false"]{grid-template-columns:1fr}
}
@media (max-width:360px){
  .pub-header .theme-btn{display:none}
}

/* Public route elevation: one page system across Product, Solutions, Data, Resources, and About. */
.public-page{background:var(--page);color:var(--ink)}
.public-page .public-breadcrumbs{display:none}
.public-page .public-route-hero{width:100%;max-width:none;margin:0;padding:clamp(56px,7vw,92px) max(24px,calc((100vw - 1160px)/2)) clamp(44px,5vw,68px);background:linear-gradient(135deg,var(--subtle),var(--page) 72%);border-bottom:1px solid var(--line)}
.public-page .public-route-hero>*{max-width:1160px;margin-inline:auto}
.public-page .public-route-hero .pub-h1{max-width:920px;margin-top:18px}
.public-page .public-route-hero .pub-lede{max-width:760px;margin-top:18px;font-size:clamp(17px,1.7vw,21px);line-height:1.55}
.public-page .public-route-hero .eyebrow{margin-inline:0}
.public-page .pub-sect{padding-block:clamp(52px,6vw,76px)}
/* ui.css .pub-sect{padding:52px 0} follows .pub-wrap and wipes its side gutter, leaving
   pub-wrap pub-sect sections flush to the viewport edge between 721px and ~1208px. */
.public-page .pub-wrap.pub-sect{padding-inline:var(--s5)}
@media (max-width:720px){.public-page .pub-wrap.pub-sect{padding-inline:var(--s4)}}
.public-page .public-band{background:var(--subtle);border-block:1px solid var(--line)}
.public-page .public-section-head{max-width:900px;margin-bottom:28px}
.public-page .public-section-head h2{max-width:820px;line-height:1.15}
.public-page .public-section-head p{max-width:760px}
.public-page .card,.public-page .product-preview,.public-page .public-unavailable,.public-page .library-card{border-color:var(--line-strong);border-radius:14px;box-shadow:0 8px 24px rgba(11,37,69,.06)}
.public-page .card-pad,.public-page .product-preview{padding:clamp(20px,2.2vw,28px)}
.public-page .grid2,.public-page .grid3,.public-page .grid4{gap:20px}
.public-page .public-product-grid{gap:20px}
.public-page .public-product-grid .public-card-link{min-height:236px}
.public-page .public-card-link h3{font-size:20px;line-height:1.2}
.public-page .public-card-link p,.public-page .public-copy{font-size:15px;line-height:1.65}
/* SWP-10 (2026-10-14 sweep): a plain <a> is an inline element, so its OWN bounding box follows
   the font's glyph metrics (~1.2x font-size), not the ancestor <p>'s line-height -- even though
   the surrounding .public-copy text already computes to a 24.75px line box (15px * 1.65), the
   one-line "See more of the product on Pricing" link's own rect measured 18px tall, under the
   24px WCAG 2.5.8 floor (not exempt: the whole line IS the link, not inline text around it).
   display:inline-block makes the link's own box use that same inherited line-height (24.75px)
   for its single line of content -- same font-size, same visible glyphs, same line spacing as
   today, just measured/hit-tested as a block the size of its own line box instead of its glyph
   ink. Scoped to .public-copy's anchors only (today, only the Pricing link on public-home.html
   has one; .public-copy elsewhere never contains a link). */
.public-page .public-copy a{display:inline-block}
.public-page .public-unavailable{background:var(--subtle);background-image:none;border-left:3px solid var(--line-strong)}
.public-page .public-unavailable .repro,.public-page .repro{background:var(--page);border-color:var(--line);color:var(--ink-3)}
.public-page .public-unavailable h3{font-size:18px;line-height:1.25}
.public-page .public-list{line-height:1.75}
.public-page .public-hero-actions{margin-top:28px}
.public-page .product-detail-preview{padding-top:clamp(52px,6vw,76px)}
.public-page .product-detail-grid{gap:24px}
.public-page .product-preview{background:linear-gradient(145deg,var(--surface),var(--subtle));box-shadow:0 12px 30px rgba(11,37,69,.08)}
.public-page .product-preview-title{font-size:19px}
.public-page .product-preview-meta,.public-page .product-preview-caption{line-height:1.55}
.public-page .product-boundary-list{padding-top:4px;flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:var(--s3)}
.public-page .product-boundary-item{padding-block:12px;border-top:1px solid var(--line)}
.public-page .product-boundary-item:first-child{border-top:0}
.public-page .product-evidence-note{margin-top:28px}
.public-page .public-editorial-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:24px;align-items:stretch}
/* Right-hand "the job" card is stretched by the grid to match the taller example card
   beside it; .product-boundary-list (flex:1 above) fills that height and spreads its
   rows evenly instead of leaving one blank zone below the last row (owner, 2026-10-10). */
.public-page .public-editorial-card{display:flex;flex-direction:column;min-height:100%;padding:clamp(20px,2.2vw,28px);border:1px solid var(--line-strong);border-radius:14px;background:var(--surface);box-shadow:0 8px 24px rgba(11,37,69,.06)}
.public-page .public-data-row{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.5fr) auto;gap:14px;align-items:center;padding:var(--row-pad-list);border-top:1px solid var(--line);font-size:14px}
.public-page .public-data-row:first-child{border-top:0}
.public-page .public-data-row strong{font-weight:600}
.public-page .public-data-row small{display:block;color:var(--ink-3);font-family:var(--font-record);font-size:var(--fs-dense);line-height:1.45}
.public-page .public-quote{margin:0;padding:20px 22px;border-left:3px solid var(--brand);background:var(--brand-tint);border-radius:0 12px 12px 0;color:var(--ink-2);line-height:1.7}
.public-page .display-quote{margin:0;padding:20px 22px;border-left:3px solid var(--brand);background:var(--brand-tint);border-radius:0 12px 12px 0;color:var(--ink);font:700 clamp(20px,2.2vw,28px)/1.25 var(--font-display);letter-spacing:-.02em}
.public-page .public-editorial-grid>.grid2{align-content:start}
.public-page[data-public-section="solutions"] .public-hero-actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.public-page[data-public-section="solutions"] .public-hero-actions .btn{min-width:0;padding:0;background:none;border:0;box-shadow:none;color:var(--brand);font:600 14px var(--font-body);text-decoration:underline;text-underline-offset:3px}
.public-page[data-public-section="solutions"] .public-hero-actions .btn:hover{transform:none;color:var(--brand-dark);background:none}
.public-page .public-footer-meta{font-family:var(--font-record)}
@media (max-width:1000px){
  .public-page .public-editorial-grid{grid-template-columns:1fr}
}
@media (max-width:720px){
  .public-page .public-route-hero{padding-inline:var(--s4)}
  .public-page .public-route-hero .pub-h1{font-size:34px}
  .public-page .public-data-row{grid-template-columns:1fr auto;gap:6px}
  .public-page .public-data-row small{grid-column:1/-1}
}

/* SPEC-306: normal-size public meta copy must remain readable on the affected routes. */
main[aria-labelledby="product-management-hero-heading"] .meta,
main[aria-labelledby="actuarial-hero-heading"] .meta,
main[aria-labelledby="agents-brokers-hero-heading"] .meta,
main[aria-labelledby="responsible-ai-hero-heading"] .meta,
main[aria-labelledby="disclaimers-hero-heading"] .meta,
main[aria-labelledby="trust-hero-heading"] .meta{color:#475467}

/* Firm-grade public elevation: preserve the fixed demo geometry while making
   the available review path legible before a filing is selected. */
.public-icon{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.public-demo-search-icon{display:grid;place-items:center;width:22px;height:22px;flex:none;color:var(--brand-highlight)}
.public-demo-search-icon .public-icon{width:19px;height:19px}
.public-home-focused .public-main{background:var(--page)}
.pub-header{box-shadow:0 1px 0 var(--shell-line),0 8px 24px -20px rgba(0,0,0,.55)}
.pub-header .in{height:68px;max-width:1280px;padding-inline:28px}
.public-brand{gap:10px;font-size:16px;letter-spacing:-.015em}
.public-mark{width:34px;height:28px;border-radius:8px;box-shadow:inset 0 0 0 1px rgba(68,194,140,.24),0 4px 12px -8px rgba(0,0,0,.6)}
.pub-header nav{gap:24px;font-size:14px}
.pub-header nav a{padding-block:24px}
.public-search-demo{display:flex;flex-direction:column;background:var(--surface-raised);border-color:color-mix(in srgb,var(--line-strong) 74%,var(--brand-line));box-shadow:0 18px 42px -24px rgba(11,37,69,.42),0 1px 2px rgba(11,37,69,.12)}
.public-search-demo::after{content:"";position:absolute;left:0;top:28px;bottom:28px;width:2px;background:var(--brand-highlight);opacity:.8;pointer-events:none}
.public-search-demo-head h2{letter-spacing:-.025em}
.public-demo-query{background:var(--surface);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--surface) 60%,var(--brand-tint)),0 4px 14px -12px rgba(11,37,69,.7)}
.public-demo-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px;padding-inline:2px}
.public-demo-result-count{color:var(--ink-3);font:500 var(--fs-chip) var(--font-ui);letter-spacing:var(--track-eyebrow);text-transform:var(--case-eyebrow)}
.public-demo-results{margin-top:8px}
.public-demo-result{box-shadow:0 1px 2px rgba(11,37,69,.08)}
.public-demo-result:hover,.public-demo-result:focus-visible,.public-demo-result[data-demo-hovered="true"]{box-shadow:0 7px 16px -12px rgba(14,125,89,.7)}
.public-demo-evidence-map{min-height:0;overflow:hidden;margin-top:auto;padding:13px 14px;border:1px solid var(--line);border-radius:var(--r-card);background:color-mix(in srgb,var(--subtle) 86%,var(--brand-tint));box-shadow:inset 0 1px 0 color-mix(in srgb,var(--surface) 70%,transparent)}
.public-demo-evidence-map-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.public-demo-evidence-map-head strong{display:block;margin-top:4px;font:600 14px/1.2 var(--font-display);letter-spacing:-.01em}
.public-demo-map-status{max-width:48%;color:var(--brand);font:500 var(--fs-chip)/1.35 var(--font-ui);text-align:right;text-transform:var(--case-eyebrow);letter-spacing:var(--track-eyebrow)}
.public-demo-path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:11px}
.public-demo-path-step{position:relative;display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;min-width:0;padding:9px 10px;border:1px solid var(--line);border-radius:var(--r-ctl);background:var(--surface)}
.public-demo-path-step:not(:last-child)::after{content:"";position:absolute;right:-9px;top:50%;width:10px;border-top:1px solid var(--brand-line)}
.public-demo-path-icon{grid-row:span 2;display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:var(--brand-tint);color:var(--brand)}
.public-demo-path-icon .public-icon{width:15px;height:15px}
.public-demo-path-index{color:var(--brand);font:500 var(--fs-chip) var(--font-record);letter-spacing:.05em}
.public-demo-path-step strong{min-width:0;overflow:hidden;color:var(--ink);font-size:var(--fs-ui);text-overflow:ellipsis;white-space:nowrap}
.public-demo-path-step small{grid-column:2;min-width:0;margin-top:2px;color:var(--ink-3);font-size:var(--fs-ui);line-height:1.25;white-space:normal}
.public-demo-drawer{background:var(--surface-raised)}
.public-demo-summary-card{box-shadow:inset 0 1px 0 color-mix(in srgb,var(--surface) 48%,transparent)}
@media (max-width:1000px){
  .pub-header .in{height:64px;padding-inline:20px}
}
@media (max-width:520px){
  .pub-header .in{height:60px;padding-inline:14px}
  .public-demo-evidence-map{padding:6px 8px}
  .public-demo-evidence-map-head strong{font-size:var(--fs-ui);margin-top:2px}
  .public-demo-map-status{font-size:var(--fs-chip)}
  .public-demo-path{gap:5px;margin-top:7px}
  .public-demo-path-step{padding:7px 6px;row-gap:1px}
  .public-demo-path-icon{width:20px;height:20px}
  .public-demo-path-icon .public-icon{width:12px;height:12px}
  .public-demo-path-index{font-size:var(--fs-chip)}
  .public-demo-path-step strong{font-size:var(--fs-ui)}
  .public-demo-path-step small{font-size:var(--fs-chip);line-height:1.1;white-space:normal}
  .public-demo-path-step:not(:last-child)::after{right:-6px;width:6px}
}
/* Interactive public Search journey. Every layer is clipped to the demo frame;
   nothing here changes the page route or opens a browser-level surface. */
.public-search-demo{isolation:isolate;overflow:hidden}
.public-demo-results{flex:none}
.public-demo-result{min-height:58px}
.public-demo-activity{display:flex;align-items:center;gap:8px;margin-top:11px;color:var(--ink-3);font:500 var(--fs-chip)/1.35 var(--font-record)}
.public-demo-activity-dot{width:7px;height:7px;flex:none;border-radius:50%;background:var(--brand-highlight);box-shadow:0 0 0 3px var(--brand-tint)}
.public-demo-scrim,.public-demo-viewer-scrim{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:rgba(8,27,49,.46);cursor:pointer}
.public-demo-drawer{position:absolute;inset:0;z-index:8;padding:0;background:transparent;border-radius:inherit}
.public-demo-drawer-panel{position:absolute;top:0;right:0;bottom:0;width:min(46%,620px);min-width:300px;display:flex;flex-direction:column;overflow:auto;padding:24px clamp(18px,2.1vw,30px);background:var(--surface-raised);box-shadow:-18px 0 34px -25px rgba(8,27,49,.75);border-left:1px solid var(--line-strong);animation:public-demo-panel-in 180ms ease-out both}
.public-demo-drawer-head{flex:none;position:relative;padding:0 46px 17px 0;border-bottom:1px solid var(--line)}
.public-demo-drawer-head h3{margin-top:7px;font-size:clamp(19px,2vw,25px);line-height:1.15;letter-spacing:-.025em}
.public-demo-drawer-head .btn{position:absolute;top:-4px;right:0;min-width:44px}
.public-demo-drawer-help{max-width:44ch;margin:8px 0 0;color:var(--ink-3);font-size:var(--fs-ui);line-height:1.45}
.public-demo-detail-grid{flex:1;min-height:0;overflow:auto;margin-top:16px;padding-right:3px}
.public-demo-detail-grid{flex:0 0 auto;min-height:auto;overflow:visible}
.public-demo-content-card{padding:14px;border:1px solid var(--line);border-radius:var(--r-ctl);background:var(--subtle)}
.public-demo-content-card p{margin:8px 0 0;color:var(--ink-2);font-size:var(--fs-ui);line-height:1.55}
.public-demo-summary-card{border-left:3px solid var(--brand);border-radius:0 var(--r-ctl) var(--r-ctl) 0;background:var(--brand-tint)}
.public-demo-summary-card .public-demo-summary-note{display:block;margin-top:9px;color:var(--ink-3);font:400 var(--fs-chip)/1.4 var(--font-record)}
.public-demo-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}
.public-demo-indicators{margin-top:12px}
.public-demo-indicator{font-size:var(--fs-ui)}
.public-demo-local-pill{border-color:var(--warn-line);background:var(--warn-bg);color:var(--warn)}
.public-demo-evidence{margin-top:12px}
.public-demo-drawer-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.public-demo-drawer-actions .btn{min-height:44px}
.public-demo-drawer-actions [data-demo-tip],.public-demo-filing-actions [data-demo-tip],.public-demo-form-row [data-demo-tip]{position:relative}
[data-demo-tip]::after{content:attr(data-demo-tip);position:absolute;right:0;bottom:calc(100% + 7px);z-index:20;max-width:220px;width:max-content;padding:6px 8px;border:1px solid var(--line-strong);border-radius:6px;background:var(--ink);color:var(--surface);font:500 10px/1.3 var(--font-body);pointer-events:none;opacity:0;transform:translateY(3px);transition:opacity var(--t-fast),transform var(--t-fast)}
[data-demo-tip]:hover::after,[data-demo-tip]:focus-visible::after{opacity:1;transform:none}
.public-demo-source{flex:none;display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:17px;padding-top:14px;border-top:1px solid var(--line)}
.public-demo-source .public-demo-source-note{flex-basis:100%}
.public-demo-source .btn{min-height:40px}
.public-demo-chain span{overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}

.public-demo-filing{position:absolute;inset:0;z-index:7;display:flex;flex-direction:column;overflow:hidden;padding:18px clamp(18px,2.2vw,30px) 22px;background:var(--surface-raised);border-radius:inherit;animation:public-demo-panel-in 180ms ease-out both}
.public-demo-filing-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;padding-bottom:12px;border-bottom:1px solid var(--line)}
.public-demo-filing-topbar .btn{min-height:40px}
.public-demo-filing-kicker{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.public-demo-local-tag{padding:4px 7px;border:1px solid var(--warn-line);border-radius:var(--r-pill);color:var(--warn);font:600 var(--fs-chip) var(--font-record);letter-spacing:.07em}
.public-demo-filing-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex:none;padding:18px 0 14px}
.public-demo-filing-heading h3{margin-top:6px;font-size:clamp(22px,2.8vw,34px);line-height:1.07;letter-spacing:-.035em}
.public-demo-filing-heading p{margin:8px 0 0;color:var(--ink-3);font:400 var(--fs-chip)/1.45 var(--font-record)}
.public-demo-filing-actions{display:flex;flex-wrap:wrap;gap:7px;flex:none}
.public-demo-filing-actions .btn{min-height:42px}
.public-demo-tabs{display:flex;flex:none;gap:3px;overflow-x:auto;padding:4px 0;border-bottom:1px solid var(--line);scrollbar-width:thin}
.public-demo-tab{min-height:40px;flex:none;padding:0 10px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--ink-3);font:600 11px var(--font-body);cursor:pointer;white-space:nowrap}
.public-demo-tab:hover,.public-demo-tab:focus-visible{color:var(--brand);background:var(--brand-tint);text-decoration:none}
.public-demo-tab[aria-selected="true"]{border-bottom-color:var(--brand);color:var(--brand);background:var(--brand-tint)}
.public-demo-filing-panel{min-height:0;overflow:auto;padding:16px 2px 8px}
.public-demo-filing-panel:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}
.public-demo-filing-panel>.public-demo-content-card+.public-demo-metrics{margin-top:12px}
.public-demo-detail-list{display:grid;gap:9px;margin:10px 0 0;padding-left:18px;color:var(--ink-2);font-size:var(--fs-ui);line-height:1.5}
.public-demo-review-next{margin-top:12px}
.public-demo-assessment-rows{margin-top:11px;border-top:1px solid var(--line)}
.public-demo-assessment-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line);font-size:var(--fs-dense)}
.public-demo-assessment-row strong{font:600 13px var(--font-record);color:var(--ink)}
.public-demo-assessment-row span{font:500 var(--fs-chip) var(--font-record);color:var(--brand)}
.public-demo-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:17px 0 0;padding:0;list-style:none}
.public-demo-timeline li{position:relative;min-width:0;padding:18px 12px 0 0;border-top:2px solid var(--brand-line)}
.public-demo-timeline li:not(:last-child)::after{content:"";position:absolute;right:0;top:-3px;width:7px;height:7px;border-radius:50%;background:var(--brand-line)}
.public-demo-timeline-dot{position:absolute;left:0;top:-6px;width:10px;height:10px;border:3px solid var(--surface-raised);border-radius:50%;background:var(--brand)}
.public-demo-timeline b,.public-demo-timeline li>span:last-child{display:block;font-size:var(--fs-ui)}
.public-demo-timeline li>span:last-child{margin-top:5px;color:var(--ink-3);font:400 var(--fs-chip)/1.4 var(--font-record)}
.public-demo-change-list,.public-demo-rate-table,.public-demo-form-list{display:grid;gap:8px;margin-top:12px}
.public-demo-change-row,.public-demo-rate-row,.public-demo-form-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid var(--line);border-radius:var(--r-ctl);background:var(--subtle);color:var(--ink-2);font-size:var(--fs-dense);line-height:1.4}
.public-demo-change-index{color:var(--brand);font:500 var(--fs-chip) var(--font-record)}
.public-demo-rate-row strong{font:600 14px var(--font-record);color:var(--ink)}
.public-demo-rate-row span{color:var(--ink-3);font:400 var(--fs-chip) var(--font-record)}
.public-demo-form-icon{display:grid;place-items:center;width:30px;height:24px;border:1px solid var(--brand-line);border-radius:5px;color:var(--brand);font:600 var(--fs-chip) var(--font-record)}
.public-demo-form-row div{min-width:0}.public-demo-form-row b,.public-demo-form-row small{display:block}.public-demo-form-row small{margin-top:3px;color:var(--ink-3);font:400 var(--fs-chip) var(--font-record)}
.public-demo-form-row .btn{min-height:38px}
.public-demo-documents>.public-demo-content-card{border-left:3px solid var(--brand)}
.public-demo-doc-search-label{display:block;margin-top:14px;color:var(--ink-2);font:600 11px var(--font-body)}
.public-demo-doc-search{width:100%;height:44px;margin-top:6px}
.public-demo-document-results{display:grid;gap:8px;margin-top:12px}
.public-demo-document-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:var(--r-ctl);background:var(--subtle);color:inherit;text-align:left;cursor:pointer}
.public-demo-document-result:hover,.public-demo-document-result:focus-visible{border-color:var(--brand-line);background:var(--brand-tint);text-decoration:none}
.public-demo-document-result-title{grid-column:1/-1;color:var(--ink);font-weight:600}
.public-demo-document-result-excerpt{min-width:0;overflow:hidden;color:var(--ink-3);font:400 var(--fs-chip)/1.4 var(--font-record);text-overflow:ellipsis;white-space:nowrap}
.public-demo-document-page{color:var(--brand);font:600 var(--fs-chip) var(--font-record);white-space:nowrap}
.public-demo-highlight{padding:1px 2px;border-radius:2px;background:var(--warn-bg);color:var(--ink);box-shadow:0 0 0 1px var(--warn-line)}
.public-demo-empty{margin:12px 0;padding:12px;border:1px dashed var(--line-strong);color:var(--ink-3);font-size:var(--fs-ui);line-height:1.45}
.public-demo-filter{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:6px 9px;margin-top:10px}
.public-demo-filter label{color:var(--ink-2);font:600 10px/1.25 var(--font-body);white-space:nowrap}
.public-demo-filter-input{width:100%;min-width:0;min-height:44px}
.public-demo-filter-help{grid-column:1/-1;color:var(--ink-3);font:400 var(--fs-chip)/1.25 var(--font-record)}

.public-demo-viewer{position:absolute;inset:0;z-index:12;background:rgba(8,27,49,.28);border-radius:inherit}
.public-demo-viewer-panel{position:absolute;inset:2% 5%;display:flex;flex-direction:column;overflow:hidden;background:var(--surface-raised);border:1px solid var(--line-strong);border-radius:14px;box-shadow:0 20px 50px -28px rgba(8,27,49,.9);animation:public-demo-panel-in 180ms ease-out both}
.public-demo-viewer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex:none;padding:18px 22px 14px;border-bottom:1px solid var(--line)}
.public-demo-viewer-head h3{margin-top:5px;font-size:clamp(18px,2.2vw,26px);line-height:1.12}
.public-demo-viewer-head p{margin:6px 0 0;color:var(--ink-3);font:400 var(--fs-chip) var(--font-record)}
.public-demo-viewer-head .btn{min-width:44px}
.public-demo-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:10px 22px;border-bottom:1px solid var(--line);font:500 var(--fs-chip) var(--font-record);color:var(--ink-2)}
.public-demo-viewer-toolbar .btn{min-height:38px}
.public-demo-viewer-sheet-wrap{min-height:0;flex:1;overflow:auto;padding:22px;background:var(--inset)}
.public-demo-viewer-sheet{max-width:680px;min-height:100%;margin:0 auto;padding:clamp(24px,4vw,52px);background:#fff;color:#15283d;box-shadow:0 4px 18px rgba(8,27,49,.13);font-family:var(--font-body)}
.public-demo-sheet-masthead{padding-bottom:12px;border-bottom:2px solid #0e7d59;color:#0e7d59;font:600 var(--fs-chip) var(--font-record);letter-spacing:.1em}
.public-demo-sheet-page-no{margin-top:26px;color:#6c7d90;font:500 var(--fs-chip) var(--font-record);letter-spacing:.08em}
.public-demo-viewer-sheet h4{max-width:560px;margin:8px 0 21px;color:#0b2545;font:700 clamp(24px,3vw,34px)/1.08 var(--font-display);letter-spacing:-.03em}
.public-demo-viewer-sheet p{max-width:560px;margin:0 0 17px;color:#344b63;font-size:var(--fs-ui);line-height:1.72}
.public-demo-viewer-sheet .public-demo-sheet-eyebrow{color:#0e7d59;font:600 var(--fs-chip) var(--font-ui);letter-spacing:var(--track-eyebrow);text-transform:var(--case-eyebrow)}
.public-demo-sheet-rule{height:1px;margin:26px 0 14px;background:#d4dee8}
.public-demo-viewer-sheet .public-demo-sheet-footnote{margin:0;color:#6c7d90;font:400 var(--fs-chip) var(--font-record)}
.public-demo-viewer-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;padding:11px 22px;border-top:1px solid var(--line);color:var(--ink-3);font:400 var(--fs-chip) var(--font-record)}
.public-demo-viewer-foot .btn{min-height:38px}
.public-demo-monitor{position:absolute;inset:0;z-index:10;padding:clamp(18px,2.2vw,28px);background:rgba(8,27,49,.36);border-radius:inherit}
.public-demo-monitor-panel{box-sizing:border-box;position:absolute;inset:0;display:flex;flex-direction:column;overflow:auto;padding:24px clamp(18px,2.1vw,30px) 88px;background:var(--surface-raised);box-shadow:0 20px 50px -28px rgba(8,27,49,.9);animation:public-demo-panel-in 180ms ease-out both}
.public-demo-monitor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex:none;padding:0 0 17px;border-bottom:1px solid var(--line)}
.public-demo-monitor-head h3{margin-top:7px;font-size:clamp(19px,2vw,25px);line-height:1.15;letter-spacing:-.025em}
.public-demo-monitor-head .btn{min-width:44px}
.public-demo-monitor-help{max-width:46ch;margin:8px 0 0;color:var(--ink-3);font-size:var(--fs-ui);line-height:1.45}
.public-demo-monitor-tabs{display:flex;flex:none;gap:3px;overflow-x:auto;padding:10px 0 4px;border-bottom:1px solid var(--line);scrollbar-width:thin}
.public-demo-monitor-tabs .public-demo-tab{min-height:44px}
.public-demo-monitor-body{min-height:0;overflow:auto;padding:16px 2px 10px}
.public-demo-monitor-card{border-left:3px solid var(--brand)}
.public-demo-monitor-card>.public-demo-metrics{margin-top:12px}
.public-demo-monitor-note{color:var(--ink-3)!important;font:400 var(--fs-chip)/1.45 var(--font-record)!important}
.public-demo-monitor-body>.btn{min-height:44px;margin-top:14px}
.public-demo-monitor-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;padding-top:12px;border-top:1px solid var(--line);color:var(--ink-3);font:400 var(--fs-chip) var(--font-record)}
.public-demo-monitor-foot .btn{min-height:44px}
.public-home-focused .public-demo-drawer-panel,.public-home-focused .public-demo-filing,.public-home-focused .public-demo-monitor-panel{padding-bottom:132px}
.public-home-focused .public-demo-viewer-panel{box-sizing:border-box;padding-bottom:0}
@keyframes public-demo-panel-in{from{opacity:.2;transform:translateX(12px)}to{opacity:1;transform:none}}
@media (max-width:620px){
  .public-demo-drawer-panel{width:90%;min-width:0;padding:20px 15px 156px}
  .public-demo-drawer-head{padding-right:42px}
  .public-demo-filing{padding:13px 13px 156px}
  .public-demo-filing-topbar .btn{min-height:44px;font-size:var(--fs-ui);padding-inline:7px}
  .public-demo-filing-kicker{gap:5px}.public-demo-local-tag{font-size:var(--fs-chip)}
  .public-demo-filing-heading{display:block;padding:14px 0 10px}
  .public-demo-filing-heading h3{font-size:23px}.public-demo-filing-actions{margin-top:12px}
  .public-demo-filing-actions .btn{min-height:44px;flex:1}
  .public-demo-tab{min-height:44px;padding-inline:8px;font-size:var(--fs-ui)}
  .public-demo-timeline{grid-template-columns:1fr;gap:0;margin-top:14px}
  .public-demo-timeline li{padding:0 0 17px 23px;border-top:0;border-left:2px solid var(--brand-line)}
  .public-demo-timeline li:last-child{padding-bottom:0}.public-demo-timeline li:not(:last-child)::after{display:none}
  .public-demo-timeline-dot{left:-6px;top:2px}
  .public-demo-assessment-row{grid-template-columns:minmax(0,1fr) auto}.public-demo-assessment-row span{grid-column:1/-1}
  .public-demo-viewer-panel{inset:3% 2.5%;border-radius:10px;padding-bottom:0}
  .public-demo-viewer-head{padding:14px 14px 11px}.public-demo-viewer-head .btn,.public-demo-viewer-toolbar .btn{min-height:44px}.public-demo-viewer-toolbar{padding-inline:14px}
  .public-demo-viewer-sheet-wrap{padding:12px}.public-demo-viewer-sheet{padding:25px 20px}
  .public-demo-viewer-foot{align-items:flex-start;flex-direction:column;padding:10px 14px}.public-demo-viewer-foot .btn{min-height:44px}
  .public-demo-monitor{padding:0}
  .public-demo-monitor-panel{padding:20px 15px 156px}
  .public-demo-monitor-head{padding-right:0}
  .public-demo-monitor-tabs{padding-top:8px}
  .public-demo-monitor-body{padding-inline:0}
  .public-demo-monitor-foot{align-items:flex-start;flex-direction:column;padding-top:10px}
}
@media (prefers-reduced-motion:reduce){.public-demo-panel-in,.public-demo-drawer-panel,.public-demo-filing,.public-demo-viewer-panel,.public-demo-monitor-panel{animation:none}.public-demo-result{transform:none!important}[data-demo-tip]::after{transition:none}}

/* ---- LIVE 11 R1 remediation (2026-08-28) ---- */
/* R1-12: the single polite status region is visually hidden */
.public-demo-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
/* R1-13: WCAG AA text contrast in light and dark */
.public-search-demo{--demo-quiet:var(--ink-2);--demo-accent:#0A6347}
html[data-theme="dark"] .public-search-demo{--demo-accent:var(--brand)}
.public-demo-badge{color:var(--demo-accent)}
.public-search-demo .public-demo-source-note,
.public-search-demo .public-demo-result-count,
.public-search-demo .public-demo-filter-help,
.public-search-demo .public-demo-sheet-footnote,
.public-search-demo .public-demo-summary-note,
.public-search-demo .public-demo-summary-card .public-demo-summary-note{color:var(--demo-quiet)}
.public-demo-tab{color:var(--demo-quiet)}
.public-demo-tab[aria-selected="true"]{color:var(--demo-accent)}
/* R1-9: the review path lays out fully, and stacks at 390 */
.public-demo-evidence-map{overflow:visible}
/* R1-21: result rows carry a visible focus ring like every other control */
.public-demo-result:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
/* R1-6: the row's rate cell names the field the interpreted scope keys on */
.public-demo-result-rate{display:block;text-align:right}
.public-demo-result-rate strong{display:block;color:var(--up);font:600 14px var(--font-record);white-space:nowrap}
.public-demo-result-rate small{display:block;margin-top:2px;color:var(--demo-quiet);font:500 var(--fs-chip) var(--font-record);white-space:nowrap}
/* R1-14: Filing 360 header is two rows; nothing is clipped at 1280 */
.public-demo-filing-heading{display:block;padding:16px 0 12px}
.public-demo-filing-heading h3{max-width:none}
.public-demo-filing-actions{margin-top:12px;flex-wrap:wrap;justify-content:flex-start}
.public-demo-tabs{flex-wrap:wrap;overflow-x:visible;row-gap:2px}
/* R1-16: every mobile tab meets the 44x44 bar */
.public-demo-tab{min-width:44px}
/* R1-10 + R1-11: the drawer footer never overhangs its panel, at any width or zoom */
.public-demo-drawer-panel,.public-demo-filing,.public-demo-monitor-panel,.public-demo-viewer-panel{min-width:0;max-width:100%}
.public-demo-source{min-width:0;max-width:100%;row-gap:9px}
.public-demo-source>*{min-width:0;max-width:100%}
.public-demo-source .public-demo-source-note{flex:1 1 100%;width:100%;max-width:100%;overflow-wrap:anywhere;white-space:normal;text-align:left}
.public-demo-results-head,.public-demo-filing-topbar,.public-demo-viewer-toolbar,.public-demo-viewer-foot,.public-demo-monitor-foot{flex-wrap:wrap;min-width:0}
.public-demo-viewer-head,.public-demo-drawer-head,.public-demo-monitor-head{flex-wrap:nowrap;min-width:0}
.public-demo-viewer-head>div,.public-demo-monitor-head>div{min-width:0}
.public-demo-viewer-head .btn,.public-demo-monitor-head .btn{flex:none}
.public-demo-filing-topbar>*,.public-demo-viewer-toolbar>*,.public-demo-viewer-foot>*,.public-demo-monitor-foot>*{min-width:0}
.public-demo-scope,.public-demo-indicators,.public-demo-drawer-actions,.public-demo-filing-actions{min-width:0;max-width:100%}
.public-demo-scope span,.public-demo-indicator{max-width:100%;overflow-wrap:anywhere}
@media (max-width:620px){
  /* R1-9: stack the review path so no step is clipped */
  .public-demo-path{grid-template-columns:1fr;gap:6px}
  .public-demo-path-step:not(:last-child)::after{display:none}
  .public-demo-path-step strong,.public-demo-path-step small{white-space:normal;overflow:visible;text-overflow:clip}
  .public-demo-evidence-map-head{flex-wrap:wrap}
  .public-demo-map-status{max-width:100%;text-align:left}
  /* R1-10: the disclosure and its controls own a full row each */
  .public-demo-source{flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:8px}
  .public-demo-source .public-demo-source-note{flex:0 0 auto;width:100%}
  .public-demo-source .btn{width:100%}
  /* R1-18: the filed date wraps instead of being cut off */
  .public-demo-result-meta{white-space:normal;overflow:visible;text-overflow:clip}
  .public-demo-result{align-items:start}
  /* R1-11: the filter reflows at 200% zoom instead of forcing document overflow */
  .public-demo-filter{grid-template-columns:1fr}
  .public-demo-filter label{white-space:normal}
  .public-demo-query{min-height:auto;padding:10px 12px;align-items:flex-start;flex-wrap:wrap}
  /* R1-17: Filing 360 gets a usable reading height at 390 */
  .public-demo-filing{padding-top:10px}
  .public-demo-filing-heading{padding:10px 0 8px}
  .public-demo-filing-panel{padding-top:12px}
}
@media (max-width:430px){
  .public-demo-drawer-panel{width:96%;padding-inline:12px}
  .public-demo-filing,.public-demo-monitor-panel{padding-inline:12px}
  .public-demo-viewer-panel{inset:2% 1.5%}
  .public-demo-filing-topbar{gap:6px}
  .public-demo-filing-topbar .btn,.public-demo-filing-actions .btn{flex:1 1 auto}
  .public-demo-viewer-toolbar{gap:8px}
  .public-search-demo{padding-inline:12px}
}
/* R1-13 (dark): the viewer sheet is always white paper, so its quiet text may not follow the theme token */
.public-search-demo .public-demo-sheet-footnote,.public-search-demo .public-demo-sheet-page-no{color:#4a5b70}
/* R1-11: WCAG 1.4.10 reflow. 200% zoom at 390 renders a 195px CSS viewport; only that case is retargeted. */
@media (max-width:340px){
  .pub-header .in{min-width:0;flex-wrap:wrap;row-gap:6px}
  .pub-header .in>*{min-width:0}
  .pub-header .primary-nav{flex-wrap:wrap;min-width:0}
  .pub-header .public-brand{min-width:0;overflow-wrap:anywhere}
  .public-main,.public-home-hero,.public-home-copy{min-width:0;max-width:100%}
  .public-home-boundary{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
  .public-home-boundary>*{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
  .public-home-copy>*{min-width:0;max-width:100%}
  .public-home-copy .pub-h1,.public-home-copy .pub-lede{overflow-wrap:anywhere}
  .public-search-demo{padding-inline:10px}
  .public-search-demo-head{flex-wrap:wrap}
  .public-demo-badge{flex:0 1 auto;min-width:0;white-space:normal;overflow-wrap:anywhere;letter-spacing:.04em}
  .public-demo-drawer-panel,.public-demo-filing,.public-demo-monitor-panel{padding-inline:10px}
  .public-demo-viewer-panel{inset:1% 1%}
  .public-demo-viewer-head,.public-demo-viewer-toolbar,.public-demo-viewer-foot{padding-inline:10px}
  .public-demo-filing-topbar .btn,.public-demo-filing-actions .btn,.public-demo-drawer-actions .btn,.public-demo-source .btn{flex:1 1 100%;white-space:normal}
  .public-demo-result{grid-template-columns:minmax(0,1fr) auto}
  .public-demo-result-arrow{display:none}
}
/* R1 polish (eyes-on, post-deploy): defects visible only in the rendered page */
/* the viewer footer note was cut at the panel edge instead of wrapping */
.public-demo-viewer-foot>span,.public-demo-monitor-foot>span{min-width:0;overflow-wrap:anywhere}
/* all eight Filing 360 tabs fit one row at 1280 - no orphaned "Documents" */
@media (min-width:621px){
  .public-demo-tab{padding:0 6px}
  /* the fixed Feedback launcher sat on the fabricated-content disclosure (measured 59x13px) */
  .public-demo-viewer-foot{padding-right:var(--rfa-fb-band-x,150px)}
  /* a 300px drawer wrapped the record title onto four lines and clipped the Disposition value */
  .public-demo-drawer-panel{width:min(54%,620px)}
}
.public-demo-filing-panel{padding-bottom:22px}
@media (max-width:340px){
  .public-demo-viewer-head,.public-demo-drawer-head,.public-demo-monitor-head{flex-wrap:wrap}
}

/* ================= LIVE 11 R2 (2026-08-28) ================= */
/* R2-3 (V1-F4): tokens.css builds --surface-raised with color-mix(var(--brand-tint)), whose dark
   value is rgba(...,.16) - so every demo panel resolved to alpha .899 and the query, chips and
   result rows read through it. tokens.css is out of scope, so the demo carries its own fully
   opaque surface in both themes. */
.public-search-demo{--demo-surface:#FDFEFE;--demo-surface-2:#F4F7FA}
html[data-theme="dark"] .public-search-demo{--demo-surface:#131C2D;--demo-surface-2:#1A2438}
.public-search-demo,
.public-search-demo .public-demo-drawer-panel,
.public-search-demo .public-demo-viewer-panel,
.public-search-demo .public-demo-monitor-panel,
.public-search-demo .public-demo-filing{background-color:var(--demo-surface)}
.public-search-demo .public-demo-monitor-head,
.public-search-demo .public-demo-viewer-head,
.public-search-demo .public-demo-drawer-head{background-color:var(--demo-surface)}
.public-search-demo .public-demo-viewer-sheet-wrap{background-color:var(--demo-surface-2)}

/* R2-5 (V1-F6): Filing 360 gets natural height. While it is the active layer the card leaves the
   fixed-height overlay mode, the underlying blocks are removed from flow, and the body scrolls
   with the page instead of inside a 355px window. The tab row stays reachable via sticky. */
.public-search-demo.public-demo-filing-flow{height:auto}
.public-demo-filing-flow>:not([data-demo-filing]):not([data-demo-drawer]):not([data-demo-viewer]):not([data-demo-monitor]){display:none}
.public-demo-filing-flow>[data-demo-filing]{position:static;inset:auto;overflow:visible;animation:none;padding-inline:0}
.public-demo-filing-flow .public-demo-filing-panel{overflow:visible;min-height:0;max-height:none}
.public-demo-filing-flow .public-demo-tabs{position:sticky;top:0;z-index:4;background-color:var(--demo-surface)}
.public-demo-filing-flow .public-demo-filing-topbar{position:sticky;top:0;z-index:5;background-color:var(--demo-surface)}
.public-demo-filing-flow .public-demo-tabs{top:56px}

/* R2-1: keep every disclosure and control clear of the launcher's viewport box at both widths. */
.public-demo-viewer-foot>span,.public-demo-monitor-foot>span{padding-right:var(--rfa-fb-band-x,150px)}
@media (max-width:620px){
  .public-demo-viewer-foot{padding-bottom:96px}
  .public-demo-viewer-foot>span,.public-demo-monitor-foot>span{padding-right:0}
  .public-demo-source{padding-bottom:8px}
}

/* R2-2 (V1-F3): the source viewer must reflow at a 195px CSS viewport without losing a control. */
@media (max-width:430px){
  .public-demo-viewer-foot,.public-demo-viewer-head,.public-demo-viewer-toolbar{flex-wrap:wrap;min-width:0}
  .public-demo-viewer-foot .btn,.public-demo-viewer-toolbar .btn{white-space:normal;min-width:0;max-width:100%;flex:1 1 auto;height:auto;padding-block:8px}
  .public-demo-viewer-toolbar>span,.public-demo-viewer-foot>span{min-width:0;overflow-wrap:anywhere}
}
@media (max-width:340px){
  .public-demo-viewer-panel{inset:0;border-radius:0;overflow:auto}
  .public-demo-viewer-head,.public-demo-viewer-toolbar,.public-demo-viewer-foot{padding-inline:8px}
  .public-demo-viewer-head .btn{flex:0 0 auto}
  .public-demo-viewer-sheet-wrap{padding:8px}
  .public-demo-viewer-sheet{padding:16px 12px}
  .public-demo-viewer-foot{padding-bottom:88px}
  .public-demo-filing-topbar .btn,.public-demo-filing-actions .btn{white-space:normal;height:auto;padding-block:8px}
}

/* R2-2: at a 195px CSS viewport a 59px title column is unreadable - stack the row instead. */
@media (max-width:340px){
  .public-demo-result{grid-template-columns:minmax(0,1fr);row-gap:4px}
  .public-demo-result-title{white-space:normal;overflow:visible;text-overflow:clip}
  .public-demo-result-meta{white-space:normal;overflow:visible;text-overflow:clip}
  .public-demo-result-rate{text-align:left}
  .public-demo-result-rate strong,.public-demo-result-rate small{display:inline}
}
/* R2-2/19: the document-search snippet wraps to two lines instead of ellipsing the matched phrase. */
.public-demo-document-result-excerpt{white-space:normal;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.public-demo-filing>*{min-width:0;max-width:100%}
.public-demo-document-result{min-width:0}
.public-demo-document-result>*{min-width:0;max-width:100%}

/* R2-6 (V1-F9): the second "Try another question" lives beside the result count. */
.public-demo-next-alt{min-height:34px;font-size:var(--fs-ui);padding-inline:9px}
@media (max-width:620px){.public-demo-next-alt{min-height:44px}}
/* R2-1: a viewport-fixed launcher cannot be dodged by vertical padding alone inside a scroller,
   so the disclosure notes and the in-flow control lists give up border-box width in the pill's
   x-range instead. margin (not padding) is required - the measured box must actually shrink. */
@media (min-width:621px){
  /* R9: the gutter is the launcher's LIVE band - `innerWidth - pill.left`, published by
     public-shell.js as --rfa-fb-band-x and re-measured on load and on resize. R2's hard-coded
     150px encoded a 122px pill; the pill now renders 133px wide (the brand font is stable from
     first paint since R8), and two controls that never had a gutter at all were left crossing it.
     The gutter moves to the CONTAINER so every child inherits the narrower box. */
  .public-demo-source{margin-right:var(--rfa-fb-band-x,150px)}
  /* the note also renders STANDALONE inside the Rates and Documents tabs, where nothing else
     carries the gutter (measured 3,115 px2 on the Rates note when the container-only rule
     replaced it), so it keeps its own - zeroed only where its parent already provides one. */
  .public-demo-source-note{margin-right:var(--rfa-fb-band-x,150px)}
  .public-demo-source .public-demo-source-note{margin-right:0}
  .public-demo-viewer-foot>span,.public-demo-monitor-foot>span{margin-right:var(--rfa-fb-band-x,150px);padding-right:0}
  .public-demo-document-results{margin-right:var(--rfa-fb-band-x,150px)}
  /* the Forms tab's "Open page" control was the second uncovered case (measured 1,578 px2) */
  .public-demo-form-row{margin-right:var(--rfa-fb-band-x,150px)}
  .public-demo-filing-flow .public-demo-filing-panel{padding-inline:0}
}
@media (max-width:620px){
  .public-demo-document-results{margin-right:124px}
  .public-demo-document-result{grid-template-columns:minmax(0,1fr) auto}
  .public-demo-filing-flow .public-demo-filing-panel{padding-inline:0;padding-bottom:120px}
}
/* R2-1 (final): the mock sheet's own fabricated-content footnote also clears the launcher. */
@media (min-width:621px){.public-demo-viewer-sheet-wrap{padding-right:var(--rfa-fb-band-x,150px)}}
/* R2-2: 2px of panel inset was the last horizontal overflow inside .public-demo-filing. */
.public-demo-filing-panel{padding-inline:0}
/* R2-2: below ~340px CSS px (200% zoom of a 390 device) the launcher gutter would collapse the
   result card to zero width; the reflow bar wins there and the gutter is dropped. */
@media (max-width:340px){
  .public-demo-document-results{margin-right:0}
  .public-demo-document-result{grid-template-columns:minmax(0,1fr)}
  .public-demo-document-result-excerpt{-webkit-line-clamp:3}
}
/* R2-2: with Watch and Alert on, the Filing 360 action group gains two monitoring buttons and
   overflowed its panel by 8px at a 640px CSS viewport (200% zoom of 1280). Labels wrap instead. */
.public-demo-filing-actions .btn,.public-demo-filing-topbar .btn{min-width:0;max-width:100%;white-space:normal}
.public-demo-filing-actions{width:100%;min-width:0}
/* R2 fix: the second "Try another question" wrapped the results head onto a new row at 390,
   growing the card 894 -> 950px. In an 844px viewport that pushes the card's top (and the drawer's
   Close) above the viewport when a row is scrolled into view - B4 closeInViewport went false.
   Reclaim the row: the count already names the rows, so the static label goes at mobile. */
@media (max-width:620px){
  .public-demo-results-head{flex-wrap:nowrap;gap:8px}
  .public-demo-results-head>.label{display:none}
  .public-demo-next-alt{flex:0 0 auto;white-space:nowrap}
  .public-demo-result-count{flex:1 1 auto;text-align:right}
  .public-demo-results{height:200px;min-height:200px}
}
/* R2 fix: at 390 the card was 909px in an 844px viewport, so scrolling a row into view pushed the
   card top - and the drawer's Close - above the viewport (B4 closeInViewport false, S8.3). The
   stacked review path was 272px of that. Three columns that WRAP (rather than clip, which is what
   R1 item 9 fixed) bring the card inside the viewport, which satisfies B4 and the launcher
   clearance at the same time. */
@media (max-width:620px){
  .public-demo-path{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .public-demo-path-step{padding:6px 5px;row-gap:0}
  .public-demo-path-step strong,.public-demo-path-step small{white-space:normal;overflow:visible;text-overflow:clip}
  .public-demo-path-icon{display:none}
  .public-demo-path-step strong{font-size:var(--fs-chip);line-height:1.2}
  .public-demo-path-step small{font-size:var(--fs-chip);line-height:1.15}
  .public-demo-evidence-map{padding:8px}
  .public-demo-activity{margin-top:8px}
}
/* R2-1 (390): the mock sheet's own fabricated-content footnote is the last element inside the
   scrolling document, and landed under the launcher at initial scroll. Give it the same
   border-box gutter the desktop notes get. */
@media (max-width:620px){
  .public-search-demo .public-demo-viewer-sheet .public-demo-sheet-footnote{margin-right:140px}
  .public-demo-viewer-sheet{padding-bottom:28px}
}
/* ================= LIVE 11 R3 (2026-08-28) =================
   S8.3 hard bar: the 390 drawer Close sat ~10px above the viewport on open, because the card is
   taller than the viewport and scroll-into-view lifts its top. App-drawer pattern:
   (a) the drawer header (title + Close) is sticky to the TOP OF THE VIEWPORT while the drawer body
       scrolls with the page, and (b) opening scrolls the panel's top edge to the viewport top.
   Sticky can only track PAGE scroll if the drawer is in the document's scroll flow, so at <=620 the
   drawer leaves the card's overflow context exactly as Filing 360 already does. The panel's
   computed position is `static`, never `fixed`, so the harness takeover check still passes; the
   scrim becomes viewport-fixed so the scrim-close path is preserved. */
@media (max-width:620px){
  .public-search-demo.public-demo-drawer-flow{height:auto;overflow:visible}
  .public-demo-drawer-flow>:not([data-demo-drawer]):not([data-demo-filing]):not([data-demo-viewer]):not([data-demo-monitor]){display:none}
  .public-demo-drawer-flow>[data-demo-drawer]{position:static;inset:auto;overflow:visible}
  .public-demo-drawer-flow .public-demo-scrim{position:fixed;inset:0;width:100%;height:100%;z-index:1}
  .public-demo-drawer-flow .public-demo-drawer-panel{position:relative;width:auto;min-width:0;max-width:100%;
    overflow:visible;z-index:2;box-shadow:none;border-left:0;animation:none;padding:0 12px 156px}
  .public-demo-drawer-flow .public-demo-drawer-head{position:sticky;top:0;z-index:3;
    background-color:var(--demo-surface);padding-top:12px;padding-right:46px;
    box-shadow:0 1px 0 var(--line);pointer-events:none;max-width:100%;min-width:0}
  .public-demo-drawer-flow .public-demo-drawer-head .btn{top:8px;right:0;pointer-events:auto}
}
/* R3 follow-up: in drawer-flow the header is no longer inside an overflow:auto panel, so the
   record title's unbreakable filing id (TX-AUTO-2026-0142) set the document width - 246px in a
   195px viewport. Let the title break, and pin every drawer-flow box to the panel width. */
@media (max-width:620px){
  .public-demo-drawer-flow .public-demo-drawer-head>div{min-width:0;max-width:100%}
  .public-demo-drawer-flow .public-demo-drawer-head h3{overflow-wrap:anywhere;word-break:break-word;font-size:20px;line-height:1.15}
  .public-demo-drawer-flow .public-demo-drawer-help{overflow-wrap:anywhere;max-width:100%}
  .public-demo-drawer-flow .public-demo-drawer-panel *{max-width:100%}
  .public-demo-drawer-flow .public-demo-metric dd{overflow-wrap:anywhere}
}
/* R3 follow-up: out of the card's overflow:auto panel, drawer content set the document width.
   overflow-x:clip bounds the box WITHOUT creating a scroll container, so the sticky header
   (which needs the document as its scrollport) keeps working. */
@media (max-width:620px){
  .public-demo-drawer-flow>[data-demo-drawer],
  .public-demo-drawer-flow .public-demo-drawer-panel{max-width:100%;overflow-x:clip}
}
/* ================= LIVE 11 R4 (2026-08-28) =================
   V2-F1. Chromium's non-standard `html{zoom:2}` scales the layout box to 195 CSS px at a 390
   device width but leaves the MEDIA-QUERY viewport at 390, so R1's `@media (max-width:340px)`
   reflow block never matched in that construction while every box was half size. The fix is not a
   narrower breakpoint: it is to make the <=620 flow fluid by construction, so the same bytes
   reflow whether the narrow box comes from the device, from zoom, or from increased text size.
   Root cause of the 521px document: grid/flex items default to `min-width:auto`, so the hero's
   `.public-search-demo` item held its 244.5px min-content inside a 195px track. */
@media (max-width:620px){
  /* 1. the hero grid and its items may shrink below their min-content */
  .public-main,.public-home-hero,.public-home-copy,.public-search-demo{min-width:0;max-width:100%}
  .public-home-hero>*,.public-home-copy>*{min-width:0;max-width:100%}
  .public-home-copy .pub-h1,.public-home-copy .pub-lede{overflow-wrap:anywhere}
  .public-home-boundary,.public-home-boundary>*{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal}
  /* .public-hero-actions: no override here. Content-width, no grow and no shrink are the base rule (see top). */
  .pub-header .in{min-width:0;flex-wrap:wrap;row-gap:6px}
  .pub-header .in>*,.pub-header .primary-nav{min-width:0;flex-wrap:wrap}
  .pub-header .public-brand{min-width:0;overflow-wrap:anywhere}
  /* 2. no demo action group, chip row, tab row or toolbar may set a floor wider than its box */
  .public-demo-drawer-actions,.public-demo-filing-actions,.public-demo-filing-topbar,
  .public-demo-source-actions,.public-demo-viewer-toolbar,.public-demo-viewer-foot,
  .public-demo-viewer-head,.public-demo-monitor-foot,.public-demo-monitor-head,
  .public-demo-results-head,.public-demo-indicators,.public-demo-scope,
  .public-search-demo-head{min-width:0;max-width:100%;flex-wrap:wrap}
  .public-demo-drawer-actions>*,.public-demo-filing-actions>*,.public-demo-filing-topbar>*,
  .public-demo-source-actions>*,.public-demo-viewer-toolbar>*,.public-demo-viewer-foot>*,
  .public-demo-viewer-head>*,.public-demo-monitor-foot>*,.public-demo-monitor-head>*,
  .public-demo-results-head>*,.public-search-demo-head>*{min-width:0;max-width:100%}
  .public-demo-drawer-actions .btn,.public-demo-filing-actions .btn,.public-demo-filing-topbar .btn,
  .public-demo-source-actions .btn,.public-demo-viewer-toolbar .btn,.public-demo-viewer-foot .btn{
    flex:1 1 auto;min-width:0;max-width:100%;white-space:normal;height:auto;padding-block:8px}
  .public-demo-tabs{min-width:0;max-width:100%;flex-wrap:wrap;overflow-x:visible}
  /* R6: at a faithful 195px CSS viewport the two monitoring tabs must reflow,
     not leave the second tab beyond the viewport behind a horizontal scroller. */
  .public-demo-monitor-tabs{min-width:0;max-width:100%;flex-wrap:wrap;overflow-x:visible;row-gap:2px}
  .public-demo-tab{max-width:100%;white-space:normal;height:auto;min-height:44px;padding-block:4px}
  /* 3. every unbreakable token in the drawer may break; the filing id is the long one */
  .public-demo-drawer-head h3,.public-demo-filing-heading h3,.public-demo-viewer-head h3,
  .public-demo-monitor-head h3,.public-demo-result-title,.public-demo-result-meta,
  .public-demo-metric dt,.public-demo-metric dd,.public-demo-metric small,
  .public-demo-indicator,.public-demo-scope span,.public-demo-badge{
    overflow-wrap:anywhere;word-break:break-word;white-space:normal}
  /* 4. evidence chain, evidence map and disclosure are fluid, never fixed-width */
  .public-demo-chain,.public-demo-chain span,.public-demo-evidence,.public-demo-evidence *,
  .public-demo-evidence-map,.public-demo-evidence-map *,.public-demo-summary-card,
  .public-demo-summary-card *,.public-demo-content-card,.public-demo-detail-grid,
  .public-demo-detail-grid>*,.public-demo-source-note{min-width:0;max-width:100%;overflow-wrap:anywhere}
  /* 5. the drawer flow itself: panel and every descendant box track the panel, not the content */
  .public-demo-drawer-flow .public-demo-drawer-panel{width:auto;min-width:0;max-width:100%}
  .public-demo-drawer-flow .public-demo-drawer-panel>*,
  .public-demo-drawer-flow .public-demo-drawer-head>*{min-width:0;max-width:100%}
}
/* 6. V2-F2 / acceptance (d): the "Open Filing 360" button is a direct child of the drawer body, so
   it is NOT one of the three groups line 348 makes `position:relative`. Its `::after` tooltip
   therefore resolved `right:0` against the PANEL and inflated the panel's scrollWidth by 33px at
   every narrow width (365 vs 332 @390, 299 vs 266 @320) - which `overflow-x:clip` then hid.
   Anchor every tooltip to its own control instead. Measured: panel scrollWidth == clientWidth. */
.public-search-demo [data-demo-tip]{position:relative}
/* 7. at a 195-320px CSS box the drawer's two footer controls fell to 40px tall (pre-existing;
   the 44px floor above 340px CSS px is unaffected). */
@media (max-width:430px){
  .public-demo-source .btn,.public-demo-source-actions .btn{min-height:44px}
}
/* 8. the tooltip's own 220px box is wider than a drawer control at a 137-195px CSS box, so it
   became the panel's horizontal overflow the moment it was anchored to its control. Cap it to the
   control at <=620 - measured, not assumed: panel scrollWidth == clientWidth at 195/320/360/390. */
@media (max-width:620px){
  [data-demo-tip]::after{max-width:100%;overflow-wrap:anywhere;white-space:normal}
}
/* 9. the two drawer-footer controls are direct children of .public-demo-source (not of
   .public-demo-source-actions), so they kept `white-space:nowrap` and their labels - not their
   boxes - were the last horizontal overflow at a 122-137px CSS box. `normal` only wraps when the
   box is too narrow, so the 390/1280 line breaks are unchanged. */
@media (max-width:620px){
  .public-demo-source>.btn{white-space:normal;height:auto;padding-block:8px}
}
/* 10. acceptance (g) at the NEW 320x568 cell: the viewport-fixed Feedback pill (122x44, inset 12px
   from the bottom-right) landed on the drawer's fabricated-content disclosure (2,669 px2) and on
   "View source filing document" (751 px2) at the initial scroll position. R2's gutter mechanism is
   the only reliable one against a viewport-fixed pill; it was dropped below 340 CSS px because it
   collapses a 195px box. Reinstate it for boxes wide enough to carry it (>=300 CSS px), on the
   footer group as a whole so its full-width children inherit the narrower box. */
@media (max-width:340px) and (min-width:300px){
  .public-demo-source{margin-right:var(--rfa-fb-band-x,134px)}
}
/* ================= LIVE 11 R5 (2026-08-28) =================
   R5-1 (S8.3 "offscreen close action"). The source-document viewer is an absolutely positioned
   overlay inside the page-scrolled demo card, so where its Close lands depends entirely on the
   scroll offset at which it was opened (measured: top -18px at 320 and 390 on the r4a bytes;
   V2 measured y -235 at 1280 on r3f). At <=620 the viewer becomes a full-viewport layer - the
   pattern <=340 already used - so its Close cannot leave the viewport at ANY scroll offset,
   which is what the "+400px" bar requires and what a sticky header alone cannot give an
   absolutely positioned panel. The sheet keeps its own internal scroller. */
@media (max-width:620px){
  .public-search-demo .public-demo-viewer{position:fixed;inset:0;border-radius:0}
  .public-search-demo .public-demo-viewer-panel{position:fixed;inset:0;max-width:100%;border-radius:0;border:0}
}
/* ================= LIVE 11 R8 (2026-08-28) =================
   R8-1 (V3-F1): the demo toggles `body.public-demo-layer-open` but no rule ever matched it, so
   with the viewer open the page behind kept scrolling once the sheet reached its own end - the
   §8.3 double-scroll/accidental-body-scroll bar. Lock the viewport the way feedback-widget.js
   already does (plain `overflow:hidden`, measured to hold scrollY exactly), under a class the
   script sets ONLY for the viewer: the <=620 drawer, Filing 360 and monitor are in page flow and
   their sticky headers need page scroll, so they must never be locked. */
body.public-demo-scroll-lock{overflow:hidden}
/* R8-2 (V3-F2): at 320x568 the hero's `Open Alerts` CTA ran under the viewport-fixed Feedback
   pill by 1,836 px2 and `elementFromPoint` returned the pill, so its right ~42px was not
   clickable. The pill is fixed to the viewport bottom-right, so the only fix on our side is to
   bring the CTA row up out of its band: 22px off the hero's top padding, 12px off the lede's
   block margins and 12px off the action row's top margin = 46px, measured. */
@media (max-width:360px){
  .public-home-hero{padding-block:0 42px}
  .public-home-copy .pub-lede{margin-block:6px}
  .public-home-copy .public-hero-actions{margin-top:16px}
  /* give the reclaimed 62px back BELOW the CTA row: lifting the whole column would have carried
     the demo card up into the same band and put the Filing 360 topbar under the pill at 360x640
     (measured 1,562 px2 before this line). Everything below the actions stays where it was. */
  .public-home-copy .public-home-boundary{margin-top:86px}
}
/* ================= LIVE 11 R9 (2026-08-28) =================
   V3/R8's intermittent 320 CLS outlier (0.1076 in 2 of 5 cold loads, reproducible 3-5 of 6 under
   6x CPU throttling) was ONE shift: `section.public-home-hero` displaced `y 0 -> 61`. The cause is
   not the shared topbar's own height - reserving `.pub-header .in{min-height:60px}` changes nothing
   (measured 5/6 outliers with it applied). The markup ships `<div data-public-header></div>`, an
   EMPTY placeholder that public-shell.js fills at runtime, so until the script runs the header
   occupies zero height and everything below it sits 61px too high. Reserve the placeholder; once
   it is filled the real header is exactly this tall, so the rule is inert from that moment on. */
[data-public-header]{min-height:61px}
@media (min-width:621px){[data-public-header]{min-height:69px}}
/* ================= LIVE 11 R10 (2026-08-28) =================
   V4-F1: R8's `display=optional` kept CLS down by never using the brand faces on a cold visit -
   `CSS.getPlatformFontsForNode` showed Liberation Sans / DejaVu Sans and no .woff2 was fetched at
   all. The cure is `swap` again PLUS (a) a preload of the two critical woff2 files in the HTML, so
   the brand faces normally arrive before first paint, and (b) metric-matched local fallbacks, so
   any swap that does happen is metrically invisible. Overrides derived by measuring both families
   at 100px against Liberation Sans (Arial's metric clone, and what this platform substitutes).
   Q-10 (2026-10-03): display type is IBM Plex Sans (tokens.css --font-display). This block used to
   restate the display token as the retired display face, and once that face's loads were removed from
   the pages it painted every public heading in the local fallback instead of the intended face. It now
   names Plex for display as well, so headings and body share one face and one metric-matched
   fallback. Change the display face in tokens.css and in this stack together. */
@font-face{font-family:"IBM Plex Sans Fallback";src:local("Liberation Sans"),local("Arial"),local("Helvetica Neue");size-adjust:90%;ascent-override:99%;descent-override:24%;line-gap-override:0%}
body.public-page{
  --font-display:"IBM Plex Sans","IBM Plex Sans Fallback",system-ui,-apple-system,sans-serif;
  --font-body:"IBM Plex Sans","IBM Plex Sans Fallback",system-ui,-apple-system,sans-serif;
}
/* V4-F3: R8's <=360 lift took the hero's whole top padding, leaving the eyebrow badge flush against
   the header (0px). Give 12px back above the badge and take the same 12px off the lede's block
   margins, so the CTA row - and therefore the launcher clearance measured in R8/R9 - does not move. */
@media (max-width:360px){
  .public-home-hero{padding-block:12px 42px}
  .public-home-copy .pub-lede{margin-block:0}
}
/* V4-F5: all eight Filing 360 tabs on one row at 1280 - the row needed 612.5px of 596, so 3px per
   side comes off each tab (8 x 6px = 48px). The narrowest tab, "Rates", lands on exactly 44px. */
@media (min-width:621px){.public-demo-tab{padding:0 3px}}

/* Keep the account entry and menu inside the narrow-screen header. */
@media(max-width:430px){
  .pub-header .in{height:auto;min-height:60px;padding-block:8px;column-gap:8px}
  .pub-header .cta{gap:6px}
  .pub-header .theme-btn{display:none}
}

/* Shared product/pricing screenshot grid (deduped from per-page <style> blocks 2026-10-10).
   Row-fill rule: a wide 3-col grid whose last row holds only 1 or 2 items spans that item(s)
   to consume the full row width instead of leaving a short tile beside blank gutter space
   (owner instruction 2026-10-10: every row consumes a complete row). */
.public-shot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s5)}
.public-shot-grid-wide{grid-template-columns:repeat(3,minmax(0,1fr))}
.public-shot{display:flex;flex-direction:column;overflow:hidden}
.public-shot picture{display:block;line-height:0;background:var(--subtle)}
.public-shot img{display:block;width:100%;height:auto}
.public-shot figcaption{padding:var(--s4) var(--s5);color:var(--ink-2);font-size:var(--fs-meta);line-height:1.55}
.public-shot figcaption strong{display:block;color:var(--ink);font-size:var(--fs-meta);margin-bottom:3px}
.public-shot-grid-wide .public-shot:nth-last-child(1):nth-child(3n+2){grid-column:span 2}
.public-shot-grid-wide .public-shot:nth-last-child(1):nth-child(3n+1){grid-column:1/-1}
.public-shot-grid-wide .public-shot:nth-last-child(1):nth-child(3n+1) picture{max-width:620px;margin:0 auto}
@media(max-width:720px){.public-shot-grid,.public-shot-grid-wide{grid-template-columns:1fr}.public-shot-grid-wide .public-shot{grid-column:auto}}
