/* The screen's one stylesheet. The rules are in DESIGN.md; the tokens, blocks and motion come from Legora Studio Manager's
   screen (30 November 2026), EVERYBODY's own design system. Light and dark: every colour is a light-dark() pair. */
/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --bg: light-dark(oklch(0.972 0.004 60), oklch(0.165 0.005 40));
  --surface: light-dark(oklch(0.996 0.002 60), oklch(0.208 0.006 40));
  --sunken: light-dark(oklch(0.954 0.005 60), oklch(0.142 0.005 40));
  --text: light-dark(oklch(0.2 0.012 30), oklch(0.94 0.006 60));
  --muted: light-dark(oklch(0.49 0.012 40), oklch(0.71 0.01 50));
  --faint: light-dark(oklch(0.68 0.01 45), oklch(0.5 0.01 50));
  --unset: light-dark(oklch(0.53 0.01 45), oklch(0.66 0.01 50));
  --line: light-dark(oklch(0.916 0.006 60), oklch(0.285 0.007 40));
  --hover: light-dark(oklch(0.2 0.012 30 / .045), oklch(0.94 0.006 60 / .06));
  --tint: light-dark(oklch(0.2 0.012 30 / .06), oklch(0.94 0.006 60 / .08));
  /* The EVERYBODY red, #4D1512. It is the menu, and the primary button. */
  --band: light-dark(oklch(0.288 0.085 27), oklch(0.24 0.066 27));
  --cream: oklch(0.975 0.008 60);
  --brand: light-dark(oklch(0.288 0.085 27), oklch(0.42 0.12 27));
  --brand-ink: light-dark(oklch(0.288 0.085 27), oklch(0.76 0.105 27));
  --brand-tint: light-dark(oklch(0.948 0.018 27), oklch(0.275 0.04 27));
  --accent: var(--brand-ink);
  --warn: light-dark(oklch(0.47 0.1 70), oklch(0.8 0.115 80));
  --good: light-dark(oklch(0.44 0.095 150), oklch(0.78 0.12 150));
  --info: light-dark(oklch(0.45 0.115 255), oklch(0.77 0.095 255));
  --danger: light-dark(oklch(0.5 0.18 27), oklch(0.73 0.15 25));
  /* Shadows: soft layers from one light above, tinted towards the red. In the dark they become a ring. */
  --ring: light-dark(rgb(48 20 14 / .06), rgb(255 255 255 / .08));
  --s1: light-dark(rgb(48 20 14 / .035), transparent);
  --s2: light-dark(rgb(48 20 14 / .05), transparent);
  --s3: light-dark(rgb(48 20 14 / .09), rgb(0 0 0 / .5));
  --e1: 0 0 0 1px var(--ring), 0 1px 1px var(--s1), 0 2px 4px -1px var(--s1), 0 6px 12px -4px var(--s1);
  --e2: 0 0 0 1px var(--ring), 0 1px 1px var(--s1), 0 3px 6px -1px var(--s2), 0 10px 20px -6px var(--s2), 0 24px 40px -16px var(--s2);
  --e3: 0 0 0 1px var(--ring), 0 2px 4px var(--s1), 0 8px 16px -4px var(--s2), 0 20px 36px -10px var(--s3), 0 40px 72px -24px var(--s3);
  --hair: 1px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --side: 232px;
  --stick: 0px;   /* the practice bar's height, when it is there */
  --practice: light-dark(oklch(0.48 0.17 305), oklch(0.78 0.11 305));
  --z-card: 3; --z-pop: 4;   /* the agent bar is 5 (chat.css), so it stays above an open card */
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}
@media (min-resolution: 2dppx) { :root { --hair: .5px; } }
:root[data-theme=light] { color-scheme: light; }
:root[data-theme=dark] { color-scheme: dark; }

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); font: 400 14px/1.5 var(--font); font-variant-numeric: tabular-nums; font-synthesis: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; font-weight: 400; }
ul, ol { list-style: none; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button, textarea, input { font: inherit; color: inherit; }
button, a, textarea { touch-action: manipulation; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid color-mix(in oklch, var(--text) 55%, transparent); outline-offset: 2px; border-radius: 8px; }
::selection { background: color-mix(in oklch, var(--brand-ink) 20%, transparent); }
[hidden] { display: none !important; }
strong, .strong { font-weight: 600; }
.mono { font-family: var(--mono); font-size: .9em; }
.muted { color: var(--muted); }
.small { font-size: 12px; color: var(--muted); }
.warn { color: var(--warn); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
kbd { padding: 0 5px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 12px; }
.link { color: var(--brand-ink); text-decoration: underline; text-decoration-thickness: .09em; text-underline-offset: .2em; text-decoration-color: color-mix(in oklch, currentColor 35%, transparent); }

/* ---------- Small pieces ---------- */
.k-logo { display: block; height: 14px; width: auto; fill: currentColor; }
.k-icon { flex: none; width: 16px; height: 16px; }
.k-st { --tone: var(--muted); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.k-st[data-tone=warn] { --tone: var(--warn); } .k-st[data-tone=good] { --tone: var(--good); } .k-st[data-tone=info] { --tone: var(--info); } .k-st[data-tone=danger] { --tone: var(--danger); }
.k-st .k-icon { color: var(--tone); }
.k-st.word { color: var(--tone); }
.k-st.quiet { color: var(--muted); }
.k-st.pill { padding: 1px 8px; border-radius: 99px; font-size: 12px; color: var(--tone); background: color-mix(in oklch, var(--tone) 12%, transparent); }
.k-brief { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); white-space: nowrap; }
.k-brief svg { width: 14px; height: 14px; }
.k-brief circle { fill: none; stroke-width: 2.5; }
.k-brief .track { stroke: var(--line); }
.k-brief .fill { stroke: var(--brand-ink); stroke-linecap: round; }
.k-brief[data-full] .fill { stroke: var(--good); }
.k-av { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--tint); font-size: 10px; font-weight: 500; line-height: 1; color: var(--muted); letter-spacing: .02em; }
.avs { display: inline-flex; gap: 2px; }
/* List | Schedule: the highlight slides to the side you pressed. */
.k-seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 2px; border-radius: 8px; background: var(--tint); }
.k-seg i { position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc(50% - 2px); border-radius: 8px; background: var(--surface); box-shadow: var(--e1); }
.k-seg[data-view=schedule] i { transform: translateX(100%); }
.k-seg[data-from] i { animation: seg 260ms var(--ease-out); }
.k-seg[data-from=list] { --from: 0; } .k-seg[data-from=schedule] { --from: 100%; }
@keyframes seg { from { transform: translateX(var(--from)); } }
.k-seg a { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 8px; color: var(--muted); transition: color 150ms ease-out; }
.k-seg a::before { content: ""; position: absolute; inset: -8px 0; }
.k-seg a[aria-current] { color: var(--text); }
.k-iconbtn { position: relative; display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); transition: background-color 150ms ease-out, color 150ms ease-out; }
.k-iconbtn::before { content: ""; position: absolute; inset: -6px; }
.k-iconbtn .k-icon { width: 18px; height: 18px; }
.k-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--surface); box-shadow: var(--e1); font-weight: 500; white-space: nowrap; transition: background-color 150ms ease-out, box-shadow 150ms ease-out, scale 150ms ease-out; }
.k-btn.is-primary { background: var(--brand); color: var(--cream); box-shadow: 0 0 0 1px color-mix(in oklch, var(--brand) 80%, black), 0 1px 2px var(--s2), inset 0 1px 0 rgb(255 255 255 / .12); }
/* A leading icon gets 2 px less padding on its side, so the label looks centred. */
.k-btn:has(> .k-icon:first-child) { padding-left: 10px; }
.k-btn:active, .k-chip:active { scale: .97; }
.k-chip { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 0; border-radius: 99px; background: var(--tint); color: var(--text); font-size: 13px; white-space: nowrap; transition: background-color 150ms ease-out, scale 150ms ease-out; }
.k-chip .k-icon { width: 14px; height: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* The month */
.k-sched-head { display: flex; align-items: center; gap: 4px; }
.k-sched-head h2, .pane .k-sched-head h2 { margin: 0 auto 0 0; font-size: 16px; font-weight: 600; color: var(--text); }
.k-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 12px; }
.k-month[data-from] { animation: month 220ms var(--ease-out); }
.k-month[data-from=next] { --from: 14px; } .k-month[data-from=prev] { --from: -14px; }
@keyframes month { from { opacity: 0; transform: translateX(var(--from)); } }
.k-dow { padding: 0 0 4px 8px; font-size: 12px; color: var(--muted); }
.k-day { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 72px; padding: 6px 8px; border-radius: 8px; background: var(--tint); color: var(--muted); font-size: 13px; overflow: hidden; }
.k-day.is-out { opacity: .45; } .k-day.is-weekend { background: none; }
.k-day.is-today .k-day-n { color: var(--brand-ink); font-weight: 600; }
.k-day.is-today .k-day-n::after { content: " · today"; font-weight: 400; }
.k-day-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 12px; line-height: 1.3; }
a.k-day { color: var(--text); background: var(--surface); box-shadow: var(--e1); transition: box-shadow 150ms ease-out, background-color 150ms ease-out; }
a.k-day[data-state=confirmed] { background: var(--brand); color: var(--cream); box-shadow: none; }
a.k-day[data-state=requested] { background: var(--brand-tint); color: var(--brand-ink); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--brand-ink) 30%, transparent); }
a.k-day[data-state=draft] { background: none; box-shadow: none; outline: 1px dashed var(--faint); outline-offset: -1px; }
a.k-day[data-state=shot] { color: var(--muted); }
.k-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.k-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.k-legend .l-confirmed { background: var(--brand); } .k-legend .l-requested { background: var(--brand-tint); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--brand-ink) 30%, transparent); } .k-legend .l-draft { outline: 1px dashed var(--faint); outline-offset: -1px; }
/* What the agent just changed: tinted, then back to plain. The brief's ring draws itself again. */
[data-changed] { animation: changed 5s ease-out; }
@keyframes changed { 0%, 55% { background-color: color-mix(in oklch, var(--brand-ink) 12%, transparent); } 100% { background-color: transparent; } }
[data-changed] .k-brief .fill { animation: ring 900ms var(--ease-out) 150ms backwards; }
@keyframes ring { from { stroke-dasharray: 0 40; } }

