
:root, .paper, .idsheet, .idc, .rcpt {
  --paper: #fbf8f1;
  --paper-2: #f3eee1;
  --ink-2: #4a4f63;
  --rule: #d8cfbb;
  --feint: #cdd6e8;
  --stamp: #b3261e;
  --entry: #1f2f73;
  --school: #0b5d3a;
  --green: #0b5d3a;
  --green-dark: #084a2e;
  --green-soft: #e7efe9;
  --green-line: #b7cfc0;
  --primary: #0b5d3a;
  --primary-dark: #084a2e;
  --ink: #1c2340;
  --muted: #4a4f63;
  --line: #d8cfbb;
  --line-strong: #b9ad93;
  --field-line: #8a8069;
  --bg: #fbf8f1;
  --card: #fffdf8;
  --surface-2: #f3eee1;
  --field-bg: #fffdf8;
  --hover: rgba(28, 35, 64, .06);
  --red: #a8231b;
  --red-soft: #f8e9e6;
  --red-line: #e2b9b3;
  --amber: #8a5300;
  --amber-soft: #fbf0d9;
  --amber-line: #e6cf9c;
  --blue: #1f3f8a;
  --blue-soft: #eaeef8;
  --blue-line: #c3cde6;
  --gold: #f5b82e;
  --bar-bg: #fbf8f1;
  --side-bg: #f3eee1;
  --side-w: 248px;
  --serif: Georgia, "Noto Serif", "Droid Serif", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, "Roboto Mono", monospace;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px;
  --radius: 4px; --radius-sm: 3px; --radius-lg: 4px; --pill: 999px;
  --shadow-1: none;
  --shadow-2: 0 10px 24px -16px rgba(28, 35, 64, .45);
  --ring: 0 0 0 1px var(--ink), 0 0 0 4px var(--gold);
  --focus: #1c2340;
  --fs-xs: .78rem; --fs-sm: .875rem; --fs-base: 1rem; --fs-lg: 1.2rem; --fs-xl: 1.5rem; --fs-2xl: 1.85rem;
  --control-h: 44px;
}
:root, body, .paper, .idsheet, .idc, .rcpt {
  --text: var(--ink); --surface: var(--card);
  --ok: var(--green);   --ok-soft: var(--green-soft);
  --warn: var(--amber); --warn-soft: var(--amber-soft);
  --bad: var(--red);    --bad-soft: var(--red-soft);
  --info: var(--blue);  --info-soft: var(--blue-soft);
}
@media screen and (prefers-color-scheme: dark) {
  html:where(:not([data-theme="light"])) body:not(.site) {
    color-scheme: dark;
    --paper: #17140f;
    --paper-2: #2a251d;
    --ink-2: #bdb4a3;
    --rule: #3b3429;
    --feint: #2c3547;
    --stamp: #ff8a7a;
    --entry: #c9d3ff;
    --green: #7fd3a8;
    --green-dark: #a9e5c6;
    --green-soft: #142a1f;
    --green-line: #2a5a42;
    --primary: #0b6b43;
    --primary-dark: #0b5d3a;
    --ink: #ece6da;
    --muted: #bdb4a3;
    --line: #3b3429;
    --line-strong: #5c5343;
    --field-line: #7a705d;
    --bg: #17140f;
    --card: #1f1b15;
    --surface-2: #2a251d;
    --field-bg: #1b1812;
    --hover: rgba(236, 230, 218, .07);
    --red: #ff8a7a;
    --red-soft: #3a1a16;
    --red-line: #6e2f28;
    --amber: #f0b860;
    --amber-soft: #33260f;
    --amber-line: #6b4d1d;
    --blue: #9fb6f0;
    --blue-soft: #1a2238;
    --blue-line: #34446e;
    --bar-bg: #17140f;
    --side-bg: #1f1b15;
    --shadow-2: 0 10px 24px -14px rgba(0, 0, 0, .7);
    --ring: 0 0 0 1px var(--ink), 0 0 0 4px var(--gold);
    --focus: #17140f;
  }
  html:where(:not([data-theme="light"])) .att-opts label, html:where(:not([data-theme="light"])) .bh-pick label, html:where(:not([data-theme="light"])) .bh-kind label, html:where(:not([data-theme="light"])) .hw-opts label, html:where(:not([data-theme="light"])) .cal .d { background: var(--card); }
  html:where(:not([data-theme="light"])) .hw-opts input.n:checked + label, html:where(:not([data-theme="light"])) .wa-preview, html:where(:not([data-theme="light"])) .stop-head td { background: var(--surface-2); }
}
@media screen {
  html:where([data-theme="dark"]) body:not(.site) {
    color-scheme: dark;
    --paper: #17140f;
    --paper-2: #2a251d;
    --ink-2: #bdb4a3;
    --rule: #3b3429;
    --feint: #2c3547;
    --stamp: #ff8a7a;
    --entry: #c9d3ff;
    --green: #7fd3a8;
    --green-dark: #a9e5c6;
    --green-soft: #142a1f;
    --green-line: #2a5a42;
    --primary: #0b6b43;
    --primary-dark: #0b5d3a;
    --ink: #ece6da;
    --muted: #bdb4a3;
    --line: #3b3429;
    --line-strong: #5c5343;
    --field-line: #7a705d;
    --bg: #17140f;
    --card: #1f1b15;
    --surface-2: #2a251d;
    --field-bg: #1b1812;
    --hover: rgba(236, 230, 218, .07);
    --red: #ff8a7a;
    --red-soft: #3a1a16;
    --red-line: #6e2f28;
    --amber: #f0b860;
    --amber-soft: #33260f;
    --amber-line: #6b4d1d;
    --blue: #9fb6f0;
    --blue-soft: #1a2238;
    --blue-line: #34446e;
    --bar-bg: #17140f;
    --side-bg: #1f1b15;
    --shadow-2: 0 10px 24px -14px rgba(0, 0, 0, .7);
    --ring: 0 0 0 1px var(--ink), 0 0 0 4px var(--gold);
    --focus: #17140f;
  }
  html:where([data-theme="dark"]) .att-opts label, html:where([data-theme="dark"]) .bh-pick label, html:where([data-theme="dark"]) .bh-kind label, html:where([data-theme="dark"]) .hw-opts label, html:where([data-theme="dark"]) .cal .d { background: var(--card); }
  html:where([data-theme="dark"]) .hw-opts input.n:checked + label, html:where([data-theme="dark"]) .wa-preview, html:where([data-theme="dark"]) .stop-head td { background: var(--surface-2); }
}
html:where([data-theme="light"]) body:not(.site) { color-scheme: light; }
.paper, .idsheet, .idc, .rcpt { color-scheme: light; color: var(--ink); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.55 var(--sans); color: var(--ink); background: var(--bg); }
[hidden] { display: none !important; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-dark); text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem); line-height: 1.2; margin: 0 0 .25rem; letter-spacing: -.005em; }
h2 { font-size: var(--fs-lg); line-height: 1.3; margin: 0 0 .75rem; }
h3 { font-size: 1.05rem; line-height: 1.35; margin: 0 0 .5rem; }
img { max-width: 100%; }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--s4) 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus); }
summary { cursor: pointer; }
summary:focus-visible { border-radius: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 20px; padding-bottom: 48px; }
main:focus { outline: none; box-shadow: none; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.right { text-align: right; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 16px; }
.mb-0 { margin-bottom: 0; }
.w-full { width: 100%; }
.narrow { max-width: 520px; }
.narrow-center { max-width: 560px; margin-left: auto; margin-right: auto; }
.stack > * + * { margin-top: var(--s3); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.text-ok { color: var(--green); } .text-bad { color: var(--red); } .text-warn { color: var(--amber); }
.serif { font-family: var(--serif); }
.money { font-family: var(--serif); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.owe { color: var(--red); }
.print-only { display: none; }
.show-sm { display: none; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--card); color: var(--ink); padding: 12px 14px; border: 2px solid var(--ink); font-weight: 600; }
.skip:focus { left: 8px; top: 8px; }
.topbar { background: var(--bar-bg); color: var(--ink); border-bottom: 3px double var(--ink); }
.topbar a { color: var(--ink); }
.topbar .bar { display: flex; align-items: center; gap: 10px; min-height: 56px; padding-top: 8px; padding-bottom: 8px; }
.brand { color: var(--ink); font-family: var(--serif); font-weight: 700; text-decoration: none; font-size: 1.2rem; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand-mark { display: block; flex: none; color: var(--green); }
.school-name { font-family: var(--serif); font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 45vw; }
.term-pill { margin-left: auto; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); padding: 2px 8px; border-radius: var(--radius-sm); font: 600 .76rem/1.5 var(--mono); white-space: nowrap;
  min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.has-side .topbar .bar { padding-left: 12px; padding-right: 8px; }
.has-side .brand-text { display: none; }
.has-side .school-name { font-weight: 700; max-width: none; flex: 1 1 auto; min-width: 0; font-size: 1rem; }
.has-side .school-full { display: none; }
.has-side .term-pill { margin-left: 0; }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; margin: 0; border-radius: var(--radius); border: 1.5px solid var(--ink); color: var(--ink); font-weight: 600; font-size: .92rem; cursor: pointer; user-select: none; flex: none; }
.menu-btn:hover { background: var(--hover); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -5px; } .menu-icon::after { top: 5px; }
.nav-toggle:focus-visible ~ .bar .menu-btn { outline: 3px solid var(--gold); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus); }
.has-side .topbar { position: sticky; top: 0; z-index: 50; }
html:has(body.has-side) { scroll-padding-top: 76px; }
.side { position: fixed; top: 0; bottom: 0; right: 0; z-index: 60; width: min(400px, 88vw); background: var(--side-bg); color: var(--ink);
  border-left: 1px solid var(--rule); border-radius: 18px 0 0 18px; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
  transform: translateX(104%); visibility: hidden; box-shadow: var(--shadow-2); }
.nav-toggle:checked ~ .side { transform: none; visibility: visible; }
.nav-scrim { display: none; position: fixed; inset: 0; z-index: 55; background: rgba(12, 14, 24, .4); margin: 0; }
.nav-toggle:checked ~ .nav-scrim { display: block; }
.side-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 8px 16px; }
.side-head .side-school { flex: 1; min-width: 0; font-family: var(--serif); font-weight: 700; line-height: 1.3; }
.side-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; border-radius: var(--radius); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); }
.side-close:hover { background: var(--hover); }
.side-nav { padding: 4px 10px 12px; flex: 1 0 auto; }
.nav-group { margin: 0 0 10px; }
.nav-group-title { margin: 14px 8px 4px; padding-bottom: 3px; border-bottom: 1px solid var(--rule); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nav-group ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); text-decoration: none; font-size: .95rem; }
.side-nav a:hover { background: var(--hover); color: var(--ink); }
.side-nav a.active, .side-nav a[aria-current="page"] { background: var(--card); color: var(--green-dark); font-weight: 700; box-shadow: inset 3px 0 0 var(--green); }
.side-nav a:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; box-shadow: 0 0 0 2px var(--focus); }
.nav-label { flex: 1; min-width: 0; }
.count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--radius-sm); background: var(--gold); color: #1c2340; font: 700 .75rem/1 var(--mono); font-variant-numeric: tabular-nums; }
.side-foot { padding: 12px 16px 18px; border-top: 1px solid var(--rule); }
.side-user { font-size: .85rem; line-height: 1.35; margin-bottom: 10px; color: var(--muted); }
.side-user b { display: block; color: var(--ink); }
.side-foot form { margin: 0; }
.side-foot button { width: 100%; background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.side-foot button:hover { background: var(--hover); border-color: var(--ink); color: var(--ink); }
.side .term-pill { display: inline-block; margin: 4px 0 0; white-space: normal; overflow-wrap: anywhere; }
.has-side.nav-open { overflow: hidden; }
.side-head { border-bottom: 1px solid var(--rule); padding: 14px 12px 12px 18px; position: sticky; top: 0; z-index: 1; background: var(--side-bg); }
.side-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 0 10px; align-content: start; padding: 4px 12px 10px; flex: 1 0 auto; }
.nav-group:has(.nav-group-title) { grid-column: 1 / -1; }
.nav-group ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 2px 6px; }
.nav-group { margin: 0 0 6px; min-width: 0; }
.side-nav a { padding: 8px 10px; border-radius: 10px; }
.side-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 18px max(14px, env(safe-area-inset-bottom)); position: sticky; bottom: 0; background: var(--side-bg); }
.side-user { margin: 0; flex: 1 1 12em; min-width: 0; }
.side-foot form { flex: 0 0 auto; }
.side-foot button { width: auto; padding-left: 18px; padding-right: 18px; }
@media (min-width: 700px) { .has-side .brand-text { display: inline; } .has-side .topbar .bar { gap: 14px; } }
@media (min-width: 1024px) { main.wrap { padding-top: 28px; } }
.menu-chev { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 2px; }
.menu-icon, .menu-icon::before, .menu-icon::after { transition: transform .3s var(--e-out, ease), background-color .2s, top .3s var(--e-out, ease); }
.menu-chev { transition: transform .3s var(--e-out, ease); }
.nav-toggle:checked ~ .bar .menu-icon { background: transparent; }
.nav-toggle:checked ~ .bar .menu-icon::before { top: 0; transform: rotate(45deg); }
.nav-toggle:checked ~ .bar .menu-icon::after { top: 0; transform: rotate(-45deg); }
.nav-toggle:checked ~ .bar .menu-chev { transform: translateY(1px) rotate(225deg); }
.nav-toggle:checked ~ .bar .menu-btn { background: var(--ink); color: var(--paper); }
@media (max-width: 480px) { .has-side .topbar .term-pill { font-size: .7rem; padding: 2px 6px; } .has-side .topbar .bar { gap: 8px; } }
@media (max-width: 340px) { .has-side .topbar .term-pill { display: none; } }
.has-side .topbar .bar { container: tw-bar / inline-size; }
.has-side .topbar .bar > .school-name { flex: 1 1 auto; }
.has-side .topbar .bar > .term-pill { flex: 0 1 auto; }
@container tw-bar (max-width: 30rem) { .has-side .topbar .term-pill { display: none; } }
.portal-bar { padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; justify-content: space-between; row-gap: 4px; }
.portal-bar .term-pill { margin-left: 0; }
.portal-bar .brand { font-size: 1.1rem; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.nav { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 12px; white-space: nowrap; font-size: .92rem; border-bottom: 3px solid transparent; }
.nav a.active { border-bottom-color: var(--green); font-weight: 700; }
.site-footer { text-align: center; padding: 16px; border-top: 1px solid var(--rule); }
.site-footer a { color: var(--muted); display: inline-flex; align-items: flex-end; min-height: 44px; padding: 8px 4px; }
.site-footer a:hover { color: var(--ink); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.page-head > div:first-child { min-width: 0; }
.page-head.doc-head { border-bottom: 0; padding-bottom: 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }
.subnav { display: flex; gap: 2px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin: -6px 0 18px; box-shadow: inset 0 -1px 0 var(--rule); -webkit-overflow-scrolling: touch; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; white-space: nowrap; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem;
  border-bottom: 3px solid transparent; flex: none; }
.subnav a:hover { color: var(--ink); background: var(--hover); }
.subnav.more-right { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
.subnav.more-left { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); }
.subnav.more-left.more-right { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.subnav a[aria-current="page"], .subnav a.active { color: var(--ink); border-bottom-color: var(--green); font-weight: 700; }
.toolbar { display: flex; gap: 8px 10px; flex-wrap: wrap; align-items: flex-end; }
.toolbar > * { flex: 1 1 160px; }
.toolbar > .btn, .toolbar > button, .toolbar > .actions { flex: 0 0 auto; }
.toolbar .field { margin-bottom: 0; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.card > :last-child { margin-bottom: 0; }
.card > h2:first-child, .card > .card-head:first-child { margin-top: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card.flush > .table-wrap > table th:first-child, .card.flush > .table-wrap > table td:first-child { padding-left: 16px; }
.card.flush > .table-wrap > table th:last-child, .card.flush > .table-wrap > table td:last-child { padding-right: 16px; }
.card.ruled, .sheet { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 12px 0 4px; margin-bottom: 28px; }
.card.ruled.flush > .table-wrap > table th:first-child, .card.ruled.flush > .table-wrap > table td:first-child { padding-left: 6px; }
.card.ruled.flush > .table-wrap > table th:last-child, .card.ruled.flush > .table-wrap > table td:last-child { padding-right: 6px; }
.card.ruled.flush > .card-head, .sheet > .card-head { padding: 0; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 12px; }
.card-head h2 { margin: 0; }
.card.flush > .card-head { padding: 14px 16px 0; }
.section-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin: 24px 0 10px; padding-bottom: 4px; border-bottom: 1px solid var(--rule); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 24px; }
.grid-2 > .card, .grid-3 > .card { margin-bottom: 0; min-width: 0; }
.grid-2 + *, .grid-3 + * { margin-top: 16px; }
@media (min-width: 801px) { .grid-2.wide-left { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
table.compact th, table.compact td { padding: 8px 8px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }
.panels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px 24px; align-items: start; margin-top: 16px; }
.panels > * { margin: 0; min-width: 0; }
.panels > .forecast-panel, .panels > .callout, .panels > .stats, .panels > .wide, .panels > #timetable, .panels > .analytics-risk-panel { grid-column: 1 / -1; }
.panels:empty { display: none; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin-bottom: 16px;
  border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); overflow: hidden; }
.stats:has(> .card) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 215px), 1fr)); gap: 12px; border: 0; overflow: visible; }
.stats > .card { min-width: 0; }
.stat { background: transparent; border: 0; border-left: 1px solid var(--rule); border-bottom: 1px solid var(--rule); border-radius: 0;
  margin: 0 0 -1px -1px; padding: 8px 14px; position: relative; min-width: 0; }
