/* Due at 3:00: a workday played on the page. Load after lab.css.
   Every rule that hides the readable version sits under html.day-on, a class day.js adds only after
   it has loaded. If the script fails, the whole lesson reads as one page. */

:root {
  --day-night: #091836;
  --day-panel: #101f42;
  --day-panel-2: #182c58;
  --day-ai-ink: #e8f0ff;
  --day-ai-soft: #a9bcdd;
  --day-amber: #9a5b00;
  --day-amber-bg: #fff4dc;
}

.day-stage, .day-stage * { box-sizing: border-box; }

/* ── The readable version ────────────────────────────────── */
.day-stage { display: none; }
.day-read { max-width: 680px; margin: 0 auto; padding: 8px 16px 40px; color: var(--lab-ink); font-size: 16.5px; line-height: 1.6; }
.day-sec { margin-top: 34px; }
.day-sec h2 { font-family: var(--tt-font-display); font-size: clamp(23px, 5.4vw, 30px); font-weight: 700; letter-spacing: -.5px; line-height: 1.2; color: var(--tt-navy-deep); margin: 28px 0 10px; }
.day-sec > h2:first-child { margin-top: 0; }
.day-sec p { margin: 0 0 12px; }
.day-sec a { color: var(--tt-navy); }
.day-static-chat, .day-static-lines, .day-steps { margin: 0 0 14px; padding-left: 22px; }
.day-static-chat li, .day-static-lines li, .day-steps li { margin-bottom: 8px; }
.day-static-chat { list-style: none; padding: 0; }
.day-static-chat li { background: #fff; border: 1px solid var(--tt-line); border-radius: 14px; padding: 10px 14px; }

/* ── A document that looks like a document: a PDF viewer's gray canvas, white pages ── */
.doc { background: #525659; border-radius: 8px; padding: 0 10px 10px; font-size: 13.5px; }
.doc-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 -10px 10px; padding: 7px 12px; background: #323639; color: #e8eaed; font: 12.5px/1.3 Arial, Helvetica, sans-serif; border-radius: 8px 8px 0 0; }
.doc-file { word-break: break-all; }
.doc-count { flex: none; color: #bdc1c6; }
.doc-sheet { position: relative; background: #fff; color: #1b1b1b; padding: 18px 18px 12px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.45); font-family: Georgia, 'Times New Roman', Times, serif; font-size: 14px; line-height: 1.5; }
.doc-sheet:last-child { margin-bottom: 0; }
.doc-sheet p { margin: 0 0 10px; }
.doc-sheet h4 { font: 700 15.5px/1.3 Arial, Helvetica, sans-serif; color: #14324f; margin: 0 0 10px; padding-bottom: 5px; border-bottom: 1px solid #14324f; }
.doc-head { display: flex; justify-content: space-between; gap: 10px; font: 10.5px/1.3 Arial, Helvetica, sans-serif; color: #5f6368; margin: 0 0 14px !important; }
.doc-foot { display: flex; justify-content: space-between; gap: 12px; font: 10.5px/1.3 Arial, Helvetica, sans-serif; color: #5f6368; margin: 14px 0 0 !important; padding-top: 6px; border-top: 1px solid #dadce0; }
.doc-note { font-size: 12.5px; line-height: 1.45; color: #3c4043; }
.doc-footnote { font-size: 11.5px; line-height: 1.4; color: #3c4043; border-top: 1px solid #9aa0a6; padding-top: 6px; margin-top: 16px !important; }
.doc-sheet sup { font-size: .72em; line-height: 0; }
.doc-sheet table { width: 100%; border-collapse: collapse; margin: 0 0 11px; font: 12.5px/1.35 Arial, Helvetica, sans-serif; font-variant-numeric: tabular-nums; }
.doc-sheet caption { text-align: left; font-weight: 700; font-size: 11.5px; color: #14324f; padding-bottom: 4px; }
.doc-sheet th, .doc-sheet td { padding: 4px 3px; text-align: right; border-bottom: 1px solid #e0e3e7; font-weight: 400; }
.doc-sheet th:first-child { text-align: left; }
.doc-sheet thead th { font-weight: 700; background: #14324f; color: #fff; border: 0; }
.doc-sheet tfoot th, .doc-sheet tfoot td { font-weight: 700; border-bottom: 0; border-top: 1.5px solid #14324f; }
.doc-figure { margin: 0 0 12px; font: 11.5px/1.3 Arial, Helvetica, sans-serif; }
.doc-figure figcaption { font-weight: 700; color: #14324f; margin-bottom: 5px; }
.doc-bars > div { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 6px; margin-bottom: 3px; color: #3c4043; }
.doc-bars i { display: block; height: 11px; background: #2f6f9f; }
.doc-cover { padding-top: 22px; }
.nl-brand { display: flex; align-items: center; gap: 9px; font: 700 12px/1.1 Arial, Helvetica, sans-serif; letter-spacing: 1.4px; color: #14324f; }
.nl-rule { height: 3px; background: #14324f; margin: 12px 0 34px; }
.nl-kicker { font: 700 11px/1.2 Arial, Helvetica, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: #2f6f9f; margin: 0 0 6px !important; }
.doc-cover h3 { font: 700 24px/1.18 Arial, Helvetica, sans-serif; letter-spacing: -.3px; color: #14324f; margin: 0 0 28px; }
.nl-meta { margin: 0 0 24px; font: 12.5px/1.4 Arial, Helvetica, sans-serif; }
.nl-meta > div { display: grid; grid-template-columns: 84px 1fr; gap: 6px; margin-bottom: 4px; }
.nl-meta dt { color: #5f6368; }
.nl-meta dd { margin: 0; color: #1b1b1b; }
.nl-toc { font: 12.5px/1.4 Arial, Helvetica, sans-serif; border-top: 1px solid #dadce0; padding-top: 10px; }
.nl-toc p { font-weight: 700; color: #14324f; margin: 0 0 5px; }
.nl-toc ol { list-style: none; margin: 0; padding: 0; }
.nl-toc li { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; color: #3c4043; }

/* ── After the day: what went wrong, and what you keep ───── */
.day-mistake { background: #fff; border: 1px solid var(--tt-line); border-left: 4px solid var(--lab-wrong); border-radius: 12px; padding: 14px 16px 6px; margin: 12px 0; box-shadow: var(--tt-shadow-card); }
.day-mistake h3 { font-family: var(--tt-font-display); font-size: 18.5px; font-weight: 700; color: var(--tt-navy-deep); margin: 0 0 8px; }
.day-mistake dl { margin: 0 0 10px; }
.day-mistake dl > div { margin-bottom: 8px; }
.day-mistake dt { font-size: 12.5px; font-weight: 700; letter-spacing: .3px; color: var(--tt-ink-muted); }
.day-mistake dl > div:first-child dd { color: var(--lab-wrong); }
.day-mistake dl > div:last-child dt { color: var(--lab-right); }
.day-mistake dd { margin: 0; font-size: 15.5px; line-height: 1.45; }
.day-sub { font-family: var(--tt-font-display); font-size: 20px; font-weight: 700; color: var(--tt-navy-deep); margin: 24px 0 8px; }
.day-keep { background: var(--tt-grad-deep); color: #fff; border-radius: var(--tt-radius); padding: 22px 20px 12px; box-shadow: var(--tt-shadow-lift); }
.day-keep h2 { color: #fff; margin-top: 6px; }
.day-keep-tag { font-family: var(--tt-font-display); font-size: 13px; font-weight: 700; letter-spacing: .5px; color: var(--tt-ice); }
.day-four { margin: 0 0 14px; padding-left: 22px; }
.day-four li { margin-bottom: 11px; }
.day-four li::marker { color: var(--tt-ice); font-family: var(--tt-font-display); font-weight: 700; }
.day-four strong { display: block; font-family: var(--tt-font-display); font-size: 17.5px; line-height: 1.3; }
.day-keep-note { font-size: 14.5px; color: #d7e4fb; border-top: 1px solid rgba(255,255,255,.2); padding-top: 12px; }
.day-time-note { font-size: 14px; color: var(--tt-ink-muted); margin-top: -4px !important; }
.day-age { font-size: 14.5px; background: var(--tt-surface); border: 1px solid var(--tt-line); border-radius: 10px; padding: 10px 13px; }
.lab-home-end .lab-home { color: var(--tt-navy); }

.day-next .day-btn { box-sizing: border-box; max-width: 320px; }
.day-sec a.day-btn.is-main { color: #fff; }

/* ── Waiting for the script, then playing ────────────────── */
html.day-pending .day-read, html.day-pending .lab-band-end { display: none; }
html.day-pending .day-stage, html.day-on .day-stage { display: block; }
html.day-pending .day-stage { min-height: 240px; background: var(--day-night); }
html.day-on .day-before, html.day-on .day-after, html.day-on .lab-band-end { display: none; }
html.day-on.day-done .day-after { display: block; }
html.day-on.day-done .lab-band-end { display: block; }
html.day-on.day-playing .day-hero { display: none; }
html.day-on .day-read { padding-top: 0; }
html.day-on:not(.day-done) .day-read { padding: 0; }
@media (max-width: 700px) { html.day-on .wa-widget { display: none; } }

.day-hero { padding-bottom: 20px; }
/* Holds the hero's height while the web font swaps in, so the app below it doesn't jump. */
.day-hero .tt-hero-lede { min-height: 4.5em; }
html.day-on .day-stage {
  position: relative;
  background: var(--tt-grad-hero);
  background-attachment: fixed;
  padding: 12px 12px 18px;
}
html.day-on .day-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--lab-grid);
  background-size: 28px 28px;
  pointer-events: none;
}
html.day-on:not(.day-playing) .day-stage { padding-top: 0; }
html.day-on:not(.day-playing) .day-foot { display: none; }

.day-app { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.35); overflow: clip; }

/* The top of the app: where you are, the clock, the deadline */
.day-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2px 10px; background: var(--tt-navy-deep); color: #fff; padding: 9px 14px; min-height: 52px; }
.day-bar-title { font-family: var(--tt-font-display); font-weight: 700; font-size: 15.5px; line-height: 1.3; letter-spacing: 0; color: #fff; margin: 0; }
.day-time { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.day-clock { font-family: var(--lab-mono); font-size: 15px; font-weight: 700; color: var(--tt-ice); }
.day-clock.is-tick { animation: dayTick .5s ease; }
.day-due { font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.13); border-radius: var(--tt-pill); padding: 3px 9px; white-space: nowrap; transition: background .2s, color .2s; }
.day-bar.is-close .day-due { background: #ffd27a; color: #4a2c00; }
.day-count { order: 5; width: 100%; font-size: 12.5px; font-weight: 700; color: #ffc2bd; }
.day-count[hidden] { display: none; }
@keyframes dayTick { 40% { color: #fff; transform: scale(1.1); } }

.day-scene { display: flex; flex-direction: column; min-height: 300px; outline: none; }
.day-scene.is-notice { min-height: 0; }
.day-scene.is-chat, .day-scene.is-call { min-height: min(calc(100svh - 190px), 620px); background: var(--tt-surface-2); }

/* Messages */
.day-thread { list-style: none; margin: 0; padding: 14px 12px 8px; flex: 1; display: flex; flex-direction: column; gap: 9px; }
.day-msg { display: flex; gap: 8px; align-items: flex-start; max-width: 94%; animation: dayIn .22s ease; scroll-margin-bottom: 96px; scroll-margin-top: 130px; }
.day-msg p { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--lab-ink); }
.day-msg-body { background: #fff; border: 1px solid var(--tt-line); border-radius: 4px 14px 14px 14px; padding: 7px 12px 9px; box-shadow: 0 1px 3px rgba(12,35,80,.06); }
.day-msg-name { display: block; font-size: 12px; font-weight: 700; color: var(--tt-ink-muted); margin-bottom: 1px; }
.day-face { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--tt-font-display); font-weight: 700; font-size: 14px; color: #fff; background: var(--tt-navy); }
.day-face.is-rosa { background: #a8450b; }
.day-msg.is-you { align-self: flex-end; background: var(--tt-navy); border-radius: 14px 14px 4px 14px; padding: 8px 13px; }
.day-msg.is-you p { color: #fff; }
.day-msg.is-caught .day-msg-body { border-color: var(--lab-wrong); background: var(--lab-wrong-bg); }
.day-note-line { align-self: center; text-align: center; font-size: 13.5px; line-height: 1.4; font-weight: 600; color: var(--tt-ink-soft); background: #e8edf6; border-radius: 10px; padding: 6px 11px; max-width: 92%; animation: dayIn .22s ease; scroll-margin-bottom: 96px; }
.day-typing { display: inline-flex; gap: 4px; align-self: flex-start; margin-left: 40px; background: #fff; border: 1px solid var(--tt-line); border-radius: 12px; padding: 10px 12px; }
.day-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--tt-blue); animation: dayDots 1s infinite; }
.day-typing span:nth-child(2) { animation-delay: .15s; }
.day-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dayDots { 30% { transform: translateY(-4px); opacity: .55; } }
@keyframes dayIn { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.day-notice { display: flex; gap: 10px; padding: 14px 14px 4px; animation: dayIn .3s ease; }
.day-notice p { margin: 0; font-size: 16px; line-height: 1.4; color: var(--lab-ink); font-weight: 600; }

/* Buttons */
.day-actions { position: sticky; bottom: 0; z-index: 20; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.96); border-top: 1px solid var(--tt-line); }
.day-actions:empty { display: none; }
.is-notice .day-actions { position: static; border-top: 0; background: none; }
.is-tool .day-actions { position: static; }
.day-btn { font-family: var(--tt-font-display); font-weight: 700; font-size: 16px; line-height: 1.25; min-height: 50px; padding: 11px 16px; border-radius: 13px; border: 2px solid transparent; cursor: pointer; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease; -webkit-tap-highlight-color: transparent; }
.day-btn.is-main { background: var(--tt-navy); color: #fff; box-shadow: 0 6px 16px rgba(28,71,165,.28); }
.day-btn.is-main:hover { background: #163a8c; box-shadow: 0 8px 20px rgba(28,71,165,.36); }
.day-btn.is-quiet { background: #fff; color: var(--tt-navy); border-color: var(--tt-line-strong); }
.day-btn.is-quiet:hover { border-color: var(--tt-navy); background: var(--tt-surface-2); }
.day-btn.is-small { min-height: 44px; font-size: 14.5px; padding: 8px 13px; flex: 1; }
.day-btn.is-small:not(.is-quiet) { background: var(--tt-ice); color: #05263a; }
.day-btn.is-small:not(.is-quiet):hover { background: #9ceaf3; }
.day-btn:active { transform: scale(.98); }
.day-btn:focus-visible, .day-tab:focus-visible, .day-line-btn:focus-visible, .day-choice:focus-visible, .day-link:focus-visible, .day-restart:focus-visible { outline: 3px solid var(--tt-cyan); outline-offset: 2px; }

/* The AI tool */
.day-scene.is-tool { background: var(--day-panel); color: var(--day-ai-ink); }
.is-tool .day-actions { background: rgba(16,31,66,.97); border-top-color: rgba(255,255,255,.14); }
.is-tool .day-btn.is-main { background: #fff; color: var(--tt-navy-deep); box-shadow: none; }
.is-tool .day-btn.is-main:hover { background: var(--tt-ice); }
.day-file { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 14px 14px 8px; padding: 9px 12px; font-size: 13.5px; border-radius: 10px; background: var(--day-panel-2); color: var(--day-ai-soft); }
.day-file strong { color: #fff; font-weight: 600; word-break: break-word; }
.day-prompt { align-self: flex-end; margin: 2px 14px 10px; padding: 8px 13px; font-size: 15px; background: var(--tt-navy); color: #fff; border-radius: 14px 14px 4px 14px; }
.day-status { margin: 0 14px 8px; font-family: var(--lab-mono); font-size: 13px; color: var(--tt-ice); }
.day-status:not(.is-done)::after { content: '...'; animation: dayBlink 1s steps(2) infinite; }
@keyframes dayBlink { 50% { opacity: .2; } }
.day-output { list-style: none; margin: 0; padding: 0 14px 12px; flex: 1; }
.day-output li { font-size: 15.5px; line-height: 1.5; margin-bottom: 9px; animation: dayIn .25s ease; }

/* The desk */
.day-scene.is-desk { background: var(--tt-surface-2); }
.day-ping { margin: 0; padding: 0 14px; max-height: 0; overflow: hidden; font-size: 14px; font-weight: 600; color: var(--day-amber); background: var(--day-amber-bg); transition: max-height .25s ease, padding .25s ease; }
.day-ping.is-in { max-height: 60px; padding: 8px 14px; }
.day-tabs { position: sticky; top: 52px; z-index: 25; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 12px 8px; background: var(--tt-surface-2); box-shadow: 0 1px 0 var(--tt-line); }
.day-checking { grid-column: 1 / -1; margin: 2px 0 0; padding: 7px 10px; font-size: 13.5px; line-height: 1.35; font-weight: 600; color: var(--tt-navy-deep); background: #e4f8fb; border-left: 3px solid #00a7b8; border-radius: 6px; }
.day-checking[hidden] { display: none; }
.day-tab { font-family: var(--tt-font-display); font-weight: 700; font-size: 14.5px; min-height: 44px; border-radius: 11px; border: 2px solid var(--tt-line-strong); background: #fff; color: var(--tt-navy); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.day-tab:hover { border-color: var(--tt-navy); }
.day-tab:active { transform: scale(.98); }
.day-tab[aria-pressed="true"] { background: var(--tt-navy); border-color: var(--tt-navy); color: #fff; }
.day-panel { padding: 0 12px 10px; flex: 1; animation: dayIn .18s ease; }
.day-panel[hidden] { display: none; }
.day-hint { margin: 2px 2px 10px; font-size: 14.5px; line-height: 1.4; color: var(--tt-ink-soft); }
.day-ask { margin-bottom: 10px; }
.day-ask .day-btn { width: 100%; }
.day-ask .day-btn.is-small { width: auto; }
.day-ai-card { background: var(--day-panel); color: var(--day-ai-ink); border-radius: 14px; padding: 11px 13px; animation: dayIn .25s ease; }
.day-ai-card .day-msg-name { color: var(--tt-ice); }
.day-ai-card p { margin: 0 0 10px; font-size: 15px; line-height: 1.45; }
.day-ai-row { display: flex; gap: 8px; }
.day-lines { list-style: none; margin: 0; padding: 0; }
.day-line { margin-bottom: 7px; background: #fff; border: 1px solid var(--tt-line-strong); border-radius: 12px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.day-line:hover { border-color: var(--tt-blue); box-shadow: 0 3px 10px rgba(28,71,165,.1); }
.day-line.is-changed { border-color: #00a7b8; box-shadow: inset 4px 0 0 #00a7b8; }
.day-line-btn { width: 100%; display: grid; grid-template-columns: 22px 1fr; gap: 2px 7px; align-items: start; text-align: left; background: none; border: 0; padding: 11px 12px; min-height: 50px; font: inherit; font-size: 15.5px; line-height: 1.42; color: var(--lab-ink); cursor: pointer; }
.day-line-btn:active { background: var(--tt-surface-2); }
.day-line-no { font-family: var(--tt-font-display); font-weight: 700; color: var(--tt-blue); color: #3768c0; }
.day-line-text.is-gone { text-decoration: line-through; color: var(--tt-ink-muted); }
.day-line-tag { grid-column: 2; font-size: 12px; font-weight: 700; color: #007b88; }
.day-choices { padding: 2px 12px 12px; border-top: 1px solid var(--tt-line); background: var(--tt-surface-2); animation: dayIn .18s ease; }
.day-choices-head { font-size: 13px; font-weight: 700; color: var(--tt-navy-deep); margin: 9px 0 2px; }
.day-link { display: block; background: none; border: 0; padding: 7px 0 3px; font: inherit; font-size: 14px; font-weight: 600; color: var(--tt-navy); text-decoration: underline; cursor: pointer; min-height: 32px; }
.day-link:hover { color: #0b2d78; }
.day-choice { display: block; width: 100%; text-align: left; font: inherit; font-size: 14.5px; line-height: 1.4; color: var(--lab-ink); background: #fff; border: 1.5px solid var(--tt-line-strong); border-radius: 10px; padding: 10px 12px; min-height: 44px; margin-bottom: 6px; cursor: pointer; transition: border-color .15s, background .15s; }
.day-choice:hover { border-color: var(--tt-navy); }
.day-choice:active { background: #eef3fb; }
.day-choice[aria-pressed="true"] { border-color: var(--tt-navy); background: #eef3fb; font-weight: 600; }
.day-verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.day-choice.is-pick { font-family: var(--tt-font-display); font-weight: 700; text-align: center; color: var(--tt-navy); margin: 0; min-height: 48px; }
.day-choice.is-back { font-weight: 600; color: var(--tt-ink-soft); background: none; border-style: dashed; margin-bottom: 0; }
.day-found { margin: 0 0 6px; padding: 8px 10px; font-size: 14px; line-height: 1.4; background: #fff; border: 1px solid var(--tt-line-strong); border-radius: 8px; color: var(--lab-ink); }
.day-line.is-checked { border-color: #58b89f; }
.day-line-tag.is-ok { color: var(--lab-right); }
.day-hint strong { color: var(--tt-navy-deep); }
.day-bar.is-free .day-due { display: none; }

/* Maya's note */
.day-scene.is-note { background: var(--tt-surface-2); }
.day-paper { margin: 14px 12px 12px; background: #fff; border: 1px solid var(--tt-line-strong); border-radius: 8px; padding: 16px; box-shadow: 0 2px 10px rgba(12,35,80,.08); animation: dayIn .3s ease; }
.day-paper-from { margin: 0 0 7px; font-size: 13px; font-weight: 700; color: var(--tt-ink-muted); }
.day-paper-text { margin: 0 0 14px; font-size: 16.5px; line-height: 1.5; color: var(--lab-ink); }
.day-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0; }
.day-stats > div { background: var(--tt-surface-2); border-radius: 10px; padding: 9px 11px; }
.day-stats dt { font-size: 12px; line-height: 1.3; color: var(--tt-ink-muted); font-weight: 600; }
.day-stats dd { margin: 3px 0 0; font-family: var(--tt-font-display); font-size: 24px; font-weight: 700; color: var(--tt-navy-deep); }
.day-stats .is-bad dd { color: var(--lab-wrong); }
.day-stats .is-good dd { color: var(--lab-right); }

/* Below the app */
.day-foot { position: relative; z-index: 1; max-width: 560px; margin: 11px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.day-foot .lab-home { color: #fff; }
.day-restart { background: none; border: 0; padding: 8px 4px; min-height: 36px; font: inherit; font-size: 14px; font-weight: 600; color: #d7e4fb; text-decoration: underline; cursor: pointer; }
.day-restart:hover { color: #fff; }

@media (min-width: 700px) {
  html.day-on .day-stage { padding: 20px 20px 26px; }
  .day-thread { padding: 18px 18px 10px; }
  .day-panel { padding: 0 18px 12px; }
  .day-tabs { padding: 12px 18px 10px; }
  .day-actions { padding-left: 18px; padding-right: 18px; }
  .day-file, .day-prompt, .day-status { margin-left: 18px; margin-right: 18px; }
  .day-output { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .day-msg, .day-note-line, .day-notice, .day-output li, .day-panel, .day-choices, .day-paper, .day-ai-card, .day-clock.is-tick { animation: none; }
  .day-typing span, .day-status:not(.is-done)::after { animation: none; }
  .day-btn, .day-tab, .day-line, .day-choice, .day-ping { transition: none; }
}
@media print {
  .day-stage, .lab-band-end { display: none !important; }
  .day-before, .day-after { display: block !important; }
}
