/* TranscriptsWizard: extends /assets/theme.css. Uses only the shared tokens and components. */
.content { padding: 10px 0 70px; }
.nav-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
button.back { cursor: pointer; font-family: var(--ui); font-size: 0.8rem; line-height: 1; margin: 0; }

.grp { margin-top: 28px; }
.grp-h { font-family: var(--ui); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.grp-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* chips */
.chip { font-family: var(--ui); font-size: 0.74rem; line-height: 1.3; white-space: nowrap; }
.chip.w { color: var(--warn); border-color: var(--warn-line); }
.chip.p { color: var(--accent-2); border-color: var(--accent2-line); }
.chip.r { color: var(--err); border-color: var(--err-line); }

/* forms */
.auth { max-width: 460px; margin: 10px 0 0; }
.field { margin: 0 0 14px; }
.field label { display: block; font-family: var(--ui); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; margin: 0 0 7px; }
.hint, .content .hint { font-size: 0.8rem; color: var(--faint); margin: 6px 0 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.msg { font-family: var(--ui); font-size: 0.82rem; margin: 12px 0 0; min-height: 1.2em; }
.msg.err { color: var(--err); } .msg.ok { color: var(--good); } .msg.info { color: var(--muted); }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-family: var(--ui); font-size: 0.82rem; cursor: pointer; }
.linkish:hover { text-decoration: underline; }
.seg { margin: 0 0 18px; }

/* price + course cards */
.price { font-family: var(--ui); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.02em; color: var(--text); }
.price small { font-size: 0.8rem; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.ccard { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.ccard h3 { margin: 6px 0 6px; }
.ccard p { color: var(--muted); margin: 0 0 12px; }
.content .feat, .feat { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 18px; }
.feat li { font-size: 0.9rem; color: var(--text-2); padding-left: 22px; position: relative; margin: 0; }
.feat li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-family: var(--ui); }

/* stats + progress bar */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 16px 0; }
.stat { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--panel); }
.stat .k { font-family: var(--ui); font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.stat .v { font-family: var(--ui); font-size: 1.4rem; font-weight: 700; color: var(--text); margin-top: 4px; }
.stat .x { font-family: var(--ui); font-size: 0.78rem; color: var(--muted); }
.stat .nw { white-space: nowrap; }
.bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 10px 0 0; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 99px; }

/* family dashboard */
.kid { margin: 0 0 16px; }
.kid-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.kid-head h3 { margin: 0; }
.kid-head .who { font-family: var(--ui); font-size: 0.8rem; color: var(--muted); }
.enr { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.enr-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.enr-top b { font-family: var(--ui); }
.enr .meta { font-family: var(--ui); font-size: 0.78rem; color: var(--muted); }
.content .empty-state, .empty-state { color: var(--muted); font-size: 0.92rem; }
.editor { border-top: 1px dashed var(--line); margin-top: 14px; padding-top: 14px; }

/* checkout */
.co { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.summary .row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.92rem; color: var(--text-2); padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary .row.total { font-family: var(--ui); font-weight: 700; color: var(--text); border-bottom: 0; }
#payment-element { min-height: 120px; }
.secure { font-family: var(--ui); font-size: 0.74rem; color: var(--faint); margin: 12px 0 0; }

/* lesson page */
.steps-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 8px; }
.task { margin: 16px 0; }
.task-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; }
/* select.io has appearance:none in theme.css, so draw the chevron */
select.io { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237f9a8f' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.result { text-align: center; padding: 26px 20px; }
.result .big { font-family: var(--ui); font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; }
.loading { font-family: var(--ui); color: var(--muted); font-size: 0.85rem; padding: 40px 0; }
[hidden] { display: none !important; }

/* ================================================================ TranscriptsWizard */
.brand-mark svg { width: 18px; height: 18px; }
.chip.gold { color: var(--gold); border-color: var(--gold-line); background: var(--gold-soft); }
.chip.lock { color: var(--muted); }
.io.sm { padding: 7px 10px; font-size: 14px; border-radius: 8px; }
textarea.io.note-in { min-height: 70px; white-space: pre-wrap; font-size: 14px; }
.btn.sm { padding: 6px 11px; font-size: 0.8rem; border-radius: 9px; }
.btn.danger { color: var(--err); border-color: var(--err-line); }
.btn.danger:hover { background: var(--err-soft); border-color: var(--err); color: var(--err); }
.btn-row.end { justify-content: flex-end; }
.check { display: inline-flex; gap: 8px; align-items: center; font-family: var(--ui); font-size: 0.86rem; color: var(--text-2); cursor: pointer; }
.field label.check { display: flex; }   /* .field label would make it a block and drop the gap */
.check.agree { display: flex; align-items: flex-start; line-height: 1.5; }
.check.agree input { flex: none; margin-top: 1px; }
.terms-dlg { max-width: 480px; width: calc(100% - 32px); margin: auto; background: var(--panel-solid); color: var(--text); }
.terms-dlg::backdrop { background: rgba(0, 0, 0, 0.55); }
.terms-dlg h2 { margin: 0 0 8px; }
.terms-dlg .btn-row { margin-top: 16px; }
.check input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 14px; }
.form-grid .wide { grid-column: 1 / -1; }
.field label .opt { color: var(--faint); font-weight: 400; }

