/* Tally (Page Lemon app template): Thorley Coaching's client portal. The member pages use the shared kit (kit.css, never
   edited here). Character: the coach's legal pad and appointment card on cool sage paper, with a tally of sessions used.
   Edit the tokens below to recolour. Local pieces are prefixed ta-. */
:root {
  --k-brand: #176a68; --k-brand-ink: #ffffff; --k-brand-soft: #d9ecea; --k-hero: #123635; --k-hero-ink: #f3efe6; --k-gold: #e4604a;
  --k-bg: #e9eee9; --k-surface: #ffffff; --k-surface-2: #f2f5f1; --k-line: rgba(18, 54, 53, .13); --k-line-strong: rgba(18, 54, 53, .26);
  --k-text: #14302f; --k-muted: #4f5f5c;
  --ta-coral: #d4442d; --ta-pad: #fff6cf; --ta-rule: rgba(23, 106, 104, .24); --ta-margin: rgba(212, 68, 45, .55); --ta-ink: #1b3a39;
  --ta-display: Optima, Candara, "Avenir Next", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --k-brand: #5cc2b8; --k-brand-ink: #062320; --k-brand-soft: rgba(92, 194, 184, .16); --k-hero: #1a2f2e; --k-bg: #0c1312; --k-surface: #151e1d; --k-surface-2: #1d2827; --k-text: #eef2ef; --k-muted: #a3b2ae;
    --k-line: rgba(255, 255, 255, .1); --k-line-strong: rgba(255, 255, 255, .2); --ta-coral: #ff8d77; --ta-pad: #262a1c; --ta-rule: rgba(255, 255, 255, .09); --ta-margin: rgba(255, 141, 119, .5); --ta-ink: #e9efe7; }
}
.ta-welcome-cta { margin-top: var(--k-5); }
.k-welcome .k-perks { margin-top: var(--k-5); }
.k-app :is(h1, h2, h3, .ta-when b, .ta-left-n) { font-family: var(--ta-display); letter-spacing: -.01em; }
.k-app h1 { font-weight: 700; }
.k-kicker { color: var(--k-brand); }

/* Appointment card: the next session, with its time as the headline */
.ta-appt { position: relative; display: grid; gap: var(--k-4); padding: var(--k-5); border-radius: var(--k-r-xl); background: var(--k-surface); box-shadow: inset 6px 0 0 var(--ta-coral); padding-left: calc(var(--k-5) + 8px); }
.ta-appt-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ta-eyebrow { font-size: var(--k-t-cap); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--k-muted); }
.ta-appt-main { display: grid; gap: var(--k-3); }
.ta-when { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.ta-when b { font-size: 3.25rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--k-brand); }
.ta-when span { font-size: 1.25rem; font-weight: 600; color: var(--k-text); }
.ta-appt h2 { font-size: var(--k-t-3); line-height: 1.2; font-weight: 700; }
.ta-appt .k-body { color: var(--k-muted); margin-top: 4px; }
.ta-appt .k-steps { margin-top: var(--k-1); }
.ta-reply { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; padding: 10px 12px; border-radius: var(--k-r-m); background: var(--k-brand-soft); color: var(--k-text); font-size: var(--k-t-foot); line-height: 1.45; white-space: normal; }
.ta-reply .k-i { color: var(--k-brand); margin-top: 1px; flex: none; }
.ta-reply:has([data-pl-field="reply"]:empty) { display: none; }
.ta-reply-card { margin-top: 0; font-size: var(--k-t-sub); padding: 12px 14px; }
.ta-live-btns { margin-top: 0; }
.k-btn[data-pl-field="link"]:not([href]) { display: none; }

/* Legal pad: ruled lines, a coral margin and a binding strip */
.ta-sheet { position: relative; display: flex; flex-direction: column; padding: 0 var(--k-5) var(--k-5) 58px; border-radius: var(--k-r-l); color: var(--ta-ink); overflow: hidden;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, var(--ta-rule) 27px, var(--ta-rule) 28px) 0 56px / 100% 100% no-repeat, var(--ta-pad); box-shadow: 0 1px 2px rgba(18, 54, 53, .12); }
.ta-sheet::before { content: ""; position: absolute; left: 44px; top: 0; bottom: 0; width: 2px; background: var(--ta-margin); }
.ta-sheet::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: var(--ta-coral); opacity: .9; }
.ta-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding-top: 14px; }
.ta-sheet-head h2 { font-size: 1.25rem; font-weight: 700; }
.ta-sheet-head a { color: var(--k-brand); font-weight: 600; font-size: var(--k-t-sub); display: inline-flex; align-items: center; min-height: 44px; }
.ta-sheet p, .ta-sheet .ta-line { line-height: 28px; }
.ta-sheet .k-kicker { color: var(--k-muted); margin: 0; text-transform: none; letter-spacing: 0; font-size: var(--k-t-sub); font-weight: 600; }
.ta-sheet .ta-step { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ta-ink) !important; font-size: 1.125rem !important; line-height: 28px; }
.ta-sheet .ta-step .k-i, .ta-step .k-i { color: var(--k-ok); flex: none; }
.ta-box { flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 5px; border: 2px solid var(--ta-coral); background: var(--k-surface); }
.ta-action > * + * { margin-top: 0; }
.ta-link { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: var(--k-t-sub) !important; color: var(--k-muted); }
.ta-link span { font-weight: 700; color: var(--ta-ink); flex: none; }
.ta-link a { color: var(--k-brand); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-link:has(a:not([href])) { display: none; }
.ta-sheet .k-empty { background: transparent; box-shadow: none; padding: 0; text-align: left; font-size: var(--k-t-sub); line-height: 28px; }
.ta-sheet .k-row-plain { background: transparent; padding: 0; min-height: 0; }
.ta-note { display: flex; gap: 10px; align-items: flex-start; }
.ta-note .k-i { flex: none; margin-top: 4px; color: var(--k-brand); }
.ta-note b { display: block; line-height: 28px; }
.ta-note span { color: var(--k-muted); font-size: var(--k-t-sub); line-height: 28px; }
.ta-note + .ta-note { margin-top: 0; }

/* Tally marks: groups of five strokes, the fifth struck across the other four; used sessions in ink, sessions left as pencil outlines (app.js) */
.ta-tally { list-style: none; display: flex; align-items: flex-end; gap: 22px; margin: 0; padding: 4px 4px 0; min-height: 48px; }
.ta-tally li { position: relative; display: flex; gap: 9px; align-items: flex-end; }
.ta-tally i { display: block; width: 5px; height: 42px; border-radius: 3px; background: var(--ta-ink); }
.ta-tally i.left { background: transparent; box-shadow: inset 0 0 0 1.5px var(--k-line-strong); }
.ta-tally i.gate { position: absolute; left: -7px; top: 17px; width: 66px; height: 5px; border-radius: 3px; transform: rotate(-24deg); background: var(--ta-coral); }
.ta-tally i.gate.left { background: var(--k-line-strong); opacity: .7; box-shadow: none; }
.ta-band { display: grid; gap: var(--k-4); align-items: center; padding: var(--k-5); border-radius: var(--k-r-l); background: var(--k-surface); }
.ta-band .ta-tally { padding-bottom: 4px; }
.ta-left-n { display: flex; align-items: baseline; gap: 8px; }
.ta-left-n b { font-size: 2.5rem; line-height: 1; font-weight: 700; color: var(--k-brand); font-variant-numeric: tabular-nums; }
.ta-left-n span { color: var(--k-muted); font-size: var(--k-t-sub); font-family: var(--k-font); font-weight: 500; }
.ta-band-note { color: var(--k-muted); font-size: var(--k-t-sub); line-height: 1.5; }
.ta-band-note b { color: var(--k-text); }
@media (min-width: 900px) { .ta-band { grid-template-columns: auto auto minmax(0, 1fr) auto; gap: var(--k-6); } }
.ta-board { align-items: start; }
.ta-board > * { min-width: 0; }
.ta-col { display: grid; gap: var(--k-4); align-content: start; }

/* Strips: upcoming session on Book, Sessions, Check-in */
.ta-upnext { margin-bottom: var(--k-4); }
.ta-upnext-row { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--k-r-m); background: var(--k-brand-soft); font-size: var(--k-t-sub); color: var(--k-text) !important; }
.ta-upnext-row .k-i { color: var(--k-brand); }
.ta-upnext-link { margin-left: auto; color: var(--k-brand); font-weight: 700; }
.ta-upfocus:has([data-pl-field="focus"]:empty) { display: none; }
.ta-count { color: var(--k-muted); font-size: var(--k-t-sub); }
.ta-count b { color: var(--k-text); font-size: 1.5rem; font-family: var(--ta-display); }

