/* NPT exact landing port. Source: /NPT/styles.css + mock styles. */

/* =====================================================================
   National Power Trainer — Landing
   Editorial / operational. Bone + ink + crimson.
   ===================================================================== */

:root {
  /* Surface — synced with real app (--ow-bg etc.) */
  --bg: #f4f6f3;
  --bg-2: #eef3ef;
  --surface: #ffffff;
  --surface-hi: #f8faf8;
  --ink: #17211d;
  --ink-2: #18201d;
  --muted: #63706a;
  --soft: #7d8a84;
  --line: #dce3de;
  --line-soft: #e5ebe7;
  --line-strong: #c9d4ce;

  /* Brand accent — teal */
  --accent: #0f766e;
  --accent-press: #0c675f;
  --accent-soft: #92d3c2;
  --accent-tint: #dff5f1;
  --accent-deep: #0f3f39;

  --brand-mark-bg: #b7f1d7;
  --brand-mark-fg: #10362f;

  --gold: #b7791f;
  --gold-soft: #fff0cf;

  /* Status (kept soft, real tokens) */
  --ok: #12623f;
  --ok-soft: #dff4e8;
  --warn: #8b5b13;
  --warn-soft: #fff0ce;
  --info-soft: #eef5ff;
  --danger: #a42d29;
  --danger-soft: #ffe1df;

  /* Dark surfaces (sidebar, footer) */
  --dark-bg: #18201d;
  --dark-bg-2: #0f1715;
  --dark-line: rgba(255, 255, 255, 0.10);
  --dark-fg: #eef7f1;
  --dark-muted: #aebbb4;

  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --font-sans: Inter, "Noto Sans KR", "Pretendard Variable", Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Editorial scale */
  --fs-eyebrow: 11px;
  --fs-meta: 12px;
  --fs-row: 13px;
  --fs-body: 15px;
  --fs-lead: 18px;
  --fs-h3: 22px;
  --fs-h2: 34px;
  --fs-h1: 64px;
  --fs-display: 88px;
}

[data-theme="ink"] {
  --bg: #131318;
  --bg-2: #0d0d12;
  --surface: #1c1c23;
  --surface-hi: #23232c;
  --ink: #f1ecdd;
  --ink-2: #d8d3c1;
  --muted: #a09c8d;
  --soft: #807d70;
  --line: #2e2e38;
  --line-soft: #25252e;
  --line-strong: #3b3b48;
  --accent: #d75641;
  --accent-press: #c0432f;
  --accent-soft: #3a1810;
  --accent-tint: #2a120c;
  --accent-deep: #f4d9d1;
  --gold: #d6b154;
  --gold-soft: #3a2f10;
  --ok-soft: #1f3024;
  --warn-soft: #3a2c10;
  --info-soft: #1c2335;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02";
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: var(--surface-hi); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

.rule {
  height: 1px;
  background: var(--line);
  width: 100%;
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: 1px;
}
.meta { color: var(--muted); font-size: var(--fs-meta); }
.meta-mono { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }

.h1 {
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.96;
  color: var(--ink);
  font-feature-settings: "ss01";
}
.h1 .accent { color: var(--accent); }
.h1 em {
  font-style: normal;
  font-weight: 800;
  color: var(--accent);
}

.h2 {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  color: var(--ink);
}
.h3 {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--ink);
}
.lead {
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: 0;
  max-width: 56ch;
}

.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }

@media (max-width: 900px) {
  :root {
    --fs-h1: 44px;
    --fs-h2: 28px;
    --fs-h3: 19px;
    --fs-lead: 16px;
    --fs-body: 15px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-press); border-color: var(--accent-press); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }

.btn-link {
  height: auto; padding: 0; background: transparent; border: 0;
  color: var(--ink); border-bottom: 1px solid currentColor;
  border-radius: 0;
}
.btn-link:hover { color: var(--accent); }

.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 22px; font-size: 15px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: 0;
}
.brand-mark {
  width: 30px; height: 30px;
  display: inline-grid; place-items: center;
  background: var(--ink); color: var(--surface);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}
.brand-text { font-size: 15px; }
.brand-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 1px;
}
.nav-links {
  display: flex; align-items: center; gap: 24px;
  font-size: 14px;
}
.nav-links a {
  color: var(--ink-2);
  transition: color .15s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  display: flex; align-items: center; gap: 8px;
}
@media (max-width: 880px) {
  .nav-links .nav-text-link { display: none; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.sec-pad { padding: 96px 0; }
.sec-pad-lg { padding: 132px 0; }
.sec-pad-sm { padding: 64px 0; }
@media (max-width: 720px) {
  .sec-pad { padding: 72px 0; }
  .sec-pad-lg { padding: 88px 0; }
  .sec-pad-sm { padding: 48px 0; }
}

.sec-bg-2 { background: var(--bg-2); }
.sec-ink { background: var(--dark-bg); color: var(--dark-fg); }

/* New: simple section heads */
.screen-head {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 32px;
  max-width: 880px;
}
.screen-head .h2 { max-width: 22ch; }
.screen-sub {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  max-width: 58ch;
}

/* Schedule section — desktop calendar + mobile booking */
.screens-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 1080px) {
  .screens-grid { grid-template-columns: 1fr; }
}
.screen-main { min-width: 0; }
.screen-side {
  display: flex; flex-direction: column;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.screen-side-tag { text-align: center; }

.single-screen { width: 100%; }

/* Stat strip */
.stat-strip {
  background: var(--ink);
  color: var(--surface);
  padding: 48px 0;
}
.stat-strip .stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 900px) {
  .stat-strip .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .stat-strip .stat-grid { grid-template-columns: 1fr; }
}
.stat-strip .stat-grid > div {
  padding: 4px 24px;
  border-left: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-direction: column; gap: 4px;
}
.stat-strip .stat-grid > div:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 900px) {
  .stat-strip .stat-grid > div { border-left: 0; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.12); }
  .stat-strip .stat-grid > div:first-child,
  .stat-strip .stat-grid > div:nth-child(2) { border-top: 0; padding-top: 0; }
}
.stat-strip .stat-grid > div b {
  font-size: 17px; font-weight: 700; letter-spacing: 0;
}
.stat-strip .stat-grid > div span {
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  margin-bottom: 56px;
  align-items: end;
}
@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
}
.sec-head .left { display: flex; flex-direction: column; gap: 14px; }
.sec-head .right { color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 56ch; }

