@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-var.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --bg: #fbfaf5; --paper: #ffffff; --ink: #17191c; --muted: #50565f; --line: #d8d5ca; --soft: #f1efe6;
  --bus: #f6c90e; --bus-deep: #8a6d00; --bus-ink: #17191c; --link: #1f4fbf; --focus: #1f4fbf;
  --ok: #1d7343; --ok-bg: #e5f3ea; --bad: #b42318; --bad-bg: #fdecea; --warn-bg: #fff6d6; --info-bg: #eef2f8;
  --t-class: #2d3340; --t-pe: #157f7f; --t-recess: #e2b300; --t-lunch: #d9661a; --t-passing: #a9adb5;
  --s0: #2d3340; --s1: #1d6fb8; --s2: #157f7f; --s3: #b0306a; --s4: #8a6d00; --s5: #5b6b2f;
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r1: 4px; --r2: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181b; --paper: #1f2226; --ink: #ecebe6; --muted: #aab0b8; --line: #3a3e45; --soft: #262a2f;
    --bus-deep: #f6c90e; --link: #93b4ff; --focus: #f6c90e;
    --ok: #6fd39a; --ok-bg: #18301f; --bad: #ff8f80; --bad-bg: #3a1d1a; --warn-bg: #352d10; --info-bg: #1f2a38;
    --t-class: #c9cdd6; --t-pe: #3fb6b6; --t-recess: #f6c90e; --t-lunch: #f08a3c; --t-passing: #6b7079;
    --s0: #c9cdd6; --s1: #5aa2e6; --s2: #3fb6b6; --s3: #e86aa3; --s4: #d8b13a; --s5: #9bb35a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--font); }