/* banners */
.banner { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 16px;
  padding: 16px 18px; margin: 0 0 18px; background: var(--panel); box-shadow: var(--shadow); }
.banner h3 { margin: 0 0 4px; font-size: 1.1rem; }
.banner p { margin: 0; color: var(--text-2); font-size: 0.94rem; }
.banner.pay { border: 2px solid var(--accent-line); background: linear-gradient(120deg, var(--accent-soft), var(--accent2-soft)); }
.banner.lapsed { border-left: 4px solid var(--warn); background: var(--warn-soft); }
@media (max-width: 700px) { .banner { grid-template-columns: 1fr; } }

/* student cards on the dashboard */
.students { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.scard { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.scard h3 { margin: 0; font-size: 1.2rem; }
.scard .who { font-family: var(--ui); font-size: 0.82rem; color: var(--muted); }
.scard .stats { margin: 4px 0; }
/* stat boxes in a row share their label / number / bar lines, so the numbers line up when a label wraps */
@supports (grid-template-rows: subgrid) {
  .stats { row-gap: 0; margin-bottom: 4px; }
  .scard .stats { margin-bottom: -8px; }
  .stats > .stat { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; margin-bottom: 12px; }
}
.scard .btn-row { margin-top: auto; }
.scard .btn { font-size: 0.83rem; padding: 9px 14px; border-radius: 11px; }   /* ~10% smaller than page buttons */
.scard .quick { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.scard .quick-h { font: 800 0.66rem var(--ui); color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-right: 2px; }
.scard .quick .btn { font-size: 0.78rem; padding: 7px 12px; }
/* graduated: gold double frame, cap emblem top right, a "Graduated" band */
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/cormorant-italic-latin.woff2") format("woff2"); }
.scard.grad { position: relative; border: 2px solid var(--gold-line); background:
  radial-gradient(120% 80% at 100% 0%, var(--gold-soft), transparent 60%), var(--panel);
  box-shadow: inset 0 0 0 5px var(--panel), inset 0 0 0 6px var(--gold-line), 0 8px 26px rgba(150, 110, 10, 0.14); padding-top: 22px; }
.scard.grad h3 { padding-right: 52px; }
.grad-logo { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: var(--gold); background: var(--gold-soft); border: 1.5px solid var(--gold-line); box-shadow: 0 0 0 3px var(--panel), 0 0 0 4px var(--gold-soft); }
.grad-logo svg { width: 22px; height: 22px; }
.grad-band { text-align: center; padding: 14px 10px 12px; margin: 4px 0; border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line);
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent); }
.grad-word { display: block; font: italic 500 2.1rem/1 "Cormorant", Georgia, serif; color: var(--gold); letter-spacing: 0.02em; }
.grad-hero { position: relative; text-align: center; padding: 30px 22px 24px; border: 2px solid var(--gold-line);
  background: radial-gradient(90% 120% at 50% 0%, var(--gold-soft), transparent 70%), var(--panel);
  box-shadow: inset 0 0 0 6px var(--panel), inset 0 0 0 7px var(--gold-line), 0 10px 30px rgba(150, 110, 10, 0.14); }
.grad-hero .grad-logo { top: 16px; right: 16px; width: 46px; height: 46px; }
.grad-hero .grad-logo svg { width: 25px; height: 25px; }
.grad-hero .grad-word { font-size: 3.2rem; }
.grad-hero .grad-sub { font-size: 0.8rem; }
.gh-kicker { font: 800 0.76rem var(--ui); color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 6px; }
.gh-actions { justify-content: center; margin-top: 18px; }
.yr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.yr-card { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.yr-card .yr-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--ui); font-size: 1.02rem; }
.yr-card .yr-sub { font: 600 0.8rem var(--ui); color: var(--muted); }
.yr-card .yr-bits { font: 700 0.84rem var(--ui); color: var(--text-2); margin: 2px 0 8px; }
.yr-card .btn-row { margin-top: auto; }
.btn .count { font-weight: 800; color: var(--muted); margin-left: 4px; }
.grad-sub { display: block; margin-top: 6px; font: 700 0.74rem var(--ui); color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.add-card { display: grid; place-items: center; text-align: center; min-height: 220px; border: 2px dashed var(--accent-line); background: var(--accent-soft);
  border-radius: 18px; color: var(--accent); font-family: var(--ui); font-weight: 800; cursor: pointer; padding: 20px; }
.add-card:hover { background: var(--hover); border-color: var(--accent); text-decoration: none; }
/* tiles that are links: the whole tile reacts, nothing underlines */
a.card2 { display: block; color: inherit; transition: background .15s, border-color .15s, transform .15s; }
a.card2:hover, a.card2:focus-visible { text-decoration: none; background: var(--hover); border-color: var(--accent); transform: translateY(-2px); }
a.card2:hover h4 { color: var(--accent); }
@media (prefers-reduced-motion: reduce) { a.card2, a.card2:hover { transition: none; transform: none; } }
.add-card[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.add-card .plus { font-size: 2.4rem; line-height: 1; }

/* student page */
.s-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 6px 0 14px; }
.s-head h1 { margin: 0; }
.tabs { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; border-bottom: 1px solid var(--line); margin: 0 0 18px; padding-bottom: 0; scrollbar-width: thin; }
.tabs button { font-family: var(--ui); font-weight: 800; font-size: 0.9rem; color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent;
  padding: 10px 12px; cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.yearbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 14px; }
.yearbar select { width: auto; min-width: 150px; }
.lockline { font-family: var(--ui); font-size: 0.84rem; color: var(--warn); }

/* record tables (courses, tests, immunizations, awards) */
.rtable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.rtable { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.rtable th, .rtable td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rtable th { font-family: var(--ui); color: var(--muted); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; background: var(--surface); }
.rtable tr:last-child td { border-bottom: 0; }
.rtable td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rtable td.act { white-space: nowrap; text-align: right; width: 1%; }
.rtable tr.editing td { background: var(--accent-soft); }
.rtable td.qc { padding-top: 5px; padding-bottom: 5px; }
.rtable .qi { width: 4.2em; padding: 5px 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text);
  font: 700 0.9rem var(--ui); text-align: center; font-variant-numeric: tabular-nums; }
.rtable .qi:hover { border-color: var(--accent-line); }
.rtable .qi:not([data-q="credits"]), #f-s1, #f-s2, #f-summer, #f-grade { text-transform: uppercase; }
.rtable .qi:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.rtable td.qc .sub { text-align: center; }
.rtable tr.dirty td { background: color-mix(in srgb, var(--gold-line) 16%, transparent); }
.rtable tr.bad td { background: color-mix(in srgb, var(--err) 12%, transparent); }
.rtable .qsave { visibility: hidden; }
.savebar { position: sticky; bottom: 14px; z-index: 20; margin: 14px auto 0; width: fit-content; max-width: 100%; display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; padding: 10px 12px 10px 18px; border: 1px solid var(--accent); border-radius: 14px; background: var(--panel);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 0 0 3px var(--accent-soft); font: 800 0.9rem var(--ui); }
.savebar[hidden] { display: none; }
.rtable tr.dirty .qsave { visibility: visible; }
/* a row being edited in place */
.rtable .edit-row td, .rtable .edit-more td { background: var(--accent-soft); }
.rtable .edit-row td { padding: 8px 6px; border-bottom: 0; }
.rtable .edit-row .field { margin: 0; }
.rtable .edit-row .field + .field { margin-top: 6px; }
.rtable .edit-row .io { width: 100%; min-width: 64px; padding: 6px 8px; font-size: 0.9rem; }
.rtable .edit-row [data-f="name"] .io, .rtable .edit-row [data-f="subject"] .io, .rtable .edit-row [data-f="title"] .io, .rtable .edit-row [data-f="issuer"] .io,
.rtable .edit-row [data-f="test"] .io, .rtable .edit-row [data-f="vaccine"] .io, .rtable .edit-row [data-f="other"] .io,
.rtable .edit-row [data-f="provider"] .io, .rtable .edit-row [data-f="sections"] .io, .rtable .edit-row [data-f="notes"] .io { min-width: 170px; }
.rtable .edit-row [data-f="level"] .io, .rtable .edit-row [data-f="category"] .io, .rtable .edit-row [data-f="exemption"] .io, .rtable .edit-row [data-f="year"] .io { min-width: 120px; }
.rtable .edit-row [data-f="date"] .io { min-width: 140px; }
.rtable .edit-row textarea.io { min-height: 38px; }
.rtable .edit-row input[type=checkbox] { width: 18px; height: 18px; margin: 8px 0 0; }
.rtable .edit-row td.act { vertical-align: top; padding-top: 10px; }
.rtable .edit-more td { padding: 4px 12px 12px; }
.rtable .edit-more .form-grid { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: end; }
.rtable .edit-more .field { margin: 0; }
.rtable .edit-more .field.wide { flex: 1 1 280px; }
.rtable .edit-more label { font-size: 0.75rem; }
.rtable .edit-more .io { padding: 6px 8px; font-size: 0.9rem; }
.rtable .edit-more textarea.io { min-height: 36px; height: 36px; resize: vertical; }
.rtable .edit-more .check { margin: 0 0 8px; }
.rtable .edit-more .msg:empty { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rtable .sub { display: block; font-size: 0.78rem; color: var(--muted); }
.rtable tfoot td { font-family: var(--ui); font-weight: 800; background: var(--surface); }
.empty-row td { color: var(--muted); text-align: center; padding: 22px; }
.tag { font-family: var(--ui); font-size: 0.7rem; font-weight: 800; border-radius: 6px; padding: 1px 7px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.tag.lv { color: var(--blue); border-color: var(--blue-line); }
.tag.ex { color: var(--warn); border-color: var(--warn-line); }
.editor-panel { margin-top: 14px; }
.editor-panel h3 { margin: 0 0 12px; font-size: 1.05rem; }

/* attendance calendar */
.att-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin: 0 0 14px; align-items: start; }
@media (max-width: 820px) { .att-tools { grid-template-columns: 1fr; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px; }
.legend button { font-family: var(--ui); font-size: 0.8rem; font-weight: 800; border-radius: 9px; padding: 7px 11px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.legend button[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid var(--line); }
.st-P, .day.st-P, .wday.st-P { background: color-mix(in srgb, var(--good) 26%, transparent); border-color: var(--good-line); color: var(--text); }
.st-H, .day.st-H, .wday.st-H { background: color-mix(in srgb, var(--gold-line) 38%, transparent); border-color: var(--gold-line); color: var(--text); }
.st-A, .day.st-A, .wday.st-A { background: color-mix(in srgb, var(--err) 26%, transparent); border-color: var(--err-line); color: var(--text); }
.st-F, .day.st-F, .wday.st-F { background: color-mix(in srgb, var(--blue) 26%, transparent); border-color: var(--blue-line); color: var(--text); }
.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 12px; }
.month { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 10px 10px 12px; }
.month h4 { margin: 0 0 6px; font-family: var(--ui); font-size: 0.9rem; display: flex; justify-content: space-between; }
.month h4 span { color: var(--muted); font-weight: 700; font-size: 0.78rem; }
.mgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.mgrid .dow { font-family: var(--ui); font-size: 0.62rem; color: var(--faint); text-align: center; font-weight: 800; }
.day { aspect-ratio: 1; border: 1px solid transparent; border-radius: 7px; background: var(--surface); color: var(--text-2); font: 700 0.74rem var(--ui);
  cursor: pointer; padding: 0; display: grid; place-items: center; position: relative; }
.day:hover { border-color: var(--accent-line); }
.day.we { background: transparent; color: var(--faint); }
.day.out { visibility: hidden; }
.day.today { outline: 2px solid var(--accent); outline-offset: -2px; }
.day.has-note::after { content: ""; position: absolute; top: 3px; right: 3px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.day[disabled] { cursor: default; }
.day.wk { box-shadow: inset 0 0 0 1px var(--accent-line); }
.day.wk:not(.st-P):not(.st-H):not(.st-A):not(.st-F) { background: var(--accent-soft); color: var(--text); }
.week { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); margin: 0 0 14px; }
.week-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; }
.week-h h3 { margin: 0; font-size: 1.05rem; }
.week-h h3 span { color: var(--muted); font: 700 0.82rem var(--ui); margin-left: 6px; }
.wgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wday { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); padding: 8px 4px; cursor: pointer;
  display: grid; gap: 2px; justify-items: center; font-family: var(--ui); min-width: 0; }
.wday:hover { border-color: var(--accent-line); }
.wday.we { background: transparent; color: var(--faint); }
.wday.today { outline: 2px solid var(--accent); outline-offset: -2px; }
.wday[disabled] { opacity: 0.4; cursor: default; }
.wday .wd { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.wday .wn { font-size: 1.2rem; font-weight: 800; }
.wday .ws { font-size: 0.68rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 520px) { .wgrid { gap: 3px; } .wday { padding: 6px 1px; } .wday .ws { font-size: 0.58rem; } }
.att-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 0 0 14px; }
.dirty { font-family: var(--ui); font-size: 0.8rem; color: var(--warn); }

/* documents tab */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.doc { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.doc h3 { margin: 0; font-size: 1.05rem; }
.doc p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.doc .btn-row { margin-top: auto; }

/* schools editor */
.school-row { border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 2px; margin: 0 0 10px; background: var(--surface); position: relative; }
.school-row .rm { position: absolute; top: 8px; right: 8px; }

/* import preview */
.imp { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 10px 0; background: var(--surface); }
.imp h4 { margin: 0 0 4px; font-family: var(--ui); }
.imp .meta { font-size: 0.86rem; color: var(--muted); }
.imp .problem { color: var(--err); font-size: 0.86rem; margin: 6px 0 0; }

/* landing */
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: center; }
@media (max-width: 880px) { .lead-grid { grid-template-columns: 1fr; } }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; background: var(--panel); }
.faq summary { cursor: pointer; padding: 12px 16px; font-family: var(--ui); font-weight: 800; }
.faq details p { margin: 0; padding: 0 16px 14px; color: var(--text-2); }
.price-card { text-align: center; }
.price-card .price { font-size: 2.6rem; }

@media (max-width: 760px) {
  .co { grid-template-columns: 1fr; }
  .ccard { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
}
@media print { header.site, footer.site, .bg, .no-print { display: none !important; } }
.rtable .edit-more select.io { min-width: 130px; }
/* help page */
.help .qa-search { max-width: 460px; margin: 6px 0 0; }
.help .panel.qa-list { padding: 4px 20px; }
.qa { border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.qa:last-child { border-bottom: 0; }
.help .grp { scroll-margin-top: 80px; max-width: 780px; }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center;
  padding: 14px 0; font-family: var(--ui); font-weight: 700; color: var(--text); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--accent); font-size: 1.2rem; line-height: 1; flex: none; transition: transform .15s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.qa .a { padding: 0 0 14px; color: var(--text-2); }
.qa .a p { margin: 0 0 10px; } .qa .a p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .qa summary::after { transition: none; } }
@media (max-width: 560px) { .qa, .help .grp { scroll-margin-top: 170px; } }
