@font-face {
 font-family: "Instrument Sans";
 src: url("./fonts/instrument-sans.woff2") format("woff2");
 font-weight: 400 700;
 font-display: swap;
}
@font-face {
 font-family: "Instrument Serif";
 src: url("./fonts/instrument-serif.woff2") format("woff2");
 font-weight: 400;
 font-display: swap;
}
@font-face {
 font-family: "Instrument Serif";
 src: url("./fonts/instrument-serif-italic.woff2") format("woff2");
 font-style: italic;
 font-weight: 400;
 font-display: swap;
}

:root {
 --bg: #f6f3ea;
 --surface: #fdfbf5;
 --wash: #ebe8de;
 --ink: #242521;
 --muted: #615f57;
 --line: #cecbbf;
 --brand: #233ba9;
 --button: #243daf;
 --buttonink: #fffdf5;
 --rail: #efede3;
 --railtext: var(--ink);
 --focus: #ac422c;
 --bad: #a73124;
 --accent: var(--brand);
 --accent-soft: var(--wash);
 --serif: "Instrument Serif", Georgia, serif;
 --radius: 3px;
 font-family: "Instrument Sans", system-ui, sans-serif;
}
:root[data-theme=dark] {
 --bg: #20211f;
 --surface: #272825;
 --wash: #343530;
 --ink: #f5f2e8;
 --muted: #c0bdb3;
 --line: #53544c;
 --brand: #aab9ff;
 --button: #b4c1ff;
 --buttonink: #19234d;
 --rail: #292a27;
 --railtext: var(--ink);
 --focus: #f6aa89;
 --bad: #ffb1a2;
}
::selection {background:#cbd3ff;color:#101e62}

/* The public entry is composed like a printed cover and its gallery label. */
.entry {
 display: flex;
 flex-direction: column;
 max-width: 1740px;
 min-height: 100svh;
 margin: auto;
 padding: 0 clamp(22px,4.6vw,84px);
 outline: none;
}
.entry-mast {
 display: flex;
 align-items: center;
 gap: 20px;
 padding: 24px 0;
 border-bottom: 1px solid var(--ink);
}
.entry-mast .brand {font-size:1.25rem;gap:12px}
.entry-identity>img {width:35px;height:58px;object-fit:contain;flex:none}
.entry-identity>span {display:grid;gap:3px}
.entry-identity strong {font-size:1.14rem;font-weight:660;letter-spacing:-.032em}
.entry-identity small {color:var(--muted);font-size:.76rem;font-weight:510;letter-spacing:.01em}
.brandmark img {object-fit:contain}
#sidebar .brandmark,#sidebar .brandmark img {width:30px;height:48px}
@media screen and (max-width:800px) { .mobilebar .brandmark,.mobilebar .brandmark img {width:23px;height:36px} }
.entry-mast .entry-identity {white-space:nowrap}
.entry-mast .brandmark,.entry-mast .brandmark img {width:32px;height:32px}
.entry-demo {display:inline-flex;align-items:center;gap:10px;margin-left:auto;font-size:.87rem;font-weight:570;text-decoration:none;color:var(--ink)}
.entry-demo span {font-size:1.1rem;color:var(--brand)}
.entry-demo:hover,.plate-caption button:hover,.entry-secondary button:hover {text-decoration:underline;text-underline-offset:.2em}
.entry-spread {
 flex: 1;
 display: grid;
 grid-template-columns: minmax(0,1.85fr) minmax(260px,.85fr);
 align-items: center;
 gap: clamp(32px,5.2vw,95px);
 padding: clamp(30px,5vh,65px) 0;
}
.entry-art {margin:0;min-width:0}
.art-poster {
 position: relative;
 isolation: isolate;
 overflow: hidden;
 container-type: inline-size;
 aspect-ratio: 1.39;
 background: #243daf;
 color: #fff7e5;
}
.poster-name {
 position: absolute;
 z-index: 1;
 top: 15%;
 left: 6%;
 display: flex;
 flex-direction: column;
 align-items: flex-start;
 font: 400 20cqw/.795 var(--serif);
 letter-spacing: -.045em;
}
.poster-name .poster-overline {
 font: 590 clamp(.73rem,1.7cqw,1.1rem)/1.3 "Instrument Sans",sans-serif;
 text-transform: uppercase;
 letter-spacing: .17em;
 margin: 0 0 4.3cqw .45cqw;
}
.poster-name em {font-style:italic;margin-left:-.035em}
.poster-print {
 position: absolute;
 top: 13%;
 right: 6%;
 width: 44%;
 height: 77%;
 transform: rotate(5deg);
 background: #f7edcb;
 padding: 1.45cqw;
 box-shadow: 0 2px 8px #11152640;
}
.poster-print::before {
 content: "";
 position: absolute;
 z-index: -1;
 inset: 3.5% 2% -2.4% -3.9%;
 transform: rotate(-8deg);
 background: #e66c46;
}
.poster-print img {display:block;width:100%;height:100%;object-fit:contain;background:#f2e7c9}
.poster-place {
 position: absolute;
 bottom: 5.8%;
 left: 6.5%;
 font-size: clamp(.7rem,1.62cqw,1rem);
 font-weight: 500;
 letter-spacing: .025em;
}
.plate-caption {
 display:flex;
 justify-content:space-between;
 align-items:baseline;
 gap:10px;
 padding:10px 0;
 color:var(--muted);
 font-size:.79rem;
}
.plate-caption i {font:italic 1.1rem/1 var(--serif);color:var(--ink)}
.plate-caption button {
 border:0;background:transparent;color:var(--brand);font-size:inherit;font-weight:600;padding:4px 0;white-space:nowrap;
}
.plate-caption button span {margin-left:4px}
.entry-access {width:100%;max-width:390px;justify-self:center;margin-bottom:32px}
.entry-access h2 {
 font: 400 clamp(2.75rem,4vw,4.5rem)/1.03 var(--serif);
 letter-spacing: -.035em;
}
.entry-access>p {font-size:.99rem;color:var(--muted);margin:12px 0 30px;line-height:1.55}
.entry-access form {display:grid;gap:16px}
.entry-access .field {gap:8px;font-size:.87rem;font-weight:600}
.entry-access .field input {height:49px;background:transparent;border-color:var(--muted);border-radius:2px}
.entry-access .err:empty {display:none}
.entry-access .entry-submit {
 display:flex;align-items:center;justify-content:space-between;height:49px;border-radius:2px;
 padding-inline:16px;font-size:.95rem;
}
.entry-submit span {font-size:1.35rem;font-weight:400;line-height:1}
.entry-secondary {border-top:1px solid var(--line);margin-top:24px;padding-top:10px}
.entry-secondary .textlink {min-height:40px;font-size:.86rem;font-weight:550}
.plate-view {margin:0;text-align:center}
.plate-view img {display:block;margin:0 auto;max-width:100%;max-height:55dvh;object-fit:contain}
.plate-view figcaption {font-size:.88rem;color:var(--muted);line-height:1.6;margin:14px 0 0}
.plate-view a {display:block;margin-top:6px}
@media (min-width:1650px) { .entry-spread {grid-template-columns:minmax(0,1.7fr) minmax(380px,1fr)} }
@media (max-width:950px) and (min-width:701px) {
 .entry {padding-inline:3vw}
 .entry-spread {gap:3.5vw;grid-template-columns:minmax(0,1.4fr) minmax(235px,.85fr)}
 .art-poster {aspect-ratio:1.2}
 .poster-name {top:21%}
 .poster-print {height:65%;top:21%}
 .plate-credit {display:block;margin-top:2px}
}
@media (max-width:700px) {
 .entry {width:min(540px,100%);padding-inline:18px}
 .entry-mast {gap:11px;padding:13px 0}
 .entry-mast .brand {font-size:1.02rem;gap:8px}
 .entry-identity>img {width:27px;height:45px}
 .entry-identity strong {font-size:1rem}
 .entry-identity small {font-size:.68rem}
 .entry-mast .brandmark,.entry-mast .brandmark img {width:25px;height:25px}
 .entry-demo {gap:4px;font-size:.73rem}
 .entry-demo span {font-size:.9rem}
 .entry-spread {display:block;padding:18px 0 25px}
 .art-poster {aspect-ratio:1.73}
 .poster-name {font-size:18.5cqw;top:11%}
 .poster-name .poster-overline {margin-bottom:2.5cqw;letter-spacing:.12em}
 .poster-print {height:81%;width:39%;top:11%;right:10%;padding:1.4cqw}
 .poster-place {font-size:.64rem;bottom:6%}
 .plate-caption {font-size:.7rem;padding:6px 0;gap:6px}
 .plate-caption i {font-size:.94rem}
 .plate-caption button {min-height:28px}
 .entry-access {margin:12px auto 0;max-width:none;border-top:1px solid var(--ink);padding-top:19px}
 .entry-access h2 {font-size:2.6rem}
 .entry-access>p {font-size:.89rem;margin:6px 0 15px}
 .entry-access form {gap:11px}
 .entry-access .field {gap:4px}
 .entry-access .field input,.entry-access .entry-submit {height:44px}
 .entry-secondary {margin-top:15px;padding-top:3px}
}
@media (max-width:390px) {
 .entry {padding-inline:14px}
 .entry-mast,.entry-demo {gap:4px}
 .entry-demo {font-size:.68rem}
}

/* Shared type and filing surfaces. Printed reports retain their own document layout. */
@media screen {
 #sidebar {border-right:1px solid var(--line)}
 #sidebar nav {scrollbar-color:var(--line) transparent}
 .sidebar-school,.navlist-title,.sidebar-foot small {color:var(--muted)}
 .navlist-title {font-size:.68rem;text-transform:uppercase;letter-spacing:.1em;font-weight:650}
 .navitem {color:var(--ink);border-radius:1px}
 .navitem:hover {background:var(--wash)}
 .navitem.selected {background:var(--button);color:var(--buttonink)}
 .sidebar-foot {border-color:var(--line)}
 .sidebar-foot .iconbtn {color:var(--ink)}
 .avatar {border-color:var(--line);color:var(--brand);border-radius:2px}
 .topbar {background:var(--bg)}
 .mobilebar {border-bottom:1px solid var(--line)}
 .nav-open .veil {background:#1f213575}
 .page-head h1 {font:400 clamp(2.35rem,3.9vw,3.95rem)/1.05 var(--serif);letter-spacing:-.035em}
 .btn,.tabs>*,.filterbox,.field input,.field select,.field textarea,.table-wrap,.empty,.standards,.docicon,.inline-stats,.school-tabs a {border-radius:3px}
 .pill {border-radius:2px}
 .pill.example {color:#604316;background:#f3e1bc}
 .pill.ok {color:var(--brand);background:var(--accent-soft)}
 .datebox {border-radius:1px}
 dialog {border-radius:4px;box-shadow:0 8px 28px #14141c26}
 dialog::backdrop {background:#16182c82}
 #notice {background:var(--ink);color:var(--surface);border-radius:3px}
 #notice.problem {background:var(--bad);color:var(--bg)}
}