/* Sessions: a coaching log, newest first, dated on the left */
.ta-timeline { display: grid; gap: var(--k-4); }
.ta-session { position: relative; display: grid; gap: var(--k-3); padding: var(--k-5); border-radius: var(--k-r-l); background: var(--k-surface); min-width: 0; overflow-wrap: anywhere; }
.ta-session h2 { font-size: 1.375rem; line-height: 1.2; }
.ta-date { display: inline-block; width: fit-content; padding: 3px 10px; border-radius: 6px; background: var(--ta-pad); color: var(--ta-ink); font-size: var(--k-t-foot); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; box-shadow: inset 0 -2px 0 var(--ta-coral); }
.ta-block .k-label { margin: 0; }
.ta-block p:not(.k-label) { color: var(--k-text); font-size: var(--k-t-body); line-height: 1.55; margin-top: 4px; }
.ta-next { padding: var(--k-3) var(--k-4); border-radius: var(--k-r-m); background: var(--ta-pad); }
.ta-next .ta-step { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 1.0625rem !important; color: var(--ta-ink) !important; line-height: 1.4; }
.ta-next .k-label { color: var(--ta-coral); }
@media (min-width: 1024px) { .ta-session { grid-template-columns: 120px minmax(0, 1fr); column-gap: var(--k-6); } .ta-session > .ta-session-top, .ta-session > .ta-link { grid-column: 1; } .ta-session > h2, .ta-session > .ta-block, .ta-session > .ta-link { grid-column: 2; } .ta-session > .ta-session-top { grid-row: 1 / span 3; } }
.ta-sticky { position: relative; }
@media (min-width: 1024px) { .ta-sticky { position: sticky; top: 96px; } }

/* Check-in: your note, then the coach's reply as a thread */
.ta-ci { display: grid; gap: var(--k-3); padding: var(--k-5); border-radius: var(--k-r-l); background: var(--k-surface); }
.ta-ci p { font-size: var(--k-t-sub); }
.ta-for { font-size: var(--k-t-foot) !important; font-weight: 600; color: var(--k-brand); }
.ta-qa .k-label { margin: 0; }
.ta-qa p:not(.k-label) { margin-top: 2px; color: var(--k-text); font-size: var(--k-t-body); }
.ta-qa:has([data-pl-field]:empty) { display: none; }
.ta-memo { display: flex; gap: 10px; align-items: flex-start; padding: var(--k-4); color: var(--ta-ink); background: var(--ta-pad) !important; font-size: var(--k-t-sub); border-radius: var(--k-r-m); }
.ta-memo > * + * { margin-top: 0; }
.ta-memo:has([data-pl-field="memo"]:empty) { display: none; }
.k-app textarea { min-height: 96px; resize: vertical; }

/* Requests table (Book) */
.ta-table { --k-cols: minmax(0, 1.3fr) minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, 1.6fr); }
.ta-table .ta-reply { grid-column: 1 / -1; margin: 0; }
.ta-table .k-tr { align-items: start; }
.ta-tr-reply { grid-column: 1 / -1; flex-basis: 100%; order: 3; }
.ta-change-row { display: none; flex-basis: 100%; }
[data-k-state="new"] .ta-change-row, [data-k-state="ok"] .ta-change-row { display: block; }
.ta-change-row .k-again { font-size: var(--k-t-sub); }

.ta-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.ta-slots .k-chip { border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: var(--k-t-sub); color: inherit; }
.ta-slots .k-chip[aria-pressed="true"] { background: var(--k-brand); color: var(--k-brand-ink); box-shadow: none; }
.k-plan + .k-help, .k-aside > .k-plan, .ta-col > .k-plan { margin-top: 0; }
.ta-pad { padding: 0 var(--k-2); }
.k-foot { align-items: center; }
.k-foot a, .k-pubfoot a { display: inline-flex; align-items: center; min-height: 44px; }
.ta-session, .ta-action { min-width: 0; overflow-wrap: anywhere; }

/* Package page */
.ta-pack-big .ta-tally { gap: 34px; min-height: 80px; padding-top: 8px; }
.ta-pack-big .ta-tally li { gap: 14px; }
.ta-pack-big .ta-tally i { width: 8px; height: 72px; border-radius: 4px; }
.ta-pack-big .ta-tally i.gate { left: -10px; top: 30px; width: 112px; height: 8px; }
.ta-pack-big { display: grid; gap: var(--k-5); padding: var(--k-5); border-radius: var(--k-r-xl); background: var(--k-surface); box-shadow: inset 0 5px 0 var(--k-brand); }
.ta-pack-big h2 { font-size: var(--k-t-3); }
.ta-incl { display: grid; gap: var(--k-3); }