.stat .label { color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.stat .value { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums lining-nums; line-height: 1.25; margin: 2px 0; overflow-wrap: anywhere; color: var(--ink); }
.stat .sub { color: var(--muted); font-size: .82rem; }
.stat .progress { margin: 8px 0 4px; }
.stat.owe .value { color: var(--red); }
.progress { height: 8px; background: var(--paper-2); border: 1px solid var(--line-strong); overflow: hidden; min-width: 80px; }
.progress span { display: block; height: 100%; background: var(--green); }
.progress.sm { height: 6px; }
.meter { display: flex; align-items: center; gap: 8px; min-width: 96px; }
.meter .progress { min-width: 48px; }
.meter .progress { flex: 1; }
.meter .small { min-width: 3ch; text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: .8rem; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 0 24px; margin-bottom: 16px; }
.tool { display: flex; flex-direction: column; gap: 4px; padding: 14px 4px; min-height: 88px; background: transparent; border-bottom: 1px solid var(--feint);
  text-decoration: none; color: var(--ink); transition: background-color .15s; }
.tool:hover { background: var(--hover); color: var(--ink); }
.tool-name { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tool-name::after { content: "\203A"; font-size: 1.3rem; line-height: 1; color: var(--green); }
.tool-what { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; position: relative; }
.table-wrap.tall { max-height: 70vh; overflow: auto; }
.table-wrap.tall thead th, table.sticky-head thead th { position: sticky; top: 0; z-index: 1; background: var(--card); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--feint); vertical-align: middle; }
th { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; background: transparent; }
thead th { border-bottom: 2px solid var(--ink); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
td.num { font-family: var(--serif); font-size: 1.02em; }
tr:last-child td { border-bottom: 0; }
tfoot td { font-weight: 700; border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); }
tbody tr:hover { background: var(--hover); }
caption { text-align: left; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; padding: 0 0 8px; }
.neg { color: var(--green); }
.owing { color: var(--red); font-weight: 700; }
table.ledger { font-size: .95rem; }
.ledger th { font: 700 .72rem/1.2 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; border-bottom: 3px double var(--red); background: transparent; }
.ledger td { padding: 9px 8px; border-bottom: 1px solid var(--feint); vertical-align: top; }
.ledger tbody tr:last-child td { border-bottom: 1px solid var(--feint); }
.ledger th.r, .ledger th.num { text-align: right; }
.ledger td.r, .ledger td.num { text-align: right; font-family: var(--serif); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; font-size: 1.02rem; }
.ledger .owe, .ledger .owing { color: var(--red); }
.ledger .no { font-family: var(--mono); color: var(--red); white-space: nowrap; font-size: .88rem; }
.ledger td small { display: block; color: var(--muted); font-size: .8rem; }
.ledger tfoot td { border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); font-weight: 700; }
@media (max-width: 560px) { .hide-s { display: none; } }
@media (max-width: 600px) {
  table.table-cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.table-cards, table.table-cards tbody, table.table-cards tr, table.table-cards td { display: block; width: 100%; }
  table.table-cards tr { border: 0; border-bottom: 2px solid var(--line-strong); padding: 6px 0; margin-bottom: 4px; background: transparent; }
  table.table-cards tbody tr:hover { background: transparent; }
  table.table-cards td { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 2px 12px; padding: 7px 0; border-bottom: 1px solid var(--feint); text-align: right; }
  table.table-cards td > * { min-width: 0; max-width: 100%; }
  table.table-cards td .badge, table.table-cards td .btn, table.table-cards td button { white-space: normal; max-width: 100%; }
  table.table-cards td:last-child { border-bottom: 0; }
  table.table-cards td.num { white-space: normal; }
  table.table-cards td[data-label]::before { content: attr(data-label); flex: none; margin-right: auto; text-align: left; color: var(--muted); font: 600 .78rem/1.4 var(--sans); }
  table.table-cards td:not([data-label]) { justify-content: flex-start; text-align: left; }
  table.table-cards td.hide-sm { display: none; }
  table.table-cards tfoot { display: block; }
}
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: var(--radius-sm); font-size: .76rem; font-weight: 700; line-height: 1.5; white-space: nowrap;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--line-strong); vertical-align: middle; }
.badge.ok { background: var(--green-soft); color: var(--green-dark); border-color: var(--green-line); }
.badge.bad { background: var(--red-soft); color: var(--red); border-color: var(--red-line); }
.badge.warn { background: var(--amber-soft); color: var(--amber); border-color: var(--amber-line); }
.badge.info { background: var(--blue-soft); color: var(--blue); border-color: var(--blue-line); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--card);
  color: var(--ink); font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
a.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on, .chip[aria-current], .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line-strong);
  font-family: var(--serif); font-weight: 700; font-size: .85rem; text-transform: uppercase; overflow: hidden; vertical-align: middle; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 28px; height: 28px; font-size: .72rem; }
.avatar.lg { width: 56px; height: 56px; font-size: 1.15rem; }
label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 5px; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; min-height: var(--control-h); padding: 9px 11px; border: 1px solid var(--field-line); border-radius: var(--radius-sm);
  background: var(--field-bg); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: var(--ring); }