/* ---------- The frame: a red menu at the left, the page beside it ---------- */
.app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: calc(100dvh - var(--stick)); }
.side { position: sticky; top: var(--stick); z-index: 6; display: flex; flex-direction: column; gap: 20px; height: calc(100dvh - var(--stick)); padding: 20px 12px 12px; background: var(--band); color: var(--cream); }
.side :focus-visible { outline-color: rgb(255 255 255 / .75); }
.side ::selection { background: rgb(255 255 255 / .25); }
.brand { display: block; position: relative; padding: 2px 8px 0; }
.brand::before { content: ""; position: absolute; inset: -16px 0; }
/* The line under the logo is written "Legora Studios"; the capitals are the stylesheet's doing. */
.brand small { display: block; margin-top: 9px; font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: color-mix(in oklch, var(--cream) 72%, transparent); }
.side .k-btn { width: 100%; background: var(--cream); color: var(--band); box-shadow: 0 1px 2px rgb(0 0 0 / .2); }
.nav { display: grid; gap: 2px; }
.nav a, .nav button, .soon a { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 34px; padding: 0 8px; border: 0; border-radius: 8px; background: none; color: color-mix(in oklch, var(--cream) 74%, transparent); text-align: left; transition: background-color 120ms ease-out, color 120ms ease-out; }
.nav .k-icon { width: 18px; height: 18px; }
.nav a[aria-current] { color: var(--cream); background: rgb(255 255 255 / .12); font-weight: 500; }
.nav small { margin-left: auto; font-size: 12px; color: color-mix(in oklch, var(--cream) 66%, transparent); }
.nav kbd { margin-left: auto; border-color: rgb(255 255 255 / .22); color: color-mix(in oklch, var(--cream) 62%, transparent); }
.side h2 { padding: 0 8px 6px; font-size: 12px; color: color-mix(in oklch, var(--cream) 68%, transparent); }
.soon a { gap: 0; min-height: 30px; font-size: 13px; }
.soon time { flex: none; width: 54px; color: color-mix(in oklch, var(--cream) 66%, transparent); }
.soon span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soon a[aria-current] { color: var(--cream); background: rgb(255 255 255 / .12); }
.me { position: relative; margin-top: auto; }
.me-btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 4px 8px; border: 0; border-radius: 8px; background: none; color: var(--cream); text-align: left; line-height: 1.3; transition: background-color 120ms ease-out; }
.me-btn > span:nth-child(2) { flex: 1; min-width: 0; font-weight: 500; }
.me-btn small { display: block; font-size: 12px; font-weight: 400; color: color-mix(in oklch, var(--cream) 60%, transparent); }
.me-btn .k-icon { color: color-mix(in oklch, var(--cream) 60%, transparent); }
.side .k-av { background: rgb(255 255 255 / .14); color: var(--cream); width: 26px; height: 26px; font-size: 11px; }