a { color: var(--link); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.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; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 30; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.topbar { background: var(--bus); color: var(--bus-ink); border-bottom: 3px solid #17191c; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--bus-ink); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.topbar nav { display: flex; gap: 16px; }
.topbar nav a { color: var(--bus-ink); text-decoration: none; padding: 12px 0; font-weight: 600; }
.topbar nav a:hover { text-decoration: underline; }
@media (max-width: 420px) { .topbar nav a:first-child { display: none; } }

.crumbs { margin: 14px 0 0; font-size: .95rem; color: var(--muted); }
.hero { padding: 18px 0 6px; max-width: 780px; }
h1 { font-weight: 800; font-size: clamp(1.9rem, 5.5vw, 2.7rem); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 10px; }
h2 { font-weight: 800; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 10px; }
h3 { font-weight: 700; font-size: 1.08rem; margin: 18px 0 6px; }
.lede { margin: 0; font-size: 1.05rem; color: var(--muted); max-width: 70ch; }
.banner { background: var(--warn-bg); border-left: 4px solid var(--bus-deep); padding: 10px 14px; margin: 10px 0; }
.banner .btn { margin: 6px 8px 0 0; }

/* ---------- form basics ---------- */
label, .lab { font-weight: 600; font-size: .95rem; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r1); padding: 9px 10px; min-height: 44px; min-width: 0; }
textarea { width: 100%; min-height: 120px; line-height: 1.4; }
input[type="time"], input[type="date"] { min-width: 0; }
.check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 0; accent-color: var(--ink); }
.hint { color: var(--muted); font-size: .92rem; margin: 6px 0 0; }
.btn { font: inherit; font-weight: 700; font-size: .98rem; min-height: 44px; padding: 8px 16px; border-radius: var(--r1); border: 2px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; }
.btn:hover { background: var(--soft); }
.btn.primary { background: var(--bus); color: #17191c; border-color: #17191c; }
.btn.primary:hover { background: #ffd83a; }
.btn.small { min-height: 40px; padding: 6px 12px; font-size: .92rem; }
.btn.danger { border-color: var(--bad); color: var(--bad); }
.btn.ghost { border-color: transparent; text-decoration: underline; }
.linkish { background: none; border: 0; padding: 10px 4px; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; min-height: 44px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 12px; }

/* ---------- tool layout ---------- */
.tool { display: grid; gap: 0 28px; margin: 8px 0 32px; }
.tool > * { min-width: 0; }
.setup { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; align-items: end; }
.setup .check { grid-column: span 2; min-height: 36px; }
@media (min-width: 640px) { .setup { grid-template-columns: 180px 220px auto auto; } .setup .check { grid-column: auto; } }
.req { margin: 10px 0 2px; font-weight: 700; }
.counts { margin: 0 0 12px; color: var(--muted); font-size: .95rem; }
.example-note { margin: 10px 0 0; font-size: .92rem; color: var(--muted); }
.aid { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }

.result { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r2); padding: 16px; margin: 4px 0 18px; box-shadow: 6px 6px 0 var(--bus); }
.verdict { display: inline-block; margin: 0 0 6px; font-weight: 800; font-size: .95rem; padding: 3px 10px; border-radius: var(--r1); }
.is-ok .verdict { background: var(--ok-bg); color: var(--ok); }
.is-short .verdict { background: var(--bad-bg); color: var(--bad); }
.big { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.big #r-total { font-size: clamp(2rem, 8vw, 2.6rem); font-variant-numeric: tabular-nums; }
.big .of { font-size: 1.15rem; color: var(--muted); font-weight: 700; white-space: nowrap; }
.meter { position: relative; height: 16px; margin: 10px 0 8px; border: 2px solid var(--ink); border-radius: var(--r1); background: var(--soft); overflow: hidden; }
.meter .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--bus); }
.is-short .meter .fill { background: repeating-linear-gradient(135deg, var(--bad) 0 6px, transparent 6px 10px); }
.cushion { margin: 4px 0; font-size: 1.02rem; }
.days-line { margin: 4px 0; color: var(--muted); }
.notes { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.notes li { padding: 8px 10px; border-left: 4px solid var(--line); background: var(--soft); font-size: .95rem; }
.notes li.bad { border-color: var(--bad); background: var(--bad-bg); }
.notes li.warn { border-color: var(--bus-deep); background: var(--warn-bg); }
.notes li.info { border-color: var(--link); background: var(--info-bg); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.share-out { margin-top: 10px; display: grid; gap: 4px; }
.share-out input { width: 100%; }

@media (min-width: 980px) {
  .tool { grid-template-columns: minmax(0, 1fr) 360px; }
  .tool > * { grid-column: 1; }
  .tool > .result { grid-column: 2; grid-row: 1 / span 8; align-self: start; position: sticky; top: 12px; margin-top: 0; }
}

.panel { border-top: 3px solid var(--ink); padding: 14px 0 6px; margin-top: 10px; }
.panel h2 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }

/* ---------- bell schedules ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.chip { font: inherit; font-weight: 600; min-height: 44px; padding: 6px 12px; border-radius: var(--r1); border: 2px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.chip[aria-selected="true"] { border-color: var(--ink); background: var(--soft); }
.chip .sw { width: 12px; height: 12px; border-radius: 2px; flex: none; }
.chip.add { border-style: dashed; color: var(--muted); }
.sched-head { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-bottom: 10px; }
.ribbon { display: flex; height: 34px; border: 2px solid var(--ink); border-radius: var(--r1); overflow: hidden; background: var(--soft); }
.ribbon span { flex: 0 0 auto; position: relative; min-width: 1px; border-right: 1px solid var(--paper); }
.ribbon span:last-child { border-right: 0; }
.ribbon .class { background: var(--t-class); } .ribbon .pe { background: var(--t-pe); } .ribbon .recess { background: var(--t-recess); }
.ribbon .lunch { background: var(--t-lunch); } .ribbon .passing { background: var(--t-passing); }
.ribbon .nc::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.75) 0 4px, transparent 4px 9px); }
.ribbon .part::after { content: ""; position: absolute; inset: 0 0 0 50%; background: repeating-linear-gradient(135deg, rgba(255,255,255,.75) 0 4px, transparent 4px 9px); }
.rib-scale { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); margin: 3px 0 0; }
.sched-sum { margin: 8px 0 10px; font-size: .98rem; }
.key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 10px; font-size: .88rem; color: var(--muted); padding: 0; list-style: none; }
.key li { display: inline-flex; align-items: center; gap: 6px; }
.key i { width: 14px; height: 14px; border-radius: 2px; display: inline-block; border: 1px solid var(--line); }
.key i.class { background: var(--t-class); } .key i.pe { background: var(--t-pe); } .key i.recess { background: var(--t-recess); } .key i.lunch { background: var(--t-lunch); } .key i.passing { background: var(--t-passing); }
.key i.nc { background: repeating-linear-gradient(135deg, var(--muted) 0 3px, var(--paper) 3px 6px); }

.blocks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.blk { display: grid; grid-template-columns: 1fr 1fr 44px; grid-template-areas: "type label del" "start end del"; gap: 2px 8px; padding: 6px 8px; border: 1px solid var(--line); border-left: 6px solid var(--t-class); border-radius: var(--r1); background: var(--paper); }
.blk.pe { border-left-color: var(--t-pe); } .blk.recess { border-left-color: var(--t-recess); } .blk.lunch { border-left-color: var(--t-lunch); } .blk.passing { border-left-color: var(--t-passing); }
.blk .f-type { grid-area: type; } .blk .f-label { grid-area: label; } .blk .f-start { grid-area: start; } .blk .f-end { grid-area: end; }
.blk .del { grid-area: del; align-self: center; }
.blk .field label { font-size: .78rem; font-weight: 600; color: var(--muted); }
.blk .field { gap: 1px; }
.blk .gap-note { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--muted); }
@media (min-width: 640px) {
  .blk { grid-template-columns: 140px 136px 136px 1fr 44px; grid-template-areas: "type start end label del"; align-items: end; }
}
.iconbtn { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: var(--r1); cursor: pointer; font: 700 1.3rem/1 var(--font); }
.iconbtn:hover { border-color: var(--bad); color: var(--bad); }
.sched-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.more { margin: 8px 0; }
.more summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; gap: 8px; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border: 2px solid currentColor; border-radius: 4px; font-size: 1.1rem; line-height: 1; }
.more[open] summary::before { content: "\2212"; }
.more-in { padding: 4px 0 8px; display: grid; gap: 8px; }

/* ---------- calendar ---------- */
.week { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px 12px; margin: 0 0 12px; }
.week .wd { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 6px; }
.week label { font-size: .92rem; }
.week select { padding: 8px 6px; }
.brushes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; align-items: center; }
.brushes .lab { width: 100%; font-size: .92rem; }
.brush { position: relative; }
.brush input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.brush span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 10px; border: 2px solid var(--line); border-radius: var(--r1); background: var(--paper); cursor: pointer; font-size: .92rem; font-weight: 600; }
.brush input:checked + span { border-color: var(--ink); background: var(--soft); box-shadow: inset 0 -3px 0 var(--bus); }
.brush input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.sw { width: 14px; height: 14px; border-radius: 2px; display: inline-block; flex: none; }
.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px 14px; }
.month h3 { margin: 0 0 4px; font-size: .98rem; }
.mgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; }
.mgrid .dh { font-size: .75rem; color: var(--muted); text-align: center; }
.day { font: inherit; font-size: .85rem; font-weight: 600; min-height: 32px; border-radius: 3px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; padding: 0; position: relative; font-variant-numeric: tabular-nums; }
.day.out { visibility: hidden; }
.day.sch { color: #fff; border-color: transparent; }
.day.v-off { background: var(--paper); color: var(--muted); }
.day.v-closed { background: var(--bad-bg); color: var(--bad); border-color: var(--bad); text-decoration: line-through; }
.day.v-reserve { background: var(--paper); border: 2px dashed var(--ink); }
.day.v-conf, .day.v-pd { background: var(--soft); color: var(--muted); border-style: dotted; border-color: var(--ink); }
.day.nocount::after { content: ""; position: absolute; inset: 2px; border: 2px solid var(--bad); border-radius: 2px; }
.s0 { background: var(--s0); } .s1 { background: var(--s1); } .s2 { background: var(--s2); } .s3 { background: var(--s3); } .s4 { background: var(--s4); } .s5 { background: var(--s5); }
.sw.k-off { background: var(--paper); border: 1px solid var(--muted); } .sw.k-closed { background: var(--bad); }
.sw.k-reserve { background: var(--paper); border: 2px dashed var(--ink); } .sw.k-conf, .sw.k-pd { background: var(--soft); border: 1px dotted var(--ink); }
.sw.k-usual { background: linear-gradient(135deg, var(--s0) 50%, var(--paper) 50%); border: 1px solid var(--line); }
.cal-sum { margin: 12px 0 4px; font-size: .95rem; }
@media (prefers-color-scheme: dark) { .day.sch { color: #111; } }
/* touch screens: date cells stay 5 to a row (about 32 px wide on a phone) but get a 44 px tall target and wider gaps */
@media (pointer: coarse) { .mgrid { gap: 4px; } .day { min-height: 44px; } }

/* ---------- drivers ---------- */
.tbl-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .85rem; color: var(--muted); border-bottom: 2px solid var(--ink); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.drv .share { display: block; height: 6px; margin-top: 5px; background: var(--bus); border-radius: 2px; }
.drv .sub { display: block; color: var(--muted); font-size: .85rem; font-weight: 400; }
.waiver { max-width: 260px; margin-top: 12px; }
.drv tfoot th, .drv tfoot td { border-bottom: 0; font-weight: 800; }

/* ---------- PE ---------- */
.pe-week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0 0 6px; }
.pe-week input { width: 100%; padding: 9px 6px; }
.pe-out { margin: 10px 0; }
.pe-out ul { margin: 6px 0 0; padding-left: 18px; }

.save-row { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 6px; max-width: 560px; }
.save-line { margin: 0; color: var(--muted); font-size: .95rem; }
.confirm { background: var(--bad-bg); padding: 10px; border-radius: var(--r1); margin: 0; }

/* ---------- prose ---------- */
.prose { max-width: 760px; padding-bottom: 20px; }
.prose p { margin: 0 0 12px; }
.rules { margin: 6px 0 14px; font-size: .92rem; }
.rules th[scope="row"] { font-weight: 700; white-space: nowrap; }
.faq { margin-top: 22px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; min-height: 44px; }
.faq details p { margin: 0 0 12px; }
.states-line { margin-top: 18px; font-weight: 600; }
.states-line a, .states-line span { margin-right: 4px; }
.sources { font-size: .9rem; color: var(--muted); }

.undo { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 8px 10px 8px 16px; border-radius: var(--r2); display: flex; align-items: center; gap: 12px; z-index: 40; max-width: calc(100% - 32px); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.undo .btn { background: var(--bus); color: #17191c; border-color: var(--bus); }

footer { border-top: 3px solid var(--ink); margin-top: 20px; padding: 18px 0 30px; font-size: .9rem; color: var(--muted); }
.sb-footer p { margin: 0 0 8px; }
.sb-footer a { color: var(--link); }

.print-sheet { display: none; }

/* ---------- print: only the summary sheet ---------- */
@page { margin: 13mm 12mm; }
@media print {
  :root { --ink: #111; --muted: #444; --line: #bbb; --paper: #fff; --soft: #f2f2f2; }
  body { background: #fff; color: #111; font-size: 9.5pt; }
  body > *:not(.print-sheet) { display: none !important; }
  .print-sheet { display: block; }
  .ps .ps-title { font-size: 16pt; font-weight: 800; margin: 0 0 2pt; letter-spacing: -.01em; }
  .ps .sub { margin: 0 0 8pt; color: #333; }
  .ps h2 { font-size: 11.5pt; margin: 10pt 0 4pt; break-after: avoid; }
  .ps h3 { font-size: 10pt; margin: 0 0 2pt; }
  .ps p { margin: 0 0 4pt; }
  .ps .box { border: 1.5pt solid #111; padding: 6pt 8pt; margin: 0 0 6pt; break-inside: avoid; }
  .ps .box .v { font-weight: 800; font-size: 12.5pt; margin: 0 0 2pt; }
  .ps table { font-size: 9pt; width: 100%; }
  .ps th, .ps td { padding: 2.5pt 4pt; border-bottom: .5pt solid #bbb; }
  .ps thead th { border-bottom: 1pt solid #111; color: #111; font-size: 8.5pt; }
  .ps .notes-p li { margin: 0 0 2pt; }
  .ps .scheds { columns: 2; column-gap: 14pt; }
  .ps .sch { break-inside: avoid; margin: 0 0 8pt; }
  .ps .sch td.nc { color: #666; }
  .ps .cal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6pt 10pt; break-inside: avoid; }
  .ps .pm h3 { font-size: 8.5pt; margin: 0 0 1pt; }
  .ps .pg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1pt; }
  /* Calendar on paper: light tints, dark numerals, and a mark per day type (borders and glyphs print even with
     background graphics off; only the tinted cells and key swatches ask for exact colour). */
  .ps .pg b { position: relative; font-size: 7pt; font-weight: 600; text-align: center; padding: 1pt 0; border: .5pt solid #888; color: #111; background: #fff; }
  .ps .pg b.o { visibility: hidden; }
  .ps .pkey i { position: relative; display: inline-block; width: 11pt; height: 9pt; border: .5pt solid #888; vertical-align: -1.5pt; margin-right: 3pt; background: #fff; }
  .ps .pg b.s1, .ps .pkey i.s1, .ps .pg b.s2, .ps .pkey i.s2, .ps .pg b.s3, .ps .pkey i.s3, .ps .pg b.s4, .ps .pkey i.s4,
  .ps .pg b.s5, .ps .pkey i.s5, .ps .pg b.k-off, .ps .pkey i.k-off, .ps .pg b.k-conf, .ps .pkey i.k-conf, .ps .pg b.k-pd, .ps .pkey i.k-pd { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .ps .pg b.s1, .ps .pkey i.s1 { background: #d6e8f7; border: .5pt solid #1d6fb8; border-bottom: 1.5pt solid #1d6fb8; }
  .ps .pg b.s2, .ps .pkey i.s2 { background: #d3efec; border-color: #157f7f; }
  .ps .pg b.s2::after, .ps .pkey i.s2::after { content: ""; position: absolute; top: 1pt; right: 1pt; width: 3.2pt; height: 3.2pt; border-radius: 50%; border: 1.6pt solid #157f7f; box-sizing: border-box; }
  .ps .pg b.s3, .ps .pkey i.s3 { background: #f6dce8; border: 1.5pt double #b0306a; }
  .ps .pg b.s4, .ps .pkey i.s4 { background: #f5ecc8; border-color: #8a6d00; border-top: 1.5pt solid #8a6d00; }
  .ps .pg b.s5, .ps .pkey i.s5 { background: #e3ead3; border-color: #5b6b2f; border-left: 1.5pt solid #5b6b2f; }
  .ps .pg b.k-off, .ps .pkey i.k-off { color: #666; border-color: #aaa; background: repeating-linear-gradient(135deg, #fff 0 1.6pt, #d0d0d0 1.6pt 2.4pt); }
  .ps .pg b.k-closed, .ps .pkey i.k-closed { color: #b42318; text-decoration: line-through; border: 1pt solid #b42318; }
  .ps .pg b.k-reserve, .ps .pkey i.k-reserve { border: 1pt dashed #111; }
  .ps .pg b.k-conf, .ps .pkey i.k-conf, .ps .pg b.k-pd, .ps .pkey i.k-pd { background: #ececec; color: #444; border: .5pt dotted #444; }
  .ps .pkey { display: flex; flex-wrap: wrap; gap: 2pt 10pt; font-size: 8pt; margin: 4pt 0 0; padding: 0; list-style: none; }
  .ps .foot.top { margin: 0 0 8pt; border-top: 0; padding-top: 0; }
  .ps .foot { margin-top: 8pt; font-size: 8pt; color: #333; border-top: .5pt solid #999; padding-top: 4pt; }
  .ps .keep { break-inside: avoid; }
}
