/* SAV Day Programme – tablet-first, high legibility. Typeface: Atkinson Hyperlegible (designed for low-vision readers). */
:root {
  --ink: #1e2b2f;
  --ink-soft: #55666b;
  --paper: #f7f9f8;
  --surface: #ffffff;
  --line: #d5dfdb;
  --teal: #2a67a9;
  --teal-soft: #e5edf5;
  --here: #2e7d4f;
  --here-soft: #e2f1e7;
  --amber: #9a5b0c;
  --amber-soft: #fbefdc;
  --red: #b42318;
  --red-soft: #fde8e6;
  --radius: 10px;
  --font: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.5; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #f2b705; outline-offset: 2px;
}
h1 { font-size: 1.75rem; line-height: 1.2; margin: 0 0 .5rem; }
h1 small { font-size: 1rem; font-weight: 400; color: var(--ink-soft); }
h2 { font-size: 1.2rem; margin: 1.75rem 0 .6rem; }
h3 { font-size: 1.05rem; margin: 0 0 .3rem; }
small, .muted { color: var(--ink-soft); }
.hint { color: var(--ink-soft); font-size: .92rem; max-width: 72ch; }
.tbad { color: var(--red); font-weight: 700; }

/* header */
.top { background: var(--teal); color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; padding: .6rem 1.25rem; }
.brand { color: #fff; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.nav { display: flex; flex-wrap: wrap; gap: .15rem; align-items: center; flex: 1; }
.nav a { color: #e6f2ef; text-decoration: none; padding: .45rem .7rem; border-radius: 6px; }
.nav a:hover { background: rgba(255,255,255,.1); }
.nav a.on { background: #fff; color: var(--teal); font-weight: 700; }
.nav .who { margin-left: auto; font-size: .9rem; color: #cfe3de; }
.nav .who a { padding: 0; color: #fff; text-decoration: underline; }
.navtoggle { display: none; margin-left: auto; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 6px; padding: .35rem .8rem; font: inherit; }
@media (max-width: 900px) {
  .navtoggle { display: block; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav .who { margin: .5rem 0 0; }
}

.page { max-width: 1200px; margin: 0 auto; padding: 1.25rem; }
.head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.daynav { display: flex; gap: 1rem; flex-wrap: wrap; margin: 0; }
.daynav a.on { font-weight: 700; text-decoration: none; color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem; border-radius: 8px; border: 1.5px solid var(--teal); background: var(--surface); color: var(--teal); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--teal); color: #fff; }
.btn.danger { border-color: var(--red); color: var(--red); }
.btn:active { transform: translateY(1px); }
.link { background: none; border: 0; padding: .25rem .4rem; color: var(--teal); text-decoration: underline; font: inherit; cursor: pointer; }
.inline { display: inline; }

/* flash */
.flash { padding: .75rem 1rem; border-radius: var(--radius); margin: 0 0 .75rem; background: var(--here-soft); border-left: 5px solid var(--here); }
.flash.warn { background: var(--amber-soft); border-color: var(--amber); }
.flash.bad { background: var(--red-soft); border-color: var(--red); }

/* forms */
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 1rem 1.25rem 1.25rem; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .8rem 1rem; }
.form legend { font-weight: 700; padding: 0 .4rem; font-size: 1.05rem; }
.form fieldset > .hint, .form fieldset > p, .form fieldset > .chks, .fld.wide { grid-column: 1 / -1; }
.fld { display: flex; flex-direction: column; gap: .25rem; font-size: .92rem; }
.fld span { font-weight: 700; }
input, select, textarea { font: inherit; font-size: 1rem; padding: .55rem .65rem; border: 1.5px solid #b9c7c2; border-radius: 8px; background: #fff; color: var(--ink); min-height: 44px; width: 100%; }
textarea { resize: vertical; }
.chk { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; margin-right: 1rem; }
.chk input, input[type=radio] { width: 22px; height: 22px; min-height: 0; accent-color: var(--teal); }
.chks { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .25rem; }
.chks > span { font-weight: 700; margin-right: .75rem; font-size: .92rem; }
.form.compact, form.compact { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem .8rem; margin: .75rem 0; }
.compact .fld { min-width: 180px; flex: 1; }
.compact .fld.wide { flex-basis: 100%; }
.formbar { display: flex; gap: .6rem; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; margin-bottom: 1rem; }
.filters .fld { min-width: 200px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: .8rem; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details.form > form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin-top: .75rem; display: grid; gap: .8rem; }
details.guide { background: var(--amber-soft); border-radius: var(--radius); padding: .75rem 1rem; margin-bottom: 1rem; }
details.guide summary { font-weight: 700; }

/* tables */
.list { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.list th { text-align: left; font-size: .85rem; color: var(--ink-soft); background: #f0f4f2; padding: .55rem .75rem; }
.list td { padding: .6rem .75rem; border-top: 1px solid var(--line); vertical-align: top; }
.list tr.faded td { opacity: .55; }
.stats td:last-child { text-align: right; font-size: 1.2rem; }
@media (max-width: 700px) { .list { display: block; overflow-x: auto; } }

.badges { display: flex; flex-wrap: wrap; gap: .3rem; }
.badge { display: inline-block; font-size: .8rem; padding: .1rem .55rem; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-weight: 700; }
.badge.ok { background: var(--here-soft); color: var(--here); }
.badge.warn { background: var(--amber-soft); color: var(--amber); }
.badge.bad { background: var(--red-soft); color: var(--red); }

.av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; flex: none; }
.av.big { width: 64px; height: 64px; font-size: 1.5rem; }
.av-blank { background: var(--teal-soft); color: var(--teal); font-weight: 700; }

/* capacity: one mark per place */
.seats { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; margin: .25rem 0 .75rem; }
.seats i { width: 22px; height: 22px; border-radius: 5px; border: 2px dashed #b6c4bf; }
.seats i.bk { border: 2px solid var(--teal); background: var(--teal-soft); }
.seats i.in { border: 2px solid var(--here); background: var(--here); }
.seats .over { color: var(--red); margin-left: .5rem; }
.week .seats i { width: 12px; height: 12px; border-width: 1.5px; border-radius: 3px; }

.today { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; margin: .5rem 0 1rem; }
.facts div { border-left: 4px solid var(--teal-soft); padding-left: .7rem; }
.facts div.bad { border-color: var(--red); }
.facts dt { font-size: .85rem; color: var(--ink-soft); }
.facts dd { margin: 0; font-size: 1.5rem; font-weight: 700; }
.facts dd small { font-size: .85rem; font-weight: 400; }

.strip { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; }
.strip a { flex: none; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .5rem .75rem; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; min-width: 110px; }
.strip a.full { border-color: var(--red); }
.strip b { font-size: 1.2rem; }

.actions { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; margin-bottom: .75rem; }
.actions h3 small { color: var(--ink-soft); font-weight: 400; }
.actions ul { margin: 0; padding: 0; list-style: none; }
.actions li { padding: .35rem 0 .35rem .8rem; border-left: 4px solid var(--amber); margin: .3rem 0; }
.actions li.bad { border-color: var(--red); }

/* register */
.register { display: grid; gap: .75rem; }
.person { background: var(--surface); border: 1px solid var(--line); border-left: 8px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }
.person.due { border-left-color: var(--teal); }
.person.in { border-left-color: var(--here); }
.person.out { border-left-color: #b6c4bf; opacity: .8; }
.person.absent { border-left-color: var(--amber); opacity: .8; }
.person .who { display: flex; gap: .9rem; align-items: flex-start; min-width: 260px; flex: 1; }
.person h3 a { color: var(--ink); text-decoration: none; font-size: 1.15rem; }
.person .state { margin: 0 0 .35rem; color: var(--ink-soft); }
.person.in .state { color: var(--here); font-weight: 700; }
.person .acts { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-start; flex: 1 1 360px; justify-content: flex-end; }
.person .acts details { flex-basis: auto; }
.person .acts details[open] { flex-basis: 100%; order: 10; }
.person .acts details[open] > form { background: #f4f8f6; border-radius: 8px; padding: .75rem; }
.collector { display: flex; align-items: center; gap: .6rem; padding: .5rem; border: 1.5px solid var(--line); border-radius: 8px; margin: .3rem 0; background: #fff; cursor: pointer; }
.collector:has(input:checked) { border-color: var(--here); background: var(--here-soft); }
.signout fieldset { border: 0; padding: 0; margin: 0; flex-basis: 100%; }
.signout legend { font-weight: 700; margin-bottom: .25rem; }
.override { flex-basis: 100%; }
.override summary { color: var(--amber); font-weight: 700; padding: .4rem 0; }
.note { background: #f4f8f6; padding: .4rem .6rem; border-radius: 6px; margin: .3rem 0; }
.addbook { margin-bottom: 1rem; }
.addbook summary { color: var(--teal); font-weight: 700; padding: .3rem 0; }

/* bookings week */
.week { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.week section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem; }
.week section.closed { background: #eef1f0; }
.week .names { margin: 0; padding-left: 1.4rem; font-size: .92rem; }
.week .names li.faded { text-decoration: line-through; color: var(--ink-soft); }

/* client */
.client-head { align-items: center; justify-content: flex-start; }
.client-head > div { flex: 1; }
.tabs { display: flex; gap: .25rem; border-bottom: 2px solid var(--line); margin-bottom: 1.25rem; overflow-x: auto; }
.tabs a { padding: .6rem .9rem; text-decoration: none; color: var(--ink-soft); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.tabs a.on { color: var(--ink); border-color: var(--teal); font-weight: 700; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.cols.wide-left { grid-template-columns: 2.4fr 1fr; }
@media (max-width: 900px) { .cols, .cols.wide-left, .row3 { grid-template-columns: 1fr; } }
.check { list-style: none; padding: 0; margin: 0; }
.check li { padding: .4rem .6rem; border-radius: 6px; margin: .2rem 0; }
.check li.ok { background: var(--here-soft); }
.check li.no { background: var(--red-soft); font-weight: 700; }
.kv { display: grid; grid-template-columns: 9rem 1fr; gap: .35rem .75rem; margin: 0; }
.kv dt { color: var(--ink-soft); }
.kv dd { margin: 0; }
.plan dt { font-weight: 700; margin-top: .9rem; }
.plan dd { margin: .2rem 0 0; max-width: 72ch; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem 1rem; margin-bottom: .6rem; }
.card.faded { opacity: .6; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { border-left: 3px solid var(--teal-soft); padding: .3rem 0 .6rem .8rem; }

/* login */
.login { max-width: 420px; margin: 12vh auto 0; background: var(--surface); padding: 2rem; border-radius: var(--radius); border: 1px solid var(--line); }
.stack { display: grid; gap: .9rem; }

/* agreement */
.agreement { max-width: 760px; margin: 0 auto; background: #fff; padding: 2rem; line-height: 1.55; }
.agreement h2 { font-size: 1.05rem; margin-top: 1.2rem; }
.sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* muster */
.muster-list td { font-size: 1.05rem; }
.tick { width: 28px !important; height: 28px !important; }

@media print {
  .top, .noprint, .flash, .navtoggle { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .page { padding: 0; max-width: none; }
  .agreement { padding: 0; }
  .list { border: 1px solid #999; }
  .list td, .list th { border-top: 1px solid #999; }
  a { color: inherit; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* public enquiry page */
.public { max-width: 760px; margin: 0 auto; }
.public-head { border-bottom: 4px solid var(--teal); padding-bottom: .75rem; margin-bottom: 1.25rem; }
.public-head h1 { color: var(--teal); font-size: 2rem; }
.public-head p { margin: 0; color: var(--ink-soft); }
.lede { font-size: 1.15rem; max-width: 60ch; }
.choices { display: grid; gap: .5rem; }
.choice { display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-size: 1rem; }
.choice:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); font-weight: 700; }
.steps li { margin-bottom: .5rem; max-width: 65ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* registration form */
.intake .form fieldset { break-inside: avoid; }
.wide-chk, .wide { grid-column: 1 / -1; }
.contacts .contact-card { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: .75rem; }
.contacts .contact-card .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem 1rem; margin-bottom: .4rem; }
.doc-box { grid-column: 1 / -1; max-height: 45vh; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.25rem; background: #fbfcfc; }
.doc-box h1 { font-size: 1.3rem; }
.doc-box h2 { font-size: 1rem; margin-top: 1rem; }
.formbar.sticky { position: sticky; bottom: 0; background: var(--paper); padding: .75rem 0; border-top: 1px solid var(--line); z-index: 5; }
.copyrow { display: flex; gap: .5rem; margin: .5rem 0 .25rem; }
.copyrow input { flex: 1; font-size: .9rem; }
.review { background: var(--surface); border: 2px solid var(--amber); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.sigline { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin-top: 1.5rem; }
.sigline span { border-top: 1px solid var(--ink); padding-top: .25rem; font-size: .85rem; }
.printonly { display: none; }
input:disabled, select:disabled, textarea:disabled { color: var(--ink); background: #fff; opacity: 1; -webkit-text-fill-color: var(--ink); }

@media print {
  .printonly { display: block; }
  .doc-box { max-height: none; overflow: visible; border: 0; padding: 0; }
  .form fieldset { border: 1px solid #999; }
  .intake input:not([type=checkbox]):not([type=radio]), .intake select, .intake textarea {
    border: 0; border-bottom: 1px solid #555; border-radius: 0; background: transparent; min-height: 1.8em; padding: .1em 0; appearance: none; -webkit-appearance: none;
  }
  .intake textarea { min-height: 4em; border: 1px solid #555; }
  .intake input[type=date]::-webkit-calendar-picker-indicator { display: none; }
  .formbar.sticky { position: static; }
}

/* family portal */
.portal-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1rem 0; }
.portal-card h2 { margin-top: 0; }
.inline-details { display: inline-block; margin-left: .5rem; }
.inline-details[open] { display: block; margin: .4rem 0 0; }
.book-extra { margin-top: 1rem; }
.book-extra[open] > form { margin-top: .75rem; }
.daypick { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .5rem; }
.daypick .day { display: flex; gap: .45rem; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; padding: .5rem .6rem; background: #fff; cursor: pointer; }
.daypick .day span { display: flex; flex-direction: column; line-height: 1.25; }
.daypick .day small { color: var(--ink-soft); }
.daypick .day.full, .daypick .day.mine { opacity: .5; cursor: not-allowed; }
.daypick .day:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }

/* logo */
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.logo { display: block; object-fit: contain; }
.logo-nav { height: 34px; max-width: 140px; background: #fff; border-radius: 6px; padding: 3px 6px; }
.logo-public { max-height: 72px; max-width: 260px; margin-bottom: .6rem; }
.logo-login { max-height: 80px; max-width: 240px; margin: 0 auto 1rem; }
.logo-print { max-height: 64px; max-width: 220px; margin-bottom: 1rem; }
.logo-preview { background: repeating-conic-gradient(#eef1f0 0% 25%, #fff 0% 50%) 50% / 16px 16px; border: 1px solid var(--line); border-radius: 8px; padding: 1rem; }
.logo-preview-img { max-height: 90px; max-width: 300px; }
@media print { .logo-nav { display: none; } }
.maillog { background: #f0f4f2; border-radius: 8px; padding: .75rem; font-size: .8rem; white-space: pre-wrap; max-height: 260px; overflow: auto; }

/* knowledge base */
.kb-sections { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.kb-sections a { text-decoration: none; padding: .4rem .75rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .92rem; }
.kb-sections a small { color: var(--ink-soft); }
.kb-sections a.on { border-color: var(--teal); background: var(--teal-soft); font-weight: 700; }
.kb-group h2 { border-bottom: 2px solid var(--teal-soft); padding-bottom: .3rem; }
.kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .75rem; }
.kb-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; display: flex; flex-direction: column; }
.kb-card h3 { margin: 0 0 .35rem; font-size: 1rem; line-height: 1.3; }
.kb-card h3 a { color: var(--ink); text-decoration: none; }
.kb-card h3 a:hover { text-decoration: underline; }
.kb-card p { margin: 0 0 .5rem; font-size: .92rem; color: var(--ink-soft); }
.kb-links { margin-top: auto !important; display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: center; }
.kb-phone { font-weight: 700; color: var(--teal); }
.kb-entry { max-width: 760px; }
.kb-system { background: var(--teal-soft); border-radius: 8px; padding: .75rem 1rem; margin: 1rem 0; }
.kb-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }

/* invoices */
.invoice { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; max-width: 820px; margin-bottom: 1rem; }
.inv-head { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.inv-title { text-align: right; }
.inv-title h1 { margin: 0; }
.num { text-align: right; white-space: nowrap; }
.inv-total td { font-weight: 700; border-top: 2px solid var(--ink); }

/* transport run sheet and trends */
.run h2 small { color: var(--ink-soft); font-weight: 400; }
.tablewrap { overflow-x: auto; }
.trend td.num { position: relative; min-width: 3.2rem; }
.trend .bar { position: absolute; left: 4px; bottom: 6px; height: 4px; width: calc(var(--w) * .8); background: var(--teal); border-radius: 2px; opacity: .45; }
.trend tr.sev td { background: #f6f8f7; }
@media print { .invoice { border: 0; padding: 0; } .run { break-inside: avoid; } }

/* activity planner – editor */
.pgrid th, .pgrid td { min-width: 150px; }
.pgrid td.prow { min-width: 170px; background: #f6f8f7; }
.pgrid .prow input, .pgrid .prow select { margin-bottom: .3rem; }
.rowtools { display: flex; gap: .5rem; align-items: center; font-size: .82rem; color: var(--ink-soft); }
.rowtools input[type=number] { width: 4.5rem; min-height: 34px; padding: .2rem .4rem; }
.rowtools .chk { min-height: 0; margin: 0; }
.pcell-edit select { margin-bottom: .3rem; font-size: .92rem; }
.pcell-edit input { font-size: .88rem; min-height: 38px; }
.pbreak-edit td { background: var(--teal-soft); }

/* activity library */
.act-grid section { margin-bottom: 1rem; }
.act-grid section h2 { font-size: 1.05rem; }
.act-card { display: inline-flex; gap: .6rem; align-items: center; width: 260px; max-width: 100%; vertical-align: top; margin: 0 .5rem .5rem 0; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); text-decoration: none; }
.act-card:hover { border-color: var(--teal); }
.act-card span { display: flex; flex-direction: column; line-height: 1.3; }
.act-card small { color: var(--ink-soft); }
.act-pic { width: 56px; height: 44px; object-fit: cover; border-radius: 6px; flex: none; }
.act-pic.big { width: 160px; height: 110px; }
.act-emoji { display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; background: var(--teal-soft); }

/* activity planner – printed sheet */
.planner-sheet header { display: flex; align-items: center; justify-content: center; gap: 1.25rem; text-align: center; margin-bottom: .6rem; }
.planner-sheet h1 { color: var(--teal); font-size: 1.9rem; letter-spacing: .02em; text-transform: uppercase; margin: 0; }
.planner-sheet h2 { color: var(--teal); font-size: 1.25rem; margin: .2rem 0 0; }
.planner-logo { max-height: 60px; max-width: 150px; }
table.planner { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
table.planner th { border: 2px solid var(--ink); background: #fff; color: var(--teal); font-size: 1.05rem; padding: .3rem; }
table.planner th.ptime, table.planner td.ptime { width: 11%; }
table.planner td { border: 2px solid var(--ink); text-align: center; vertical-align: top; padding: .3rem .25rem; background: #fff; }
table.planner td.ptime { font-weight: 700; font-size: 1rem; vertical-align: middle; }
table.planner .pcell b { display: block; font-size: .95rem; line-height: 1.2; margin-bottom: .25rem; }
table.planner .pcell .act-pic { width: 100%; max-width: 160px; height: 70px; border-radius: 4px; display: block; margin: 0 auto; }
table.planner .pcell .act-emoji { height: 60px; font-size: 2.4rem; background: none; }
table.planner tr.pbreak td { border: 0; background: none; color: var(--teal); font-weight: 700; font-size: 1.2rem; text-align: center; padding: .2rem; }
table.planner tr.pbreak td.ptime { text-align: left; }
.planner-sheet footer { margin-top: .5rem; }
.planner-sheet footer span { font-size: .9rem; }
.planner-sheet blockquote { margin: .2rem 0 0; text-align: center; font-style: italic; font-size: 1.05rem; }
.planner-sheet cite { font-style: normal; font-weight: 700; font-size: .9rem; }
@media print {
  .planner-sheet { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  table.planner .pcell .act-pic { height: 22mm; }
}