/* A small menu that opens from the button that owns it: the user menu, and "more" on a card. */
.menu { position: absolute; z-index: var(--z-pop); min-width: 216px; padding: 6px; border-radius: 12px; background: var(--surface); color: var(--text); box-shadow: var(--e3); opacity: 0; transform: scale(.96); visibility: hidden; transition: opacity 120ms ease-out, transform 120ms ease-out, visibility 0s linear 120ms; }
.menu[data-open] { opacity: 1; transform: none; visibility: visible; transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 0s; }
.menu.is-up { left: 0; bottom: calc(100% + 6px); transform-origin: bottom left; }
.menu.is-down { right: 0; top: calc(100% + 4px); transform-origin: top right; }
.menu :is(a, button) { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 34px; padding: 0 8px; border: 0; border-radius: 8px; background: none; text-align: left; transition: background-color 100ms ease-out; }
.menu .k-icon { color: var(--muted); }
.menu hr { height: var(--hair); margin: 6px 8px; border: 0; background: var(--line); }
.menu p { padding: 4px 8px; font-size: 12px; color: var(--muted); }
.menu [aria-pressed=true]::after { content: "On"; margin-left: auto; font-size: 12px; color: var(--good); }

.main { min-width: 0; padding: 0 40px 150px; }
.wrap { max-width: 1000px; margin: 0 auto; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 40px 0 20px; }
h1 { font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -.015em; }
.head p { margin-top: 6px; color: var(--muted); }
.sec { margin: 28px 0 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.sec small { margin-left: 6px; font-weight: 400; }

/* ---------- Rows. Every row is one link, whatever else is in it. ---------- */
.list { border-radius: 14px; background: var(--surface); box-shadow: var(--e1); }
.list > li:first-child > .row, .list > .row:first-child { border-top: 0; border-radius: 14px 14px 0 0; }
.list > li:last-child > .row, .list > .row:last-child { border-bottom-left-radius: 14px; border-bottom-right-radius: 14px; }
.row { position: relative; display: grid; align-items: center; gap: 0 16px; min-height: 48px; padding: 6px 20px; border-top: var(--hair) solid var(--line); transition: background-color 100ms ease-out; }
.row-link { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.row-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.row-link:focus-visible { outline: 0; }
.row-link:focus-visible::after { outline: 2px solid color-mix(in oklch, var(--text) 55%, transparent); outline-offset: -2px; border-radius: 8px; }
.row :is(button, .raise) { position: relative; z-index: 1; }
.two { min-width: 0; display: grid; }
.two small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--muted); }
.two small .k-st { gap: 4px; vertical-align: -2px; } .two small .k-icon { width: 13px; height: 13px; }
.end { justify-self: end; text-align: right; }
.dblock { text-align: center; line-height: 1.1; font-size: 11px; color: var(--muted); }
.dblock b { display: block; font-size: 20px; font-weight: 600; color: var(--text); }
.blank { color: var(--unset); }

.tog::before { content: ""; position: absolute; inset: -7px 0; }
.tog .k-icon { transition: rotate 220ms var(--ease-out); } .tog[aria-expanded=true] .k-icon { rotate: 180deg; }
/* A booking's videos unfold under it. The height is animated on purpose: the rows below have to move, and a
   transform could not move them. Short list, short distance. */
