/* Shared type and component roles for every public QuasiLeak-Bench page. */
@font-face{font-family:"IBM Plex Sans";src:url("fonts/ibm-plex-sans.woff2") format("woff2");font-style:normal;font-weight:100 700;font-display:swap}
html .qlb-research{
 --lb-font:"IBM Plex Sans",system-ui,sans-serif;
 --type-title:30px;--type-section:23px;--type-heading:23px;--type-emphasis:18px;
 --type-body:16px;--type-control:16px;--type-small:14px;--type-caption:14px;--type-badge:14px;--type-stat:40px;
 --space-xs:8px;--space-sm:12px;--space-md:16px;--space-lg:24px;--space-xl:32px;
 --control-height:44px;--control-radius:10px;--control-padding:16px;--control-gap:12px;--control-row-gap:16px;
 --card-radius:12px;--lb-ink:#20242B;--lb-muted:#475569;--on-accent:#fff;--status-positive:#286963;--status-prohibited:#923C54;
 font:400 var(--type-body)/1.65 var(--lb-font);color:var(--lb-ink);font-synthesis:none;letter-spacing:normal;
}
html[data-research-theme=dark] .qlb-research{--lb-ink:#F2EEE4;--lb-muted:#BAC5CE;--on-accent:#17252D;--status-positive:#9DD4CE;--status-prohibited:#E4A7BA}
html .qlb-research :is(button,input,select,textarea){font-family:var(--lb-font);font-size:var(--type-control);font-weight:500;line-height:1.3}
html .qlb-research :is(h1,h2,h3,h4){font-family:var(--lb-font);font-weight:600;line-height:1.25;letter-spacing:normal;text-transform:none;color:var(--lb-ink)}
html .qlb-research h1{font-size:var(--type-title)}
html .qlb-research h2{font-size:var(--type-section)}
html .qlb-research :is(h3,h4){font-size:var(--type-emphasis)}
html .qlb-research strong{font-weight:600}
html .qlb-research main :is(p,dd,li){font-size:var(--type-body);line-height:1.65;color:var(--lb-ink)}
html .qlb-research main :is(.small-copy,.input-subtitle,.input-explanation p,.flow-caption,.caption,.code-caption,.release-note,.legendline,.mini-tag,.comparison-context,.source-badge){font-size:var(--type-small);line-height:1.6;color:var(--lb-muted)}
html .qlb-research main :is(label,dt,.tiny-label,.status-label,.policy-label,.column-option,.filter-field,.system-meta,.configuration-label,.configuration-heading>span,.hash-code){font-size:var(--type-small);line-height:1.5;color:var(--lb-muted)}
html .qlb-research :is(.text-link,.text-button){font-size:var(--type-small);font-weight:500}
html .qlb-research :is(table,.definition-list,.factor-values,.atlas-stats){font-variant-numeric:tabular-nums}
html .qlb-research table{font-size:var(--type-body);line-height:1.5}
html .qlb-research th{font-size:var(--type-small);font-weight:500}
html .qlb-research td{font-size:var(--type-body);font-weight:400}
html .qlb-research :is(pre,code){font-family:Consolas,"Liberation Mono",monospace;font-size:var(--type-small);line-height:1.65}
html .qlb-research .math{font:400 20px/1.8 "Cambria Math","STIX Two Math",serif}
html .qlb-research .math.small{font-size:18px}
html .qlb-research .short-equation{font:400 var(--type-body)/1.65 "Cambria Math","STIX Two Math",serif}
html .qlb-research :is(.local-tag,.attribute-chip,.filter-chip,.pending-resource small,.dataset-status>span){font-size:var(--type-small);font-weight:500;line-height:1.4;letter-spacing:normal}
html .qlb-research :is(.local-marker-tooltip,.popover-heading button,.columns-popover .small-copy,.pagination,#result-count){font-size:var(--type-small)}

/* Controls share one shape and text treatment; inline evidence and text links remain inline. */
html .qlb-research :is(.button,.toolbar-button,.benchmark-tabs button,.explore-tabs button,.segmented button,select,.search-field){
 display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;
 height:var(--control-height);min-height:var(--control-height);max-height:var(--control-height);
 border:1px solid var(--control-border);border-radius:var(--control-radius);padding:0 var(--control-padding);
 font:500 var(--type-control)/1.3 var(--lb-font);color:var(--lb-ink);background:var(--lb-surface);box-shadow:none;
}
html .qlb-research :is(.button,.toolbar-button,.benchmark-tabs button,.explore-tabs button,.segmented button,select):hover:not(:disabled){background-color:var(--control-hover);border-color:var(--lb-accent)}
html .qlb-research :is(.button.primary,.benchmark-tabs button.active,.segmented button.active){background:var(--lb-accent);border-color:var(--lb-accent);color:var(--on-accent)}
html .qlb-research :is(.button.primary,.benchmark-tabs button.active,.segmented button.active):hover:not(:disabled){background:color-mix(in srgb,var(--lb-accent) 86%,#20242B);color:var(--on-accent)}
html .qlb-research select:not([multiple]){appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234F7689' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:16px;background-position:right 12px center;cursor:pointer}
html[data-research-theme=dark] .qlb-research select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%239CB1BB' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E")}
html .qlb-research :is(input,textarea){color:var(--lb-ink)}
html .qlb-research :is(input,textarea)::placeholder{color:var(--lb-muted);opacity:1}
html .qlb-research :is(.control-popover,dialog,.document-card,.research-card,.corpus-inputs>section,.corpus-sidebar>section,.policy-demo,.factor-demo,.submission-checklist article){border-radius:var(--card-radius);box-shadow:none}
html .qlb-research .control-popover{font-size:var(--type-body)}
html .qlb-research .popover-heading h3{font-size:var(--type-emphasis)}
html .qlb-research :is(.search-icon,.control-chevron){width:16px;height:16px;flex:0 0 16px}

/* Navigation, section rhythm, and concise research footer. */
html .qlb-research .site-header .wordmark{font-size:26px;font-weight:600}
html .qlb-research .site-header .primary-nav a{font-size:var(--type-control);font-weight:500;line-height:1.4}
html .qlb-research .site-header .primary-nav a,html .qlb-research .site-header .primary-nav a.active{color:#fff}
html .qlb-research .site-header :is(.theme-toggle,.nav-toggle){width:44px;height:44px;min-width:44px;min-height:44px;flex-basis:44px}
html .qlb-research :is(.page-heading,.docs-heading){padding-top:32px;padding-bottom:24px}
html .qlb-research .page-heading h1{margin:0 0 12px}
html .qlb-research .leaderboard-heading h2{font-size:var(--type-title)}
html .qlb-research .leaderboard-subtitle{font-size:var(--type-small);line-height:1.6;color:var(--lb-muted)}
html .qlb-research .overview-section .abstract-copy h1{font-size:40px;line-height:1.18}
html .qlb-research .overview-section .stats-strip strong{font-size:var(--type-stat);font-weight:600;line-height:1.15}
html .qlb-research .overview-section .stats-strip span{font-size:var(--type-body);color:var(--lb-muted)}
html .qlb-research .footer-project .footer-brand{font-size:var(--type-emphasis);font-weight:600}
html .qlb-research .site-footer :is(p,a,span,summary,h2){font-size:var(--type-small);line-height:1.6;letter-spacing:normal}
html .qlb-research .site-footer p{color:var(--lb-muted)}
html .qlb-research .footer-column h2{font-weight:600}

/* The ranking stays compact while using the same reading roles. */
html .qlb-research .results-table :is(.system-name,.score-cell){font-size:var(--type-body)}
html .qlb-research .results-table .system-name{font-weight:500;color:var(--lb-ink)}
html .qlb-research .results-table .score-cell{font-weight:600}
html .qlb-research .results-table :is(.size-column,.deployment-column){font-size:var(--type-body)}
html .qlb-research .results-table th:is(.size-column,.deployment-column){font-size:var(--type-small)}
html .qlb-research .configuration-heading h3{font-size:var(--type-emphasis)}
html .qlb-research .configuration-item{font-size:var(--type-small)}
html .qlb-research .run-summary strong{font-size:var(--type-section)}
html .qlb-research .atlas-stats strong{font-size:var(--type-section)}

/* Explore: organized inputs, compact policies, and one plain sequence of steps. */
html .qlb-research .corpus-inputs{align-items:start;gap:24px}
html .qlb-research .corpus-inputs>section{padding:20px;border-radius:var(--card-radius);box-shadow:none}
html .qlb-research .profile-card-heading{align-items:center;gap:12px;margin-bottom:16px}
html .qlb-research .profile-card-heading h2{font-size:var(--type-emphasis)}
html .qlb-research .profile-card-heading .status-label{border:0;border-radius:0;padding:0;background:transparent;color:var(--lb-muted)}
html .qlb-research .corpus-context-card h3{font-size:var(--type-emphasis);margin:0 0 12px}
html .qlb-research .corpus-context-card p{margin:0}
html .qlb-research .profile-clusters{gap:20px}
html .qlb-research .profile-cluster h3{font-size:var(--type-small);font-weight:500;text-transform:none;color:var(--lb-muted);margin:0 0 8px}
html .qlb-research .attribute-tiles{gap:0 20px}
html .qlb-research .attribute-tile{padding:12px 0;border-radius:0;border-bottom:1px solid var(--lb-line);background:transparent}
html .qlb-research .attribute-tile dt{font-size:var(--type-small);font-weight:400;margin-bottom:4px;color:var(--lb-muted)}
html .qlb-research .attribute-tile dt .input-icon{display:inline-block}
html .qlb-research .attribute-tile dd{font-size:var(--type-body);font-weight:400;color:var(--lb-ink)}
html .qlb-research .input-explanation{margin-top:16px;padding:12px 0 0;border-left:0;border-top:1px solid var(--lb-line)}
html .qlb-research .input-explanation strong{font-size:var(--type-small)}
html .qlb-research #corpus-policy{gap:12px}
html .qlb-research .policy-lane{border-radius:0;border-left:2px solid var(--lb-accent);padding:8px 0 8px 16px;background:transparent;color:var(--lb-ink)}
html .qlb-research .policy-lane.hide{border-left-color:var(--lb-rose)}
html .qlb-research .policy-lane.keep{border-left-color:var(--lb-teal)}
html .qlb-research .policy-lane h3{font-size:var(--type-body);font-weight:600;margin:0 0 4px;color:var(--lb-ink)}
html .qlb-research .policy-lane p{font-size:var(--type-small);margin:0 0 8px;color:var(--lb-muted)}
html .qlb-research .policy-lane .attribute-chip{font-size:var(--type-small);padding:2px 0;background:transparent;color:var(--lb-ink)}
html .qlb-research .policy-lane .attribute-chip:not(:last-child):after{content:","}
html .qlb-research .policy-lane-attributes{gap:4px 8px}
html .qlb-research .empty-policy-lane{font-size:var(--type-small);font-style:normal;color:var(--lb-muted)}
html .qlb-research .document-card{padding:24px}
html .qlb-research #corpus-document-text{font-size:var(--type-body);line-height:1.75;color:var(--lb-ink)}
html .qlb-research .cue,html .qlb-research .cue.blue{font-size:var(--type-body);font-weight:500;line-height:inherit;color:var(--lb-ink);background:color-mix(in srgb,var(--lb-accent) 14%,var(--lb-surface));border-bottom-color:var(--lb-accent)}
html .qlb-research .cue[aria-pressed=true]{color:var(--lb-ink);background:color-mix(in srgb,var(--lb-teal) 20%,var(--lb-surface));border-bottom-color:var(--lb-teal)}
html .qlb-research .document-footer{font-size:var(--type-small);color:var(--lb-muted)}
html .qlb-research .corpus-results .corpus-sidebar>section{padding:16px}
html .qlb-research .evidence-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html .qlb-research .evidence-controls .field{min-width:0}
html .qlb-research .evidence-controls .policy-label{margin:0 0 8px}
html .qlb-research .evidence-controls select{width:100%;min-width:0}
html .qlb-research .demo-output{font-size:var(--type-body);padding-top:16px;color:var(--lb-ink)}
html .qlb-research .demo-output strong{font-size:var(--type-body);color:var(--lb-ink)}
html .qlb-research .demo-output p{font-size:var(--type-body)}
html .qlb-research .group-recovery{margin-top:32px;padding-top:24px;border-top:1px solid var(--lb-line)}
html .qlb-research .group-recovery>h2{margin:0 0 20px}
.recovery-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;counter-reset:recovery;list-style:none;padding:0;margin:0}
.recovery-steps li{position:relative;padding-left:30px;counter-increment:recovery}
.recovery-steps li:before{content:counter(recovery);position:absolute;top:0;left:0;color:var(--lb-muted);font-size:var(--type-small);font-variant-numeric:tabular-nums}
.recovery-steps li:not(:last-child):after{content:"\2192";position:absolute;top:0;right:-20px;color:var(--lb-muted)}
html .qlb-research .recovery-steps h3{font-size:var(--type-body);font-weight:600;margin:0 0 8px}
html .qlb-research .recovery-steps p{font-size:var(--type-body);margin:0}

/* Supplied example icons, with editable text and the existing corpus controls. */
html .qlb-examples main{width:calc(100% - 88px);max-width:1080px}
html .qlb-examples .corpus-layout{gap:24px}
html .qlb-examples .example-scenario{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:16px;align-items:center;padding:24px;margin-bottom:24px;border:1px solid var(--lb-line);border-radius:var(--card-radius);background:color-mix(in srgb,var(--lb-accent) 7%,var(--lb-surface))}
html .qlb-examples .example-scenario h2{font-size:var(--type-emphasis);margin:0 0 6px}
html .qlb-examples .example-scenario p{margin:0;font-size:var(--type-small);line-height:1.6;color:var(--lb-muted)}
.example-illustrated{display:block;flex:none;width:44px;height:44px}
.example-illustrated.scenario-icon{width:64px;height:64px}
.example-card-title{display:flex;align-items:center;gap:12px;min-width:0}
html .qlb-examples .example-card-title h2{font-size:var(--type-emphasis);margin:0}
html .qlb-examples .corpus-inputs{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);margin:0;gap:24px}
html .qlb-examples .corpus-inputs>section{padding:24px;min-width:0}
html .qlb-examples .profile-card-heading{gap:12px;margin:0 0 16px}
html .qlb-examples .profile-card-heading .status-label{font-size:var(--type-small);white-space:nowrap}
html .qlb-examples .profile-clusters{display:block}
html .qlb-examples .attribute-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
html .qlb-examples .attribute-tile{position:relative;min-height:82px;padding:16px 0 16px 32px}
html .qlb-examples .attribute-tile dt{display:block;margin:0 0 4px;line-height:1.5}
html .qlb-examples .attribute-tile dt .input-icon{position:absolute;left:0;top:50%;transform:translateY(-50%);width:22px;height:22px;color:var(--status-positive)}
html .qlb-examples .attribute-tile dd{font-size:var(--type-body);line-height:1.5;margin:0;overflow-wrap:normal;word-break:normal}
html .qlb-examples .corpus-policy-card .small-copy{margin:0 0 16px!important;font-size:var(--type-small)}
html .qlb-examples .policy-lane{padding:16px;border:1px solid var(--lb-line);border-left:3px solid var(--lb-accent);border-radius:var(--control-radius);background:color-mix(in srgb,var(--lb-accent) 5%,var(--lb-surface))}
html .qlb-examples .policy-lane.hide{border-left-color:var(--status-prohibited);background:color-mix(in srgb,var(--status-prohibited) 5%,var(--lb-surface))}
html .qlb-examples .policy-lane.keep{border-left-color:var(--status-positive);background:color-mix(in srgb,var(--status-positive) 5%,var(--lb-surface))}
html .qlb-examples .policy-lane h3{gap:10px;margin:0 0 8px}
html .qlb-examples .policy-lane h3 .input-icon{width:22px;height:22px;color:var(--lb-accent)}
html .qlb-examples .policy-lane.hide h3 .input-icon{color:var(--status-prohibited)}
html .qlb-examples .policy-lane.keep h3 .input-icon{color:var(--status-positive)}
html .qlb-examples .policy-lane-attributes{padding-left:32px}
html .qlb-examples .policy-lane .attribute-chip{font-weight:400;background:transparent}
html .qlb-examples [data-example-icon]{display:inline-flex;align-items:center;justify-content:center;flex:none}
html .qlb-examples [data-example-icon] .input-icon{width:20px;height:20px}
html .qlb-examples .text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;color:var(--lb-accent)}
html .qlb-examples .text-button:disabled{color:var(--lb-muted);opacity:.65;cursor:default}
html .qlb-examples .document-card{padding:24px}
html .qlb-examples .document-header{align-items:center;flex-wrap:wrap;gap:12px}
html .qlb-examples .document-title{font-size:var(--type-emphasis);margin:24px 0 16px}
html .qlb-examples #corpus-document-text{padding:0;max-height:none;overflow:visible}
html .qlb-examples .document-footer{align-items:center;flex-wrap:wrap;padding-top:12px;margin-top:24px}
@media(max-width:900px){
 html .qlb-examples .corpus-inputs{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:760px){
 html .qlb-examples main{width:calc(100% - 40px);margin:0 auto}
 html .qlb-examples .example-scenario{grid-template-columns:48px minmax(0,1fr);gap:12px;padding:20px}
 html .qlb-examples .scenario-icon{width:48px;height:48px}
 html .qlb-examples .example-scenario>.button{grid-column:2;justify-self:start}
 html .qlb-examples .corpus-inputs>section,html .qlb-examples .document-card{padding:20px}
 html .qlb-examples .document-footer{flex-direction:row}
}
@media(max-width:420px){
 html .qlb-examples .attribute-tiles{grid-template-columns:minmax(0,1fr)}
 html .qlb-examples .attribute-tile{min-height:74px}
 html .qlb-examples .profile-card-heading{align-items:flex-start}
}

/* Evaluation uses the same roles, with mathematical notation kept intact. */
html .qlb-research .eval-doc{font:400 var(--type-body)/1.65 var(--lb-font)}
html .qlb-research .docs-heading h1{font-size:var(--type-title)}
html .qlb-research .doc-section>h2{font-size:var(--type-section)}
html .qlb-research .doc-section :is(h3,h4){font-size:var(--type-emphasis)}
html .qlb-research .docs-sidebar :is(p,.paper-reference){font-size:var(--type-small);color:var(--lb-muted)}
html .qlb-research .docs-sidebar .side-link{min-height:44px;align-items:center;font-size:var(--type-small);font-weight:400}
html .qlb-research .docs-sidebar .side-link.active{font-weight:500;color:var(--lb-ink)}
html .qlb-research .docs-sidebar .side-link span{font-size:var(--type-small);opacity:1}
html .qlb-research .task-flow{gap:16px;padding:20px}
html .qlb-research .task-flow h3{font-size:var(--type-small);font-weight:500;color:var(--lb-muted)}
html .qlb-research .flow-inputs dt,html .qlb-research .flow-output p{font-size:var(--type-body);font-weight:500}
html .qlb-research .flow-inputs dd,html .qlb-research .flow-detector strong{font-size:var(--type-small);color:var(--lb-muted)}
html .qlb-research .segmented{gap:4px;padding:0;background:transparent}
html .qlb-research .demo-top h4{font-size:var(--type-emphasis)}
html .qlb-research .paper-excerpt{font-size:var(--type-body);line-height:1.65}
html .qlb-research .demo-status{color:var(--status-prohibited)}
html .qlb-research .demo-status.pass{color:var(--status-positive)}
html .qlb-research .technical-details>summary{font-size:var(--type-body);font-weight:500}
html .qlb-research :is(.technical-content,.technical-content p,.scoring-stages p,.info-card p,.term p,.mathstep p,.metric p,.demo-result p){font-size:var(--type-body)}
html .qlb-research :is(.demo-status,.eqn,.shape,.step-num,.mathstep>.num,.metric-label,.scoring-stages li>span,.code-heading,.factor-values .v>span,.preview-credit small){font-size:var(--type-small);letter-spacing:normal;text-transform:none}
html .qlb-research .control label{font-size:var(--type-small);min-height:0;align-items:center}
html .qlb-research .factor-values b{font-size:var(--type-section)}
html .qlb-research .preview-credit>b{font-size:var(--type-title)}
html .qlb-research .eval-doc :is(pre,pre code){font-size:var(--type-small);line-height:1.65}
html .qlb-research .dataset-comparison :is(table,td,tbody th){font-size:var(--type-body)}
html .qlb-research .dataset-comparison :is(small,thead th){font-size:var(--type-small)}
html .qlb-research .mobile-page-nav{font-size:var(--type-small)}

/* Submission preparation uses the shared type, surface and control tokens. */
html .qlb-research .submission-page{width:100%;max-width:1080px;margin:0 auto;padding:40px 0 0;display:grid;gap:var(--space-xl)}
html .qlb-research .submission-heading{justify-content:flex-start;flex-wrap:wrap;gap:12px 16px;margin:0 0 12px}
html .qlb-research .submission-heading h1{font-size:var(--type-title);margin:0}
html .qlb-research .submission-status{display:inline-flex;align-items:center;gap:8px;font-size:var(--type-small);font-weight:500;padding:5px 12px;background:var(--lb-soft);border:1px solid var(--lb-line);border-radius:20px;color:var(--lb-muted);white-space:nowrap}
html .qlb-research .submission-status:before{content:"";width:6px;height:6px;background:var(--lb-teal);border-radius:50%}
html .qlb-research .submission-lead{max-width:740px;font-size:var(--type-body);color:var(--lb-muted);margin:0 0 24px!important}
html .qlb-research .submission-actions{display:flex;flex-wrap:wrap;gap:var(--control-gap)}
html .qlb-research .submission-actions svg{width:18px;height:18px;flex:none}
html .qlb-research .submission-workflow>h2{font-size:var(--type-section);margin:0 0 16px}
html .qlb-research .preparation-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:24px;background:var(--lb-soft);border:1px solid var(--lb-line);border-radius:var(--card-radius)}
html .qlb-research .preparation-flow li{position:relative;min-width:0}
html .qlb-research .preparation-flow li:not(:last-child):after{content:"\2192";position:absolute;right:0;top:6px;font-size:24px;color:var(--lb-accent)}
html .qlb-research .preparation-node{display:flex;align-items:center;gap:12px;margin-bottom:12px;color:var(--lb-accent)}
html .qlb-research .preparation-node svg{width:36px;height:36px;padding:7px;box-sizing:content-box;background:var(--lb-surface);border:1px solid var(--lb-line);border-radius:var(--control-radius)}
html .qlb-research .preparation-node span{font-size:var(--type-small);font-weight:500;font-variant-numeric:tabular-nums}
html .qlb-research .preparation-flow h3{font-size:var(--type-emphasis);font-weight:600;margin:0 0 4px}
html .qlb-research .preparation-flow p{font-size:var(--type-small);color:var(--lb-muted);margin:0;max-width:230px}
html .qlb-research .preparation-locked .preparation-node{color:var(--lb-muted)}
html .qlb-research .preparation-locked .preparation-node svg{background:transparent;border-style:dashed}
html .qlb-research .submission-packages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
html .qlb-research .preparation-card{padding:24px;border:1px solid var(--lb-line);border-radius:var(--card-radius);background:var(--lb-surface);min-width:0}
html .qlb-research .preparation-card h2{font-size:var(--type-emphasis);font-weight:600;margin:0 0 12px}
html .qlb-research .preparation-card>p{font-size:var(--type-body);margin:0;color:var(--lb-muted)}
html .qlb-research .preparation-card code{overflow-wrap:anywhere}
html .qlb-research .preparation-specs{margin:20px 0 0;padding:0}
html .qlb-research .preparation-specs>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;padding:12px 0;border-top:1px solid var(--lb-line)}
html .qlb-research .preparation-specs dt{font-size:var(--type-small);font-weight:500;color:var(--lb-muted)}
html .qlb-research .preparation-specs dd{font-size:var(--type-small);color:var(--lb-ink);margin:0;overflow-wrap:anywhere}
html .qlb-research .preparation-card .text-link{display:inline-flex;gap:8px;align-items:center;min-height:44px;margin-top:8px;font-size:var(--type-small);font-weight:500}
html .qlb-research .submission-availability{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:24px;border-top:1px solid var(--lb-line)}
html .qlb-research .submission-availability p{display:flex;align-items:center;gap:12px;font-size:var(--type-small);color:var(--lb-muted);margin:0}
html .qlb-research .submission-availability svg{width:20px;height:20px;flex:none;color:var(--lb-accent)}
@media(max-width:640px){
 html .qlb-research .submission-page{padding-top:32px}
 html .qlb-research .submission-packages{grid-template-columns:minmax(0,1fr)}
 html .qlb-research .preparation-flow{grid-template-columns:minmax(0,1fr);gap:20px}
 html .qlb-research .preparation-flow li{padding-left:68px;min-height:52px}
 html .qlb-research .preparation-node{position:absolute;left:0;top:0;margin:0}
 html .qlb-research .preparation-node svg{width:24px;height:24px;padding:10px}
 html .qlb-research .preparation-node span{display:none}
 html .qlb-research .preparation-flow li:not(:last-child):after{content:"";left:23px;right:auto;top:48px;bottom:-20px;width:1px;background:var(--lb-line)}
 html .qlb-research .submission-availability{align-items:flex-start;flex-direction:column}
 html .qlb-research .preparation-specs>div{grid-template-columns:76px minmax(0,1fr)}
}

@media(min-width:761px) and (max-width:1000px){
 html .qlb-research .site-header .research-header{width:calc(100% - 40px);gap:12px}
 html .qlb-research .site-header .primary-nav{flex-wrap:nowrap;gap:12px}
 html .qlb-research .site-header .primary-nav a{white-space:nowrap}
}
@media(max-width:760px){
 html .qlb-research .site-header .wordmark{font-size:20px}
 html .qlb-research .overview-section .abstract-copy h1{font-size:32px}
 html .qlb-research .overview-section .stats-strip strong{font-size:var(--type-stat)}
 html .qlb-research .corpus-inputs{gap:16px}
 html .qlb-research .task-flow{grid-template-columns:minmax(0,1fr);gap:16px}
 html .qlb-research .flow-detector{display:flex;align-items:center;justify-content:center;gap:12px}
 html .qlb-research .flow-detector svg{transform:rotate(90deg);margin:0}
 html .qlb-research .demo-top{align-items:flex-start;flex-direction:column;gap:12px}
 html .qlb-research .recovery-steps{grid-template-columns:minmax(0,1fr);gap:20px}
 html .qlb-research .recovery-steps li:after{display:none}
 html .qlb-research .corpus-inputs>section,html .qlb-research .document-card{padding:16px}
 html .qlb-research .evidence-controls{grid-template-columns:minmax(0,1fr)}
}

/* Country shading uses aggregate analytics snapshots. */
html .qlb-research .atlas-map svg{display:block;width:100%;height:auto}