/* Public page */
.ta-hero { display: grid; gap: var(--k-6); padding-top: var(--k-4); }
.ta-hero h1 { font-size: var(--k-t-hero); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: var(--k-2) 0 var(--k-3); }
.ta-hero .k-kicker { display: flex; align-items: center; gap: 6px; }
.ta-hero .k-lead { max-width: 46ch; margin-bottom: var(--k-5); }
.ta-hero .k-help { margin-top: var(--k-3); }
.ta-hero-art { margin: 0; }
.ta-hero-art img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--k-r-xl); box-shadow: var(--k-shadow-2); }
.ta-steps ol { list-style: none; margin: 0; padding: 0; }
.ta-steps .k-card h3 { margin-top: var(--k-4); }
.ta-about .k-card { max-width: 680px; }
.ta-about .k-card > p { font-size: var(--k-t-body); }
@media (min-width: 900px) {
  .ta-hero { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 56px; padding-top: var(--k-6); }
  .ta-hero-art { max-width: 460px; justify-self: end; width: 100%; }
}
.tip { padding: var(--k-3) var(--k-4); border-radius: var(--k-r-m); background: var(--k-warn-soft); color: var(--k-text); font-size: var(--k-t-sub); }
.blank { background: var(--k-warn-soft); border-radius: 4px; padding: 0 3px; }
/* Layout fixes (local) */
.ta-col .ta-band { grid-template-columns: minmax(0, 1fr); }
.ta-band .k-strip { margin: 0; }
.k-board > .ta-sheet { align-self: start; }
.ta-change-row, .ta-table .ta-reply { grid-column: 1 / -1; }
.ta-upnext-row .ta-upnext-link { flex-basis: 100%; margin-left: 0; }
@media (min-width: 1024px) { .ta-upnext-row .ta-upnext-link { flex-basis: auto; margin-left: auto; } }
.ta-band .k-strip { background: var(--k-surface-2); min-width: 0; }
@media (min-width: 900px) { .ta-band .k-strip { min-width: 300px; } }
/* Review round 1 */
.ta-sheet .k-kicker, .ta-sheet .ta-action p { margin: 0; }
.ta-sheet .ta-link { line-height: 28px; }
.ta-sheet .ta-note p { margin: 0; }
.k-app .k-row-sub { white-space: normal; }
.ta-row { flex-wrap: wrap; align-items: flex-start; }
.ta-reply-row { flex-basis: 100%; margin: 0 0 0 54px; }
.ta-table .ta-change-row { grid-column: auto; display: none; margin-top: 6px; }
.ta-table .k-td-end { text-align: right; }
.ta-table [data-k-state="new"] .ta-change-row, .ta-table [data-k-state="ok"] .ta-change-row { display: block; }
@media (prefers-color-scheme: dark) { .ta-sheet::after { opacity: .5; } .ta-appt { box-shadow: inset 6px 0 0 var(--k-brand); } }
.ta-covered { color: var(--ta-ink); font-size: var(--k-t-sub); }
.ta-line-label { font-weight: 700; color: var(--ta-coral); text-transform: uppercase; letter-spacing: .06em; font-size: var(--k-t-cap); }
.ta-covered + .ta-step { margin-top: 0; }
.ta-board > .ta-col { align-self: start; }
@media (min-width: 900px) { .k-section > [data-pl-view="cards"] > .ta-band { grid-template-columns: auto auto minmax(0, 1fr) minmax(300px, auto); } }
/* Round 2 leftovers */
.ta-pad { padding: 0; }
@media (min-width: 900px) {
  .ta-about .k-card { max-width: none; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: var(--k-7, 48px); align-items: start; }
  .ta-about .k-card > h2, .ta-about .k-card > p { grid-column: 1; }
  .ta-about .k-card > .k-row { grid-column: 2; }
  .ta-about .k-card > h2 { grid-row: 1; } .ta-about .k-card > p { grid-row: 2; }
  .ta-about .k-card > .k-row:nth-of-type(1) { grid-row: 1; } .ta-about .k-card > .k-row:nth-of-type(2) { grid-row: 2; }
}
@media (min-width: 1024px) { .ta-checkin-form { margin-top: 46px; } }
/* Round 3 */
.ta-topic { display: block; font-weight: 700; color: var(--ta-ink); font-size: 1.0625rem; line-height: 28px; }
.ta-session, .ta-ci, .ta-band { box-shadow: var(--k-shadow-1); }
.ta-appt { box-shadow: inset 6px 0 0 var(--ta-coral), var(--k-shadow-1); }
.ta-pack-big { box-shadow: inset 0 5px 0 var(--k-brand), var(--k-shadow-1); }
.ta-col .ta-band { grid-template-columns: auto minmax(0, 1fr); align-items: end; }
.ta-col .ta-band > :is(.ta-band-note, .k-strip) { grid-column: 1 / -1; }
.k-span-7 > .k-strip { margin-top: var(--k-4); }
.ta-table .k-td-end { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: flex-end; }
.ta-table .ta-change-row { margin-top: 0; }
@media (max-width: 699px) { .ta-appt .k-steps { display: none; } .ta-covered [data-pl-field] { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } }
@media (prefers-color-scheme: dark) { .ta-sheet::after { opacity: 1; background: #b04a39; } }
@media (min-width: 1024px) { .ta-change-form { grid-row: span 2; } .ta-rule-pad { grid-column: 7 / span 6; } }

/* art direction 2026-10-25 */
:root {
  --k-font-display: "Spectral", Georgia, "Times New Roman", serif;
  --k-font: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ta-display: var(--k-font-display);
  --k-brand: #0e4d4f; --k-brand-ink: #ffffff; --k-brand-soft: #dcebea;
  --k-hero: #0e4d4f; --k-hero-ink: #ffffff; --k-gold: #f26b5b;
  --k-bg: #0e4d4f; --k-surface: #ffffff; --k-surface-2: #f2f7f6;
  --k-line: rgba(20, 33, 61, .12); --k-line-strong: rgba(20, 33, 61, .26);
  --k-text: #14213d; --k-muted: #4a5568; --k-faint: #5e6a78;
  --k-ok: #176b46; --k-ok-soft: #dff1e8; --k-warn-soft: #fff3b0;
  --ta-pad: #fff3b0; --ta-rule: #e6d98a; --ta-margin: #f26b5b; --ta-ink: #14213d; --ta-coral: #c33b27; --ta-link: #0e4d4f;
  --ta-desk-ink: #ffffff; --ta-desk-muted: #cfe5e3; --ta-desk-btn: #fff3b0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --k-brand-soft: #17393a;
    --k-hero: #061f20; --k-hero-ink: #e8f1f0; --k-gold: #f26b5b;
    --k-bg: #082b2c; --k-surface: #103839; --k-surface-2: #0c2d2e;
    --k-line: rgba(232, 241, 240, .12); --k-line-strong: rgba(232, 241, 240, .24);
    --k-text: #e8f1f0; --k-muted: #bccac7; --k-faint: #a3b2ae;
    --k-brand: #5cc2b8; --k-brand-ink: #062320;
    --k-ok: #7fd1a6; --k-ok-soft: #173a2a; --k-warn-soft: #3a3418;
    --ta-pad: #e8dc9a; --ta-rule: #cbbf7a; --ta-margin: #f26b5b; --ta-ink: #14213d; --ta-coral: #a8321f; --ta-link: #8fe0d6;
    --ta-desk-ink: #e8f1f0; --ta-desk-muted: #a3b2ae; --ta-desk-btn: #e8dc9a;
  }
}
.k-app :is(h1, h2, h3, .ta-left-n b, .ta-count b, .ta-tear-num, .ta-when b) { font-family: var(--k-font-display); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; }
.k-app :is(.k-label, .ta-eyebrow, .ta-date, .ta-line-label, .k-kicker) { font-family: var(--k-font); }
.k-app :is(.k-label, .ta-eyebrow) { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--k-muted); }
.k-app :focus-visible { outline: 3px solid var(--k-brand); outline-offset: 2px; }
.k-app .k-main :focus-visible { outline: 3px solid var(--ta-ink); outline-offset: 2px; box-shadow: 0 0 0 6px #FFF3B0; }
.k-app .k-top :focus-visible { outline-color: var(--ta-desk-btn); }
.k-app .k-kicker, .k-app .ta-link a, .k-app .ta-sheet-head a, .k-app .ta-count b { color: var(--ta-link); }
.k-app .k-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Desk: the page field is teal; surfaces (pads, cards, the tear-off page) carry the text colour */
html, body.k-app { background: var(--k-bg); }
.k-app .k-top { background: var(--k-bg); color: var(--ta-desk-ink); border-bottom-color: rgba(255, 255, 255, .12); }
.k-app .k-top a:not(.k-btn):not(.k-signin) { color: var(--ta-desk-ink); }
.k-app .k-top .k-brand span { color: var(--ta-desk-ink); }
.k-app .k-top .k-signin, .k-app .k-top .k-btn, .k-app .k-top .k-avatar { background: var(--ta-desk-btn); color: var(--ta-ink); border-color: transparent; }
.k-app .k-main { color: var(--ta-desk-ink); }
.k-app .k-main :is(.k-pagehead h1, .k-back, .k-foot, .k-foot a, .ta-count) { color: var(--ta-desk-ink); }
.k-app .k-main :is(.k-pagehead .k-kicker, .k-kicker, .k-help) { color: var(--ta-desk-muted); }
.k-app .k-main .k-foot { border-top-color: rgba(255, 255, 255, .14); }
.k-app .k-main .k-pagehead-actions .k-btn, .k-app .k-main .k-welcome .k-btn { background: var(--ta-desk-btn); color: var(--ta-ink); }
.k-app .k-main .k-welcome :is(h1, .k-lead, .k-perks li) { color: var(--ta-desk-ink); }
.k-app .k-main .k-welcome .k-perks .k-tile { background: var(--k-brand-soft); color: var(--k-brand); }
.k-app .k-main .k-welcome .k-perks .k-tile-gold { background: var(--ta-desk-btn); color: var(--ta-ink); }
.k-app .k-main .k-welcome .k-help { color: var(--ta-desk-muted); }
.k-app .k-card, .k-app .k-sheet, .k-app .k-plan, .k-app .k-list, .k-app .k-table, .k-app .k-empty, .k-app .k-strip, .k-app .k-account, .k-app .k-row, .k-app .ta-sheet, .k-app .ta-session, .k-app .ta-ci, .k-app .ta-appt, .k-app .ta-pack-big, .k-app .ta-band, .k-app .ta-memo, .k-app .ta-upnext-row, .k-app .ta-week-card, .k-app .ta-incl, .k-app .ta-actions { color: var(--k-text); }
.k-app .k-card .k-help, .k-app .k-sheet .k-help, .k-app .k-empty .k-help, .k-app .k-plan .k-help { color: var(--k-muted); }
.k-app .k-main :is(.k-sheet, .k-card, .k-plan, .k-empty, .ta-week-card) .k-help { color: var(--k-muted); }
.k-app .k-main .k-section-head p { color: var(--ta-desk-muted); }

/* Pads: one legal pad (yellow, ruled every 32px, coral margin), text on the 32px line */
.k-app .ta-sheet { position: relative; display: flex; flex-direction: column; padding: 32px 24px 32px 64px; border-radius: 4px; color: var(--ta-ink); background: repeating-linear-gradient(to bottom, transparent 0 31px, var(--ta-rule) 31px 32px) 0 0 / 100% 100% no-repeat, var(--ta-pad); box-shadow: 0 1px 2px rgba(6, 31, 32, .2), 0 10px 30px rgba(6, 31, 32, .18); }
.k-app .ta-sheet::before { content: ""; position: absolute; left: 44px; top: 0; bottom: 0; width: 2px; background: var(--ta-margin); }
.k-app .ta-sheet::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; border-radius: 4px 4px 0 0; background: var(--ta-coral); }
.k-app .ta-sheet :is(p, li, .k-label, .ta-step, .ta-link, .ta-note b, .ta-note span, .ta-topic, .k-kicker, .k-row-sub) { line-height: 32px; }
.k-app .ta-sheet .k-kicker, .k-app .ta-sheet .k-label { color: var(--k-muted); margin: 0; }
.k-app .ta-sheet .k-help, .k-app .ta-sheet .k-kicker { color: var(--k-muted); }
.k-app .ta-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; padding-top: 16px; }
.k-app .ta-sheet-head h2 { font-size: 1.375rem; color: var(--ta-ink); }
.k-app .ta-sheet-head a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
.k-app .ta-note { display: flex; gap: 10px; align-items: flex-start; }
.k-app .ta-note .k-i { margin-top: 8px; color: var(--ta-ink); }
.k-app .ta-note b { display: block; font-weight: 700; color: var(--ta-ink); }
.k-app .ta-note span a { color: var(--ta-pad-link); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; }
.k-app .ta-note span { color: var(--ta-ink); opacity: .82; }
.k-app .ta-step { color: var(--ta-ink) !important; font-size: 1.0625rem !important; font-weight: 600; }
.k-app .ta-box { border-color: var(--ta-coral); background: var(--ta-pad); }
.k-app .ta-link { color: var(--ta-ink); }
.k-app .ta-link span { color: var(--ta-ink); }
.k-app .ta-line-label, .k-app .ta-date { color: var(--ta-coral); }
.k-app .ta-sheet .k-empty { background: transparent; box-shadow: none; padding: 0; color: var(--ta-ink); }
.k-app .ta-sheet .k-empty p { color: var(--ta-ink); }