.kids { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms cubic-bezier(0.25, 1, 0.5, 1); }
.kids[data-open] { grid-template-rows: 1fr; }
.kids > div { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear 260ms; }
.kids[data-open] > div { visibility: visible; transition: visibility 0s; }
.kids .sub { background: color-mix(in oklch, var(--sunken) 50%, transparent); }
.pane { padding: 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: var(--e1); }
.pane h2 { margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }


/* ---------- Tables: a few named columns, the same place for the same fact on every row ---------- */
.list { container: list / inline-size; }
.cols { display: grid; align-items: center; padding: 12px 20px 8px; font-size: 12px; color: var(--muted); }
.row.b, .cols.b, .row.sub { grid-template-columns: 40px minmax(0, 1fr) 116px 104px 168px 152px; gap: 0 20px; }
.row.v, .cols.v { grid-template-columns: 40px minmax(0, 1fr) 116px 152px 104px 160px; gap: 0 20px; }
.row.b, .row.v { min-height: 64px; }
.c-two { display: grid; min-width: 0; line-height: 1.35; }
.c-two small, .pb small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--muted); }
.c-two b { font-weight: 500; }
.c-who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.c-who > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-who .k-av + .k-av { margin-left: -14px; box-shadow: 0 0 0 2px var(--surface); }
.express { color: var(--warn); }
/* A brief: a bar to scan, a count to read, and what is still missing. */
.pb { display: grid; gap: 3px; min-width: 0; line-height: 1.35; }
.pb-top { color: var(--muted); white-space: nowrap; } .pb-top b { font-weight: 500; color: var(--text); }
/* The bar is a small SVG: its filled width is an attribute, so no inline style is needed (DESIGN.md, rule 20). */
.bar { display: block; width: 100%; max-width: 120px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.bar rect { fill: var(--brand-ink); transform-box: fill-box; transform-origin: left; }
.pb[data-full] .bar rect { fill: var(--good); }
[data-changed] .bar rect { animation: grow 800ms var(--ease-out) 150ms backwards; }
@keyframes grow { from { transform: scaleX(0); } }
/* The videos of a booking: closed until asked for. The button says how many, and how they stand. */
.tog { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 44px; margin: 0 -8px 0 -10px; padding: 0 6px 0 10px; border: 0; border-radius: 8px; background: none; text-align: left; transition: background-color 120ms ease-out; }
.tog .k-icon { color: var(--muted); }
.tog-none { font-size: 13px; }
.row.sub { min-height: 44px; padding-left: 20px; font-size: 13px; }
.row.sub::before { content: ""; position: absolute; left: 39.5px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.s-name { grid-column: 1 / 3; display: flex; align-items: center; gap: 10px; min-width: 0; padding-left: 34px; }
.sub .row-link { font-weight: 400; }
.c-stage, .c-del { color: var(--muted); white-space: nowrap; }
.c-del { grid-column: 5 / 7; }
.sub .pb-top { font-size: 12px; } .sub .bar { max-width: 88px; }
/* When there is less room, the list gives up a column: first the owner, then the time. */
@container list (max-width: 879.98px) {
  .row.b, .cols.b, .row.sub { grid-template-columns: 40px minmax(0, 1fr) 116px 104px 152px; }
  .row.v, .cols.v { grid-template-columns: 40px minmax(0, 1fr) 116px 152px 104px; }
  .row.b > .c-who, .row.v > .c-who, .cols.b > :nth-child(5), .cols.v > :last-child { display: none; }
  .c-del { grid-column: 5; }
}
@container list (max-width: 699.98px) {
  .row.b, .cols.b, .row.sub { grid-template-columns: 40px minmax(0, 1fr) 116px 152px; }
  .row.b > .c-two, .cols.b > :nth-child(4), .sub > .pb { display: none; }
  .c-del { grid-column: 4; }
}
/* The second table on a page has the same columns as the first, so it does not name them again. */
.sec + .list .cols { display: none; }
/* A press is answered at once, in colour only: nothing in a row moves. */
.row:active:not(:has(button:active)), .vt .gr:active { background: var(--tint); }
.tog:active { scale: .98; }
/* Going to another page settles in softly; staying on a page redraws at once. */
#page.is-new { animation: page 220ms var(--ease-out); }
@keyframes page { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Inside a card ---------- */
.card-body h3 small { margin-left: 6px; font-weight: 400; }
.grid { margin-top: 16px; }
.gh, .gr { display: grid; align-items: center; gap: 0 20px; }
.gh { padding-bottom: 6px; font-size: 12px; color: var(--muted); }
.gr { position: relative; min-height: 56px; padding: 8px 0; border-top: var(--hair) solid var(--line); }
.facts { padding: 12px 16px 2px; border-radius: 12px; background: var(--sunken); }
.facts .gh, .facts .gr { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.3fr); }
.vt { margin-top: 0; }
.vt .gh, .vt .gr { grid-template-columns: minmax(0, 1.5fr) 116px 152px 104px; margin: 0 -12px; padding-inline: 12px; }
.vt .gr { min-height: 64px; border-radius: 8px; transition: background-color 100ms ease-out; }
.chips { margin-top: 16px; }
.strip { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 14px 24px; padding: 14px 16px; border-radius: 12px; background: var(--sunken); }
.strip > div { display: grid; align-content: start; gap: 4px; min-width: 0; }
.strip > div > small { font-size: 12px; color: var(--muted); }
.field .do { opacity: 0; transition: opacity 120ms ease-out; }
.field .blank ~ .do, .field:focus-visible .do { opacity: 1; }
/* "Add" is a tag, because the field is waiting. "Change" is only a quiet word. */
.field .val:not(.blank) ~ .do { padding: 0; background: none; color: var(--muted); }
.empty { color: var(--muted); }
.link-btn { padding: 0; border: 0; background: none; color: var(--brand-ink); text-decoration: underline; text-decoration-thickness: .09em; text-underline-offset: .2em; text-decoration-color: color-mix(in oklch, currentColor 35%, transparent); }
.log li { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: baseline; gap: 0 12px; padding: 6px 0; font-size: 13px; }
.log time, .log span { font-size: 12px; color: var(--muted); }

/* ---------- The schedule: press a free day, then confirm. Two steps, so a stray press books nothing. ---------- */
.sched { padding: 20px; }
button.k-day { border: 0; text-align: left; font: inherit; transition: background-color 120ms ease-out, box-shadow 150ms ease-out, color 120ms ease-out; }
.k-day.is-picked { overflow: visible; background: var(--surface); color: var(--text); box-shadow: 0 0 0 1.5px var(--brand-ink), 0 6px 14px -6px var(--s3); }
.k-day.is-picked .k-mini { align-self: flex-start; margin-top: auto; animation: pick 220ms var(--ease-out); }
@keyframes pick { from { opacity: 0; transform: translateY(5px) scale(.94); } }
.k-mini { position: relative; z-index: 1; height: 26px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--surface); box-shadow: 0 0 0 1px var(--ring), 0 1px 2px var(--s2); font-size: 12px; font-weight: 500; white-space: nowrap; transition: background-color 120ms ease-out, scale 150ms ease-out; }
.k-mini.is-primary { background: var(--brand); color: var(--cream); box-shadow: 0 0 0 1px color-mix(in oklch, var(--brand) 80%, black), 0 1px 2px var(--s2), inset 0 1px 0 rgb(255 255 255 / .12); }
.k-mini:active { scale: .97; }
.k-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 36px; margin-top: 12px; }
.k-foot .k-legend { margin: 0; }
.k-legend .l-free { background: var(--tint); }
.pick-bar { display: none; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- Cards. A record opens as a large card over the list. A video's card sits on its booking's card,
   and the booking's title stays in view above it: press it to go back up. ---------- */
.stack { position: fixed; inset: var(--stick) 0 0 var(--side); z-index: var(--z-card); pointer-events: none; }
.scrim { position: absolute; inset: 0; border: 0; padding: 0; background: light-dark(rgb(40 18 12 / .26), rgb(0 0 0 / .5)); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; cursor: default; transition: opacity 200ms ease-out; }
.stack[data-open] .scrim { opacity: 1; pointer-events: auto; }
.card { --depth: 0; position: absolute; left: 50%; top: calc(24px + var(--depth) * 56px); bottom: 0; display: flex; flex-direction: column; width: min(820px, calc(100% - 48px)); translate: -50% 0; border-radius: 18px 18px 0 0; background: var(--surface); box-shadow: var(--e3); pointer-events: auto; transition: transform 340ms var(--ease), opacity 200ms ease-out, background-color 200ms ease-out; }
.card[data-depth="1"] { --depth: 1; }
@starting-style { .card { opacity: 0; transform: translateY(32px); } }
.card[data-leaving] { opacity: 0; transform: translateY(20px); pointer-events: none; transition: transform 180ms ease-out, opacity 160ms ease-out; }
.card:focus { outline: 0; }
.card-head { display: flex; align-items: center; gap: 12px; flex: none; min-height: 56px; padding: 0 12px 0 24px; }
.card-head small { flex: none; font-size: 12px; color: var(--muted); }
.card-head h2 { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.card-head .more { position: relative; }
.card-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 150px; scrollbar-width: thin; scrollbar-color: color-mix(in oklch, var(--text) 16%, transparent) transparent; }
/* The card underneath: quieter, and one button from edge to edge. */
.card[data-covered] { background: color-mix(in oklch, var(--surface) 55%, var(--sunken)); transform: scale(.985); transform-origin: top center; }
.card[data-covered] .card-head { color: var(--muted); }
.card[data-covered] .card-head .k-iconbtn, .card[data-covered] .more { visibility: hidden; }
.card-cover { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.card-head .up { display: none; margin-left: -6px; }
.card[data-covered] .card-head .up { display: inline-flex; }
.card-body h3 { margin: 26px 0 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.note { --tone: var(--muted); margin-top: 14px; padding: 10px 14px; border-radius: 12px; background: color-mix(in oklch, var(--tone) 8%, var(--surface)); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--tone) 22%, transparent); }
.metaline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--muted); }
.fields > * { display: grid; grid-template-columns: 124px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; width: 100%; min-height: 38px; padding: 8px 0; border: 0; border-top: var(--hair) solid var(--line); background: none; text-align: left; }
.fields > :first-child { border-top: 0; }
.fields .lbl, .fields dt { color: var(--muted); }
button.field { border-radius: 0; transition: background-color 100ms ease-out; }
.field .do { align-self: center; padding: 2px 9px; border-radius: 99px; background: var(--brand-tint); color: var(--brand-ink); font-size: 12px; }
.prose { max-width: 65ch; } .prose p + p { margin-top: 10px; }
details.fold { margin-top: 26px; }
details.fold summary { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; margin-left: -8px; padding: 0 10px 0 6px; border-radius: 8px; list-style: none; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--muted); }
details.fold summary::-webkit-details-marker { display: none; }
details.fold summary .k-icon { transition: rotate 200ms var(--ease-out); } details.fold[open] summary .k-icon { rotate: 90deg; }

