/* =============================================================
   THE PHONE
   ============================================================= */

.demo-cta__stage {
  --dc-scale: 0.54;
  position: relative;
  flex: 0 0 auto;
  width:  calc(421px * var(--dc-scale));
  height: calc(886px * var(--dc-scale));
}

/* A warm pool of light behind the phone so it lifts off the panel. */
.demo-cta__stage::before {
  content: "";
  position: absolute;
  inset: -12% -16%;
  background: radial-gradient(closest-side, rgba(255,138,61,0.22), rgba(255,138,61,0) 74%);
  pointer-events: none;
}

.dc-phone {
  position: relative;
  z-index: 1;
  width: 421px;
  height: 886px;
  box-sizing: border-box;
  padding: 11px;
  border-radius: 56px;
  transform: scale(var(--dc-scale));
  transform-origin: top left;
  /* Brushed metal, not graphite: the stops are the highlight-and-shadow
     banding you get down the side of a real titanium frame, and it is what
     actually gives the phone an edge against the near-black panel. */
  background: linear-gradient(157deg,
    #f4f5f7 0%, #aeb4bd 13%, #7b818b 27%, #d6dae0 44%,
    #868c96 58%, #cfd4db 74%, #767c86 88%, #b6bcc5 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.55),
    inset 0 0 0 2px rgba(0,0,0,0.18),
    0 2px 3px rgba(255,255,255,0.10),
    0 40px 70px -28px rgba(0,0,0,0.85);
}

.dc-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 45px;
  background: #f0f1f4;
  overflow: hidden;
  /* The black gap between the metal band and the glass. */
  box-shadow: 0 0 0 3px #14161a;
}

.dc-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  height: 54px;
  padding: 0 27px 0 34px;
  background: #fff;
  color: #0f0f0f;
  font-size: 15.5px;
  font-weight: 700;
  z-index: 70;
}

.dc-statusbar__icons { display: flex; align-items: center; gap: 6px; }
.dc-statusbar svg { display: block; }

/* The area the screens live in — everything below the status bar. */
.dc-viewport {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #f0f1f4;
}

.dc-island {
  position: absolute; z-index: 90; top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 106px; height: 31px; border-radius: 999px;
  background: #05060a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.dc-home-bar {
  position: absolute; z-index: 90; bottom: 8px; left: 50%;
  transform: translateX(-50%);
  width: 128px; height: 5px; border-radius: 999px;
  background: rgba(0,0,0,0.30);
}