input:disabled, select:disabled, textarea:disabled { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }
input[readonly] { background: var(--surface-2); }
input[type=checkbox], input[type=radio] { width: auto; min-height: 0; padding: 0; margin: 0 6px 0 0; vertical-align: middle; accent-color: var(--green); width: 20px; height: 20px; }
input[type=checkbox]:focus, input[type=radio]:focus { box-shadow: none; }
input[type=checkbox]:focus-visible, input[type=radio]:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus); }
input[type=file] { padding: 7px; min-height: 0; }
input[type=color] { padding: 3px; width: 64px; }
textarea { min-height: 160px; font-family: inherit; font-size: 1rem; line-height: 1.5; }
::placeholder { color: var(--muted); opacity: .8; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"], .has-error input, .has-error select, .has-error textarea { border-color: var(--red); border-width: 2px; }
input[aria-invalid="true"]:focus, .has-error input:focus { box-shadow: 0 0 0 1px var(--red), 0 0 0 4px var(--gold); }
.field { margin-bottom: 14px; }
.help { display: block; margin-top: 4px; font-size: .82rem; color: var(--muted); font-weight: 400; }
.error-text { display: block; margin-top: 4px; font-size: .84rem; color: var(--red); font-weight: 700; }
.check, label.check { display: block; position: relative; padding-left: 30px; font-weight: 400; font-size: .95rem; cursor: pointer; }
.check input { position: absolute; left: 0; top: 1px; margin: 0; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.inline { display: flex; gap: 8px 10px; flex-wrap: wrap; align-items: flex-end; }
.inline > * { flex: 1 1 140px; }
.inline > .btn, .inline > button { flex: 0 0 auto; }
form.inline-form { display: inline; }
fieldset { border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 14px; }
.subject-block + .subject-block { border-top: 1px dashed var(--rule); padding-top: 12px; margin-top: 12px; }
legend { font-family: var(--serif); font-weight: 700; padding: 0 6px; }
.btn, button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 600; line-height: 1.2; min-height: 42px; padding: 9px 16px;
  border-radius: var(--radius); border: 2px solid var(--primary); background: var(--primary); color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.btn:hover, button:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn:active, button:active { transform: translateY(1px); }
.btn:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus); }
.btn.secondary, button.secondary, .btn.plain { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.secondary:hover, button.secondary:hover, .btn.plain:hover { background: var(--hover); border-color: var(--ink); color: var(--ink); }
.btn.danger, button.danger { background: transparent; color: var(--red); border: 1.5px solid var(--red); }
.btn.danger:hover, button.danger:hover { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.btn.ghost, button.ghost { background: transparent; border-color: transparent; color: var(--green); }
.btn.ghost:hover, button.ghost:hover { background: var(--hover); color: var(--green-dark); }
.btn.wa, button.wa { background: #12733a; border-color: #12733a; color: #fff; }
.btn.wa:hover, button.wa:hover { background: #0d5a2d; border-color: #0d5a2d; color: #fff; }
.btn.sm, button.sm { min-height: 34px; padding: 5px 11px; font-size: .84rem; }
@media screen and (max-width: 700px) { .btn.sm, button.sm { min-height: 40px; } }
.btn.big, button.big { min-height: 52px; padding: 14px 22px; font-size: 1.1rem; font-weight: 700; }
.btn.w-full, button.w-full { width: 100%; }
.btn.link, button.link { background: none; border: 0; color: var(--green); padding: 0; min-height: 0; font-weight: 600; font-size: .85rem; text-decoration: underline; text-underline-offset: 2px; white-space: normal; text-align: left; }
.btn.link:hover, button.link:hover { background: none; color: var(--green-dark); text-decoration-thickness: 2px; }
button.link.plain { color: var(--green, inherit); font-size: 1rem; padding: 0 4px; text-decoration: none; }
button.link.plain:hover { color: var(--green-dark); }
.btn:disabled, button:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
form button[type=submit]:disabled { cursor: progress; }
@media (pointer: coarse) {
  .btn, button { min-height: 44px; }
  .btn.sm, button.sm { min-height: 44px; }
  .chip { min-height: 44px; }
  .btn.link, button.link, a.tap { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 8px; }
}
@media (max-width: 600px) {
  .btn, button { white-space: normal; text-align: center; max-width: 100%; }
  td .btn, td button { white-space: nowrap; max-width: none; }
}
.flash { padding: 11px 14px; border-radius: var(--radius); margin-bottom: 16px; font-weight: 500; border: 1px solid transparent; border-left-width: 4px; overflow-wrap: anywhere; }
body:not(.site) main { overflow-wrap: break-word; }
.flash-ok { background: var(--green-soft); color: var(--green-dark); border-color: var(--green-line); border-left-color: var(--green); }
.flash-error { background: var(--red-soft); color: var(--red); border-color: var(--red-line); border-left-color: var(--red); }
.flash-info { background: var(--blue-soft); color: var(--blue); border-color: var(--blue-line); border-left-color: var(--blue); }
.callout { background: var(--amber-soft); border: 1px solid var(--amber-line); border-left-width: 4px; border-left-color: var(--amber); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 16px; color: var(--ink); }
.callout > :last-child { margin-bottom: 0; }
.callout.info { background: var(--blue-soft); border-color: var(--blue-line); border-left-color: var(--blue); }
.callout.in-branch { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.callout.in-branch > span { min-width: 0; overflow-wrap: anywhere; }
.callout.ok { background: var(--green-soft); border-color: var(--green-line); border-left-color: var(--green); }
.callout.bad { background: var(--red-soft); border-color: var(--red-line); border-left-color: var(--red); }
.callout.warn { background: var(--amber-soft); border-color: var(--amber-line); border-left-color: var(--amber); }
.empty { text-align: center; padding: 32px 16px; color: var(--muted); }
.empty .empty-title, .empty h1, .empty h2 { color: var(--ink); }
.empty .btn { margin-top: 8px; }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--feint); }
.list > li:last-child { border-bottom: 0; }
.list-main { flex: 1; min-width: 0; }
.list-main > a, .list-main > b { font-weight: 600; }
.list-side { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.list-side b { display: block; font-family: var(--serif); }
.kv { display: grid; grid-template-columns: fit-content(45%) minmax(0, 1fr); gap: 6px 16px; margin: 0 0 16px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.folio { display: block; font: 600 .8rem/1.3 var(--mono); color: var(--red); letter-spacing: .02em; margin: 0 0 8px; }
.sec { border-top: 1px solid var(--rule); padding: 28px 0; }
.headline { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 1rem + 1.8vw, 2rem); line-height: 1.3; max-width: 32em; margin: 0 0 8px; }
.headline strong { font-weight: 700; font-variant-numeric: lining-nums; white-space: nowrap; }
.dateline { font: 600 .8rem/1.3 var(--mono); color: var(--muted); margin-bottom: 8px; }
.meter-bar { position: relative; height: 14px; border: 1px solid var(--ink); background: repeating-linear-gradient(90deg, transparent 0 9.9%, var(--feint) 9.9% 10%), var(--card); margin: 14px 0 4px; max-width: 720px; overflow: hidden; }
.meter-bar > span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--green); max-width: 100%; }
.meter-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; max-width: 720px; font-size: .84rem; color: var(--muted); }
.tray { list-style: none; margin: 0 0 6px; padding: 0; border-top: 2px solid var(--ink); }
.tray > li { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--feint); }
.tray .tray-n { font: 700 .95rem/1 var(--mono); min-width: 1.8em; color: var(--ink); }
.tray .tray-what { flex: 1 1 12em; min-width: 0; }
.tray > li > a { margin-left: auto; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.tray > li.tray-empty { color: var(--muted); }
.stubs { list-style: none; margin: 0; padding: 0; }
.stub { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 12px; align-items: baseline; padding: 10px 0 10px 16px; border-bottom: 1px solid var(--feint); position: relative; }
.stub::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; background: radial-gradient(circle, var(--line-strong) 1.6px, transparent 2px) 0 0 / 5px 8px repeat-y; }
.stub .stub-no { font-family: var(--mono); color: var(--red); font-size: .88rem; white-space: nowrap; }
.stub .stub-what { min-width: 0; font-size: .95rem; }
.stub .stub-what small { display: block; color: var(--muted); font-size: .82rem; }
.stub .stub-amt { font-family: var(--serif); font-weight: 700; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.stub .stub-link { grid-column: 2 / 4; font-size: .88rem; display: inline-flex; align-items: center; min-height: 44px; justify-self: start; }
@media (max-width: 420px) { .stub { grid-template-columns: 1fr auto; } .stub .stub-no { grid-column: 1 / -1; } .stub .stub-link { grid-column: 1 / -1; } }
.notice { border: 2px solid var(--ink); background: var(--card); padding: 16px 18px 6px; margin: 0 0 16px; }
.notice h2, .notice h3 { margin-bottom: 10px; }
.notice ol, .notice ul { margin: 0 0 10px; padding-left: 1.3em; }
.notice li { margin-bottom: 8px; }
.stamp { display: inline-block; width: 112px; height: 112px; color: var(--stamp); opacity: .88; transform: rotate(-12deg); pointer-events: none; vertical-align: middle; flex: none; }
.stamp.sm { width: 76px; height: 76px; }
.stamp.lg { width: 150px; height: 150px; }
.stamp.at-corner { position: absolute; right: 8px; top: 6px; }
.paper .stamp, .site .stamp { mix-blend-mode: multiply; }
.stamp-word { display: inline-block; font: 800 .68rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--stamp); border: 1.5px solid currentColor; border-radius: 3px; padding: 4px 5px; transform: rotate(-4deg); white-space: nowrap; }
.auth { max-width: 440px; margin: 40px auto; }
.auth .brand-big { display: block; text-decoration: none; font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--ink); text-align: center; margin-bottom: 4px; }
.auth .brand-big img { display: block; margin: 0 auto 10px; }
.paper-mark, .by-termwise img { vertical-align: -2px; }
.auth .tag { text-align: center; color: var(--muted); margin-bottom: 20px; }
.auth .card { padding: 22px; border-top: 3px double var(--ink); }
.auth .card h1, .auth .card h2 { font-size: 1.3rem; margin: 0 0 .75rem; }
.auth-links { text-align: center; color: var(--muted); margin: 14px 0 0; }
.auth-links p { margin: 0 0 6px; }
.auth details { text-align: center; margin: 12px 0; }
.auth details[open] { text-align: left; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 10px 14px; }
.auth details[open] summary { margin-bottom: 6px; }
.auth summary { min-height: 44px; display: inline-flex; align-items: center; }
.auth-check { font-weight: 400; font-size: .9rem; }
@media (max-width: 480px) { .auth { margin: 20px auto; } .auth .card { padding: 18px 16px; } }
.score-input { width: 80px; text-align: right; padding: 6px 8px; min-height: 40px; }
@media (max-width: 600px) {
  table.score-sheet th, table.score-sheet td { padding: 7px 3px; }
  table.score-sheet th.num { white-space: normal; }
  table.score-sheet .score-input { width: 44px; padding: 6px 3px; }
  table.score-sheet td:nth-child(2), table.score-sheet th:nth-child(2) { min-width: 5em; overflow-wrap: anywhere;
    position: sticky; left: 0; z-index: 1; background: var(--card); box-shadow: 6px 0 6px -6px rgba(0, 0, 0, .25); }
  table.score-sheet thead th:nth-child(2) { background: var(--surface-2); z-index: 2; }
  table.score-sheet .col-grade { text-align: center; }
}
.paper { background: var(--card); color: var(--ink); border: 1px solid var(--rule); border-radius: 2px; padding: 28px; max-width: 760px; margin: 0 auto 20px; box-shadow: 0 1px 0 var(--rule), var(--shadow-2); }
.paper a { color: var(--green); }
.paper-head { text-align: center; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 16px; }
.paper-head .sname { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--ink); letter-spacing: .01em; line-height: 1.25; }
.paper-head .rcpt-branch { margin-top: 2px; font-size: .95rem; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.paper-head .motto { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: .9rem; }
.paper-title { text-align: center; font: 700 .82rem/1.3 var(--sans); letter-spacing: .16em; margin: 0 0 16px; }
.paper th { background: transparent; }
.paper thead th { border-bottom: 3px double var(--red); }
.paper td { border-bottom-color: var(--feint); }
.paper tbody tr:hover { background: transparent; }
.paper .kv { gap: 0 0; }
.paper .kv dt, .paper .kv dd { border-bottom: 1px dotted var(--muted); padding: 7px 0 3px; }
.paper .kv dt { padding-right: 16px; font-size: .9rem; }
@media screen and (max-width: 400px) {
  .paper .kv { grid-template-columns: minmax(0, 1fr); }
  .paper .kv dt { border-bottom: 0; padding: 8px 0 0; font-size: .85em; }
  .paper .kv dd { padding-top: 0; }
}
.amount-box { border: 2px solid var(--ink); border-radius: 0; padding: 12px 14px; text-align: center; margin: 16px 0; background: var(--card); }
.amount-box .big { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; line-height: 1.15; }
.sign { display: flex; justify-content: space-between; margin-top: 36px; gap: 24px; }
.sign div { border-top: 1px solid var(--ink); padding-top: 4px; flex: 1; text-align: center; font-size: .85rem; color: var(--muted); }
.report-table th, .report-table td { padding: 5px 6px; font-size: .84rem; border: 1px solid var(--line-strong); }
.report-table thead th { font-size: .68rem; letter-spacing: 0; border-bottom: 3px double var(--red); }
.report-table td.num { font-size: .9rem; }
.report-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; margin-bottom: 14px; font-size: .95rem; }
.report-meta > div { border-bottom: 1px dotted var(--muted); padding: 6px 0 3px; font-family: var(--serif); }
.report-meta b { display: block; font: 600 .72rem/1.3 var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.grade-key { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.school-logo { display: block; margin: 0 auto 6px; max-height: 64px; max-width: 180px; width: auto; height: auto; }
.paper-foot { margin-top: 20px; }
.rcpt { position: relative; }
.paper.rcpt { padding-left: 48px; max-width: 640px; border-top: 4px solid var(--school); }
.paper.rcpt::before { content: ""; position: absolute; left: 16px; top: 10px; bottom: 10px; width: 10px; border-right: 1px dashed var(--line-strong);
  background: radial-gradient(circle, var(--paper-2) 2.4px, var(--line-strong) 2.6px, var(--line-strong) 3px, transparent 3.2px) 0 0 / 7px 14px repeat-y; }
.rcpt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px 16px; text-align: left; flex-wrap: wrap; }
.rcpt-head .school-logo { margin: 0 0 6px; }
.rcpt-school { min-width: 0; flex: 1 1 260px; }
.rcpt-no { font: 700 1.1rem/1.3 var(--mono); color: var(--red); white-space: nowrap; }
.rcpt .paper-title { text-align: left; }
.rcpt-lines dd { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.04rem; color: var(--entry); }
.rcpt-lines dd .small, .rcpt-lines dd .muted { font-style: normal; font-family: var(--sans); }
.rcpt-amount { display: inline-block; margin: 18px 0 10px; padding: 8px 14px; text-align: left; }
.rcpt-amount .big { font-size: 1.85rem; }
.rcpt.void .rcpt-amount .big { text-decoration: line-through; text-decoration-thickness: 2px; }
.rcpt-balance { margin: 6px 0 0; }
.rcpt-sign { position: relative; min-height: 40px; }
.rcpt-sign .sign { margin-top: 96px; }
.rcpt-sign .stamp.rcpt-stamp { position: absolute; right: 6%; bottom: 22px; }
.rcpt-sign:not(:has(.sign)) .stamp.rcpt-stamp { bottom: 0; }
.rcpt-sign:not(:has(.sign)) { min-height: 120px; }
.rcpt .stamp, .rcpt-no, .rverify .vcode { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
@media (max-width: 600px) {
  .paper.rcpt { padding-left: 34px; }
  .paper.rcpt::before { left: 9px; }
  .rcpt-sign .stamp.rcpt-stamp { width: 92px; height: 92px; right: 2%; }
  .rcpt-amount .big { font-size: 1.6rem; }
}
.doc-head, .doc-note, .paper-width { max-width: 760px; margin-left: auto; margin-right: auto; }
.doc-head, .doc-note { margin-bottom: 16px; }
.actions.paper-tools { justify-content: center; max-width: 760px; margin: 0 auto 16px; }
.w-auto, select.w-auto, input.w-auto { width: auto; }
input.w-num { width: 72px; max-width: 100%; }
.narrow-wide { max-width: 760px; }
.center-block { margin-left: auto; margin-right: auto; }
.field-sm { max-width: 280px; }
.input-sm { max-width: 140px; }
.toolbar > .shrink, .inline > .shrink { flex: 0 0 auto; }
.toolbar > .grow, .inline > .grow { flex: 3 1 240px; min-width: 0; }
.grid-2 > div, .grid-3 > div { min-width: 0; }
.mb { margin-bottom: 12px; }
.indent { margin-left: 28px; }
.pre-line { white-space: pre-line; overflow-wrap: anywhere; }
.ln-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.ln-h { margin: 14px 0 4px; font-size: 1rem; }
.mono { font-family: var(--mono); }
input.mono { letter-spacing: .04em; }
textarea.mono { font-size: .85rem; }
.mono-lg { font-family: var(--mono); font-size: 1.2rem; }
textarea.prose { min-height: 120px; }
textarea.notes { min-height: 90px; }
.prose h2 { margin-top: var(--s5); }
.prose li { margin-bottom: 4px; }
.kv.plain dd { font-weight: 400; }
.stat .value.value-text { font-size: 1.05rem; }
.amount-box > b { font-size: 1.1rem; overflow-wrap: anywhere; white-space: pre-line; }
.sms-sample { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; padding: 8px 14px; border-left: 3px solid var(--line-strong); background: var(--surface-2); }
.check + .check { margin-top: 8px; }
.check.option { margin-bottom: 10px; }
.check .help { margin-top: 2px; }
.check-cols { columns: 2 220px; column-gap: 24px; margin: 6px 0 4px; }
.check-cols.narrow-cols { columns: 3 160px; }
.check-cols > .check { break-inside: avoid; margin-bottom: 6px; }
.check-cols > .check + .check { margin-top: 0; }
fieldset.field { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
fieldset.field > legend { font-family: var(--sans); font-size: .86rem; font-weight: 600; padding: 0; margin-bottom: 5px; }
fieldset.field .check { padding-top: 10px; padding-bottom: 10px; font-size: 1rem; }
fieldset.field .check + .check { margin-top: 0; }
fieldset.field .check input { top: 11px; }
.chips { margin: 0 0 var(--s3); }
.inline-details { display: inline-block; vertical-align: middle; }
.inline-details[open] { display: block; margin-top: 6px; }
img.thumb, .img-preview { display: block; max-width: 160px; max-height: 160px; border: 1px solid var(--rule); }
.img-preview { margin-top: 6px; }
img.photo-lg { max-width: 100%; max-height: 420px; border: 1px solid var(--rule); }
.photo-row { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.photo-row-main { flex: 1 1 220px; min-width: 0; }
.passport { flex: none; width: 96px; height: 120px; border: 1px solid var(--line-strong); overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--surface-2); }
.passport img { width: 96px; height: 120px; object-fit: cover; }
.passport-initials { color: var(--muted); font-family: var(--serif); font-size: 1.6rem; font-weight: 700; }
#timetable tr.tt-now td { background: var(--green-soft); }
@media (max-width: 600px) {
  .wrap { padding: 0 12px; }
  main.wrap { padding-top: 16px; }
  .card { padding: 14px; }
  .card.ruled, .sheet { padding: 12px 0 4px; }
  .paper { padding: 16px; }
  .report-meta { grid-template-columns: 1fr 1fr; }
  .school-name { max-width: 40vw; }
  .topbar .school-name { display: none; }
  .has-side .topbar .school-name { display: block; max-width: none; }
  .hide-sm { display: none; }
  .show-sm { display: block !important; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats:has(> .card) { gap: 8px; }
  .stat { padding: 10px 12px; }
  .stat .value { font-size: 1.2rem; }
  th, td { padding: 9px 8px; }
  .page-head { align-items: flex-start; }
  .page-head .actions { width: 100%; }
  .kv { gap: 4px 12px; }
  .paper .kv { gap: 0; }
}
@media (max-width: 340px) { .stats { grid-template-columns: 1fr; } }
@media (min-width: 420.02px) { .toolbar > :has(> select, > .field > select), .inline > :has(> select, > .field > select) { flex-basis: 200px; } }
.row:has(> .field > select#share) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 420px) {
  .toolbar > *, .inline > * { flex-basis: 100%; }
  .row { grid-template-columns: minmax(0, 1fr); }
}
@media screen {
  .table-wrap.more-right { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), rgba(0, 0, 0, .12)); mask-image: linear-gradient(to right, #000 calc(100% - 36px), rgba(0, 0, 0, .12)); }
}
@media (pointer: coarse) {
  .check:not(.auth *) { padding-top: 10px; padding-bottom: 10px; }
  .check:not(.auth *) input { top: 11px; }
  .check:not(.auth *) + .check { margin-top: 0; }
  details > summary:not(.auth summary) { min-height: 44px; padding-top: 11px; padding-bottom: 11px; box-sizing: border-box; cursor: pointer; }
  label.fr-switch { min-height: 44px; }
  .cat-row form > button.sm { min-width: 44px; }
  table.table-cards td a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
  .callout a:not(.btn) { padding: 12px 0; }
}
.vcode { white-space: nowrap; }
@page { size: A4; margin: 10mm; }
@media print {
  body, body.has-side { background: #fff; color: #000; font-size: 12px; padding: 0; }
  .no-print, .topbar, .side, .nav-scrim, .nav-toggle, .skip, .subnav, .flash, #sp-offline, .site-footer { display: none !important; }
  .print-only { display: block; }
  main.wrap { padding: 0; max-width: none; margin: 0; }
  .paper { background: #fff; border: 0; padding: 0; max-width: none; margin: 0; box-shadow: none; border-radius: 0; }
  .paper.rcpt { padding-left: 34px; }
  .paper.rcpt::before { left: 6px; }
  .amount-box { background: #fff; }
  .page-break { page-break-after: always; break-after: page; }
  .card { border: 0; padding: 0; box-shadow: none; border-radius: 0; background: #fff; }
  .stat { background: #fff; }
  .table-wrap, .table-wrap.tall { overflow: visible; max-height: none; }
  thead { display: table-header-group; }
  tr, .sign, .amount-box, .rcpt-sign { break-inside: avoid; }
  tbody tr:hover { background: transparent; }
  a { color: inherit; text-decoration: none; }
}
.break-any { overflow-wrap: anywhere; }
.demo-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 8px 14px; background: #fff4d6; color: #4d3a00;
  border-bottom: 1px solid #e8c66a; font-size: .9rem; position: relative; z-index: 21;
  padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
.demo-banner > span { min-width: 0; }
.demo-banner a, .demo-banner button.link { color: #4d3a00; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; min-height: 32px; padding: 0; margin: 0; }
.demo-banner form { margin: 0; }
@media (max-width: 600px) {
  .demo-banner { row-gap: 0; padding-top: 6px; padding-bottom: 4px; font-size: .86rem; }
  .demo-banner > span { flex: 1 1 100%; padding-bottom: 2px; }
  .demo-banner a, .demo-banner button.link { font-size: .86rem; }
}
@media screen and (prefers-color-scheme: dark) {
  html:where(:not([data-theme="light"])) .demo-banner { background: #2e2612; color: #f1dca2; border-bottom-color: #6b5420; }
  html:where(:not([data-theme="light"])) .demo-banner a, html:where(:not([data-theme="light"])) .demo-banner button.link { color: #f6e2a8; }
}
@media screen {
  html:where([data-theme="dark"]) .demo-banner { background: #2e2612; color: #f1dca2; border-bottom-color: #6b5420; }
  html:where([data-theme="dark"]) .demo-banner a, html:where([data-theme="dark"]) .demo-banner button.link { color: #f6e2a8; }
}
.demo-start .demo-role { margin: 0 0 14px; }
.demo-start .demo-role p { margin: 6px 2px 0; }
@media print { .demo-banner { display: none !important; } }
.sh-school { border-top: 4px solid var(--school); }
.sh-school { border-top: 0; box-shadow: inset 0 4px 0 var(--school); }
@media (pointer: coarse) {
  .sh-demo a, .sh-demo button.link { display: inline-flex; align-items: center; min-height: 44px; }
  .sh-demo button.link { padding: 0; min-width: 0; justify-content: flex-start; }
}
.sh-dash-head { align-items: flex-end; }
.sh-dash-head > div:first-child { flex: 1 1 28em; }
.sh-dash-head .headline { margin-bottom: 4px; }
.sh-greet { margin: 0 0 4px; font-size: .95rem; }
.sh-dash-head .meter-legend { margin-bottom: 4px; }
.sh-dash-head .actions { flex: 0 1 auto; }
.sh-dash-grid { display: grid; gap: 0 var(--s6); align-items: start; }
@media (min-width: 1200px) { .sh-dash-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.sh-dash-main, .sh-dash-side { min-width: 0; }
.sh-dash-grid .card.ruled h2, .sh-side-panels > .card h2 { font-size: 1.15rem; }
.sh-dash-grid .card-head a { font-size: .88rem; display: inline-flex; align-items: center; min-height: 44px; }
.sh-dash-grid .ledger .no a { color: var(--red); text-underline-offset: 3px; }
.sh-dash-grid .ledger td > .small { margin-top: 1px; }
.sh-dash-grid .sh-pct { width: 7.5rem; }
.sh-dash-grid tfoot .sh-pct { font-family: var(--mono); }
.sh-side-panels { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 0; }
.sh-side-panels > .card { background: transparent; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: var(--s3) 0 var(--s2); margin: 0 0 var(--s4); }
.sh-side-panels > .card > h2:first-child { margin-bottom: var(--s2); }
.sh-side-panels > .card p:last-child { margin-bottom: 0; }
.sh-side-panels > .callout { margin: 0 0 var(--s4); }
.sh-side-panels > #getting-started { border-top-width: 2px; }
.sh-dash-head + .card.ruled .ledger td.right { white-space: normal; }
.sh-approvals-line { font-size: clamp(1.15rem, 1rem + 1vw, 1.5rem); margin: 0 0 var(--s5); }
.mz-ledger td.no a, .mz-ledger .no a { color: inherit; text-decoration-color: currentColor; text-underline-offset: 2px; }
.mz-serial { font-family: var(--mono); color: var(--red); white-space: nowrap; }
.mz-serial a { color: inherit; text-decoration-color: currentColor; text-underline-offset: 2px; }
.mz-ledger td.no a:hover, .mz-serial a:hover { text-decoration-thickness: 2px; }
.mz-ref { font-family: var(--mono); font-size: .84rem; overflow-wrap: anywhere; }
.mz-acct { font-family: var(--mono); font-size: 1.05em; letter-spacing: .04em; white-space: nowrap; }
.mz-ledger td.num .stamp-word, .mz-ledger td.r .stamp-word { font-family: var(--sans); margin-top: 4px; }
.mz-ledger tr.mz-total td { border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); font-weight: 700; }
.mz-ledgerwrap > table { font-size: .95rem; }
.mz-ledgerwrap > table th { font: 700 .72rem/1.2 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 6px 8px; border-bottom: 3px double var(--red); background: transparent; }
.mz-ledgerwrap > table td { padding: 9px 8px; border-bottom: 1px solid var(--feint); vertical-align: top; }
.mz-ledgerwrap > table th.num { text-align: right; }
.mz-ledgerwrap > table td.num { text-align: right; font-family: var(--serif); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; font-size: 1.02rem; }
.mz-ledgerwrap > table .owing { color: var(--red); }
.mz-ledgerwrap > table tr.mz-total td { border-top: 1px solid var(--ink); border-bottom: 3px double var(--ink); font-weight: 700; }
.mz-fee-classes { margin: 0 0 24px; }
.mz-fee-classes > .card.ruled { padding-top: 10px; }
.mz-fee-classes h3 { font-size: 1.05rem; }
.mz-fee-classes .ledger td:last-child { width: 44px; text-align: right; }
.mz-stamped { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin: 4px 0 12px; }
.mz-stamped > .stamp { margin: 4px 6px; }
.mz-stamped > p { flex: 1 1 240px; margin: 0; }
.mz-sum { border-top: 1px solid var(--ink); padding-top: 8px; }
.mz-sum .money { font-size: 1.1em; }
@media (max-width: 600px) {
  .mz-form .row { grid-template-columns: 1fr; }
  .mz-form form > button[type="submit"], .mz-form .toolbar > button[type="submit"] { width: 100%; }
}
@media print {
  .mz-stampline .stamp { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .mz-ledger td.no a, .mz-serial a { text-decoration: none; }
}
.sch-list > table thead th { border-bottom: 3px double var(--red); padding-top: 6px; padding-bottom: 6px; }
.sch-list > table td { border-bottom: 1px solid var(--feint); }
.sch-list > table tbody tr:last-child td { border-bottom: 1px solid var(--feint); }
.sch-list > table td small { display: block; color: var(--muted); font-size: .8rem; }
.sch-no { font: 500 .82rem/1.3 var(--mono); color: var(--muted); white-space: nowrap; width: 2.6em; }
.sch-markbook > table thead th { border-bottom: 3px double var(--red); vertical-align: bottom; }
.sch-markbook > table th + th, .sch-markbook > table td + td { border-left: 1px solid var(--feint); }
.sch-markbook > table td { vertical-align: middle; }
.sch-markbook > table tbody tr:nth-child(5n):not(:last-child) td { border-bottom-color: var(--line-strong); }
.sch-markbook > table .col-total, .sch-markbook > table td.total { border-left: 1px solid var(--ink); font-family: var(--serif); font-weight: 700; }
.sch-markbook > table th.col-total { border-left: 1px solid var(--ink); }
.sch-markbook > table .col-grade, .sch-markbook > table td.grade { font-family: var(--serif); font-weight: 700; text-align: center; }
.sch-markbook .score-input { font-family: var(--serif); font-size: 1.02rem; background: var(--card); border-color: var(--line-strong); border-radius: var(--radius-sm); }
.sch-markbook .score-input:hover { border-color: var(--ink); }
.sch-markbook .score-input[aria-invalid="true"] { border: 2px solid var(--red); color: var(--red); }
@media print { .sch-markbook > table th + th, .sch-markbook > table td + td { border-left-color: #999; } }
.sch-register > table thead th { border-bottom: 3px double var(--red); }
.sch-register > table th.d, .sch-register > table td.d { border-left: 1px solid var(--feint); font-family: var(--mono); }
.sch-register > table th.d.wk, .sch-register > table td.d.wk { border-left: 1px solid var(--ink); }
.sch-register > table td.d.A { color: var(--amber); font-weight: 700; }
.sch-register > table td.d.L { color: var(--amber); font-weight: 700; }
.sch-register > table td.d.P { color: var(--muted); }
.sch-register > table .sum { border-left: 1px solid var(--ink); }
.sch-register > table tbody tr:nth-child(5n):not(:last-child) td { border-bottom-color: var(--line-strong); }
.sch-register > table td.nowrap:first-child, .sch-register > table th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); }
.sch-register > table thead th:first-child { z-index: 2; }
@media print {
  .sch-register > table td.nowrap:first-child, .sch-register > table th:first-child { position: static; background: #fff; }
  .sch-register > table th.d, .sch-register > table td.d { border-left-color: #999; }
}
.sch-board > table { border: 1px solid var(--ink); }
.sch-board > table th, .sch-board > table td { border: 1px solid var(--rule); }
.sch-board > table thead th { border-bottom: 3px double var(--red); background: var(--paper-2); }
.sch-board > table td { font-family: var(--serif); }
.sch-board > table td .t, .sch-board > table th .t, .sch-board > table td.p { font-family: var(--mono); font-size: .78rem; }
.sch-board > table td.brk { background: var(--paper-2); font-family: var(--sans); }
.sch-roll { border-top: 2px solid var(--ink); }
.sch-roll > * { border-bottom: 1px solid var(--feint); }
.sch-roll > *:nth-child(5n) { border-bottom-color: var(--line-strong); }
.sch-roll .sch-no { display: inline-block; width: 2.2em; }
.sch-note { background: var(--card); border: 1px solid var(--rule); border-left: 3px solid var(--line-strong); border-radius: var(--radius-sm); padding: 10px 14px; margin: 0 0 10px; max-width: 46em; }
.sch-note.staff { border-left-color: var(--green); }
.sch-key { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .84rem; color: var(--muted); margin: 0 0 8px; }
.sch-key b { font-family: var(--mono); color: var(--ink); }
.topbar.pt-sch { background: var(--school, #0b5d3a); color: #fff; position: relative; margin-bottom: 8px; border-bottom: 0; }
.pt-sch::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(251, 248, 241, .5) 0 8px, transparent 8px 16px),
    repeating-linear-gradient(0deg, rgba(251, 248, 241, .5) 0 4px, transparent 4px 8px),
    var(--school, #0b5d3a); }
.topbar.pt-sch .pt-sch-bar { display: flex; gap: 12px; align-items: center; min-height: 64px; padding-top: 12px; padding-bottom: 12px; max-width: 672px; }
.topbar.pt-sch a.pt-sch-name { color: #fff; text-decoration: none; display: flex; gap: 12px; align-items: center; min-height: 44px; min-width: 0; }
.topbar.pt-sch a.pt-sch-name:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; }
.topbar.pt-sch a.pt-sch-name:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; box-shadow: 0 0 0 2px #1c2340; }
.pt-crest { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center;
  font: 700 1.05rem/1 var(--serif); letter-spacing: .02em; overflow: hidden; background: rgba(0, 0, 0, .08); }
.pt-crest img.school-logo { width: 100%; height: 100%; max-height: none; object-fit: contain; background: #fff; margin: 0; border-radius: 50%; }
.pt-sch-text { min-width: 0; }
.pt-sch-text b { display: block; font: 700 1.08rem/1.25 var(--serif); }
.pt-sch-text span { display: block; font-size: .85rem; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@supports (-webkit-line-clamp: 2) {
  .pt-sch-text span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; overflow-wrap: anywhere; }
}
.pt-home, .pt-page { max-width: 640px; margin-left: auto; margin-right: auto; }
.pt-home .subnav { margin-top: 0; }
.pt-due { margin: 8px 0 28px; }
.pt-due h1 { font-size: clamp(1.6rem, 1.2rem + 3vw, 2.3rem); line-height: 1.15; margin: 0 0 6px; }
.pt-due h1 .pt-amt { white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.pt-due .pt-for { font-size: 1.05rem; margin: 0 0 16px; }
.pt-due .btn.big { display: flex; width: 100%; font-size: 1.12rem; min-height: 56px; }
.pt-how { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 8px; font-size: .86rem; color: var(--muted); }
.pt-how span { border: 1px solid var(--rule); padding: 2px 8px; border-radius: var(--radius-sm); background: var(--card); color: var(--ink); }
.pt-acct { border: 2px solid var(--ink); background: var(--card); padding: 14px 16px 10px; margin: 0 0 28px; border-radius: 0; }
.pt-acct h2 { font-size: 1.05rem; margin: 0 0 6px; }
.pt-acct-no { font: 700 1.6rem/1.15 var(--mono); letter-spacing: .06em; margin: 6px 0 2px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; color: var(--ink); }
.pt-acct-bank { margin: 0 0 10px; }
.pt-acct .callout { margin: 8px 0; }
.pt-sec { border-top: 2px solid var(--ink); padding-top: 14px; margin: 0 0 28px; }
.pt-sec > h2 { font-size: 1.25rem; margin-bottom: 4px; }
.pt-kid { position: relative; padding: 14px 0; border-bottom: 1px solid var(--feint); }
.pt-kid:last-child { border-bottom: 0; }
.pt-kid h3 { font-size: 1.15rem; margin: 0 0 2px; padding-right: 0; }
.pt-kid.pt-has-stamp h3, .pt-kid.pt-has-stamp .pt-kid-meta, .pt-kid.pt-has-stamp .pt-bal { padding-right: 92px; }
.pt-kid-meta { color: var(--muted); font-size: .9rem; }
.pt-bal { font: 700 1.15rem/1.3 var(--serif); margin: 6px 0 0; font-variant-numeric: tabular-nums lining-nums; }
.pt-bal.owe { color: var(--red); }
.pt-kid .stamp.pt-kid-stamp { position: absolute; right: 0; top: 8px; width: 84px; height: 84px; }
.pt-kid details { margin-top: 10px; }
.pt-kid details > summary { min-height: 44px; display: flex; align-items: center; color: var(--green); font-weight: 600; font-size: .95rem; }
.pt-kid details > summary:hover { text-decoration: underline; }
.pt-kid details > summary::before, .pt-home #how-to-pay details > summary::before { content: "\25B8"; display: inline-block; width: 1.1em; flex: none; transition: transform .15s; }
.pt-kid details[open] > summary::before, .pt-home #how-to-pay details[open] > summary::before { transform: rotate(90deg); }
.pt-kid details > summary::-webkit-details-marker, .pt-home #how-to-pay details > summary::-webkit-details-marker { display: none; }
.pt-kid h4 { font: 700 1rem/1.35 var(--serif); margin: 14px 0 6px; }
.pt-kid .actions { margin-top: 8px; }
.pt-kid .table-wrap { margin: 4px 0 8px; }
.pt-sec .stubs .stub-what .badge { margin-left: 6px; vertical-align: 1px; }
.pt-sec .stubs s { color: var(--muted); }
.pt-home .pt-panels { display: block; }
.pt-home .pt-panels > .card, .pt-home .pt-top-panels > .card { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 14px 0 4px; margin: 0 0 28px; }
.pt-home .pt-panels > .card > h2, .pt-home .pt-top-panels > .card > h2, .pt-home .pt-top-panels > .card > .card-head h2 { font-size: 1.25rem; }
.pt-home .pt-top-panels > .card.pt-acct { border: 2px solid var(--ink); background: var(--card); padding: 14px 16px 10px; }
.pt-home #transfers { border: 2px solid var(--ink); background: var(--card); border-radius: 0; }
.pt-slower > #how-to-pay { background: transparent; border: 1px dashed var(--muted); border-radius: 0; padding: 12px 14px; }
.pt-slower > #how-to-pay > h2 { font-size: 1.05rem; }
.pt-home #how-to-pay details > summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; color: var(--ink); }
.pt-home #how-to-pay .pt-bank { font: 600 1rem/1.4 var(--mono); border: 1px solid var(--rule); background: var(--card); padding: 10px 12px; overflow-wrap: anywhere; }
.pt-foot { text-align: center; color: var(--muted); font-size: .86rem; margin: 6px 0; }
.pt-slips { list-style: none; margin: 0 0 16px; padding: 0; }
.pt-slip { background: var(--card); color: var(--ink); border: 1px solid var(--rule); border-left: 6px dotted var(--line-strong);
  padding: 14px 104px 6px 16px; margin: 0 0 12px; min-height: 124px; }
.pt-slip .pt-slip-no { font: 600 .9rem/1.3 var(--mono); color: var(--red); }
.pt-slip .pt-slip-for { margin: 4px 0 0; font: italic 1.05rem/1.35 var(--serif); color: var(--entry); }
.pt-slip .pt-slip-amt { font: 700 1.35rem/1.25 var(--serif); margin: 4px 0 2px; font-variant-numeric: tabular-nums lining-nums; }
.pt-slip .pt-slip-date { font-size: .86rem; color: var(--ink-2); }
.pt-slip a { color: var(--green); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.pt-slip .stamp { position: absolute; right: 10px; top: 16px; width: 88px; height: 88px; mix-blend-mode: multiply; }
@media (max-width: 360px) { .pt-slip { padding-right: 16px; } .pt-slip .stamp { position: static; display: block; margin: 0 0 6px auto; } }
.pt-result h1 { margin-bottom: 4px; }
.pt-checkout { max-width: 560px; margin: 0 auto; }
.pt-practice { border: 2px dashed var(--ink); background: var(--card); padding: 10px 14px; margin: 0 0 18px; font-size: .92rem; }
.pt-practice b { font-family: var(--mono); letter-spacing: .06em; }
.pt-checkout .pt-due-to { margin: 0 0 4px; }
.pt-page .page-head { margin-bottom: 18px; }
.pt-page .pt-cal-now { font-size: clamp(1.15rem, 1rem + 1vw, 1.45rem); margin: 0 0 20px; }
@media print {
  .pt-due .btn, .pt-how, .pt-foot, .pt-practice, .sh-dash-grid .card-head a { display: none !important; }
  .pt-sec, .pt-kid, .pt-slip, .pt-acct, .sh-side-panels > .card { break-inside: avoid; }
  .pt-slip { border-left-style: dashed; }
  .pt-acct, .pt-home #transfers { background: #fff; }
  .stamp, .stamp-word, .meter-bar > span, .sch-board > table td.brk { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sh-school, .paper.rcpt { border-top: 0; }
}
@media screen and (prefers-color-scheme: dark) {
  html:where(:not([data-theme="light"])) body:not(.site) .pt-slip { box-shadow: 0 0 0 1px #3b3429; }
}
@media screen { html:where([data-theme="dark"]) body:not(.site) .pt-slip { box-shadow: 0 0 0 1px #3b3429; } }
.tw-theme { --tw-d: 0; --tw-ink: var(--ink); --tw-edge: var(--ink); --tw-face: var(--card); --tw-face-hover: var(--surface-2);
  display: none; align-items: center; justify-content: center; flex: none; position: relative; width: 44px; height: 44px; min-height: 44px;
  padding: 0; margin: 0; border: 0; border-radius: 50%; background: transparent; color: var(--tw-ink); cursor: pointer; transition: none; }
html.tw-js .tw-theme { display: inline-flex; }
.tw-theme:hover, .tw-theme:active { background: transparent; border-color: transparent; color: var(--tw-ink); transform: none; }
html[data-theme="dark"] .tw-theme { --tw-d: 1; }
@media screen and (prefers-color-scheme: dark) { html:not([data-theme="light"]) .tw-theme { --tw-d: 1; } }
.tw-lift { display: block; width: 38px; height: 38px; border-radius: 50%; perspective: 240px; }
.tw-coin { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
  transform: rotateY(calc(var(--tw-d) * 180deg)); transition: transform .6s cubic-bezier(.55, -.3, .3, 1.35); }
.tw-face { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: var(--tw-face); color: var(--tw-ink);
  border: 1.5px solid var(--tw-edge); -webkit-backface-visibility: hidden; backface-visibility: hidden; transition: background-color .15s; }
.tw-face::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px dotted currentColor; opacity: .4; pointer-events: none; }
.tw-face-moon { transform: rotateY(180deg); }
.tw-theme:hover .tw-face { background: var(--tw-face-hover); }
.tw-face svg { display: block; overflow: visible; }
.tw-rays, .tw-moon, .tw-stars { transform-box: fill-box; transform-origin: center; }
.tw-rays { transform: rotate(calc(var(--tw-d) * -90deg)) scale(calc(1 - var(--tw-d) * .55)); transition: transform .7s cubic-bezier(.34, 1.56, .64, 1) .15s; }
.tw-moon { transform: rotate(calc((1 - var(--tw-d)) * -50deg)); transition: transform .75s cubic-bezier(.34, 1.56, .64, 1) .15s; }
.tw-stars { opacity: var(--tw-d); transform: scale(calc(.3 + var(--tw-d) * .7)); transition: opacity .3s ease .35s, transform .45s cubic-bezier(.34, 1.56, .64, 1) .35s; }
.tw-flip .tw-lift { animation: tw-lift .6s cubic-bezier(.3, .7, .4, 1); }
@keyframes tw-lift {
  0%, 100% { transform: none; filter: drop-shadow(0 0 0 rgba(12, 14, 24, 0)); }
  45% { transform: translateY(-3px) scale(1.16); filter: drop-shadow(0 7px 5px rgba(12, 14, 24, .32)); }
}
html.tw-vt::view-transition-old(root), html.tw-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.tw-fade, html.tw-fade :not(.tw-theme, .tw-theme *), html.tw-fade ::before, html.tw-fade ::after {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, fill .35s ease, stroke .35s ease, box-shadow .35s ease !important; }
@media (prefers-reduced-motion: reduce) {
  .tw-coin, .tw-rays, .tw-moon, .tw-stars { transition: none; }
  .tw-flip .tw-lift { animation: none; }
}
.topbar .bar .tw-theme { margin: 0 -4px 0 -2px; }
@media (max-width: 520px) { html.tw-js .has-side .topbar .menu-btn { font-size: 0; gap: 0; width: 44px; padding: 0; justify-content: center; } }
.tw-corner { display: none; }
html.tw-js .tw-corner { display: flex; justify-content: flex-end; padding-top: 8px; }
html.tw-js .tw-corner + main.wrap { padding-top: 0; }
html.tw-js .tw-corner + main .auth { margin-top: 8px; }
.pt-sch .tw-theme { --tw-ink: #fff; --tw-edge: rgba(255, 255, 255, .9); --tw-face: rgba(0, 0, 0, .16); --tw-face-hover: rgba(0, 0, 0, .3); margin-left: auto; }
.pt-sch .tw-theme:focus-visible { box-shadow: 0 0 0 2px #1c2340; }
.topbar.pt-sch .pt-sch-bar { flex-wrap: nowrap; }
@media print { .tw-theme, .tw-corner { display: none !important; } }
.auth-site { --a-el: 0 1px 2px rgba(60, 44, 18, .06), 0 10px 24px -8px rgba(60, 44, 18, .16), 0 32px 64px -28px rgba(60, 44, 18, .3);
  --a-glow: 0 8px 20px -10px rgba(28, 35, 64, .35); --a-ring: rgba(11, 93, 58, .16);
  --a-btn: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(8, 74, 46, .22), 0 4px 12px -4px rgba(8, 74, 46, .35);
  --a-btn-hover: inset 0 1px 0 rgba(255, 255, 255, .18), 0 2px 4px rgba(8, 74, 46, .2), 0 14px 26px -10px rgba(8, 74, 46, .5); }
html[data-theme="dark"] .auth-site { --a-el: inset 0 1px 0 rgba(255, 246, 228, .06), 0 2px 4px rgba(0, 0, 0, .45), 0 14px 30px -8px rgba(0, 0, 0, .6), 0 34px 64px -24px rgba(0, 0, 0, .75);
  --a-glow: 0 8px 22px -10px rgba(0, 0, 0, .8); --a-ring: rgba(127, 211, 168, .2); --a-btn: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 2px rgba(0, 0, 0, .5), 0 6px 16px -6px rgba(0, 0, 0, .7);
  --a-btn-hover: inset 0 1px 0 rgba(255, 255, 255, .14), 0 2px 4px rgba(0, 0, 0, .5), 0 14px 28px -10px rgba(11, 107, 67, .6); }
@media screen and (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .auth-site { --a-el: inset 0 1px 0 rgba(255, 246, 228, .06), 0 2px 4px rgba(0, 0, 0, .45), 0 14px 30px -8px rgba(0, 0, 0, .6), 0 34px 64px -24px rgba(0, 0, 0, .75);
    --a-glow: 0 8px 22px -10px rgba(0, 0, 0, .8); --a-ring: rgba(127, 211, 168, .2); --a-btn: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 2px rgba(0, 0, 0, .5), 0 6px 16px -6px rgba(0, 0, 0, .7);
    --a-btn-hover: inset 0 1px 0 rgba(255, 255, 255, .14), 0 2px 4px rgba(0, 0, 0, .5), 0 14px 28px -10px rgba(11, 107, 67, .6); }
}
.auth-site .card { border-radius: 2px 2px 6px 6px; box-shadow: var(--a-el); }
.auth-site details[open] { box-shadow: var(--a-el); }
.auth-site .field > label { transition: color .2s ease; }
.auth-site .field:focus-within > label:not(.check) { color: var(--green); }
.auth-site input:not([type=checkbox]):not([type=radio]) { transition: border-color .2s ease, box-shadow .3s cubic-bezier(.16, 1, .3, 1), background-color .2s ease; }
.auth-site input:not([type=checkbox]):not([type=radio]) { text-overflow: ellipsis; }
.auth-site input:not([type=checkbox]):not([type=radio]):focus { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 0 4px var(--a-ring), var(--a-glow); background-color: var(--card); }
.auth-site :is(input[aria-invalid="true"], .has-error input):focus { border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 0 0 4px var(--gold); }
.auth-site button[type=submit] { box-shadow: var(--a-btn);
  transition: background-color .2s ease, border-color .2s ease, box-shadow .25s cubic-bezier(.16, 1, .3, 1), transform .25s cubic-bezier(.16, 1, .3, 1); }
.auth-site button[type=submit]:hover { box-shadow: var(--a-btn-hover); }
.auth-site button[type=submit]:active { transform: translateY(0) scale(.985); box-shadow: var(--a-btn); transition-duration: .08s; }
.auth-site button[type=submit]:focus-visible { box-shadow: 0 0 0 2px var(--focus), var(--a-btn); }
.auth-site .brand-big img { transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
@media (prefers-reduced-motion: no-preference) { .auth-site .brand-big:hover img { transform: rotate(-14deg); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .auth-site button[type=submit]:hover:not(:disabled) { transform: translateY(-2px); }
}
@supports (color: color-mix(in srgb, red 50%, blue)) {
  .auth-site :is(p, li, .auth-links) a:not(.btn), body:has(.auth-site) .site-footer a {
    text-decoration: none; padding-bottom: 1px; --link-rest: color-mix(in srgb, currentColor 38%, transparent);
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat, linear-gradient(var(--link-rest), var(--link-rest)) 0 100% / 100% 1px no-repeat;
    transition: background-size .5s cubic-bezier(.16, 1, .3, 1), color .2s ease; }
  body:has(.auth-site) .site-footer a { background-size: 0 1px, 0 1px; background-position: 0 calc(100% - 8px), 0 calc(100% - 8px); }
  .auth-site :is(p, li, .auth-links) a:not(.btn):hover, body:has(.auth-site) .site-footer a:hover { background-size: 100% 1px, 100% 1px; }
}
@media (prefers-reduced-motion: reduce) { .auth-site .brand-big img { transition: none; } }
@media (max-width: 900px), (pointer: coarse) {
  body:has(.auth-site) .site-footer a { padding-top: 0; padding-bottom: 0; min-height: 44px; display: inline-flex; align-items: center; vertical-align: middle;
    background-position: 0 calc(50% + .75em), 0 calc(50% + .75em); }
  .auth-site label.check a { position: relative; }
  .auth-site label.check a::after { content: ""; position: absolute; left: -2px; right: -2px; top: 50%; height: 44px; transform: translateY(-50%); }
}
html.tw-vt .auth-site *, html.tw-vt body:has(.auth-site) .site-footer a { transition: none !important; }
@media screen and (prefers-reduced-motion: no-preference) {
  html.tw-js .auth-site > * { animation: tw-auth-rise .8s cubic-bezier(.16, 1, .3, 1) backwards; }
  html.tw-js .auth-site > :nth-child(2) { animation-delay: .07s; }
  html.tw-js .auth-site > :nth-child(3) { animation-delay: .14s; }
  html.tw-js .auth-site > :nth-child(4) { animation-delay: .24s; }
  html.tw-js .auth-site > :nth-child(n+5) { animation-delay: .32s; }
  html.tw-js .auth-site .brand-big img { animation: tw-auth-mark .75s cubic-bezier(.3, .6, .4, 1) .12s backwards; }
}
@keyframes tw-auth-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes tw-auth-mark {
  0% { opacity: 0; transform: scale(1.7) rotate(-32deg); }
  55% { opacity: 1; transform: scale(.93) rotate(-3deg); }
  78% { transform: scale(1.03) rotate(0); }
  100% { opacity: 1; transform: none; }
}
:root { --e-out: cubic-bezier(.16, 1, .3, 1);
  --el-1: 0 1px 1px rgba(60, 44, 18, .05), 0 2px 6px -2px rgba(60, 44, 18, .12);
  --el-2: 0 1px 2px rgba(60, 44, 18, .06), 0 8px 18px -6px rgba(60, 44, 18, .14), 0 22px 44px -20px rgba(60, 44, 18, .22);
  --el-3: 0 2px 4px rgba(60, 44, 18, .06), 0 14px 28px -10px rgba(60, 44, 18, .18), 0 44px 80px -30px rgba(60, 44, 18, .34);
  --btn-rest: 0 1px 2px rgba(8, 74, 46, .18), 0 3px 8px -4px rgba(8, 74, 46, .3);
  --btn-lift: 0 2px 4px rgba(8, 74, 46, .2), 0 10px 20px -8px rgba(8, 74, 46, .45);
  --tab: #fffdf8; --tab-edge: rgba(28, 35, 64, .1); --track: #f1ebdd;
  --track-in: inset 0 0 0 1px rgba(60, 44, 18, .07), inset 0 1px 1px rgba(60, 44, 18, .05); --banner-shadow: 0 6px 14px -12px rgba(77, 58, 0, .5); }
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --el-1: inset 0 1px 0 rgba(255, 246, 228, .05), 0 1px 2px rgba(0, 0, 0, .5), 0 3px 8px -2px rgba(0, 0, 0, .45);
    --el-2: inset 0 1px 0 rgba(255, 246, 228, .06), 0 2px 4px rgba(0, 0, 0, .45), 0 12px 26px -8px rgba(0, 0, 0, .6), 0 28px 52px -22px rgba(0, 0, 0, .7);
    --el-3: 0 2px 6px rgba(0, 0, 0, .5), 0 20px 40px -12px rgba(0, 0, 0, .72), 0 52px 90px -30px rgba(0, 0, 0, .85);
    --btn-rest: 0 1px 2px rgba(0, 0, 0, .5), 0 4px 10px -4px rgba(0, 0, 0, .6); --btn-lift: 0 2px 4px rgba(0, 0, 0, .5), 0 12px 24px -10px rgba(11, 107, 67, .6);
    --tab: #2e281f; --tab-edge: rgba(236, 230, 218, .1); --track: #1e1a14;
    --track-in: inset 0 0 0 1px rgba(236, 230, 218, .08), inset 0 1px 1px rgba(0, 0, 0, .25); --banner-shadow: 0 6px 16px -10px rgba(0, 0, 0, .7); }
  html:where(:not([data-theme="light"])) body:not(.site) .pt-slip { box-shadow: 0 0 0 1px #3b3429, var(--el-2); }
}
@media screen {
  :root[data-theme="dark"] { --el-1: inset 0 1px 0 rgba(255, 246, 228, .05), 0 1px 2px rgba(0, 0, 0, .5), 0 3px 8px -2px rgba(0, 0, 0, .45);
    --el-2: inset 0 1px 0 rgba(255, 246, 228, .06), 0 2px 4px rgba(0, 0, 0, .45), 0 12px 26px -8px rgba(0, 0, 0, .6), 0 28px 52px -22px rgba(0, 0, 0, .7);
    --el-3: 0 2px 6px rgba(0, 0, 0, .5), 0 20px 40px -12px rgba(0, 0, 0, .72), 0 52px 90px -30px rgba(0, 0, 0, .85);
    --btn-rest: 0 1px 2px rgba(0, 0, 0, .5), 0 4px 10px -4px rgba(0, 0, 0, .6); --btn-lift: 0 2px 4px rgba(0, 0, 0, .5), 0 12px 24px -10px rgba(11, 107, 67, .6);
    --tab: #2e281f; --tab-edge: rgba(236, 230, 218, .1); --track: #1e1a14;
    --track-in: inset 0 0 0 1px rgba(236, 230, 218, .08), inset 0 1px 1px rgba(0, 0, 0, .25); --banner-shadow: 0 6px 16px -10px rgba(0, 0, 0, .7); }
}
@media screen {
  .card:where(:not(.ruled)), .notice, .flash { box-shadow: var(--el-1); }
  .pt-slip { box-shadow: var(--el-2); }
  html:where([data-theme="dark"]) body:not(.site) .pt-slip { box-shadow: 0 0 0 1px #3b3429, var(--el-2); }
  .demo-banner { box-shadow: var(--banner-shadow); }
  .btn:where(:not(.link, .ghost)), button:where(:not(.link, .ghost, .tw-theme)) {
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .25s var(--e-out), transform .25s var(--e-out); }
  .btn:where(:not(.link, .ghost, .secondary, .danger, .plain)), button[type=submit]:where(:not(.link, .ghost, .secondary, .danger, .plain, .side-foot *)) { box-shadow: var(--btn-rest); }
  .btn:where(:not(.link, .ghost, .secondary, .danger, .plain, :disabled)):hover,
  button[type=submit]:where(:not(.link, .ghost, .secondary, .danger, .plain, .side-foot *, :disabled)):hover { box-shadow: var(--btn-lift); }
  .btn:where(.secondary, .danger, .plain):where(:not(:disabled)):hover, button:where(.secondary, .danger, .plain, .side-foot *):where(:not(:disabled)):hover { box-shadow: var(--el-1); }
  .btn:where(:not(.link, .ghost)):active, button:where(:not(.link, .ghost, .tw-theme)):active { transform: translateY(0) scale(.98); box-shadow: none; transition-duration: .08s; }
  .btn:focus-visible, button:not(.tw-theme):focus-visible { box-shadow: 0 0 0 2px var(--focus); }
  .side-nav a { border-radius: 8px; transition: background-color .2s ease, color .2s ease, box-shadow .25s ease; }
  .side-nav a.active, .side-nav a[aria-current="page"] { background: var(--tab); box-shadow: 0 0 0 1px var(--tab-edge), var(--el-1); }
  .side-nav a:focus-visible { box-shadow: 0 0 0 2px var(--focus); }
}
@media screen and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:where(:not(.link, .ghost, :disabled, [aria-disabled="true"])):hover, button:where(:not(.link, .ghost, .tw-theme, :disabled)):hover { transform: translateY(-1px); }
}
@media screen {
  .side { transition: transform .26s cubic-bezier(.4, 0, 1, 1), visibility 0s linear .26s; }
  .nav-toggle:checked ~ .side { transition: transform .55s var(--e-out), visibility 0s; box-shadow: var(--el-3); }
  .nav-scrim { display: block; opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility 0s linear .22s; }
  .nav-toggle:checked ~ .nav-scrim { opacity: 1; visibility: visible; transition: opacity .35s ease, visibility 0s; }
  @supports (backdrop-filter: blur(2px)) { .nav-scrim { backdrop-filter: blur(3px); } }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .nav-toggle:checked ~ .side .nav-group, .nav-toggle:checked ~ .side .side-foot { animation: tw-dd-in .5s var(--e-out) backwards; animation-delay: calc(60ms + var(--i, 7) * 45ms); }
  .side-nav a .nav-label { transition: transform .25s var(--e-out); }
  .side-nav a:hover .nav-label { transform: translateX(4px); }
  .nav-toggle:checked ~ .side .count { animation: tw-dd-pop .5s var(--e-out) .35s backwards; }
}
@keyframes tw-dd-in { from { opacity: 0; transform: translateX(28px); } }
@keyframes tw-dd-pop { from { transform: scale(0); } 70% { transform: scale(1.18); } }
@media screen and (prefers-reduced-motion: no-preference) {
  html.tw-js body:not(.site) > main:not(:has(> .auth-site)) { animation: tw-app-in .42s var(--e-out) backwards; }
  html.tw-js body:not(.site) > main > .flash { animation: tw-app-drop .5s var(--e-out) .12s backwards; }
  html.tw-js body:not(.site) > main :is(.stats, .grid-2, .grid-3) > * { animation: tw-app-in .55s var(--e-out) .08s backwards; }
  html.tw-js body:not(.site) > main :is(.stats, .grid-2, .grid-3) > :nth-child(2) { animation-delay: .14s; }
  html.tw-js body:not(.site) > main :is(.stats, .grid-2, .grid-3) > :nth-child(3) { animation-delay: .2s; }
  html.tw-js body:not(.site) > main :is(.stats, .grid-2, .grid-3) > :nth-child(4) { animation-delay: .26s; }
  html.tw-js body:not(.site) > main :is(.stats, .grid-2, .grid-3) > :nth-child(n+5) { animation-delay: .32s; }
  html.tw-js body:not(.site) > main .meter-bar > span { animation: tw-app-fill 1s var(--e-out) .25s backwards; transform-origin: left; }
  html.tw-js:not(.tw-banner-seen) .demo-banner { animation: tw-app-drop .55s var(--e-out) backwards; }
  html.tw-js .pt-result .pt-slip { animation: tw-app-in .6s var(--e-out) .1s backwards, tw-app-thump .34s ease-out .82s; }
  html.tw-js .pt-result .pt-slip .stamp { animation: tw-app-stamp .5s .55s backwards; }
  html.tw-js .pt-result .pt-slip + .pt-slip { animation-delay: .17s, .9s; }
  html.tw-js .pt-result .pt-slip + .pt-slip .stamp { animation-delay: .62s; }
}
@media screen and (prefers-reduced-motion: no-preference) {
  html.tw-js .pt-result .pt-slip.tw-wait { animation-play-state: running, paused; }
  html.tw-js .pt-result .pt-slip.tw-wait .stamp { animation-play-state: paused; }
}
@keyframes tw-app-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes tw-app-drop { from { opacity: 0; transform: translateY(-6px); } }
@keyframes tw-app-fill { from { transform: scaleX(0); } }
@media screen and (hover: hover) and (prefers-reduced-motion: no-preference) {
  body:not(.site) main :is(.stats > .card, .stats > .stat, .grid-2 > .card, .grid-3 > .card) { transition: transform .3s var(--e-out), box-shadow .3s var(--e-out); }
  body:not(.site) main :is(.stats > .card, .grid-2 > .card, .grid-3 > .card):hover { transform: translateY(-3px); box-shadow: var(--el-2); }
  body:not(.site) main .stats > .stat:hover { transform: translateY(-2px); }
}
@keyframes tw-app-thump { 0%, 100% { scale: 1; } 30% { scale: .99; } }
@keyframes tw-app-stamp {
  0% { opacity: 0; transform: translate(-6px, -10px) scale(1.6) rotate(-24deg); animation-timing-function: cubic-bezier(.55, 0, .9, .45); }
  55% { opacity: .92; transform: translate(0, 0) scale(.94) rotate(-12deg); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  100% { opacity: .88; transform: translate(0, 0) scale(1) rotate(-12deg); }
}
html.tw-vt body:not(.site) :not(.tw-theme, .tw-theme *), html.tw-vt body:not(.site) ::before, html.tw-vt body:not(.site) ::after { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .side, .nav-scrim, .nav-toggle:checked ~ .side, .nav-toggle:checked ~ .nav-scrim, .side-nav a, .btn, button { transition: none !important; }
  .btn:active, button:active { transform: none; }
}
.draft-note { font-size: .875rem; padding: .5rem .75rem; border-left: 3px solid var(--line); margin: 0 0 .75rem; background: var(--surface-2); color: var(--ink); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; overflow-wrap: anywhere; }
.toolbar > .draft-note, .cluster > .draft-note { flex: 1 0 100%; }
.draft-note.is-warn { border-left-color: var(--amber); }
.draft-note button.link, .draft-note a { font-size: inherit; margin-left: .35em; }
.draft-note { display: flex; flex-wrap: wrap; align-items: center; column-gap: .5rem; }
.draft-note button.link, .draft-note a { margin-left: 0; }
.draft-note.is-float { position: fixed; top: calc(.5rem + env(safe-area-inset-top, 0px)); left: .75rem; right: .75rem; z-index: 50; max-width: 36rem;
  margin: 0 auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-2), 0 1px 3px rgba(0, 0, 0, .2); }
.student-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.student-head-text { min-width: 0; overflow-wrap: anywhere; }
.student-photo, .pt-kid-photo { flex: none; display: block; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line-strong);
  background: var(--surface-2); border-radius: var(--radius-sm, 4px); max-width: 100%; }
.student-photo { width: clamp(64px, 18vw, 104px); }
.pt-kid-head { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.pt-kid-text { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.pt-kid-photo { width: clamp(56px, 16vw, 80px); }
@media print { .student-photo { width: 72px; } }
.auth .code-input { font: 600 1.6rem/1.2 var(--mono, ui-monospace, monospace); letter-spacing: .3em; text-align: center; max-width: 100%; }
.signup-more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.signup-more form { display: block; }
.code-via { display: flex; flex-direction: column; gap: 6px; }
.staff-places { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.staff-place { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; max-width: 100%; overflow-wrap: anywhere; }
.staff-place:hover { background: var(--hover); color: var(--ink); }
.staff-place.on { background: var(--green); border-color: var(--green); color: #fff; }
.staff-where select { max-width: 100%; }
@media screen and (prefers-reduced-motion: no-preference) { .staff-place { transition: background-color .2s, transform .25s var(--e-out); } .staff-place:hover { transform: translateY(-1px); } }
@media screen and (prefers-color-scheme: light) {
  html:where(:not([data-theme="dark"])) body:not(.site) {
    --paper: #ffffff; --paper-2: #f2f8f5; --bg: #ffffff; --card: #ffffff; --field-bg: #ffffff; --surface-2: #f3f8f5;
    --ink: #0f1f18; --ink-2: #4f6258; --muted: #4f6258;
    --rule: #e3ece7; --line: #e3ece7; --line-strong: #c9dad0; --field-line: #b3c7bb; --feint: #edf3ef;
    --green: #0b5d3a; --green-dark: #084a2e; --green-soft: #eaf7f0; --green-line: #bfe3cf; --primary: #0b5d3a; --primary-dark: #084a2e;
    --blue: #2f43a8; --blue-soft: #eef0fc; --blue-line: #cbd1f2;
    --hover: rgba(11, 93, 58, .06); --bar-bg: rgba(255, 255, 255, .82); --side-bg: #ffffff; --focus: #ffffff;
  }
}
@media screen {
  html:where([data-theme="light"]) body:not(.site) {
    --paper: #ffffff; --paper-2: #f2f8f5; --bg: #ffffff; --card: #ffffff; --field-bg: #ffffff; --surface-2: #f3f8f5;
    --ink: #0f1f18; --ink-2: #4f6258; --muted: #4f6258;
    --rule: #e3ece7; --line: #e3ece7; --line-strong: #c9dad0; --field-line: #b3c7bb; --feint: #edf3ef;
    --green: #0b5d3a; --green-dark: #084a2e; --green-soft: #eaf7f0; --green-line: #bfe3cf; --primary: #0b5d3a; --primary-dark: #084a2e;
    --blue: #2f43a8; --blue-soft: #eef0fc; --blue-line: #cbd1f2;
    --hover: rgba(11, 93, 58, .06); --bar-bg: rgba(255, 255, 255, .82); --side-bg: #ffffff; --focus: #ffffff;
  }
}
@media screen and (prefers-color-scheme: dark) {
  html:where(:not([data-theme="light"])) body:not(.site) {
    --paper: #0a1511; --paper-2: #14231c; --bg: #0a1511; --card: #0f1c16; --field-bg: #0c1813; --surface-2: #14231c;
    --ink: #e7f2ec; --ink-2: #a5bbaf; --muted: #a5bbaf;
    --rule: #20342a; --line: #20342a; --line-strong: #31503f; --field-line: #4c6d5c; --feint: #1a2b22;
    --green-soft: #0f2a1d; --green-line: #245a40; --primary: #0f7a4c; --primary-dark: #0b5d3a;
    --hover: rgba(127, 224, 173, .07); --bar-bg: rgba(10, 21, 17, .82); --side-bg: #0f1c16; --focus: #0a1511;
    --tab: #16281f; --track: #0c1813;
  }
}
@media screen {
  html:where([data-theme="dark"]) body:not(.site) {
    --paper: #0a1511; --paper-2: #14231c; --bg: #0a1511; --card: #0f1c16; --field-bg: #0c1813; --surface-2: #14231c;
    --ink: #e7f2ec; --ink-2: #a5bbaf; --muted: #a5bbaf;
    --rule: #20342a; --line: #20342a; --line-strong: #31503f; --field-line: #4c6d5c; --feint: #1a2b22;
    --green-soft: #0f2a1d; --green-line: #245a40; --primary: #0f7a4c; --primary-dark: #0b5d3a;
    --hover: rgba(127, 224, 173, .07); --bar-bg: rgba(10, 21, 17, .82); --side-bg: #0f1c16; --focus: #0a1511;
    --tab: #16281f; --track: #0c1813;
  }
}
@media screen {
  body:not(.site) {
    --serif: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --radius: 12px; --radius-sm: 8px; --radius-lg: 20px;
    --tw-emerald: #10a36a; --tw-teal: #0e7c86; --tw-indigo: #3b4cb8; --tw-gold: #e9a91c;
    --tw-grad: linear-gradient(135deg, #12865a 0%, #0b5d3a 60%, #08472c 100%);
    --el-1: 0 1px 2px rgba(15, 60, 40, .05), 0 6px 20px -12px rgba(15, 60, 40, .16);
    --el-2: 0 2px 4px rgba(15, 60, 40, .05), 0 14px 32px -14px rgba(15, 60, 40, .22);
    --el-3: 0 4px 10px rgba(15, 60, 40, .08), 0 30px 70px -24px rgba(15, 60, 40, .32);
    --btn-rest: 0 1px 2px rgba(8, 74, 46, .2), 0 6px 14px -8px rgba(8, 74, 46, .5);
    --btn-lift: 0 2px 4px rgba(8, 74, 46, .2), 0 14px 26px -10px rgba(8, 74, 46, .55);
    --tab: #ffffff; --tab-edge: rgba(11, 93, 58, .12); --track: #f1f7f3;
    --ring: 0 0 0 1px var(--green), 0 0 0 4px rgba(16, 163, 106, .25);
  }
  body:not(.site) { background: var(--bg); letter-spacing: -.003em; }
  body:not(.site) :is(h1, h2, h3) { letter-spacing: -.02em; color: var(--ink); }
  body:not(.site) h1 { font-weight: 800; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem); letter-spacing: -.03em; }
  body:not(.site) h2 { font-weight: 700; }
  body:not(.site) .topbar:not(.pt-sch) { background: var(--bar-bg); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255, 255, 255, .6), 0 8px 24px -18px rgba(15, 60, 40, .25); }
  @supports (backdrop-filter: blur(4px)) {
    body:not(.site) .topbar:not(.pt-sch) { background: transparent; }
    body:not(.site):not(.has-side) .topbar:not(.pt-sch) { position: relative; z-index: 5; }
    body:not(.site) .topbar:not(.pt-sch)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bar-bg); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
  }
  body:not(.site) .brand { font-weight: 800; letter-spacing: -.02em; }
  body:not(.site) .topbar .brand-mark { color: #fff; background: var(--tw-grad); border-radius: 10px; padding: 4px; box-shadow: var(--btn-rest); box-sizing: content-box; }
  body:not(.site) .school-name { font-weight: 700; letter-spacing: -.01em; }
  body:not(.site) .term-pill { font: 700 .74rem/1.5 var(--sans); letter-spacing: .01em; padding: 3px 10px; border-radius: 999px; background: var(--green-soft); border-color: var(--green-line); color: var(--green-dark); }
  body:not(.site) .menu-btn { border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); box-shadow: var(--el-1); padding: 0 14px; }
  body:not(.site) .menu-btn:hover { border-color: var(--green-line); background: var(--green-soft); }
  body:not(.site) .nav-toggle:checked ~ .bar .menu-btn { background: var(--tw-grad); border-color: transparent; color: #fff; }
  body:not(.site) .side { border-left: 0; border-radius: 24px 0 0 24px; }
  body:not(.site) .side-head { border-bottom: 1px solid var(--line); }
  body:not(.site) .nav-group-title { color: var(--green); border-bottom: 0; letter-spacing: .12em; }
  body:not(.site) .side-nav a { border-radius: 12px; }
  body:not(.site) .side-nav a:hover { background: var(--green-soft); }
  body:not(.site) .side-nav a.active, body:not(.site) .side-nav a[aria-current="page"] { background: var(--green-soft); color: var(--green-dark); box-shadow: inset 0 0 0 1px var(--green-line); }
  body:not(.site) .side-foot { border-top: 1px solid var(--line); }
  body:not(.site) .side-foot button { border-radius: 999px; border: 1px solid var(--line-strong); }
  body:not(.site) .count { border-radius: 999px; background: var(--tw-gold); color: #1a1405; font-family: var(--sans); }
  body:not(.site) .nav-scrim { background: rgba(6, 26, 17, .35); }
  body:not(.site) .page-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 22px; }
  body:not(.site) .subnav { box-shadow: none; gap: 4px; padding: 4px; margin: -4px 0 20px; background: var(--track); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; }
  body:not(.site) .subnav a { min-height: 38px; padding: 6px 14px; border-bottom: 0; border-radius: 999px; transition: background-color .2s, color .2s, box-shadow .2s; }
  body:not(.site) .subnav a:hover { background: var(--card); color: var(--ink); }
  body:not(.site) .subnav a[aria-current="page"], body:not(.site) .subnav a.active { background: var(--tw-grad); color: #fff; box-shadow: var(--btn-rest); }
  body:not(.site) .section-title { color: var(--green); border-bottom: 0; letter-spacing: .12em; }
  body:not(.site) .card { border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; box-shadow: var(--el-1); }
  body:not(.site) .card.ruled, body:not(.site) .sheet { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; margin-bottom: 20px; box-shadow: var(--el-1); }
  body:not(.site) .card.flush, body:not(.site) .card.ruled.flush { padding: 0; overflow: hidden; }
  body:not(.site) .card.flush > .card-head, body:not(.site) .card.ruled.flush > .card-head { padding: 16px 20px 0; }
  body:not(.site) .card.flush > .table-wrap > table :is(th, td):first-child { padding-left: 20px; }
  body:not(.site) .card.flush > .table-wrap > table :is(th, td):last-child { padding-right: 20px; }
  body:not(.site) .card-head h2 { font-size: 1.12rem; }
  body:not(.site) .paper.card, body:not(.site) .card.paper { border-radius: var(--radius); }
  body:not(.site) .stats { border: 0; gap: 12px; overflow: visible; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
  body:not(.site) .stat { --cap: var(--green); background: var(--card); border: 1px solid var(--line); border-radius: 18px; margin: 0; padding: 16px 18px 14px; box-shadow: var(--el-1); overflow: hidden; }
  body:not(.site) .stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--cap), color-mix(in srgb, var(--cap) 40%, transparent)); }
  body:not(.site) .stats > .stat:nth-child(5n+2) { --cap: var(--tw-teal); }
  body:not(.site) .stats > .stat:nth-child(5n+3) { --cap: var(--tw-indigo); }
  body:not(.site) .stats > .stat:nth-child(5n+4) { --cap: var(--tw-gold); }
  body:not(.site) .stats > .stat:nth-child(5n+5) { --cap: var(--tw-emerald); }
  body:not(.site) .stat.owe { --cap: var(--red); }
  body:not(.site) .stat .label { font-size: .72rem; letter-spacing: .09em; }
  body:not(.site) .stat .value { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; }
  body:not(.site) .progress { border: 0; border-radius: 999px; background: var(--green-soft); height: 8px; }
  body:not(.site) .progress span { border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--tw-emerald)); }
  body:not(.site) .tool-grid { gap: 12px; }
  body:not(.site) .tool { padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--el-1);
    transition: border-color .2s, box-shadow .3s var(--e-out), transform .3s var(--e-out); }
  body:not(.site) .tool:hover { background: var(--card); border-color: var(--green-line); box-shadow: var(--el-2); }
  body:not(.site) .tool-name::after { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); font-size: 1.1rem; transition: transform .3s var(--e-out); }
  body:not(.site) .tool:hover .tool-name::after { transform: translateX(3px); }
  body:not(.site) main th:not(.paper *), body:not(.site) main .ledger th:not(.paper *) { background: var(--surface-2); color: var(--green-dark); border-bottom: 1px solid var(--line); letter-spacing: .08em; }
  body:not(.site) main thead th:first-child:not(.paper *) { border-top-left-radius: 10px; }
  body:not(.site) main thead th:last-child:not(.paper *) { border-top-right-radius: 10px; }
  body:not(.site) main .card.flush thead th { border-radius: 0; }
  body:not(.site) main td:not(.paper *), body:not(.site) main .ledger td:not(.paper *) { border-bottom-color: var(--feint); }
  body:not(.site) main tbody tr:not(.paper *) { transition: background-color .15s; }
  body:not(.site) main tbody tr:not(.paper *):hover { background: var(--green-soft); }
  body:not(.site) main tfoot td:not(.paper *), body:not(.site) main .ledger tfoot td:not(.paper *) { border-top: 1px solid var(--green-line); border-bottom: 0; background: var(--green-soft); }
  body:not(.site) main .table-wrap.tall thead th { background: var(--surface-2); }
  body:not(.site) .badge { border-radius: 999px; padding: 2px 9px; font-weight: 700; }
  body:not(.site) .chip { border-radius: 999px; border-color: var(--line-strong); transition: border-color .2s, background-color .2s; }
  body:not(.site) a.chip:hover { border-color: var(--green-line); background: var(--green-soft); color: var(--green-dark); }
  body:not(.site) .chip.on, body:not(.site) .chip[aria-current], body:not(.site) .chip[aria-pressed="true"] { background: var(--tw-grad); border-color: transparent; color: #fff; }
  body:not(.site) .avatar { background: linear-gradient(135deg, var(--green-soft), color-mix(in srgb, var(--tw-teal) 18%, var(--card))); color: var(--green-dark); border-color: var(--green-line); }
  body:not(.site) :is(input, select, textarea):not([type=checkbox], [type=radio], [type=color], [type=file]) { border-radius: 12px; border-color: var(--field-line); }
  body:not(.site) :is(input, select, textarea):hover { border-color: var(--green); }
  body:not(.site) :is(input, select, textarea):focus { border-color: var(--green); box-shadow: var(--ring); }
  body:not(.site) :is(input, select, textarea)[aria-invalid="true"], body:not(.site) .has-error :is(input, select, textarea) { border-color: var(--red); }
  body:not(.site) fieldset { border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; background: var(--card); }
  body:not(.site) legend { font-weight: 800; color: var(--green-dark); padding: 0 8px; }
  body:not(.site) :is(.btn, button):where(:not(.link, .tw-theme, .side-close)) { border-radius: 999px; padding-left: 18px; padding-right: 18px; }
  body:not(.site) :is(.btn, button):where(:not(.link, .ghost, .secondary, .danger, .plain, .wa, .tw-theme, .side-close, .side-foot *)) { background: var(--tw-grad); border-color: transparent; }
  body:not(.site) :is(.btn, button):where(:not(.link, .ghost, .secondary, .danger, .plain, .wa, .tw-theme, .side-close, .side-foot *)):hover { background: linear-gradient(135deg, #0f7a4c 0%, #084a2e 100%); }
  body:not(.site) :is(.btn, button).secondary, body:not(.site) .btn.plain { background: var(--card); border: 1px solid var(--line-strong); color: var(--ink); }
  body:not(.site) :is(.btn, button).secondary:hover, body:not(.site) .btn.plain:hover { background: var(--green-soft); border-color: var(--green-line); color: var(--green-dark); }
  body:not(.site) :is(.btn, button).danger { border-width: 1px; background: var(--card); }
  body:not(.site) :is(.btn, button).sm { padding-left: 13px; padding-right: 13px; }
  body:not(.site) :is(.btn, button):focus-visible { outline: 3px solid var(--tw-gold); outline-offset: 2px; }
  body:not(.site) .callout, body:not(.site) .callout.info, body:not(.site) .callout.ok, body:not(.site) .flash-ok, body:not(.site) .flash-info {
    background: linear-gradient(135deg, var(--green-soft) 0%, color-mix(in srgb, var(--green-soft) 55%, var(--card)) 100%);
    border: 1px solid var(--green-line); border-left: 4px solid var(--green); color: var(--ink); }
  body:not(.site) .callout.info { border-left-color: var(--tw-teal); }
  body:not(.site) .flash-ok, body:not(.site) .flash-info { color: var(--green-dark); }
  body:not(.site) .callout, body:not(.site) .flash { border-radius: 16px; padding: 14px 18px; }
  body:not(.site) .callout.warn { background: var(--amber-soft); border: 1px solid var(--amber-line); border-left: 4px solid var(--amber); }
  body:not(.site) .callout.bad { background: var(--red-soft); border: 1px solid var(--red-line); border-left: 4px solid var(--red); }
  body:not(.site) .callout :is(a:not(.btn), strong, b) { color: var(--green-dark); }
  body:not(.site) .callout:is(.warn, .bad) :is(a:not(.btn), strong, b) { color: inherit; }
  body:not(.site) .notice { border: 1px solid var(--green-line); border-radius: 20px; padding: 18px 20px 8px; position: relative; overflow: hidden;
    background: linear-gradient(180deg, var(--green-soft) 0%, var(--card) 70%); }
  body:not(.site) .notice::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--green), var(--tw-emerald), var(--tw-teal)); }
  body:not(.site) .notice :is(h2, h3) { color: var(--green-dark); }
  body:not(.site) .draft-note { border-left-color: var(--green); background: var(--green-soft); border-radius: 0 12px 12px 0; }
  body:not(.site) .empty { border: 1px dashed var(--green-line); border-radius: 20px; background: linear-gradient(180deg, var(--green-soft), transparent); }
  body:not(.site) .site-footer { border-top: 1px solid var(--line); }
  body:not(.site) .skip { border-radius: 12px; border-color: var(--green); }
  body:not(.site) .dateline { display: inline-flex; align-items: center; gap: 6px; font: 700 .74rem/1.4 var(--sans); letter-spacing: .04em; color: var(--green-dark);
    background: var(--green-soft); border: 1px solid var(--green-line); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
  body:not(.site) .dateline::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tw-emerald); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tw-emerald) 25%, transparent); }
  body:not(.site) .headline { font-weight: 500; letter-spacing: -.025em; }
  body:not(.site) .headline strong { font-weight: 800; }
  body:not(.site) .meter-bar { height: 14px; border: 0; border-radius: 999px; background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green-line); }
  body:not(.site) .meter-bar > span { border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--tw-emerald)); }
  body:not(.site) .sh-side-panels { gap: 16px; }
  body:not(.site) .sh-side-panels > .card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; margin: 0; box-shadow: var(--el-1); }
  body:not(.site) .sh-side-panels > .callout { margin: 0; }
  body:not(.site) .sh-school { box-shadow: none; }
  body:not(.site) :is(.pt-acct, .pt-home .pt-top-panels > .card.pt-acct) { border: 1px solid var(--green-line); border-radius: 20px; padding: 18px 20px 12px; box-shadow: var(--el-1);
    background: linear-gradient(180deg, var(--green-soft) 0%, var(--card) 55%); }
  body:not(.site) :is(.pt-sec, .pt-home .pt-panels > .card, .pt-home .pt-top-panels > .card:not(.pt-acct)) { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px 12px; margin: 0 0 20px; box-shadow: var(--el-1); }
  body:not(.site) .pt-home #transfers { border: 1px solid var(--green-line); border-radius: 20px; }
  body:not(.site) .pt-slower > #how-to-pay { border: 1px solid var(--green-line); border-radius: 20px; padding: 16px 18px; background: linear-gradient(135deg, var(--green-soft), var(--card)); }
  body:not(.site) .pt-how span { border-radius: 999px; }
  @media (max-width: 600px) { body:not(.site) :is(.pt-sec, .pt-home .pt-panels > .card, .pt-home .pt-top-panels > .card) { padding: 14px 14px 10px; border-radius: 16px; } }
  @media (max-width: 600px) {
    body:not(.site) .card, body:not(.site) .card.ruled, body:not(.site) .sheet { padding: 14px 14px; border-radius: 16px; }
    body:not(.site) .stat { padding: 12px 14px; border-radius: 14px; }
    body:not(.site) .stat .value { font-size: 1.35rem; }
    body:not(.site) .subnav { width: auto; }
  }
}
@media screen and (prefers-color-scheme: dark) {
  html:where(:not([data-theme="light"])) body:not(.site) { --el-1: 0 1px 2px rgba(0, 0, 0, .45), 0 8px 22px -12px rgba(0, 0, 0, .6); --el-2: 0 2px 4px rgba(0, 0, 0, .45), 0 16px 36px -14px rgba(0, 0, 0, .7);
    --tw-teal: #3ccbd6; --tw-indigo: #8f9cf5; --tw-gold: #f5b82e; --tw-emerald: #46d998; --tab-edge: rgba(127, 224, 173, .14); }
}
@media screen {
  html:where([data-theme="dark"]) body:not(.site) { --el-1: 0 1px 2px rgba(0, 0, 0, .45), 0 8px 22px -12px rgba(0, 0, 0, .6); --el-2: 0 2px 4px rgba(0, 0, 0, .45), 0 16px 36px -14px rgba(0, 0, 0, .7);
    --tw-teal: #3ccbd6; --tw-indigo: #8f9cf5; --tw-gold: #f5b82e; --tw-emerald: #46d998; --tab-edge: rgba(127, 224, 173, .14); }
}
.bar-logo, .side-logo { display: block; flex: none; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; margin: 0; }
.bar-logo { width: 34px; height: 34px; padding: 2px; }
.side-logo { width: 46px; height: 46px; padding: 3px; border-radius: 12px; }
@media (max-width: 380px) { .bar-logo { width: 30px; height: 30px; } }
.paper:has(> .doc-watermark) { position: relative; isolation: isolate; }
.doc-watermark { position: absolute; top: 50%; left: 50%; width: min(60%, 380px); height: auto; max-height: 70%; object-fit: contain; transform: translate(-50%, -50%);
  opacity: .07; z-index: -1; pointer-events: none; user-select: none; margin: 0; max-width: none; }
@media print { .doc-watermark { opacity: .08; } }