/* ---------- What the agent bar (chat.css) expects from the page ---------- */
.pc-table table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.pc-table td { border-top: 1px solid var(--line); vertical-align: top; } .pc-table td:last-child { text-align: right; color: var(--muted); white-space: nowrap; }
.card[data-instant] { transition: none; }

@media (hover: hover) and (pointer: fine) {
  .k-iconbtn:hover { background: var(--tint); color: var(--text); }
  .k-btn:not(.is-primary):hover { box-shadow: var(--e2); }
  .k-btn.is-primary:hover { background: color-mix(in oklch, var(--brand) 90%, white); }
  .side .k-btn:hover { background: white; }
  .k-chip:hover { background: color-mix(in oklch, var(--text) 11%, var(--surface)); }
  .k-mini.is-primary:hover { background: color-mix(in oklch, var(--brand) 90%, white); }
  .k-seg a:not([aria-current]):hover { color: var(--text); }
  .nav a:not([aria-current]):hover, .nav button:hover, .soon a:not([aria-current]):hover, .me-btn:hover { color: var(--cream); background: rgb(255 255 255 / .08); }
  .menu :is(a, button):hover, .row:hover, .vt .gr:hover, button.field:hover, details.fold summary:hover { background: var(--hover); }
  .tog:hover { background: var(--tint); }
  button.field:hover .do { opacity: 1; }
  button.k-day.is-free:hover { background: var(--surface); box-shadow: var(--e1); color: var(--text); }
  .link-btn:hover { text-decoration-color: currentColor; }
  a.k-day:not([data-state=confirmed], [data-state=draft]):hover { box-shadow: var(--e2); }
  a.k-day[data-state=confirmed]:hover { background: color-mix(in oklch, var(--brand) 90%, white); }
  .card[data-covered]:hover { background: var(--surface); }
  .card[data-covered]:hover .card-head { color: var(--text); }
}
@media (pointer: coarse) {
  .k-iconbtn { width: 44px; height: 44px; } .k-btn { height: 44px; padding: 0 16px; } .k-seg a { height: 36px; }
  .k-chip { height: 36px; padding: 0 14px; } .k-chip::before { content: ""; position: absolute; inset: -4px 0; }
  .field { min-height: 44px; } .field .do { opacity: 1; }
  .k-mini { height: 36px; padding: 0 14px; }
  .nav a, .nav button, .soon a, .menu :is(a, button), .sub, .fold-btn, details.fold summary, .tog { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .card, .card[data-leaving], .card[data-covered], .menu, .hc { transform: none; }
  @starting-style { .card { transform: none; } }
  .k-seg[data-from] i, .k-month[data-from], [data-changed] .k-brief .fill, [data-changed] .bar rect, .pc-bar.is-armed, .k-day.is-picked .k-mini, .pick-bar { animation: none; }
  @keyframes page { from { opacity: 0; } }
  [data-changed] { animation: none; background-color: color-mix(in oklch, var(--brand-ink) 12%, transparent); }
  .kids { transition: none; }
}
@media (max-width: 859.98px) {
  :root { --side: 0px; }
  .app { display: block; }
  .side { position: sticky; flex-flow: row wrap; align-items: center; gap: 2px 8px; height: auto; padding: 10px 12px 6px 16px; }
  .brand { padding: 0; } .brand small, .soon, .side .k-btn, .nav kbd, .nav small, .me-btn > span:nth-child(2), .me-btn > .k-icon { display: none; }
  .k-logo { height: 12px; }
  .nav { order: 3; display: flex; flex-basis: 100%; gap: 2px; margin-left: -8px; }
  .nav a, .nav button { width: auto; } .nav .k-icon { display: none; }
  .me { margin: 0 0 0 auto; } .me-btn { width: auto; min-height: 44px; padding: 0 4px; }
  .menu.is-up { left: auto; right: 0; top: calc(100% + 6px); bottom: auto; transform-origin: top right; }
  .main { padding: 0 16px 160px; }
  .head { padding: 24px 0 16px; } h1 { font-size: 24px; }
  /* On a phone every row is two lines: the title and one thing beside it, then one quiet line. */
  .row.b, .row.v { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; min-height: 56px; padding: 8px 16px; }
  .row:is(.b, .v) > * { display: none; }
  .row:is(.b, .v) > .row-link, .row:is(.b, .v) > .two { display: block; grid-area: 1 / 1; }
  .row:is(.b, .v) > .two { display: grid; }
  .row:is(.b, .v) > .p2 { display: inline-flex; grid-area: 1 / 2; justify-self: end; }
  .row:is(.b, .v) > .p3 { display: block; grid-area: 2 / 1 / 3 / 3; font-size: 12px; color: var(--muted); text-align: left; justify-self: start; }
  .row:is(.b, .v):has(> .two) > .p3 { display: none; }
  /* On a phone a card is a sheet over everything, the red bar too. */
  .stack { z-index: 7; }
  .pc-dock { z-index: 8; }
  .cols { display: none; }
  .row.sub { display: flex; gap: 10px; padding: 0 16px; } .row.sub::before, .sub .c-stage, .sub .c-del, .sub .bar { display: none; }
  .s-name { flex: 1; padding-left: 0; } .sub > .pb { display: grid; }
  .facts .gh, .facts .gr { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } .facts .gh > :last-child { display: none; } .facts .gr > .c-who { grid-column: 1 / -1; margin-top: 6px; }
  .vt .gh { display: none; } .vt .gr { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; } .vt .gr > .c-two, .vt .gr > .blank { justify-self: end; text-align: right; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sched { padding: 14px; }
  .k-day.is-picked .k-mini { display: none; } .pick-bar { display: flex; width: 100%; animation: pick 220ms var(--ease-out); }
  .pick-bar .k-mini { height: 44px; padding: 0 18px; font-size: 14px; }
  .card { width: 100%; top: calc(max(8px, env(safe-area-inset-top)) + var(--depth) * 48px); }
  .card-head { min-height: 48px; padding-left: 16px; } .card-body { padding-inline: 16px; }
  .k-month { gap: 2px; } .k-dow { padding-left: 0; text-align: center; }
  .k-day { min-height: 44px; padding: 4px 0; align-items: center; justify-content: center; border-radius: 8px; }
  .k-day-t, .k-day.is-today .k-day-n::after { display: none; }
}

/* ---------- What the prototype left out (pm/screen-brief.md, gap 12) ---------- */
/* The practice bar: above everything, full width. The red menu and the cards start under it. */
.is-practice { --stick: 34px; }
.practice { position: sticky; top: 0; z-index: 9; display: flex; align-items: center; justify-content: center; gap: 6px; height: var(--stick); padding: 0 16px; font-size: 13px; color: var(--practice); background: color-mix(in oklch, var(--practice) 12%, var(--bg)); box-shadow: inset 0 calc(-1 * var(--hair)) 0 color-mix(in oklch, var(--practice) 45%, transparent); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; padding: 8px 12px; border-radius: 8px; background: var(--surface); box-shadow: var(--e3); }
.note.is-warn { --tone: var(--warn); } .note.is-danger { --tone: var(--danger); } .note.is-info { --tone: var(--info); } .note.is-good { --tone: var(--good); }
.empty.pane { margin-top: 0; }
.wrap > .empty.pane, .wrap > .pane { margin-top: 0; }
.k-btn.wide { width: 100%; }
.k-btn[href] { color: inherit; }
/* The light and dark switch says what it will do; the script writes the word. */
.menu form { margin: 0; }
.menu a[aria-current] { font-weight: 500; }
/* A free day in the schedule is a link to the same month with that day picked. */
a.k-day.is-free { background: var(--tint); color: var(--muted); box-shadow: none; }
/* A record number in a card's head: pressed, it is copied. */
.copy { position: relative; flex: none; padding: 2px 4px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 12px; transition: color 120ms ease-out; }
.copy::after { content: "Copied"; position: absolute; right: 0; top: calc(100% + 4px); padding: 2px 8px; border-radius: 8px; background: var(--text); color: var(--bg); font-family: var(--font); font-size: 12px; white-space: nowrap; opacity: 0; transform: translateY(-2px); pointer-events: none; transition: opacity 120ms ease-out, transform 120ms ease-out; }
.copy[data-copied]::after { opacity: 1; transform: none; }
.card-in { display: contents; }
.log a.link { color: inherit; text-decoration-color: color-mix(in oklch, currentColor 30%, transparent); }
.clip { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--mono); font-size: 12px; }

/* Notes, People and Changes: the same table pattern as Bookings and Videos. */
.row.n, .cols.n { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) 104px; gap: 0 20px; }
.row.p, .cols.p { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 104px 104px; gap: 0 20px; }
.row.c { grid-template-columns: 52px minmax(0, 1fr) 160px; gap: 0 16px; }
.row.c .row-link { font-weight: 400; }
.row.c.is-undone .row-link { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in oklch, currentColor 45%, transparent); }
.row.p { min-height: 52px; }
.diff .gh, .diff .gr { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.2fr); align-items: start; }
.diff .gr { min-height: 40px; }
.diff .before { color: var(--muted); }
.metaline + .prose { margin-top: 16px; }
@container list (max-width: 699.98px) {
  .row.n, .cols.n { grid-template-columns: minmax(0, 1fr) 96px; } .row.n > :nth-child(2), .cols.n > :nth-child(2) { display: none; }
  .row.p, .cols.p { grid-template-columns: minmax(0, 1fr) 96px; } .row.p > :is(:nth-child(2), :nth-child(4)), .cols.p > :is(:nth-child(2), :nth-child(4)) { display: none; }
  .row.c { grid-template-columns: 52px minmax(0, 1fr); } .row.c > :last-child { display: none; }
}

