/* Feature components (scope switcher, setup wizard, checklist, migrator). Uses the tokens from app.css. */

/* migrator */
.mig-track { display: flex; gap: var(--s2); list-style: none; padding: 0; margin: 0 0 var(--s5); flex-wrap: wrap; }
.mig-track li { display: flex; align-items: center; gap: var(--s2); padding: 6px 14px 6px 6px; border-radius: var(--r-pill, 999px); background: var(--sheet); border: 1px solid var(--rule); font-size: 13.5px; font-weight: 650; color: var(--muted); }
.mig-track li b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--rule-2); color: var(--ink-2); font-size: 12.5px; }
.mig-track li[aria-current="step"] { color: var(--ink); border-color: var(--brand); }
.mig-track li[aria-current="step"] b { background: var(--brand); color: var(--brand-ink); }
.mig-track li.done b { background: var(--ok-soft); color: var(--ok); }
.mig-path { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; vertical-align: middle; }
.mig-path span { font-size: 12.5px; font-weight: 700; padding: 1px 8px; border-radius: var(--r-xs, 4px); background: var(--sheet-2); border: 1px solid var(--rule); }
.mig-path span + span::before { content: "›"; margin-right: 6px; color: var(--muted); font-weight: 400; }
.mig-key { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 1px 8px; border-radius: var(--r-xs, 4px); background: var(--brand-soft); color: var(--brand-text); border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent); }
.mig-shot { border: 1px solid var(--rule); border-radius: var(--r-sm, 7px); overflow: hidden; background: var(--sheet-2); font-size: 12px; max-width: 420px; }
.mig-shot .bar { display: flex; align-items: center; gap: 5px; padding: 6px 10px; background: var(--rule-2); color: var(--muted); }
.mig-shot .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); }
.mig-shot .bar span { margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mig-shot .body { padding: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.mig-shot .fake-btn { padding: 3px 10px; border-radius: var(--r-xs, 4px); background: var(--sheet); border: 1px solid var(--rule); font-weight: 700; }
.mig-shot .fake-btn.hot { background: #1d7a46; color: #fff; border-color: #1d7a46; box-shadow: 0 0 0 3px color-mix(in srgb, #1d7a46 25%, transparent); }
.mig-shot .fake-rows { flex-basis: 100%; display: grid; gap: 4px; margin-top: 4px; }
.mig-shot .fake-rows i { height: 8px; border-radius: 3px; background: var(--rule-2); }
.mig-shot .fake-rows i:nth-child(2) { width: 85%; } .mig-shot .fake-rows i:nth-child(3) { width: 65%; }
.mig-upload input[type=file] { width: 100%; }
.mig-more summary { cursor: pointer; font-weight: 650; font-size: 14px; margin-bottom: var(--s2); }
.mig-bar { height: 12px; border-radius: var(--r-pill, 999px); background: var(--rule-2); overflow: hidden; margin-bottom: var(--s3); }
.mig-bar span { display: block; height: 100%; background: var(--brand); transition: width .3s; }
@media (max-width: 760px) { .mig-how.grid.c2 { grid-template-columns: minmax(0, 1fr); } }

/* onboarding */
/* start wizard (/app/mula) + setup checklist (dashboard card, Tetapan → Persediaan) */
.wz { max-width: 820px; margin: 0 auto; }
.wz-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.wz-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.wz-dots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: var(--s1); }
.wz-dots a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 650; text-align: center; padding: 2px; border-radius: var(--r-sm, 7px); }
.wz-dots a:focus-visible { outline: 2px solid var(--focus, var(--brand)); outline-offset: 2px; }
.wz-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--g-key, var(--sheet)); border: 1px solid var(--rule-key, var(--rule)); box-shadow: var(--sh-key, none); color: var(--ink-2); }
.wz-dots .done .wz-dot { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 35%, transparent); color: var(--brand-text, var(--brand)); box-shadow: none; }
.wz-dots .cur .wz-dot { background: var(--g-brand, var(--brand)); border-color: var(--brand-lo, var(--brand)); color: var(--brand-ink); box-shadow: var(--sh-key, none), 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.wz-dots .cur a { color: var(--ink); }
.wz-bar { height: 6px; border-radius: var(--r-pill, 999px); background: var(--rule-2); box-shadow: var(--sh-inset, none); overflow: hidden; margin: var(--s3) 0 var(--s4); }
.wz-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-hi, var(--brand)), var(--brand)); border-radius: inherit; transition: width .3s; }
.wz-card { padding: var(--s6); }
.wz-card h1 { font-size: 24px; letter-spacing: -0.02em; margin: 0 0 var(--s2); }
.wz-card .lead { color: var(--ink-2); font-size: 15.5px; margin: 0 0 var(--s5); max-width: 40em; }
.wz-hero { text-align: center; }
.wz-hero .lead { margin-left: auto; margin-right: auto; }
.wz-emoji { width: 64px; height: 64px; margin: 0 auto var(--s3); border-radius: 18px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text, var(--brand)); box-shadow: var(--hl, none); }
.wz-emoji svg { width: 30px; height: 30px; }
.wz-plan { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: var(--s2); }
.wz-plan li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding: 10px 14px; border: 1px solid var(--rule); border-radius: var(--r-sm, 7px); background: var(--sheet-2, var(--sheet)); }
.wz-plan li b { font-weight: 750; }
.wz-plan li span { color: var(--muted); font-size: 14px; }
.wz-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--rule-2); flex-wrap: wrap; }
.wz-nav-r { display: flex; gap: var(--s2); margin-left: auto; flex-wrap: wrap; }
.wz-logo { display: flex; gap: var(--s4); align-items: center; padding: var(--s3); border: 1px dashed var(--rule-key, var(--rule)); border-radius: var(--r-sm, 7px); background: var(--sheet-2, var(--sheet)); }
.wz-logo img, .wz-logo-ph { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; flex: none; }
.wz-logo-ph { display: grid; place-items: center; background: var(--g-brand, var(--brand)); color: var(--brand-ink); font-weight: 800; font-size: 20px; }
.wz-have { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: var(--s4); }
.wz-rows { display: grid; gap: var(--s2); margin-bottom: var(--s3); }
.wz-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--s2); }
.wz-row-head span { font-weight: 650; }
.wz-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-bottom: var(--s3); }
.wz-choice { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: var(--s3); padding: var(--s4); text-decoration: none; color: var(--ink); border: 1px solid var(--rule); border-radius: var(--radius, 12px); background: var(--g-paper, var(--sheet)); box-shadow: var(--sh-1, var(--shadow)); transition: transform .12s, box-shadow .12s, border-color .12s; }
.wz-choice:hover { transform: translateY(-1px); box-shadow: var(--sh-2, var(--shadow)); border-color: color-mix(in srgb, var(--brand) 40%, var(--rule)); }
.wz-choice:focus-visible { outline: 2px solid var(--focus, var(--brand)); outline-offset: 2px; }
.wz-choice .wz-ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text, var(--brand)); }
.wz-choice .wz-ic svg { width: 20px; height: 20px; }
.wz-choice b { font-size: 15.5px; }
.wz-choice span:last-child { color: var(--muted); font-size: 13.5px; }
.wz-choice.ghost { background: transparent; box-shadow: none; border-style: dashed; }
.wz-toggle { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) var(--s4); margin-bottom: var(--s3); border: 1px solid var(--rule); border-radius: var(--r-sm, 7px); background: var(--sheet-2, var(--sheet)); cursor: pointer; }
.wz-toggle input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.wz-toggle b { display: block; }
.wz-toggle small { color: var(--muted); font-size: 13.5px; }
.wz-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
.wz-aside { padding: var(--s4); border-radius: var(--radius, 12px); background: var(--sheet-2, var(--sheet)); border: 1px solid var(--rule-2); }
.wz-aside h3 { margin-top: 0; }

