.pdf-paper-page{--pdf-paper-accent: #3b82f6}.pdf-paper-page .pdf-paper-question-block{scroll-margin-top:1.5rem}.pdf-paper-page .pdf-paper-text{color:var(--problem-text);font-family:var(--font-body, Georgia, serif);font-size:1rem;line-height:1.8}.pdf-paper-page .pdf-paper-text p{margin:0}.pdf-paper-page .pdf-paper-text p+p{margin-top:.8rem}.pdf-paper-page .pdf-paper-inline-figures{display:grid;gap:1rem;margin:1.5rem 0 1.25rem}.pdf-paper-page .pdf-paper-inline-figure{margin:0;overflow:hidden;border:1px solid var(--problem-border);border-radius:var(--problem-radius);background:var(--problem-surface-subtle);box-shadow:0 14px 34px #0f172a14}.dark .pdf-paper-page .pdf-paper-inline-figure{box-shadow:0 14px 34px #0206173d}.pdf-paper-page .pdf-paper-inline-figure a{position:relative;display:block;background:#f8fafc}.pdf-paper-page .pdf-paper-inline-figure img{display:block;width:100%;max-height:31rem;object-fit:contain}.pdf-paper-page .pdf-paper-inline-figure__open{position:absolute;right:.7rem;bottom:.7rem;display:inline-flex;align-items:center;gap:.35rem;border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:.4rem .65rem;color:#fff;background:#0f172acc;font-family:DM Sans,ui-sans-serif,system-ui,sans-serif;font-size:.65rem;font-weight:700;letter-spacing:.04em;opacity:0;transform:translateY(.25rem);transition:opacity .18s ease,transform .18s ease}.pdf-paper-page .pdf-paper-inline-figure a:hover .pdf-paper-inline-figure__open,.pdf-paper-page .pdf-paper-inline-figure a:focus-visible .pdf-paper-inline-figure__open{opacity:1;transform:translateY(0)}.pdf-paper-page .pdf-paper-inline-figure a:focus-visible{outline:3px solid var(--theme-primary);outline-offset:-3px}.pdf-paper-page .pdf-paper-inline-figure figcaption{border-top:1px solid var(--problem-border);padding:.65rem .85rem;color:var(--problem-muted);font-family:DM Sans,ui-sans-serif,system-ui,sans-serif;font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.pdf-paper-page .pdf-paper-parts{display:grid;gap:1rem;margin-top:1.25rem}.pdf-paper-page .pdf-paper-part{border:1px solid var(--problem-border);border-radius:calc(var(--problem-radius) - .2rem);background:var(--problem-surface-subtle);padding:1rem 1.1rem 1.1rem}.pdf-paper-page .pdf-paper-part--legacy{border-color:#3b82f647;background:#ffffffc7;box-shadow:0 10px 26px #0f172a0f;padding:1.2rem 1.25rem 1.25rem}.dark .pdf-paper-page .pdf-paper-part--legacy{border-color:#60a5fa47;background:#0f172a7a;box-shadow:0 12px 30px #0206172e}.pdf-paper-page .pdf-paper-part--legacy .pdf-paper-part__header{margin:-.2rem -.15rem .8rem;border-bottom:1px solid var(--problem-border);padding-bottom:.75rem;color:var(--theme-primary);font-size:.9rem}.pdf-paper-page .pdf-paper-part--legacy .pdf-paper-text{font-size:1rem;line-height:1.75}.pdf-paper-page .pdf-paper-part--solution{border-style:dashed}.pdf-paper-page .pdf-paper-part__header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.55rem;color:var(--problem-text);font-family:DM Sans,ui-sans-serif,system-ui,sans-serif;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:none}.pdf-paper-page .pdf-paper-part__header span:last-child{color:var(--problem-muted);font-size:.68rem;letter-spacing:.1em}.pdf-paper-page .pdf-paper-part .pdf-paper-response{margin-top:1.15rem}.pdf-paper-page .pdf-paper-source{margin-top:1.75rem;border-top:1px dashed var(--problem-border);padding-top:1rem}.pdf-paper-page .pdf-paper-source summary{cursor:pointer;color:var(--problem-muted);font-family:DM Sans,ui-sans-serif,system-ui,sans-serif;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.pdf-paper-page .pdf-paper-source summary:hover{color:var(--theme-primary)}.pdf-paper-page .pdf-paper-figure{margin:1.25rem auto 0;max-width:48rem;overflow:hidden;border:1px solid var(--problem-border);border-radius:var(--problem-radius);background:var(--problem-surface-subtle);box-shadow:0 16px 44px #0f172a14}.dark .pdf-paper-page .pdf-paper-figure{box-shadow:0 16px 44px #0206173d}.pdf-paper-page .pdf-paper-figure img{display:block;width:100%;max-height:42rem;object-fit:contain}.pdf-paper-page .pdf-paper-figure figcaption{border-top:1px solid var(--problem-border);padding:.75rem 1rem;color:var(--problem-muted);font-family:DM Sans,ui-sans-serif,system-ui,sans-serif;font-size:.75rem;line-height:1.45;text-align:center}.pdf-paper-response{margin-top:1.5rem}.pdf-paper-response textarea{min-height:7rem;resize:vertical}.pdf-paper-response__saved{color:var(--problem-success)}.pdf-paper-page .pdf-paper-response__actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:.75rem}.pdf-paper-page .pdf-paper-response__label{color:var(--problem-muted);font-family:DM Sans,ui-sans-serif,system-ui,sans-serif;font-size:.62rem;font-weight:800;letter-spacing:.08em}.pdf-paper-page .pdf-paper-response__checks{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.4rem}.pdf-paper-page .pdf-paper-check-button{display:inline-flex;align-items:center;gap:.35rem;border:1px solid var(--problem-border);border-radius:.65rem;padding:.4rem .6rem;color:var(--problem-muted);background:transparent;font-family:DM Sans,ui-sans-serif,system-ui,sans-serif;font-size:.68rem;font-weight:800;transition:color .16s ease,border-color .16s ease,background-color .16s ease}.pdf-paper-page .pdf-paper-check-button--correct:hover,.pdf-paper-page .pdf-paper-check-button--correct[aria-pressed=true]{border-color:var(--problem-success);color:var(--problem-success);background:#10b9811a}.pdf-paper-page .pdf-paper-check-button--incorrect:hover,.pdf-paper-page .pdf-paper-check-button--incorrect[aria-pressed=true]{border-color:#e11d48;color:#e11d48;background:#e11d4814}.pdf-paper-page .pdf-paper-check-button:disabled{cursor:not-allowed;opacity:.4}.pdf-paper-page .pdf-paper-check{display:inline-flex;align-items:center;gap:.3rem;font-family:DM Sans,ui-sans-serif,system-ui,sans-serif;font-size:.68rem;font-weight:800;letter-spacing:.05em}.pdf-paper-page .pdf-paper-check--correct{color:var(--problem-success)}.pdf-paper-page .pdf-paper-check--incorrect{color:#e11d48}.pdf-paper-page .pdf-paper-hint,.pdf-paper-page .pdf-paper-solution{margin-top:1.15rem}.pdf-paper-page .pdf-paper-hint__toggle,.pdf-paper-page .pdf-paper-solution__toggle{display:inline-flex;align-items:center;gap:.45rem;color:var(--problem-muted);font-family:DM Sans,ui-sans-serif,system-ui,sans-serif;font-size:.72rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;transition:color .16s ease}.pdf-paper-page .pdf-paper-hint__toggle:hover,.pdf-paper-page .pdf-paper-solution__toggle:hover{color:var(--theme-primary)}.pdf-paper-page .pdf-paper-hint__icon--active{color:#f59e0b;fill:currentColor}.pdf-paper-page .pdf-paper-hint__body{margin-top:.65rem;border-left:4px solid #f59e0b;border-radius:0 var(--problem-radius) var(--problem-radius) 0;padding:.85rem 1rem;color:var(--problem-text);background:#f59e0b0f;font-family:var(--font-body, Georgia, serif);font-size:.9rem;line-height:1.6}.pdf-paper-page .pdf-paper-hint__body p:last-child{margin-top:.45rem}.pdf-paper-page .pdf-paper-solution{border-top:1px dashed var(--problem-border);padding-top:1rem}.pdf-paper-page .pdf-paper-solution__body{max-height:36rem;overflow:auto;margin-top:.75rem;border:1px solid rgba(16,185,129,.25);border-radius:var(--problem-radius);padding:1rem 1.1rem;background:#10b9810d}.pdf-paper-page .pdf-paper-solution__label{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.8rem;color:var(--problem-muted);font-family:DM Sans,ui-sans-serif,system-ui,sans-serif;font-size:.65rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.pdf-paper-page .pdf-paper-solution__body .pdf-paper-text{font-size:.9rem;line-height:1.7}.pdf-paper-page .pdf-paper-solution__empty{margin:0;color:var(--problem-muted);font-family:var(--font-body, Georgia, serif);font-size:.9rem;line-height:1.6}.pdf-paper-page .pdf-paper-solution__source{display:inline-flex;align-items:center;gap:.4rem;margin-top:.9rem;color:var(--theme-primary);font-family:DM Sans,ui-sans-serif,system-ui,sans-serif;font-size:.72rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.pdf-paper-page .pdf-paper-solution__source:hover{text-decoration:underline}.pdf-paper-progress-hud{pointer-events:none}.pdf-paper-progress-hud>*{pointer-events:auto}@media(max-width:640px){.pdf-paper-page .pdf-paper-response__actions{align-items:flex-start;flex-direction:column}.pdf-paper-page .pdf-paper-response__checks{justify-content:flex-start}.pdf-paper-page .pdf-paper-solution__label{align-items:flex-start;flex-direction:column;gap:.25rem}.pdf-paper-page .pdf-paper-figure img{max-height:32rem}.pdf-paper-page .pdf-paper-inline-figure img{max-height:24rem}}@media(prefers-reduced-motion:reduce){.pdf-paper-page *,.pdf-paper-page *:before,.pdf-paper-page *:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Shared print theme for archive readers. Scoped to problem layouts only. */
:is(.workspace-container, .problem-page-shell) {
  --problem-canvas: #eee7d9 !important;
  --problem-canvas-muted: #e3dccd !important;
  --problem-surface: #f3eddf !important;
  --problem-surface-strong: #f7f1e5 !important;
  --problem-surface-subtle: #ccd7de !important;
  --problem-border: #34392e40 !important;
  --problem-border-strong: #34392e70 !important;
  --problem-text: #191b19 !important;
  --problem-muted: #555649 !important;
  --problem-accent: #9f3d28 !important;
  --problem-accent-strong: #84351f !important;
  --problem-accent-soft: #e9c96f55 !important;
  --problem-success: #276443 !important;
  --problem-error: #a32f28 !important;
  --problem-radius: 0 !important;
  --problem-radius-sm: 0 !important;
  --font-title: 'DM Serif Display', Georgia, serif !important;
  --font-body: Georgia, serif !important;
  --font-ui: 'DM Sans', Arial, sans-serif !important;
  --theme-primary: #9f3d28 !important;
  --theme-secondary: #53798b !important;
  --theme-primary-glow: transparent !important;
  --theme-secondary-glow: transparent !important;
  --theme-bg-glow: transparent !important;
  color-scheme: light;
  color: var(--problem-text) !important;
  background: #eee7d9 url('/archive-print-v1/assets/paper.png') repeat !important;
  background-size: 700px !important;
  font-family: Georgia, serif !important;
  padding-top: 128px !important;
}
:is(.workspace-container, .problem-page-shell) :is(h1,h2,h3,h4,.font-display) {
  font-family: 'DM Serif Display', Georgia, serif !important;
  font-weight: 400 !important;
  color: #191b19 !important;
  text-transform: none;
}
:is(.workspace-container, .problem-page-shell) h1 {
  font-size: clamp(2.5rem, 5.7vw, 5.4rem) !important;
  line-height: .98 !important;
  letter-spacing: -.045em !important;
  overflow-wrap: anywhere;
}
:is(.workspace-container, .problem-page-shell) h1 span { color: #191b19 !important; font-style: italic; }
:is(.workspace-container, .problem-page-shell) h2 { font-size: clamp(1.65rem, 3vw, 2.5rem) !important; line-height: 1.12; }
:is(.workspace-container, .problem-page-shell) .font-serif { font-family: Georgia, serif !important; }
:is(.workspace-container, .problem-page-shell) .font-sans { font-family: 'DM Sans', Arial, sans-serif !important; }
/* Legacy papers use utility colors; preserve semantic answer feedback below. */
:is(.workspace-container, .problem-page-shell) :is([class*='text-slate-'],[class*='text-gray-'],[class*='text-zinc-'],[class*='text-stone-'],[class*='text-white']) { color: #292b25 !important; }
:is(.workspace-container, .problem-page-shell) :is([class*='text-blue-'],[class*='text-indigo-'],[class*='text-orange-']) { color: #84351f !important; }
:is(.workspace-container, .problem-page-shell) :is([class*='bg-slate-'],[class*='bg-gray-'],[class*='bg-zinc-'],[class*='bg-stone-'],[class*='bg-white'],.problem-surface,.problem-question-block,.problem-utility-card) {
  background-color: #f3eddf !important;
  background-image: none !important;
  border-color: #34392e40 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
:is(.workspace-container, .problem-page-shell) :is([class*='rounded-xl'],[class*='rounded-2xl'],[class*='rounded-3xl'],.problem-surface,.problem-question-block,.problem-utility-card,.problem-control,.problem-select) { border-radius: 0 !important; box-shadow: none !important; }
:is(.workspace-container, .problem-page-shell) :is([class*='border-slate-'],[class*='border-gray-'],[class*='border-stone-']) { border-color: #34392e40 !important; }
.workspace-container > [class*='max-w-'] { max-width: 1180px; }
/* Blue title sheet, yellow references, terracotta section dividers. */
.workspace-container.workspace-container div:has(> h1), .problem-page-shell.problem-page-shell header.problem-surface {
  position: relative;
  background: #a8c4d8 url('/archive-print-v1/assets/paper.png') repeat !important;
  background-size: 700px !important;
  background-blend-mode: multiply;
  border: 0 !important;
  padding: clamp(1.5rem, 4vw, 3.5rem) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.workspace-container.workspace-container h1 span { color: #191b19 !important; }
.workspace-container div:has(> h1) > [class*='absolute'][class*='top-0']:not([class*='pointer-events-none']) {
  position: static !important; display: table; margin-bottom: 1.25rem;
  background: transparent !important; color: #292b25 !important;
  padding: 0 !important; letter-spacing: .18em; font-weight: 400;
}
.workspace-container div:has(> h1) > p { max-width: 70ch; font-size: 1.08rem; }
.workspace-container [class*='grid']:has(> span.col-span-full) { background: #e9c96f !important; padding: 1.5rem !important; }
.workspace-container div:has(> h2) { border-color: #9f3d28 !important; }
.workspace-container div:has(> h2):not([id]):not([class*='fixed']) > h2 { padding-block: .4rem; }
.workspace-container [id^='qblock-'] { border: 1px solid #34392e55 !important; background: #f3eddf !important; border-radius: 0 !important; box-shadow: none !important; }
.workspace-container [id^='qblock-'] > div:first-child { background: #c96950 !important; color: #191b19 !important; border-color: #34392e40 !important; }
.workspace-container [id^='qblock-'] > div:first-child > span:first-child { font-size: 1.7rem; }
.workspace-container [id^='qblock-'] > div:first-child > span:last-child { background: transparent !important; color: #191b19 !important; border: 0 !important; }
.workspace-container > a[href='#/archive'] {
  position: static !important; display: block; width: min(100% - 3rem, 1116px); margin: 0 auto 1.5rem;
}
.workspace-container > a[href='#/archive'] button { background: transparent !important; border: 0 !important; border-bottom: 1px solid #34392e70 !important; border-radius: 0 !important; box-shadow: none !important; padding: .5rem 0 !important; }
.workspace-container > a[href='#/archive'] span { display: inline !important; }
:is(.workspace-container, .problem-page-shell) :is(input,textarea,select,[contenteditable='true']) {
  color: #191b19 !important; background: #faf5e9 !important; border-color: #34392e70 !important; border-radius: 0 !important; box-shadow: none !important;
}
:is(.workspace-container, .problem-page-shell) :is(input,textarea)::placeholder { color: #696859 !important; }
:is(.workspace-container, .problem-page-shell) :is(button,a,input,textarea,select,[contenteditable='true']):focus-visible { outline: 2px solid #84351f !important; outline-offset: 4px; }
:is(.workspace-container, .problem-page-shell) button { min-height: 36px; }
:is(.workspace-container, .problem-page-shell) :is(button[class*='bg-blue-600'],button[class*='bg-orange-600'],.problem-control--primary) { background: #9f3d28 !important; color: #fff7e8 !important; border-color: #9f3d28 !important; }
:is(.workspace-container, .problem-page-shell) :is([class*='text-emerald-'],[class*='text-green-']) { color: #276443 !important; }
:is(.workspace-container, .problem-page-shell) :is([class*='text-red-'],[class*='text-rose-']) { color: #a32f28 !important; }
:is(.workspace-container, .problem-page-shell) :is([class*='bg-emerald-'],[class*='bg-green-']) { background-color: #deead6 !important; }
:is(.workspace-container, .problem-page-shell) :is([class*='bg-red-'],[class*='bg-rose-']) { background-color: #f4ded2 !important; }
:is(.workspace-container, .problem-page-shell) :is([class*='border-emerald-'],[class*='border-green-']) { border-color: #276443 !important; }
:is(.workspace-container, .problem-page-shell) :is([class*='border-red-'],[class*='border-rose-']) { border-color: #a32f28 !important; }
.problem-page-shell .problem-stat-surface { background: #e9c96f !important; }
.problem-page-shell aside.problem-surface { background: #e9c96f !important; }
.problem-page-shell .problem-reader-panel__bar { background: #c96950; color: #191b19; }
:is(.workspace-container, .problem-page-shell) :is(h1,h2,h3,h4).font-sans { font-family: 'DM Serif Display', Georgia, serif !important; }
.problem-page-shell aside[aria-labelledby='paper-index-heading'] { background: #e9c96f !important; padding: 1.25rem; }
:is(.workspace-container, .problem-page-shell) .katex-display { max-width: 100%; overflow-x: auto; overflow-y: hidden; padding-block: .3rem; }
:is(.workspace-container, .problem-page-shell) img { max-width: 100%; }
:is(.workspace-container, .problem-page-shell) [class*='pointer-events-none'][class*='blur'] { display: none; }
@media(max-width: 640px) {
  :is(.workspace-container, .problem-page-shell) { padding-top: 100px !important; }
  .workspace-container [id^='qblock-'] > div { padding: 1rem !important; }
  .workspace-container div:has(> h1) { padding: 1.5rem !important; }
  .workspace-container div:has(> h1) h1 { font-size: 2.65rem !important; }
  :is(.workspace-container, .problem-page-shell) :is(h1,h2,h3) { overflow-wrap: anywhere; }
  .problem-page-shell header.problem-surface { gap: 1.5rem; }
  .workspace-container [class*='grid']:has(> span.col-span-full) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
}
@media(prefers-reduced-motion: reduce) {
  :is(.workspace-container, .problem-page-shell), :is(.workspace-container, .problem-page-shell) * { scroll-behavior: auto !important; transition-duration: 0s !important; }
}

.pdf-paper-page .pdf-paper-review-note{border-left:3px solid #9f3d28;background:#e9c96f55;padding:1rem;margin:0 0 1.5rem;font:14px/1.5 'DM Sans',Arial,sans-serif;color:#423e2d}
.pdf-paper-page .pdf-paper-question-block{scroll-margin-top:120px}
.pdf-paper-page .pdf-paper-question-block>div:first-child{background:#c96950!important;color:#191b19!important}
.pdf-paper-page .pdf-paper-part,.pdf-paper-page .pdf-paper-part--legacy{border-radius:0;background:var(--problem-surface)!important;box-shadow:none!important;border-color:var(--problem-border)!important}
.pdf-paper-page .pdf-paper-source img{max-height:none}
.pdf-paper-page .pdf-paper-response__label{max-width:28rem;line-height:1.6}
.pdf-paper-page .pdf-paper-response__actions{align-items:flex-start;gap:1rem;flex-wrap:wrap}
.pdf-paper-page .pdf-paper-solution__body{background:#dce7d6!important;color:#243321!important}
.pdf-paper-page .pdf-paper-solution__label{color:#31442b!important;line-height:1.5;gap:1rem}
.pdf-paper-page .pdf-paper-hint__body{background:#e9c96f55!important;color:#343323!important}
.pdf-paper-page .pdf-paper-check-button{min-height:40px;border-radius:0;color:#292b25!important;background:#f7f1e5!important}
.pdf-paper-page .pdf-paper-inline-figure__open{opacity:1;transform:none;background:#292b25;color:#fff!important}
.pdf-paper-page .pdf-paper-source a:focus-visible{display:block;outline:3px solid #84351f;outline-offset:3px}
.pdf-paper-page .pdf-paper-text .katex{font-size:1.08em}
.pdf-paper-page .pdf-paper-original-images{margin:1rem 0;display:grid;gap:1rem}
.pdf-paper-page .pdf-paper-original-images figure{margin:0;background:#fff;border:1px solid var(--problem-border)}
.pdf-paper-page .pdf-paper-original-images a{display:block}
.pdf-paper-page .pdf-paper-original-images img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.pdf-paper-page .pdf-paper-original-images figcaption{padding:.5rem .75rem;font:11px/1.5 Arial,sans-serif;color:#4c4b43;background:#f7f1e5}
.pdf-paper-page .pdf-paper-transcript{margin:1rem 0;border:1px solid var(--problem-border);padding:1rem}
.pdf-paper-page .pdf-paper-transcript summary{cursor:pointer;font-weight:600}
.pdf-paper-page .pdf-paper-previous-working{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin-top:1rem}
.pdf-paper-page .pdf-paper-instructions{padding:1.5rem;margin-top:1.5rem}
.pdf-paper-page .pdf-paper-instructions h2{font-family:serif;font-size:1.4rem;margin-bottom:1rem}
@media(max-width:640px){.pdf-paper-page .pdf-paper-solution__label{flex-direction:column}.pdf-paper-page .pdf-paper-progress-hud{right:12px;bottom:12px}.pdf-paper-page .pdf-paper-response__checks{width:100%;flex-wrap:wrap}.pdf-paper-page .pdf-paper-question-block>div{padding:1rem!important}}