/* The jump box ("/", Ctrl or Cmd+K): the look of a menu, in the middle at the top. */
.jumper { width: min(560px, calc(100vw - 32px)); margin: 12vh auto 0; padding: 6px; border: 0; border-radius: 14px; background: var(--surface); color: var(--text); box-shadow: var(--e3); }
.jumper::backdrop { background: light-dark(rgb(40 18 12 / .2), rgb(0 0 0 / .45)); }
.jumper input { width: 100%; height: 40px; padding: 0 10px; border: 0; border-bottom: var(--hair) solid var(--line); background: none; font-size: 15px; outline: 0; }
.jumper ul { display: grid; gap: 2px; margin-top: 6px; }
.jumper li a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 36px; padding: 8px; border-radius: 8px; }
.jumper li[aria-selected=true] a { background: var(--hover); }
.jumper li .small { flex: none; }
.jumper .none { padding: 8px; }

/* The sign-in pages: one card, the logo in the red. */
.signin-main { display: grid; place-content: center; gap: 0; min-height: 100dvh; padding: 24px 16px; }
.signin-band { display: grid; gap: 10px; width: min(400px, calc(100vw - 32px)); padding: 22px 24px 20px; border-radius: 18px 18px 0 0; background: var(--band); color: var(--cream); }
.signin-band small { font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: color-mix(in oklch, var(--cream) 72%, transparent); }
.signin-card { display: grid; gap: 12px; width: min(400px, calc(100vw - 32px)); padding: 22px 24px 24px; border-radius: 0 0 18px 18px; background: var(--surface); box-shadow: var(--e2); }
.signin-card h1 { font-size: 20px; }
.signin-card form { display: grid; gap: 8px; margin-top: 4px; }
.signin-card label { font-size: 13px; font-weight: 500; color: var(--muted); }
.signin-card input[type=email] { height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--sunken); box-shadow: inset 0 0 0 1px var(--line); outline: 0; }
.signin-card input[type=email]:focus-visible { box-shadow: inset 0 0 0 1.5px var(--brand-ink); }
.signin-card .k-btn { margin-top: 8px; height: 40px; }
.signin-card .note { margin-top: 0; }
@media (pointer: coarse) { .signin-card input[type=email] { font-size: 16px; height: 44px; } .copy { min-height: 44px; } }
@media (hover: hover) and (pointer: fine) {
  .copy:hover { color: var(--text); }
  a.k-day.is-free:hover { background: var(--surface); box-shadow: var(--e1); color: var(--text); }
}
@media (max-width: 859.98px) {
  .practice { font-size: 12px; }
  .stack { inset: var(--stick) 0 0 0; }
  .row.n, .row.p, .row.c { padding: 8px 16px; }
}