.onb-head { display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s4); flex-wrap: wrap; }
.onb-intro { flex: 1 1 260px; min-width: 0; }
.onb-intro h2 { margin: 0 0 2px; }
.onb-intro p { margin: 0; }
.onb-btns { display: flex; gap: var(--s2); flex-wrap: wrap; }
.onb-ring { --p: 0; width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(closest-side, var(--sheet) 76%, transparent 78% 100%), conic-gradient(var(--brand) calc(var(--p) * 1%), var(--rule-2) 0); box-shadow: var(--hl, none); }
.onb-ring b { font-size: 15px; font-variant-numeric: tabular-nums; }
.onb-card { border-top: 3px solid var(--brand); }
.onb-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-2); }
.onb-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule-2); }
.onb-tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; border: 2px solid var(--rule-key, var(--rule)); background: var(--field, var(--sheet)); box-shadow: var(--sh-inset, none); color: transparent; }
.onb-item.lv-required.is-todo .onb-tick { border-color: color-mix(in srgb, var(--brand) 55%, var(--rule)); }
.is-done .onb-tick { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); box-shadow: none; }
.is-skipped .onb-tick { color: var(--muted); }
.onb-txt b { font-weight: 700; }
.onb-lv { margin-left: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.lv-required .onb-lv { color: var(--brand-text, var(--brand)); }
.onb-why { font-size: 13.5px; color: var(--muted); }
.onb-act { display: flex; gap: 6px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.is-done .onb-txt b, .is-skipped .onb-txt b { color: var(--muted); font-weight: 650; }
.is-done .onb-why, .is-skipped .onb-why { display: none; }
.is-done, .is-skipped { padding: 6px 0; }
.onb-done { display: flex; gap: var(--s3); align-items: center; padding: var(--s3) var(--s4); margin-bottom: var(--s4); border-radius: var(--radius, 12px); background: var(--ok-soft); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 25%, transparent); }
.onb-done-ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-weight: 800; flex: none; }
.onb-done div { color: var(--ink); }
@media (max-width: 760px) {
  .wz-card { padding: var(--s4); }
  .wz-dots li { position: relative; }
  .wz-dots .wz-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wz-choices, .wz-split { grid-template-columns: minmax(0, 1fr); }
  .wz-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .wz-row > input { grid-column: 1 / -1; }
  .wz-row-head { display: none; }
  .onb-item { grid-template-columns: 28px minmax(0, 1fr); }
  .onb-act { grid-column: 2; justify-content: flex-start; }
}