/* Gate: a tally of sessions in pen. Four strokes and a coral strike make five; used marks ink, unused hollow */
.k-app .ta-gate { display: block; flex: none; height: 96px; width: auto; }
.k-app .ta-gate svg { display: block; height: 100%; width: auto; overflow: visible; }
.k-app .ta-gate-big svg { height: 120px; }
.k-app .ta-gate-pkg svg { height: 68px; }
.k-app .ta-gate-svg .ta-u { fill: none; stroke: var(--ta-ink); stroke-width: 5; stroke-linecap: round; }
.k-app .ta-gate-svg .ta-h { fill: none; stroke: var(--ta-ink); stroke-width: 1.4; stroke-opacity: .42; }
.k-app .ta-gate-svg .ta-x { fill: none; stroke: var(--ta-coral); stroke-width: 3; stroke-linecap: round; }
.k-app .ta-gate-svg .ta-xh { fill: none; stroke: var(--ta-ink); stroke-width: 1.4; stroke-opacity: .42; }
.k-app .ta-gate-svg .ta-new { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ta-draw .4s ease-out forwards; }
@keyframes ta-draw { to { stroke-dashoffset: 0; } }
.k-app .ta-gate-pen .ta-u, .k-app .ta-gate-pen .ta-x { stroke-width: 6; }

