:root{--bg:#101710;--surface:#172018;--line:#354136;--text:#e4e9dc;--muted:#a7b2a3;--yellow:#e6e18a;--font-body:"Questrial",Arial,Helvetica,sans-serif;--font-text:"Questrial",Arial,Helvetica,sans-serif;--font-title:"New Amsterdam",Impact,"Arial Narrow",sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 var(--font-body)}button,input,select{font:inherit}a{color:inherit;text-underline-offset:4px}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer}button,input,select{color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:0}button:disabled{opacity:.4;cursor:default}button:hover,a.button:hover{border-color:var(--yellow)}:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}.header{min-height:94px;padding:15px 32px;display:flex;align-items:center;gap:40px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font:28px/1 var(--font-title);white-space:nowrap}.brand-mark{height:40px;width:40px;object-fit:contain}.brand small{display:block;font:8px/1.7 var(--font-body);letter-spacing:2px;margin-top:5px}.site-nav{display:flex;gap:24px;align-self:stretch;align-items:center;overflow-x:auto;white-space:nowrap}.site-nav a{text-decoration:none;font-size:11px;display:flex;align-items:center;align-self:stretch;border-bottom:2px solid transparent}.site-nav a.active{border-bottom-color:var(--yellow);color:var(--yellow)}.preview-badge{margin-left:auto;font-size:8px;white-space:nowrap;color:var(--muted)}.preview-badge>span{display:inline-block;width:6px;height:6px;background:var(--yellow);border-radius:50%;margin-right:7px}main{max-width:1920px;margin:auto;padding:40px 32px 70px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:32px}.eyebrow{font-size:9px;color:var(--muted);letter-spacing:1.6px;margin:0 0 10px}h1,h2,h3{font-family:var(--font-title);font-weight:400;line-height:1.1}h1{font-size:64px;letter-spacing:.2px;margin:0}h2{font-size:35px;margin:12px 0 20px}h3{font-size:27px;margin:24px 0 12px}.intro{color:var(--muted);font-size:12px;max-width:740px;margin:15px 0 0}.button{display:inline-block;text-decoration:none;border:1px solid var(--line);background:var(--surface);color:var(--text);padding:10px 14px;white-space:nowrap}.text-button{border:0;background:transparent;padding:8px;color:var(--muted);text-decoration:underline;text-underline-offset:4px}.summary{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--line);margin-bottom:30px}.summary>div{padding:20px;border-right:1px solid var(--line)}.summary>div:last-child{border:0}.summary span,.summary small{display:block;color:var(--muted);font-size:9px}.summary strong{display:block;font:32px/1.3 var(--font-body);margin:9px 0}.research-tabs{display:flex;gap:30px;border-bottom:1px solid var(--line);margin-bottom:28px;overflow:auto}.research-tabs button{border:0;background:none;padding:12px 0 17px;border-bottom:3px solid transparent;white-space:nowrap}.research-tabs button[aria-current]{border-color:var(--yellow);color:var(--yellow)}.research-tabs small{font-size:8px;color:var(--muted);margin-left:10px}.controls{display:grid;grid-template-columns:2fr 1.2fr 1.4fr 1.2fr;gap:16px;margin-bottom:16px}label{display:block;font-size:9px;color:var(--muted)}input,select{display:block;width:100%;padding:10px;margin-top:7px;min-height:40px}input::placeholder{color:#899486}.advanced{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:16px;background:var(--surface);border:1px solid var(--line)}.advanced label{min-width:140px;flex:1}.advanced input{width:100%}.advanced button{min-height:40px}.table-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:20px 0 12px}.table-toolbar p{margin:0;color:var(--muted);font-size:10px}.table-toolbar>div{display:flex;gap:15px;align-items:center}.legend{font-size:9px;color:var(--muted);margin:12px 0 16px;max-width:1050px}.legend:before{content:'';display:inline-block;height:9px;width:75px;background:linear-gradient(90deg,#18231b,#3c7769);margin-right:12px;vertical-align:middle}.table-scroll{max-height:72vh;overflow:auto;border:1px solid var(--line);position:relative;scrollbar-color:#67715c var(--bg)}table{border-collapse:separate;border-spacing:0;width:100%;font-size:11px}#market-table{min-width:1320px;table-layout:fixed}th,td{padding:12px 11px;border-right:1px solid #27352b;border-bottom:1px solid #2b372d;text-align:right;vertical-align:middle}th{font-size:9px;font-weight:400;background:#202a20;white-space:normal;height:57px}thead{position:sticky;top:0;z-index:5}th button{border:0;background:none;padding:0;width:100%;text-align:inherit;color:inherit;min-height:30px}th[aria-sort]:not([aria-sort=none]){color:var(--yellow)}th:first-child,td:first-child{text-align:left;width:280px;position:sticky;left:0;background:var(--bg);z-index:2;border-right:1px solid #42513f}thead th:first-child{z-index:6;background:#202a20}td{font-variant-numeric:tabular-nums}td small{display:block;font-size:8px;color:var(--muted);margin-top:4px}td .market-name{border:0;background:none;padding:0;text-align:left;color:var(--text);font-size:11px;line-height:1.5}td .market-name:hover{text-decoration:underline;text-underline-offset:4px}.family-row td{background:#253025;font-size:11px;border-bottom:1px solid #516048;font-weight:500}.family-row td:first-child{background:#253025}.family-row button{border:0;background:none;text-align:left;padding:0;color:var(--text);width:100%}.category-row td:first-child{padding-left:26px}.evidence-cell{width:93px}.badge{display:inline-block;border:1px solid #56634d;padding:2px 6px;font-size:9px;color:#d7ddbd;white-space:nowrap}.total-row td{background:#323b27!important;font-weight:500;border-bottom:1px solid #77815b}.total-row td:first-child{background:#323b27!important}#total{position:sticky;top:57px;z-index:4}.footnote{font-size:10px;color:var(--muted);line-height:1.8;margin-top:14px}.library-intro{max-width:900px}.library-intro p,.method-grid p,.files-heading p{font-size:11px;color:var(--muted);line-height:1.9}.library-controls{display:grid;grid-template-columns:2.3fr 1.4fr auto auto;align-items:end;gap:16px;margin:25px 0 15px}.library-scroll td{max-width:450px;min-width:160px;white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;vertical-align:top;font-size:10px}.library-scroll th{text-align:left;min-width:160px}.library-scroll th:first-child,.library-scroll td:first-child{width:95px;min-width:95px;max-width:95px}.library-scroll a{color:#d6dfac}.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}.method-grid article{border:1px solid var(--line);padding:28px}.method-grid h2{font-size:34px}.method-grid dl{font-size:11px}.method-grid dt{margin-top:15px;color:var(--yellow)}.method-grid dd{margin:6px 0 0;color:var(--muted)}.files-heading{margin:40px 0 20px}.file-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.file-list a{border:1px solid var(--line);padding:16px;text-decoration:none;font-size:11px}.file-list a:hover{border-color:var(--yellow)}.file-list small{display:block;color:var(--muted);margin-top:6px}.context-select{max-width:700px;margin:35px 0 20px}.document{font:11px/1.9 var(--font-body);white-space:pre-wrap;overflow-wrap:anywhere;padding:25px;border:1px solid var(--line);max-height:700px;overflow:auto}footer{padding:25px 32px;border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:9px;color:var(--muted)}dialog{background:var(--bg);color:var(--text);border:1px solid #647353;width:min(1000px,calc(100% - 32px));max-height:90dvh;padding:26px}dialog::backdrop{background:#000b}.dialog-top{display:flex;justify-content:space-between;align-items:center;gap:20px;position:sticky;top:-26px;background:var(--bg);padding:10px 0;z-index:2}dialog h2{font-size:48px}dialog p{color:var(--muted);font-size:11px}dialog .detail-metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);margin:20px 0}dialog .detail-metrics div{padding:15px;border-right:1px solid var(--line)}dialog .detail-metrics strong{display:block;font-size:18px}dialog .detail-metrics small{font-size:9px;color:var(--muted)}.source-card{border:1px solid var(--line);padding:18px;margin-top:12px;overflow-wrap:anywhere}.source-card p{margin:8px 0}.source-card a{color:var(--yellow)}.fields{display:grid;grid-template-columns:200px 1fr;font-size:11px}.fields dt,.fields dd{border-bottom:1px solid var(--line);padding:10px 0;margin:0;overflow-wrap:anywhere}.fields dt{color:var(--muted);padding-right:15px}details summary{cursor:pointer;padding:12px 0;color:var(--yellow);font-size:11px}details pre{font:10px/1.8 var(--font-body);white-space:pre-wrap;overflow-wrap:anywhere}.skip{position:absolute;left:20px;top:-100px;background:var(--bg);padding:15px;z-index:100}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}.empty{padding:40px;text-align:center}body:has(dialog[open]){overflow:hidden}@media(max-width:1250px){.header{flex-wrap:wrap;gap:15px;padding:14px 24px}.site-nav{order:3;flex-basis:100%;height:40px}.preview-badge{margin-left:auto}.summary strong{font-size:31px}.controls{grid-template-columns:repeat(2,1fr)}.library-controls{grid-template-columns:1fr 1fr}}@media(max-width:700px){main{padding:28px 16px 45px}.header{padding:15px 16px}.site-nav{gap:19px}.page-heading{display:block}h1{font-size:47px}.page-heading .button{margin-top:20px}.intro{font-size:11px}.summary{grid-template-columns:repeat(2,1fr)}.summary>div{border-bottom:1px solid var(--line);padding:16px}.summary>div:last-child{grid-column:1/-1}.summary>div:nth-child(2n){border-right:0}.summary strong{font-size:33px}.research-tabs{gap:24px}.research-tabs small{display:none}.controls{gap:12px}.controls label:first-child{grid-column:1/-1}.advanced{padding:12px}.advanced label{min-width:125px}.advanced button{font-size:10px}.table-toolbar{align-items:start;flex-direction:column;gap:12px}.table-toolbar>div{width:100%;justify-content:space-between}.method-grid{grid-template-columns:1fr;gap:20px}.method-grid article{padding:20px}.file-list{grid-template-columns:1fr}.library-controls{gap:12px}.library-controls label{grid-column:1/-1}.fields{grid-template-columns:125px 1fr}dialog{padding:18px}dialog h2{font-size:38px}dialog .detail-metrics{grid-template-columns:1fr 1fr}footer{padding:20px 16px;gap:15px;flex-wrap:wrap}.table-scroll{max-height:70vh}.summary small{font-size:8px}.library-intro h2{font-size:30px}}

/* Keep the working table visible on the first screen. */
@media(min-width:701px){.header{min-height:76px;padding-top:10px;padding-bottom:10px}main{padding-top:24px}.page-heading{margin-bottom:20px}h1{font-size:50px}.intro{margin-top:10px;font-size:11px}.summary{margin-bottom:16px}.summary>div{padding:13px 18px}.summary strong{font-size:31px;margin:5px 0}.research-tabs{margin-bottom:16px}.research-tabs button{padding-top:8px;padding-bottom:12px}.controls{margin-bottom:12px}.advanced{padding:10px 12px}.table-toolbar{margin-top:14px;margin-bottom:8px}.legend{margin:8px 0 12px}}

.cell-content{max-height:200px;overflow:auto;padding-right:6px}
/* Domain views share taxonomy and retain evidence scope. */
.linked-controls{padding:18px;background:var(--surface);border:1px solid var(--line);margin:0 0 25px}.linked-controls .controls{margin:0;align-items:end}.linked-controls .footnote{margin-bottom:0}.section-intro{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:18px}.section-intro h2{margin:6px 0;font-size:42px}.view-fact{font-size:10px;color:var(--muted);max-width:410px;text-align:right}.scope-notice{border-left:3px solid #9b9e6c;background:#222b1d;padding:16px 20px;font-size:11px;line-height:1.8;color:#c7cfb7;margin:18px 0 22px}.entity-controls{display:flex;gap:16px;align-items:end;flex-wrap:wrap}.entity-controls label{min-width:240px;flex:1}.entity-controls>div{display:flex;gap:16px;flex:2}.entity-table{min-width:1600px;width:100%}.entity-table th,.entity-table td{text-align:left;min-width:180px;max-width:400px;vertical-align:top}.entity-table th:first-child,.entity-table td:first-child{min-width:260px;max-width:260px;width:260px}.entity-table th{vertical-align:middle}.entity-table td{padding:15px 13px;line-height:1.75}.table-copy{max-height:210px;overflow:auto;padding-right:5px;white-space:normal;overflow-wrap:anywhere}.entity-table .table-copy>small,.entity-table td small{display:block;color:var(--muted);font-size:9px;line-height:1.6}.entity-link{display:block;background:none;border:0;padding:0;text-align:left;font-size:11px;line-height:1.7;color:var(--text);text-decoration:underline;text-underline-offset:4px}.entity-link small{display:block;margin-top:4px;color:var(--muted);font-size:9px;text-decoration:none}.entity-list{display:grid;gap:10px;margin:10px 0}.entity-list .entity-link{padding:7px 0}.status-badge{display:inline-block;border:1px solid #786c47;color:#dcd1ab;background:#34301d;padding:4px 8px;font-size:9px;line-height:1.7}.status-badge.direct{border-color:#54745a;background:#213526;color:#c6ddc4}.status-badge.shared{border-color:#4f6b72;background:#203137;color:#c7dce0}.status-badge.digital{background:#29272f;border-color:#665c74;color:#c5bbd3}.capability{display:block;color:#d0d6c9;font-size:10px}.capability.yes{color:#b0d5b5;border-left:3px solid #69966e;padding-left:9px}.capability.unverified{color:#b0b7a7}.result-with-basis small{display:block;margin-top:10px}.detail-context{display:flex;gap:15px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--muted)}.related-metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);margin:24px 0}.related-metrics>div{padding:15px;border-right:1px solid var(--line)}.related-metrics>div:last-child{border:0}.related-metrics strong{display:block;font:29px var(--font-body);margin-bottom:5px}.related-metrics span{font-size:9px;color:var(--muted)}.market-linked{border:1px solid #546043;padding:16px;margin:24px 0}.market-linked h3{margin:0 0 10px}.category-research-card{display:block;width:100%;padding:13px;text-align:left;margin-top:10px;background:#1d281d}.category-research-card strong{display:block;margin-bottom:9px;font-size:11px}.category-research-card strong small{font-size:9px;color:var(--muted);margin-left:8px}.category-research-card>span:last-child{display:block;font-size:9px;color:var(--muted);margin-top:10px}.category-chips{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 25px}.category-chip{font-size:10px;padding:8px 10px;text-align:left}.category-chip small{display:block;font-size:8px;color:var(--muted)}.research-record{border-top:1px solid var(--line);margin-top:12px}.research-record summary{line-height:1.8}.study-link{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);padding:13px;gap:18px;margin:10px 0}.study-link strong{font-size:11px;font-weight:400}.study-link small{display:block;color:var(--muted);font-size:9px;margin-top:7px;line-height:1.8}.study-link .button{font-size:10px}.study-button{display:block;width:100%;text-align:left;border:1px solid var(--line);padding:12px 14px;margin:8px 0;font-size:10px;line-height:1.8}.study-button small{display:block;color:var(--muted);font-size:9px;margin-top:5px}#research-map{max-height:440px;overflow:auto;padding-right:12px}#research-map>p{font-size:11px;color:var(--muted);margin-bottom:18px}.linked-scroll{max-height:70vh}.library-controls{grid-template-columns:2fr 1.2fr auto auto auto}
@media(max-width:900px){.library-controls{grid-template-columns:1fr 1fr}.library-controls label{grid-column:1/-1}.view-fact{text-align:left}.section-intro{display:block}.entity-controls>div{flex-wrap:wrap}.entity-controls label{min-width:180px}.linked-controls .controls{grid-template-columns:1fr 1fr}.linked-controls label:first-child{grid-column:1/-1}}
@media(max-width:600px){.linked-controls{padding:13px}.section-intro h2{font-size:34px}.scope-notice{padding:13px 15px;font-size:10px}.entity-controls{display:grid;grid-template-columns:1fr}.entity-controls>div{display:grid;grid-template-columns:1fr}.entity-controls label{min-width:0}.related-metrics{grid-template-columns:1fr 1fr}.related-metrics>div{border-bottom:1px solid var(--line)}.related-metrics>div:last-child{border-bottom:1px solid var(--line)}.study-link{align-items:start;flex-direction:column;gap:10px}.entity-table th:first-child,.entity-table td:first-child{min-width:215px;max-width:215px;width:215px}}
#storage>.section-intro,#providers>.section-intro,#gaps>.section-intro{display:none}#focus-research{margin-left:auto;color:var(--muted);font-size:10px}.entity-table .table-copy{max-height:125px}.linked-controls{padding:12px 16px;margin-bottom:18px}.scope-notice{font-size:10px;padding:12px 16px;line-height:1.7;margin-top:14px;margin-bottom:17px}.table-focus .page-heading,.table-focus #summary,.table-focus #linked-controls,.table-focus .controls,.table-focus .advanced,.table-focus .scope-notice,.table-focus .entity-controls,.table-focus .section-intro,.table-focus .legend,.table-focus .footnote,.table-focus .library-intro,.table-focus .library-controls{display:none!important}.table-focus main{padding-top:14px}.table-focus .table-scroll{max-height:calc(100dvh - 220px)}.planning-section{margin:20px 0;border:1px solid var(--line);padding:8px 16px}.planning-section p{font-size:11px;color:var(--muted)}
.record-links-count{display:block;font-size:9px;line-height:1.7;color:var(--muted);margin-bottom:7px}.compact-chips{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.compact-chips .category-chip{font-size:9px;padding:6px 8px}
.collection-tabs{display:flex;gap:10px;border-bottom:1px solid var(--line);margin:0 0 10px;padding-bottom:10px}.collection-tabs button{min-width:0;flex:0 1 245px;padding:11px 18px;text-align:left;background:transparent;border:1px solid var(--line);font-size:12px}.collection-tabs button[aria-selected=true]{border-color:var(--yellow);background:#2a311c;color:var(--yellow)}.collection-tabs small{font-size:9px;display:block;color:var(--muted);margin-top:4px}.collection-scope-note{font-size:10px;color:var(--muted);margin:8px 0 10px;line-height:1.8}.selection-definition{margin:0 0 20px;border-bottom:1px solid var(--line);padding-bottom:10px}.selection-definition summary{font-size:10px;color:var(--muted);padding:5px 0;cursor:pointer}.selection-definition>p{font-size:10px;max-width:1100px;color:var(--muted);line-height:1.9}#selection-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px 0}#selection-groups article{padding:13px;border:1px solid var(--line)}#selection-groups strong{display:block;font-size:11px;font-weight:400}#selection-groups strong small{color:var(--yellow);margin-left:8px;font-size:9px}#selection-groups span{display:block;margin-top:8px;color:var(--muted);font-size:10px;line-height:1.9}.table-focus .selection-definition,.table-focus .collection-scope-note{display:none!important}.table-focus .table-scroll{max-height:calc(100dvh - 285px)}@media(max-width:700px){.collection-tabs{gap:8px}.collection-tabs button{min-width:0;flex:1;padding:10px 12px;font-size:11px}.collection-tabs small{font-size:8px}#selection-groups{grid-template-columns:1fr}.collection-scope-note{font-size:9px}}

/* Match the existing WagiesDB typography hierarchy. */
body{-webkit-font-smoothing:antialiased}
.intro,.legend,.footnote,.library-intro p,.method-grid p,.files-heading p,
.entity-table td,.entity-link,.market-name,.fields,.source-card p,
.method-grid dl,.detail-context,.scope-notice,.study-link,.study-button,
#selection-groups,.selection-definition>p,.collection-scope-note,
#research-map>p,.planning-section p{font-family:var(--font-text)}
th,.summary>div>span,.related-metrics span{font-family:var(--font-text)}
nav,nav a,nav button,select,option,input,.button,.text-button,
.collection-tabs button,.research-tabs button,.category-chip,
.summary strong,.summary small,.related-metrics strong,
#market-table td:not(:first-child),.badge,.status-badge,
.table-toolbar p,.eyebrow,.preview-badge{font-family:var(--font-body)}
.header .site-nav,.header .site-nav a{font-family:var(--font-body);font-size:14px}
input,select{font-size:13px}
table{font-size:12px}th{font-size:11px}
#market-table .market-name,.entity-link{font-size:12px}
.summary strong,.related-metrics strong{font-weight:400}
@media(max-width:700px){.header .site-nav a{font-size:12px}.research-tabs button{font-size:12px}input,select{font-size:12px}}

#market-table .single-category-row td:first-child{padding-left:11px}

/* Selected research tables use the page's vertical scroll, even in focus mode. */
body[data-collection="selected"] #research-content .table-scroll,body[data-collection="red"] #research-content .table-scroll{max-height:none;overflow-x:auto}

.color-legend{border:1px solid var(--line);padding:22px;margin-top:20px;background:var(--bg)}
.color-legend h3{font-size:26px;margin:0 0 18px}
.color-legend p{font:12px/1.7 var(--font-body);color:var(--muted);max-width:1100px;margin:14px 0 0}
.legend-ramps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.legend-ramps strong{display:block;font:12px/1.5 var(--font-text);margin-bottom:9px}
.legend-gradient{display:block;height:19px;border:1px solid var(--line)}
.legend-ends{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:5px}
.bivariate-legend{display:flex;align-items:center;gap:16px;font-size:12px}
.legend-y{max-width:170px;text-align:right;color:var(--muted)}
.legend-matrix{display:grid;grid-template-columns:repeat(3,38px);gap:2px}
.legend-matrix span{height:30px}.legend-x{margin-top:7px;color:var(--muted)}
@media(max-width:700px){.color-legend{padding:16px}.legend-ramps{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.legend-ramps strong{min-height:36px}}

.storage-share-cell{width:125px}.storage-share-link{border:0;background:transparent;padding:0;color:var(--text);font:inherit;text-align:right;white-space:nowrap}.storage-share-link:hover{text-decoration:underline;text-underline-offset:4px}.storage-share-link small{font:10px/1.6 var(--font-body)}

#market-table .family-row .storage-share-link{width:auto;text-align:right}

/* Every top-level family shares one treatment; only multi-market families disclose children. */
#market-table .group-row td{background-color:#253025;border-bottom:1px solid #516048;font-size:12px;font-weight:400}
#market-table .group-row td:first-child{background:#253025;padding:12px 11px}
#market-table .group-name{display:flex;align-items:baseline;gap:5px;width:100%;border:0;background:none;padding:0;text-align:left;color:var(--text);font:12px/1.5 var(--font-text)}
#market-table .group-arrow{flex:0 0 10px;font-family:var(--font-body)}
#market-table .group-name small{font:9px/1.6 var(--font-body);margin-top:4px}
#market-table .group-row .storage-share-link{width:auto;text-align:right;font-family:var(--font-body)}

#market-table{min-width:1730px}

/* Wagies family colors apply to the first column only. */
#market-table td[data-family-tone="blue"]{--family-label-color:#86b9de}
#market-table td[data-family-tone="pink"]{--family-label-color:#f1a0cd}
#market-table td[data-family-tone="yellow"]{--family-label-color:#fec208}
#market-table td[data-family-tone="red"]{--family-label-color:#d80202}
#market-table td[data-family-tone] .group-name,#market-table td[data-family-tone] .market-name{color:var(--family-label-color,var(--text));font-weight:700;font-synthesis:weight}
#market-table .group-name small{color:var(--muted);font-weight:400;font-synthesis:none}

#market-table th:first-child,#market-table td:first-child,#market-table [data-metric="valuation"],#market-table [data-metric="averageItemValue"],#market-table [data-metric="onlineVenuesText"],#market-table [data-metric="ratio"]{border-right:1.5px solid #fff}

.family-table-toolbar{display:flex;align-items:center;min-height:36px;margin:0 0 6px;padding-left:11px}.family-table-toolbar .text-button{padding:6px 0;text-align:left}

body[data-collection="red"] #market-table th[data-metric="name"] button{color:#d80202;font-weight:700;font-synthesis:weight}
body[data-collection="red"] #market-table td[data-family-tone] .group-name,body[data-collection="red"] #market-table td[data-family-tone] .market-name{color:#fff;font-weight:700;font-synthesis:weight}

/* Online volume, share and researched venues share one white-bordered section. */
#market-table th[data-metric="onlineVenuesText"],#market-table td.venues-cell{width:290px;text-align:left;white-space:normal}
#market-table .venues-cell{font-size:11px;line-height:1.8;vertical-align:top}
.venue-names{overflow-wrap:anywhere}.venue-names a{color:inherit;text-decoration:none;white-space:nowrap}.venue-names a:hover{text-decoration:underline;text-underline-offset:3px}
#market-table .venue-sources{display:block;width:auto;border:0;background:none;padding:4px 0 0;color:var(--muted);font:10px var(--font-body);text-align:left}
#market-table .venue-sources:hover{color:var(--yellow)}.venues-gap{color:var(--muted)}

/* GEN Z keeps Family and Main graders together inside the first white section. */
body[data-collection="red"] #market-table{min-width:1750px}
body[data-collection="red"] #market-table th:first-child,body[data-collection="red"] #market-table td:first-child{border-right:1px solid #27352b}
#market-table [data-metric="mainGradersText"]{border-right:1.5px solid #fff;width:90px;text-align:left}
#market-table td.graders-cell{font-size:10px;line-height:1.5;vertical-align:middle}
#market-table th[data-metric="mainGradersText"]{font-size:10px}

body[data-collection="red"] #market-table th:first-child,body[data-collection="red"] #market-table td:first-child{width:130px}

/* Curated research tables: scoped so the original market matrix retains its layout. */
#genz-findings{margin-top:42px;padding-top:26px;border-top:1px solid var(--line)}
.findings-heading,.findings-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.findings-heading h2{font-size:32px}.findings-provenance{display:flex;align-items:flex-end;flex-direction:column;gap:5px;font-size:10px;color:var(--muted)}.findings-provenance a{color:var(--text)}
.findings-nav{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0 16px}.findings-nav button{border:1px solid var(--line);padding:8px 11px;background:none;color:var(--text);font-size:11px}.findings-nav button:hover{background:#303c2b;color:var(--yellow)}
.findings-controls{display:grid;grid-template-columns:220px minmax(220px,1fr) auto;gap:14px;align-items:end;margin-bottom:28px}.findings-controls label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:var(--muted)}.findings-controls select,.findings-controls input{width:100%;min-height:38px;background:#1c261d;border:1px solid var(--line);padding:8px 10px;color:var(--text)}.findings-controls button,.findings-section button,.findings-loading button{border:1px solid var(--line);background:none;padding:8px 11px;color:var(--text);font-size:10px;min-height:34px}.findings-controls button:hover,.findings-section button:hover:not(:disabled){color:var(--yellow);border-color:var(--yellow)}
.findings-section{margin-top:32px;scroll-margin-top:18px}.findings-section-heading{margin-bottom:10px}.findings-section-heading h3{font-size:25px}.findings-section-heading>div{display:flex;align-items:center;gap:12px;font-size:10px;color:var(--muted)}
.findings-scroll{overflow:auto;border:1px solid var(--line);background:var(--bg)}#genz-findings table{min-width:1060px;width:100%;table-layout:fixed;font-size:11px}#genz-findings thead{position:static}#genz-findings th,#genz-findings td{position:static;text-align:left;vertical-align:top;padding:13px 12px;line-height:1.65;background:transparent;font-weight:400;overflow-wrap:anywhere}#genz-findings thead th{height:auto;background:#202a20;color:var(--muted);font-size:10px}#genz-findings th:first-child,#genz-findings td:first-child{width:100px;max-width:none;position:static;border-right:1px solid var(--line);background:transparent}#genz-findings .findings-name-col{width:190px}#genz-findings .findings-source-col{width:160px}#genz-findings [data-finding-field="price"]{width:170px}#genz-findings [data-finding-field="basis"]{width:220px}#genz-findings [data-finding-field="access"]{width:145px}#genz-findings [data-findings-table="tools"]{min-width:1280px}#genz-findings [data-findings-table="tools"] [data-finding-field="task"]{width:27%}#genz-findings [data-findings-table="tools"] [data-finding-field="basis"]{width:auto}#genz-findings .findings-family,#genz-findings .findings-name{font-weight:700;font-synthesis:weight}#genz-findings .findings-name{color:var(--text);text-decoration:none}#genz-findings .findings-name:hover{text-decoration:underline}#genz-findings .findings-sources a{display:block;font-size:10px;color:var(--muted);margin-bottom:4px;text-underline-offset:3px}#genz-findings .findings-sources a:hover{color:var(--yellow)}#genz-findings tbody tr:hover{background:#202c23}.findings-empty{color:var(--muted)}
.findings-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:9px;font-size:10px;color:var(--muted)}.findings-loading{padding:24px 0;color:var(--muted)}
@media(max-width:700px){.findings-heading{align-items:flex-start;flex-direction:column}.findings-provenance{align-items:flex-start}.findings-controls{grid-template-columns:1fr auto}.findings-controls label:first-child{grid-column:1/-1}.findings-section-heading{align-items:flex-start;flex-direction:column;gap:8px}.findings-heading h2{font-size:27px}.findings-section-heading h3{font-size:22px}.findings-nav button{font-size:10px;padding:7px 9px}.findings-pagination{justify-content:space-between;gap:7px}#genz-findings{margin-top:28px}}
/* The hardware registry shares its counts with the Collectibles category card. */
.game-family-platform-counts{display:block;margin-top:5px}
#market-table .game-family-platform-counts small{display:block;font-size:9px;line-height:1.55;white-space:nowrap;color:var(--muted);font-weight:400}
.game-platforms{margin-top:48px;padding-top:24px;border-top:1px solid var(--line,#394033)}
.game-platforms h2{margin:5px 0;font-size:25px}
.table-focus .game-platforms .section-intro{display:flex!important}
.table-focus .game-platforms .footnote{display:block!important}
.platform-scope{color:var(--muted);font-size:12px;max-width:900px;line-height:1.65}
.platform-controls{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin:20px 0}
.platform-controls label{display:grid;gap:7px;font-size:10px;color:var(--muted)}
.platform-controls label:first-child{flex:1;min-width:200px}
.platform-controls input,.platform-controls select{background:var(--panel,#1b2018);border:1px solid var(--line,#394033);color:var(--ink,#f0f1e9);padding:11px 12px;font:inherit;min-height:40px}
[data-platform-status]{font-size:11px;color:var(--muted)}
.platform-scroll{max-height:620px;overflow:auto}
.platform-table{min-width:1000px;width:100%;border-collapse:collapse;font-size:11px}
.platform-table thead th{position:sticky;top:0;z-index:2;background:#1c231a}
.platform-table th,.platform-table td{padding:13px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line,#394033)}
.platform-table tbody th{font-size:14px;line-height:1.4;font-weight:700;font-synthesis:weight;min-width:175px}
.platform-table small{display:block;max-width:235px;margin-top:5px;font-size:9px;line-height:1.5;color:var(--muted);font-weight:400}
.platform-table td>div{margin-bottom:5px}
.platform-table a{color:var(--ink,#f0f1e9);text-decoration:underline;text-decoration-color:#68775a;text-underline-offset:3px}
.platform-table details{max-width:240px}
.platform-table details div,.platform-table details p{margin-top:7px;overflow-wrap:anywhere}
.platform-table summary{cursor:pointer;white-space:nowrap;padding:0}
.platform-unverified{color:var(--muted)}
.platform-exclusions{margin-top:14px;font-size:11px;color:var(--muted);line-height:1.7}
@media(max-width:700px){.platform-controls{gap:10px}.platform-controls label:first-child{flex-basis:100%}.game-platforms{margin-top:30px}.platform-scroll{max-height:520px}}

/* Initial hardware last-sale display. */
body:not([data-collection="videogames"]) #game-platforms{display:none}
#videogames-content .game-platforms{margin-top:0;padding-top:0;border-top:0}
.platform-sale-scope{font-size:12px;line-height:1.65;color:var(--ink);max-width:900px}
.platform-last-sale{margin-top:6px;padding-top:6px;border-top:1px solid var(--line,#394033);min-width:150px}
.platform-sale-label{display:block;color:var(--muted);font-size:9px;margin-bottom:2px}
.platform-table .platform-sale-price{display:block;font-size:16px;line-height:1.35;font-weight:600;white-space:nowrap}
.platform-table .platform-sale-details{margin-top:3px;max-width:230px;font-size:10px;line-height:1.55}
.platform-table .platform-sale-details summary{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;font-size:9px;color:var(--muted);white-space:normal;list-style:none}
.platform-table .platform-sale-details summary::-webkit-details-marker{display:none}
.platform-table .platform-sale-details .platform-sale-meta{margin:0;line-height:1.4;white-space:nowrap}
.platform-sale-toggle{flex:none;white-space:nowrap;text-decoration:underline;text-underline-offset:2px}
.platform-sale-toggle::before{content:'▸';display:inline-block;margin-right:3px}
.platform-sale-details[open] .platform-sale-toggle::before{content:'▾'}
.platform-table .platform-sale-details .platform-sale-body{margin-top:6px}
.platform-table tbody th,.platform-table tbody td{padding:9px 10px}
.platform-table .platform-sale-details p{font-size:10px;line-height:1.55;max-width:230px;overflow-wrap:anywhere}
.platform-sale-missing{padding-top:10px;opacity:.8}
.platform-table tfoot th,.platform-table tfoot td{border-top:1px solid var(--line);background:#1c231a}
.platform-table thead button small{margin:3px 0 0}

/* Source-labelled production, shipment and sales research. */
.platform-unit-scope{font-size:12px;line-height:1.65;color:var(--muted);max-width:950px}
.platform-table{min-width:1200px;table-layout:fixed}
.platform-table th:first-child,.platform-table td:first-child{width:160px;max-width:none}
.platform-table thead th:nth-child(2){width:170px}
.platform-table thead th:nth-child(3){width:140px}
.platform-table thead th:nth-child(4),.platform-table thead th:nth-child(5),.platform-table thead th:nth-child(6){width:200px}
.platform-table thead th:nth-child(7){width:130px}
.platform-unit-total{min-width:170px}
.platform-table .platform-unit-value{display:block;font-size:14px;line-height:1.4;font-weight:600;white-space:nowrap}
.platform-table .platform-unit-value.platform-unit-missing{font-size:10px;font-weight:400;color:var(--muted);white-space:normal}
.platform-table .platform-unit-details{margin-top:3px;font-size:10px;line-height:1.55}
.platform-table .platform-unit-details summary{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;font-size:9px;color:var(--muted);white-space:normal;list-style:none}
.platform-table .platform-unit-details summary::-webkit-details-marker{display:none}
.platform-table .platform-unit-details .platform-unit-meta{margin:0;line-height:1.4;max-width:145px}
.platform-unit-toggle{flex:none;white-space:nowrap;text-decoration:underline;text-underline-offset:2px}
.platform-unit-toggle::before{content:'▸';display:inline-block;margin-right:3px}
.platform-unit-details[open] .platform-unit-toggle::before{content:'▾'}
.platform-table .platform-unit-details .platform-unit-body{margin-top:6px;overflow-wrap:anywhere}
.platform-table .platform-unit-body p{font-size:10px;line-height:1.55;margin:6px 0}
.platform-unit-no-sum{font-size:10px;color:var(--muted)}

/* Marketplace fees: slim third column, detailed conditions on demand. */
#genz-findings [data-findings-table="marketplaces"]{min-width:1190px}#genz-findings [data-findings-table="marketplaces"] [data-finding-field="fees"]{width:160px;font-size:10px;line-height:1.5}#genz-findings [data-findings-table="marketplaces"] .findings-name-col{width:160px}.finding-fee-model{display:block;color:var(--muted);font-size:9px;margin-bottom:5px}.finding-fee-summary{display:block;white-space:pre-line;color:var(--text)}.finding-fee-details{margin-top:6px}.finding-fee-details summary{cursor:pointer;color:var(--yellow);font-size:9px}.finding-fee-details p{margin:8px 0}.finding-fee-details a{display:block;color:var(--muted);font-size:9px;margin:4px 0}.finding-fee-basis{color:var(--muted);font-size:9px}.findings-fee-note{font-size:10px;color:var(--muted);line-height:1.6;margin:0 0 10px;max-width:950px}

/* Keep the GEN Z overview on one desktop screen; reserve width for the venue names. */
body[data-collection="red"] #market-table{min-width:1120px;width:100%}
body[data-collection="red"] #market-table th,body[data-collection="red"] #market-table td{padding:10px 6px}
body[data-collection="red"] #market-table th{font-size:10px}
body[data-collection="red"] #market-table th:first-child,body[data-collection="red"] #market-table td:first-child{width:10%;padding-inline:8px}
body[data-collection="red"] #market-table [data-metric="mainGradersText"]{width:6%}
body[data-collection="red"] #market-table [data-metric="valuation"],body[data-collection="red"] #market-table [data-metric="items"],body[data-collection="red"] #market-table [data-metric="averageItemValue"],body[data-collection="red"] #market-table [data-metric="online"]{width:7%}
body[data-collection="red"] #market-table [data-metric="annual"],body[data-collection="red"] #market-table [data-metric="secondary"],body[data-collection="red"] #market-table [data-metric="secondaryShare"],body[data-collection="red"] #market-table [data-metric="onlineShare"],body[data-collection="red"] #market-table [data-metric="storageShare"],body[data-collection="red"] #market-table .storage-share-cell{width:6%}
body[data-collection="red"] #market-table [data-metric="secondary"],body[data-collection="red"] #market-table [data-metric="secondaryShare"],body[data-collection="red"] #market-table [data-metric="onlineShare"]{width:6.5%}
body[data-collection="red"] #market-table [data-metric="ratio"]{width:6%}
body[data-collection="red"] #market-table [data-metric="onlineVenuesText"]{width:18.5%}
body[data-collection="red"] #market-table td[data-metric]:not(.graders-cell):not(.venues-cell){font-size:11px;white-space:nowrap}
body[data-collection="red"] #market-table td small{white-space:normal;overflow-wrap:anywhere}
body[data-collection="red"] #market-table .venues-cell{line-height:1.65;overflow-wrap:anywhere}
body[data-collection="red"] #market-table .group-name,body[data-collection="red"] #market-table .market-name{overflow-wrap:anywhere}

/* Let the complete Video Games table use the page's vertical scroll. */
#videogames-content .platform-scroll{max-height:none;overflow-x:auto}

/* Hardware production and released-title libraries have separate denominators. */
#videogames-content .platform-table{min-width:1200px;table-layout:fixed}
#videogames-content .platform-table th:first-child,#videogames-content .platform-table td:first-child{width:160px;max-width:none}
#videogames-content .platform-table thead th:nth-child(2){width:170px}
#videogames-content .platform-table thead th:nth-child(3){width:140px}
#videogames-content .platform-table thead th:nth-child(4),#videogames-content .platform-table thead th:nth-child(5),#videogames-content .platform-table thead th:nth-child(6){width:200px}
#videogames-content .platform-table thead th:nth-child(7){width:130px}
.platform-table .platform-type{display:block;margin-top:5px;font-size:9px;line-height:1.5;font-weight:400;color:var(--muted);white-space:normal}
#videogames-content .platform-unit-total{min-width:0}
.platform-title-total{min-width:0}.platform-title-value{display:block;font-size:16px;line-height:1.35;font-weight:400;white-space:nowrap}
.platform-title-basis{font-size:9px!important;line-height:1.5}.platform-title-details{margin-top:8px;font-size:10px;line-height:1.6}
.platform-title-details summary{white-space:normal;color:var(--muted);font-size:10px}
.platform-title-details p,.platform-title-details a{overflow-wrap:anywhere}.platform-title-details ul{padding-left:14px}.platform-title-details li{margin:9px 0}
.platform-title-missing{font-size:11px;line-height:1.5;color:var(--muted);white-space:normal}
.platform-title-scope{font-size:12px;line-height:1.65;color:var(--muted);max-width:1000px}
#videogames-content .platform-table details>summary{white-space:normal;overflow-wrap:anywhere}

/* Console game-packaging research, 2026-11-15. Keep whole-page vertical scroll. */
#videogames-content .platform-table{min-width:1430px}
#videogames-content .platform-table thead th:nth-child(4){width:130px}
#videogames-content .platform-table thead th:nth-child(5){width:160px}
#videogames-content .platform-table thead th:nth-child(6),#videogames-content .platform-table thead th:nth-child(7),#videogames-content .platform-table thead th:nth-child(8){width:180px}
#videogames-content .platform-table thead th:nth-child(9){width:130px}
.platform-packaging-languages{font-size:11px;line-height:1.8;display:block;max-width:110px;overflow-wrap:anywhere}
.platform-packaging-languages abbr{text-decoration:none;border:0;cursor:help}
.platform-packaging-details{font-size:10px;line-height:1.6;margin-top:8px}
.platform-packaging-details ul{padding-left:14px}.platform-packaging-details li{margin:12px 0}
.platform-packaging-intro{font-size:12px;line-height:1.65;max-width:1100px;color:var(--muted)}
.platform-packaging-guide{border:1px solid var(--line);padding:12px 16px;margin:12px 0 20px;background:var(--panel);color:var(--ink)}
.platform-packaging-guide summary{cursor:pointer;color:var(--ink)}
.platform-packaging-guide p,.platform-packaging-guide li{max-width:950px;overflow-wrap:anywhere}
.platform-packaging-guide ul{padding-left:20px}.platform-packaging-guide li{margin:8px 0}
.platform-packaging-examples{columns:2;column-gap:30px}.platform-packaging-examples li{break-inside:avoid}
.platform-packaging-examples p{margin:5px 0 15px}.platform-packaging-guide a{text-decoration:underline}
@media(max-width:700px){.platform-packaging-examples{columns:1}.platform-controls label{max-width:100%}.platform-controls select{max-width:100%}}

/* Physical game media, 2026-11-16. Keep language evidence compact. */
.platform-packaging-languages abbr{white-space:nowrap}
.platform-media-value{display:block;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.platform-media-details{font-size:10px;line-height:1.6;margin-top:8px}
.platform-media-details ul{padding-left:14px}.platform-media-details li{margin:10px 0}
.platform-media-details p,.platform-media-details a{overflow-wrap:anywhere}
.platform-media-scope{font-size:12px;line-height:1.65;max-width:1100px;color:var(--muted)}

/* First console release year is the compact second column. */
#videogames-content .platform-table{min-width:1510px}
#videogames-content .platform-table thead th:nth-child(1){width:160px}
#videogames-content .platform-table thead th:nth-child(2){width:80px}
#videogames-content .platform-table thead th:nth-child(3){width:170px}
#videogames-content .platform-table thead th:nth-child(4){width:140px}
#videogames-content .platform-table thead th:nth-child(5){width:130px}
#videogames-content .platform-table thead th:nth-child(6){width:160px}
#videogames-content .platform-table thead th:nth-child(7){width:180px}
#videogames-content .platform-table thead th:nth-child(8){width:180px}
#videogames-content .platform-table thead th:nth-child(9){width:180px}
#videogames-content .platform-table thead th:nth-child(10){width:130px}
.platform-release-year{font-size:14px;font-weight:400;white-space:nowrap}
.platform-release-details{font-size:10px;line-height:1.6;margin-top:5px}
.platform-release-details summary{font-size:9px}.platform-release-details p{overflow-wrap:anywhere}
