/* Today's practice (js/views/today.js, 22 Nov 2026): the mockup in docs/mockups/practice-today.html. Night look first;
   the light look gets the same layout on its own colours. */
.td { max-width: 560px; margin: 0 auto; padding: 8px var(--gutter, 16px) 32px; }
.td-loading { color: var(--ink-soft); text-align: center; margin-top: 40px; }
.td-back { display: flex; width: max-content; align-items: center; gap: 4px; min-height: 40px; color: var(--tk-teal, #17b6c2); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.td-back .ic { width: 16px; height: 16px; }
.td-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 10px; border-radius: 999px;
  font: 700 12px/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: #0b7f8a; background: rgba(23, 182, 194, 0.12); border: 1px solid rgba(23, 182, 194, 0.35); }
.td-title { font: 800 1.85rem/1.1 var(--font-head); letter-spacing: -0.02em; margin: 12px 0 6px; outline: none; }
.td-sub { margin: 0 0 16px; color: var(--ink-soft); line-height: 1.45; }
.td-sub b { color: var(--ink); }
.td-heard { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 14px; border-radius: 20px; background: var(--white); box-shadow: var(--sh-card); }
.td-heard-bud { width: 52px; height: 52px; flex: none; }
.td-heard-bud .ln-pose { display: block; width: 100%; height: 100%; object-fit: contain; }
.td-heard small { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-soft); }
.td-heard p { margin: 0; line-height: 1.4; }
.td-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.td-chips span { padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(244, 89, 75, 0.12); color: #b3261e; }
.td-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.td-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px 14px; border-radius: 18px; background: var(--white); box-shadow: var(--sh-card); }
.td-steps li.is-next { box-shadow: 0 0 0 2px #f5c400, var(--sh-card); }
.td-steps li.is-done { opacity: 0.7; }
.td-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(17, 22, 64, 0.08); font: 700 14px var(--font-head); }
.td-n .ic { width: 16px; height: 16px; }
li.is-done .td-n { background: #3ee08f; color: #10163a; }
.td-t b { display: block; font: 700 1rem/1.25 var(--font-head); }
.td-t > span { display: block; margin-top: 2px; font-size: 0.86rem; line-height: 1.4; color: var(--ink-soft); }
.td-t em { font-style: normal; font-weight: 700; color: #b78600; }
.td-min { padding-top: 2px; font-size: 0.84rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.td .td-go { width: 100%; }
.td-note { margin: 12px 0 0; text-align: center; font-size: 0.84rem; color: var(--ink-soft); }
/* The end */
.td-end { text-align: center; }
.td-endbud { display: block; width: 120px; height: 120px; margin: 16px auto 0; }
.td-endbud .ln-pose { display: block; width: 100%; height: 100%; object-fit: contain; }
.td-result { margin: 8px 0 12px; padding: 16px; border-radius: 22px; background: var(--white); box-shadow: var(--sh-card); text-align: left; }
.td-result h2 { margin: 0 0 8px; font: 800 1.15rem var(--font-head); }
.td-bn { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(17, 22, 64, 0.08); }
.td-bn:first-of-type { border-top: 0; }
.td-bn .a, .td-bn .arr { color: var(--ink-soft); }
.td-bn .b { font-weight: 700; color: #0f9d63; }
.td-tomorrow { margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; text-align: left; line-height: 1.45; background: rgba(23, 182, 194, 0.08); border: 1px solid rgba(23, 182, 194, 0.3); }
.td-end .btn-primary { width: 100%; }
.td-home { display: inline-block; margin-top: 14px; }

/* Night look */
html.look-night .td-eyebrow { color: #22eef2; background: rgba(34, 238, 242, 0.12); border-color: rgba(34, 238, 242, 0.35); }
html.look-night .td-title { color: #fff; }
html.look-night .td-sub, html.look-night .td-note, html.look-night .td-min, html.look-night .td-t > span, html.look-night .td-heard small { color: #bacdfb; }
html.look-night .td-sub b { color: #fff; }
html.look-night :is(.td-heard, .td-steps li, .td-result) { background: #15244f; border: 1px solid rgba(150, 175, 255, 0.22); box-shadow: none; color: #fff; }
html.look-night .td-steps li.is-next { border-color: #ffd94a; box-shadow: 0 0 0 1px #ffd94a; }
html.look-night .td-n { background: rgba(255, 255, 255, 0.12); color: #fff; }
html.look-night li.is-done .td-n { background: #3ee08f; color: #10163a; }
html.look-night .td-t em { color: #ffd94a; }
html.look-night .td-chips span { background: rgba(255, 138, 138, 0.14); color: #ffb3b3; }
html.look-night .td-bn { border-color: rgba(150, 175, 255, 0.12); }
html.look-night .td-bn .a, html.look-night .td-bn .arr { color: #bacdfb; }
html.look-night .td-bn .b { color: #3ee08f; }
html.look-night .td-tomorrow { color: #cfeff2; background: rgba(34, 238, 242, 0.08); border-color: rgba(34, 238, 242, 0.3); }
html.look-night .td-back, html.look-night .td-home { color: #22eef2; }
/* The Start button stays in view above the tab bar on phones (the step list runs below the fold). */
@media (max-width: 759px) {
  .td .td-go { position: sticky; bottom: calc(var(--tab-h, 64px) + 24px + var(--safe-b, 0px)); z-index: 2; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35), 0 0 22px rgba(255, 217, 74, 0.3); }
}

/* "Same time tomorrow?" (js/remind-offer.js): after Today's practice and as Bud's last chat message on a take. */
.rm-ask { margin: 0 0 14px; color: inherit; padding: 12px 14px; border-radius: 16px; text-align: left; background: rgba(23, 182, 194, 0.08); border: 1px solid rgba(23, 182, 194, 0.3); transition: opacity 200ms ease, transform 200ms ease; }
.rm-ask.is-gone { opacity: 0; transform: translateY(-4px); }
.rm-ask-h { display: flex; gap: 10px; align-items: flex-start; }
.rm-ask-h > .ic { flex: none; width: 22px; height: 22px; margin-top: 1px; color: #17b6c2; }
.rm-ask-h b { display: block; font-size: 1.02rem; line-height: 1.3; }
.rm-ask-h p { margin: 2px 0 0; line-height: 1.4; opacity: 0.9; }
.rm-ask-acts { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.rm-ask-go { width: 100%; justify-content: center; min-height: 44px; padding: 8px 14px; font-size: 0.95rem; white-space: nowrap; }
.rm-ask-go .ic { width: 18px; height: 18px; }
.rm-ask-pick { display: flex; gap: 8px; }
.rm-ask-pick[hidden], .rm-ask-go[hidden], .rm-ask-links [hidden] { display: none; }
.rm-ask-pick .input-time { flex: 1; min-width: 0; min-height: 44px; padding: 6px 10px; font-size: 1rem; }
.rm-ask-pick .btn { flex: none; min-height: 44px; padding: 8px 16px; font-size: 0.95rem; }
.rm-ask-links { display: flex; justify-content: center; gap: 22px; }
.rm-ask-links .btn-link { font-size: 0.9rem; padding: 6px 2px; }
.rm-ask-done { margin: 10px 0 0; line-height: 1.4; font-size: 0.92rem; font-weight: 600; }
.rm-ask-done[hidden] { display: none; }
.tc-msg .rm-ask { margin: 0; padding: 0; background: none; border: 0; }
@media (prefers-reduced-motion: reduce) { .rm-ask { transition: none; } }
html.look-night .rm-ask { color: #e8eeff; background: rgba(34, 238, 242, 0.08); border-color: rgba(34, 238, 242, 0.3); }
html.look-night .tc-msg .rm-ask { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
html.look-night .rm-ask-h > .ic { color: #22eef2; }
html.look-night .rm-ask-h p { color: #cfdcff; opacity: 1; }
html.look-night .rm-ask-links .btn-link { color: #9fb4ea; }
/* !important: Night's song screens paint every .btn-secondary inside .ot white (look-night-song.css). */
html.look-night .rm-ask .rm-ask-go, html.look-night .rm-ask .rm-ask-pick .btn { background: rgba(34, 238, 242, 0.1) !important; color: #e8fdff !important; border: 1.5px solid rgba(34, 238, 242, 0.55) !important; box-shadow: none !important; }
html.look-night .rm-ask .rm-ask-go .ic, html.look-night .rm-ask .rm-ask-pick .btn .ic { color: #22eef2 !important; }
/* With the card there, Bud's picture on Today's end gets smaller, so "Sing the whole song" stays in view on phones. */
@media (max-width: 759px) { .td-end.has-remind .td-endbud { width: 84px; height: 84px; margin-top: 4px; } .td-end.has-remind .td-sub { margin-bottom: 12px; } }
html.look-night .rm-ask-done { color: #3ee08f; }