/* ---------- Tags / chips ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}
.tag.accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.tag.soft { background: var(--accent-tint); border-color: var(--accent-soft); color: var(--accent-deep); }
.tag.gold { background: var(--gold-soft); border-color: var(--gold); color: var(--gold); }
.tag.ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.tag.warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.tag.dim { background: transparent; color: var(--muted); border-color: var(--line); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.card-hi { background: var(--surface-hi); }

/* Reveal animation */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Marquee bar ---------- */
.marquee {
  display: flex; align-items: center; gap: 56px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 56px;
  animation: marq 40s linear infinite;
  flex-shrink: 0;
}
@keyframes marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee b { color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 24px; position: relative; }
@media (max-width: 720px) { .hero { padding: 40px 0 16px; } }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: end;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; max-width: 940px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.hero-actions .note {
  color: var(--muted);
  font-size: 13px;
  margin-left: 8px;
}
.hero-meta-row {
  display: flex; flex-wrap: wrap; gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-top: 12px;
}
.hero-meta-row .m {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.hero-meta-row .m b { color: var(--ink); font-size: 13px; font-weight: 600; }

/* ---------- Composite product visual ---------- */
.composite {
  position: relative;
  padding: 24px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-top: 40px;
}
.composite-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.7fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .composite-grid { grid-template-columns: 1fr; }
  .composite { padding: 16px; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-bg);
  color: var(--dark-fg);
  padding: 80px 0 32px;
}
.footer a { color: var(--dark-fg); }
.footer a:hover { color: var(--accent); }
.footer .muted { color: var(--dark-muted); }
.footer hr { border: 0; border-top: 1px solid var(--dark-line); margin: 40px 0 20px; }

/* ---------- Workflow flow ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .flow { grid-template-columns: 1fr; } }
.flow-step {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  min-height: 200px;
  position: relative;
  background: var(--surface);
}
.flow-step:last-child { border-right: 0; }
@media (max-width: 900px) {
  .flow-step:nth-child(2) { border-right: 0; }
  .flow-step { border-bottom: 1px solid var(--line); }
  .flow-step:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 540px) {
  .flow-step { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-step:last-child { border-bottom: 0; }
}
.flow-step .n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.flow-step h4 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: 0; }
.flow-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.flow-step .demo {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px dashed var(--line-strong);
  padding: 8px 10px;
  border-radius: 6px;
  line-height: 1.5;
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
}
.bento > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.bento .b-wide { grid-column: span 4; }
.bento .b-norm { grid-column: span 2; }
.bento .b-tall { grid-row: span 2; }
@media (max-width: 900px) {
  .bento .b-wide, .bento .b-norm, .bento .b-tall {
    grid-column: span 2; grid-row: auto;
  }
}
.bento h4 { margin: 0; font-size: 18px; letter-spacing: 0; font-weight: 700; }
.bento p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ---------- Pricing ---------- */
.price {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
@media (max-width: 900px) { .price { grid-template-columns: 1fr; } }
.price .col {
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.price .col + .col {
  border-left: 1px solid var(--line);
  background: var(--bg-2);
}
@media (max-width: 900px) {
  .price .col + .col { border-left: 0; border-top: 1px solid var(--line); }
}
.price-tag {
  display: flex; align-items: baseline; gap: 10px;
}
.price-num {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  color: var(--ink);
}
.price-cur { font-size: 18px; color: var(--muted); }
.price-unit { font-size: 14px; color: var(--muted); }
.price ul.feat {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
  font-size: 14px;
}
.price ul.feat li {
  display: grid; grid-template-columns: 18px 1fr;
  gap: 10px; align-items: start;
  color: var(--ink-2);
}
.price ul.feat li::before {
  content: "+";
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  cursor: pointer;
  font-size: 19px; font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .toggle {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 18px;
  background: var(--surface);
  color: var(--ink);
}
.faq details[open] summary .toggle { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.faq details[open] summary .toggle::before { content: "−"; }
.faq summary .toggle::before { content: "+"; line-height: 1; }
.faq details > p {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
  max-width: 70ch;
}

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 0;
}
@media (max-width: 720px) { .timeline { grid-template-columns: 1fr; } }
.tl-time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  padding: 22px 24px 22px 0;
  border-right: 1px solid var(--line);
  position: sticky; top: 80px;
}
@media (max-width: 720px) {
  .tl-time { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 0; position: static; }
}
.tl-items { display: flex; flex-direction: column; }
.tl-item {
  padding: 24px 0 24px 28px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.tl-item:last-child { border-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 30px;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--accent);
}
@media (max-width: 720px) {
  .tl-item { padding-left: 0; }
  .tl-item::before { display: none; }
}
.tl-item h4 { margin: 0 0 6px; font-size: 17px; font-weight: 700; letter-spacing: 0; }
.tl-item .when {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}
.tl-item p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.6; max-width: 60ch; }
.tl-item .quote {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--surface);
  border-left: 2px solid var(--accent);
  font-size: 13px;
  color: var(--ink);
  font-family: var(--font-mono);
}

