/* MKM client app — brand system lifted from mediakingsmen.com (2026-10-22):
   ink/coal/char/steel greys, bone text, Archivo expanded caps for display,
   Barlow for body, tracked micro-labels, square edges, hairline rules. */

@font-face { font-family: 'Archivo'; src: url(/fonts/archivo-var-latin.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(/fonts/barlow-400-latin.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(/fonts/barlow-500-latin.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(/fonts/barlow-600-latin.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --ink: #0a0a0a;
  --coal: #121212;
  --char: #1a1a1a;
  --steel: #242424;
  --bone: #ede8df;
  --dim: #a19c94;
  --mute: #8f8a82;
  --line: rgba(237, 232, 223, .14);
  --line2: rgba(237, 232, 223, .28);
  --go: #7fd99a;
  --disp: 'Archivo', Helvetica, Arial, sans-serif;
  --body: 'Barlow', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(20px, 4.5vw, 48px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: var(--bone); }
body {
  font: 400 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  min-height: 100dvh;
  overscroll-behavior-y: none;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--bone); color: var(--ink); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 var(--pad); }

/* type */
.disp { font-family: var(--disp); font-stretch: 125%; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; }
.label { font: 500 11px/1.2 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--mute); }

/* ── top bar ───────────────────────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 20;
  padding: calc(var(--safe-top) + 12px) 0 12px;
  background: rgba(10, 10, 10, .82);
  backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.bar .wrap { display: flex; align-items: center; gap: 12px; min-height: 36px; }
.bar h1 { flex: 1; min-width: 0; margin: 0; font: 700 13px/1 var(--disp); font-stretch: 125%; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand { flex: 1; min-width: 0; display: flex; align-items: center; }
.brand img { height: 15px; width: auto; }
.iconbtn {
  flex: none; width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; background: transparent; color: var(--bone); border-radius: 0;
  transition: opacity .2s var(--ease);
}
.iconbtn:active { opacity: .5; }
.iconbtn svg { width: 20px; height: 20px; }
.textbtn {
  border: 0; background: transparent; padding: 8px 0; color: var(--bone);
  font: 500 11px/1 var(--body); text-transform: uppercase; letter-spacing: .14em;
  border-bottom: 1px solid var(--line2);
}
.textbtn:active { opacity: .6; }

/* ── buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border: 1px solid var(--bone); border-radius: 0;
  background: var(--bone); color: var(--ink); text-decoration: none;
  font: 600 12px/1 var(--body); text-transform: uppercase; letter-spacing: .16em;
  transition: background .25s var(--ease), color .25s var(--ease), opacity .25s var(--ease);
}
.btn:active { opacity: .82; }
.btn[disabled] { opacity: .4; }
.btn.ghost { background: transparent; color: var(--bone); border-color: var(--line2); }
.btn.ghost:active { background: var(--char); }
.btn.block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ── sign in ───────────────────────────────────────────── */
.signin { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--safe-top) + 28px) var(--pad) calc(var(--safe-bottom) + 28px); }
.signin .mark { height: 14px; width: auto; }
.signin .box { align-self: center; width: 100%; max-width: 420px; margin: 0 auto; }
.signin h1 { font-size: clamp(34px, 10vw, 54px); margin: 0 0 18px; }
.signin p { color: var(--dim); margin: 0 0 34px; max-width: 34ch; }
.signin .foot { color: var(--mute); font-size: 13px; max-width: 420px; width: 100%; margin: 0 auto; border-top: 1px solid var(--line); padding-top: 16px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; min-height: 56px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--line2);
  background: transparent; font: 400 20px/1 var(--body); border-radius: 0;
  transition: border-color .25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #55514c; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--bone); }
.field input.code { letter-spacing: .5em; font: 600 30px/1 var(--disp); font-stretch: 125%; text-align: left; font-variant-numeric: tabular-nums; }
.err { color: #f0a59a; font-size: 14px; min-height: 22px; margin: 0 0 12px; }
.links { display: flex; gap: 22px; margin-top: 22px; }
.sample-code { border: 1px solid var(--line2); padding: 12px 14px; margin: -14px 0 26px; font-size: 14px; color: var(--dim); }
.sample-code b { color: var(--bone); font-family: var(--disp); font-stretch: 125%; letter-spacing: .2em; margin-left: 6px; }

/* ── banners ───────────────────────────────────────────── */
.banner { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.banner .label { flex: none; padding-top: 3px; color: var(--bone); }
.banner .x { margin-left: auto; border: 0; background: none; color: var(--mute); padding: 0 2px; font-size: 22px; line-height: 1; }
.share-ico { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; }

/* ── orders list ───────────────────────────────────────── */
.intro { padding: 34px 0 6px; }
.intro .label { margin-bottom: 10px; }
.intro h2 { font-size: clamp(30px, 8.5vw, 52px); margin: 0; }
.tools { position: sticky; top: calc(var(--safe-top) + 61px); z-index: 15; background: var(--ink); padding: 18px 0 14px; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.search { position: relative; display: block; }
.search input { width: 100%; min-height: 44px; padding: 0 0 0 30px; border: 0; border-bottom: 1px solid var(--line2); background: transparent; font-size: 17px; border-radius: 0; }
.search input:focus { outline: none; border-bottom-color: var(--bone); }
.search input::placeholder { color: var(--mute); }
.search input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.search svg { position: absolute; left: 0; top: 12px; width: 18px; height: 18px; color: var(--mute); }
.seg { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button {
  flex: none; border: 0; background: transparent; padding: 6px 0; white-space: nowrap;
  font: 500 11px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--mute);
  border-bottom: 1px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease);
}
.seg button[aria-pressed="true"] { color: var(--bone); border-bottom-color: var(--bone); }
.seg button .n { color: var(--mute); margin-left: 6px; }
select.agent {
  width: 100%; min-height: 44px; border: 0; border-bottom: 1px solid var(--line2); border-radius: 0;
  background: transparent; color: var(--bone); padding: 0; font-size: 15px; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
select.agent option { background: var(--coal); }

.month { margin: 40px 0 18px; display: flex; align-items: baseline; gap: 14px; }
.month::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cards { display: grid; gap: 34px 22px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .cards { grid-template-columns: 1fr 1fr 1fr; } }
.card { display: block; text-decoration: none; color: inherit; min-width: 0; }
.card .cover { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--coal); }
.card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s var(--ease); }
.card:active .cover img { transform: scale(1.02); opacity: .85; }
@media (hover: hover) { .card:hover .cover img { transform: scale(1.03); } }
.card .cover.empty { display: grid; place-items: center; border: 1px solid var(--line); background: var(--coal); aspect-ratio: 3 / 1; }
@media (min-width: 640px) { .card .cover.empty { aspect-ratio: 3 / 2; } }   /* match photo cards when side by side */
.card .cover.empty .label { color: var(--mute); }
.card .num { position: absolute; left: 12px; top: 12px; font: 500 10px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--bone); background: rgba(10,10,10,.6); padding: 6px 8px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.card .t { padding-top: 14px; }
.card .st { font: 700 17px/1.15 var(--disp); font-stretch: 112%; text-transform: uppercase; letter-spacing: .01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .sub { color: var(--dim); font-size: 14px; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }

.tag { display: inline-flex; align-items: center; gap: 7px; font: 500 10.5px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--dim); white-space: nowrap; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mute); }
.tag.ok { color: var(--bone); } .tag.ok::before { background: var(--go); }
.tag.wait::before { background: transparent; border: 1px solid var(--dim); }
.tag.due { color: var(--bone); } .tag.due::before { background: var(--bone); border-radius: 0; transform: rotate(45deg); }
.tag.plain::before { display: none; }

.empty-state { text-align: center; color: var(--dim); padding: 80px 16px; }
.empty-state .label { display: block; margin-bottom: 14px; }

/* ── order detail ──────────────────────────────────────── */
.hero { position: relative; margin: 0 calc(var(--pad) * -1); aspect-ratio: 4 / 3; max-height: 62vh; overflow: hidden; background: var(--coal); }
@media (min-width: 900px) { .hero { aspect-ratio: 21 / 9; } }
.hero img { width: 100%; height: 100%; object-fit: cover; animation: settle 1.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 0%, rgba(10,10,10,.6) 40%, transparent 78%); }
.head { position: relative; z-index: 1; margin-top: -92px; }
.hero.none { aspect-ratio: auto; height: 40px; }
.hero.none::after { display: none; }
.hero.none + .head { margin-top: 0; }
.head .label { margin-bottom: 12px; }
.head h2 { font-size: clamp(30px, 9vw, 60px); margin: 0; overflow-wrap: anywhere; }
.head .sub { color: var(--dim); margin-top: 10px; font-size: 15px; }
.head .meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; }
.actions { display: grid; gap: 10px; margin: 28px 0 0; }
@media (min-width: 560px) { .actions { grid-template-columns: 1fr 1fr; } }
.actions .note { grid-column: 1 / -1; font-size: 12px; color: var(--mute); margin: 4px 0 0; }
.lock { margin: 26px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: flex-start; }
.lock svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.lock b { display: block; font: 700 13px/1.3 var(--disp); font-stretch: 112%; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.lock span { color: var(--dim); font-size: 14px; }

.tabs { position: sticky; top: calc(var(--safe-top) + 61px); z-index: 10; background: var(--ink); margin-top: 34px; padding: 16px 0 0; border-bottom: 1px solid var(--line); }
.tabs .seg { gap: 26px; }
.tabs .seg button { padding: 0 0 14px; margin-bottom: -1px; }
.section { margin-top: 18px; }
.sechead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; min-height: 30px; }
.sechead .ctl { display: flex; gap: 20px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0 calc(var(--pad) * -1); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(4, 1fr); margin: 0; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(5, 1fr); } }
.tile { position: relative; aspect-ratio: 1; border: 0; padding: 0; background: var(--coal); overflow: hidden; border-radius: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--bone); opacity: 0; transition: opacity .2s var(--ease); pointer-events: none; }
.tile .check {
  position: absolute; right: 8px; bottom: 8px; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--bone); background: rgba(10,10,10,.35); display: none; place-items: center;
}
.selecting .tile .check { display: grid; }
.tile[aria-pressed="true"] img { transform: scale(.9); opacity: .9; }
.tile[aria-pressed="true"]::after { opacity: 1; }
.tile[aria-pressed="true"] .check { background: var(--bone); }
.tile .check svg { width: 13px; height: 13px; color: var(--ink); opacity: 0; }
.tile[aria-pressed="true"] .check svg { opacity: 1; }
.tile .lockmark { position: absolute; right: 8px; bottom: 8px; width: 16px; height: 16px; color: var(--bone); opacity: .8; }
.plans .grid { grid-template-columns: 1fr; gap: 22px; margin: 0; }
@media (min-width: 640px) { .plans .grid { grid-template-columns: 1fr 1fr; } }
.plans .tile { aspect-ratio: 4 / 3; background: #f6f3ee; }
.plans .tile img { object-fit: contain; }
.save-all { margin: 0 0 22px; }

.media-list { display: grid; gap: 34px; }
.vcard video, .vcard .poster { width: 100%; aspect-ratio: 16 / 9; background: #000; display: block; object-fit: cover; }
.vcard .row { display: flex; align-items: center; gap: 16px; padding: 16px 0 0; }
.vcard .row .t { flex: 1; min-width: 0; }
.vcard .row b { display: block; font: 700 15px/1.2 var(--disp); font-stretch: 112%; text-transform: uppercase; }
.vcard .row span { color: var(--mute); font-size: 13px; }
.vcard .btn { min-height: 44px; padding: 0 18px; }
.tour { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; padding: 0 0 22px; border-bottom: 1px solid var(--line); text-decoration: none; }
.tour img, .tour .ph { width: 120px; aspect-ratio: 3 / 2; object-fit: cover; background: var(--coal); }
.tour b { font: 700 15px/1.2 var(--disp); font-stretch: 112%; text-transform: uppercase; }
.tour span { color: var(--mute); font-size: 13px; }
.tour svg { width: 18px; height: 18px; color: var(--dim); }

/* ── selection bar ─────────────────────────────────────── */
.savebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 14px var(--pad) calc(var(--safe-bottom) + 14px);
  background: rgba(10, 10, 10, .9);
  backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-top: 1px solid var(--line);
  animation: rise .35s var(--ease) both;
}
@keyframes rise { from { transform: translateY(100%); } to { transform: none; } }
.savebar .in { max-width: 1040px; margin: 0 auto; display: grid; gap: 12px; }
.savebar .opts { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quality { display: inline-flex; gap: 16px; }
.quality button { border: 0; background: transparent; padding: 4px 0; font: 500 10.5px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--mute); border-bottom: 1px solid transparent; }
.quality button[aria-pressed="true"] { color: var(--bone); border-bottom-color: var(--bone); }
.progress { height: 1px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--bone); width: 0; transition: width .25s var(--ease); }
.pad-bottom { height: calc(var(--safe-bottom) + 150px); }

