
:root{--paper:#FDFCF8;--ink:#282922;--muted:#5d5c4f;--olive:#4e5638;--wash:#F1F0E7;--shell:#F3ECE6;--clay:#8b5843;--taupe:#EEEAE4;--bronze:#735b35;--line:#d7d3c8;--serif:Didot,'Bodoni MT','Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html{scroll-padding-top:20px;scrollbar-color:#a9ac95 var(--paper)}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 var(--sans)}::selection{background:#d5ddbc;color:#282922}input{caret-color:var(--olive)}a{color:inherit;text-underline-offset:4px}button,input,select{font:inherit;color:inherit;border-radius:0}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}button,a,input,select{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #95623c;outline-offset:4px}button{min-height:44px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--serif);font-weight:400;letter-spacing:-.025em}h1{font-size:48px;line-height:1.02;margin-bottom:12px}h2{font-size:32px;line-height:1.1}h3{font-size:25px;line-height:1.15}small,.small{font-size:12px}.muted{color:var(--muted)}.skip{position:absolute;top:-80px;z-index:20;padding:12px;background:var(--ink);color:white}.skip:focus{top:5px}.site-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:17px 38px;border-bottom:1px solid var(--line)}.brand{font:700 39px/1 var(--serif);letter-spacing:-.035em;text-decoration:none}.site-head nav{display:flex;gap:25px;font-size:13px}.preview-note{font-size:12px;color:var(--muted)}.page{padding:26px 38px 40px;max-width:1600px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:start;gap:30px;margin-bottom:24px}.heading p{margin:8px 0 0;max-width:55ch;font-size:14px}.btn{border:1px solid var(--olive);background:var(--olive);color:#fff;padding:11px 17px;min-height:44px;font-size:13px;font-weight:bold;text-align:center;text-decoration:none;display:inline-block}.btn:hover{background:#374126}.btn.secondary{background:transparent;color:var(--ink);border-color:#a7ab96}.link-btn{background:none;border:0;text-decoration:underline;text-align:left;padding:7px 0;font-size:13px;min-height:44px}.tools{display:flex;gap:14px;align-items:end;margin-bottom:15px}.tools label{display:flex;flex-direction:column;gap:6px;font-size:12px}.tools label:first-child{flex:1}.tools input,.tools select{background:var(--paper);border:1px solid #aaa89b;padding:10px 12px;min-height:44px;width:100%;min-width:0;font-size:14px}input::placeholder{color:var(--muted);opacity:1}.tools select{max-width:220px}.result-meta{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted);margin:18px 0 12px}.rows{border-top:1px solid var(--ink)}.entry{position:relative;border-bottom:1px solid var(--line)}.entry[data-selected=true]{background:var(--wash)}.entry h2{font-size:24px;margin:0 0 7px}.entry p{font-size:14px;max-width:64ch;margin:0 0 8px}.entry .status{display:block;font-size:12px;color:var(--muted)}.entry-price{font:30px/1.1 var(--serif);white-space:nowrap;font-variant-numeric:tabular-nums}.entry-price small{display:block;font:12px/1.4 var(--sans);margin-top:5px;color:var(--muted);white-space:normal}.entry-action{display:flex;flex-direction:column;align-items:stretch;gap:4px}.entry-action .link-btn{text-align:center}.scope{font-size:13px}.scope small{display:block;color:var(--muted);margin-top:5px}.file{font-size:13px}.row-detail{padding:22px;background:var(--taupe);font-size:14px}.row-detail p{font-size:14px}.row-detail h3{margin-bottom:10px}.row-detail .detail-cols{display:grid;grid-template-columns:1.2fr 1fr;gap:35px}.row-detail a{display:inline-block;margin:10px 20px 0 0}.row-detail dl{margin:0}.row-detail dl div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #c9c5b9;padding:8px 0;font-size:13px}.row-detail dd{margin:0;text-align:right}.empty{padding:25px;background:var(--taupe)}.empty h2{font-size:28px}.feedback{font-size:13px;min-height:24px;margin:12px 0}.catalog-note{font-size:13px;max-width:90ch;color:var(--muted);margin:25px 0}.collection-mini{display:flex;align-items:center;gap:15px;white-space:nowrap}.collection-mini strong{font-size:21px;font-weight:400}.collection-mini .btn{background:var(--ink);border-color:var(--ink)}.collection-panel{padding:25px;background:var(--taupe);margin-bottom:24px}.collection-panel h2{margin-bottom:12px}.selected-list{list-style:none;padding:0;margin:15px 0}.selected-list li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:15px;align-items:center;padding:13px 0;border-bottom:1px solid #b9b6a6;font-size:14px}.selected-list small{display:block;margin-top:5px}.cart-total{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin:20px 0;font-size:14px}.cart-total strong{font:34px var(--serif)}.cart-empty{font:29px/1.2 var(--serif);max-width:18ch;margin:26px 0}.cart-explain{font-size:13px;max-width:40ch}.cart-saved{font-size:12px;margin:14px 0}.rail{display:none}.subject-tabs{display:none}.table-labels{display:grid;grid-template-columns:minmax(270px,2.5fr) 1fr .65fr .7fr 145px;gap:25px;padding:12px 20px;background:var(--taupe);font-size:12px}.table .entry-main{display:grid;grid-template-columns:minmax(270px,2.5fr) 1fr .65fr .7fr 145px;gap:25px;padding:20px;align-items:center}.table h1{font-size:42px}.table .heading{padding:8px 0}.table .entry h2{font-size:24px}.table .entry[data-selected=true]{box-shadow:inset 0 0 0 1px #c3c9ad}.table .entry .status{color:#5c604c}.table .collection-mini{padding:13px 18px;background:var(--taupe)}.table .table-proof{display:flex;gap:30px;justify-content:space-between;padding:17px 20px;background:var(--wash);font-size:13px}.table-proof strong{font-weight:400}.table-proof a{white-space:nowrap}.workspace-grid{display:block}.cart-workspace{display:none}.dock{display:none}.footer{padding:25px 38px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:13px}
/* Subject browsing is an edge-to-edge navigation rail and a shell-colored field. */
.subjects{background:var(--shell)}.subjects .site-head{margin-left:235px;padding:20px 38px;border-color:#d1beb0}.subjects .site-head>.brand{font-size:25px;font-weight:400}.subjects .page{margin-left:235px;max-width:none;padding:30px 45px 95px}.subjects .rail{display:flex;position:fixed;left:0;top:0;bottom:0;width:235px;background:var(--olive);color:var(--paper);padding:28px 24px;flex-direction:column}.rail .brand{font-size:42px;margin-bottom:65px}.rail h2{font-size:27px;margin-bottom:20px}.rail button{background:none;color:inherit;border:0;text-align:left;padding:12px 0;font-size:14px;border-bottom:1px solid #85906c}.rail button[aria-pressed=true]{text-decoration:underline;text-underline-offset:7px;font-weight:bold}.rail p{font-size:12px;color:#edf0df;margin-top:auto;padding-top:25px}.subjects h1{font-size:58px;max-width:650px}.subjects .heading{margin-bottom:26px}.subjects .heading>.collection-mini{display:none}.subjects .tools select#topic{display:none}.subjects .tools label:has(#topic){display:none}.subjects .entry-main{display:grid;grid-template-columns:minmax(0,1fr) 95px 160px;gap:30px;padding:26px 0;align-items:center}.subjects .entry h2{font-size:32px;margin-bottom:10px}.subjects .entry .scope,.subjects .entry .file{display:none}.subjects .entry .status{display:inline-block;margin-top:5px}.subjects .entry[data-selected=true]{background:#e2e5d4}.subjects .rows{border-top:0}.subjects .entry{border-color:#d1beb0}.subjects .entry-price{font-size:35px}.subjects .btn{background:var(--clay);border-color:var(--clay)}.subjects .btn:hover{background:#6c422f}.subjects .btn.secondary{background:transparent;color:var(--ink);border-color:#ae8c79}.subjects .row-detail{background:#e4d3c6}.subjects .collection-panel{background:#e4d3c6}.subjects .table-labels,.subjects .table-proof{display:none}.subjects .dock{display:flex;position:fixed;bottom:0;left:235px;right:0;z-index:8;background:var(--paper);border-top:1px solid #c1b5a7;justify-content:space-between;align-items:center;padding:16px 45px}.dock p{margin:0;font-size:13px}.dock strong{font:28px var(--serif);margin-left:15px}.subjects .footer{margin-left:235px;padding-bottom:110px}.subjects .collection-mini{gap:25px}.subjects .result-meta{margin-top:22px}
/* The collection workspace gives browsing and selection equal visual authority. */
.workspace .site-head{border:0;padding:20px 35px}.workspace .site-head .brand{font-size:34px}.workspace .page{max-width:none;padding:0}.workspace-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(360px,2fr)}.workspace .browse{padding:32px 35px 40px}.workspace .heading{margin-bottom:26px}.workspace .heading .collection-mini{display:none}.workspace h1{font-size:47px;max-width:550px}.workspace .tools{flex-wrap:wrap;gap:10px}.workspace .tools label:first-child{flex-basis:100%}.workspace .tools select{max-width:210px}.workspace .tools .link-btn{margin-left:auto}.workspace .entry-main{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:15px;padding:20px 0;align-items:start}.workspace .entry h2{font-size:26px}.workspace .entry .scope,.workspace .entry .file{display:none}.workspace .entry-action{grid-column:1/-1;flex-direction:row;align-items:center;gap:20px}.workspace .entry-action .btn{min-width:160px}.workspace .entry-price{font-size:29px;text-align:right}.workspace .entry[data-selected=true]{background:var(--wash)}.workspace .table-labels,.workspace .table-proof{display:none}.workspace .cart-workspace{display:block;background:var(--olive);color:var(--paper);padding:35px 40px;position:sticky;top:0;align-self:start;min-height:calc(100vh - 74px)}.cart-workspace h2{font-size:42px;line-height:1.05;margin-bottom:20px}.cart-workspace .cart-count{display:flex;gap:20px;align-items:baseline;border-bottom:1px solid #929a7c;padding-bottom:24px}.cart-count strong{font:92px/.9 var(--serif);letter-spacing:-.035em}.cart-count span{font-size:14px}.cart-workspace .selected-list{margin-top:24px}.cart-workspace .selected-list li{border-color:#8d9775;grid-template-columns:1fr auto}.cart-workspace .selected-list .link-btn{grid-column:1/-1;justify-self:start;color:#fff}.cart-workspace .selected-list small{color:#e4e8d7}.cart-workspace .btn{background:var(--paper);color:var(--ink);border-color:var(--paper);width:100%}.cart-workspace .cart-saved,.cart-workspace .cart-explain{color:#edf0e3}.workspace .collection-panel{background:#e2e6d3;color:var(--ink);margin:20px 0}.workspace .row-detail .detail-cols{grid-template-columns:1fr}.workspace .footer{padding:22px 35px}
/* Shared product behavior, expressed through each catalog's shell. */
.breadcrumb{font-size:13px;margin-bottom:25px}.product-intro{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);gap:45px;margin-bottom:30px}.product-title{font-size:55px;max-width:660px}.product-intro p{max-width:65ch}.purchase{padding:25px;background:var(--taupe)}.purchase .entry-price{font-size:43px;margin-bottom:15px}.purchase p{font-size:13px}.purchase .btn{width:100%}.purchase .link-btn{display:block;text-align:center}.product-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:22px 0;border-block:1px solid var(--line);margin:20px 0}.product-facts strong{display:block;font:30px var(--serif)}.product-facts span{font-size:13px}.data-sample{background:var(--wash);padding:25px;margin:30px 0}.data-sample h2{margin-bottom:15px}.data-sample label{display:block;font-size:13px}.data-sample select{max-width:100%;padding:10px;background:var(--paper);border:1px solid #aaa89b;min-height:44px;font-size:14px;margin:8px 0 15px}.data-sample p{font-size:14px;max-width:75ch}.data-table{width:100%;border-collapse:collapse;font-size:14px}.data-table th{text-align:left;font-size:12px;font-weight:400;padding:12px 0;border-bottom:1px solid #aaa89b}.data-table td{padding:13px 0;border-bottom:1px solid #d4d5c8}.data-table td:last-child,.data-table th:last-child{text-align:right;font-variant-numeric:tabular-nums}.package{padding:15px 0}.package h2{margin-bottom:16px}.package details{border-top:1px solid var(--line);padding:15px 0}.package summary{font-size:16px;cursor:pointer}.package details p{font-size:14px;margin:15px 0;max-width:75ch}.subjects .purchase{background:#e1cbbb}.subjects .product-title{font-size:63px}.subjects .data-sample{background:var(--paper)}.workspace.product .product-intro{display:block}.workspace.product .product-title{font-size:48px}.workspace.product .purchase{background:transparent;color:var(--paper);padding:0}.workspace.product .purchase .link-btn{color:var(--paper)}.workspace.product .product-facts{gap:12px}.workspace.product .product-facts strong{font-size:27px}.workspace.product .cart-workspace h2{font-size:35px}.workspace.product .cart-workspace .product-add{background:var(--paper);color:var(--ink)}.workspace.product .cart-count{margin-top:30px}.workspace .review-state{font-size:14px}.review-state:focus{outline-offset:8px}
@media(max-width:1100px) and (min-width:761px){.table-labels,.table .entry-main{grid-template-columns:minmax(200px,2fr) 1fr .6fr .65fr 110px;gap:14px}.subjects .rail{width:195px;padding:25px 18px}.subjects .site-head,.subjects .page,.subjects .footer{margin-left:195px}.subjects .page{padding:26px}.subjects .dock{left:195px;padding:14px 26px}.subjects .entry-main{grid-template-columns:minmax(0,1fr) 80px 130px;gap:15px}.workspace-grid{grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr)}.workspace .browse{padding:25px}.workspace .cart-workspace{padding:30px 25px}.workspace .tools select{max-width:160px}.product-intro{gap:25px}.product-title{font-size:44px}}
@media(max-width:760px){body{padding-bottom:94px}.site-head{padding:12px 18px;gap:12px}.brand{font-size:32px}.site-head nav{font-size:12px;gap:16px}.site-head nav a:first-child{display:none}.page{padding:20px 18px}.heading{margin-bottom:18px;display:block}.heading h1,.table h1{font-size:34px}.heading p{font-size:13px;margin-top:8px}.heading .collection-mini{display:none}.preview-note{font-size:11px}.tools{gap:8px;flex-wrap:wrap;margin-bottom:10px}.tools label:first-child{flex-basis:100%}.tools label{font-size:11px;flex:1}.tools select,.tools input{padding:8px;min-height:40px;font-size:13px}.tools .link-btn{font-size:12px;min-height:40px}.result-meta{font-size:11px;margin:12px 0 8px}.result-meta span:last-child{display:none}.table-labels{display:none}.table .entry-main,.subjects .entry-main,.workspace .entry-main{display:grid;grid-template-columns:minmax(0,1fr) 75px;gap:10px;padding:17px 0}.entry h2,.table .entry h2,.subjects .entry h2,.workspace .entry h2{font-size:24px;line-height:1.12}.entry p{font-size:13px;line-height:1.35;display:block;margin-bottom:7px}.entry .scope,.entry .file{display:none}.entry-price{font-size:27px!important;text-align:right}.entry-price small{font-size:11px;max-width:75px}.entry-action,.workspace .entry-action{grid-column:1/-1;flex-direction:row;align-items:center;gap:20px}.entry-action .btn{min-width:145px}.entry-action .link-btn{padding:7px 0;font-size:12px}.entry .status{font-size:11px!important}.table .table-proof{font-size:12px;padding:14px;gap:15px}.table-proof span:last-of-type{display:none}.table-proof a{display:none}.table .collection-mini,.workspace>.page .collection-mini{padding:0}.collection-panel{padding:20px}.selected-list li{grid-template-columns:minmax(0,1fr) auto;font-size:13px}.selected-list .link-btn{grid-column:1/-1;justify-self:start}.cart-workspace{display:none!important}.dock,.subjects .dock,.workspace .dock{position:fixed;display:flex;align-items:center;justify-content:space-between;bottom:0;left:0;right:0;padding:12px 18px;background:var(--taupe);color:var(--ink);z-index:8;border-top:1px solid #aaa89b;gap:12px}.dock p{font-size:12px;margin:0}.dock strong{font-size:24px;margin-left:7px}.dock .btn{font-size:12px;padding:10px 13px}.subjects .rail{display:none}.subjects .site-head,.subjects .page,.subjects .footer{margin-left:0}.subjects .site-head{padding:12px 18px}.subjects .site-head>.brand{font-size:32px;font-weight:bold}.subjects .page{padding:18px}.subjects h1{font-size:38px}.subjects .heading{margin-bottom:18px}.subjects .subject-tabs{display:flex;overflow-x:auto;gap:0;margin:0 0 14px;padding:0 0 4px}.subject-tabs button{white-space:nowrap;border:0;background:transparent;padding:8px 13px;font-size:12px;min-height:40px;border-bottom:1px solid #b99b89}.subject-tabs button[aria-pressed=true]{background:#dcc4b3;color:#282922}.subjects .tools{margin-bottom:10px}.subjects .tools label:first-child{flex-basis:55%}.subjects .tools label:nth-child(3){flex:1}.subjects .tools .link-btn{display:none}.subjects .entry-main{padding:20px 0}.subjects .row-detail{background:#e4d3c6}.subjects .dock{background:var(--olive);color:var(--paper)}.subjects .dock .btn{background:var(--paper);color:var(--ink);border-color:var(--paper)}.subjects .table-proof{display:none}.workspace .site-head{padding:12px 18px}.workspace-grid{display:block}.workspace .browse{padding:20px 18px}.workspace .heading h1{font-size:36px}.workspace .tools{gap:8px}.workspace .tools label:first-child{flex-basis:100%}.workspace .tools select{max-width:100%}.workspace .footer,.subjects .footer,.footer{padding:23px 18px;font-size:12px;flex-wrap:wrap}.row-detail .detail-cols{grid-template-columns:1fr;gap:15px}.row-detail{padding:18px}.catalog-note{font-size:12px;margin-top:20px}.product-intro{display:block}.product-title,.subjects .product-title,.workspace.product .product-title{font-size:40px}.product-intro>div>p{font-size:14px}.purchase{padding:20px;margin-top:20px}.purchase .entry-price{text-align:left;font-size:36px!important}.purchase .entry-price small{max-width:none}.product-facts{gap:12px;padding:16px 0}.product-facts strong{font-size:26px}.product-facts span{font-size:12px}.data-sample{padding:18px;margin:25px 0}.data-sample h2{font-size:28px}.data-table{font-size:12px}.data-table th{font-size:11px}.data-table td{padding:13px 5px 13px 0}.data-table th:nth-child(2),.data-table td:nth-child(2){display:none}.product .product-intro>div>p:not(.preview-note){margin-bottom:12px}.workspace.product .mobile-purchase{display:block!important}.workspace.product .mobile-purchase .purchase{background:var(--taupe);color:var(--ink)}.workspace.product .mobile-purchase .purchase .link-btn{color:var(--ink)}.product .dock{display:none}.product{padding-bottom:0}.product .collection-panel{margin-top:20px}.table.product .product-intro{margin-bottom:20px}}
@media(max-width:360px){.site-head{padding:10px 15px}.brand,.subjects .site-head>.brand{font-size:29px}.site-head nav{gap:12px;font-size:11px}.page,.subjects .page,.workspace .browse{padding:15px}.heading h1,.table h1,.workspace .heading h1{font-size:30px}.heading{margin-bottom:13px}.heading p{display:none}.subjects h1{font-size:31px}.tools{gap:6px}.tools input,.tools select{min-height:38px;font-size:12px}.tools label{gap:4px}.result-meta{margin-top:10px}.entry h2,.table .entry h2,.subjects .entry h2,.workspace .entry h2{font-size:22px}.entry p{font-size:12px}.table .entry-main,.subjects .entry-main,.workspace .entry-main{padding:14px 0}.table .table-proof{display:none}.subjects .subject-tabs{margin-bottom:8px}.subjects .tools label:first-child{flex-basis:50%}.subjects .heading{margin-bottom:12px}.subjects .result-meta{margin-top:12px}.dock{padding:10px 15px!important}.product-title,.subjects .product-title,.workspace.product .product-title{font-size:34px}}
@media(prefers-reduced-motion:no-preference){.entry[data-selected=true]{animation:select-wash .35s ease-out}@keyframes select-wash{from{background:#d5debb}to{background:var(--wash)}}}
[hidden]{display:none!important}

.product-collection{display:flex;gap:20px;align-items:center;flex-wrap:wrap;font-size:13px}.product-collection [data-saved]{color:var(--muted);font-size:12px}.product .product-intro{margin-bottom:18px}.product .product-facts{margin:18px 0}.product .feedback{margin:8px 0;min-height:0}@media(max-width:360px){.product .breadcrumb{margin-bottom:15px}.product .purchase{margin-top:15px;padding:16px}.product .product-title{margin-bottom:10px}.product .preview-note{font-size:11px}.product .product-intro{margin-bottom:10px}.product .product-facts{padding:14px 0}.product .product-collection{gap:10px}.product .product-collection [data-saved]{flex-basis:100%}}

.subjects .purchase .entry-price small{color:#494739}.cart-workspace .purchase .entry-price small{color:#edf0e3}

@media(max-width:760px){.workspace.product .mobile-purchase .purchase{padding:18px}.subjects .tools{display:grid;grid-template-columns:minmax(0,1fr) 145px;align-items:end;gap:8px}.subjects .tools label{min-width:0}.subjects .tools select{width:100%;max-width:100%}}
/* County table on the product page: Period must stay visible on phones (the rule above hides column 2 for the older State column). */
.table-scroll{overflow-x:auto}
@media(max-width:760px){.county-panel .data-table th:nth-child(2),.county-panel .data-table td:nth-child(2){display:table-cell}.county-panel .data-table td,.county-panel .data-table th{padding-right:8px}.county-panel .data-table th:nth-child(4),.county-panel .data-table td:nth-child(4){display:none}}

/* ===== Library and product pages (2026-11-14) =====
   PALETTE ONLY. Every color below is a token from editorial-blue-15.css (--page navy, --text near-white, --brand light blue, --inset,
   --surface and --cart blues, --rule, --accent-light peach, --accent-wash pale peach, --accent-ink brown, --accent-dark copper) or white.
   Do not add hues: tests/test_site_architecture.py fails on any other hex color in this block.
   Corners are square on every button and container; only label chips and the Selected tag are pill-shaped.
   Light bands always use dark ink text; never put light-blue or white text on peach or light blue. */
body.workspace .site-head{background:var(--brand);border:0}
body.workspace .site-head,body.workspace .site-head a{color:var(--page)}
body.workspace .site-head :focus-visible{outline-color:var(--accent-dark)}

/* ----- product page bands ----- */
.workspace.product .product-facts{background:var(--accent-wash);color:var(--accent-ink);border:0;padding:22px 24px;margin:24px 0}
.workspace.product .product-facts strong{color:var(--accent-dark)}
.workspace.product .data-sample{margin:24px 0;padding:26px 24px}
.workspace.product .data-sample select{background:#fff;color:var(--page);border-color:var(--rule)}
.workspace.product .data-sample:not(#county-profiles){background:var(--brand);color:var(--page)}
.workspace.product .data-sample:not(#county-profiles) .data-table th,.workspace.product .data-sample:not(#county-profiles) .data-table td{border-color:var(--rule)}
.workspace.product .data-sample:not(#county-profiles) .small{color:var(--page)}
.workspace.product #county-profiles{background:var(--accent-wash);color:var(--accent-ink)}
.workspace.product #county-profiles .data-table th,.workspace.product #county-profiles .data-table td{border-color:var(--accent-light)}
.workspace.product #county-profiles .small{color:var(--accent-ink)}
.workspace.product #county-profiles select{border-color:var(--accent-dark)}
.workspace.product .package{padding:26px 24px;margin:24px 0}
.workspace.product #measures{background:var(--inset)}
.workspace.product #files{background:var(--brand);color:var(--page)}
.workspace.product #files details{border-color:var(--rule)}
.workspace.product #files .small{color:var(--page)}
.workspace.product #files :focus-visible,.workspace.product #how-to-read :focus-visible{outline-color:var(--accent-dark)}
.workspace.product #how-to-read{background:var(--accent-wash);color:var(--accent-ink)}
.workspace.product #how-to-read details{border-color:var(--accent-light)}
.workspace.product [id]{scroll-margin-top:16px}
@media(max-width:760px){.workspace.product .data-sample,.workspace.product .package,.workspace.product .about{padding:20px 16px}}
/* wide screens only: on phones the Rank column must be allowed to wrap or it is clipped */
@media(min-width:761px){.workspace.product .county-panel .data-table td{padding-right:14px}.workspace.product .county-panel .data-table td:last-child{white-space:nowrap}}

/* ----- label chips: neutral pills; the category is told apart by a small shape, so labels never compete with the call to action -----
   Subject = copper circle, Bundle type = blue square, Data included = brown diamond, Use cases = blue ring. Status is internal. */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.chip{display:inline-flex;align-items:center;gap:8px;background:var(--text);color:var(--page);font:600 12px/1.2 var(--sans);padding:6px 12px 6px 10px;border-radius:999px}
.chip::before{content:"";flex:none;width:8px;height:8px;box-sizing:border-box;background:var(--surface)}
.chip-subject::before{background:var(--accent-dark);border-radius:50%}
.chip-type::before{background:var(--surface)}
.chip-data::before{background:var(--accent-ink);width:7px;height:7px;transform:rotate(45deg)}
.chip-use::before{background:transparent;border:2px solid var(--surface);border-radius:50%}
.chip-status{background:var(--page);color:var(--text);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:700}
.chip-status::before{display:none}
.chip-status.is-concept{background:var(--text);color:var(--surface)}
.labels{margin-top:14px;display:flex;flex-direction:column;gap:8px}
.label-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.label-cap{font:700 11px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;min-width:78px}
.entry-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.selected-flag{background:var(--accent-ink);color:var(--accent-light);font:700 11px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;padding:7px 11px;border-radius:999px}
.detail-list{list-style:none;margin:8px 0 16px;padding:0;display:grid;gap:8px}
.detail-list li{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap;font-size:13px}
.detail-list li span:last-child{flex:1 1 220px}
.row-detail h4{font:700 11px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;margin:16px 0 6px}

/* ----- store (library) page: near-white surface, white cards instead of lines, one selected state and one CTA color for every product ----- */
body.store{background:var(--text);color:var(--page)}
body.store .workspace-grid{background:linear-gradient(90deg,var(--text) 60%,var(--cart) 60%)}
body.store .browse{color:var(--page)}
body.store .heading p,body.store .preview-note,body.store .result-meta{color:var(--surface)}
body.store .tools{background:transparent;border:0;padding:0;margin-bottom:18px}
body.store .tools label{color:var(--page)}
body.store .tools input,body.store .tools select{background:#fff;color:var(--page);border:1px solid var(--rule)}
body.store .tools input::placeholder{color:var(--surface)}
body.store .tools .link-btn{color:var(--surface)}
body.store .tools .link-btn:disabled{color:var(--rule)}
body.store .site-head,body.store .rows{border:0}
body.store .entry{background:#fff;border:0;box-shadow:0 1px 2px rgba(8,29,53,.08),0 8px 22px rgba(8,29,53,.08);padding:0 26px;margin-bottom:20px;color:var(--page);animation:none!important}
body.store .entry h2,body.store .entry p,body.store .entry-price{color:var(--page)}
body.store .entry-price small,body.store .label-cap{color:var(--surface)}
/* the call to action is the same peach as the selected state */
body.store .entry .btn{background:var(--accent-light);border-color:var(--accent-light);color:var(--accent-ink)}
body.store .entry .btn:hover{background:var(--accent-dark);border-color:var(--accent-dark);color:#fff}
body.store .entry .link-btn{color:var(--brand-solid);font-weight:600}
body.store .entry :focus-visible{outline-color:var(--accent-dark)}
/* selected: peach fill for every product, plus the "Selected" tag so the state does not rely on color */
body.store .entry[data-selected=true]{background:var(--accent-light);color:var(--accent-ink);box-shadow:0 12px 28px rgba(145,70,44,.28)}
body.store .entry[data-selected=true] h2,body.store .entry[data-selected=true] p,body.store .entry[data-selected=true] .entry-price,body.store .entry[data-selected=true] .entry-price small,body.store .entry[data-selected=true] .label-cap,body.store .entry[data-selected=true] .link-btn{color:var(--accent-ink)}
body.store .entry[data-selected=true] .btn{background:transparent;color:var(--accent-ink);border:2px solid var(--accent-ink)}
body.store .entry[data-selected=true] .btn:hover{background:var(--accent-ink);color:var(--accent-light)}
/* details panel */
body.store .row-detail{background:var(--text);color:var(--page);margin:0 -26px;padding:24px 26px;border:0}
body.store .entry[data-selected=true] .row-detail{background:var(--accent-wash);color:var(--accent-ink)}
body.store .row-detail p,body.store .row-detail dd,body.store .row-detail li{color:inherit}
body.store .row-detail dt,body.store .row-detail h4{color:var(--surface)}
body.store .entry[data-selected=true] .row-detail dt,body.store .entry[data-selected=true] .row-detail h4{color:var(--accent-ink)}
body.store .row-detail a{color:var(--brand-solid);font-weight:600}
body.store .entry[data-selected=true] .row-detail a{color:var(--accent-ink)}
body.store .row-detail dl div{border:0;padding:7px 0}
body.store .catalog-note{background:var(--accent-wash);color:var(--accent-ink);padding:20px 24px;margin:28px 0;max-width:none;font-size:14px}
body.store .footer{background:var(--brand);color:var(--page);border:0}
body.store .footer a{color:var(--page)}
body.store .footer :focus-visible{outline-color:var(--accent-dark)}
body.store .cart-workspace .cart-count,body.store .cart-workspace .selected-list li{border:0}
body.store .cart-workspace .selected-list li{padding:12px 0}
@media(max-width:760px){body.store .entry{padding:0 18px}body.store .row-detail{margin:0 -18px;padding:20px 18px}body.store .workspace-grid{background:var(--text)}.label-cap{min-width:0;width:100%}}

/* ----- product page: About this product (labels in full) ----- */
.workspace.product .about{background:var(--inset);padding:26px 24px;margin:24px 0}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px 32px}
.about-group.wide{grid-column:1/-1}
.about-group h3{font:700 12px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--subtext);margin:0 0 12px}
.about-group p{margin:0 0 8px}
.about-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.about-list li{display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap;font-size:14px}
.about-list li span:last-child{flex:1 1 260px;max-width:62ch}
.about-glance{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;margin:0}
.about-glance dt{font-size:12px;color:var(--subtext);margin-bottom:4px}
.about-glance dd{margin:0;font-size:14px}
@media(max-width:760px){.about-grid{grid-template-columns:1fr}}

/* ----- product page: light left column, same near-white surface as the store (founder 2026-11-14) -----
   The shared variables are flipped inside .browse only, so text, links and rules read dark on light there; the cart sidebar is untouched. */
body.workspace.product{background:var(--text);color:var(--page)}
body.workspace.product .workspace-grid{background:linear-gradient(90deg,var(--text) 60%,var(--cart) 60%)}
.workspace.product .browse{--ink:var(--page);--muted:var(--surface);--line:var(--brand);color:var(--page)}
.workspace.product .product-collection [data-saved]{color:var(--surface)}
.workspace.product .collection-panel{background:#fff;color:var(--page)}
.workspace.product .about,.workspace.product #measures{background:#fff;color:var(--page);box-shadow:0 1px 2px rgba(8,29,53,.08),0 8px 22px rgba(8,29,53,.08)}
.workspace.product .about-group h3,.workspace.product .about-glance dt{color:var(--surface)}
.workspace.product #measures details{border-color:var(--brand)}
.workspace.product #measures .small{color:var(--surface)}
.workspace.product #measures :focus-visible,.workspace.product .about :focus-visible{outline-color:var(--accent-dark)}
body.workspace.product .footer{background:var(--brand);color:var(--page);border:0}
body.workspace.product .footer a{color:var(--page)}
body.workspace.product .footer :focus-visible{outline-color:var(--accent-dark)}
@media(max-width:760px){body.workspace.product .workspace-grid{background:var(--text)}}
.workspace.product .collection-panel .selected-list li{border-color:var(--brand)}

/* ----- demo checkout (modal on the library and product pages; nothing leaves the page, nothing is stored) ----- */
body.co-open{overflow:hidden}
.co-overlay{position:fixed;inset:0;z-index:60;background:rgba(8,29,53,.78);display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto}
.co-overlay[hidden]{display:none}
.co-dialog{background:#fff;color:var(--page);width:min(980px,100%);max-height:calc(100vh - 48px);overflow:auto;display:flex;flex-direction:column;box-shadow:0 24px 60px rgba(8,29,53,.45)}
.co-top{display:flex;align-items:center;gap:12px;padding:8px 8px 8px 20px;background:var(--brand);flex:none}
.co-note{font-size:13px;margin-right:auto;color:var(--page)}
.co-close{border:0;background:transparent;color:var(--page);font:400 30px/1 var(--sans);width:44px;height:44px;cursor:pointer}
.co-steps{list-style:none;margin:0;padding:12px 20px 0;display:flex;gap:26px;font:700 12px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;background:var(--text);flex:none}
.co-steps li{color:var(--surface);padding-bottom:10px}
.co-steps li[aria-current=step]{color:var(--page);box-shadow:inset 0 -3px 0 var(--accent-dark)}
.co-body{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
.co-summary{background:var(--cart);color:var(--cart-text);padding:28px}
.co-summary h3,.co-main h3{font:700 12px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase;margin:0 0 14px}
.co-main h3{color:var(--surface);margin:22px 0 10px}
.co-items{list-style:none;margin:0;padding:0}
.co-items li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 14px;padding:12px 0}
.co-items small{display:block;color:var(--cart-subtext);margin-top:4px;font-size:12px}
.co-items .link-btn{grid-column:1/-1;justify-self:start;color:var(--cart-text);min-height:0;padding:4px 0}
.co-total{display:flex;justify-content:space-between;align-items:baseline;margin:18px 0 12px;font-size:14px}
.co-total strong{font:34px var(--serif)}
.co-small{font-size:12px;line-height:1.5;margin:10px 0 0}
.co-summary .co-small{color:var(--cart-subtext)}
.co-main{padding:28px 32px 32px;color:var(--page)}
.co-main h2{font:400 34px/1.1 var(--serif);letter-spacing:-.02em;margin:0 0 12px;color:var(--page)}
.co-main p{font-size:14px;max-width:62ch}
.co-main .co-small{color:var(--surface)}
.co-field{margin:0 0 10px}
.co-field label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.co-main input:not([type=checkbox]),.co-main select{width:100%;min-height:46px;padding:10px 12px;font:15px var(--sans);background:#fff;color:var(--page);border:1px solid var(--rule)}
.co-main input::placeholder{color:var(--surface)}
.co-main input:focus-visible,.co-main select:focus-visible{outline:3px solid var(--accent-dark);outline-offset:0}
.co-main [aria-invalid=true]{border-color:var(--accent-dark);box-shadow:inset 0 0 0 1px var(--accent-dark)}
.co-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.co-err{color:var(--accent-dark);font-size:13px;margin:6px 0 0}
.co-dialog .btn.secondary{background:#fff;color:var(--page);border-color:var(--page);font-weight:700}
.co-dialog .btn.secondary:hover:not(:disabled){background:var(--accent-wash);color:var(--page)}
.co-dialog .btn.secondary:disabled{opacity:.7}
.co-err[hidden],.co-alert[hidden]{display:none}
.co-alert{background:var(--accent-wash);color:var(--accent-ink);padding:12px 14px;margin:0 0 14px;font-size:14px}
.co-updates{border:0;background:var(--text);margin:24px 0 18px;padding:18px}
.co-updates legend{float:left;width:100%;font:700 12px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--surface);padding:0 0 10px}
.co-updates .co-check{clear:both}
.co-check{display:flex;gap:12px;align-items:flex-start;font-size:14px;margin-top:6px;cursor:pointer}
.co-check input{width:22px;height:22px;flex:none;margin:1px 0 0;accent-color:var(--accent-dark)}
.co-pay{width:100%;font-size:16px;min-height:52px}
.co-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:22px}
.co-actions .link-btn{color:var(--brand-solid);font-weight:600}
.co-spin{width:40px;height:40px;border:4px solid var(--brand);border-top-color:var(--accent-dark);border-radius:50%;animation:co-spin 1s linear infinite;margin:28px 0}
@keyframes co-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.co-spin{animation:none;border-top-color:var(--brand)}}
.co-mark{width:52px;height:52px;background:var(--accent-light);color:var(--accent-ink);display:grid;place-items:center;font-size:28px;margin-bottom:16px}
.co-receipt{margin:18px 0 0;display:grid;gap:12px}
.co-receipt div{display:grid;grid-template-columns:150px 1fr;gap:10px;font-size:14px}
.co-receipt dt{color:var(--surface)}
.co-receipt dd{margin:0;overflow-wrap:anywhere}
@media(max-width:760px){.co-overlay{padding:0;align-items:stretch}.co-dialog{max-height:none;min-height:100%;width:100%}.co-body{grid-template-columns:1fr}.co-summary{padding:20px}.co-main{padding:22px 18px 28px}.co-steps{padding:10px 18px 0;gap:18px}.co-receipt div{grid-template-columns:1fr;gap:2px}}
/* ways to buy and the selection (2026-11-14): one card per plan, its description opens when the plan is chosen; cart lines; checkout confirmation */
.workspace.product .buy-options .buy-type{border:0;margin:16px 0 0;padding:0;display:grid;gap:8px}
.workspace.product .plan-card{background:#fff;color:var(--page);border:2px solid #fff}
.workspace.product .plan-card:has(input:checked){border-color:var(--accent-dark);background:var(--accent-wash)}
.workspace.product .plan-opt{display:flex;gap:12px;align-items:center;padding:12px 14px;cursor:pointer;min-height:48px}
.workspace.product .plan-opt input{margin:0;width:20px;height:20px;flex:none;accent-color:var(--accent-dark)}
.workspace.product .plan-detail{padding:0 14px 14px 46px}
.workspace.product .plan-detail p{margin:0 0 12px;font-size:14px;max-width:62ch}
.workspace.product .plan-detail[hidden]{display:none}
.workspace.product .buy-options .buy-add{margin-top:0;min-height:48px}
.workspace.product .buy-action{margin-top:14px}
.workspace.product .buy-options .buy-add:disabled{opacity:.45;cursor:not-allowed}
.workspace.product .buy-warning{margin:10px 0 0;padding:10px 12px;border-left:4px solid var(--accent-dark);background:var(--accent-wash);color:var(--page);font-size:14px;max-width:62ch}
.workspace.product .buy-warning[hidden]{display:none}
@media(max-width:760px){.workspace.product .plan-detail{padding-left:14px}}
.cart-workspace .county-note,.co-summary .co-recurring{margin:10px 0;padding:10px 12px;background:var(--inset);color:var(--cart-text);font-size:14px;line-height:1.45}
.co-minimum{margin:0 0 14px;padding:10px 12px;background:var(--accent-wash);color:var(--accent-ink);border-left:4px solid var(--accent-dark)}
.co-county{margin-top:18px;padding-top:14px;border-top:1px solid var(--rule)}
.co-county h3{margin:0 0 6px}
.co-county pre{margin:8px 0 0;padding:12px;background:var(--inset);color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.5 ui-monospace,Menlo,Consolas,monospace}
.cart-workspace .selected-list li.county-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:4px 14px;padding:6px 0}
.cart-workspace .selected-list li.county-line small{display:block;margin-top:2px}
.cart-workspace .selected-list li.county-line .link-btn{grid-column:auto;justify-self:end;min-height:44px;padding:0 2px}
/* the connection instructions on the thank-you screen (2026-11-14) */
.co-conn h4{margin:16px 0 4px;font-size:14px}
.co-conn p{margin:6px 0}
.co-pre{position:relative}
.co-pre .link-btn{position:absolute;top:2px;right:6px;color:var(--text);min-height:32px;padding:4px}
.co-conn pre{padding-right:56px}
.co-conn .co-err{border-left:3px solid var(--accent-dark);padding-left:8px}
.conn-steps{list-style:none;margin:10px 0 0;padding:0}
.conn-steps li{padding:6px 0;border-top:1px solid var(--rule);font-size:13px}
.conn-steps li small{display:block;color:var(--surface);margin:2px 0 0 58px}
.conn-steps li b{display:inline-block;min-width:54px}

/* Cart, hide handle, phone cart bar and library pay options (founder 2026-11-17, third pass).
   Site rules kept: palette tokens only, square corners, fills and soft shadows instead of borders, peach is the one call to action, selected = the peach/navy fills already used.
   Selectors start with "body" because editorial-blue-common.css loads after this file. */
.cart-handle-wrap{display:none}
.cart-icon{position:relative;display:block;width:42px;height:37px}
.cart-icon svg{display:block;width:42px;height:37px}
.cart-handle-count{position:absolute;left:10px;top:11px;width:24px;text-align:center;font:700 13px/1 var(--sans);letter-spacing:0}
.cart-panel h2{margin-bottom:20px}
body .cart-count span{font:15px/1.3 var(--sans);align-self:flex-end;padding-bottom:10px}
body .cart-empty{font:30px/1.15 var(--serif);margin:26px 0 8px}
@media(min-width:761px){
 /* the dark column is a full-height raised plane; its soft shadow falls on the light column (the same soft shadow the library cards use) */
 body.store .workspace-grid,body.workspace.product .workspace-grid{position:relative;background:var(--text);grid-template-columns:minmax(0,1fr) 40%;transition:grid-template-columns .38s cubic-bezier(.3,.7,.2,1)}
 body.store .workspace-grid.cart-collapsed,body.workspace.product .workspace-grid.cart-collapsed{grid-template-columns:minmax(0,1fr) 0%}
 body .workspace-grid .cart-workspace{position:relative;align-self:stretch;z-index:3;min-height:0;padding:0;overflow:clip;background:var(--cart);box-shadow:-18px 0 38px -16px rgba(8,29,53,.34);transition:box-shadow .38s ease}
 body .workspace-grid.cart-collapsed .cart-workspace{box-shadow:none}
 body .cart-panel{position:sticky;top:0;box-sizing:border-box;width:40vw;min-height:calc(100vh - 74px);padding:34px 40px 44px}
 body .workspace-grid.cart-collapsed .cart-panel{visibility:hidden;transition:visibility 0s .38s}
 /* lifted fills: each cart line is a lighter plane on the navy, with a soft shadow, no borders */
 body .cart-workspace .selected-list{margin-top:22px}
 body .cart-workspace .selected-list li,body .cart-workspace .selected-list li.county-line{background:var(--surface);border:0;padding:14px 18px;margin:0 0 12px;box-shadow:0 10px 20px -10px rgba(8,29,53,.65)}
 body .cart-workspace .cart-total{margin:26px 0 18px}
 body .cart-workspace .btn{min-height:48px;box-shadow:0 12px 22px -10px rgba(8,29,53,.75)}
 body .cart-workspace .btn:disabled{box-shadow:none}
 body .cart-workspace .cart-count strong{text-shadow:0 8px 18px rgba(8,29,53,.5)}
 /* the handle: a peach tab that rides the left edge of the column and stays on the screen edge when the column is gone */
 body .workspace-grid .cart-handle-wrap{display:block;position:absolute;top:0;bottom:0;right:40%;width:0;z-index:6;transition:right .38s cubic-bezier(.3,.7,.2,1);pointer-events:none}
 body .workspace-grid.cart-collapsed .cart-handle-wrap{right:0}
 body .cart-handle{pointer-events:auto;position:sticky;top:26px;display:flex;flex-direction:column;align-items:center;gap:6px;width:46px;margin:26px 0 0 -46px;padding:14px 0 16px;background:var(--accent-light);color:var(--accent-ink);border:0;cursor:pointer;font:700 10px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;box-shadow:-8px 10px 22px -8px rgba(8,29,53,.5);transition:background .15s ease,color .15s ease}
 body .cart-handle:hover{background:var(--accent-dark);color:#fff}
 body .cart-handle:focus-visible{outline:2px solid var(--page);outline-offset:3px}
 .cart-handle-chev{display:block;width:14px;height:22px;margin-bottom:4px}
 .cart-handle-label{display:none}
 .cart-handle-total{display:none}
 .cart-bar-checkout{display:none}
 body .workspace-grid.cart-collapsed .cart-handle-chev{transform:scaleX(-1)}
 body .workspace-grid.cart-collapsed .browse{padding-right:76px}
 body .workspace .browse{transition:padding-right .38s ease}
}
@media(min-width:761px) and (prefers-reduced-motion:reduce){body.store .workspace-grid,body.workspace.product .workspace-grid,body .workspace-grid .cart-handle-wrap,body .workspace-grid .cart-workspace,body .workspace .browse{transition:none}}
/* phones: the cart is a bar at the bottom of the screen; the handle opens the cart upward from it */
@media(max-width:760px){
 body{padding-bottom:84px}
 body .dock,body .product-collection{display:none!important}
 body .workspace-grid .cart-handle-wrap{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;align-items:stretch;gap:12px;height:68px;padding:10px 14px;background:var(--cart);box-shadow:0 -14px 30px -12px rgba(8,29,53,.45)}
 body .cart-handle{flex:1 1 auto;display:flex;flex-direction:row;align-items:center;gap:12px;min-width:0;padding:0;margin:0;background:none;border:0;color:var(--cart-text);cursor:pointer;font:600 13px var(--sans);letter-spacing:.1em;text-transform:uppercase;text-align:left}
 .cart-handle-chev{order:3;margin:0 4px 0 auto;transform:rotate(-90deg);transition:transform .25s ease}
 .cart-handle[data-open="1"] .cart-handle-chev{transform:rotate(90deg)}
 .cart-handle-label{order:1;display:inline}
 .cart-icon{order:0;flex:none;color:var(--accent-light)}
 .cart-handle-count{color:var(--accent-light)}
 .cart-handle-total{order:2;display:inline;font:22px var(--serif);letter-spacing:0;text-transform:none}
 body .cart-bar-checkout{display:block;flex:none;min-height:48px;padding:0 20px}
 body .workspace-grid .cart-workspace{display:block!important;padding:0;min-height:0;position:fixed;top:auto;left:0;right:0;bottom:68px;z-index:35;max-height:78vh;overflow-y:auto;overscroll-behavior:contain;background:var(--cart);box-shadow:0 -20px 40px -16px rgba(8,29,53,.5);transform:translateY(calc(100% + 80px));visibility:hidden;transition:transform .3s cubic-bezier(.3,.7,.2,1),visibility 0s .3s}
 body .workspace-grid.cart-sheet-open .cart-workspace{transform:none;visibility:visible;transition:transform .3s cubic-bezier(.3,.7,.2,1)}
 body .cart-panel{padding:24px 18px 26px;width:auto;min-height:0}
 body .cart-workspace .selected-list li,body .cart-workspace .selected-list li.county-line{background:var(--surface);border:0;padding:12px 14px;margin:0 0 10px;box-shadow:0 8px 16px -8px rgba(8,29,53,.6)}
 .cart-scrim{position:fixed;inset:0;z-index:30;background:rgba(8,29,53,.5);opacity:0;pointer-events:none;transition:opacity .3s ease}
 .cart-scrim.on{opacity:1;pointer-events:auto}
}
@media(max-width:760px) and (prefers-reduced-motion:reduce){body .workspace-grid .cart-workspace,.cart-scrim,.cart-handle-chev{transition:none}}
@media(min-width:761px){.cart-scrim{display:none}}
/* library: the product page's pay options as quiet fills (no borders, no native controls): two joined plan choices, the on-demand add-on, then the call to action */
.entry-action:has(.buy-compact){flex-wrap:wrap;align-items:center;gap:14px 22px}
.buy-compact{display:contents}
.bc-set{order:1;flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.bc-seg{display:flex;flex-wrap:wrap;gap:2px}
.bc-opt{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:0 30px;background:var(--text);color:var(--page);font:14px/1.2 var(--sans);cursor:pointer;white-space:nowrap;transition:background .15s ease,color .15s ease}
.bc-opt input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.bc-opt:hover{background:var(--brand)}
.bc-opt:has(input:checked){background:var(--surface);color:var(--text)}
.bc-opt:has(input:focus-visible){outline:2px solid var(--accent-dark);outline-offset:2px}
.bc-mark{position:absolute;left:10px;top:50%;transform:translateY(-50%);font-weight:700;opacity:0;transition:opacity .15s ease}
.bc-opt:has(input:checked) .bc-mark{opacity:1}
.bc-plus{opacity:.55}
.bc-addon .bc-tick{opacity:0}
.bc-addon:has(input:checked) .bc-plus{opacity:0}
.bc-addon:has(input:checked) .bc-tick{opacity:1}
.bc-add{order:2;min-height:44px;padding:0 24px}
.entry-action:has(.buy-compact) .link-btn{order:3;min-height:44px;padding:0}
.bc-note{order:4;flex:1 1 100%;margin:0;font-size:13px;color:var(--surface)}
.buy-compact .buy-warning{order:5;flex:1 1 100%;margin:0;padding:10px 14px;border-left:4px solid var(--accent-dark);background:var(--accent-wash);color:var(--page);font-size:14px;max-width:62ch}
@media(max-width:760px){.bc-set{flex-direction:column;align-items:stretch;gap:2px}.bc-seg{flex-direction:column;width:100%}.bc-addon{margin-top:8px}.bc-opt{width:100%}.bc-add{flex:1 1 100%}.entry-action:has(.buy-compact) .link-btn{flex:1 1 100%;text-align:center}}

/* legal sections (terms, privacy, notices, contact) */
.legal{scroll-margin-top:72px}.legal h3{font:700 16px/1.3 var(--sans);letter-spacing:0;margin:24px 0 6px}.legal p,.legal li{max-width:75ch;font-size:15px}.legal ul{padding-left:20px;margin:0 0 15px}.legal .legal-meta{font-size:14px;font-style:italic}

.order-panel{margin:16px 0;padding:20px;background:var(--accent-wash);color:var(--page)}.order-panel h2{margin:0 0 8px}.order-panel code{display:block;padding:12px;background:var(--page);color:var(--text);word-break:break-all;font-size:14px}.order-panel p{max-width:75ch}

.legal-main{max-width:860px;margin:0 auto;padding:16px 16px 48px}.legal-toc{display:flex;gap:18px;flex-wrap:wrap;margin:14px 0 20px}.legal-toc a{font-weight:700}.legal-main .legal{margin:24px 0;padding:20px 0}
#co-embed{min-height:320px;margin:12px 0}.co-key{display:block;padding:12px;background:var(--page);color:var(--text);word-break:break-all;font-size:14px;margin:8px 0}
/* 2026-11-19: plan choice lives in the product-page cart; library details sit on their own fill */
.cart-choose [data-buy-compact]{display:block}.cart-choose .bc-set{flex-direction:column;align-items:stretch;gap:8px;margin:0 0 14px}.cart-choose .bc-seg{flex-direction:column;gap:8px;width:100%}.cart-choose .bc-opt{width:100%;justify-content:flex-start;padding:0 16px 0 36px;white-space:normal;min-height:48px;text-align:left}.cart-choose .bc-add{width:100%}.cart-choose .cart-note{font-size:13px;margin:14px 0 8px}
.line-actions{display:inline-flex;gap:12px;justify-self:end}
.entry .row-detail{background:var(--accent-wash);color:var(--accent-ink)}.entry .row-detail dt,.entry .row-detail h4{color:var(--surface)}.entry .row-detail a{color:var(--accent-ink)}
.dl-form{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:12px 0}.dl-form label{display:block;font-size:13px;margin-bottom:4px}.dl-form input{min-height:44px;padding:0 12px;border:0;background:#fff;color:var(--page);font:15px var(--sans);min-width:260px}.dl-msg{margin:8px 0;font-size:14px}.dl-msg.bad{color:var(--accent-dark)}.dl-list{list-style:none;margin:12px 0;padding:0;display:grid;gap:8px}.dl-list li{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#fff;color:var(--page);padding:12px 14px}
.acct{overflow-x:auto}.acct-card{border:1px solid #B2D1FA;padding:14px 16px;margin:12px 0}.acct-card h3{margin:0 0 4px}.acct-keys{width:100%;border-collapse:collapse;margin:10px 0;font-size:14px}.acct-keys th,.acct-keys td{text-align:left;padding:6px 8px;border-bottom:1px solid #B2D1FA}.acct-new{background:#F5E1D1;color:#43291D;padding:12px 14px;margin:12px 0;overflow-wrap:anywhere}.acct-new code{font-size:15px}