/* ---------- Misc utility ---------- */
.flex { display: flex; }
.row { display: flex; align-items: center; gap: 12px; }
.col { display: flex; flex-direction: column; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.between { justify-content: space-between; }
.center { align-items: center; }
.grow { flex: 1; }
.hide-mobile { display: initial; }
@media (max-width: 720px) { .hide-mobile { display: none !important; } }
.show-mobile { display: none; }
@media (max-width: 720px) { .show-mobile { display: initial; } }


/* ===== Product mock styles — synced with real trainer-app ===== */

/* ---- Shared frame chrome ---- */
.mock {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 60px -28px rgba(23,33,29,.22),
              0 2px 8px rgba(23,33,29,.05);
  overflow: hidden;
  display: flex; flex-direction: column;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.45;
  width: 100%;
}
.mock-bar {
  height: 32px;
  background: linear-gradient(180deg, #e8efea, #dde7e0);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px;
  flex-shrink: 0;
}
.mock-bar .lights { display: flex; gap: 6px; }
.mock-bar .lights span {
  width: 11px; height: 11px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
}
.mock-bar .lights span:nth-child(1) { background: #e6695f; }
.mock-bar .lights span:nth-child(2) { background: #e0bb44; }
.mock-bar .lights span:nth-child(3) { background: #5fc06b; }
.mock-bar .url {
  flex: 1;
  height: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px;
  max-width: 360px;
  margin: 0 auto;
}
.mock-bar .url .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }

/* ---- Trainer shell (real app: 248px charcoal sidebar) ---- */
.trainer-shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  flex: 1; min-height: 0;
  background: var(--bg);
}
.trainer-shell .sidebar {
  background: var(--dark-bg);
  color: #cbd8d1;
  padding: 14px 10px;
  display: flex; flex-direction: column;
  gap: 12px;
  border-right: 1px solid rgba(255,255,255,0.06);
  min-width: 0;
}
.trainer-shell .sidebar .brand {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 6px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trainer-shell .sidebar .brand-mark {
  width: 34px; height: 34px;
  background: var(--brand-mark-bg);
  color: var(--brand-mark-fg);
  border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 900;
  letter-spacing: 0;
  flex-shrink: 0;
}
.trainer-shell .sidebar .brand-text { display: flex; flex-direction: column; min-width: 0; }
.trainer-shell .sidebar .brand-text b {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trainer-shell .sidebar .brand-text small {
  font-size: 9px;
  color: #aebbb4;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 1px;
}
.trainer-shell .sidebar .group-title {
  font-size: 10px;
  color: #8fa098;
  font-weight: 800;
  padding: 4px 8px 2px;
  letter-spacing: 0.02em;
}
.trainer-shell .sidebar .nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #cbd8d1;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}
.trainer-shell .sidebar .nav-item .ico { display: inline-flex; align-items: center; }
.trainer-shell .sidebar .nav-item.active {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}
.trainer-shell .sidebar .summary {
  margin-top: auto;
  padding: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
}
.trainer-shell .sidebar .summary small {
  color: #aebbb4; font-size: 9px; font-weight: 700;
  letter-spacing: 0.04em;
}
.trainer-shell .sidebar .summary b {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.trainer-shell .main-area {
  background: var(--bg);
  padding: 14px 16px 16px;
  display: flex; flex-direction: column; gap: 12px;
  min-width: 0;
  overflow: hidden;
}

/* ---- Real topbar ---- */
.r-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.r-topbar .left h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}
.r-topbar .left .meta-row {
  display: flex; align-items: center; gap: 6px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  flex-wrap: wrap;
}
.r-topbar .actions {
  display: flex; gap: 6px; align-items: center;
}
.r-act {
  display: inline-flex; align-items: center; gap: 5px;
  height: 28px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.r-act.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.r-act.dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Real badge */
.r-badge {
  display: inline-flex; align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  background: var(--info-soft);
  color: #1f3f63;
  font-family: var(--font-sans);
}
.r-badge.ok { background: var(--ok-soft); color: var(--ok); }
.r-badge.warn { background: var(--warn-soft); color: var(--warn); }
.r-badge.info { background: var(--info-soft); color: #1f3f63; }
.r-badge.accent { background: var(--accent-tint); color: var(--accent-deep); }
.r-badge.danger { background: var(--danger-soft); color: var(--danger); }

/* Real panel */
.r-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(23, 33, 29, 0.04);
  padding: 12px;
  display: flex; flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.r-panel .panel-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.r-panel .panel-header .left {
  display: flex; align-items: center; gap: 8px;
}
.r-panel .panel-header h2 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0;
}
.r-panel .panel-header .left span {
  font-size: 11px;
  color: var(--muted);
}

/* Visibility surface — like real app */
.vis-surface {
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 11.5px;
  display: flex; align-items: center; gap: 8px;
}
.vis-surface.public {
  background: #ecf8f4;
  border: 1px solid #92d3c2;
  color: #0f3f39;
}
.vis-surface.private {
  background: #fffdf7;
  border: 1px solid #d6c899;
  color: #5d4d22;
}
.vis-surface b {
  font-family: var(--font-mono); font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =====================================================================
   PT WORKSPACE MOCK (real: /trainer/pt)
   ===================================================================== */
.pt-mock {
  min-height: 580px;
}
.pt-content {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 2fr);
  gap: 12px;
  flex: 1; min-height: 0;
}

.pt-list-panel {
  display: flex; flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.pt-session-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11.5px;
  cursor: pointer;
}
.pt-session-row.active {
  background: var(--accent-tint);
  border-color: var(--accent-soft);
}
.pt-session-row .t {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.pt-session-row .meta b { font-size: 12.5px; font-weight: 700; }
.pt-session-row .meta i {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-style: normal;
  margin-top: 1px;
}

.pt-detail-panel {
  display: flex; flex-direction: column;
  gap: 10px;
  overflow: hidden;
  min-width: 0;
}
.pt-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: flex-end;
}
.pt-detail-head .who {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.pt-detail-head .who .when {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--muted); font-weight: 700;
}
.pt-detail-head .who b {
  font-size: 18px; font-weight: 800;
  letter-spacing: 0;
  display: flex; align-items: baseline; gap: 8px;
  flex-wrap: wrap;
}
.pt-detail-head .who b small {
  font-size: 11px; font-weight: 500; color: var(--muted);
}
.pt-detail-head .who .sub {
  font-size: 11px; color: var(--muted); margin-top: 2px;
}
.pt-detail-head .actions { display: flex; gap: 6px; flex-shrink: 0; }

.pt-chips {
  display: flex; gap: 4px; flex-wrap: wrap;
}
.pt-chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; font-weight: 600;
  padding: 3px 8px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}
.pt-chip .plus { color: var(--accent); font-weight: 800; }

.pt-exercise {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.pt-exercise .top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; flex-wrap: wrap;
}
.pt-exercise .name {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
}
.pt-exercise .name b { font-size: 13px; font-weight: 700; white-space: nowrap; }
.pt-exercise .name .grp {
  font-family: var(--font-mono); font-size: 10px;
  padding: 2px 6px;
  background: var(--bg-2);
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}
.pt-exercise .name .pr {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--accent); font-weight: 700;
  white-space: nowrap;
}
.pt-exercise .sets-list { display: grid; gap: 4px; }
.pt-set {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  background: var(--bg-2);
  border-radius: 5px;
  font-size: 11px;
}
.pt-set .label {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--muted); font-weight: 700;
}
.pt-set .val { font-weight: 600; }
.pt-set .val em { font-style: normal; color: var(--muted); font-weight: 500; }
.pt-set .delta {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
}
.pt-set .delta.up { color: var(--accent); }
.pt-set .delta.same { color: var(--muted); }

/* =====================================================================
   MEMBER PHONE CANVAS (real: phone-canvas in MemberShell)
   ===================================================================== */
.phone-mock {
  width: 100%;
  max-width: 320px;
  height: 640px;
  margin: 0 auto;
  background: #0e0e12;
  border: 8px solid #1b1c22;
  border-radius: 36px;
  box-shadow: 0 30px 60px -28px rgba(23,33,29,.4),
              0 4px 10px rgba(23,33,29,.06);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.phone-canvas {
  position: absolute; inset: 0;
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
/* Status — matches real: "19:42 NPT LTE" */
.phone-status {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink);
}
.phone-status strong {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}
.phone-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px 8px;
  gap: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.phone-header .brand {
  display: flex; align-items: center; gap: 8px;
  min-width: 0;
}
.phone-header .brand-mark {
  width: 28px; height: 28px;
  background: var(--brand-mark-bg);
  color: var(--brand-mark-fg);
  border-radius: 6px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 900;
}
.phone-header .brand-text {
  display: flex; flex-direction: column;
  min-width: 0;
}
.phone-header .brand-text b {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}
.phone-header .brand-text small {
  font-size: 9px;
  color: var(--muted);
  font-weight: 600;
}
.phone-header .actions {
  display: flex; gap: 4px;
}
.phone-header .ico-btn {
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700;
  color: var(--muted);
}

.phone-main {
  flex: 1;
  padding: 10px 14px 60px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}

/* Phone section — real .phone-section */
.phone-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: flex; flex-direction: column;
  gap: 6px;
  box-shadow: 0 12px 30px rgba(23, 33, 29, 0.04);
}
.phone-section.tint {
  background: #ecf8f4;
  border-color: #92d3c2;
}
.phone-section .panel-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.phone-section .panel-header .left {
  display: flex; align-items: center; gap: 6px;
}
.phone-section .panel-header h3 {
  margin: 0;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0;
}
.phone-section strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}
.phone-section .lead {
  font-size: 11.5px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* Phone bottom nav — real: 5 items */
.phone-bottom-nav {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 0 10px;
}
.phone-bottom-nav .nv {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}
.phone-bottom-nav .nv.active { color: var(--accent); }

/* member summary grid */
.member-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.member-summary-grid .tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
}
.member-summary-grid .tile small {
  font-size: 9px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.02em;
  display: block;
}
.member-summary-grid .tile b {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin-top: 2px;
  display: block;
}

/* Phone row */
.phone-row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 11px;
}
.phone-row:first-child { border-top: 0; padding-top: 2px; }
.phone-row .row-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
}
.phone-row .row-main b {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}
.phone-row .row-main span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}