/* ── viewer ────────────────────────────────────────────── */
.viewer { position: fixed; inset: 0; z-index: 50; background: #000; display: flex; flex-direction: column; touch-action: pan-y; animation: fade .25s var(--ease) both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.viewer .top, .viewer .bottom { display: flex; align-items: center; gap: 10px; padding: 10px var(--pad); }
.viewer .top { padding-top: calc(var(--safe-top) + 8px); }
.viewer .bottom { padding-bottom: calc(var(--safe-bottom) + 16px); }
.viewer .bottom .btn { width: 100%; max-width: 420px; margin: 0 auto; }
.viewer .count { flex: 1; text-align: center; }
.viewer .stage { flex: 1; position: relative; overflow: hidden; display: grid; place-items: center; }
.viewer .stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.viewer .nav { position: absolute; top: 50%; transform: translateY(-50%); border: 0; width: 52px; height: 52px; background: transparent; color: var(--bone); display: none; }
@media (hover: hover) { .viewer .nav { display: grid; place-items: center; } }
.viewer .nav.prev { left: 8px; } .viewer .nav.next { right: 8px; }
.viewer .nav svg { width: 26px; height: 26px; }

/* ── toast & misc ──────────────────────────────────────── */
#toast {
  position: fixed; left: 50%; bottom: calc(var(--safe-bottom) + 28px); transform: translateX(-50%);
  z-index: 60; background: var(--bone); color: var(--ink); padding: 14px 20px; max-width: calc(100vw - 40px);
  font: 600 11px/1.4 var(--body); text-transform: uppercase; letter-spacing: .12em; text-align: center;
  animation: rise .3s var(--ease) both;
}
.loading { display: grid; place-items: center; padding: 120px 0; }
.loading i { width: 120px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loading i::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--bone); animation: slide 1.1s var(--ease) infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ── sample hand-off page ──────────────────────────────── */
.handoff main { max-width: 480px; margin: 0 auto; padding: calc(var(--safe-top) + 64px) var(--pad) 40px; }
.handoff h1 { font-size: 34px; margin: 14px 0 18px; }
.handoff p { color: var(--dim); margin: 0 0 30px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ── privacy & support pages ───────────────────────────── */
.doc main { max-width: 680px; padding-block: calc(var(--safe-top) + 40px) 80px; }
.doc .mark { height: 14px; width: auto; margin-bottom: 56px; }
.doc h1 { font-size: clamp(30px, 8vw, 48px); margin: 12px 0 28px; }
.doc h2 { font: 700 14px/1.3 var(--disp); font-stretch: 112%; text-transform: uppercase; letter-spacing: .03em; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--dim); }
.doc b { color: var(--bone); font-weight: 600; }
.doc a { color: var(--bone); }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 10px; }
.doc .foot { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }

