/* 근무 캘린더 — 24시간 교대 매장용
   대시보드형: 옅은 회색 바탕 위 흰 카드, 왼쪽(휴대폰은 아래) 검은 메뉴 막대, 강조는 코랄 한 가지.
   버튼·필터는 알약 모양, 남은 양은 빗금으로. 근무 시간대 색(주간·오후·야간)과 상태 색은 그대로 둔다.
   숫자·영문은 Inter Tight, 한글은 기기 기본 서체. 야간 근무자를 위해 다크 모드. */

@font-face {
  font-family: 'Inter Tight';
  src: url(/fonts/inter-tight-latin.woff2) format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-ui: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', Pretendard, 'Noto Sans KR', 'Malgun Gothic', 'Segoe UI', sans-serif;
  --font-num: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;

  --paper: #eeeef2;
  --surface: #ffffff;
  --surface-2: #f5f5f8;
  --seg: #ebebf0;
  --ink: #141418;
  --ink-2: #55555f;
  --ink-3: #93939e;
  --line: #ededf1;
  --line-2: #dcdce3;
  --btn: #141418;
  --on-btn: #ffffff;
  --rail: #141418;
  --rail-ink: #8b8b96;
  --accent: #db4a35;
  --accent-2: #f27a62;
  --accent-soft: #fde9e5;
  --accent-ink: #c8402c;
  --sun: #e5484d;
  --sat: #2f6feb;
  --warn: #dc6a00;
  --warn-soft: #fff0e0;
  --danger: #d6293a;
  --danger-soft: #fde7ea;
  --ok: #138a4d;
  --ok-soft: #e2f4e9;
  --hatch-line: #d1d1d9;

  --day-bg: #fff0d2; --day-fg: #7a4a00; --day: #f2a51f;
  --eve-bg: #d9f2ee; --eve-fg: #075f59; --eve: #14a194;
  --night-bg: #2a2c6e; --night-fg: #ffffff; --night: #3b3eb0;

  --r-sheet: 28px;
  --r-card: 24px;
  --r-ctl: 14px;
  --r-chip: 8px;
  --shadow-card: 0 1px 2px rgba(20, 20, 30, 0.04);
  --shadow-pop: 0 18px 50px rgba(20, 20, 30, 0.18);
  --nav-h: 64px;
  --hatch: repeating-linear-gradient(135deg, var(--hatch-line) 0 1.5px, transparent 1.5px 6px);
  color-scheme: light;
}
/* 다크 모드 — 앞의 것이 이긴다
   1) 설정 화면 스위치로 이 기기에서 직접 고른 값: <html data-mode="dark|light"> (theme.js)
   2) 앱을 감싼 화면이 알려 준 값: <html data-theme="dark|light"> (예: 미리보기 화면)
   3) 기기 화면 설정 (prefers-color-scheme)
   밝은 색은 위 :root 기본값이고, 아래 두 블록(같은 값)이 어두운 색을 덮는다. */