/* Tear-off calendar page: white, coral weekday band, a dashed perforation on top */
.k-app .ta-tear { position: relative; width: 260px; max-width: 100%; height: 300px; margin: 0; padding: 0 0 16px; border-radius: 4px; background: #ffffff; color: #14213d; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 1px 2px rgba(6, 31, 32, .18), 0 12px 28px rgba(6, 31, 32, .22); overflow: hidden; }
.k-app .ta-tear::before { content: ""; position: absolute; left: 14px; right: 14px; top: 12px; border-top: 2px dashed rgba(20, 33, 61, .38); }
.k-app .ta-tear-head { flex: none; box-sizing: border-box; margin: 24px 0 0; width: 100%; height: 40px; padding: 0; display: flex; align-items: center; justify-content: center; background: var(--ta-coral); color: #ffffff; font: 700 14px/1 var(--k-font); letter-spacing: .12em; text-transform: uppercase; }
.k-app .ta-tear-num { flex: none; box-sizing: border-box; margin: 12px 0 0; height: 96px; padding: 0; font-size: 96px; line-height: 96px; font-weight: 700; color: #14213d; }
.k-app .ta-tear-time { margin: 6px 0 0; padding: 0 12px; font: 600 18px/1.3 var(--k-font); color: #14213d; }
.k-app .ta-tear-time b { font-weight: 700; }
.k-app .ta-tear-hero { width: 260px; height: 300px; }

/* Public hero: a legal pad on the desk, with the gate and the next session beside it */
.k-public .ta-hero { display: grid; gap: 32px; padding: 24px 0 48px; color: var(--ta-desk-ink); }
.k-public .ta-pad-hero { position: relative; width: 100%; max-width: 560px; padding: 32px 24px 32px 64px; border-radius: 4px; color: var(--ta-ink); background: repeating-linear-gradient(to bottom, transparent 0 31px, var(--ta-rule) 31px 32px) 0 0 / 100% 100% no-repeat, var(--ta-pad); box-shadow: 0 1px 2px rgba(6, 31, 32, .2), 0 14px 36px rgba(6, 31, 32, .3); }
.k-public .ta-pad-hero::before { content: ""; position: absolute; left: 48px; top: 0; bottom: 0; width: 2px; background: var(--ta-margin); }
.k-public .ta-pad-hero .ta-clip { position: absolute; left: 150px; top: -20px; width: 28px; height: 64px; }
.k-public .ta-pad-hero .k-kicker { color: var(--k-muted); margin: 0; line-height: 32px; font-size: 12px; }
.k-public .ta-hero h1 { font-size: min(7vw, 6rem); line-height: 1; font-weight: 700; letter-spacing: 0; margin: 16px 0 32px; color: var(--ta-ink); }
.k-public .ta-pad-hero .k-lead { color: var(--ta-ink); line-height: 32px; font-size: 1.0625rem; max-width: 46ch; margin: 0; }
.k-public .ta-pad-hero .k-btn-row { margin-top: 32px; }
.k-public .ta-pad-hero .k-btn { min-height: 52px; width: 100%; justify-content: center; }
.k-public .ta-pad-hero .k-help { color: var(--k-muted); line-height: 32px; margin: 0; }
.k-public .ta-hero-art { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; margin: 0; min-height: 0; }
.k-public .ta-hero-pen { width: 280px; max-width: 100%; height: 280px; display: grid; place-items: center; border-radius: 3px; background: repeating-linear-gradient(to bottom, transparent 0 31px, var(--ta-rule) 31px 32px) 0 0 / 100% 100% no-repeat, var(--ta-pad); transform: rotate(-3deg); box-shadow: 0 10px 26px rgba(6, 31, 32, .28); }
.k-public .ta-hero-pen svg { height: 220px; width: auto; display: block; }
.k-public .ta-hero-art .ta-tear { transform: rotate(2.5deg); }
@media (min-width: 900px) {
  .k-public .ta-hero { grid-template-columns: minmax(0, 560px) minmax(0, 1fr); align-items: center; gap: 56px; padding: 40px 0 64px; }
  .k-public .ta-hero-art { flex-direction: row; justify-content: center; align-items: center; gap: 0; min-height: 420px; }
  .k-public .ta-hero-art .ta-tear { position: absolute; right: 8%; bottom: 0; }
  .k-public .ta-hero-pen { position: absolute; left: 12%; top: 10px; }
}
.k-public .ta-white { background: var(--k-surface); color: var(--k-text); border-radius: var(--k-r-xl); padding: 40px 32px; box-shadow: var(--k-shadow-1); margin-bottom: 24px; }
.k-public .ta-white h2 { color: var(--k-text); }
.k-public .ta-pad-pkg { display: grid; gap: 4px; }
.k-public .k-pubfoot { color: var(--ta-desk-muted); border-top-color: rgba(255, 255, 255, .14); }
.k-public .k-pubfoot a { color: var(--ta-desk-ink); }
.k-public .k-top-links a { color: var(--ta-desk-ink); }
.k-public .k-top-end .k-btn { background: var(--ta-desk-btn); color: var(--ta-ink); }
.k-public .k-main { color: var(--ta-desk-ink); }
.k-public .k-prose { background: var(--k-surface); color: var(--k-text); border-radius: var(--k-r-xl); padding: 40px 32px; box-shadow: var(--k-shadow-1); margin-bottom: 24px; }
.k-public .k-prose :is(h1, h2) { color: var(--k-text); }
.k-public .ta-white .k-plan { color: var(--k-text); }

/* Home: the whole main column is one pad; next session on the left, actions on the right */
.k-app .ta-pad-main { margin-top: 8px; }
.k-app .ta-pad-main .k-pagehead h1, .k-app .ta-pad-main .k-pagehead .k-kicker { color: var(--ta-ink); }
.k-app .ta-pad-main .k-pagehead { display: block; padding: 0 0 8px; }
.k-app .ta-home-head { display: grid; gap: 16px; align-items: center; }
.k-app .ta-h1 { margin: 0; font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: 1.1; color: var(--ta-ink); }
.k-app .ta-gate-link { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; min-height: 44px; color: var(--ta-ink); text-decoration: none; }
.k-app .ta-gate-link:hover .ta-left-n span { text-decoration: underline; }
.k-app .ta-gate-link .ta-left-n { display: flex; align-items: baseline; gap: 8px; }
.k-app .ta-gate-link .ta-left-n b { font-size: 2.5rem; line-height: 1; color: var(--ta-ink); }
.k-app .ta-gate-link .ta-band-note { color: var(--ta-ink); line-height: 1.5; font-size: var(--k-t-sub); }
.k-app .ta-gate-link .ta-band-note b { color: var(--ta-ink); }
.k-app .ta-gate-link .ta-gate { height: 96px; }
.k-app .ta-pad-main .k-empty { color: var(--k-text); }
.k-app .ta-home-grid { display: grid; gap: 32px; align-items: start; padding-top: 16px; }
.k-app .ta-next-col { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.k-app .ta-appt { display: grid; gap: 16px; justify-items: start; padding: 0; background: transparent; box-shadow: none; width: 100%; }
.k-app .ta-appt-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; width: 100%; }
.k-app .ta-appt-top .ta-eyebrow { color: var(--ta-ink); }
.k-app .ta-appt-main { display: grid; gap: 4px; width: 100%; }
.k-app .ta-appt-main h2 { font-size: 1.375rem; line-height: 1.25; color: var(--ta-ink); }
.k-app .ta-appt-main .k-body { color: var(--ta-ink); line-height: 32px; margin: 0; }
.k-app .ta-live-btns { margin: 0; }
.k-app .ta-appt .k-steps { width: 100%; max-width: 300px; margin: 0; }
.k-app .ta-appt .k-steps li { color: var(--ta-ink); }
.k-app .ta-reply-card { margin: 0; width: 100%; max-width: 360px; color: var(--ta-ink); background: #ffffff; box-shadow: inset 0 0 0 1px rgba(20, 33, 61, .14); }
.k-app .ta-reply-card .k-i { color: var(--ta-link); }
.k-app .ta-reply:has([data-pl-field="reply"]:empty) { display: none; }
.k-app .ta-actions { display: grid; gap: 0; align-content: start; min-width: 0; }
.k-app .ta-actions .ta-action + .ta-action { margin-top: 24px; }
.k-app .ta-action p { margin: 0; }
.k-app .ta-covered { color: var(--ta-ink); font-size: var(--k-t-body); }
.k-app .ta-actions .k-kicker { margin: 0; line-height: 32px; }
@media (min-width: 900px) {
  .k-app .ta-home-head { grid-template-columns: minmax(0, 1fr) auto; }
  .k-app .ta-home-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; }
  .k-app .ta-appt .k-steps { max-width: none; }
}

/* Book */
.k-app .ta-book { display: grid; gap: 24px; align-items: start; }
.k-app .ta-book-side { display: grid; gap: 24px; min-width: 0; }
@media (min-width: 900px) { .k-app .ta-book { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.k-app .ta-week-card { display: grid; gap: 12px; padding: 20px; border-radius: var(--k-r-l); background: var(--k-surface); box-shadow: var(--k-shadow-1); min-width: 0; }
.k-app .ta-week-card h2 { margin: 0; }
.k-app .ta-week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.k-app .ta-wk-col { display: grid; gap: 6px; align-content: start; min-width: 0; }
.k-app .ta-wk-h { margin: 0; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--k-muted); line-height: 1.3; }
.k-app .ta-wk-slot { min-height: 44px; min-width: 0; padding: 0 2px; border-radius: 8px; border: 1px solid var(--k-line-strong); background: var(--k-surface); color: var(--k-text); font: inherit; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.k-app .ta-wk-slot[aria-pressed="true"] { background: var(--k-brand); border-color: var(--k-brand); color: var(--k-brand-ink); }
.k-app .ta-slots .k-chip { min-height: 44px; }
.k-app .ta-requests .ta-table .k-td-end { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: flex-end; }
.k-app .ta-table .ta-change-row { display: none; flex-basis: auto; margin: 0; }
.k-app .ta-table [data-k-state="new"] .ta-change-row, .k-app .ta-table [data-k-state="ok"] .ta-change-row { display: inline-flex; }
.k-app .ta-table .ta-change-row .k-again { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--k-brand); }

/* Move or cancel */
.k-app .ta-change { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .k-app .ta-change { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.k-app .ta-change-form, .k-app .ta-rule-pad { grid-row: auto; grid-column: auto; }
.k-app .ta-picks { display: grid; gap: 8px; }
.k-app .ta-pick { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; border: 2px solid var(--k-line-strong); border-radius: var(--k-r-m); background: var(--k-surface); color: var(--k-text); font: inherit; text-align: left; cursor: pointer; }
.k-app .ta-pick[aria-pressed="true"] { border-color: var(--k-brand); background: var(--k-brand-soft); }
.k-app .ta-pick-main { display: grid; gap: 2px; min-width: 0; flex: 1; }
.k-app .ta-pick-main .k-row-title { font-weight: 700; color: var(--k-text); }
.k-app .ta-pick-main .k-row-sub { color: var(--k-muted); }
.k-app .ta-pick-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--k-line-strong); background: var(--k-surface); }
.k-app .ta-pick[aria-pressed="true"] .ta-pick-dot { border-color: var(--k-brand); background: var(--k-brand); box-shadow: inset 0 0 0 4px var(--k-surface); }
.k-app .ta-chg-title { font-weight: 700; }
.k-app .ta-changes { display: grid; gap: 12px; align-content: start; min-width: 0; }
.k-app .ta-changes .k-row { align-items: flex-start; flex-wrap: wrap; }
.k-app .ta-changes .ta-reply-row { margin: 0 0 0 54px; }

/* Sessions and check-in */
.k-app .ta-count { margin: 4px 0 0; font-size: var(--k-t-sub); }
.k-app .ta-count b { font-size: 1.375rem; }
.k-app .ta-upnext-row { background: var(--k-brand-soft); }
.k-app .ta-upnext-row b { font-weight: 700; }
.k-app .ta-session { background: var(--k-surface); }
.k-app .ta-date { background: var(--ta-pad); color: var(--ta-ink); box-shadow: inset 0 -2px 0 var(--ta-coral); }
.k-app .ta-next { background: var(--ta-pad); }
.k-app .ta-next .ta-step, .k-app .ta-next p { color: var(--ta-ink); }
.k-app .ta-next .k-label { color: var(--ta-coral); }
.k-app .ta-memo { background: var(--ta-pad); color: var(--ta-ink); }
.k-app .ta-memo .k-i { color: var(--ta-ink); }
.k-app .k-account { overflow-wrap: anywhere; }
.k-app .k-account * { overflow-wrap: anywhere; }

/* Package */
.k-app .ta-pack-big { box-shadow: inset 0 5px 0 var(--k-brand), var(--k-shadow-1); }
.k-app .ta-pack-big .ta-left-n b { color: var(--k-brand); }
.k-app .ta-pack .ta-gate { height: 96px; }
.k-app .ta-band { color: var(--k-text); }
.k-app .ta-band .ta-band-note { color: var(--k-muted); }
.k-app .ta-band .ta-band-note b { color: var(--k-text); }
.k-app .ta-band .ta-left-n span { color: var(--k-muted); }
.k-app .ta-band .ta-left-n b { color: var(--k-brand); }

/* Small screens: the next session stacks, buttons stay full width where they are the action */
@media (max-width: 599px) {
  .k-app .ta-sheet { padding-left: 52px; padding-right: 16px; }
  .k-app .ta-sheet::before { left: 36px; }
  .k-app .ta-tear { margin: 0 auto; }
  .k-app .ta-live-btns .k-btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 899px) { .k-app .ta-week-card .ta-week { gap: 6px; } }
@media (prefers-reduced-motion: reduce) {
  .k-app *, .k-app *::before, .k-app *::after { animation: none !important; transition: none !important; }
  .k-app .ta-gate-svg .ta-new { stroke-dasharray: none; stroke-dashoffset: 0; }
}
/* Pad text keeps its ink and muted colours on the desk-coloured main column */
.k-app .k-main .ta-pad-hero :is(.k-kicker, .k-help) { color: var(--k-muted); }
.k-app .k-main .ta-sheet :is(.k-kicker, .k-help) { color: var(--k-muted); }
.k-public .ta-pad-hero .ta-clip { left: auto; right: 40px; }

/* art direction 2026-10-25 round 2 */
:root { --ta-pad-muted: #4a5568; --ta-pad-link: #0e4d4f; }
.k-app :is(.ta-sheet, .ta-pad-hero) :is(a:not(.k-btn), .k-kicker, .k-label, .k-help, .k-steps li, .k-btn-line) { color: var(--ta-pad-muted); }
.k-app :is(.ta-sheet, .ta-pad-hero) a:not(.k-btn) { color: var(--ta-pad-link); }
.k-app .ta-sheet .k-btn-line, .k-public .ta-pad-hero .k-btn-line { border: 1.5px solid #0e4d4f; color: #0e4d4f; background: transparent; }
.k-app .k-main :is(.k-card, .k-plan, .k-list, .k-row, .k-strip, .ta-session, .ta-ci, .ta-band, .ta-week-card, .ta-incl, .ta-upnext-row) :is(h1, h2, h3, h4, b, strong) { color: var(--k-text); }
.k-app .ta-sheet :is(h2, h3) { color: var(--ta-ink); }
.k-app .k-top .k-avatar, .k-app .k-top .k-avatar * { color: #14213d; }
.k-app .ta-sheet :is(input, select, textarea) { background: #fffdf0; border: 1px solid #c9b96a; color: var(--ta-ink); }
.k-app .ta-sheet label { color: var(--ta-ink); }

/* Tally gate as pen: 8px strokes, each rotated about 2 degrees; remaining marks dashed; the strike in coral */
.k-app .ta-gate-svg { --ta-tally-on: var(--ta-ink); --ta-tally-off: rgba(20, 33, 61, .4); }
.k-app .ta-gate-svg > * { vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; }
.k-app .ta-gate-svg > :nth-child(odd) { transform: rotate(2deg); }
.k-app .ta-gate-svg > :nth-child(even) { transform: rotate(-2deg); }
.k-app .ta-gate-svg > .ta-x, .k-app .ta-gate-svg > .ta-xh { transform: none; }
.k-app .ta-gate-svg .ta-u { stroke: var(--ta-tally-on); stroke-width: 8px; }
.k-app .ta-gate-svg .ta-x { stroke: #f26b5b; stroke-width: 5px; }
.k-app .ta-gate-svg .ta-h, .k-app .ta-gate-svg .ta-xh { fill: none; stroke: var(--ta-tally-off); stroke-width: 2px; stroke-dasharray: 4 3; stroke-opacity: 1; }
@media (prefers-color-scheme: dark) {
  .k-app .ta-band .ta-gate-svg { --ta-tally-on: #fff3b0; --ta-tally-off: rgba(255, 243, 176, .35); }
}

/* Tear-off calendar: weekday band clears the date; the card is only as tall as its content */
.k-app .ta-tear { height: auto; min-height: 0; padding-bottom: 20px; }
.k-app .ta-tear-head { margin: 24px 0 16px; }

/* Home 1440: last check-in fills the right half under Your actions */
.k-app .ta-last { display: grid; gap: 8px; padding: 16px 0 0; border-top: 1px solid rgba(20, 33, 61, .2); }
.k-app .ta-last .k-kicker { margin: 0; }
.k-app .ta-last-reply { margin: 0; color: var(--ta-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.k-app .ta-last-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ta-pad-muted); }
.k-app .ta-last-answer { background: #fffdf0; border-radius: 4px; padding: 8px 10px; }
.k-app .ta-last-status { color: var(--ta-link); font-weight: 700; }

/* Desk: help text and pagehead under the teal page field */
.k-app .k-main .k-pagehead .k-help, .k-app .k-main .k-foot { color: var(--ta-desk-muted); }

/* Pads: the form on Book, Check in, Package and Move or cancel is a legal pad sheet */
.k-app .ta-book-form, .k-app .ta-checkin-form, .k-app .ta-change-form { color: var(--ta-ink); }
.k-app .ta-book-form h2, .k-app .ta-checkin-form h2, .k-app .ta-change-form h2 { color: var(--ta-ink); }
.k-app .ta-pack-big.ta-sheet .ta-gate { height: 96px; }
.k-app .ta-pack-big.ta-sheet .ta-gate svg { height: 96px; }
.k-app .ta-pack-big.ta-sheet .ta-left-n b, .k-app .ta-pack-big.ta-sheet .ta-band-note b { color: var(--ta-ink); }
.k-app .k-account.ta-sheet { padding: 32px 24px 32px 64px; }
.k-app .k-account.ta-sheet a, .k-app .k-account.ta-sheet .k-row-sub { color: var(--ta-pad-muted); }
.k-app .k-account.ta-sheet a.k-row-title { color: var(--ta-pad-link); }

/* Book: the booked slot in the week grid */
.k-app .ta-wk-slot[data-ta-booked] { background: #0e4d4f; border-color: #0e4d4f; color: #ffffff; }
.k-app .ta-wk-slot[data-ta-booked] .ta-wk-tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; color: #ffffff; }
.k-app .ta-col > .k-btn-block { background: var(--ta-desk-btn); color: var(--ta-ink); }

/* Public: steps, packages and about sit on the teal desk with no white panels */
.k-public .ta-steps .k-card { counter-increment: st; background: none; box-shadow: none; border: 0; padding: 0; display: block; color: #ffffff; }
.k-public .ta-steps ol { counter-reset: st; gap: 32px; }
.k-public .ta-steps .k-card::before { content: counter(st); display: block; font-family: var(--k-font-display); font-size: 64px; line-height: 1; font-weight: 700; color: #fff3b0; margin-bottom: 8px; }
.k-public .ta-steps .k-tile { display: none; }
.k-public .ta-steps .k-card h3 { color: #ffffff; margin: 0 0 8px; }
.k-public .ta-steps .k-card p { color: #cfe3e3; }
.k-public #how h2, .k-public #packages h2, .k-public #about h2 { color: #ffffff; }
.k-public #packages .k-plans { align-items: start; }
.k-public #packages .k-plan:not(.k-plan-feature) { position: relative; padding: 32px 24px 32px 64px; border-radius: 4px; color: var(--ta-ink); background: repeating-linear-gradient(to bottom, transparent 0 31px, var(--ta-rule) 31px 32px) 0 0 / 100% 100% no-repeat, var(--ta-pad); box-shadow: 0 1px 2px rgba(6, 31, 32, .2), 0 10px 30px rgba(6, 31, 32, .18); }
.k-public #packages .k-plan:not(.k-plan-feature)::before { content: ""; position: absolute; left: 40px; top: 0; bottom: 0; width: 1px; background: #f26b5b; }
.k-public #packages .k-plan:not(.k-plan-feature) :is(h3, p, li, .k-price) { color: var(--ta-ink); line-height: 32px; }
.k-public #packages .ta-gate-pkg, .k-public #packages .ta-gate-pkg svg { height: 96px; }
.k-public #packages .k-plan-feature { background: #ffffff; color: var(--k-text); border-top: 3px solid #f26b5b; border-radius: 4px; box-shadow: 0 10px 30px rgba(6, 31, 32, .18); align-self: start; padding: 32px 24px; }
.k-public #about .k-card { background: none; box-shadow: none; border: 0; padding: 0; }
.k-public #about .k-card > p { color: var(--ta-desk-ink); }
.k-public #about .k-row { background: none; box-shadow: none; border: 0; padding: 12px 0; color: var(--ta-desk-ink); }
.k-public #about .k-row .k-tile { background: rgba(255, 255, 255, .12); color: #fff3b0; }
.k-public #about .k-row-sub { color: var(--ta-desk-muted); }
.k-public #about .k-row-title { color: var(--ta-desk-ink); }

/* Public hero: the calendar sits on the pad's bottom-right corner; the gate note drops at phone width */
@media (max-width: 899px) {
  .k-public .ta-hero-pen { display: none; }
  .k-public .ta-hero-art { align-items: flex-end; gap: 0; }
  .k-public .ta-hero-art .ta-tear { width: 150px; height: auto; margin: -56px 8px 0 auto; transform: rotate(3deg); }
  .k-public .ta-hero-art .ta-tear-head { margin: 20px 0 8px; height: 32px; font-size: 12px; }
  .k-public .ta-hero-art .ta-tear-num { font-size: 64px; height: 64px; line-height: 64px; margin-top: 8px; }
  .k-public .ta-hero-art .ta-tear-time { font-size: 13px; }
}
@media (max-width: 599px) {
  .k-public .ta-hero h1 { font-size: clamp(2.75rem, 12vw, 4rem); line-height: 1; }
}
@media (min-width: 900px) {
  .k-public .ta-hero { padding-top: 48px; }
  .k-public .ta-hero-art { min-height: 520px; }
  .k-public .ta-hero-pen { width: 300px; height: 300px; left: 2%; top: 40px; }
  .k-public .ta-hero-pen svg { height: 260px; }
  .k-public .ta-hero-art .ta-tear { width: 300px; height: auto; right: 4%; bottom: 40px; }
  .k-public .ta-hero-art .ta-tear-head { height: 48px; font-size: 16px; margin-top: 28px; }
  .k-public .ta-hero-art .ta-tear-num { font-size: 120px; height: 120px; line-height: 120px; }
  .k-public .ta-pad-hero .ta-clip { top: -30px; }
}

/* art direction 2026-10-25 round 2: contrast */
.k-app :is(.ta-sheet, .ta-pad-hero), .k-app .k-account.ta-sheet, .k-public .ta-pad-hero { --k-text: #14213d; --k-muted: #4a5568; --k-faint: #4a5568; --ta-ink: #14213d; }
.k-app :is(.ta-session, .ta-ci, .ta-band, .ta-week-card, .ta-incl, .k-card, .k-row, .k-list, .k-strip) { --ta-ink: var(--k-text); }
.k-app :is(.ta-next, .ta-memo, .ta-date) { --ta-ink: #14213d; }
.k-app :is(.ta-sheet, .ta-pad-hero) .k-btn-ghost { color: var(--ta-pad-link); }
.k-app .ta-sheet .k-chip { background: #fffdf0; color: #14213d; border: 1px solid #c9b96a; }
.k-app .ta-sheet .k-chip[aria-current="true"] { background: #0e4d4f; color: #ffffff; border-color: #0e4d4f; }
.k-app .k-main .ta-count b { color: #fff3b0; }
.k-app .k-top a.k-avatar:not(.k-btn):not(.k-signin), .k-app .k-top a.k-avatar * { color: #14213d; } /* the initials, dark on the pale avatar (the header link rule made them white) */
.k-public #packages .k-plan-feature { --k-text: #14213d; --k-muted: #4a5568; --ta-ink: #14213d; }
.k-public #packages .k-plan:not(.k-plan-feature) .k-btn-line { color: #0e4d4f; border: 1.5px solid #0e4d4f; background: transparent; }
.k-app .k-account.ta-sheet :is(form, p, li, label, ul, div) { background: transparent; }
.k-app .k-account.ta-sheet :is(button, .k-btn) { background: #fffdf0; color: #14213d; border: 1px solid #c9b96a; }
.k-app .ta-reply-card { color: #14213d; }
.k-app .ta-last-status { color: var(--ta-pad-link); }
.k-app .k-account.ta-sheet label, .k-app .k-account.ta-sheet label * { color: #14213d; }
.k-app .k-account.ta-sheet form { background: transparent !important; }
@media (max-width: 599px) { .k-app .ta-book-form .k-pair { grid-template-columns: minmax(0, 1fr); } }

/* art direction 2026-10-25 round 4 */
/* Home: the tally gate is the hero, on its own row under the heading */
.k-app .ta-gate-link { position: relative; display: grid; justify-items: start; gap: 12px; }
.k-app .ta-gate-link .ta-left-n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.k-app .ta-gate-link .ta-gate { height: 160px; }
.k-app .ta-gate-link .ta-gate svg { height: 100%; }
.k-app .ta-gate-link .ta-gate-svg .ta-u { stroke-width: 10px; }
.k-app .ta-gate-link .ta-gate-svg .ta-x { stroke: #f26b5b; stroke-width: 8px; }
.k-app .ta-gate-link .ta-gate-svg .ta-h, .k-app .ta-gate-link .ta-gate-svg .ta-xh { stroke: #14213d; stroke-width: 3px; stroke-opacity: .35; stroke-dasharray: 6 5; }
.k-app .ta-gate-link .ta-gate-svg .ta-new { animation-duration: .6s; }
.k-app .ta-gate-link .ta-band-note { font-size: 15px; line-height: 1.45; }
@media (min-width: 900px) { .k-app .ta-home-head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .k-app .ta-gate-link .ta-gate { height: 120px; } }

/* Calendar page: no dead gap between the date and the time */
.k-app .ta-tear { padding-bottom: 8px; }
.k-app .ta-tear .ta-tear-num, .k-app .ta-hero-art .ta-tear-num { height: auto; line-height: 1; }
.k-app .ta-tear .ta-tear-time { margin-top: 8px; }

/* No ellipsis: full text wraps */
.k-app .ta-last-reply { display: block; overflow: visible; -webkit-line-clamp: unset; }
.k-app .ta-covered [data-pl-field] { display: inline; overflow: visible; -webkit-line-clamp: unset; }

/* Change: date and time on one row at 375 */
.k-app .ta-change-form .k-pair { display: flex; gap: var(--k-3); }
.k-app .ta-change-form .k-pair > .k-field { flex: 1 1 0; min-width: 0; }
.k-app .ta-change-form .k-pair > .k-field:last-child { flex: 0 0 auto; min-width: 96px; }
.k-app .ta-change-form #m-time { min-width: 96px; }

/* Account: emails wrap; the sign-in email on its own line; leave button not tall */
.k-app .k-account > p:first-child { display: block; }
.k-app .k-account > p:first-child b { display: block; overflow-wrap: anywhere; }
.k-app .k-account.ta-sheet :is(button, .k-btn) { height: auto; padding: 10px 16px; }

/* Small text uses 1.45 line height; pad body text keeps the 32px rule */
.k-app :is(.ta-session, .ta-ci, .ta-band, .ta-week-card, .ta-incl, .k-card, .k-row, .k-list) :is(p, li, .k-label, .k-row-sub, .k-kicker) { line-height: 1.45; }
.k-app .ta-sheet :is(.k-label, .k-kicker, .k-help, .k-row-sub, .ta-link) { line-height: 1.45; }
.k-app :is(.k-label, .k-kicker, .k-help, .k-row-sub, .k-badge, .ta-date, .ta-eyebrow, .ta-line-label, .ta-last-label, .ta-wk-h, .ta-wk-tag, .ta-count, .ta-band-note) { line-height: 1.45; }

/* Book: the week is the main pad, full width above the form; the day chips get their own row */
.k-app .ta-week-card.ta-sheet { display: flex; flex-direction: column; gap: 12px; padding: 32px 24px 32px 64px; border-radius: 4px; color: var(--ta-ink); background: repeating-linear-gradient(to bottom, transparent 0 31px, var(--ta-rule) 31px 32px) 0 0 / 100% 100% no-repeat, var(--ta-pad); box-shadow: 0 1px 2px rgba(6, 31, 32, .2), 0 10px 30px rgba(6, 31, 32, .18); }
.k-app .ta-week-card.ta-sheet h2 { color: var(--ta-ink); font-size: 1.375rem; }
.k-app .ta-week-card.ta-sheet .ta-wk-h { color: var(--ta-ink); }
.k-app .ta-wk-slot { min-height: 64px; }
.k-app .ta-week-card.ta-sheet .ta-wk-slot { background: #fffdf0; border-color: #c9b96a; color: var(--ta-ink); }
.k-app .ta-week-card.ta-sheet .ta-wk-slot[data-ta-booked] { background: #0e4d4f; border-color: #0e4d4f; color: #ffffff; }
.k-app .ta-book-form .k-pair > .k-field:first-child { grid-column: 1 / -1; }
.k-app .ta-rule-pad .ta-sheet-head { min-height: 0; padding-top: 0; }
@media (min-width: 900px) {
  .k-app .ta-book { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .k-app .ta-book > .ta-week-card { grid-column: 1 / -1; }
}

/* Account 1440: one centred 720px column */
.k-app .ta-account-board { display: block; max-width: 720px; margin: 0 auto; }
.k-app .ta-account-board > * { display: grid; gap: var(--k-5); margin-bottom: var(--k-5); }
.k-app .ta-account-board > *:last-child { margin-bottom: 0; }

/* Sessions: the sessions are ruled entries on one legal pad */
.k-app .ta-timeline.ta-sheet { display: flex; flex-direction: column; gap: 0; padding: 32px 24px 32px 64px; }
.k-app .ta-timeline .ta-session { background: transparent; box-shadow: none; border-radius: 0; padding: 16px 0; }
.k-app .ta-timeline .ta-session + .ta-session { border-top: 1px solid rgba(20, 33, 61, .15); }
.k-app .ta-timeline .ta-session h2 { color: var(--ta-ink); }
.k-app .ta-left-n { flex-wrap: wrap; }

/* Check in: both columns top-aligned; reply bubbles fill the card */
.k-app .ta-checkin-form { margin-top: 0; }
.k-app .ta-reply-card { max-width: none; }

/* Public: the hero pad and calendar sit centred on the desk; About and Packages align */
.k-public #about .k-card > p { margin-top: 12px; }
.k-public #packages .k-plans { align-items: stretch; }
.k-public #packages .k-plan-feature { align-self: stretch; }
@media (min-width: 900px) {
  .k-public .ta-hero-art { flex-direction: column; justify-content: center; gap: 40px; min-height: 0; }
  .k-public .ta-hero-art .ta-tear { position: relative; right: auto; bottom: auto; }
  .k-public .ta-hero-pen { position: relative; left: auto; top: auto; }
}
.k-public .ta-kick-more { display: inline; }
@media (max-width: 599px) { .k-public .ta-kick-more { display: none; } }

/* The envelope on the white note card stays teal in both themes */
.k-app .ta-reply-card .k-i { color: #0e4d4f; }

/* Rail 1440: teal desk edge; nav in Spectral; the active item is a yellow tab */
@media (min-width: 1024px) {
  .k-app[data-k-nav="rail-ink"] .k-tabs { border-right: 1px solid rgba(255, 243, 176, .2); }
  .k-app[data-k-nav="rail-ink"] .k-tabs a { font-family: var(--k-font-display); font-size: 16px; }
  .k-app[data-k-nav="rail-ink"] .k-tabs a[aria-current="page"] { background: #fff3b0; color: #14213d; box-shadow: none; }
  .k-app[data-k-nav="rail-ink"] .k-tabs a[aria-current="page"] .k-i { color: #14213d; }
}

/* art direction 2026-10-25 */
.k-app .ta-upnext-link, .k-app .ta-link a { display: inline-flex; align-items: center; min-height: 44px; }

/* Polish 2026-10-26: the gate counts sessions used (rings for sessions left); taken week slots struck in pencil; the night pad */
.k-app .ta-gate-svg .ta-ring { fill: none; stroke: var(--ta-ink); stroke-width: 2px; stroke-opacity: .55; stroke-dasharray: 3 2.5; transform: none; }
.k-app .ta-gate-link .ta-gate-svg .ta-ring { stroke-width: 3px; stroke-dasharray: 5 4; }
.k-app .ta-wk-h { display: grid; gap: 0; white-space: nowrap; }
.k-app .ta-wk-wd { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.k-app .ta-wk-dn { font-family: var(--k-font-display); font-size: 1.375rem; font-weight: 700; line-height: 1.15; letter-spacing: 0; text-transform: none; font-variant-numeric: lining-nums tabular-nums; }
.k-app .ta-wk-key { margin: -4px 0 0; }
.k-app .ta-wk-taken { display: grid; place-content: center; gap: 2px; text-align: center; cursor: default; border-style: dashed; background: transparent; color: var(--k-muted); }
.k-app .ta-week-card.ta-sheet .ta-wk-taken { background: transparent; border-color: rgba(20, 33, 61, .32); color: #4a5568; }
.k-app .ta-wk-taken s { text-decoration: none; position: relative; font-weight: 500; }
.k-app .ta-wk-taken s::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 2px; border-radius: 1px; background: currentColor; transform: rotate(-8deg); }
.k-app .ta-wk-taken .ta-wk-tag { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; }
@media (max-width: 599px) { .k-app .ta-wk-slot { font-size: 13px; } .k-app .ta-wk-taken .ta-wk-tag { font-size: 10px; letter-spacing: .02em; } }
/* Book: the day chips run off the right edge on a phone; fade the last one so the row reads as scrollable */
.k-app .ta-book-form .k-day-chips { padding-right: 24px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
@media (min-width: 600px) { .k-app .ta-book-form .k-day-chips { -webkit-mask-image: none; mask-image: none; } }

/* Night desk: the pad is a warm yellow under a desk lamp, brighter at the top, still ruled like a legal pad */
@media (prefers-color-scheme: dark) {
  :root { --ta-pad: #e6cc68; --ta-rule: #c4a74a; --ta-pad-muted: #3d4757; }
  .k-app :is(.ta-sheet, .ta-pad-hero, .k-account.ta-sheet), .k-public :is(.ta-pad-hero, .ta-hero-pen), .k-public #packages .k-plan:not(.k-plan-feature) { --ta-coral: #8f2a19; --k-muted: #3d4757; --k-faint: #3d4757; }
  .k-app .ta-sheet, .k-app .ta-week-card.ta-sheet, .k-public .ta-pad-hero, .k-public #packages .k-plan:not(.k-plan-feature) { background: repeating-linear-gradient(to bottom, transparent 0 31px, var(--ta-rule) 31px 32px) 0 0 / 100% 100% no-repeat, radial-gradient(140% 90% at 25% 0%, #edd77c 0%, #e6cc68 45%, #dcc05a 100%); box-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 236, 160, .08); }
  .k-app .ta-sheet :is(input, select, textarea), .k-app .ta-sheet .k-chip, .k-app .k-account.ta-sheet :is(button, .k-btn), .k-app .ta-week-card.ta-sheet .ta-wk-slot:not(.ta-wk-taken):not([data-ta-booked]) { background: #f6e6a2; border-color: #b0943a; }
  .k-app .ta-last-answer { background: #f6e6a2; }
  .k-app .ta-week-card.ta-sheet .ta-wk-taken { border-color: rgba(20, 33, 61, .38); color: #3d4757; }
  .k-app .ta-sheet .ta-box { background: #f6e6a2; }
  .k-app .ta-sheet::after { background: #9a3a28; }
}
