/* FlyPrepared / fixed composition. Text is never rasterized, distressed, or scaled.
   One palette: soot backing, washed mineral panels, oyster paper for working records. */
html[data-look=fixed]{
 --bg:#1b1d19;--surface:#2b2e26;--panel:#2b2e26;--raised:#373a2f;
 --text:#e3ddca;--muted:#c0bfad;--line:#7a7d64;--edge:#74765f;--faint:#454a3a;
 --accent:#d0c99b;--accent-bg:#555b3c;--good:#b4c69c;--bad:#e7a58c;--warning:#d9c28e;
 --paper:#c9bea0;--paper-text:#2b2f24;--ink:#2b2f24;--im-text:var(--text);--im-muted:var(--muted);
 --im-surface:var(--surface);--im-ink:#2b2f24;--im-muted-ink:#525544;
 --display:Georgia,'Times New Roman',serif;--body:Arial,Helvetica,sans-serif;
 --mono:'SFMono-Regular',Consolas,'Liberation Mono',monospace;
 --fixed-pulp:url('/assets/fixed/washed-pulp.webp');--fixed-paper:url('/assets/fixed/oyster-paper.webp');
 --fixed-edge:url('/assets/fixed/rag-seam.svg');--fixed-soft:url('/assets/fixed/rag-seam-soft.svg');
 --fixed-ink:url('/assets/fixed/rag-seam-ink.svg');--fixed-rule:url('/assets/fixed/dry-separator.svg');
 --im-rule:var(--fixed-rule);--im-stock:var(--fixed-paper);color-scheme:dark;
 background:var(--bg)
}
html[data-look=fixed] body{background-color:var(--bg);background-image:linear-gradient(#12140ecc,#151610aa),var(--fixed-pulp);background-size:auto,1000px 835px;color:var(--text);font:14px/1.6 var(--body);-webkit-font-smoothing:auto}
html[data-look=fixed] body::before,html[data-look=fixed] body::after{content:none}
html[data-look=fixed] :is(h1,h2,h3,.q-title,.history-question,.answer-text){text-shadow:none;filter:none}
html[data-look=fixed] :is(.plate-label,.eyebrow,.field-label,.detail-kicker){font-family:var(--body);letter-spacing:.1em;line-height:1.6;font-size:11px;color:var(--muted)}
html[data-look=fixed] :is(.footnote,.small-print,.plate-foot,.help-text){font:12px/1.65 var(--body);color:var(--muted)}
html[data-look=fixed] .main{padding:12px 14px 0;max-width:1920px;min-height:65vh}
html[data-look=fixed] :is(.field-content,.analytics-page,.main,.panel,.plate){min-width:0}
/* All large surfaces have a real edge, rather than a filtered font or a flat rule. */
html[data-look=fixed] :is(.plate,.panel,.quick-card,.metric-card,.question-panel,.queue-evidence,.queue-example,.queue-rule-evidence,.queue-decision,.queue-private,.update-card,.history-item,.empty,.press-hero,.profile-hero,.hero-scene,.record-hero,.record-totals,.quiz-top,.field-rail,.owner-site .sidebar,.about-negative){
 border:7px solid transparent;border-image:var(--fixed-edge) 17 / 7px / 1px stretch;
 background-color:var(--surface);background-image:linear-gradient(120deg,#15190f55,#292e1f0a),var(--fixed-pulp);background-size:auto,1050px 880px;background-origin:border-box;
 border-radius:0;box-shadow:1px 3px 4px #0005;isolation:isolate;position:relative;color:var(--text)
}
html[data-look=fixed] :is(.plate,.panel,.question-panel,.quick-card,.metric-card,.history-item,.empty,.queue-evidence)::before{content:none}
html[data-look=fixed] :is(.press-band,.record-grid)>.plate:nth-child(3n+2){background-position:0 0,240px -80px;background-color:#31362b;border-image-source:var(--fixed-soft)}
html[data-look=fixed] :is(.press-band,.record-grid)>.plate:nth-child(3n+3){background-image:linear-gradient(#26281fcc,#26281faa),var(--fixed-pulp);background-position:0 0,-350px 200px;border-image-width:6px 8px 7px 6px}
html[data-look=fixed] :is(.plate,.panel){padding:17px 18px}
html[data-look=fixed] .question-panel{padding:0}
html[data-look=fixed] :is(.press-band,.press-lower,.record-grid){gap:10px}
/* Fine dividers are broken ink strokes; chart geometry is deliberately left exact. */
html[data-look=fixed] :is(.plate-heading,.panel-head,.section-head,.context-item,.ledger-metrics>div,.ledger-row,.next-row,.tools-plate>a,.tools-plate>button,.tool-lines>a,.tool-lines>button,.history-summary,.record-subject-head,.source-links,.question-meta,.question-footer,.app-footer,.account-row,.queue-toolbar,.dialog-head,.source-row){
 border-image:none;border:0;border-radius:0;box-shadow:none;
 background-image:var(--fixed-rule);background-repeat:repeat-x;background-size:720px 7px;background-position:bottom left
}
html[data-look=fixed] :is(.plate-heading,.panel-head){gap:12px;padding-bottom:13px;margin-bottom:13px}
html[data-look=fixed] :is(.plate-heading h2,.panel-head h2){font:600 11.5px/1.6 var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--text)}
html[data-look=fixed] :is(td,th){border:0!important;box-shadow:none;background-image:var(--fixed-rule);background-repeat:repeat-x;background-position:bottom left;background-size:720px 5px}
html[data-look=fixed] :is(th,td){padding:11px 8px}
html[data-look=fixed] .table-wrap{border:0;background:none}
/* Same navigation on student / owner / public. No theme switch is rendered. */
html[data-look=fixed] .common-masthead{max-width:none;min-height:78px;padding:12px 20px;gap:20px;border:0;border-bottom:7px solid transparent;border-image:var(--fixed-edge) 17 / 0 0 7px / 0 stretch;background:linear-gradient(#151710c2,#151710c2),var(--fixed-pulp);background-size:auto,1100px;box-shadow:0 3px 7px #0004;position:relative}
html[data-look=fixed] .common-masthead::after{content:none}
html[data-look=fixed] .brand-word{font:normal clamp(32px,3.2vw,49px)/.94 var(--display)!important;letter-spacing:-.065em!important}
html[data-look=fixed] .mast-tag{font:9px/1.7 var(--mono);letter-spacing:.12em;color:#b6b6a3}
html[data-look=fixed] .student-nav{gap:4px}
html[data-look=fixed] [data-site-header] .student-nav .site-tab{border:5px solid transparent;border-image:none;background:transparent;font:16px/1.3 var(--display);padding:8px 10px;min-height:41px;color:var(--muted);box-shadow:none}
html[data-look=fixed] [data-site-header] .student-nav .site-tab:is(:hover,:focus-visible,.active,[aria-current=page]){border-image:var(--fixed-edge) 17 / 5px / 0 stretch;background-image:linear-gradient(#555b3cdd,#454b32cc),var(--fixed-pulp);background-size:auto,430px;color:var(--text);box-shadow:none}
html[data-look=fixed] [data-site-header] .site-tab::after{border:0;width:10px;height:4px;background:var(--fixed-rule) right center/80px 4px}
html[data-look=fixed] :is(.account-link,.owner-link){border:0;box-shadow:none}
html[data-look=fixed] .account-link{font:14px/1.3 var(--display)}
html[data-look=fixed] .owner-link{font:10px/1.4 var(--mono)}
html[data-look=fixed] .field-rail,html[data-look=fixed] .owner-site .sidebar{background-image:linear-gradient(#191d14aa,#20221988),var(--fixed-pulp);background-size:auto,720px;padding:14px 9px;border-image-source:var(--fixed-soft)}
html[data-look=fixed] .field-rail::before,html[data-look=fixed] .owner-site .sidebar::before{content:none}
html[data-look=fixed] .field-rail>a,html[data-look=fixed] .owner-site .sidebar .nav-item{font:11px/1.8 var(--body);letter-spacing:.04em;white-space:normal;min-height:34px}
html[data-look=fixed] .owner-site .sidebar .nav-item{border:4px solid transparent;border-image:none;padding:9px 6px}
html[data-look=fixed] .owner-site .sidebar .nav-item:is(:hover,:focus-visible,.active){background:var(--accent-bg);color:var(--text);border-image:var(--fixed-edge) 17 / 4px / 0 stretch}
html[data-look=fixed] .rail-image{margin:15px -1px 20px;border:0;opacity:.85;background-size:cover}
/* Controls, segmented selectors, search and dropdown borders have the same edge language. */
html[data-look=fixed] :is(.input,.select,.textarea,.unit-input input,.button,.confidence-button,.pill,.appearance-picker,.segmented,.button-icon-round,.plate-cta,.quiz-step,.source-inspect){
 border:5px solid transparent;border-image:var(--fixed-soft) 17 / 5px / 0 stretch;background-color:#20241c;background-image:linear-gradient(#252a20bc,#23271ebc),var(--fixed-pulp);background-size:auto,720px;
 border-radius:0;color:var(--text);box-shadow:none;min-width:0
}
html[data-look=fixed] :is(.input,.select,.textarea,.unit-input input){padding:10px 13px;line-height:1.5;font:15px/1.5 var(--body);min-height:45px}
html[data-look=fixed] :is(.input,.select,.textarea,.unit-input input)::placeholder{color:#b1b29f;opacity:1}
html[data-look=fixed] .select{padding-right:30px}
html[data-look=fixed] :is(.button,.confidence-button){padding:9px 15px;min-height:40px;font:13px/1.4 var(--body)}
html[data-look=fixed] :is(.button.primary,.plate-cta,.button[aria-pressed=true],.confidence-button.active,.confidence-button[aria-pressed=true]){background-color:var(--accent-bg);background-image:linear-gradient(#535b39dd,#535b39dd),var(--fixed-pulp);border-image-source:var(--fixed-edge);color:#eee7d0}
html[data-look=fixed] .plate-cta{font:21px/1.3 var(--display);padding:10px 18px}
html[data-look=fixed] :is(.button,.confidence-button,.plate-cta):hover:not(:disabled){background-color:#50573b;background-image:linear-gradient(#50573bdd,#50573bdd),var(--fixed-pulp);color:#f0ead7}
html[data-look=fixed] .button.quiet{background-color:transparent;background-image:none;border-image:none}
html[data-look=fixed] :is(.segmented,.appearance-picker){gap:4px;display:flex;align-items:center;flex-wrap:wrap;padding:5px;width:max-content;max-width:100%;background:#20241c}
html[data-look=fixed] .segmented button{border:4px solid transparent;border-image:none;min-height:36px;padding:6px 12px;font:13px/1.4 var(--body);color:var(--muted)}
html[data-look=fixed] .segmented button:is(.active,[aria-pressed=true],:hover,:focus-visible){background:var(--accent-bg);border-image:var(--fixed-edge) 17 / 4px / 0 stretch;color:var(--text)}
html[data-look=fixed] :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #dbd39e;outline-offset:3px}
html[data-look=fixed] :is(.icon-button,.eliminate-choice){border:0;border-image:none;background:none;box-shadow:none}
html[data-look=fixed] :is(.icon-button,.eliminate-choice):hover{background:#d0c79b14}
html[data-look=fixed] .pill{font:11px/1.45 var(--mono);padding:4px 7px;min-height:24px}
/* Paper is darker and less glaring than Imprint's light skin; each sheet has an alpha edge. */
html[data-look=fixed] :is(.dossier-paper,.last-slip,.scratch-sheet,.scratch-record,.source-book,.hint-item,.about-letter,.return-slip,.worked-figure){border:0;border-image:none;background:none!important;isolation:isolate;box-shadow:none;color:var(--paper-text);position:relative}
html[data-look=fixed] :is(.dossier-paper,.last-slip,.scratch-sheet,.scratch-record,.source-book,.hint-item,.about-letter,.return-slip,.worked-figure)::before{content:'';position:absolute;inset:-2px;z-index:-1;pointer-events:none;background:var(--fixed-paper) center/100% 100% no-repeat;opacity:1;filter:drop-shadow(1px 4px 3px #0007)}
html[data-look=fixed] :is(.dossier-paper,.last-slip,.scratch-sheet,.source-book)::after{content:none}
html[data-look=fixed] :is(.dossier-paper,.last-slip,.source-book,.scratch-sheet,.hint-item,.worked-figure) :is(.plate-label,.field-label,h2,h3,p,small,a,button){color:var(--paper-text)}
html[data-look=fixed] .dossier-paper{padding:24px 22px 22px;justify-content:space-between;gap:6px;margin:4px 5px}
html[data-look=fixed] .dossier-paper strong{font:normal 53px/1.05 var(--display)}
html[data-look=fixed] .dossier-paper b{font:normal 32px/1.2 var(--display)}
html[data-look=fixed] .dossier-paper a{font:13px/1.5 var(--body);color:#33392b}
html[data-look=fixed] .last-slip{padding:25px 24px;min-height:220px}
html[data-look=fixed] .last-proof h3{font:normal 25px/1.2 var(--display)}
html[data-look=fixed] .dossier-rule{height:9px;background:var(--fixed-rule) left center/420px 6px!important;filter:brightness(.55)}
html[data-look=fixed] .scratch-sheet{padding:23px 23px 20px;margin:6px 3px}
html[data-look=fixed] .scratch-sheet textarea{font:italic 18px/30px var(--display);padding:7px 1px;background:none;border:0;border-image:none;box-shadow:none;color:#2d3227;min-height:210px}
html[data-look=fixed] .scratch-sheet textarea::placeholder{color:#5b5a46;opacity:1}
html[data-look=fixed] .scratch-sheet .plate-heading{filter:none}
html[data-look=fixed] .scratch-sheet .scratch-foot{color:#484b3b;font:11px/1.6 var(--body);display:flex;gap:10px;justify-content:space-between}
html[data-look=fixed] .source-book{padding:26px;min-height:170px;gap:11px}
html[data-look=fixed] .source-book a{color:#323a27!important;display:inline-flex;align-items:center;gap:5px;text-decoration:underline;text-underline-offset:4px}
html[data-look=fixed] .source-book:is(:hover,:focus-within){background:none!important}
html[data-look=fixed] .source-book:is(:hover,:focus-within) :is(h2,a,.plate-label){color:#232c1b!important}
html[data-look=fixed] .source-book:nth-child(3n+2)::before{transform:none;background-position:65% 45%}
html[data-look=fixed] .source-book:nth-child(3n)::before{transform:none;filter:drop-shadow(2px 4px 3px #0008) brightness(.97)}
html[data-look=fixed] .reference-shelf{gap:16px;padding:14px 18px 24px;border:0;grid-template-columns:repeat(3,minmax(0,1fr))}
/* A single continuous header spread, not a filter stranded in nested blank boxes. */
html[data-look=fixed] .record-hero{display:grid;grid-template-columns:minmax(0,1fr) 238px;gap:0;padding:0;min-height:200px;overflow:hidden;background-color:#20261c}
html[data-look=fixed] .record-hero>div:not(.record-portrait):not(.record-controls){position:relative;z-index:1;padding:28px 30px;min-width:0;background:linear-gradient(90deg,#1b2118f5 25%,#1b211898 68%,transparent)}
html[data-look=fixed] .record-portrait{position:absolute;inset:0 190px 0 auto;width:52%;opacity:.73;background-position:50% 45%;background-size:cover}
html[data-look=fixed] .record-hero h1{font:normal clamp(40px,4.1vw,64px)/1.1 var(--display);margin:13px 0 12px}
html[data-look=fixed] .record-hero p{font:12px/1.7 var(--mono)}
html[data-look=fixed] .record-scope{font:11px/1.7 var(--body);color:var(--muted)}
html[data-look=fixed] .record-controls{align-self:center;position:relative;padding:23px 19px;margin:14px 12px 14px 0;background:none;border:0;box-shadow:none;z-index:2;display:grid;gap:10px;isolation:isolate;min-width:0;color:#303529}
html[data-look=fixed] .record-controls::before{content:'';position:absolute;inset:0;z-index:-1;background:var(--fixed-paper) center/100% 100%;filter:drop-shadow(1px 3px 2px #0006);pointer-events:none}
html[data-look=fixed] .record-controls :is(label,a,button){color:#31392a;font:12px/1.55 var(--body)}
html[data-look=fixed] .record-controls label{font-size:10.5px;text-transform:uppercase;letter-spacing:.1em}
html[data-look=fixed] .record-controls .select{background:#b6ae9259;border-image:var(--fixed-ink) 17 / 5px / 0 stretch;color:#283222;color-scheme:light;min-height:40px;font-size:13px;padding:7px 9px}
html[data-look=fixed] .record-totals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:linear-gradient(#4c51407a,#4c51407a),var(--fixed-pulp);background-size:auto,1100px;border-image-source:var(--fixed-soft);gap:0;padding:8px}
html[data-look=fixed] .record-totals>div{border:0;box-shadow:none;padding:13px 19px;position:relative;display:flex;flex-direction:column;gap:9px;min-width:0}
html[data-look=fixed] .record-totals>div+div::before{content:'';position:absolute;left:0;top:12%;bottom:12%;width:7px;border:0;border-left:5px solid transparent;border-image:var(--fixed-soft) 17 / 0 0 0 5px / 0 stretch;opacity:.6}
html[data-look=fixed] .record-totals strong{font:normal clamp(26px,2.25vw,39px)/1.1 var(--display);order:-1}
html[data-look=fixed] .record-totals .plate-label{font:10px/1.5 var(--body);letter-spacing:.08em}
html[data-look=fixed] .hero-scene{min-height:300px;background-color:#1d231a;overflow:hidden}
html[data-look=fixed] .hero-scene .resume-column{background:linear-gradient(90deg,#1a1e16f0,#1a1e16b8 78%,transparent);padding:26px 26px 28px;position:relative;max-width:54%;min-width:360px;z-index:2}
html[data-look=fixed] .hero-scene h1{font:normal clamp(43px,4.1vw,67px)/1.08 var(--display);margin:20px 0 12px}
html[data-look=fixed] .hero-scene .hero-art{filter:none;opacity:.8;background-size:cover}
html[data-look=fixed] .scene-caption{font:9px/1.5 var(--mono);letter-spacing:.12em;bottom:12px;right:15px}
html[data-look=fixed] .hero-progress{margin:20px 0;max-width:400px}
html[data-look=fixed] .set-meter{height:6px;border:0;background:#aaac8030}
/* Practice: a quiet reading surface on the darker backing; progress is one strip. */
html[data-look=fixed] .practice-setup{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:16px;margin:0 16px 24px}
html[data-look=fixed] .practice-shortcuts{grid-column:1/-1;display:flex;gap:7px;flex-wrap:wrap}
html[data-look=fixed] .setup-main{padding:23px;align-self:start}
html[data-look=fixed] .practice-subjects{min-width:0}
html[data-look=fixed] .form-grid{gap:20px}
html[data-look=fixed] .quiz-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:12px 18px;min-height:72px}
html[data-look=fixed] .quiz-position{padding:0;margin:0;border:0;border-image:none;background:none;box-shadow:none;min-width:0}
html[data-look=fixed] .quiz-position::before,html[data-look=fixed] .quiz-position::after{content:none}
html[data-look=fixed] .quiz-steps{gap:7px;flex-wrap:wrap;justify-content:center}
html[data-look=fixed] .quiz-step{font:12px/1 var(--mono);min-width:30px;height:32px;border-radius:0;padding:6px;border-width:4px;border-image-width:4px;background-color:#22281d}
html[data-look=fixed] .quiz-step:is(.current,.active,[aria-current]){background:var(--accent-bg);border-image-source:var(--fixed-edge)}
html[data-look=fixed] .workbench-layout{grid-template-columns:minmax(0,1fr) 280px;gap:12px}
html[data-look=fixed] .question-layout{padding:22px;gap:22px}
html[data-look=fixed] .q-title{font:normal clamp(23px,2.05vw,33px)/1.37 var(--display);letter-spacing:-.02em;max-width:48ch;margin:14px 0 20px}
html[data-look=fixed] .question-layout.with-figure{grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr)}
html[data-look=fixed] .question-index{font:12px/1.5 var(--mono);letter-spacing:.05em}
html[data-look=fixed] .question-meta{padding:14px 22px}
html[data-look=fixed] .question-fields{padding:0 22px 10px}
html[data-look=fixed] .unit-input input{padding-right:70px;font:24px/1.3 var(--display);height:53px}
html[data-look=fixed] .unit-input>span{font:13px/1.4 var(--body);color:var(--muted);border:0;background:none}
html[data-look=fixed] .choice-row .choice{border:6px solid transparent;border-image:var(--fixed-soft) 17 / 6px / 0 stretch;background:linear-gradient(#252a20a8,#252a20a8),var(--fixed-pulp);color:var(--text);padding:14px 52px 14px 16px;font:normal 23px/1.4 var(--display);min-height:67px;box-shadow:none}
html[data-look=fixed] .choice-row .choice:is(.selected,.correct){background:linear-gradient(#4c573aee,#4c573aee),var(--fixed-pulp);border-width:6px;border-image-source:var(--fixed-edge);padding:14px 52px 14px 16px;color:#e9e1ca}
html[data-look=fixed] .choice-row .choice.wrong{background:linear-gradient(#553a2fe8,#553a2fe8),var(--fixed-pulp);border-width:6px;padding:14px 52px 14px 16px;color:#f0daca}
html[data-look=fixed] .choice-row .choice:hover{color:var(--text);background-color:#414733}
html[data-look=fixed] .choice-key{background:none;border:0;font:19px/1.2 var(--display);width:30px;flex-basis:30px}
html[data-look=fixed] .question-under{padding:4px 22px 15px}
html[data-look=fixed] .confidence{margin:9px 0}.confidence legend{margin-bottom:9px}
html[data-look=fixed] .question-footer{padding:18px 22px;background-position:top left}
html[data-look=fixed] .question-source-fold{border:0;background-image:var(--fixed-rule);background-size:720px 6px;background-position:top left;background-repeat:repeat-x}
html[data-look=fixed] .worked-figure{padding:18px;align-self:center}
html[data-look=fixed] .worked-figure svg{color:#31382a;background:none}
html[data-look=fixed] .worked-figure svg text{font-family:var(--display);font-size:15px;fill:currentColor;letter-spacing:0}
html[data-look=fixed] .worked-figure figcaption{font:11px/1.6 var(--mono);color:#4b5140}
html[data-look=fixed] .formula-strip{background:linear-gradient(#494d3260,#494d3260),var(--fixed-pulp);border:5px solid transparent;border-image:var(--fixed-soft) 17 / 5px / 0 stretch;box-shadow:none;padding:15px}
html[data-look=fixed] .hint-item{padding:18px 20px;gap:12px;grid-template-columns:25px minmax(0,1fr)}
html[data-look=fixed] .hint-item>span{font:17px/1.6 var(--display);color:#303528}
html[data-look=fixed] .answer-review{border:6px solid transparent;border-image:var(--fixed-soft) 17 / 6px / 0 stretch;padding:22px;margin:8px;background:linear-gradient(#434a305c,#434a305c),var(--fixed-pulp);box-shadow:none}
html[data-look=fixed] .answer-text{font:20px/1.55 var(--display)}
html[data-look=fixed] :is(.solution-steps,.attempt-readback){border:0;box-shadow:none;background:linear-gradient(#232b2080,#232b2080),var(--fixed-pulp);border-left:6px solid transparent;border-image:var(--fixed-soft) 17 / 0 0 0 6px / 0 stretch}
/* Graphs keep their tested plot coordinates, not pseudo-elements shared with dates. */
html[data-look=fixed] :is(.plot-bar,.day-bar,.hist-bin){border:0!important;border-image:none!important;background:none!important;box-shadow:none!important;padding:0!important;border-radius:0}
html[data-look=fixed] .plot-area{background-color:transparent}
html[data-look=fixed] .plot-baseline{background:var(--fixed-rule) left bottom/800px 4px;height:3px;opacity:.9}
html[data-look=fixed] :is(.plot-y,.plot-dates,.plot-bin-labels){font-family:var(--mono);color:var(--muted)}
html[data-look=fixed] .plot-stack{filter:none}
html[data-look=fixed] .plate-heading .activity-controls button{border:4px solid transparent;border-image:none;padding:6px 8px;min-height:32px;color:var(--muted)}
html[data-look=fixed] .plate-heading .activity-controls button:is(.active,[aria-pressed=true],:hover){border-image:var(--fixed-soft) 17 / 4px / 0 stretch;background:var(--accent-bg);color:var(--text)}
/* Calculator: compact, movable, easy to distinguish from the question. */
html[data-look=fixed] .floating-calculator{width:324px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 24px);padding:0;border:7px solid transparent;border-image:var(--fixed-edge) 17 / 7px / 0 stretch;box-shadow:2px 9px 24px #0008;background:linear-gradient(#252a1ee0,#252a1ee0),var(--fixed-pulp);color:var(--text);overflow:auto;z-index:180;border-radius:0}
html[data-look=fixed] .floating-calc-head{display:flex;align-items:center;justify-content:space-between;padding:10px 11px;gap:10px;background:var(--fixed-rule) bottom left/500px 6px repeat-x;position:sticky;top:0;background-color:#30362a;z-index:2;border:0;box-shadow:none}
html[data-look=fixed] .calc-grip{display:flex;align-items:center;gap:10px;flex:1;min-width:0;font:22px/1.2 var(--display);border:0;background:none;touch-action:none;cursor:grab}
html[data-look=fixed] .calc-grip .icon{width:15px;height:15px}
html[data-look=fixed] .floating-calc-head>div{display:flex;gap:6px;flex:none}
html[data-look=fixed] .floating-calc-head>div>button{width:30px;height:30px;display:grid;place-items:center;font:23px/1 var(--body);border:3px solid transparent;border-image:var(--fixed-soft) 17 / 3px / 0 stretch;background:#484e35;color:#e5ddc6;padding:0}
html[data-look=fixed] .floating-calc-body{padding:12px 13px 13px;overflow:visible}
html[data-look=fixed] .floating-calc-form>label{font:10px/1.5 var(--body);letter-spacing:.12em;margin-bottom:5px}
html[data-look=fixed] #floating-expression{font:16px/1.4 var(--mono);padding:9px 11px;min-height:43px;border:5px solid transparent;border-image:var(--fixed-soft) 17 / 5px / 0 stretch;background:#1e261a;color:var(--text);box-shadow:none;width:100%}
html[data-look=fixed] .floating-calc-form>output{font:26px/1.3 var(--mono);min-height:42px;display:block;overflow-wrap:anywhere;padding:9px 1px;color:#dfd5ac}
html[data-look=fixed] .floating-calc-form>output[data-error=true]{font-size:13px;color:#f0b599}
html[data-look=fixed] .floating-calc-keys{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
html[data-look=fixed] .floating-calc-keys>button,html[data-look=fixed] .calc-bottom-actions>button{display:grid;place-items:center;min-height:38px;border:4px solid transparent;border-image:var(--fixed-soft) 17 / 4px / 0 stretch;background:#424835;color:var(--text);font:22px/1.1 var(--display);padding:4px;box-shadow:none}
html[data-look=fixed] .floating-calc-keys>button:hover,html[data-look=fixed] .calc-bottom-actions>button:hover{background:#626849;color:#fff7df}
html[data-look=fixed] .calc-bottom-actions{display:grid;grid-template-columns:1fr 1fr 2fr;gap:6px;margin:8px 0 0}
html[data-look=fixed] .calc-bottom-actions>button{font:15px/1.3 var(--body);min-height:38px}
html[data-look=fixed] .calc-bottom-actions .calc-equals{background:#666d47;color:#eee5cc;font-size:23px}
html[data-look=fixed] .floating-calc-body>details{margin:9px 0}
html[data-look=fixed] .floating-calc-body summary{font:12px/1.4 var(--body);padding:6px 0;color:var(--muted)}
html[data-look=fixed] .calc-position{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0 0;border:0;font:11px/1.4 var(--body)}
html[data-look=fixed] [data-calc-position]{border:4px solid transparent;border-image:var(--fixed-soft) 17 / 4px / 0 stretch;background:#30372a;color:var(--text);padding:5px 8px;min-height:32px;width:auto;max-width:65%;font:12px/1.4 var(--body)}
html[data-look=fixed] .floating-calculator.is-minimized{width:260px;max-height:60px}
html[data-look=fixed] .calc-receipt button{border:0;background:var(--fixed-rule) bottom left/500px 5px repeat-x;padding:9px 1px;font:12px/1.5 var(--mono);gap:10px}
/* Owner, record and dialogs use the same materials as student reading. */
html[data-look=fixed] .owner-site .overview-layout{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:15px}
html[data-look=fixed] .owner-site .chart-wrap{max-height:250px}
html[data-look=fixed] .owner-site .chart-wrap svg{max-height:230px}
html[data-look=fixed] .history-item{box-shadow:none;margin:7px 0}
html[data-look=fixed] .history-summary{padding:15px 13px}
html[data-look=fixed] .history-question{font:19px/1.5 var(--display)}
html[data-look=fixed] .history-list{padding:0 10px 16px}
html[data-look=fixed] .empty{min-height:140px;padding:30px 25px}
html[data-look=fixed] .queue-toolbar{padding:14px 0}
html[data-look=fixed] .queue-evidence pre,html[data-look=fixed] .source-content{font:12px/1.65 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere}
html[data-look=fixed] .queue-decision{position:relative;bottom:auto;background:linear-gradient(#363c2abb,#363c2abb),var(--fixed-pulp)}
html[data-look=fixed] dialog{border:7px solid transparent;border-image:var(--fixed-edge) 17 / 7px / 0 stretch;background:linear-gradient(#252a20bc,#252a20bc),var(--fixed-pulp);color:var(--text);border-radius:0;box-shadow:3px 14px 45px #000a;max-width:calc(100vw - 20px);max-height:90dvh}
html[data-look=fixed] .dialog-head{background-color:#303529;padding:19px 21px}
html[data-look=fixed] .dialog-body{padding:20px 21px}
html[data-look=fixed] #search-results li{border:0;background:var(--fixed-rule) bottom left/600px 5px repeat-x}
html[data-look=fixed] #search-results .search-result{padding:14px 9px;min-height:65px;border:0;box-shadow:none}
html[data-look=fixed] #search-results .search-result:is(:hover,:focus-visible){background:#52593b;color:var(--text)}
html[data-look=fixed] .document-shell{max-width:1380px;margin:auto;padding:20px}
html[data-look=fixed] .document-body{background:none;border:0;color:var(--text)}
html[data-look=fixed] .document-body>.plain-copy{max-width:75ch;border:7px solid transparent;border-image:var(--fixed-edge) 17 / 7px / 0 stretch;background:var(--fixed-pulp);padding:28px;margin-top:20px}
html[data-look=fixed] .plain-copy p{font:17px/1.75 var(--display)}
html[data-look=fixed] .plain-copy h2{font:24px/1.3 var(--display);margin:26px 0 12px}
html[data-look=fixed] .about-letter{padding:35px}
html[data-look=fixed] .document-foot{border:0;background:var(--fixed-rule) top left/900px 6px repeat-x;padding-top:20px;display:flex;gap:18px;flex-wrap:wrap}
/* Narrow layouts recompose instead of shrinking the entire desktop. */
@media(max-width:1300px){html[data-look=fixed] .mast-tag{display:none}html[data-look=fixed] .common-masthead{gap:10px;padding-left:15px;padding-right:15px}html[data-look=fixed] .workbench-layout{grid-template-columns:minmax(0,1fr) 264px}html[data-look=fixed] .question-layout.with-figure{grid-template-columns:1fr}html[data-look=fixed] .figureWrap{max-width:390px;justify-self:center;width:100%}html[data-look=fixed] .question-layout.with-figure .q-title{max-width:none}}
@media(max-width:1080px){html[data-look=fixed] .record-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-look=fixed] .press-band{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-look=fixed] .reference-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-look=fixed] .brand-word{font-size:34px!important}html[data-look=fixed] [data-site-header] .student-nav .site-tab{font-size:15px;padding:7px}html[data-look=fixed] .save-status{display:none}html[data-look=fixed] .record-totals>div{padding:12px}html[data-look=fixed] .record-totals strong{font-size:28px}}
@media(max-width:850px){html[data-look=fixed] .main{padding:10px 9px 0}html[data-look=fixed] .practice-setup{grid-template-columns:1fr;margin:0 10px 22px}html[data-look=fixed] .workbench-layout{grid-template-columns:1fr}html[data-look=fixed] .quiz-side{display:grid;grid-template-columns:1fr 1fr;gap:12px}html[data-look=fixed] .scratch-sheet{grid-column:1/-1}html[data-look=fixed] .record-hero{grid-template-columns:minmax(0,1fr) 220px}html[data-look=fixed] .owner-site .overview-layout{grid-template-columns:1fr}html[data-look=fixed] .quiz-position{order:3;width:100%}html[data-look=fixed] .record-totals{grid-template-columns:repeat(3,minmax(0,1fr))}html[data-look=fixed] .hero-scene .resume-column{min-width:0;max-width:70%}}
@media(max-width:700px){html[data-look=fixed] .common-masthead{min-height:67px}html[data-look=fixed] .student-nav.open{border:6px solid transparent;border-image:var(--fixed-edge) 17 / 6px / 0 stretch;background:#272c20}html[data-look=fixed] .hero-scene .resume-column{max-width:85%;padding:22px 20px}html[data-look=fixed] .hero-scene h1{font-size:43px}html[data-look=fixed] .press-band,html[data-look=fixed] .record-grid{grid-template-columns:1fr}html[data-look=fixed] .record-hero{grid-template-columns:1fr}html[data-look=fixed] .record-portrait{inset:0;width:100%;opacity:.4}html[data-look=fixed] .record-hero>div:not(.record-portrait):not(.record-controls){padding:23px 23px 10px;background:linear-gradient(90deg,#182017ed,#182017a6)}html[data-look=fixed] .record-controls{grid-template-columns:1fr 1fr;margin:6px 13px 12px;gap:8px;padding:17px;align-items:center}html[data-look=fixed] .record-controls label{grid-column:1/-1}html[data-look=fixed] .record-controls select{grid-column:1/-1}html[data-look=fixed] .record-totals strong{font-size:27px}html[data-look=fixed] .record-totals .plate-label{font-size:9px}html[data-look=fixed] .reference-shelf{grid-template-columns:1fr;padding:12px;gap:15px}html[data-look=fixed] .q-title{font-size:26px}html[data-look=fixed] .question-layout{padding:18px;gap:16px}html[data-look=fixed] .quiz-side{grid-template-columns:1fr}html[data-look=fixed] .scratch-sheet{grid-column:auto}html[data-look=fixed] .choice-row .choice{font-size:21px}html[data-look=fixed] .question-footer{padding:16px}html[data-look=fixed] .floating-calculator{width:305px;max-height:calc(100dvh - 16px)}html[data-look=fixed] .owner-site .sidebar{padding:7px}html[data-look=fixed] .document-shell{padding:12px}html[data-look=fixed] .about-letter{padding:25px}html[data-look=fixed] .segmented{width:100%;gap:3px}html[data-look=fixed] .segmented button{flex:1 1 auto;font-size:12px;padding:6px 8px}html[data-look=fixed] .mast-tools{gap:2px}}
@media(max-width:400px){html[data-look=fixed] .brand-word{font-size:29px!important}html[data-look=fixed] .mast-tools .account-link{display:none}html[data-look=fixed] .record-totals{grid-template-columns:repeat(2,minmax(0,1fr))}html[data-look=fixed] .question-layout{padding:16px}html[data-look=fixed] .q-title{font-size:24px}html[data-look=fixed] .quiz-step{min-width:25px;padding:4px}}
/* Texture and reduced motion are accessibility controls, not alternate themes. */
html[data-look=fixed][data-texture=off]{--fixed-pulp:none;--fixed-paper:none;--fixed-edge:none;--fixed-soft:none;--fixed-ink:none;--fixed-rule:none}
html[data-look=fixed][data-texture=off] :is(.plate,.panel,.quick-card,.metric-card,.question-panel,.hero-scene,.record-hero,.record-totals,.quiz-top,.field-rail,.owner-site .sidebar,dialog){border-color:#676c54;background-image:none;box-shadow:none}
html[data-look=fixed][data-texture=off] :is(.dossier-paper,.last-slip,.scratch-sheet,.source-book,.hint-item,.about-letter,.worked-figure,.record-controls){background:var(--paper)!important;color:var(--paper-text);border:0}
html[data-look=fixed][data-texture=off] :is(.record-controls,.dossier-paper,.last-slip,.scratch-sheet,.source-book,.hint-item,.about-letter,.worked-figure)::before{display:none}
html[data-look=fixed][data-texture=off] :is(.input,.select,.textarea,.unit-input input,.button,.confidence-button,.segmented,.plate-cta,.floating-calculator,#floating-expression){border-color:#7b8067;background-image:none}
@media(prefers-reduced-motion:reduce){html[data-look=fixed] *,html[data-look=fixed] *::before,html[data-look=fixed] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
html[data-look=fixed][data-motion=reduced] *,html[data-look=fixed][data-motion=reduced] *::before,html[data-look=fixed][data-motion=reduced] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(forced-colors:active){html[data-look=fixed] *{border-image:none!important;background-image:none!important;box-shadow:none!important}html[data-look=fixed] :is(button,input,textarea,select){border:1px solid ButtonText!important}html[data-look=fixed] :focus-visible{outline:2px solid Highlight!important}}
/* Contact print belongs behind the analytics heading, never behind its filter. */
html[data-look=fixed] .record-hero::before{content:none}
html[data-look=fixed] .record-hero .record-portrait{display:block;position:absolute;inset:0 170px 0 auto;width:56%;margin:0;background:url('/assets/fixed/record-detail.webp') 50% 50%/cover no-repeat;opacity:.75}
html[data-look=fixed] .record-totals{background-image:linear-gradient(#54594599,#464b3999),var(--fixed-pulp)}
html[data-look=fixed] .analytics-primary>.plate:nth-child(2){background-image:linear-gradient(#333d29aa,#333d2977),var(--fixed-pulp);background-position:0 0,120px -190px;border-image-source:var(--fixed-soft)}
html[data-look=fixed] .analytics-details>.plate:nth-child(2){background-image:linear-gradient(#41453680,#363a2a66),var(--fixed-pulp);background-position:0 0,340px 200px}
html[data-look=fixed] .record-controls:focus-within::before{filter:drop-shadow(2px 4px 3px #0008)}
@media(max-width:700px){html[data-look=fixed] .record-hero .record-portrait{inset:0;width:100%;opacity:.4}}
/* Current question controls are buttons, not decorative progress circles. */
html[data-look=fixed] .quiz-position{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;flex:0 1 auto}
html[data-look=fixed] .quiz-position button{border:4px solid transparent;border-image:var(--fixed-soft) 17 / 4px / 0 stretch;background:#262d20;color:var(--muted);border-radius:0;width:32px;height:34px;min-width:28px;padding:4px;font:12px/1 var(--mono);display:grid;place-items:center;box-shadow:none}
html[data-look=fixed] .quiz-position button:is(.current,:hover,:focus-visible){background:#535c38;color:var(--text);border-image-source:var(--fixed-edge)}
html[data-look=fixed] .quiz-position button.checked{color:#d1ddb4;background:#38462c}
html[data-look=fixed] .quiz-count{font:12px/1.5 var(--body);letter-spacing:.07em;margin-top:8px}
html[data-look=fixed] .set-purpose{font:11px/1.5 var(--body);color:var(--muted)}
html[data-look=fixed] .setup-divider{border:0;height:6px;background:var(--fixed-rule) left center/800px 6px repeat-x;margin:16px 0}
html[data-look=fixed] .setup-subject-grid>button{border:0;background:var(--fixed-rule) bottom left/600px 5px repeat-x;gap:14px;padding:10px 0}
html[data-look=fixed] .setup-subject-grid>button[aria-pressed=true]{background-color:#515b36;color:#ebe4c9}
html[data-look=fixed] .notice-strip{border:0;border-left:5px solid transparent;border-image:var(--fixed-edge) 17 / 0 0 0 5px / 0 stretch;background:#51563c66;box-shadow:none}
html[data-look=fixed] .student-nav{border:0!important;box-shadow:none}
html[data-look=fixed][data-texture=off] .quiz-position button{border-color:#767e60}