@media (prefers-color-scheme: dark) {
  :root:not([data-mode]):not([data-theme=light]) {
    --paper: #0e0e11; --surface: #17171c; --surface-2: #1f1f25; --seg: #24242b;
    --ink: #f1f1f4; --ink-2: #aaaab4; --ink-3: #72727c; --line: #25252c; --line-2: #35353e;
    --btn: #f1f1f4; --on-btn: #0e0e11; --rail: #1c1c22; --rail-ink: #7d7d88;
    --accent: #db4a35; --accent-2: #f27a62; --accent-soft: #3a1d19; --accent-ink: #ff8a76;
    --sun: #ff6b70; --sat: #6d9dff; --warn: #ff9a3d; --warn-soft: #3a2410; --danger: #ff5c66; --danger-soft: #3c171b; --ok: #4fd18b; --ok-soft: #12301f;
    --hatch-line: #3a3a44;
    --day-bg: #3a2b0c; --day-fg: #ffc85c; --eve-bg: #0b3330; --eve-fg: #5fe0d4; --eve: #26c2b5; --night-bg: #4245c9; --night: #6f72ff;
    --shadow-card: none; --shadow-pop: 0 18px 50px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
  }
}
:root[data-mode=dark],
:root:not([data-mode])[data-theme=dark] {
  --paper: #0e0e11; --surface: #17171c; --surface-2: #1f1f25; --seg: #24242b;
  --ink: #f1f1f4; --ink-2: #aaaab4; --ink-3: #72727c; --line: #25252c; --line-2: #35353e;
  --btn: #f1f1f4; --on-btn: #0e0e11; --rail: #1c1c22; --rail-ink: #7d7d88;
  --accent: #db4a35; --accent-2: #f27a62; --accent-soft: #3a1d19; --accent-ink: #ff8a76;
  --sun: #ff6b70; --sat: #6d9dff; --warn: #ff9a3d; --warn-soft: #3a2410; --danger: #ff5c66; --danger-soft: #3c171b; --ok: #4fd18b; --ok-soft: #12301f;
  --hatch-line: #3a3a44;
  --day-bg: #3a2b0c; --day-fg: #ffc85c; --eve-bg: #0b3330; --eve-fg: #5fe0d4; --eve: #26c2b5; --night-bg: #4245c9; --night: #6f72ff;
  --shadow-card: none; --shadow-pop: 0 18px 50px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--font-ui);
  letter-spacing: -0.01em;
  /* 한글은 띄어쓰기 단위로 줄바꿈. 칸보다 긴 단어만 예외로 자른다(달력·표 칸이 늘어나지 않게) */
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.muted { color: var(--ink-3); }
.sub { color: var(--ink-2); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.danger-text { color: var(--danger); }
.warn-text { color: var(--warn); }
.ok-text { color: var(--ok); }
.plain { border: 0; background: none; padding: 0; text-align: left; }
p > svg, .tiny > svg, .small > svg { width: 14px; height: 14px; vertical-align: -2px; }

/* ── 앱 틀 ── */
.app { min-height: 100vh; padding-bottom: 48px; }
.app.has-tabbar { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 40px); }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  padding: calc(env(safe-area-inset-top) + 14px) 20px 12px;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
}
.topbar .place { flex: 1; min-width: 0; line-height: 1.3; }
.topbar .place .date { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.topbar .place b { display: block; font-size: 18px; font-weight: 650; letter-spacing: -0.025em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar select.store-pick {
  display: block; max-width: 100%; height: 30px; margin-top: 1px; padding: 0 22px 0 0;
  border: 0; background: transparent; font-size: 18px; font-weight: 650; letter-spacing: -0.025em;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: right 8px top 55%, right 3px top 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; flex: none;
  background: transparent; display: grid; place-items: center; color: var(--ink);
}
.icon-btn:active { background: var(--seg); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn.round { background: var(--surface); box-shadow: var(--shadow-card); }
.icon-btn .dot { position: absolute; top: 10px; right: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--surface); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 650; font-size: 16px; color: #fff; border: 0; text-decoration: none; }

/* 세로 메뉴 (데스크톱) */
.rail { display: none; }
.rail-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: flex; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 11px; margin-bottom: 22px; }
.rail-mark i { width: 4px; border-radius: 2px; background: #fff; }
.rail-mark i:nth-child(1) { height: 9px; }
.rail-mark i:nth-child(2) { height: 15px; }
.rail-mark i:nth-child(3) { height: 12px; }
.rail-item { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--rail-ink); text-decoration: none; }
.rail-item svg { width: 20px; height: 20px; }
.rail-item:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.rail-item.on { background: var(--accent); color: #fff; }
.rail-item .badge-n { position: absolute; top: 1px; right: -1px; box-shadow: 0 0 0 2px var(--rail); }
.rail-item.on .badge-n { background: #fff; color: var(--accent-ink); }
.rail-item::after {
  content: attr(data-label); position: absolute; left: calc(100% + 14px); top: 50%;
  transform: translate(-4px, -50%); opacity: 0; pointer-events: none;
  padding: 6px 10px; border-radius: 9px; background: var(--rail); color: #fff;
  font-size: 13px; font-weight: 600; white-space: nowrap; transition: opacity 0.12s, transform 0.12s;
}
.rail-item:hover::after, .rail-item:focus-visible::after { opacity: 1; transform: translate(0, -50%); }

/* 아래 메뉴 (휴대폰) — 관리자 4~5칸, 근무자 3칸 */
.tabbar {
  position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
  height: var(--nav-h); padding: 0 9px; border-radius: 32px; background: var(--rail);
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 12px 32px rgba(20, 20, 30, 0.24);
}
.tabbar a {
  position: relative; flex: none; height: 46px; min-width: 46px; padding: 0 12px; border-radius: 23px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  color: var(--rail-ink); text-decoration: none; font-size: 14.5px; font-weight: 650;
}
.tabbar a svg { width: 22px; height: 22px; flex: none; }
.tabbar a .lbl { display: none; }
.tabbar a.on { background: var(--accent); color: #fff; padding: 0 17px 0 15px; }
.tabbar a.on .lbl { display: inline; }
.tabbar.few { justify-content: space-around; }
.tabbar a .badge-n { position: absolute; top: 3px; right: 1px; box-shadow: 0 0 0 2px var(--rail); }
.tabbar a.on .badge-n { position: static; background: #fff; color: var(--accent-ink); box-shadow: none; }

@media (min-width: 960px) {
  .rail {
    position: fixed; z-index: 30; top: 16px; bottom: 16px; left: 16px; width: 68px;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 14px 0; border-radius: 34px; background: var(--rail);
  }
  .app, .app.has-tabbar { padding: 0 0 56px 100px; }
  .tabbar { display: none; }
  .topbar { max-width: 1140px; margin: 0 auto; padding: 22px 32px 14px; }
}
.badge-n { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font: 700 11px/18px var(--font-num); text-align: center; white-space: nowrap; }

/* ── 페이지 머리 ── */
.page { max-width: 640px; margin: 0 auto; padding: 0 20px; }
.page.wide { max-width: 1140px; }
.page-title { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; margin: 8px 0 22px; }
.page-title h1 { margin: 0; font-size: 27px; line-height: 1.2; font-weight: 650; letter-spacing: -0.04em; }
.page-title h1 .num { font-weight: 500; }
.page-sub { margin: 6px 0 0; font-size: 14px; color: var(--ink-3); }
.wave { display: inline-block; font-size: 0.85em; }
.section { margin-top: 32px; }
.section > h2 { font-size: 16px; margin: 0 4px 12px; color: var(--ink); font-weight: 650; letter-spacing: -0.02em; }
@media (min-width: 960px) {
  .page { padding: 0 32px; }
  .page:not(.wide) { margin-left: max(0px, calc((100% - 1140px) / 2)); margin-right: auto; }
  .seg.full.tabs { display: inline-flex; width: auto; }
  .seg.full.tabs button { flex: none; padding: 0 20px; }
  .page-title { margin: 6px 0 26px; }
  .page-title h1 { font-size: 34px; }
}

/* ── 기본 요소 ── */
.card { background: var(--surface); border-radius: var(--r-card); padding: 22px; box-shadow: var(--shadow-card); }
.card + .card { margin-top: 14px; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.card-head h2 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -0.025em; }
.card-head .label { font-size: 13px; color: var(--ink-3); }
.list { background: var(--surface); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); }
.row { position: relative; display: flex; align-items: center; gap: 14px; padding: 15px 20px; min-height: 66px; }
.row + .row::before { content: ''; position: absolute; top: 0; left: 20px; right: 20px; height: 1px; background: var(--line); }
button.row, a.row, label.row { width: 100%; text-align: left; background: none; border: 0; color: inherit; text-decoration: none; }
button.row:active, a.row:active { background: var(--surface-2); }
@media (hover: hover) { button.row:hover, a.row:hover { background: var(--surface-2); } }
.row .grow { flex: 1; min-width: 0; display: block; }
.row .title { font-weight: 600; }
.row .meta { display: block; font-size: 14px; color: var(--ink-3); margin-top: 1px; }
/* 켜고 끄는 스위치: 줄 전체가 role=switch 버튼이고 .switch는 모양만 */
.switch { flex: none; position: relative; width: 50px; height: 30px; border-radius: 15px; background: var(--line-2); transition: background 0.18s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform 0.18s; }
[aria-checked=true] > .switch { background: var(--accent); }
[aria-checked=true] > .switch::after { transform: translateX(20px); }
@media (prefers-reduced-motion: reduce) { .switch, .switch::after { transition: none; } }
.swatch { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; }
.av { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 650; }
.av.sm { width: 28px; height: 28px; font-size: 12px; }
.chev { color: var(--line-2); flex: none; }
.chev svg { width: 18px; height: 18px; display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 52px; padding: 0 22px; border-radius: 999px; border: 0;
  background: var(--btn); color: var(--on-btn); font-weight: 650; font-size: 16px; white-space: nowrap;
}
.btn.secondary, .btn.soft { background: var(--seg); color: var(--ink); }
.btn.accent { background: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink-2); padding: 0 12px; height: 44px; }
.btn.danger { background: var(--danger); color: #fff; }
.btn.danger-line { background: var(--danger-soft); color: var(--danger); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.38; cursor: default; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.sm svg { width: 16px; height: 16px; }
a.btn { text-decoration: none; }
.btns { display: flex; gap: 8px; }
.btns > .btn { flex: 1; }

.field { display: block; margin-bottom: 22px; }
.field > span { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 0 2px 8px; }
.field small { display: block; color: var(--ink-3); font-size: 13px; margin: 6px 2px 0; }
.input, select.input, textarea.input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: var(--r-ctl);
  border: 1px solid var(--line-2); background: var(--surface); font-size: 16px; color: var(--ink);
}
textarea.input { height: auto; min-height: 84px; padding: 13px 16px; resize: vertical; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--seg); }
.input:disabled { background: var(--surface-2); color: var(--ink-2); }
.time-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.time-pair .input { font-family: var(--font-num); font-size: 18px; font-weight: 600; }
.time-pair .tilde { color: var(--ink-3); }
.hint-next { font-size: 13.5px; color: var(--night); font-weight: 600; margin-top: 8px; }

/* 알약 묶음 (보기 전환·필터) */
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-card); }
.seg button { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-size: 14.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.seg button.on { background: var(--btn); color: var(--on-btn); }
.seg.full { display: flex; width: 100%; }
.seg.full button { flex: 1; padding: 0 6px; }
.sheet .seg, .card .seg, .list .seg { background: var(--surface-2); box-shadow: none; }

.pill { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 13px; font-weight: 600; background: var(--seg); color: var(--ink-2); white-space: nowrap; }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.danger { background: var(--danger-soft); color: var(--danger); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.accent { background: var(--accent-soft); color: var(--accent-ink); }
.pill svg { width: 13px; height: 13px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.role-tag { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-left: 6px; }

.chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 8px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip-btn { flex: none; height: 38px; padding: 0 16px; border-radius: 19px; border: 0; background: var(--surface); box-shadow: var(--shadow-card); font-size: 14.5px; font-weight: 600; color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; }
.chip-btn.on { background: var(--btn); color: var(--on-btn); }
.chip-btn .badge-n { box-shadow: none; }

.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice { height: 48px; border-radius: 14px; border: 0; background: var(--seg); font: 600 16px var(--font-num); color: var(--ink); }
.choice.on { background: var(--btn); color: var(--on-btn); }
.minute-input { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.minute-input .input { flex: 1; font-size: 18px; font-weight: 600; }
.minute-input span { color: var(--ink-2); font-weight: 600; }

.empty { text-align: center; padding: 48px 20px; color: var(--ink-3); }
.empty b { display: block; color: var(--ink-2); font-size: 16px; margin-bottom: 6px; }
.notice { border-radius: var(--r-ctl); padding: 14px 16px; font-size: 14.5px; background: var(--surface-2); color: var(--ink-2); }
.notice.warn { background: var(--warn-soft); color: var(--warn); }
.notice.danger { background: var(--danger-soft); color: var(--danger); }
.spinner { width: 26px; height: 26px; margin: 48px auto; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
details.info { margin: 14px 4px 0; color: var(--ink-3); font-size: 13.5px; }
details.info summary { cursor: pointer; list-style: none; font-weight: 600; }
details.info summary::-webkit-details-marker { display: none; }
details.info summary::before { content: '+ '; }
details.info[open] summary::before { content: '– '; }
details.info p { margin: 8px 0 0; }

/* ── 달력 ── */
.cal { background: var(--surface); border-radius: var(--r-card); padding: 0 8px 12px; box-shadow: var(--shadow-card); }
.cal-head { display: flex; align-items: flex-end; gap: 8px; padding: 20px 10px 16px 14px; }
.cal-title { flex: 1; line-height: 1; }
.cal-title .y { display: block; font: 600 13px var(--font-num); color: var(--ink-3); margin-bottom: 6px; }
.cal-title .m { font: 600 40px/0.9 var(--font-num); letter-spacing: -0.05em; }
.cal-title .m small { font: 650 18px var(--font-ui); margin-left: 3px; letter-spacing: -0.02em; }
.cal-nav { display: flex; gap: 6px; align-items: center; }
.cal-nav .icon-btn { width: 40px; height: 40px; background: var(--surface-2); }
.cal-nav .icon-btn svg { width: 18px; height: 18px; }
.cal-nav .today-btn { height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--btn); color: var(--on-btn); font-weight: 600; font-size: 14px; }
.cal-dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-dow div { text-align: center; font-size: 12.5px; font-weight: 600; color: var(--ink-3); padding: 0 0 8px; }
.cal-dow .sun { color: var(--sun); }
.cal-dow .sat { color: var(--sat); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 4px; }
.cal-cell {
  position: relative; min-height: 72px; padding: 4px 2px 6px; border: 0; border-radius: 14px;
  background: transparent; text-align: left; display: flex; flex-direction: column; align-items: stretch; gap: 3px; color: inherit; min-width: 0;
}
.cal-cell:active { background: var(--surface-2); }
@media (hover: hover) { .cal-cell:hover { background: var(--surface-2); } }
.cal-cell.out > * { opacity: 0.32; }
.cal-date { font: 600 13.5px/1 var(--font-num); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 10px; flex: none; }
.cal-cell.sun .cal-date, .cal-cell.hol .cal-date { color: var(--sun); }
.cal-cell.sat:not(.hol) .cal-date { color: var(--sat); }
.cal-cell.today .cal-date { background: var(--btn); color: var(--on-btn); }
.cal-hol { font-size: 10px; line-height: 1.15; color: var(--sun); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: -1px 2px 0; }
.cal-cell.sel { background: var(--accent-soft); }

.shift-chip {
  position: relative; display: block; width: 100%; padding: 5px 2px 4px; border-radius: var(--r-chip);
  font: 600 12.5px/1 var(--font-num); text-align: center; white-space: nowrap; overflow: hidden; letter-spacing: -0.03em;
}
.shift-chip .full { display: none; }
.shift-chip.day { background: var(--day-bg); color: var(--day-fg); }
.shift-chip.eve { background: var(--eve-bg); color: var(--eve-fg); }
.shift-chip.night { background: var(--night-bg); color: var(--night-fg); }
.shift-chip.cover { box-shadow: inset 0 0 0 1.5px currentColor; }
.shift-chip.pending { background-image: repeating-linear-gradient(135deg, transparent 0 4px, color-mix(in srgb, currentColor 22%, transparent) 4px 6px); }
.shift-chip.given { background: transparent; color: var(--ink-3); text-decoration: line-through; box-shadow: inset 0 0 0 1px var(--line-2); }
.shift-chip.absent { background: transparent; color: var(--danger); text-decoration: line-through; box-shadow: inset 0 0 0 1.5px var(--danger); }
.shift-chip.cancelled { background: transparent; color: var(--ink-3); text-decoration: line-through; opacity: 0.7; }
.shift-chip.late::after { content: ''; position: absolute; top: 2px; right: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 1.5px var(--surface); }
.shift-chip .tag { display: none; font: 700 10px var(--font-ui); margin-left: 3px; }
.shift-chip.long .short { font-size: 10.5px; letter-spacing: -0.05em; }

.cal-names { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 0 2px; }
.cal-name { display: flex; align-items: center; gap: 4px; font-size: 11.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; color: var(--ink-2); }
.cal-name i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.cal-name.dim { opacity: 0.45; text-decoration: line-through; }
.cal-name .t { display: none; margin-left: auto; padding-left: 4px; font: 600 12px var(--font-num); color: var(--ink-3); }
.cal-more { font: 600 11.5px var(--font-num); color: var(--ink-3); padding-left: 10px; }

@media (min-width: 720px) {
  .cal { padding: 0 12px 14px; }
  .cal-head { padding: 24px 10px 18px 14px; }
  .cal-cell { min-height: 100px; padding: 6px 6px 8px; }
  .shift-chip { font-size: 13px; padding: 6px 4px 5px; }
  .shift-chip .short { display: none; }
  .shift-chip .full { display: inline; }
  .shift-chip .tag { display: inline; }
  .cal-hol { font-size: 11px; }
  .cal-name { font-size: 13px; }
  .cal-name .t { display: inline; }
}

.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 14px 4px; font-size: 13px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 14px; height: 10px; border-radius: 3px; }

/* ── 내 근무 대시보드 ── */
.dash { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.dash > * { margin: 0 !important; min-width: 0; }
.dash > .week-card { display: none; }
@media (min-width: 960px) {
  .dash {
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
    grid-template-areas: 'att next' 'cal week';
  }
  .dash > .att { grid-area: att; }
  .dash > .next-card { grid-area: next; }
  .dash > .cal-wrap { grid-area: cal; align-self: start; }
  .dash > .week-card { grid-area: week; align-self: start; display: block; }
}

/* 다음 근무: 코랄 카드 */
.next-card {
  position: relative; overflow: hidden; width: 100%; border: 0; text-align: left; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 196px;
  background: linear-gradient(115deg, var(--accent) 0%, #e4553f 55%, var(--accent-2) 100%);
}
.next-card::before {
  content: ''; position: absolute; right: -56px; bottom: -76px; width: 210px; height: 210px; border-radius: 50%;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 1.5px, transparent 1.5px 7px);
}
.next-card > * { position: relative; }
.nc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nc-label { font-size: 14.5px; font-weight: 650; }
.nc-go { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); display: grid; place-items: center; }
.nc-go svg { width: 18px; height: 18px; }
.nc-main { display: block; }
.nc-date { display: block; font-size: 17px; font-weight: 600; margin-bottom: 2px; }
.nc-time { display: block; font-size: 38px; line-height: 1.08; font-weight: 600; letter-spacing: -0.045em; }
.nc-meta { font-size: 14.5px; font-weight: 600; }
.next-card.none { background: var(--surface); color: var(--ink); min-height: 140px; justify-content: flex-start; gap: 10px; }
.next-card.none::before { display: none; }
.next-card.none .nc-label { color: var(--ink-3); }
.nc-empty { font-size: 20px; font-weight: 650; letter-spacing: -0.03em; }

/* 출근률 카드 */
.att-title { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink-2); letter-spacing: -0.02em; }
.kpi-line { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.att-pct { font: 600 58px/1 var(--font-num); letter-spacing: -0.055em; }
.att-pct small { font-size: 26px; font-weight: 500; margin-left: 3px; letter-spacing: -0.02em; color: var(--ink-3); }
.att-pct.warn, .att-pct.warn small { color: var(--warn); }
.att-pct.danger, .att-pct.danger small { color: var(--danger); }
.att-pct.none { color: var(--ink-3); }
.tiles { display: flex; gap: 3px; height: 14px; margin: 22px 0 10px; }
.tile { flex: 1 1 0; min-width: 2px; height: 100%; border-radius: 4px; background: var(--accent); }
.tiles .tile:first-child { border-top-left-radius: 7px; border-bottom-left-radius: 7px; }
.tiles .tile:last-child { border-top-right-radius: 7px; border-bottom-right-radius: 7px; }
.tile.late { background: color-mix(in srgb, var(--accent) 42%, var(--surface)); }
.tile.absent { background: var(--ink); }
.tile.given { background: var(--line-2); }
.tile.upcoming { background: var(--hatch); box-shadow: inset 0 0 0 1px var(--line-2); }
.tile.extra { background: var(--accent-ink); }
.tile.gap { flex: 0 0 8px; background: transparent; }
.tile-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 14px; font-size: 12.5px; color: var(--ink-3); }
.tile-legend span { display: inline-flex; align-items: center; gap: 5px; }
.tile-legend .tile { flex: none; width: 12px; height: 8px; border-radius: 3px; }
.att-text { font-size: 15px; color: var(--ink-2); margin: 0; }
.att-text b { color: var(--ink); }
.att-text .muted { display: block; font-size: 14px; margin-top: 2px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; margin-top: 20px; }
.stats > div { display: flex; flex-direction: column; gap: 1px; padding: 14px; border-radius: 18px; background: var(--surface-2); line-height: 1.3; min-width: 0; }
.stats i { width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: var(--surface); color: var(--accent); display: grid; place-items: center; }
.stats i svg { width: 15px; height: 15px; }
.stats b { font: 600 24px/1.1 var(--font-num); letter-spacing: -0.03em; }
.stats span { font-size: 13px; color: var(--ink-3); }

/* 이번 주 */
.week-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.wk-day { border: 0; border-radius: 14px; padding: 8px 0 6px; background: var(--surface-2); display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--ink); }
.wk-day:disabled { cursor: default; opacity: 1; }
.wk-day span { font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.wk-day b { font-size: 15px; font-weight: 600; }
.wk-day i { width: 5px; height: 5px; margin-top: 3px; border-radius: 50%; background: var(--accent); }
.wk-day i.none { background: transparent; }
.wk-day.sun b, .wk-day.hol b { color: var(--sun); }
.wk-day.sat:not(.hol) b { color: var(--sat); }
.wk-day.today { background: var(--btn); }
.wk-day.today span, .wk-day.today b { color: var(--on-btn); }
.wk-day.today i:not(.none) { background: var(--accent-2); }
.wk-list { display: flex; flex-direction: column; gap: 2px; }
.wk-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 6px; border: 0; border-radius: 14px; background: none; text-align: left; color: inherit; }
@media (hover: hover) { .wk-row:hover { background: var(--surface-2); } }
.wk-row .grow { flex: 1; min-width: 0; }
.wk-row .title { display: block; font-size: 14.5px; font-weight: 600; }
.wk-row .meta { display: block; font-size: 13px; color: var(--ink-3); }
.wk-ic { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; }
.wk-ic svg { width: 16px; height: 16px; }
.wk-ic.day { background: var(--day-bg); color: var(--day-fg); }
.wk-ic.eve { background: var(--eve-bg); color: var(--eve-fg); }
.wk-ic.night { background: var(--night-bg); color: var(--night-fg); }

.band-bar { width: 5px; align-self: stretch; border-radius: 3px; flex: none; }
.band-bar.day { background: var(--day); }
.band-bar.eve { background: var(--eve); }
.band-bar.night { background: var(--night); }

/* 대타 요청이 왔을 때: 검은 카드 */
.offer-card { background: var(--rail); color: #fff; margin-bottom: 14px; }
.offer-card h3 { margin: 0 0 6px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, 0.66); }
.offer-card .t { font: 600 26px/1.2 var(--font-num); letter-spacing: -0.035em; color: #fff; }
.offer-card p { margin: 6px 0 18px; font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }
.offer-card .btn { background: var(--accent); color: #fff; }
.offer-card .btn.secondary { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ── 시트 / 대화상자 ── */
.backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(12, 12, 18, 0.44);
  display: flex; align-items: flex-end; justify-content: center; animation: fade 0.16s ease-out;
}
.sheet {
  width: 100%; max-width: 600px; max-height: 90vh; overflow: auto; overscroll-behavior: contain;
  background: var(--surface); border-radius: var(--r-sheet) var(--r-sheet) 0 0;
  padding: 8px 24px calc(24px + env(safe-area-inset-bottom)); animation: sheet-up 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sheet.narrow { max-width: 440px; }
.grip { width: 38px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 6px auto 16px; }
.sheet-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.sheet-head h2 { flex: 1; margin: 4px 0 0; font-size: 21px; line-height: 1.3; font-weight: 650; letter-spacing: -0.035em; }
.sheet-head .x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--seg); display: grid; place-items: center; color: var(--ink-2); flex: none; }
.sheet-head .x svg { width: 18px; height: 18px; }
.sheet-sec { padding-top: 22px; margin-top: 22px; box-shadow: inset 0 1px 0 var(--line); }
.sheet .list { background: var(--surface-2); box-shadow: none; }
.big-time { font: 600 36px/1.1 var(--font-num); letter-spacing: -0.045em; }
.big-time .nx { font: 650 16px var(--font-ui); color: var(--night); margin: 0 4px; letter-spacing: -0.02em; }
.status-line { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-2); }
.status-line b { font-weight: 600; }
@media (min-width: 720px) {
  .backdrop { align-items: center; }
  .sheet { border-radius: var(--r-sheet); max-height: 84vh; box-shadow: var(--shadow-pop); padding-top: 26px; animation-name: pop-in; }
  .grip { display: none; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes down { from { transform: translate(-50%, -12px); opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes pop-in { from { transform: translateY(14px) scale(0.98); } }

.dialog { text-align: center; padding-top: 12px; }
.dialog h2 { font-size: 20px; font-weight: 650; letter-spacing: -0.03em; margin: 8px 0 10px; }
.dialog p { color: var(--ink-2); margin: 0 0 24px; }
.dialog .big { font: 600 58px/1 var(--font-num); letter-spacing: -0.05em; margin: 4px 0 12px; }

.toast {
  position: fixed; left: 50%; top: calc(env(safe-area-inset-top) + 14px); z-index: 80;
  transform: translateX(-50%); max-width: calc(100% - 40px);
  background: var(--rail); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  box-shadow: var(--shadow-pop); animation: down 0.2s ease-out;
}
.toast.err { background: var(--danger); color: #fff; }

/* ── 주간 타임라인 (시간표) ── */
.tl { background: var(--surface); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); padding-bottom: 4px; }
.tl-axis { display: grid; grid-template-columns: 58px 1fr; }
.tl-axis .ticks { position: relative; height: 34px; }
.tl-axis .ticks span { position: absolute; top: 11px; transform: translateX(-50%); font: 600 11.5px var(--font-num); color: var(--ink-3); white-space: nowrap; }
.tl-row { display: grid; grid-template-columns: 58px 1fr; min-height: 52px; }
.tl-row + .tl-row { box-shadow: inset 0 1px 0 var(--line); }
.tl-day { padding: 9px 0 0 16px; line-height: 1.1; border: 0; background: none; text-align: left; }
.tl-day b { display: block; font: 600 18px var(--font-num); letter-spacing: -0.03em; }
.tl-day span { font-size: 12px; color: var(--ink-3); }
.tl-row.sun .tl-day b, .tl-row.hol .tl-day b { color: var(--sun); }
.tl-row.sat:not(.hol) .tl-day b { color: var(--sat); }
.tl-row.today { background: color-mix(in srgb, var(--accent-soft) 55%, transparent); }
.tl-row.today .tl-day b { color: var(--accent-ink); }
.tl-track { position: relative; margin-right: 12px; background-image: linear-gradient(to right, var(--line) 1px, transparent 1px); background-size: 25% 100%; }
.tl-bar {
  position: absolute; height: 26px; border-radius: 9px; border: 0; padding: 0 8px; color: #fff; text-align: left;
  font-size: 12px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 26px;
}
.tl-bar.cont { opacity: 0.45; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.tl-bar.cut { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.tl-bar.absent { background: transparent !important; color: var(--danger); box-shadow: inset 0 0 0 1.5px var(--danger); text-decoration: line-through; }
.tl-bar.pending { background-image: repeating-linear-gradient(135deg, transparent 0 5px, rgba(255, 255, 255, 0.3) 5px 8px); }
.tl-hol { font-size: 10px; color: var(--sun); display: block; }

/* ── 숫자 목록 ── */
.metric { font: 600 22px/1.1 var(--font-num); letter-spacing: -0.035em; white-space: nowrap; }
.metric.warn { color: var(--warn); }
.metric.danger { color: var(--danger); }
.metric small { font-size: 14px; margin-left: 1px; color: var(--ink-3); }
.metric.warn small, .metric.danger small { color: inherit; }
.right { text-align: right; flex: none; }
.hbar { position: relative; display: block; height: 8px; margin-top: 9px; border-radius: 4px; background: var(--hatch); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.hbar > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--accent); }
.period-nav { display: flex; align-items: center; gap: 8px; margin: 4px 0 16px; padding: 6px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-card); }
.period-nav .icon-btn { background: var(--surface-2); }
.period-nav .label { flex: 1; text-align: center; font: 600 16px var(--font-num); letter-spacing: -0.02em; line-height: 1.35; }
.period-nav .label small { display: block; font: 600 12.5px var(--font-ui); color: var(--accent-ink); }
.setting-line { display: flex; align-items: center; gap: 10px; margin: 0 4px 10px; font-size: 14.5px; color: var(--ink-2); }
.setting-line b { color: var(--ink); }
.setting-line .btn { margin-left: auto; }

/* 공지 */
.notice-text { white-space: pre-wrap; line-height: 1.65; }
.np-head { display: flex; align-items: baseline; gap: 12px; margin-top: 2px; }
.np-head h2 { flex: 1; margin: 0; font-size: 21px; line-height: 1.3; font-weight: 650; letter-spacing: -0.035em; }
.np-count { font: 600 14px var(--font-num); color: var(--ink-3); }
.np-meta { margin: 4px 0 20px; font-size: 14px; color: var(--ink-3); }
.np-meta.after { margin: 12px 0 0; }
.notice-pop .np-body { margin-bottom: 28px; }
.notice-row { align-items: flex-start; }
.notice-row .notice-text { font-size: 15px; }
.more-btn { margin: 6px 0 0 10px; }
.notice-item { align-items: center; }
.notice-preview { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; line-height: 1.5; }
.notice-item .meta { margin-top: 4px; }
.read-count { flex: none; min-width: 52px; text-align: right; font: 600 21px/1 var(--font-num); letter-spacing: -0.03em; }
.read-count small { font-size: 14px; color: var(--ink-3); }
.read-count span { display: block; margin-top: 5px; font: 500 12px var(--font-ui); color: var(--ink-3); }
.read-count.done { color: var(--ink-3); }
.notice-input { min-height: 176px; line-height: 1.6; }
.field small.len { text-align: right; }
.compose-note { margin: -6px 2px 20px; font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }
.sec-title { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.people { display: flex; flex-wrap: wrap; gap: 8px; }
.person { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 11px; border-radius: 999px; background: var(--surface-2); font-size: 14px; font-weight: 600; }
.read-row { display: flex; align-items: center; gap: 10px; padding: 6px 2px; font-size: 15px; }
.read-row .grow { flex: 1; }
.read-row .when { font-size: 13.5px; color: var(--ink-3); }

/* 구글 캘린더 구독 */
.feed .lead { margin: 0 0 6px; line-height: 1.55; }
.feed .note { margin: 0 0 20px; font-size: 13.5px; line-height: 1.55; color: var(--ink-3); }
.feed .note.after { margin: 16px 2px 0; }
.feed .btn + .btn { margin-top: 8px; }
.feed-foot { margin: 24px 4px 0; }
.feed-foot p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.feed-foot .btn { margin: 4px 0 0 -12px; color: var(--danger); }
.feed-hint { display: inline-flex; align-items: center; gap: 2px; margin: 14px 6px 0; font-size: 14px; color: var(--ink-3); text-decoration: none; }
.feed-hint svg { width: 15px; height: 15px; }

/* 출결 */
.today-row .att-seg button { height: 34px; padding: 0 12px; font-size: 14px; }
.att-seg button.on.late { background: var(--warn); color: #fff; }
.att-seg button.on.absent { background: var(--danger); color: #fff; }

.wd-pick { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.wd-pick button { height: 44px; border-radius: 14px; border: 0; background: var(--seg); font-weight: 700; color: var(--ink-2); }
.wd-pick button.on { background: var(--btn); color: var(--on-btn); }
.wd-pick button.sun.on { background: var(--sun); color: #fff; }
.wd-pick button.sat.on { background: var(--sat); color: #fff; }
.slot { border-radius: 18px; padding: 16px; margin-bottom: 12px; background: var(--surface-2); }
.slot-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.presets button { height: 32px; padding: 0 12px; border-radius: 16px; border: 0; background: var(--surface); font: 600 13px var(--font-num); color: var(--ink-2); }
.colors { display: flex; flex-wrap: wrap; gap: 10px; }
.colors button { width: 34px; height: 34px; border-radius: 50%; border: 0; }
.colors button.on { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--ink); }

/* 이벤트 기록 / 알림 */
.event-day { font-size: 14px; font-weight: 650; color: var(--ink-3); margin: 26px 6px 10px; }
.ev { position: relative; display: flex; gap: 12px; padding: 15px 20px; }
.ev + .ev::before { content: ''; position: absolute; top: 0; left: 20px; right: 20px; height: 1px; background: var(--line); }
.ev .time { font: 600 13.5px var(--font-num); color: var(--ink-3); width: 40px; flex: none; padding-top: 2px; }
.ev .msg { flex: 1; min-width: 0; font-size: 15px; }
.ev .msg .store { font-size: 12.5px; color: var(--ink-3); display: block; }
.ev.new .time { color: var(--ink); }
.ev.new .msg { font-weight: 600; }
.cat-mark { width: 8px; height: 8px; border-radius: 50%; flex: none; margin-top: 8px; }
.cat-schedule { background: var(--eve); }
.cat-swap { background: var(--night); }
.cat-attendance { background: var(--warn); }
.cat-account { background: var(--ink-3); }
.cat-notice { background: var(--accent); }
.notif .msg { font-size: 15px; }
.notif.unread { background: color-mix(in srgb, var(--accent-soft) 50%, transparent); }
.notif.unread .msg { font-weight: 600; }
.notif.unread::after { content: ''; position: absolute; top: 24px; left: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ── 로그인 ── */
.auth { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 28px 24px calc(28px + env(safe-area-inset-bottom)); max-width: 440px; margin: 0 auto; }
.auth-mark { display: flex; align-items: flex-end; gap: 4px; width: 56px; height: 56px; padding: 0 0 15px 14px; margin-bottom: 26px; border-radius: 50%; background: var(--rail); }
.auth-mark i { width: 7px; border-radius: 3px; }
.auth-mark i:nth-child(1) { height: 13px; }
.auth-mark i:nth-child(2) { height: 21px; }
.auth-mark i:nth-child(3) { height: 17px; }
.auth h1 { font-size: 30px; font-weight: 650; margin: 0 0 6px; letter-spacing: -0.045em; }
.auth .lead { color: var(--ink-2); margin: 0 0 32px; }
.store-choice { display: grid; gap: 10px; margin: 8px 0 18px; }
.store-choice button { height: 58px; border-radius: 18px; border: 0; background: var(--surface); box-shadow: var(--shadow-card); font-weight: 650; font-size: 17px; }
.demo-box { margin-top: 32px; border-radius: 22px; padding: 18px; background: var(--surface); box-shadow: var(--shadow-card); }
.demo-box p { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }
.demo-box .pills button { border: 0; cursor: pointer; }

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