/* Arun Martial Arts Canada: Discovery Session page */

:root {
  --ink: #15171b;
  --ink-2: #2a2d33;
  --muted: #5a5f68;
  --line: #e3dfd7;
  --paper: #ffffff;
  --tint: #f6f3ee;
  --red: #c8102e;
  --red-dark: #a50d26;
  --focus: #1f5fd1;
  --ok: #1d7a46;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --wrap: 1120px;
  --pad: 20px;
  --bar-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img, svg, iframe { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 760px; }
.center { text-align: center; justify-content: center; }

.icon { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(1.4) blur(8px); }
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-logo { width: 44px; height: auto; }
.brand-text { display: none; line-height: 1.15; }
.brand-name { display: block; font-family: var(--serif); font-weight: 600; font-size: 17px; }
.brand-place { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.header-nav { display: none; gap: 28px; font-size: 15px; }
.header-nav a { text-decoration: none; color: var(--ink-2); }
.header-nav a:hover { color: var(--red); }

.header-call {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 0 4px; text-decoration: none; font-weight: 600; font-size: 15px;
  color: var(--ink);
}
.header-call .icon { color: var(--red); }
.header-call-label { display: none; color: var(--muted); font-weight: 500; }

@media (min-width: 420px) { .brand-text { display: block; } }
@media (min-width: 900px) {
  .header-inner { height: 76px; }
  .brand-logo { width: 52px; }
  .header-nav { display: flex; }
  .header-call-label { display: inline; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  font: 600 16px/1 var(--sans); letter-spacing: .01em;
  border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-primary[disabled] { opacity: .65; cursor: progress; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-secondary .icon { color: currentColor; }
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-on-dark:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); padding: 0 12px; }
.btn-ghost:hover { color: var(--ink); text-decoration: underline; }
.btn-block { width: 100%; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .actions .btn { flex: 0 0 auto; } }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
h1 { font-family: var(--serif); font-size: clamp(36px, 8.6vw, 60px); letter-spacing: -.01em; line-height: 1.06; }
h2 { font-family: var(--serif); font-size: clamp(28px, 5.6vw, 40px); letter-spacing: -.005em; }
h3 { font-size: 19px; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 56px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.lede { font-size: 18px; color: var(--ink-2); margin-top: 18px; max-width: 34em; }
.motto {
  margin-top: 28px; padding-left: 14px; border-left: 3px solid var(--red);
  font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-2);
}

.hero-card {
  background: var(--tint); border: 1px solid var(--line); border-radius: 10px;
  padding: 24px;
}
.hero-card-title { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.hero-card-sub { font-size: 14px; color: var(--muted); margin: 4px 0 18px; }
.hero-card-note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Upcoming date tiles (hero) */
.date-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-height: 132px; }
.date-tiles > .btn { grid-column: 1 / -1; align-self: center; }
.tile-skeleton { border-radius: 8px; background: linear-gradient(90deg, #ebe7e0 0%, #f4f1ec 50%, #ebe7e0 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
.date-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 132px; padding: 12px 6px; border: 1.5px solid #cdc8bf; border-radius: 8px;
  background: #fff; color: var(--ink); font: inherit; cursor: pointer; text-align: center;
  transition: border-color .15s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.date-tile:hover { border-color: var(--ink); }
.date-tile:active { transform: scale(.98); }
.dt-dow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.dt-day { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.05; }
.dt-mon { font-size: 13px; color: var(--muted); }
.dt-time { font-size: 14px; font-weight: 600; margin-top: 6px; }


/* Phones: the sticky bar already holds Book and Call, so the dates come first. */
@media (max-width: 899px) {
  .hero { padding: 28px 0 40px; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy .actions { display: none; }
  .hero .eyebrow { order: 1; }
  .hero h1 { order: 2; }
  .hero .lede { order: 3; margin-bottom: 22px; }
  .hero-card { order: 4; padding: 18px; }
  .hero .motto { order: 5; }
}

@media (min-width: 900px) {
  .hero { padding: 88px 0 96px; }
  .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 64px; }
  .hero-card { padding: 32px; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: #f2f0ec; }
.section-dark .eyebrow { color: #ff8a9a; }
.section-head { margin-bottom: 36px; max-width: 40em; }
@media (min-width: 900px) { .section { padding: 104px 0; } .section-head { margin-bottom: 56px; } }

.pillars { display: grid; gap: 28px; }
.pillars li { padding-top: 20px; border-top: 2px solid var(--ink); }
.pillars h3 { margin-bottom: 10px; }
.pillars p { color: var(--ink-2); }
.tagline {
  margin-top: 48px; font-size: 13px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--muted);
}
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

.steps { display: grid; gap: 32px; counter-reset: none; }
.steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-content: start; }
.step-num {
  grid-row: span 2; font-family: var(--serif); font-size: 32px; line-height: 1;
  color: #ff8a9a; padding-top: 2px;
}
.steps h3 { margin-bottom: 8px; color: #fff; }
.steps p { color: #c9c6c0; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps li { grid-template-columns: 1fr; }
  .step-num { grid-row: auto; margin-bottom: 18px; font-size: 40px; }
}

/* Photos */
.photo { margin: 0 0 40px; border-radius: 10px; overflow: hidden; background: #e9e5de; }
.photo img { width: 100%; height: auto; aspect-ratio: 1600 / 868; object-fit: cover; }
.photo-tall img { aspect-ratio: 16 / 9; object-position: center 40%; }
#parents .photo img { aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .photo { margin-bottom: 56px; } }

/* Call nudge */
.talk-first { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.talk-first a { color: var(--ink); font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 3px; }
.final-cta .final-talk { margin-top: 6px; color: #c9c6c0; }

/* Testimonials */
.quotes { display: grid; gap: 16px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 18px; }
.quote .stars { display: flex; gap: 3px; margin-bottom: 14px; color: #e0a100; }
.quote .stars svg { width: 17px; height: 17px; fill: currentColor; }
.quote blockquote p { font-size: 15px; color: var(--ink-2); }
.quote .quote-lead { font-family: var(--serif); font-size: 20px; line-height: 1.4; color: var(--ink); margin-bottom: 12px; }
.quote figcaption { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--ink); }
.quote figcaption::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 10px; }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 24px; } .quote { padding: 28px; } }

/* Visit */
.visit-grid { display: grid; gap: 40px; }
.visit-list { margin-bottom: 28px; }
.visit-list > div { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.visit-list > div:last-child { border-bottom: 1px solid var(--line); }
.visit-list dt { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bring li { position: relative; padding-left: 18px; }
.bring li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--red); }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #e9e5de; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; } .map { aspect-ratio: 1 / 1; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 40px 20px 0; font-weight: 600; font-size: 17px; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 38em; }
.faq details .bring { padding: 0 0 12px; color: var(--ink-2); }
.faq details .bring + p { padding-bottom: 22px; }

/* Final CTA */
.final-cta p { margin-top: 14px; color: #c9c6c0; }
.final-cta h2 { color: #fff; }

/* Footer */
.site-footer { background: #0e0f12; color: #bdbab4; font-size: 15px; padding: 48px 0 24px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 20px; }
.footer-grid p + p { margin-top: 6px; }
.footer-name { font-family: var(--serif); font-size: 19px; color: #fff; }
.footer-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid #2a2c31; font-size: 13px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }

/* Sticky mobile action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(21, 23, 27, .06);
}
.action-bar .btn { min-height: 50px; padding: 0 12px; }
@media (min-width: 900px) { .action-bar { display: none; } }

/* ---------- Booking dialog ---------- */
body.dialog-open { overflow: hidden; }

.booking {
  padding: 0; border: 0; color: var(--ink); background: #fff;
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0;
  display: none; flex-direction: column;
}
.booking[open] { display: flex; }
.booking::backdrop { background: rgba(14, 15, 18, .55); }
@media (min-width: 640px) {
  .booking {
    width: 560px; height: auto; max-height: min(92vh, 860px); margin: auto;
    border-radius: 12px; box-shadow: 0 24px 64px rgba(0,0,0,.25);
  }
}

.booking-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: calc(16px + env(safe-area-inset-top)) 20px 12px;
}
@media (min-width: 640px) { .booking-head { padding: 24px 28px 12px; } }
.booking-kicker { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.booking-head h2 { font-size: 22px; margin-top: 2px; }
.icon-btn {
  width: 44px; height: 44px; margin: -6px -10px 0 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { background: var(--tint); }
.icon-btn .icon { width: 22px; height: 22px; }

.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 20px; }
.progress span { height: 3px; border-radius: 2px; background: var(--line); transition: background-color .2s ease; }
.progress span.on { background: var(--red); }
@media (min-width: 640px) { .progress { padding: 0 28px; } }
.booking.is-done .progress { visibility: hidden; }

.booking-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); }
@media (min-width: 640px) { .booking-body { padding: 24px 28px 28px; } }

.step-title { font-family: var(--serif); font-size: 24px; margin-bottom: 18px; }
.step-sub { color: var(--muted); margin: -10px 0 18px; font-size: 15px; }

.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 17px/1.3 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid #cdc8bf; border-radius: var(--radius);
  -webkit-appearance: none; appearance: none;
}
.field input:focus { border-color: var(--ink); outline: 3px solid rgba(31, 95, 209, .25); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field-hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.field-error { font-size: 14px; color: var(--red-dark); font-weight: 600; margin-top: 6px; }
.field-error:empty { display: none; }

.choices { display: grid; grid-template-columns: 1fr; gap: 8px; }
.choices-2 { grid-template-columns: 1fr 1fr; }
.choices-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .choices-4 { grid-template-columns: repeat(4, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 50px; padding: 8px 10px; border: 1.5px solid #cdc8bf; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; line-height: 1.2; background: #fff;
  transition: border-color .15s ease, background-color .15s ease;
}
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice-fixed {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 50px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: var(--radius);
  font-weight: 600;
}
.choice-fixed small { font-weight: 400; color: var(--muted); font-size: 14px; }

.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; margin-top: 8px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.check label { font-size: 15px; font-weight: 400; margin: 0; color: var(--ink-2); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.step-actions {
  position: sticky; bottom: calc(-24px - env(safe-area-inset-bottom)); z-index: 2;
  margin: 24px -20px 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .step-actions { bottom: -28px; margin: 24px -28px 0; padding: 14px 28px; } }
.step-actions.split { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.step-actions.split .btn-primary { flex: 1; max-width: 280px; }

/* Session list */
.sessions { display: grid; gap: 18px; }
.day-label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.slot { position: relative; display: block; }
.slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.slot span {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 56px; padding: 10px 16px; border: 1.5px solid #cdc8bf; border-radius: var(--radius);
  font-weight: 600; background: #fff;
}
.slot small { font-weight: 500; font-size: 14px; color: var(--muted); }
.slot input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--tint); }
.slot input:checked + span::after {
  content: ""; width: 10px; height: 18px; margin: -4px 4px 0 0;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); flex: none;
}
.slot input:checked + span small { display: none; }
.slot input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.state-msg { padding: 20px; border: 1px dashed #cdc8bf; border-radius: var(--radius); color: var(--ink-2); }
.state-msg .btn { margin-top: 14px; }
.skeleton { height: 56px; border-radius: var(--radius); background: linear-gradient(90deg, #f1eee8 0%, #f8f6f2 50%, #f1eee8 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skeleton, .tile-skeleton { animation: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Calendar (booking step 2) */
.cal-skeleton { height: 300px; }
.cal { border: 1px solid var(--line); border-radius: 10px; padding: 14px 12px 12px; }
.cal-title { font-weight: 600; font-size: 15px; text-align: center; margin-bottom: 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-head { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding-bottom: 2px; }
.cal-day {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 48px; border-radius: 8px; font: inherit; font-size: 15px; border: 1.5px solid transparent; padding: 0;
}
.cal-day.is-off { color: #b5b0a7; }
.cal-day.is-open { background: var(--tint); border-color: #e3dfd7; color: var(--ink); font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cal-day.is-open:hover { border-color: var(--ink); }
.cal-day.is-selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.cal-num { line-height: 1.1; }
.cal-mon { font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); line-height: 1; margin-bottom: 2px; }
.cal-day.is-selected .cal-mon { color: #fff; }
.cal-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); margin-top: 4px; }
.cal-day.is-selected .cal-dot { background: #fff; }
.cal-tag { font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-top: 2px; }
.cal-day.is-selected .cal-tag { color: #fff; }
.cal-day.is-off.is-today { text-decoration: underline; }
.cal-slots { margin-top: 18px; }
.step-foot { margin-top: 14px; font-size: 14px; color: var(--muted); }
.step-foot a { color: var(--ink); font-weight: 600; }

/* Summary */
.summary { background: var(--tint); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 22px; font-size: 15px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.summary-row dt, .summary-row .k { color: var(--muted); }
.summary-row .v { font-weight: 600; text-align: right; }
.summary button { margin-top: 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); text-decoration: underline; cursor: pointer; min-height: 32px; }

.alert { border-left: 3px solid var(--red); background: #fdf1f3; padding: 14px 16px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; }
.alert a { font-weight: 600; }

/* Done */
.done { text-align: left; }
.done:focus { outline: none; }
.done-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.done-mark .icon { width: 28px; height: 28px; fill: none; }
.done .step-title { margin-bottom: 6px; }
.done-ref { color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.done-ref strong { color: var(--ink); letter-spacing: .04em; }
.summary-list { border-top: 1px solid var(--line); margin-bottom: 16px; }
.summary-list > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary-list dt { color: var(--muted); }
.summary-list dd { font-weight: 600; }
.done-note { font-size: 15px; color: var(--ink-2); margin-bottom: 20px; }
.done-note:empty { display: none; }
.done-actions { display: grid; gap: 10px; }
.cal summary { list-style: none; }
.cal summary::-webkit-details-marker { display: none; }
.cal-menu { display: grid; gap: 0; margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cal-menu a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; text-decoration: none; font-weight: 600; }
.cal-menu a + a { border-top: 1px solid var(--line); }
.cal-menu a:hover { background: var(--tint); }