/* domain */
/* white-label domain guided flow (Tetapan → Jenama) + admin domain requests */
.dm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.dm-head h2 { margin: 0 0 4px; }
.dm-head .sub { margin: 0; color: var(--muted); font-size: 14px; max-width: 46em; }
.dm-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.dm-step { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--s4); padding-bottom: var(--s5); }
.dm-step::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 2px; background: var(--rule-2); }
.dm-step:last-child { padding-bottom: 0; }
.dm-step:last-child::before { display: none; }
.dm-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--g-key, var(--sheet)); border: 1px solid var(--rule-key, var(--rule)); box-shadow: var(--sh-key, none); color: var(--ink-2); position: relative; z-index: 1; }
.dm-step.is-current .dm-num { background: var(--g-brand, var(--brand)); color: var(--brand-ink); border-color: var(--brand-lo, var(--brand)); box-shadow: var(--sh-key, none), 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.dm-step.is-done .dm-num { background: var(--brand-soft); color: var(--brand-text, var(--brand)); border-color: color-mix(in srgb, var(--brand) 35%, transparent); box-shadow: none; }
.dm-step.is-done::before { background: color-mix(in srgb, var(--brand) 35%, var(--rule-2)); }
.dm-body { min-width: 0; padding-top: 5px; }
.dm-body h3 { margin: 0 0 4px; font-size: 16px; }
.dm-body > p { margin: 0 0 var(--s3); color: var(--ink-2); font-size: 14.5px; }
.dm-host { display: flex; align-items: stretch; gap: 0; max-width: 620px; flex-wrap: wrap; }
.dm-prefix { display: grid; place-items: center; padding: 0 10px; font-size: 14px; color: var(--muted); border: 1px solid var(--rule-field, var(--rule)); border-right: 0; border-radius: var(--r-sm, 7px) 0 0 var(--r-sm, 7px); background: var(--sheet-2, var(--sheet)); }
.dm-host input { flex: 1 1 220px; min-width: 0; border-radius: 0 var(--r-sm, 7px) var(--r-sm, 7px) 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
.dm-host .btn { margin-left: var(--s2); }
.dm-dns { border: 1px solid var(--rule); border-radius: var(--r-sm, 7px); margin-bottom: var(--s3); background: var(--sheet); }
.dm-dns table { margin: 0; }
.dm-dns code, .dm-copy code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; font-weight: 700; padding: 3px 8px; border-radius: var(--r-xs, 4px); background: var(--field, var(--sheet-2)); border: 1px solid var(--rule-2); box-shadow: var(--sh-inset, none); word-break: break-all; }
.dm-copy { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dm-alt td { background: var(--sheet-2, transparent); }
.dm-msg { padding: 8px 12px; border-radius: var(--r-sm, 7px); font-size: 14px; margin: var(--s2) 0; }
.dm-msg.bad { background: var(--stamp-soft); color: var(--stamp); }
.dm-msg.warn { background: var(--warn-soft); color: var(--warn); }
.dm-tips { margin-top: var(--s2); }
.dm-tips summary { cursor: pointer; font-weight: 650; font-size: 14px; color: var(--brand-text, var(--brand)); }
.dm-tips dl { margin-top: var(--s3); }
.dm-result { margin-top: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-sm, 7px); border: 1px solid; font-size: 14px; display: grid; gap: 4px; }
.dm-result.ok { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.dm-result.ok b { color: var(--ok); }
.dm-result.bad { background: var(--stamp-soft); border-color: color-mix(in srgb, var(--stamp) 25%, transparent); }
.dm-result.bad b { color: var(--stamp); }
.dm-result.wait { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.dm-result form { margin-top: 6px; }
.dm-live { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dm-live a { font-weight: 700; }
.dm-app { display: flex; gap: var(--s5); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.dm-app > div { flex: 1 1 320px; min-width: 0; }
.dm-app h2 { margin-top: 0; }
.dm-qr { width: 160px; height: 160px; padding: 8px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius, 12px); box-shadow: var(--sh-1, var(--shadow)); }
.dm-upsell { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s6); align-items: center; }
.dm-upsell h2 { font-size: 22px; margin: var(--s2) 0; }
.dm-ticks { list-style: none; padding: 0; margin: var(--s3) 0 var(--s4); display: grid; gap: 6px; }
.dm-ticks li { padding-left: 28px; position: relative; font-size: 14.5px; }
.dm-ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--brand-soft); color: var(--brand-text, var(--brand)); }
.dm-preview { border: 1px solid var(--rule); border-radius: var(--radius, 12px); overflow: hidden; background: var(--sheet); box-shadow: var(--sh-2, var(--shadow)); transform: rotate(-1.5deg); }
.dm-bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; background: var(--sheet-2, var(--rule-2)); border-bottom: 1px solid var(--rule); font-size: 12px; }
.dm-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--rule-key, var(--rule)); }
.dm-bar b { margin-left: 8px; padding: 2px 10px; border-radius: var(--r-pill, 999px); background: var(--sheet); border: 1px solid var(--rule-2); color: var(--ok); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-preview-body { display: flex; gap: var(--s3); align-items: center; padding: var(--s5); }
.dm-logo { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--g-brand, var(--brand)); color: var(--brand-ink); font-weight: 800; }
.dm-req { display: flex; justify-content: space-between; gap: var(--s3); align-items: center; flex-wrap: wrap; padding: var(--s3); margin-bottom: var(--s3); border: 1px solid color-mix(in srgb, var(--warn) 35%, var(--rule)); border-radius: var(--r-sm, 7px); background: var(--warn-soft); }
.dm-req .form-actions { margin: 0; }
.dm-reject input { max-width: 220px; padding: 4px 8px; }
@media (max-width: 760px) {
  .dm-upsell { grid-template-columns: minmax(0, 1fr); }
  .dm-preview { transform: none; }
  .dm-head { flex-direction: column; }
  .dm-host .btn { margin: var(--s2) 0 0; width: 100%; }
  .dm-prefix { display: none; }
  .dm-host input { border-radius: var(--r-sm, 7px); flex-basis: 100%; }
  .dm-body .btn { white-space: normal; text-align: center; max-width: 100%; }
  .dm-dns { overflow: visible; }
  .dm-dns thead { display: none; }
  .dm-dns table, .dm-dns tbody, .dm-dns tr, .dm-dns td { display: block; width: 100%; }
  .dm-dns tr { padding: var(--s2) var(--s3); border-bottom: 1px solid var(--rule-2); }
  .dm-dns td { border: 0; padding: 3px 0; }
  .dm-dns table { min-width: 0 !important; }
  .dm-dns td[data-label]::before { content: attr(data-label) " "; display: block; font-size: 12px; color: var(--muted); }
}

