/* Theoria for Schools: Comfortable density (DESIGN.md density tokens), logical properties for RTL, print layouts. */
.schools{--s-ink:#1b304a;--s-ink-2:#4f6074;--s-paper:#f2f6f8;--s-white:#fff;--s-line:#dce5eb;--s-outline:#6c7d92;--s-blue:#2457d7;--s-blue-dark:#1745b4;--s-soft:#edf3ff;--s-ok:#1e6b3a;--s-ok-bg:#e8f4ec;--s-warn:#7a4f00;--s-warn-bg:#fff4dc;--s-bad:#942d36;--s-bad-bg:#fff1f1;--s-read:18px;--s-body:17px;--s-small:15px;--s-section:32px;--s-group:12px;--s-margin:24px;--s-radius:16px;background:var(--s-paper);color:var(--s-ink);font-size:var(--s-body);line-height:1.53}
.schools .masthead{max-width:1240px;width:calc(100% - 2*var(--s-margin))}
.schools .quiet-link,.schools .footer a{font-size:var(--s-small);min-height:48px}
.schools .footer{flex-wrap:wrap;padding-block:24px}
.account-nav{display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px}
.account-nav .button.text{font-size:var(--s-small);min-height:48px}
.schools-main{width:100%;max-width:1240px;margin-inline:auto;padding:var(--s-section) var(--s-margin) 56px}
.schools-main:not(.wide){max-width:760px}
.schools h1{font-size:clamp(28px,4vw,34px);line-height:1.18;letter-spacing:-.02em;font-weight:650;margin:0 0 12px;text-wrap:balance}
.schools h2{font-size:22px;line-height:1.27;letter-spacing:-.01em;font-weight:650;margin:0 0 var(--s-group)}
.schools h3{font-size:19px;line-height:1.35;font-weight:700;margin:0 0 8px}
.schools p{margin:0 0 var(--s-group)}
.schools .lead{font-size:var(--s-read);line-height:1.56;color:var(--s-ink-2);max-width:68ch;margin:0}
.schools .hint,.schools .meta{font-size:var(--s-small);line-height:1.47;color:var(--s-ink-2)}
.schools .eyebrow{font-size:14px;letter-spacing:.08em;color:var(--s-ink-2);margin-bottom:8px}
.schools a{color:var(--s-blue)}
/* The admin content views' link buttons (Review proposal, a confirmation's way back) keep their own text colour. */
.schools a.button{color:var(--s-white)}.schools a.button.secondary{color:var(--s-ink)}.schools a.button.text{color:var(--s-blue)}.schools a.button.danger{color:var(--s-bad)}
.schools :focus-visible{outline:3px solid #2862f1;outline-offset:3px}
.schools ul,.schools ol{padding-inline-start:1.3em;margin:0 0 var(--s-group)}
.schools li{margin-block:6px}
.empty{color:var(--s-ink-2);padding:20px;border:1px dashed var(--s-outline);border-radius:12px;background:var(--s-white)}
/* Buttons: 56 primary, 48 secondary and text; they grow with their label. */
.s-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 22px;border-radius:100px;border:2px solid transparent;font:inherit;font-size:var(--s-body);font-weight:700;line-height:1.3;text-align:center;text-decoration:none;cursor:pointer;max-width:100%}
.s-button.primary{min-height:56px;padding-inline:28px;background:var(--s-blue);color:var(--s-white)}
.s-button.primary:hover{background:var(--s-blue-dark)}
.s-button.secondary{background:var(--s-white);color:var(--s-ink);border-color:var(--s-outline)}
.s-button.secondary:hover{background:var(--s-soft)}
.s-button.text{background:transparent;color:var(--s-blue);padding-inline:8px;text-decoration:underline;text-underline-offset:.2em}
.s-button.danger:not(.text){background:var(--s-bad);color:var(--s-white)}
.s-button.text.danger,.text-link.danger{color:var(--s-bad)}
.s-button[aria-disabled=true]{opacity:.7;cursor:wait}
.text-link{display:inline-flex;align-items:center;min-height:48px;padding-inline:8px;font-weight:650}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-group);margin-block:20px 0}
/* Panels and cards. */
.s-panel{background:var(--s-white);border:1px solid var(--s-line);border-radius:20px;padding:clamp(24px,4vw,40px);max-width:760px;margin-inline:auto}
.s-panel.narrow{max-width:600px}
.s-panel.reading{max-width:860px}
.s-panel>h1+.lead{margin-bottom:24px}
.s-card{background:var(--s-white);border:1px solid var(--s-line);border-radius:var(--s-radius);padding:24px}
.s-card.accent{border-color:var(--s-blue);box-shadow:inset 0 0 0 1px var(--s-blue)}
.s-card.warn{border-color:#c99a2e}
.s-card.danger-zone{border-color:var(--s-bad)}
.stack{display:grid;gap:24px;align-content:start}
.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));gap:24px;align-items:start}
@media(min-width:1100px){.grid-2.wide-first{grid-template-columns:minmax(0,1.7fr) minmax(320px,1fr)}}
.two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px;margin-block:24px}
.band-section{margin-block:var(--s-section) 0}
.section-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 24px;margin-bottom:var(--s-group)}
.section-head h2{margin:0}
.big-number{font-size:28px;line-height:1.25;font-weight:650;letter-spacing:-.01em;margin:4px 0 8px}
.tag{display:inline-block;font-size:14px;font-weight:700;color:var(--s-ink-2);background:var(--s-paper);border-radius:100px;padding:2px 10px;margin-inline-start:6px}
/* Notices: the tone is also in the text and a thick edge, never colour alone. */
.s-notice{border-radius:12px;padding:16px 20px;margin-block:0 24px;background:var(--s-white);border:1px solid var(--s-line);border-inline-start:6px solid var(--s-blue)}
.s-notice p:last-child,.s-notice ul:last-child{margin-bottom:0}
.s-notice.success{border-inline-start-color:var(--s-ok);background:var(--s-ok-bg)}
.s-notice.warning{border-inline-start-color:#c99a2e;background:var(--s-warn-bg)}
.s-notice.error{border-inline-start-color:var(--s-bad);background:var(--s-bad-bg)}
.s-notice.error h2{font-size:19px;color:var(--s-bad)}
.banner-action{font-weight:700;white-space:nowrap}
/* Forms: 52 px inputs, labels above, errors linked by aria-describedby. */
.s-form{display:grid;gap:20px;margin-top:8px}
/* The portal's own labels are 13 px; school forms read at body size. */
.schools-main label{font-size:var(--s-body);margin:0;line-height:1.4}
.s-field{display:grid;gap:6px;align-content:start}
.s-field label,.s-choices legend{font-size:var(--s-body);font-weight:700;color:var(--s-ink)}
.optional{font-weight:500;color:var(--s-ink-2)}
.s-field .hint,.s-choices .hint{margin:0}
.field-error{color:var(--s-bad);font-weight:650;font-size:var(--s-small);margin:0}
.s-field input:not([type=checkbox],[type=radio],[type=file]),.s-field select,.s-field textarea{width:100%;min-height:52px;border:1px solid var(--s-outline);border-radius:10px;padding:10px 14px;background:var(--s-white);color:var(--s-ink);font:inherit;font-size:var(--s-read)}
.s-field textarea{min-height:140px;line-height:1.5;resize:vertical}
.s-field input.short{max-width:14ch}
.s-field input[type=file]{font:inherit;font-size:var(--s-body);min-height:52px;padding-block:8px}
.schools .s-field input[type=file]{height:auto;min-height:56px;padding:5px 12px}
.s-field input[type=file]::file-selector-button{font:inherit;font-weight:700;min-height:44px;border-radius:100px;border:1px solid var(--s-outline);background:var(--s-white);color:var(--s-ink);padding:6px 16px;margin-inline-end:12px;cursor:pointer}
.invalid input:not([type=checkbox],[type=radio]),.invalid select,.invalid textarea{border-color:var(--s-bad);border-width:2px}
.field-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px}
.s-check{display:grid;grid-template-columns:28px 1fr;align-items:start;gap:4px 12px;padding-block:6px}
.s-check>.field-error{grid-column:1/-1}
.s-check input,.choice input{width:24px;height:24px;margin:2px 0 0;accent-color:var(--s-blue);cursor:pointer}
.s-check label{font-weight:600;cursor:pointer;min-height:28px}
.s-check .hint{grid-column:2;margin:0}
.s-choices{border:0;padding:0;margin:0;display:grid;gap:8px;min-width:0}
.s-choices legend{padding:0;margin-bottom:8px}
.choice-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,170px),1fr));gap:8px}
.s-choices.compact .choice-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,128px),1fr))}
.choice{display:flex;flex-direction:row;align-items:center;gap:12px;min-height:52px;padding:8px 14px;border:1px solid var(--s-line);border-radius:12px;background:var(--s-white)}
.choice:has(input:checked){border-color:var(--s-blue);background:var(--s-soft)}
.choice label{flex:1;min-width:0;overflow-wrap:anywhere;hyphens:auto;cursor:pointer;font-weight:650;display:grid;gap:2px}
.choice small{font-size:var(--s-small);font-weight:500;color:var(--s-ink-2)}
.radios .choice-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr))}
/* The start form's "Add more details" and the school profile: the fields follow the chosen country. */
.more-details{border:1px solid var(--s-line);border-radius:12px;background:var(--s-white)}
.more-details>summary{min-height:52px;padding:14px 16px;cursor:pointer;font-weight:700;color:var(--s-blue)}
.more-details>summary:focus-visible{outline:3px solid var(--s-blue);outline-offset:2px;border-radius:12px}
.more-details>summary .optional{color:var(--s-ink-2)}
.details-body{display:grid;gap:20px;padding:0 16px 20px}
.details-body>.hint{margin:0}
/* Ready-made lessons: one folded block a school year, each a form of its own. */
.pack-years{display:grid;gap:12px}
.pack-year>summary .optional{font-weight:400}
.profile-variant{display:grid;gap:20px}
.range-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px 20px}
.grade-range .s-check{margin-top:4px}
.s-field [data-country-update]{justify-self:start;margin-top:6px}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.copy-row{display:flex;flex-wrap:wrap;gap:12px}
.copy-row input{flex:1 1 280px}
.inline-form{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.inline-form label{font-weight:700}
.inline-form select{min-height:48px;border:1px solid var(--s-outline);border-radius:100px;padding:0 14px;font:inherit;background:var(--s-white)}
/* Tables: 56 px rows; labelled rows on phones. */
.table-wrap{width:100%;overflow-x:auto;border-radius:var(--s-radius)}
.form-column{max-width:760px}
.s-table{width:100%;border-collapse:collapse;background:var(--s-white);border:1px solid var(--s-line);border-radius:var(--s-radius);overflow:hidden;font-size:var(--s-body)}
/* Every table sits under a visible heading; the caption names it for screen readers. */
.s-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.s-table th,.s-table td{padding:14px 16px;text-align:start;vertical-align:middle;border-bottom:1px solid var(--s-line);height:56px}
.s-table thead th{font-size:var(--s-small);font-weight:700;color:var(--s-ink-2);background:#f8fafb}
.s-table tbody th{font-weight:650}
.s-table tbody tr:last-child>*{border-bottom:0}
.row-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.row-actions form{display:inline}
.pill{display:inline-flex;align-items:center;gap:6px;border-radius:100px;padding:4px 12px;font-size:var(--s-small);font-weight:700;line-height:1.35;max-width:100%}
.stat .stat-value{margin-bottom:6px}.stat .stat-label{margin:0}
.pill.ok{background:var(--s-ok-bg);color:var(--s-ok)}
.pill.ok::before{content:"✓"}
.pill.wait{background:var(--s-warn-bg);color:var(--s-warn)}
.pill.wait::before{content:"○"}
.pill.bad{background:var(--s-bad-bg);color:var(--s-bad)}
.pill.bad::before{content:"!"}
@media(max-width:700px){
  .s-table,.s-table tbody,.s-table tr,.s-table th,.s-table td{display:block;width:100%}
  .s-table{border:0;background:transparent}
  .s-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .s-table tr{background:var(--s-white);border:1px solid var(--s-line);border-radius:14px;margin-bottom:12px;padding:8px 0}
  .s-table th,.s-table td{height:auto;min-height:44px;border:0;padding:6px 16px;display:grid;grid-template-columns:minmax(0,8em) minmax(0,1fr);gap:12px;align-items:center}
  .s-table td[data-label]::before{content:attr(data-label);font-size:var(--s-small);font-weight:700;color:var(--s-ink-2)}
  /* The row's name is the card's title. */
  .s-table tbody th{display:block;font-size:var(--s-read);padding-block:10px 4px}
  .s-table td:empty{display:none}
}
.code{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;letter-spacing:.06em;font-weight:700;unicode-bidi:isolate;white-space:nowrap}
.code.big{font-size:clamp(22px,2.4vw,30px);letter-spacing:.04em;white-space:nowrap}
.login-card .code,.login-card dt,.login-card .address{white-space:nowrap}
.code.digest{font-size:13px;letter-spacing:0;font-weight:500;word-break:break-all;white-space:normal}
.address{unicode-bidi:isolate;overflow-wrap:anywhere}
/* The console. */
.console{display:grid;gap:0 40px}
.console-head{padding-bottom:20px;border-bottom:1px solid var(--s-line);margin-bottom:24px}
.school-name{font-size:var(--s-read);font-weight:700;margin:0}
.school-role{font-size:var(--s-small);color:var(--s-ink-2);margin:0}
.console-nav ul{list-style:none;margin:0 0 28px;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.console-nav li{margin:0}
.console-nav a{display:flex;align-items:center;min-height:48px;padding:8px 16px;border-radius:12px;color:var(--s-ink);text-decoration:none;font-weight:650}
.console-nav a:hover{background:var(--s-white)}
.console-nav a[aria-current=page]{background:var(--s-white);box-shadow:inset 0 0 0 2px var(--s-blue);color:var(--s-blue)}
@media(min-width:1100px){.console{grid-template-columns:230px minmax(0,1fr)}.console-head{grid-column:1/-1}.console-nav ul{flex-direction:column;position:sticky;top:24px}}
.page-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px 24px;margin-bottom:28px}
.page-title{flex:1 1 420px}
.page-actions{display:flex;flex-wrap:wrap;gap:12px}
.checklist{list-style:none;padding:0;margin:0;display:grid;gap:4px}
.checklist li{display:grid;grid-template-columns:36px 1fr;gap:12px;align-items:start;padding:10px 0;margin:0;border-bottom:1px solid var(--s-line)}
.checklist li:last-child{border-bottom:0}
.checklist .mark{width:32px;height:32px;border-radius:50%;border:2px solid var(--s-outline);display:grid;place-items:center;font-weight:800;color:var(--s-white)}
.checklist .done .mark{background:var(--s-ok);border-color:var(--s-ok)}
.checklist .next .mark{border-color:var(--s-blue);border-width:3px}
.checklist a{font-weight:700;display:inline-flex;min-height:32px;align-items:center}
.checklist .done a{color:var(--s-ink-2);font-weight:600}
.checklist .state{display:block;font-size:var(--s-small);color:var(--s-ink-2)}
.checklist .next .state{color:var(--s-blue);font-weight:700}
.checklist .hint{margin:4px 0 0}
/* A curriculum's three numbered steps: the next one filled, the others outlined. */
.schools .step-buttons{list-style:none;padding:0;margin:0 0 20px;display:flex;flex-wrap:wrap;gap:12px}
.schools .step-buttons li{margin:0}
.step-index{display:inline-grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;border:2px solid currentColor;font-size:15px;font-weight:800;line-height:1}
/* Curriculum pages wrap each tick in its label: the box sits beside its words, not as a 46 px field above them. */
.school-authoring label:has(>input:is([type=checkbox],[type=radio])){position:relative;display:block;min-height:28px;padding-inline-start:36px;margin-block:6px;font-weight:600;cursor:pointer}
.school-authoring label>input:is([type=checkbox],[type=radio]){position:absolute;inset-inline-start:0;top:1px;width:24px;height:24px;margin:0;padding:0;accent-color:var(--s-blue)}
.curriculum-more{margin-bottom:20px}
.curriculum-more .curriculum-links{margin:0}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:16px;align-items:start}
.stat{background:var(--s-white);border:1px solid var(--s-line);border-radius:var(--s-radius);padding:20px}
.stat-value{font-size:34px;line-height:1.1;font-weight:650;margin:0 0 6px}
.stat-label{font-weight:650;margin:0}
.link-grid{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}
.link-grid li{margin:0;background:var(--s-white);border:1px solid var(--s-line);border-radius:var(--s-radius);padding:20px}
.link-grid a{font-weight:700;font-size:var(--s-read)}
.link-grid p{margin:6px 0 0;color:var(--s-ink-2);font-size:var(--s-small)}
.school-list{list-style:none;padding:0;display:grid;gap:12px}
.school-list a{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;align-items:center;min-height:64px;padding:12px 20px;border:1px solid var(--s-line);border-radius:14px;text-decoration:none;color:var(--s-ink)}
.school-list a:hover{border-color:var(--s-blue)}
.school-list .name{font-weight:700;font-size:var(--s-read)}
.plain-list{list-style:none;padding:0}
.plain-list li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;padding:14px 0;border-bottom:1px solid var(--s-line)}
.plain-list .name{font-weight:650}
.ticks{list-style:none;padding:0}
.ticks li{position:relative;padding-inline-start:30px}
.ticks li::before{content:"✓";position:absolute;inset-inline-start:0;color:var(--s-ok);font-weight:800}
.numbered li{margin-block:10px;font-size:var(--s-read)}
.class-facts{color:var(--s-ink-2);font-size:var(--s-read)}
.code-card .class-code{margin:8px 0 16px}
.class-top{margin-bottom:8px}
/* The QR sits beside the code only when the card is wide enough for both. */
.code-card{container-type:inline-size}
.code-card .qr-box{width:min(100%,200px);margin:8px 0 16px}
@container (min-width:520px){.code-card-body{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:0 24px;align-items:start}.code-card-body .qr-box{grid-column:2;grid-row:1/span 6;margin:0}.code-card-body>:not(.qr-box){grid-column:1}}
.qr-box{max-width:220px;margin-block:8px 16px}
.qr{display:block;width:100%;height:auto}
.card-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:12px}
.card-links a{display:inline-flex;align-items:center;min-height:48px;font-weight:650}
.hotspots{padding-inline-start:1.4em}
.hotspots li{margin-block:12px}
.hotspots .name{font-weight:700;margin:0}
.hotspots .meta,.hotspots .hint{margin:2px 0 0}
.disclosure{margin-top:var(--s-section);background:var(--s-white);border:1px solid var(--s-line);border-radius:var(--s-radius);padding:0 20px}
.disclosure summary{min-height:56px;display:flex;align-items:center;font-weight:700;font-size:var(--s-read);cursor:pointer}
.disclosure[open]{padding-bottom:20px}
/* Billing. */
.quote-lines{width:100%;border-collapse:collapse;margin-bottom:12px}
.quote-lines caption{caption-side:top;text-align:start;font-size:var(--s-small);color:var(--s-ink-2);padding-bottom:6px}
.quote-lines th,.quote-lines td{padding:12px 0;border-bottom:1px solid var(--s-line);text-align:start;vertical-align:top;font-weight:600}
.quote-lines th .hint{display:block;font-weight:500}
.quote-lines .amount{text-align:end;white-space:nowrap}
.years{list-style:none;padding:0;display:grid;gap:12px}
.years li{margin:0;padding:14px 16px;border-radius:12px;background:var(--s-paper)}
.year-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;margin:0 0 6px}
.year-head span{color:var(--s-ink-2);font-size:var(--s-small)}
.year-line{display:flex;justify-content:space-between;gap:12px;margin:2px 0}
.year-line.credit{color:var(--s-ok);font-weight:650}
.year-line.total{font-weight:750;border-top:1px solid var(--s-line);padding-top:6px;margin-top:6px}
.quote-total{display:flex;justify-content:space-between;gap:12px;font-size:20px;font-weight:750;margin-block:16px 8px}
.pay-options{display:grid;gap:24px;margin-top:24px;padding-top:24px;border-top:1px solid var(--s-line)}
.pay-options h3{margin-bottom:4px}
.pay-options form{display:grid;gap:12px;justify-items:start}
/* The public landing. */
.landing-page .hero{padding-block:24px 40px;max-width:820px}
.landing-page .hero h1{font-size:clamp(36px,5.5vw,58px);line-height:1.08;letter-spacing:-.035em;font-weight:600}
.landing-page .hero .lead{font-size:20px;margin-block:20px 8px}
.pilot-line{font-weight:650;margin-top:20px}
.band{margin-block:48px 0}
.band>h2{font-size:clamp(24px,3vw,30px);margin-bottom:20px}
.feature-grid,.price-grid{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:20px}
.feature-grid li,.price-card{margin:0;background:var(--s-white);border:1px solid var(--s-line);border-radius:var(--s-radius);padding:24px}
.feature-grid p{color:var(--s-ink-2);margin:0}
.steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}
.steps li{display:grid;grid-template-columns:48px 1fr;gap:16px;margin:0}
.step-number{width:44px;height:44px;border-radius:50%;background:var(--s-blue);color:var(--s-white);display:grid;place-items:center;font-weight:800;font-size:19px}
.steps p{color:var(--s-ink-2);margin:0}
.band.split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:24px;align-items:stretch}
.founding-box{background:var(--s-soft);border:1px solid #bcd0fb;border-radius:var(--s-radius);padding:24px}
.founding-count{font-size:22px;font-weight:750;color:var(--s-blue)}
.price-card .price{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;margin:8px 0 12px}
.price-card .price strong{font-size:32px;font-weight:650;letter-spacing:-.02em}
.price-card .price span{color:var(--s-ink-2);font-size:var(--s-small)}
.price-card .price-founding{margin:0 0 12px;padding:8px 12px;border:1px solid #bcd0fb;border-radius:10px;background:var(--s-soft);color:var(--s-blue-dark);font-size:var(--s-small);font-weight:650}
.price-card ul{padding-inline-start:1.1em;font-size:var(--s-small)}
.band.closing{background:var(--s-white);border:1px solid var(--s-line);border-radius:20px;padding:32px}
/* The agreement. */
.agreement{max-width:72ch;font-size:var(--s-read);line-height:1.6;margin-top:24px;padding:28px;background:var(--s-paper);border-radius:14px}
.agreement h2{font-size:24px}
.agreement h3{font-size:19px;margin-top:24px}
.agreement-tools{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.agreement-digest{margin-top:16px;color:var(--s-ink-2);font-size:var(--s-small)}
.csdpa{margin-top:16px;padding:16px 20px;border-radius:12px;background:var(--s-soft)}
.accept{margin-top:32px;padding-top:28px;border-top:1px solid var(--s-line)}
/* Printable pages: cards, poster, letter, report. */
.print-tools{display:grid;gap:12px;margin-bottom:24px;justify-items:start}
.print-tools h1{margin:0}
.cards{display:grid;gap:16px}
.sheet{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));gap:16px}
.login-card{display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:12px;align-items:center;background:var(--s-white);border:1px dashed var(--s-outline);border-radius:12px;padding:16px;break-inside:avoid}
.card-name{font-size:21px;font-weight:750;margin:0;overflow-wrap:anywhere}
.card-class{color:var(--s-ink-2);margin:0 0 6px}
.login-card dl{margin:0;display:grid;gap:2px}
.login-card dl div{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline}
.login-card dt{font-size:13px;color:var(--s-ink-2)}
.login-card dd{margin:0}
.card-how,.card-web{font-size:13px}
.schools .login-card p{margin:0}
.schools .login-card .card-class{margin-bottom:6px}
.schools .login-card .card-how{margin-top:8px}
.schools .login-card .card-web{margin-top:2px}
.poster{background:var(--s-white);border:1px solid var(--s-line);border-radius:20px;padding:40px;text-align:center;max-width:720px;margin-inline:auto}
.poster h1{font-size:clamp(30px,4vw,44px)}
.poster-qr{width:min(100%,320px);margin:24px auto}
.poster-code .code{font-size:clamp(28px,4vw,40px)}
.poster-steps{text-align:start;font-size:20px;max-width:30em;margin:24px auto}
.poster-school,.poster-foot,.letter-school{color:var(--s-ink-2)}
.letter,.report{background:var(--s-white);border:1px solid var(--s-line);border-radius:20px;padding:clamp(24px,5vw,48px);max-width:820px;font-size:var(--s-read);line-height:1.65}
.letter .blank{display:inline-block;width:min(60%,22em);border-bottom:1px solid var(--s-ink);height:1.2em}
.report .facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:12px;margin:24px 0}
.report .facts div{background:var(--s-paper);border-radius:12px;padding:14px 16px}
.report dt{font-size:var(--s-small);color:var(--s-ink-2)}
.report dd{margin:4px 0 0;font-size:22px;font-weight:700}
.report h2{margin-top:32px}
/* Phones: the language select sits beside the brand on the header row; the account links take the row below. */
@media(max-width:520px){.schools .masthead{flex-wrap:wrap;padding-block:12px;row-gap:0}.schools .masthead-end{display:contents}.schools .account-nav{flex-basis:100%;justify-content:flex-end}.schools .masthead-end>.quiet-link{margin-inline-start:auto}}
@media(max-width:520px){.schools{--s-margin:20px}.schools-main{padding-top:24px}.s-card{padding:20px}.login-card{grid-template-columns:1fr 104px}.poster{padding:24px}}
@media(max-width:360px){.schools{--s-margin:16px}}
@media(forced-colors:active){.s-button,.choice,.pill{border:1px solid ButtonText}.checklist .done .mark{forced-color-adjust:none}}
@media(prefers-reduced-motion:reduce){.schools *{transition:none!important;animation:none!important}}
@page{size:auto;margin:10mm}
@media print{
  .schools{background:#fff;font-size:12pt}
  .schools .masthead,.schools .footer,.schools .skip,.no-print,.console-nav,.console-head,.s-notice,[data-print]{display:none!important}
  .schools-main{padding:0;max-width:none}
  .agreement{background:none;padding:0;max-width:none}
  .cards{display:block}
  .sheet{display:grid;grid-template-columns:repeat(2,95mm);grid-auto-rows:51mm;gap:0;justify-content:center;break-after:page}
  .sheet:last-child{break-after:auto}
  .login-card{border-radius:0;border:1px dashed #777;padding:3.5mm 4.5mm;grid-template-columns:minmax(0,1fr) 30mm;gap:3mm;height:51mm;overflow:hidden}
  .card-name{font-size:13pt;line-height:1.2}.card-name.long{font-size:11pt}.card-class,.login-card dt{font-size:8pt;line-height:1.2}.login-card .code{font-size:10.5pt}
  /* A 40-character name and three lines of instructions still fit 51 mm with the web address. */
  .login-card dl{line-height:1.25}.card-how,.card-web{font-size:8pt;line-height:1.2}
  .schools .login-card .card-class{margin-bottom:1mm}.schools .login-card .card-how{margin-top:1mm}.schools .login-card .card-web{margin-top:.5mm}
  .login-card dl div{flex-wrap:nowrap;gap:2mm}
  .poster{border:0;padding:0;max-width:none}.poster-qr{width:110mm}.poster h1{font-size:30pt}.poster-steps{font-size:15pt}
  .letter,.report{border:0;padding:0;max-width:none;font-size:12pt}
  .report .facts div{border:1px solid #ccc}
  a{color:inherit}
}

/* The three things that must hold before anyone can pick the school in the app, each done or to do. */
.curriculum-sharing-steps { list-style: none; margin: 0.75rem 0; padding: 0; display: grid; gap: 0.35rem; }
.curriculum-sharing-steps li { padding: 0.5rem 0.75rem; border: 1px solid var(--s-line, #d8dee9); border-radius: 0.6rem; }