/* Progress track */
.progress-track {
  background: var(--bg-2);
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.progress-track .bar {
  background: var(--accent);
  height: 100%;
  border-radius: 999px;
}


/* ===== mock styles 2 — synced with real /trainer/schedule & care-records ===== */

/* =====================================================================
   SCHEDULE WORKSPACE (real: /trainer/schedule)
   ===================================================================== */
.schedule-mock { min-height: 600px; }

.schedule-cal-panel {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column;
}
.schedule-cal-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  padding: 4px 4px 10px;
  flex-wrap: wrap;
}
.schedule-cal-head .left {
  display: flex; align-items: center; gap: 8px;
}
.schedule-cal-head h2 {
  margin: 0; font-size: 14px; font-weight: 800; letter-spacing: 0;
}
.schedule-cal-head .work-summary {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 1px;
}
.schedule-cal-head .toolbar {
  display: flex; align-items: center; gap: 6px;
}
.stepper {
  display: inline-flex; gap: 1px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  overflow: hidden;
}
.stepper button {
  background: transparent; border: 0; border-right: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  padding: 4px 9px;
  color: var(--ink); cursor: pointer;
}
.stepper button:last-child { border-right: 0; }
.view-switch {
  display: inline-flex; gap: 1px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  overflow: hidden;
}
.view-switch button {
  background: transparent; border: 0; padding: 4px 10px;
  font-size: 11px; font-weight: 700; color: var(--muted); cursor: pointer;
}
.view-switch button.on { background: var(--ink); color: #fff; }

/* Weekly calendar grid */
.wk-cal {
  display: grid;
  grid-template-columns: 52px repeat(7, 1fr);
  grid-template-rows: 44px repeat(12, 30px);
  flex: 0 0 auto;
  min-height: 0;
  height: 418px;
  background: var(--line);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.wk-cal > div { background: var(--surface); }
.wk-cal .day-hdr {
  padding: 6px;
  background: #f7faf8;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  display: flex; flex-direction: column; gap: 0;
  align-items: center;
}
.wk-cal .day-hdr.today { color: var(--accent); }
.wk-cal .day-hdr b { font-size: 13px; color: var(--ink); font-weight: 800; }
.wk-cal .day-hdr.today b { color: var(--accent); }

.wk-cal .time-col {
  padding: 3px 6px 0;
  font-family: var(--font-mono); font-size: 9px; color: var(--muted);
  text-align: right;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: flex-start; justify-content: flex-end;
  background: #f7faf8;
}
.wk-cal .cell {
  border-top: 1px solid var(--line-soft);
  min-height: 30px;
  position: relative;
}

/* Schedule event — kinds: session / blocked / request */
/* Make short events still readable: hide small detail under h: ~22px */
.wk-evt {
  position: absolute;
  left: 4px; right: 4px;
  border-radius: 5px;
  padding: 3px 6px;
  font-size: 10.5px;
  font-weight: 600;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid;
  min-width: 0;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(15, 23, 20, 0.08);
}
.wk-evt b {
  font-weight: 700; font-size: 11px; letter-spacing: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wk-evt small {
  display: block;
  font-family: var(--font-mono); font-size: 9px;
  font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* session — green tint w/ teal accent left border */
.wk-evt.session {
  background: #ecf8f4;
  border-color: #92d3c2;
  color: #0f3f39;
  border-left: 3px solid var(--accent);
}
.wk-evt.session small { color: var(--accent); }
/* request (pending) — amber */
.wk-evt.request {
  background: #fff8e8;
  border-color: #f0d68a;
  color: #8b5b13;
  border-left: 3px solid #b7791f;
}
.wk-evt.request small { color: #b7791f; }
/* blocked — striped */
.wk-evt.blocked {
  background: repeating-linear-gradient(
    45deg, var(--bg-2), var(--bg-2) 4px, var(--surface) 4px, var(--surface) 8px
  );
  border-color: var(--line-strong);
  color: var(--muted);
  font-weight: 500;
}
.wk-evt.blocked b { color: var(--muted); font-weight: 600; }
/* new (in-progress) */
.wk-evt.new {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent-press);
}
.wk-evt.new small, .wk-evt.new b { color: #fff; }
/* ghost (drag preview) */
.wk-evt.ghost {
  background: rgba(15, 118, 110, 0.10);
  border: 1.5px dashed var(--accent);
  color: var(--accent);
}
.wk-evt.ghost b { color: var(--accent); }

.wk-cal .now-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  z-index: 2;
}
.wk-cal .now-line::before {
  content: "";
  position: absolute;
  left: -3px; top: -3px;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 999px;
}

/* Schedule legend */
.sched-legend {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--muted); font-weight: 600;
  padding: 6px 0 0;
}
.sched-legend span {
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.sched-legend i {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 2px;
}
.sched-legend i.session { background: var(--accent); }
.sched-legend i.request { background: #b7791f; }
.sched-legend i.blocked { background: var(--line-strong); }

/* =====================================================================
   MEMBER BOOKING MOBILE (real: /member/schedule)
   ===================================================================== */
.bk-screen {
  position: absolute; inset: 0;
  background: var(--bg);
  display: flex; flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
  font-size: 12px;
}
.bk-hero {
  margin: 8px 14px 4px;
  padding: 12px;
  background: #ecf8f4;
  border: 1px solid #92d3c2;
  border-radius: 8px;
  display: flex; flex-direction: column; gap: 4px;
}
.bk-hero .head {
  display: flex; align-items: center; justify-content: space-between;
}
.bk-hero .head .ttl {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800;
}
.bk-hero strong {
  font-size: 15px; font-weight: 800; letter-spacing: 0;
}
.bk-hero p {
  margin: 0;
  font-size: 11px; color: var(--muted);
}

.bk-summary {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin: 0 14px;
}
.bk-summary .tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 8px;
}
.bk-summary .tile small {
  font-size: 9px; color: var(--muted); font-weight: 700;
  display: block;
}
.bk-summary .tile b {
  font-size: 12px; font-weight: 800; letter-spacing: 0;
  display: block;
  margin-top: 2px;
}

.bk-kind-tabs {
  margin: 8px 14px 4px;
  display: flex; gap: 1px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
}
.bk-kind-tabs button {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 7px 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  border-right: 1px solid var(--line);
}
.bk-kind-tabs button:last-child { border-right: 0; }
.bk-kind-tabs button.on {
  background: var(--ink);
  color: #fff;
}

.bk-week-strip {
  padding: 6px 14px 8px;
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.bk-week-strip .day {
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  gap: 1px;
  font-size: 10px;
}
.bk-week-strip .day .dow { font-family: var(--font-mono); font-size: 9px; color: var(--muted); font-weight: 700; }
.bk-week-strip .day .n { font-size: 13px; font-weight: 800; letter-spacing: 0; }
.bk-week-strip .day .dot {
  width: 4px; height: 4px; border-radius: 999px;
  background: var(--accent); margin-top: 1px;
}
.bk-week-strip .day .dot.empty { background: transparent; }
.bk-week-strip .day.on {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.bk-week-strip .day.on .dow, .bk-week-strip .day.on .n { color: #fff; }
.bk-week-strip .day.on .dot { background: #fff; }

.bk-slot-section {
  flex: 1;
  padding: 4px 14px 70px;
  overflow: hidden;
}
.bk-slot-section .grp-ttl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted); font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 2px 6px;
}
.bk-slot-section .slots {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
  margin-bottom: 4px;
}
.bk-slot {
  padding: 8px 0;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.bk-slot.gone {
  background: #f4f6f3;
  color: var(--muted);
  text-decoration: line-through;
  border-color: transparent;
}
.bk-slot.requested {
  background: #fff8e8;
  border-color: #f0d68a;
  color: #8b5b13;
}
.bk-slot.on {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent-press);
}

.bk-confirm {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px 14px;
  background: linear-gradient(180deg, rgba(244,246,243,0), var(--bg) 30%);
}
.bk-confirm-card {
  padding: 10px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-size: 11px;
}
.bk-confirm-card b { display: block; font-size: 13px; font-weight: 800; margin-top: 2px; }
.bk-confirm-card .sub { display: block; font-size: 10px; color: rgba(255,255,255,0.65); margin-top: 2px; }
.bk-send-btn {
  margin-top: 8px;
  width: 100%;
  height: 38px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}

/* =====================================================================
   CARE RECORDS WORKSPACE (real: /trainer/care-records)
   ===================================================================== */
.care-mock { min-height: 680px; }

/* Top — member picker */
.care-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr);
  gap: 10px;
}
.care-member-pick {
  display: flex; flex-direction: column; gap: 8px;
}
.care-member-pick .head {
  display: flex; align-items: center; gap: 8px; justify-content: space-between;
}
.care-member-pick .head h2 {
  margin: 0; font-size: 13px; font-weight: 800;
}
.care-member-pick .head .sub {
  font-size: 10.5px; color: var(--muted);
}
.member-trigger {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.member-trigger .left {
  display: flex; align-items: center; gap: 10px;
}
.member-trigger .av {
  width: 36px; height: 36px;
  background: var(--ink);
  color: var(--brand-mark-bg);
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 800;
}
.member-trigger .info b {
  font-size: 14px; font-weight: 800; letter-spacing: 0;
  display: block;
  white-space: nowrap;
}
.member-trigger .info small {
  font-size: 10.5px; color: var(--muted); font-weight: 600;
  white-space: nowrap;
}
.member-trigger .toggle {
  font-family: var(--font-mono); font-size: 10px; color: var(--muted); font-weight: 700;
}

/* Member quick stats */
.care-quick {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}
.care-quick .tile {
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.care-quick .tile small {
  font-size: 9px; color: var(--muted); font-weight: 700;
  letter-spacing: 0.04em; display: block;
}
.care-quick .tile b {
  font-size: 15px; font-weight: 800; letter-spacing: 0;
  display: block; margin-top: 2px;
}
.care-quick .tile.accent b { color: var(--accent); }

.care-body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 10px;
  flex: 1; min-height: 0;
}

/* Care calendar panel */
.care-cal-panel { display: flex; flex-direction: column; gap: 8px; }
.care-cal-hero {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 4px;
}
.care-cal-hero .who h3 {
  margin: 0;
  font-size: 18px; font-weight: 800; letter-spacing: 0;
}
.care-cal-hero .who span {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--muted);
  white-space: nowrap;
}
.care-view-switch { /* same as schedule view-switch */ }

.care-tabs {
  display: flex; gap: 4px; flex-wrap: wrap;
}
.care-tab {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  color: var(--muted);
}
.care-tab.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.care-tab .cnt {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  background: var(--bg-2);
  color: var(--muted);
  border-radius: 999px;
}
.care-tab.on .cnt { background: rgba(255,255,255,0.2); color: #fff; }

.care-cal-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.care-cal-toolbar .range {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
}
.care-cal-toolbar .legend {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.care-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.care-chip.pt { background: var(--accent-tint); border-color: var(--accent-soft); color: var(--accent-deep); }
.care-chip.personal { background: #eef5ff; border-color: #c9d6ea; color: #1f3f63; }
.care-chip.diet { background: #e2f6ea; border-color: #b6e0c5; color: #12623f; }
.care-chip.inbody { background: #fff0cf; border-color: #e6cc7e; color: #8b5b13; }

/* Calendar month grid */
.care-cal-grid.month {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.care-cal-grid .dow-cell {
  background: #f7faf8;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 800;
  color: var(--muted);
  padding: 4px 0;
  letter-spacing: 0.04em;
}
.care-cal-day {
  background: var(--surface);
  min-height: 64px;
  padding: 4px 5px;
  display: flex; flex-direction: column; gap: 3px;
  cursor: pointer;
  position: relative;
}
.care-cal-day.outside { background: #f7faf8; }
.care-cal-day.selected { background: var(--ink); color: #fff; }
.care-cal-day.selected .ddow { color: rgba(255,255,255,0.6); }
.care-cal-day.today .num { color: var(--accent); }
.care-cal-day.selected.today .num { color: #fff; }
.care-cal-day .num {
  font-size: 11px; font-weight: 800; letter-spacing: 0;
  display: flex; align-items: center; justify-content: space-between;
  white-space: nowrap;
  gap: 4px;
}
.care-cal-day .num .ddow {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
  font-weight: 600;
}
.care-cal-day.outside .num { color: var(--soft); }
.care-cal-day .day-chips {
  display: flex; flex-direction: column; gap: 1px;
  margin-top: auto;
}
.care-cal-day .day-chips .ch {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  display: inline-flex; align-items: center; gap: 3px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.care-cal-day .day-chips .ch.pt { background: var(--accent-tint); color: var(--accent-deep); }
.care-cal-day .day-chips .ch.personal { background: #eef5ff; color: #1f3f63; }
.care-cal-day .day-chips .ch.diet { background: #e2f6ea; color: #12623f; }
.care-cal-day .day-chips .ch.inbody { background: #fff0cf; color: #8b5b13; }
.care-cal-day.selected .day-chips .ch {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Right detail */
.care-detail {
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
  min-width: 0;
}
.care-detail .head {
  display: flex; align-items: center; gap: 8px;
}
.care-detail .head h3 {
  margin: 0; font-size: 13px; font-weight: 800;
  white-space: nowrap;
}
.care-detail .head small {
  font-size: 10.5px; color: var(--muted); font-weight: 600;
  white-space: nowrap;
}

.care-record-row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  border-left: 3px solid;
}
.care-record-row.pt { border-left-color: var(--accent); }
.care-record-row.personal { border-left-color: #365d87; }
.care-record-row.diet { border-left-color: #23845d; }
.care-record-row.inbody { border-left-color: #b7791f; }
.care-record-row .date {
  font-family: var(--font-mono);
  font-size: 10px; color: var(--muted); font-weight: 700;
  white-space: nowrap;
}
.care-record-row .date b { font-size: 11px; color: var(--ink); display: block; font-weight: 800; }
.care-record-row .date small { display: block; font-size: 9px; font-weight: 600; }
.care-record-row .body b {
  font-size: 12.5px; font-weight: 800; letter-spacing: 0;
}
.care-record-row .body p {
  margin: 4px 0 0;
  font-size: 11px; color: var(--ink-2);
  line-height: 1.45;
}
.care-record-row .body .meta {
  display: flex; gap: 4px; flex-wrap: wrap;
  margin-top: 6px;
}
.care-record-row .body .meta span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  padding: 1px 6px;
  background: var(--bg-2);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
}

.care-trend {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.care-trend .head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; font-weight: 800;
}
.care-trend .head small {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
}
.care-trend-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.care-trend-row .tr {
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.care-trend-row .tr small {
  font-size: 9px; color: var(--muted); font-weight: 700;
  letter-spacing: 0.04em; display: block;
}
.care-trend-row .tr b {
  font-size: 14px; font-weight: 800; letter-spacing: 0;
  display: block; margin-top: 2px;
  white-space: nowrap;
}
.care-trend-row .tr em {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}
.care-trend-row .tr em.warn { color: #b7791f; }
.care-trend-row .tr em.danger { color: var(--danger); }

/* Inbody chart inline */
.care-chart-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
.care-chart-card .ch-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 4px;
}
.care-chart-card .ch-head b { font-size: 12px; font-weight: 800; }
.care-chart-card .ch-head .legend {
  display: flex; gap: 8px;
  font-family: var(--font-mono); font-size: 9.5px; color: var(--muted);
}
.care-chart-card .ch-head .legend span { display: inline-flex; align-items: center; gap: 4px; }
.care-chart-card .ch-head .legend i {
  width: 8px; height: 2px;
  border-radius: 1px;
  display: inline-block;
}




.npt-exact { min-height: 100vh; }

.npt-exact .nav { top: 0; }

@media (max-width: 720px) {
  .npt-exact .screen-main {
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .npt-exact .screen-main > .mock {
    min-width: 720px;
  }
}

.npt-exact .nav-links .nav-cta .btn-primary {
  color: #fff;
}

.npt-exact .nav-links .nav-cta .btn-primary:hover {
  color: #fff;
}

.npt-exact #support .final-cta-login {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.npt-exact #support .final-cta-login:hover {
  background: #e8f2ee;
  border-color: #e8f2ee;
  color: var(--ink);
}

.npt-exact #support .final-cta-contact {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.npt-exact #support .final-cta-contact:hover {
  background: #e8f2ee;
  border-color: #e8f2ee;
  color: var(--ink);
}

/* ===== Mobile landing pass: keep the exact desktop design, but make the
   first viewport and product mocks behave like a real phone-first page. ===== */
.npt-exact .btn:focus-visible,
.npt-exact a:focus-visible,
.npt-exact summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .npt-exact {
    --fs-h1: 42px;
    --fs-h2: 27px;
    --fs-h3: 19px;
    --fs-lead: 15.5px;
  }

  .npt-exact .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .npt-exact .nav {
    background: color-mix(in oklab, var(--bg) 94%, transparent);
  }

  .npt-exact .nav-inner {
    height: 58px;
    gap: 10px;
  }

  .npt-exact .nav .brand {
    min-width: 0;
    gap: 8px;
  }

  .npt-exact .nav .brand-mark {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
  }

  .npt-exact .nav .brand-text {
    max-width: 116px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12.5px;
  }

  .npt-exact .nav .brand-text small {
    display: none;
  }

  .npt-exact .nav-links {
    gap: 0;
    min-width: max-content;
  }

  .npt-exact .nav-cta {
    gap: 6px;
  }

  .npt-exact .nav-cta .btn-sm {
    height: 34px;
    padding: 0 11px;
    font-size: 12.5px;
  }

  .npt-exact .nav-cta .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
  }

  .npt-exact .hero {
    padding: 30px 0 18px;
  }

  .npt-exact .hero-copy {
    gap: 16px;
  }

  .npt-exact .hero-copy > .row:first-child {
    gap: 8px;
  }

  .npt-exact .hero .meta-mono {
    display: block;
    width: 100%;
    font-size: 10.5px;
  }

  .npt-exact .h1 {
    max-width: 9ch;
    line-height: 0.98;
  }

  .npt-exact .lead {
    max-width: 34ch;
    line-height: 1.62;
  }

  .npt-exact .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    max-width: 420px;
  }

  .npt-exact .hero-actions .btn {
    justify-content: center;
    min-width: 0;
  }

  .npt-exact .hero-actions .btn-primary {
    grid-column: 1 / -1;
  }

  .npt-exact .hero-actions .note {
    display: none;
  }

  .npt-exact .hero-meta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    padding: 12px 0;
  }

  .npt-exact .hero-meta-row .m {
    display: grid;
    gap: 2px;
    font-size: 10.5px;
    white-space: normal;
  }

  .npt-exact .hero-meta-row .m b {
    font-size: 12px;
  }

  .npt-exact .hero .composite {
    margin-top: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .npt-exact .hero .composite-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .npt-exact .hero .composite-grid > .pt-mock {
    display: none;
  }

  .npt-exact .hero .composite-grid > div {
    align-items: flex-start;
  }

  .npt-exact .hero .phone-mock {
    width: min(100%, 300px);
    max-width: 300px;
    height: 560px;
    margin-left: 0;
    border-width: 7px;
    border-radius: 32px;
  }

  .npt-exact .marquee {
    padding: 12px 0;
    font-size: 10.5px;
  }

  .npt-exact .screens-grid {
    gap: 18px;
  }

  .npt-exact .screen-head {
    gap: 10px;
    margin-bottom: 22px;
  }

  .npt-exact .screen-main,
  .npt-exact .single-screen {
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .npt-exact .screen-main > .mock,
  .npt-exact .single-screen > .mock {
    min-width: 720px;
  }

  .npt-exact .screen-main::after,
  .npt-exact .single-screen::after {
    content: "좌우로 보기";
    display: inline-flex;
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
  }

  .npt-exact .screen-side {
    justify-content: flex-start;
  }

  .npt-exact .screen-side .phone-mock {
    width: min(100%, 304px);
    height: 610px;
  }

  .npt-exact .stat-strip {
    padding: 36px 0;
  }

  .npt-exact .price .col {
    padding: 26px 20px;
  }

  .npt-exact .price-num {
    font-size: 46px;
  }

  .npt-exact .faq summary {
    align-items: flex-start;
    gap: 14px;
    font-size: 16px;
    line-height: 1.45;
  }

  .npt-exact #support > .wrap {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    align-items: start !important;
  }

  .npt-exact #support .h2 {
    font-size: 39px !important;
    line-height: 1.06 !important;
  }

  .npt-exact #support .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .npt-exact .footer {
    padding: 56px 0 26px;
  }
}

@media (max-width: 420px) {
  .npt-exact {
    --fs-h1: 38px;
    --fs-h2: 25px;
  }

  .npt-exact .nav .brand-text {
    max-width: 82px;
    font-size: 11.5px;
  }

  .npt-exact .nav-cta .btn-sm {
    height: 32px;
    padding: 0 9px;
    font-size: 12px;
  }

  .npt-exact .nav-cta .btn-primary svg {
    display: none;
  }

  .npt-exact .hero-actions {
    grid-template-columns: 1fr;
  }

  .npt-exact .hero-actions .btn-primary,
  .npt-exact .hero-actions .note {
    grid-column: auto;
  }

  .npt-exact .hero .phone-mock,
  .npt-exact .screen-side .phone-mock {
    width: min(100%, 292px);
  }

  .npt-exact #support .h2 {
    font-size: 35px !important;
  }
}

@media (max-width: 340px) {
  .npt-exact .hero-meta-row {
    grid-template-columns: 1fr;
  }
}