.dc-side { position: absolute; background: linear-gradient(90deg, #dfe3e8 0%, #8f959f 55%, #6b7079 100%); }
.dc-side--silent { left: -2px; top: 132px; width: 3px; height: 28px; border-radius: 2px 0 0 2px; }
.dc-side--volup  { left: -3px; top: 186px; width: 4px; height: 56px; border-radius: 2px 0 0 2px; }
.dc-side--voldn  { left: -3px; top: 254px; width: 4px; height: 56px; border-radius: 2px 0 0 2px; }
.dc-side--power  { right: -3px; top: 214px; width: 4px; height: 92px; border-radius: 0 2px 2px 0;
                   background: linear-gradient(270deg, #dfe3e8 0%, #8f959f 55%, #6b7079 100%); }

/* ---------- the finger ---------- */
.dc-finger {
  position: absolute;
  z-index: 80;
  top: 0; left: 0;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: rgba(17,17,17,0.30);
  border: 2.5px solid rgba(255,255,255,0.92);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: left 0.4s cubic-bezier(.4,0,.2,1),
              top  0.4s cubic-bezier(.4,0,.2,1),
              opacity 0.2s ease,
              transform 0.12s ease;
}

.dc-finger.is-on  { opacity: 1; }
.dc-finger.is-tap { transform: scale(0.68); background: rgba(17,17,17,0.5); }

/* =============================================================
   THE APP SCREENS
   Values copied from the demo app's css/app.css.
   ============================================================= */

.dc-app {
  --grad: linear-gradient(135deg, #ff8a3d 0%, #ff3d77 52%, #c534e0 110%);
  --acc: #ff385c;
  --acc-ink: #c2410c;
  --ink: #0f0f0f;
  --ink-2: #3a3a3a;
  --ink-3: #6b6b6b;
  --ink-4: #9a9a9a;
  --line: #e4e5e9;
  --chip: #e9ebf0;
  --bg: #f0f1f4;
  --card: #ffffff;
  --shadow: 0 6px 18px -8px rgba(17,24,39,0.13), 0 2px 4px -2px rgba(17,24,39,0.07);
}

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

/* Each screen stacks in the viewport; one is on at a time. */
.dc-scr {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  opacity: 0;
  transform: translateX(16%);
  transition: opacity 0.19s ease, transform 0.29s cubic-bezier(.32,.72,0,1);
  pointer-events: none;
}

.dc-scr.is-on {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Leaving backwards: the outgoing screen exits to the right instead. */
.dc-scr.is-back { transform: translateX(-14%); }

.dc-scroll { flex: 1 1 auto; min-height: 0; overflow: hidden; }

/* ---------- top bar ---------- */
.dc-topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}
.dc-badge {
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  box-shadow: 0 4px 11px -4px rgba(255,61,119,0.6);
}
.dc-badge svg { width: 17px; height: 17px; }
.dc-brand {
  font-weight: 800; font-size: 16px; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--ink);
}

/* ---------- bottom tab bar ---------- */
.dc-tabbar {
  display: flex; align-items: stretch; justify-content: space-around;
  padding: 4px 10px 25px;
  background: var(--card);
  border-top: 1px solid var(--line);
  flex: 0 0 auto;
}
.dc-tab {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 5px 0; color: var(--ink-4);
  transition: color 0.2s ease;
}
.dc-tab svg { width: 24px; height: 24px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dc-tab__ico {
  width: 44px; height: 32px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.22s ease;
}
.dc-tab--on { color: var(--acc); }
.dc-tab--on .dc-tab__ico {
  background: var(--grad);
  box-shadow: 0 6px 14px -5px rgba(255,61,119,0.6);
}
.dc-tab--on .dc-tab__ico svg { stroke: #fff; }

/* ---------- home: bulletin board ---------- */
.dc-bb-banner { background: var(--grad); padding: 18px 20px 20px; flex: 0 0 auto; }
.dc-bb-row { display: flex; align-items: center; justify-content: space-between; }
.dc-bb-label {
  font-size: 12px; font-weight: 800; letter-spacing: 1.3px;
  text-transform: uppercase; color: rgba(255,255,255,0.95);
}
.dc-bb-date {
  font-size: 11px; font-weight: 800; background: rgba(255,255,255,0.95);
  color: var(--acc-ink); padding: 5px 11px; border-radius: 999px; letter-spacing: 0.3px;
}
.dc-bb-greet { display: flex; align-items: center; gap: 11px; margin-top: 14px; }
.dc-bb-sun {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.dc-bb-sun svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2; fill: none; }
.dc-bb-hi { font-size: 22px; font-weight: 800; color: #fff; }

.dc-bb-list { padding: 16px; display: flex; flex-direction: column; gap: 14px; }

/* The note card, as js/main.js renders it: avatar and meta share the top row,
   the text wraps under both, and a photo goes full-bleed to the card edge.
   .dc-note__body is display:contents so meta and text are flex children of
   the card itself — that is what makes the wrap land where it does. */
.dc-note {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  column-gap: 11px; row-gap: 9px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 15px; box-shadow: var(--shadow);
  overflow: hidden;
}
.dc-note__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; background: var(--grad); color: #fff;
}
.dc-note__avatar svg {
  width: 17px; height: 17px; fill: none; stroke: #fff;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.dc-note__body { display: contents; }
.dc-note__meta { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.dc-note__tag {
  font-size: 12px; font-weight: 800; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--ink); flex: 1;
}
.dc-note__time { font-size: 11px; color: var(--ink-4); font-weight: 600; flex: 0 0 auto; }
.dc-note__text { flex-basis: 100%; min-width: 0; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.dc-note__img { flex: 0 0 auto; width: calc(100% + 30px); margin: 3px -15px -15px; }
.dc-note__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* ---------- features hub ---------- */
.dc-feat-head { display: flex; align-items: center; gap: 10px; padding: 20px 18px 11px; }
.dc-feat-label {
  font-size: 12px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--ink-4);
}
.dc-feat-count {
  margin-left: auto; width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff;
}
.dc-feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; padding: 0 16px; }
.dc-feat-card {
  display: flex; flex-direction: column; gap: 3px; background: var(--card);
  border: 1px solid var(--line); border-radius: 20px;
  padding: 17px 15px 16px; box-shadow: var(--shadow);
  transition: transform 0.16s ease;
}
.dc-feat-ico {
  width: 50px; height: 50px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 13px;
}
.dc-feat-ico svg { width: 25px; height: 25px; fill: none; stroke: #fff; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.dc-ico--ref   { background: linear-gradient(135deg, #fbbf24, #f97316);
                 box-shadow: 0 9px 18px -7px rgba(249,115,22,0.55); }
.dc-ico--act   { background: linear-gradient(135deg, #38bdf8, #6366f1);
                 box-shadow: 0 9px 18px -7px rgba(79,102,241,0.55); }
.dc-count--ref { background: linear-gradient(135deg, #fbbf24, #f97316);
                 box-shadow: 0 5px 12px -5px rgba(249,115,22,0.55); }
.dc-count--act { background: linear-gradient(135deg, #38bdf8, #6366f1);
                 box-shadow: 0 5px 12px -5px rgba(79,102,241,0.55); }
.dc-feat-name { font-size: 15px; font-weight: 800; color: var(--ink); }
.dc-feat-desc { font-size: 12px; color: var(--ink-3); line-height: 1.35; }

/* ---------- menu ---------- */
.dc-band {
  display: flex; align-items: center; gap: 10px; flex: 0 0 auto;
  padding: 13px 18px; background: var(--card); border-bottom: 1px solid var(--line);
}
.dc-band__ico {
  width: 30px; height: 30px; border-radius: 9px; background: var(--chip);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; color: var(--acc-ink);
}
.dc-band__ico svg { width: 18px; height: 18px; fill: currentColor; }
.dc-band__title { font-size: 17px; font-weight: 800; color: var(--ink); }

.dc-menu-types {
  display: flex; gap: 4px; margin: 14px 16px 2px; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; padding: 4px;
  box-shadow: var(--shadow); flex: 0 0 auto;
}
.dc-type {
  flex: 1; text-align: center; font-size: 13px; font-weight: 700;
  color: var(--ink-3); padding: 8px 0; border-radius: 9px;
  transition: all 0.2s ease;
}
.dc-type--on { background: var(--grad); color: #fff; box-shadow: 0 5px 13px -5px rgba(255,61,119,0.55); }

.dc-search {
  margin: 14px 16px 10px; display: flex; align-items: center; gap: 9px; flex: 0 0 auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 13px;
  padding: 12px 14px; font-size: 14px; color: var(--ink-3); box-shadow: var(--shadow);
}
.dc-search svg { width: 17px; height: 17px; stroke: var(--ink-3); fill: none; stroke-width: 2.2; flex: 0 0 auto; }

.dc-cats { display: flex; gap: 8px; padding: 2px 16px 12px; flex: 0 0 auto; overflow: hidden; }
.dc-cat {
  flex: 0 0 auto; font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px;
  background: var(--card); color: #262626; border: 1px solid var(--line);
  white-space: nowrap; box-shadow: var(--shadow); transition: all 0.25s ease;
}
.dc-cat--on {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 6px 15px -6px rgba(255,61,119,0.6);
}

.dc-menu-list { padding: 2px 16px 22px; }
.dc-items {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden;
  transition: opacity 0.16s ease;
}
.dc-menu-list.is-swapping .dc-items { opacity: 0; }
.dc-dish {
  display: flex; align-items: center; gap: 13px; padding: 9px 12px;
  border-bottom: 1px solid var(--line); transition: background 0.15s ease;
}
.dc-dish:last-child { border-bottom: none; }
.dc-dish.is-pressed { background: var(--chip); }
.dc-dish__img {
  width: 84px; height: 84px; border-radius: 13px; object-fit: cover;
  flex: 0 0 auto; background: var(--chip);
}
.dc-dish__body { flex: 1; min-width: 0; }
.dc-dish__name { font-weight: 700; font-size: 15px; color: var(--ink); }
.dc-dish__desc {
  font-size: 12.5px; color: var(--ink-3); margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dc-dish__price { font-weight: 800; font-size: 15px; color: var(--acc); align-self: center; padding-right: 4px; }

/* ---------- dish detail: slides up over the menu ---------- */
.dc-detail {
  position: absolute; inset: 0; z-index: 60; background: var(--card);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(101%);
  transition: transform 0.36s cubic-bezier(.16,1,.3,1);
}
.dc-detail.is-open { transform: translateY(0); }
.dc-detail__img { width: 100%; height: 260px; object-fit: cover; background: #1a1a1a; display: block; flex: 0 0 auto; }
.dc-detail__back {
  position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.96); z-index: 5;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.dc-detail__back svg { width: 19px; height: 19px; stroke: var(--ink); fill: none;
  stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.dc-detail__body { padding: 20px 20px 28px; display: flex; flex-direction: column; gap: 16px; }
.dc-detail__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dc-detail__name { font-weight: 800; font-size: 22px; line-height: 1.15; color: var(--ink); }
.dc-detail__price { font-weight: 800; font-size: 22px; color: var(--acc); white-space: nowrap; }
.dc-detail__desc { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.dc-detail__label {
  font-size: 11px; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 9px;
}
.dc-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.dc-chip {
  font-size: 12px; font-weight: 700; color: #fff;
  padding: 6px 12px; border-radius: 999px;
}
.dc-pair { display: flex; align-items: center; gap: 11px; background: var(--chip); border-radius: 12px; padding: 12px 13px; }
.dc-pair__ico {
  width: 34px; height: 34px; border-radius: 10px; background: var(--card);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--acc-ink);
}
.dc-pair__ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dc-pair__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dc-pair__txt strong { font-size: 14px; font-weight: 800; color: var(--ink); }
.dc-pair__txt span { font-size: 12px; color: var(--ink-3); }

/* =============================================================
   RESPONSIVE
   ============================================================= */

/* Tablet and down: one column, and everything centres — copy, the four
   pillars, and the two calls to action stacked one above the other. */
@media (max-width: 900px) {
  .demo-cta {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 36px 26px 40px;
    gap: 32px;
  }
  .demo-cta__copy {
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .demo-cta__list,
  .post-content .demo-cta__list { justify-items: start; }
  /* Stacked layout: keep the swoosh behind the phone, clear of the text. */
  .demo-cta {
    background-size: 100% 48%, 20px 20px, auto;
    background-position: center bottom, 0 0, 0 0;
  }
  .demo-cta__actions {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .demo-cta__stage { --dc-scale: 0.55; }
}

@media (max-width: 767px) {
  .demo-cta {
    margin: 44px 0;
    padding: 30px 20px 34px;
    border-radius: 18px;
  }
  .demo-cta__title,
  .post-content .demo-cta__title { font-size: 26px; }
  .demo-cta__list li,
  .post-content .demo-cta__list li { font-size: 15.5px; }
  .demo-cta__sub,
  .post-content .demo-cta__sub { font-size: 14.5px; margin-bottom: 24px; }
  .demo-cta__btn,
  .post-content .demo-cta__btn { padding: 15px 34px; }
  .demo-cta__stage { --dc-scale: 0.52; }
}

@media (max-width: 400px) {
  .demo-cta__stage { --dc-scale: 0.46; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-cta__pulse { animation: none; }
  .dc-scr, .dc-detail, .dc-finger, .dc-items { transition: none; }
}

/* The menu's own stage: the dish sheet slides up over THIS, so the top bar,
   the Food Menu band and the tab bar all stay put — same as the real app. */
.dc-menu-app {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* No JS, no phone — better an honest gap than an empty grey slab. */
.demo-cta__stage:empty { display: none; }


/* =============================================================
   10b. DEMO CTA — the deeper screens

   Features sections (which start collapsed, same as the real app),
   Recipes, the More sheet, the owner Dashboard and the SPLH panel
   with its trend graph. Same source as section 10: the demo app's
   css/app.css, css/dashboard.css and the inline SPLH block in its
   preview-dashboard.html.
   ============================================================= */

/* Scrolling is driven by a transform on this inner wrapper — the demo
   never takes a real scroll, so the walkthrough stays deterministic and
   no stray wheel event can desync it from the finger. */
.dc-scroll__in {
  transition: transform 0.62s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* ---------- features: collapsible sections ---------- */
.dc-feat-head { cursor: default; }
.dc-feat-chev {
  width: 18px; height: 18px; color: var(--ink-4); flex: 0 0 auto;
  transition: transform 0.25s ease;
}
.dc-feat-chev svg { width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; display: block; }
.dc-feat-section--shut .dc-feat-chev { transform: rotate(-90deg); }
.dc-feat-section--shut .dc-feat-grid { display: none; }
.dc-ico--trn   { background: linear-gradient(135deg, #a78bfa, #ec4899);
                 box-shadow: 0 9px 18px -7px rgba(168,85,247,0.55); }
.dc-count--trn { background: linear-gradient(135deg, #a78bfa, #ec4899);
                 box-shadow: 0 5px 12px -5px rgba(168,85,247,0.55); }

/* ---------- menu: category section headers ---------- */
.dc-cat-header {
  font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--ink-4); margin: 16px 2px 10px;
}
.dc-cat-section:first-child .dc-cat-header { margin-top: 4px; }

/* ---------- the More sheet ---------- */
.dc-backdrop {
  position: absolute; inset: 0; z-index: 70; background: rgba(0,0,0,0.38);
  opacity: 0; pointer-events: none; transition: opacity 0.28s ease;
}
.dc-backdrop.is-open { opacity: 1; }
.dc-sheet {
  position: absolute; z-index: 71; left: 0; right: 0; bottom: 0;
  background: var(--card); border-radius: 22px 22px 0 0; padding: 10px 16px 22px;
  transform: translateY(103%); transition: transform 0.3s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 -12px 40px -12px rgba(0,0,0,0.35);
}
.dc-sheet.is-open { transform: translateY(0); }
.dc-sheet__grab {
  width: 42px; height: 5px; border-radius: 999px; background: var(--line);
  margin: 2px auto 12px;
}
.dc-sheet__title {
  font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--ink-4); padding: 0 4px 8px;
}
.dc-sheet__item {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 6px; font-size: 15px; font-weight: 700; color: var(--ink);
  border-top: 1px solid var(--line);
}
.dc-sheet__item svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-3);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.dc-sheet__val { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.dc-sheet__item--danger { color: #ef4444; }
.dc-sheet__item--danger svg { stroke: #ef4444; }

/* ---------- dashboard ---------- */
.dc-crumb {
  display: flex; align-items: center; gap: 9px; flex: 0 0 auto;
  padding: 11px 16px; background: var(--card); border-bottom: 1px solid var(--line);
}
.dc-crumb__back {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 700; color: var(--acc-ink);
}
.dc-crumb__back svg { width: 14px; height: 14px; fill: none; stroke: currentColor;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.dc-crumb__now { font-size: 13px; font-weight: 700; color: var(--ink-4); }
.dc-crumb__now::before { content: "/"; margin-right: 8px; color: var(--line); }

.dc-dash-panel { padding: 18px 16px 0; }
.dc-dash-title { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.dc-dash-sub   { font-size: 12.5px; color: var(--ink-3); margin: 2px 0 16px; }

.dc-dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dc-dash-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
}
.dc-dash-band {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; min-height: 40px; color: #fff;
}
.dc-dash-band svg { width: 18px; height: 18px; fill: none; stroke: #fff;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dc-dash-band--gold  { background: var(--grad); }
.dc-dash-band--blue  { background: linear-gradient(135deg, #22a6f0 0%, #0369a1 100%); }
.dc-dash-band--green { background: linear-gradient(135deg, #34d399 0%, #059669 100%); }
.dc-dash-tag {
  font-size: 9px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,0.24); color: #fff;
}
.dc-dash-body { padding: 12px 14px 14px; }
.dc-dash-name { font-size: 14.5px; font-weight: 800; color: var(--ink);
  line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 3px; }
.dc-dash-desc { font-size: 11.5px; font-weight: 500; color: var(--ink-3); line-height: 1.3; }

/* ---------- SPLH ---------- */
.dc-splh { --track: #e6e7eb; padding: 16px 16px 0; }
.dc-splh-hero {
  background: var(--grad); border-radius: 16px; padding: 20px 16px 18px;
  text-align: center; box-shadow: var(--shadow); margin-bottom: 10px;
}
.dc-splh-hero__lbl {
  font-size: 11px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: rgba(255,255,255,.82);
}
.dc-splh-hero__val {
  font-size: 44px; font-weight: 800; color: #fff; line-height: 1.05;
  margin: 4px 0 3px; letter-spacing: -.025em;
}
.dc-splh-hero__sub { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.9); }

.dc-splh-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.dc-splh-stat { background: var(--card); border-radius: 14px; padding: 14px 8px;
  text-align: center; box-shadow: var(--shadow); }
.dc-splh-stat__val { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.dc-splh-stat__lbl { font-size: 11.5px; font-weight: 600; color: var(--ink-3); margin-top: 2px; }

.dc-splh-card {
  background: var(--card); border-radius: 16px; padding: 16px;
  box-shadow: var(--shadow); margin-bottom: 16px;
}
.dc-splh-card__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.dc-splh-card__title { font-size: 16px; font-weight: 800; color: var(--ink); }
.dc-splh-card__note { font-size: 12px; font-weight: 600; color: var(--ink-4); }
.dc-splh-trend { display: flex; align-items: flex-end; gap: 5px; height: 112px; }
.dc-splh-track {
  flex: 1 1 0; height: 100%; background: var(--track); border-radius: 7px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.dc-splh-fill {
  width: 100%; border-radius: 7px; min-height: 6px; height: 0;
  background: linear-gradient(180deg, #ff8a3d 0%, #ff3d77 100%);
  transition: height 0.58s cubic-bezier(.16,1,.3,1);
}
.dc-splh-axis { display: flex; gap: 5px; margin-top: 7px; }
.dc-splh-axis span { flex: 1 1 0; text-align: center; font-size: 11px; font-weight: 700; color: var(--ink-4); }

.dc-splh-hist-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dc-splh-hist-lbl {
  font-size: 12.5px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2);
}
.dc-splh-range { display: flex; gap: 2px; background: var(--track); border-radius: 999px; padding: 4px; }
.dc-splh-range span { font-size: 13px; font-weight: 700; color: var(--ink-3); padding: 7px 15px; border-radius: 999px; }
.dc-splh-range span.is-on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.dc-splh-hist { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.dc-splh-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 16px; border-top: 1px solid var(--line);
}
.dc-splh-row:first-child { border-top: 0; }
.dc-splh-row__day { font-size: 15px; font-weight: 800; color: var(--ink); }
.dc-splh-row__calc { font-size: 14px; color: var(--ink-2); margin-top: 3px; }
.dc-splh-row__note { font-size: 13.5px; color: var(--ink-4); margin-top: 3px; }
.dc-splh-row__val { font-size: 17px; font-weight: 800; color: var(--acc); white-space: nowrap; }
.dc-splh-foot { font-size: 12px; color: var(--ink-4); text-align: center; padding: 14px 0 20px; }

/* ---------- schedule (FOH / BOH) ---------- */
.dc-sch-head { background: var(--card); border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.dc-sch-band { display: flex; align-items: center; gap: 10px; padding: 13px 18px; }
.dc-sch-band__ico {
  width: 30px; height: 30px; border-radius: 9px; background: var(--chip);
  display: flex; align-items: center; justify-content: center; color: var(--acc-ink); flex: 0 0 auto;
}
.dc-sch-band__ico svg { width: 18px; height: 18px; }
.dc-sch-band__txt { font-size: 17px; font-weight: 800; color: var(--ink); }
.dc-sch-toolbar { padding: 4px 16px 14px; }
.dc-sch-nav {
  display: flex; gap: 4px; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 4px; box-shadow: var(--shadow);
}
.dc-sch-pill {
  flex: 1; text-align: center; font-size: 13px; font-weight: 700;
  color: var(--ink-3); padding: 9px 0; border-radius: 9px; transition: all 0.2s ease;
}
.dc-sch-pill--on { background: var(--grad); color: #fff; box-shadow: 0 5px 13px -5px rgba(255,61,119,0.55); }

.dc-sch-weeknav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 16px 6px;
}
.dc-sch-weekbtn {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto; box-shadow: var(--shadow);
}
.dc-sch-weekbtn svg { width: 16px; height: 16px; stroke: var(--ink); fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.dc-sch-weekmid { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.dc-sch-weeklbl { font-size: 14px; font-weight: 800; color: var(--ink); }
.dc-sch-today {
  font-size: 11px; font-weight: 800; letter-spacing: 0.4px;
  text-transform: uppercase; color: var(--acc-ink);
}

.dc-sch-week { display: flex; gap: 5px; padding: 12px 14px 4px; }
.dc-sch-daybtn { flex: 1; text-align: center; padding: 8px 0; border-radius: 12px; }
.dc-sch-daybtn__dow {
  font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--ink-4);
}
.dc-sch-daybtn__num { display: block; font-size: 15px; font-weight: 800; color: var(--ink); margin-top: 3px; }
.dc-sch-daybtn--today .dc-sch-daybtn__dow { color: var(--acc-ink); }
.dc-sch-daybtn--on { background: var(--grad); }
.dc-sch-daybtn--on .dc-sch-daybtn__dow,
.dc-sch-daybtn--on .dc-sch-daybtn__num { color: #fff; }

.dc-sch-days { padding: 8px 16px 22px; }
.dc-sch-title { font-size: 14px; font-weight: 800; color: var(--ink); padding: 10px 4px 12px; }
.dc-sch-shifts {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden;
}
.dc-sch-shift {
  display: grid; grid-template-columns: 1fr auto; column-gap: 12px;
  grid-template-areas: "name time" "pos time";
  padding: 14px 15px; border-bottom: 1px solid var(--line);
}
.dc-sch-shift:last-child { border-bottom: none; }
.dc-sch-shift__name { grid-area: name; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.dc-sch-shift__pos  { grid-area: pos; font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.dc-sch-shift__time { grid-area: time; align-self: center; font-size: 12.5px;
  font-weight: 800; color: var(--ink); white-space: nowrap; }