/* v1.2 polish */
:root { --chart-a: color-mix(in srgb, var(--brand) 22%, #d8dccf); }
@media (min-width: 1000px) {
  .tabs { flex-wrap: wrap; row-gap: 4px; }
}
details.more-info { margin-top: 14px; border-top: 1px dashed var(--rule-key, #d9d4c4); padding-top: 10px; }
details.more-info > summary { cursor: pointer; font-weight: 600; color: var(--brand); list-style: none; }
details.more-info > summary::-webkit-details-marker { display: none; }
details.more-info > summary::before { content: '▸'; display: inline-block; margin-right: 6px; transition: transform .15s; }
details.more-info[open] > summary::before { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { details.more-info > summary::before { transition: none; } }

/* registration */
.reg-extras .field > .help { display: block; margin: -2px 0 var(--s2); }
.reg-years, .reg-addons { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.reg-tick { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2px var(--s2); margin: 0; padding: var(--s3); min-height: 52px; cursor: pointer;
  background: var(--g-paper, var(--sheet)); border: 1px solid var(--rule-key, #b9beb6); border-radius: var(--r-sm, 7px); box-shadow: var(--sh-key, 0 1px 0 rgba(0,0,0,.06)); color: var(--ink); font-size: 14px; font-weight: 600;
  transition: border-color .12s, background-color .12s, box-shadow .12s; }
.reg-tick:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--rule-key, #b9beb6)); }
.reg-tick input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); grid-row: span 2; }
.reg-tick .rt-main { min-width: 0; overflow-wrap: anywhere; }
.reg-tick .rt-sub { grid-column: 2; font-size: 12px; font-weight: 500; color: var(--muted); }
.reg-tick .rt-price { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--brand-text, var(--brand)); white-space: nowrap; }
.reg-tick.on, .reg-tick:has(input:checked) { background: var(--brand-soft); border-color: var(--brand); box-shadow: var(--sh-key-press, inset 0 1px 2px rgba(0,0,0,.12)); }
.reg-tick:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.reg-sum { margin-top: var(--s3); padding: var(--s3) var(--s4); background: var(--sheet); border: 1px dashed var(--rule-key, #b9beb6); border-radius: var(--r-sm, 7px); box-shadow: var(--sh-1, none); }
.reg-sum .rs-head { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--s2); }
.reg-sum .rs-line { margin: 0 0 var(--s2); font-size: 14px; color: var(--ink); }
.reg-sum .rs-lines { width: 100%; border-collapse: collapse; font-size: 14px; }
.reg-sum .rs-lines td { padding: 5px 0; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
.reg-sum .rs-lines td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: var(--s3); }
.reg-sum .rs-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--s2); margin-top: var(--s1); border-top: 3px double var(--ink); font-size: 15px; }
.reg-sum .rs-total b { font-size: 20px; font-variant-numeric: tabular-nums; }
.reg-sum .small { margin: var(--s2) 0 0; }
.reg-sum.static { margin: var(--s4) 0; }
.reg-staff { margin-top: var(--s5); }
.reg-status h1 { margin-top: var(--s2); }
.reg-stamp { display: inline-block; padding: 4px 12px; border: 2px solid currentColor; border-radius: var(--r-xs, 4px); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-2deg); }
.reg-stamp.ok { color: var(--ok); background: var(--ok-soft); }
.reg-stamp.warn { color: var(--warn); background: var(--warn-soft); }
.reg-filter { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin: 0 0 var(--s3); }
.reg-filter label { margin: 0; }
.reg-filter select { width: auto; min-width: 180px; }
.reg-refund b { display: inline-block; margin-bottom: 4px; }
.reg-sessions legend, .reg-pay-settings fieldset legend { font-size: 13.5px; }
.reg-addon-table { overflow-x: auto; }
.reg-addon-table th, .reg-addon-table td { padding-left: 4px; padding-right: 4px; }
.reg-addon-table input:not([type=checkbox]), .reg-addon-table select { min-width: 84px; }
.reg-addon-table td:first-child input { min-width: 140px; }
@media (max-width: 760px) {
  .reg-addon-table thead { display: none; }
  .reg-addon-table table, .reg-addon-table tbody, .reg-addon-table tr, .reg-addon-table td { display: block; width: 100%; }
  .reg-addon-table tr { padding: var(--s2) 0; border-bottom: 1px solid var(--rule-2); }
  .reg-addon-table td { border: 0; padding: 3px 0; }
  .reg-addon-table td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); }
  .reg-years, .reg-addons { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .reg-tick { transition: none; } }

/* billing explainer */
.bill-explain .bill-kinds { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.bill-explain .bill-kinds li { display: flex; gap: 10px; align-items: baseline; line-height: 1.5; }
.bill-explain .bill-kinds .chip { flex: none; min-width: 9.5em; justify-content: center; text-align: center; }
.bill-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bill-head h3 { margin: 0; }
@media (max-width: 560px) { .bill-explain .bill-kinds li { flex-direction: column; gap: 4px; } .bill-explain .bill-kinds .chip { min-width: 0; } }

/* fee month (advance billing) */
fieldset.bill-when { border: 0; padding: 0; margin: 4px 0 12px; display: grid; gap: 8px; }
fieldset.bill-when legend { margin-bottom: 6px; font-weight: 600; }
.bill-example { margin-top: 4px; }

/* manual payments */
/* settings: two method cards */
.pm-intro { margin: 0 0 var(--s4); }
.pm-intro h2 { margin: 0 0 2px; }
.pm-card-head { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }
.pm-card-head h2 { margin: 0; font-size: 19px; }
.pm-card-head .chip { margin-left: auto; }
.pm-ic { flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--brand-text);
  background: linear-gradient(180deg, #fff, var(--brand-soft)); border: 1px solid color-mix(in srgb, var(--brand) 22%, #fff); box-shadow: var(--hl), 0 1px 2px rgba(30, 38, 52, .12); }
.pm-ic svg { width: 20px; height: 20px; }
.pm-bank { margin: 0 0 var(--s4); padding: var(--s3) var(--s4); border-radius: var(--r-sm); background: var(--sheet-2); border: 1px dashed #c9ccc4; font-size: 14.5px; }
.pm-bank .k { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.pm-qr-now { display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s2); }
.pm-qr-now img { width: 96px; height: 96px; object-fit: contain; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 4px; }

/* parent: transfer form */
.tf-title { font-size: 22px; margin: 0 0 var(--s4); }
.tf-step { display: flex; align-items: center; gap: 10px; font-size: 16.5px; margin: 0 0 var(--s3); }
.tf-step span { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-weight: 800;
  color: var(--brand-ink); background: var(--g-brand); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(30, 38, 52, .3); }
.tf-bank { border-top: 4px solid var(--brand); }
.tf-acct { border-radius: 10px; background: var(--sheet-2); border: 1px solid var(--rule-2); padding: 2px var(--s4); }
.tf-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: 10px 0; border-bottom: 1px dashed #cfd2ca; }
.tf-row:last-child { border-bottom: 0; }
.tf-row .k { font-size: 13px; color: var(--muted); flex: none; }
.tf-row .v { text-align: right; font-weight: 650; min-width: 0; overflow-wrap: anywhere; }
.tf-no .v { display: flex; align-items: center; gap: var(--s2); justify-content: flex-end; flex-wrap: wrap; }
.tf-no b { font-size: 19px; letter-spacing: .04em; }
.tf-amt .v { font-size: 20px; font-weight: 800; color: var(--brand-text); }
.tf-qr { margin: var(--s4) 0 0; text-align: center; }
.tf-qr img { width: min(220px, 70%); aspect-ratio: 1; object-fit: contain; background: #fff; padding: 8px; border: 1px solid var(--rule); border-radius: 12px; box-shadow: var(--sh-1); }
.tf-qr figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.tf-note { margin: var(--s4) 0 0; padding: 10px 12px; border-radius: var(--r-sm); background: linear-gradient(180deg, #fffdf3, var(--warn-soft)); border: 1px solid #ecd9a6; color: #4e3200; font-size: 14px; }
.tf .list-plain .chip { margin-top: 4px; }
.tf-warn { color: var(--warn); margin: var(--s2) 0 0; }
.tf-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.tf-drop { display: flex; gap: var(--s3); align-items: center; margin: 0; padding: var(--s4); cursor: pointer; border-radius: 12px; font-weight: 500;
  border: 2px dashed color-mix(in srgb, var(--brand) 40%, #c9ccc4); background: linear-gradient(180deg, #fff, var(--brand-soft)); color: var(--ink); }
.tf-drop:hover { border-color: var(--brand); }
.tf-file:focus-visible + .tf-drop { outline: 3px solid var(--focus); outline-offset: 2px; }
.tf-drop.has-file { border-style: solid; border-color: var(--ok); background: linear-gradient(180deg, #fff, var(--ok-soft)); }
.tf-drop-ic { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--brand-text); border: 1px solid var(--rule); box-shadow: var(--hl), var(--sh-1); }
.tf-drop-ic svg { width: 22px; height: 22px; }
.tf-drop b { display: block; font-size: 15px; }
.tf-drop small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.tf-drop .tf-file-name { color: var(--ok); font-weight: 700; overflow-wrap: anywhere; }
.tf-drop .tf-file-name:empty { display: none; }
.tf-submit { margin: var(--s4) 0 var(--s5); }
.tf-submit .btn { width: 100%; justify-content: center; }
.tf-submit p { margin: var(--s2) 2px 0; }
.tf-msg h2 { font-size: 18px; }
.tf-public { max-width: 560px; margin: 0 auto; }
.tf-inv-claim { margin: var(--s4) 0 0; display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }

/* parent: confirmation + my payments */
.tf-done { text-align: center; padding: var(--s5) var(--s4); border-top: 4px solid var(--ok); }
.tf-done h1 { font-size: 21px; margin: var(--s2) 0; }
.tf-done p { margin: 0 auto var(--s3); max-width: 40ch; color: var(--ink-2); }
.tf-done-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-size: 28px; font-weight: 800; color: #fff;
  background: linear-gradient(180deg, #2a9a72, var(--ok)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 8px -2px rgba(16, 104, 79, .5); }
.tf-sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 var(--s4); margin: var(--s3) 0; font-size: 14px; text-align: left; }
.tf-sum dt, .tf-sum dd { padding: 7px 0; border-bottom: 1px solid var(--rule-2); margin: 0; }
.tf-sum dt { color: var(--muted); }
.tf-sum dd { text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.tf-claim-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s3); margin-bottom: var(--s3); }
.tf-big { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.tf-claims-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: 4px; }
.tf-claims .chip { flex: none; }
.tf-reason { color: var(--stamp); }
.tf-cancel { margin: 0 0 var(--s4); }
.tf-child-acts { display: flex; gap: var(--s2); flex-wrap: wrap; margin: 0 0 var(--s4); }
.tf-child-acts .btn { flex: 1 1 auto; justify-content: center; }

/* parent home pay tray with two methods */
.paybar .pay-btns { margin-left: auto; display: flex; gap: var(--s2); }
.paybar .pay-btns .btn { white-space: normal; text-align: center; justify-content: center; line-height: 1.2; }
.paybar.two .in { flex-wrap: wrap; }
.paybar.two .pay-btns { display: contents; }
.paybar.two [data-pay-btn] { margin-left: auto; }
.paybar.two [data-manual-link] { flex: 1 0 100%; min-height: 44px; }
.papp:has(.paybar.two) { padding-bottom: 196px; }
.btn.is-off { opacity: .5; pointer-events: none; filter: grayscale(.3); }

/* staff: review queue + detail */
.pc-list .pc-ref, .pc-kv .pc-ref { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; letter-spacing: .02em; }
.pc-proof .panel-head { margin-bottom: var(--s3); }
.pc-img { display: block; text-align: center; background: repeating-linear-gradient(45deg, #f1f2ee, #f1f2ee 10px, #eceee8 10px, #eceee8 20px); border: 1px solid var(--rule); border-radius: 10px; padding: var(--s3); cursor: zoom-in; overflow: auto; }
.pc-img img { max-width: 100%; max-height: 640px; object-fit: contain; background: #fff; box-shadow: var(--sh-2); border-radius: 4px; }
.pc-img.zoomed { cursor: zoom-out; max-height: none; text-align: left; }
.pc-img.zoomed img { max-width: none; max-height: none; width: 180%; }
.pc-hint { margin: var(--s2) 0 0; }
.pc-pdf { display: flex; gap: var(--s4); align-items: center; padding: var(--s5); border: 2px dashed #c9ccc4; border-radius: 12px; color: var(--ink); text-decoration: none; background: var(--sheet-2); }
.pc-pdf:hover { border-color: var(--brand); text-decoration: none; }
.pc-pdf-ic { flex: none; display: inline-grid; place-items: center; width: 52px; height: 64px; border-radius: 6px; color: #fff; font-weight: 800; font-size: 13px; background: linear-gradient(180deg, #d4454c, var(--stamp)); box-shadow: var(--sh-1); }
.pc-pdf small { display: block; color: var(--muted); }
.pc-amt { font-size: 18px; }
.pc-dup ul { margin: 6px 0 0; padding-left: 18px; font-size: 13.5px; }
.pc-dup > div { min-width: 0; }
.pc-side .panel h3 { margin-top: 0; }
.pc-approve { border-top: 4px solid var(--ok); }
.pc-reject { border-top: 4px solid #ddb3b1; }
.pc-method { padding: 8px 10px; margin: 0 0 var(--s3); border-radius: var(--r-sm); background: var(--sheet-2); color: var(--ink-2); }
.pc-split { margin: 0 0 var(--s3); padding: var(--s3); border: 1px dashed #c9ccc4; border-radius: var(--r-sm); }
.pc-split ul { list-style: none; margin: 6px 0; padding: 0; }
.pc-split li { display: flex; justify-content: space-between; gap: var(--s3); padding: 4px 0; border-bottom: 1px solid var(--rule-2); font-size: 14px; }
.pc-split li:last-child { border-bottom: 0; }
.pc-confirm { padding: 10px 12px; border-radius: var(--r-sm); background: var(--ok-soft); border: 1px solid #bfdccd; }
.pc-go { width: 100%; justify-content: center; }
.pc-receipts { list-style: none; margin: 0; padding: 0; }
.pc-receipts li { display: flex; gap: var(--s2); align-items: baseline; flex-wrap: wrap; padding: 6px 0; border-bottom: 1px solid var(--rule-2); }
.pc-receipts li b { margin-left: auto; }
.pc-dash { align-items: center; }
.pc-dash > svg { flex: none; width: 20px; height: 20px; }
@media (max-width: 520px) {
  .tf-row { flex-wrap: wrap; }
  .tf-row .v { text-align: left; }
  .tf-no .v { justify-content: flex-start; }
}
.tf-big { white-space: nowrap; }
.tf-claim-head .chip { flex: none; margin-top: 2px; }
.pc-grid table.t td:first-child a { white-space: nowrap; }
.pc-split li b { white-space: nowrap; }
.pc-split li span { min-width: 0; }

/* live billing example (timeline) */
.bill-example { margin: 6px 0 16px; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 6%, #fffdf7); border: 1px solid color-mix(in srgb, var(--brand) 22%, #e3decd); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,.05); }
.bill-example .bx-title { font-size: 14px; margin-bottom: 8px; }
.bill-example .bx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: bx; }
.bill-example .bx-steps li { display: grid; grid-template-columns: 26px 9.5em 1fr; gap: 10px; align-items: center; counter-increment: bx; font-size: 14px; }
.bill-example .bx-steps li::before { content: counter(bx); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--brand); box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); }
.bill-example .bx-date { font-weight: 700; font-variant-numeric: tabular-nums; }
.bill-example .bx-note { margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--brand); }
.bill-example.is-adv .bx-steps li:last-child .bx-date { color: var(--brand); }
@media (max-width: 560px) { .bill-example .bx-steps li { grid-template-columns: 26px 1fr; } .bill-example .bx-steps li > span:last-child { grid-column: 2; margin-top: -6px; font-size: 13px; color: var(--muted, #6b7280); } }

/* partial payment (v1.5) */
.paybar.partial .in { flex-wrap: wrap; }
.paybar .pay-amt { flex: 1 1 100%; order: 1; display: grid; gap: 2px; }
.paybar.partial .pay-btns, .paybar.partial .pay-btns > * { order: 2; }
.paybar .pay-amt input { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; max-width: 220px; }
.paybar .pay-amt-err { color: var(--stamp); font-weight: 600; }
.pm-example { background: var(--paper-2, #f6f1e7); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; line-height: 1.5; }

/* overdue warning letters (surat amaran: yellow → red) */
.letters-set { scroll-margin-top: 16px; }
.letters-grid { margin-top: var(--s3, 12px); align-items: start; }
.letter-example .bx-steps li.lx-yellow::before { background: #e0a21a; }
.letter-example .bx-steps li.lx-payby::before { background: #c98a12; }
.letter-example .bx-steps li.lx-red::before, .letter-example .bx-steps li.lx-bar::before { background: var(--stamp); }
.letter-example .bx-steps li.lx-due::before { background: var(--muted); }
.letter-example .bx-steps li.lx-bar .bx-date, .letter-example .bx-steps li.lx-bar > span:last-child { color: var(--stamp); font-weight: 700; }
.letter-example .bx-steps li.lx-yellow .bx-date { color: #8a5300; }
.letter-example .bx-note { color: var(--ink); }
.lt-kind { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--r-pill, 999px); vertical-align: middle; }
.lt-kind.yellow { background: #fbecc0; color: #6a4300; border: 1px solid #e9c66b; }
.lt-kind.red { background: var(--stamp); color: #fff; border: 1px solid var(--stamp); }
.lt-list td { vertical-align: top; }
.lt-act { text-align: right; white-space: nowrap; }
.lt-cancel { display: inline-block; text-align: left; }
.lt-cancel > summary { list-style: none; cursor: pointer; }
.lt-cancel > summary::-webkit-details-marker { display: none; }
.lt-cancel[open] > summary { margin-bottom: 6px; }
.lt-cancel form { display: grid; gap: 6px; min-width: 240px; padding: 10px; border: 1px solid var(--rule); border-radius: var(--r-sm, 7px); background: var(--sheet); white-space: normal; }
.lt-student { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 var(--s4, 16px); padding: 10px 14px; border: 1px solid var(--rule); border-radius: var(--radius, 12px); background: var(--sheet); }
.lt-student.yellow { background: linear-gradient(180deg, #fffbee, var(--warn-soft)); border-color: #ecd9a6; }
.lt-student.red { background: linear-gradient(180deg, #fff6f5, var(--stamp-soft)); border-color: #edc3c1; }
.lt-student .lt-exempt { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.lt-student .lt-exempt input { width: 220px; max-width: 100%; }
.lt-dash { align-items: center; }
.lt-dash > svg { flex: none; width: 20px; height: 20px; }
.lt-parent { display: grid; gap: 4px; margin: 0 0 var(--s3, 12px); padding: 14px 16px 14px 20px; border-radius: var(--radius, 12px); text-decoration: none; position: relative; overflow: hidden; border: 1px solid; }
.lt-parent::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; }
.lt-parent.yellow { background: linear-gradient(180deg, #fffbee, #fbf0d4); border-color: #ecd9a6; color: #4e3200; }
.lt-parent.yellow::before { background: #e0a21a; }
.lt-parent.red { background: linear-gradient(180deg, #fff3f2, #fbe1df); border-color: #e7b3b0; color: #5d1016; }
.lt-parent.red::before { background: var(--stamp); }
.lt-parent b { font-size: 15.5px; line-height: 1.35; }
.lt-parent-tag { font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.lt-parent.red .lt-parent-tag { color: var(--stamp); }
.lt-parent.yellow .lt-parent-tag { color: #8a5300; }
.lt-status { padding: 14px 16px; border-radius: var(--radius, 12px); border: 1px solid var(--rule); margin-bottom: var(--s3, 12px); display: grid; gap: 4px; }
.lt-status.yellow { background: linear-gradient(180deg, #fffbee, var(--warn-soft)); border-color: #ecd9a6; color: #4e3200; }
.lt-status.red { background: linear-gradient(180deg, #fff6f5, var(--stamp-soft)); border-color: #edc3c1; color: #5d1016; }
.lt-status.done { background: var(--ok-soft); border-color: #bfdccd; color: #0b3d2e; }
.lt-open .list-plain li { align-items: center; }
.lt-sheet { padding: 28px 30px; border-radius: 6px; border: 1px solid var(--rule); box-shadow: 0 1px 3px rgba(0,0,0,.06); font-size: 14px; line-height: 1.55; color: #1b2541; border-left: 8px solid; }
.lt-sheet.yellow { background: #fffaea; border-left-color: #e0a21a; }
.lt-sheet.red { background: #fdf1f0; border-left-color: var(--stamp); }
.lt-sheet table { border-collapse: collapse; width: 100%; }
.lt-sheet p { margin: 0 0 10px; }
.lt-sheet .r { text-align: right; }
.lt-sheet .lt-logo { width: 64px; } .lt-sheet .lt-logo img { width: 54px; height: auto; }
.lt-sheet .lt-org { color: var(--muted); font-size: 12.5px; }
.lt-sheet .lt-school { font-size: 18px; font-weight: 800; color: var(--ink); }
.lt-sheet .lt-band { margin: 14px 0 10px; padding: 8px 12px; text-align: center; font-weight: 800; letter-spacing: .06em; }
.lt-sheet.yellow .lt-band { background: #f2b63f; color: #3d2600; border-top: 2px solid #c98a12; border-bottom: 2px solid #c98a12; }
.lt-sheet.red .lt-band { background: var(--stamp); color: #fff; }
.lt-sheet .lt-ref td { padding-bottom: 10px; font-size: 13px; color: var(--muted); }
.lt-sheet .lt-per { text-decoration: underline; }
.lt-sheet .lt-who { width: auto; margin-bottom: 10px; } .lt-sheet .lt-who td { padding: 1px 8px 1px 0; } .lt-sheet .lt-who .k { color: var(--muted); }
.lt-sheet .lt-inv { background: #fff; margin: 4px 0 12px; font-size: 13px; }
.lt-sheet .lt-inv th { text-align: left; padding: 6px; border-bottom: 1px solid var(--rule); color: var(--muted); font-size: 12px; }
.lt-sheet .lt-inv th.r { text-align: right; }
.lt-sheet .lt-inv td { padding: 6px; border-bottom: 1px solid #eceff2; }
.lt-sheet .lt-total td { font-weight: 800; border-top: 2px solid var(--ink); border-bottom: 0; }
.lt-sheet .lt-box { margin: 6px 0 12px; padding: 10px 12px; border: 1.5px solid; background: #fff; }
.lt-sheet.yellow .lt-box { border-color: #c98a12; }
.lt-sheet.red .lt-box { border-color: var(--stamp); }
.lt-sheet .lt-pay { margin: 0 0 12px; padding-left: 20px; }
.lt-sheet .lt-foot { font-size: 12px; color: var(--muted); border-top: 1px dashed var(--rule); padding-top: 8px; margin-top: 16px; }
@media (max-width: 560px) { .lt-sheet { padding: 18px 14px; font-size: 13.5px; } .lt-sheet .lt-inv { font-size: 12px; } .lt-student .lt-exempt { margin-left: 0; width: 100%; flex-wrap: wrap; } }
@media print { .lt-print .t { font-size: 12px; } }
.lt-list td:nth-child(2) { white-space: nowrap; }
.lt-print td:last-child { white-space: nowrap; }
.lt-list td:nth-child(4) { min-width: 10.5em; }

/* branch order (v1.8.3) */
.branch-order { display: inline-flex; gap: 4px; }
.branch-order form { margin: 0; }
.branch-order .btn { min-width: 34px; padding: 4px 8px; }