/* ── change requests (1.1 preview) ─────────────────────── */
.changes { margin: 26px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.changes-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.changes-head b { display: block; font: 700 13px/1.3 var(--disp); font-stretch: 112%; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.changes-head span { color: var(--dim); font-size: 14px; }
.changes-head .textbtn { flex: none; white-space: nowrap; }
.reqs:empty { display: none; }
.reqs { display: grid; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.req { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline; }
.req .t { min-width: 0; }
.req .t b { display: block; font: 500 11px/1.2 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--mute); margin-bottom: 4px; }
.req .t span { display: block; overflow-wrap: anywhere; }
.req .when { color: var(--mute); font-size: 13px; white-space: nowrap; }

.sheet {
  position: fixed; inset: auto 0 0 0; z-index: 40; max-height: 92dvh; overflow-y: auto;
  padding: 18px var(--pad) calc(var(--safe-bottom) + 20px);
  background: rgba(10, 10, 10, .96);
  backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-top: 1px solid var(--line2);
  animation: rise .35s var(--ease) both;
}
.sheet:focus { outline: none; }     /* focused on open so Tab starts inside it */
.sheet .in { max-width: 520px; margin: 0 auto; display: grid; gap: 4px; }
.sheet .opts { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sheet h3 { font-size: 26px; margin: 0 0 22px; }
.sheet .field input { font-size: 17px; min-height: 48px; }
.sheet .field textarea { font: inherit; font-size: 17px; line-height: 1.4; min-height: 96px; padding: 10px 2px; resize: vertical; }
.sheet select.agent { margin-top: 2px; }
.sheet .note { font-size: 12px; color: var(--mute); margin: 12px 0 0; }

/* ── tap targets ───────────────────────────────────────── */
/* Text-style controls look 22–28px tall; an invisible margin brings the
   touch area to ~44px without changing the layout (agent UI test, 320px). */
.seg button, .textbtn, .banner .x, .quality button { position: relative; }
.seg button::after, .textbtn::after, .banner .x::after, .quality button::after { content: ""; position: absolute; inset: -10px -8px; }

/* ── reschedule / cancel (1.1) ── */
.actions .wide { grid-column: 1 / -1; }
.sheet .dim { color: var(--dim); font-size: 15px; margin: 0 0 22px; }
.days { display: flex; gap: 8px; overflow-x: auto; margin: 10px 0 26px; padding-bottom: 2px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; width: 64px; height: 84px; display: grid; place-content: center; gap: 4px; text-align: center;
  border: 1px solid var(--line2); border-radius: 0; background: transparent; color: var(--bone); padding: 0; }
.day b { font: 700 20px/1 var(--disp); font-stretch: 125%; }
.day[aria-pressed="true"] { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.day[aria-pressed="true"] .label { color: var(--ink); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 10px 0 22px; }
.slot { min-height: 44px; border: 1px solid var(--line2); border-radius: 0; background: transparent; color: var(--bone); font: 500 15px var(--body); }
.slot[aria-pressed="true"] { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.btn.danger { background: transparent; color: #f0a59a; border-color: #f0a59a; }
.sheet .in > * { min-width: 0; }     /* lets the day strip scroll inside the sheet instead of widening it */

/* ── passkeys ── */
.bar .tools-r { display: flex; gap: 4px; margin-left: auto; }
.signin .or { margin: 14px 0; max-width: none; text-align: center; color: var(--mute); font: 500 11px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; }
.signin .btn.ghost { color: var(--bone); }
.sheet .req .textbtn { flex: none; align-self: center; }
