/* d1-schools-report.css · KAN-1748/1749/1751 (lane D1): page layout on the Nabras design system. Generated once by
   scripts/d1_ds_convert.py from the page's own styles; tokens and components come from /ds/. Tokens only, var(--font-sans) only. */:root{--bg:var(--section-alt);--card:var(--surface);--muted:var(--ink-muted);--line:var(--hairline);--brand-dark:var(--action);--brand-soft:var(--brand-tint);--red:var(--caution);--red-soft:var(--wrong-tint);--amber:var(--lm-chosen);--amber-soft:var(--caution-tint);--green:var(--correct);--green-soft:var(--correct-tint)}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);font-family:var(--font-sans);color:var(--ink);line-height:1.7}
.wrap{max-width:760px;margin:0 auto;padding:16px 16px 48px}
.card{background:var(--card);border-radius:var(--radius-xl);padding:22px 18px;border:1px solid var(--line)}
.head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-bottom:2px solid var(--line);padding-bottom:16px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.brand b{font-size:24px;font-weight:600;color:var(--brand-dark)}
.title h1{font-size:24px;font-weight:600;margin:0}
.title p{margin:0;font-size:15px;color:var(--muted)}
.badge{display:inline-block;margin-top:6px;background:var(--amber-soft);color:var(--amber);font-weight:600;font-size:15px;padding:2px 12px;border-radius:var(--radius-full)}
.intro{margin:14px 0 0;font-size:16px;color:var(--ink-secondary)}
h2{font-size:18px;font-weight:600;margin:24px 0 10px;display:flex;align-items:center;gap:8px}
.a{color:var(--amber)}
.g{color:var(--green)}
.brief{list-style:none;margin:0;padding:14px;background:var(--brand-soft);border-radius:var(--radius-lg)}
.brief li{display:flex;gap:10px;align-items:baseline;margin:4px 0;font-size:16px}
.dot{border-radius:var(--radius-full);background:var(--muted)}
.cls{margin-bottom:10px}
.cls .nm{font-weight:500;font-size:16px}
.cls .sub{margin:6px 0 0;font-size:15px;color:var(--muted)}
.cls .weak{margin:6px 0 0;font-size:15px}
.note{margin:8px 0 0;font-size:15px;color:var(--muted)}
.how{margin-top:22px;background:var(--brand-tint);border:1px solid var(--brand);border-radius:var(--radius-lg);padding:16px}
.how h2{margin-top:0}
.how ol{margin:0;padding-inline-start:20px}
.how li{margin:4px 0}
.cta{display:block;text-align:center;margin-top:14px;background:var(--brand-dark);color:var(--on-action);text-decoration:none;font-weight:600;border-radius:var(--radius-md);min-height:48px;line-height:48px}
.topbar{background:var(--brand-soft);border:2px solid var(--brand);border-radius:var(--radius-lg);padding:12px 14px;margin-bottom:12px}
.topbar p{margin:0;font-weight:500;font-size:16px;color:var(--brand-dark)}
.topbar .cta{margin-top:8px}
.foot{margin-top:20px;padding-top:12px;border-top:2px solid var(--line);font-size:15px;color:var(--muted);display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
.printbox{margin-top:18px;text-align:center}
.pbtn{display:block;width:100%;max-width:360px;margin:0 auto;min-height:48px;border:0;border-radius:var(--radius-md);background:var(--brand-dark);color:var(--on-action);font:inherit;font-weight:600;cursor:pointer}
.printbox p{margin:6px 0 0;font-size:15px;color:var(--muted)}
@page{size:A4;margin:0}
@media print{body{background:var(--surface);-webkit-print-color-adjust:exact;print-color-adjust:exact}
.wrap{max-width:none;padding:0}
.card{border:0;border-radius:0;padding:12mm 14mm}
.printbox,.how,.topbar{display:none!important}
.cls,.kpi,.brief{break-inside:avoid}
h2{break-after:avoid}}
html:not([data-g=boys]) .gx-b,html[data-g=boys] .gx-g{display:none}
.gsw{display:flex;gap:8px;margin-top:10px}
.gsw button{flex:1;min-height:44px;border:2px solid var(--brand-dark);background:var(--surface);color:var(--brand-dark);font:inherit;font-weight:600;font-size:15px;border-radius:var(--radius-md);cursor:pointer}
.gsw button[aria-pressed=true]{background:var(--brand-dark);color:var(--on-action)}
.gsw button:focus-visible,.cta:focus-visible,.pbtn:focus-visible,.brand:focus-visible{outline:3px solid var(--brand);outline-offset:2px}/* D1: design-system rules the old page styles missed *//* D1 fix round: Metric group, BarList rows, neutral bullets (Design review 22282) */.nb-metrics{margin:var(--space-4) 0}
.cls{margin-bottom:var(--space-3)}
.cls .nb-bars{font-size:16px}
.cls .nb-badge{align-self:flex-start}
.cls .sub,.cls .weak{margin:0}
.cls .weak b{font-weight:600;color:var(--ink);white-space:nowrap}
.dot{flex:0 0 6px;height:6px;margin-top:11px;background:var(--ink-muted)}
h2{font-size:19px;line-height:28px}