/* ---------- The intro: cards to swipe on first sign-in (screen/intro.mjs) ---------- */
.intro { position: fixed; inset: 0; z-index: 7; display: grid; place-items: center; padding: 24px; }
.intro-scrim { position: absolute; inset: 0; background: light-dark(rgb(40 18 12 / .32), rgb(0 0 0 / .6)); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); transition: opacity 180ms ease-out; }
.intro-sheet { position: relative; display: flex; flex-direction: column; width: min(440px, 100%); max-height: calc(100dvh - 48px); overflow: hidden; border-radius: 18px; background: var(--surface); box-shadow: var(--e3); animation: intro-in 340ms var(--ease) both; }
@keyframes intro-in { from { opacity: 0; transform: translateY(32px); } }
.intro[data-leaving] .intro-sheet { opacity: 0; transform: translateY(20px); transition: transform 180ms ease-out, opacity 160ms ease-out; }
.intro[data-leaving] .intro-scrim { opacity: 0; }
.intro-track { display: flex; flex: 1; min-height: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; outline: 0; }
.intro-track::-webkit-scrollbar { display: none; }
.intro-card { flex: 0 0 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-bottom: 4px; scroll-snap-align: center; scroll-snap-stop: always; text-align: center; }
.intro-art { display: block; width: 100%; height: auto; aspect-ratio: 240 / 150; margin-bottom: 18px; padding: 26px 44px 14px; background: color-mix(in oklch, var(--brand-tint) 70%, var(--surface)); }
.intro-card h2 { padding: 0 32px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.intro-card p { max-width: 34ch; padding: 0 32px; color: var(--muted); text-wrap: pretty; }
.intro-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 20px 20px 20px; }
.intro-skip { justify-self: start; background: transparent; box-shadow: none; color: var(--muted); }
.intro-next { justify-self: end; min-width: 92px; }
.intro-dots { display: flex; }
.intro-dot { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: none; }
.intro-dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background-color 150ms ease-out; }
.intro-dot[aria-selected=true]::after { background: var(--brand-ink); }
/* The drawings: line art in the screen's own colours. */
.intro-art .ia-line { stroke: color-mix(in oklch, var(--text) 82%, transparent); }
.intro-art .ia-faint { stroke: var(--line); }
.intro-art .ia-brand { stroke: var(--brand-ink); }
.intro-art .ia-good { stroke: var(--good); }
.intro-art .ia-bold { stroke-width: 3; }
.intro-art .ia-soft { fill: var(--sunken); }
.intro-art .ia-surface { fill: var(--surface); }
.intro-art .ia-tint { fill: var(--brand-tint); }
.intro-art .ia-good-fill { fill: color-mix(in oklch, var(--good) 14%, var(--surface)); }
.intro-art .ia-dot { fill: var(--brand-ink); stroke: none; }
.intro-art .ia-text { fill: var(--brand-ink); stroke: none; font: 600 11px/1 var(--font); letter-spacing: .1em; }
@media (hover: hover) and (pointer: fine) {
  .intro-skip:hover { background: var(--hover); color: var(--text); box-shadow: none; }
  .intro-dot:not([aria-selected=true]):hover::after { background: var(--muted); }
}
@media (max-width: 599.98px) {
  .intro { place-items: end stretch; padding: 0; }
  .intro-sheet { width: 100%; max-height: calc(100dvh - 24px); border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom); }
}
@media (prefers-reduced-motion: reduce) {
  .intro-sheet { animation-name: intro-fade; }
  .intro[data-leaving] .intro-sheet { transform: none; }
}
@keyframes intro-fade { from { opacity: 0; } }
