/* SC app, after iOS Messages and Phone. Light and dark follow the device unless 설정 picked one (html[data-theme]). */
:root {
  --bg: #ffffff; --bg2: #f2f2f7; --card: #ffffff; --text: #000000; --muted: #8a8a8e; --muted2: #c4c4c7;
  --sep: rgba(60, 60, 67, .22); --line-strong: rgba(60, 60, 67, .3); --pill: rgba(118, 118, 128, .12); --seg-on: #ffffff;
  --press: rgba(0, 0, 0, .06); --accent: #007aff; --green: #34c759; --on-accent: #ffffff; --bubble-them: #e9e9eb;
  --new-fg: #007aff; --due-fg: #c25e00; --ok-fg: #248a3d; --bad-fg: #d70015;
  --new-bg: #e5f0ff; --new-tx: #0a4ea8; --due-bg: #fdf0dd; --due-tx: #7a4100; --ok-bg: #e6f6ea; --ok-tx: #1d6b31;
  --bad-bg: #fde8e9; --bad-tx: #a3000f; --neu-bg: #f2f2f7; --neu-tx: #3c3c43;
  --nav-bg: rgba(255, 255, 255, .82);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --bg2: #1c1c1e; --card: #1c1c1e; --text: #ffffff; --muted: #98989f; --muted2: #5a5a5f;
    --sep: rgba(84, 84, 88, .6); --line-strong: rgba(120, 120, 128, .5); --pill: rgba(118, 118, 128, .26); --seg-on: #0c0c0d;
    --press: rgba(255, 255, 255, .08); --accent: #0a84ff; --green: #30d158; --on-accent: #ffffff; --bubble-them: #262629;
    --new-fg: #3d9bff; --due-fg: #ff9f0a; --ok-fg: #30d158; --bad-fg: #ff453a;
    --new-bg: #0b2a4f; --new-tx: #a9cfff; --due-bg: #3d2600; --due-tx: #ffcf80; --ok-bg: #0f3317; --ok-tx: #9fe0ae;
    --bad-bg: #4a1012; --bad-tx: #ffb3ae; --neu-bg: #1c1c1e; --neu-tx: #d1d1d6;
    --nav-bg: rgba(0, 0, 0, .78);
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --bg2: #1c1c1e; --card: #1c1c1e; --text: #ffffff; --muted: #98989f; --muted2: #5a5a5f;
  --sep: rgba(84, 84, 88, .6); --line-strong: rgba(120, 120, 128, .5); --pill: rgba(118, 118, 128, .26); --seg-on: #0c0c0d;
  --press: rgba(255, 255, 255, .08); --accent: #0a84ff; --green: #30d158; --on-accent: #ffffff; --bubble-them: #262629;
  --new-fg: #3d9bff; --due-fg: #ff9f0a; --ok-fg: #30d158; --bad-fg: #ff453a;
  --new-bg: #0b2a4f; --new-tx: #a9cfff; --due-bg: #3d2600; --due-tx: #ffcf80; --ok-bg: #0f3317; --ok-tx: #9fe0ae;
  --bad-bg: #4a1012; --bad-tx: #ffb3ae; --neu-bg: #1c1c1e; --neu-tx: #d1d1d6;
  --nav-bg: rgba(0, 0, 0, .78);
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.4 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px calc(48px + env(safe-area-inset-bottom)); }
h1 { font-size: 22px; font-weight: 700; margin: 16px 0 0; }
h1.large { font-size: 34px; letter-spacing: .01em; margin: 6px 0 2px; }
.muted, .help { color: var(--muted); font-size: 14px; }
.sub { color: var(--muted); font-size: 15px; }
button, .btn { font: inherit; font-size: 16px; border: 0; background: var(--pill); color: var(--text); border-radius: 999px; padding: 10px 18px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .5; }
button.primary, .btn.primary { background: var(--accent); color: var(--on-accent); }
button.link { background: none; color: var(--accent); padding: 0; font-size: 15px; border-radius: 0; }
/* 16px: iOS Safari zooms the page into any field smaller than that on focus. */
input, textarea, select { font: inherit; font-size: 16px; width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; background: var(--card); color: var(--text); }
.t-new { color: var(--new-fg); } .t-due { color: var(--due-fg); } .t-ok { color: var(--ok-fg); } .t-bad { color: var(--bad-fg); } .t-neu { color: var(--muted); }
.t-strong { color: var(--text); font-weight: 600; }
.pill { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--pill); white-space: nowrap; }

/* ---- nav bar: frosted, a pill on each side; on the list the 진행 중 / 완료 pill sits in the middle (Phone > Recents) */
/* The side pills keep their width; the middle (the segmented pill, or a long name) gives way and ellipsizes. */
header.nav { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: minmax(max-content, 1fr) minmax(0, auto) minmax(max-content, 1fr); align-items: center; gap: 8px;
  margin: 0 -16px; padding: calc(6px + env(safe-area-inset-top)) 16px 6px; background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.nav-l { justify-self: start; } .nav-r { justify-self: end; }
.nav a.nav-l, .nav a.nav-r, .nav button.nav-r { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--pill);
  color: var(--text); font-size: 16px; text-decoration: none; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.nav .round { width: 44px; padding: 0 !important; justify-content: center; }
.nav .round svg { width: 22px; height: 22px; fill: currentColor; }
.nav-title { font-size: 17px; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lead-screen .nav-title { opacity: 0; transition: opacity .2s; } .lead-screen .nav.titled .nav-title { opacity: 1; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--pill); }
@media (max-width: 360px) { .nav a.nav-l, .nav a.nav-r, .nav button.nav-r { padding: 0 12px; } .seg a { padding: 0 13px; } }
.seg { max-width: 100%; overflow: hidden; }
.seg a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 18px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 16px; white-space: nowrap; }
.seg a.on { background: var(--seg-on); font-weight: 600; box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }

.banner { border-radius: 12px; padding: 10px 14px; font-size: 14px; margin: 10px 0; display: flex; gap: 8px; justify-content: space-between; align-items: center; }
.banner.ok { background: var(--ok-bg); color: var(--ok-tx); } .banner.bad { background: var(--bad-bg); color: var(--bad-tx); }
.banner.neutral { background: var(--neu-bg); color: var(--neu-tx); }
.banner[hidden] { display: none; }
.next { display: block; background: var(--bg2); border-radius: 14px; padding: 12px 14px; margin: 8px 0 12px; color: inherit; text-decoration: none; }
.next.none { color: var(--muted); font-size: 14px; }
.next-label { font-size: 13px; color: var(--accent); font-weight: 600; }
.next-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; }
.leads li.more { list-style: none; text-align: center; padding: 14px 0 6px; }
.leads li.more button.link { font-size: 15px; padding: 8px 16px; }
/* 끝난 것 같은 리드: the bottom of 진행 중, muted, so it reads as leftovers, not a list of its own */
.fold { margin-top: 28px; }
.fold-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--muted); }
.fold-head button.link { font-size: 13px; }
.fold-lede { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.leads.folded .name { font-weight: 500; color: var(--muted); }
.leads.folded .row-l2, .leads.folded .row-l3 { opacity: .8; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }
.actions { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 10px; }
.actions.end { justify-content: flex-end; }
.chev { color: var(--muted2); font-size: 22px; line-height: 1; }

/* ---- list rows: blue dot, name / time / chevron, status line, the latest entry ----------------------------------- */
.leads { list-style: none; margin: 6px -16px 0; padding: 0; }
.swipe { position: relative; overflow: hidden; --w: 0px; --s: 0; }
.swipe-body.row { position: relative; z-index: 1; display: flex; align-items: flex-start; padding-right: 16px; background: var(--bg); color: inherit; text-decoration: none;
  touch-action: pan-y; transition: transform .28s cubic-bezier(.2, .8, .2, 1); -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
.swipe-body.row:active { background: var(--press); }
.dot { flex: none; width: 30px; display: flex; justify-content: center; padding-top: 18px; }
.dot.on::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.row-text { flex: 1; min-width: 0; padding: 10px 0 11px; border-bottom: .5px solid var(--sep); }
.lead:last-child .row-text { border-bottom: 0; }
.row-l1 { display: flex; align-items: baseline; gap: 6px; }
.row-l1 .name { flex: 1; min-width: 0; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-time { flex: none; color: var(--muted); font-size: 15px; }
.row-l1 .chev { flex: none; align-self: center; font-size: 20px; }
.row-l2, .row-l3 { color: var(--muted); font-size: 15px; line-height: 1.3; overflow: hidden; }
.row-l2 { white-space: nowrap; text-overflow: ellipsis; margin-top: 1px; }
.row-l3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-word; }

/* Swipe actions: circles that grow in as the row slides; past the open width 전화 stretches into a pill, and once
   armed (a full swipe) 문자 folds away and 전화 fills the space. Sizes match OPEN = 132 in app.js. */
.swipe-actions { position: absolute; top: 0; bottom: 0; right: 0; width: max(var(--w), 132px); display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 0 12px 0 8px; }
.swipe-actions button { flex: none; width: 52px; height: 52px; padding: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: #fff;
  transform: scale(var(--s)); transition: width .18s ease, margin .18s ease, opacity .18s ease; }
.swipe-actions svg { width: 24px; height: 24px; fill: currentColor; }
.swipe-actions .act-sms { background: var(--accent); }
.swipe-actions .act-call { background: var(--green); flex: 1 1 auto; min-width: 52px; max-width: calc(var(--w) - 80px); justify-content: flex-start; padding-left: 14px; }
.swipe:not(.open) .swipe-actions .act-call { max-width: 52px; }
.swipe.peeking .swipe-actions { pointer-events: none; }        /* the first-visit hint shows the buttons, never takes a tap */
.swipe.armed .act-sms { width: 0; margin-left: -8px; opacity: 0; }
.swipe.armed .act-call { max-width: calc(var(--w) - 20px); }
@media (hover: hover) and (pointer: fine) {
  .lead .swipe-actions { --s: 1; }
  .lead:hover .swipe:has(.swipe-actions) .swipe-body { transform: translateX(-132px); }
  .swipe-actions .act-call { max-width: 52px; padding-left: 0; justify-content: center; }
}

/* ---- one lead: contact-card head, the thread, the composer -------------------------------------------------------- */
.card-head { text-align: center; padding: 8px 0 16px; border-bottom: .5px solid var(--sep); }
.card-head h1 { font-size: 28px; margin: 6px 0 2px; }
.card-head .when { font-size: 15px; font-weight: 600; margin-top: 4px; }
.note { text-align: left; font-size: 14px; padding: 8px 12px; border-radius: 12px; margin-top: 8px; }
.note.due { background: var(--due-bg); color: var(--due-tx); } .note.bad { background: var(--bad-bg); color: var(--bad-tx); }
.cc-actions { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.cc-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 84px; padding: 9px 14px 7px; border-radius: 14px; background: var(--bg2); color: var(--accent); font-size: 12px; }
.cc-btn svg { width: 24px; height: 24px; fill: currentColor; }
.cc-phone { font-size: 15px; color: var(--muted); margin-top: 8px; font-variant-numeric: tabular-nums; }
.more { margin-top: 8px; font-size: 14px; text-align: left; } .more summary { color: var(--accent); cursor: pointer; text-align: center; padding: 8px 0; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.survey { display: grid; gap: 8px; margin: 8px 0; background: var(--bg2); border-radius: 12px; padding: 10px 14px; }
.survey dt { color: var(--muted); font-size: 13px; } .survey dd { margin: 0; }
.admin-note { font-size: 13px; color: var(--due-tx); background: var(--due-bg); border-radius: 8px; padding: 5px 10px; margin-top: 6px; text-align: left; }

.thread { display: flex; flex-direction: column; padding: 6px 0 14px; }
.t-day { align-self: center; font-size: 12px; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
.t-sys { align-self: center; text-align: center; font-size: 12px; color: var(--muted); margin: 4px 24px; }
.t-msg { display: flex; flex-direction: column; max-width: 80%; margin: 3px 0; }
.t-msg.me { align-self: flex-end; align-items: flex-end; } .t-msg.them { align-self: flex-start; align-items: flex-start; }
.bubble { padding: 8px 13px; border-radius: 19px; font-size: 16px; line-height: 1.35; white-space: pre-wrap; word-break: break-word; }
.me .bubble { background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.them .bubble { background: var(--bubble-them); color: var(--text); border-bottom-left-radius: 6px; }
.t-msg.small .bubble { font-size: 13px; padding: 4px 11px; background: none; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; }
.t-meta { font-size: 11px; color: var(--muted); margin: 2px 8px 0; }
.t-dms { display: flex; gap: 10px; align-items: center; font-size: 12px; margin: 2px 8px 0; }

.composer { border-top: .5px solid var(--sep); padding-top: 12px; scroll-margin-bottom: 24px; }
.just-called { font-size: 14px; background: var(--new-bg); color: var(--new-tx); border-radius: 12px; padding: 8px 12px; margin-bottom: 10px; }
.label { font-size: 13px; color: var(--muted); margin: 10px 0 6px; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 8px; padding: 0 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
/* The real radio / checkbox stays in the chip at 1px: at the default 100% width it widened the page on phones. */
.chip { position: relative; flex: none; }
.chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 38px; font-size: 15px; padding: 0 14px; border-radius: 999px; background: var(--pill); color: var(--text); cursor: pointer; white-space: nowrap; }
.chip input:checked + span { background: var(--accent); color: #fff; }
.chip.close-chip input:checked + span { background: var(--green); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.when-booked, .when-callback { margin-bottom: 8px; }
.compose { display: flex; align-items: flex-end; gap: 8px; margin-top: 4px; }
.compose textarea { flex: 1; resize: none; min-height: 40px; max-height: 200px; border-radius: 20px; padding: 9px 14px; line-height: 1.35; }
.compose .send { flex: none; width: 40px; height: 40px; padding: 0; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.compose .send svg { width: 22px; height: 22px; fill: currentColor; }
.err { color: var(--bad-fg); font-size: 14px; margin: 8px 0 0; }

/* ---- login, admin, 설정 ------------------------------------------------------------------------------------------ */
.login { display: grid; gap: 10px; margin-top: 18px; } .login .link { font-size: 14px; color: var(--accent); }
.login button.primary { padding: 13px 14px; font-size: 17px; border-radius: 14px; }
.wrap > h1:first-child { margin-top: 32px; font-size: 34px; }
.sc-list { list-style: none; margin: 8px 0 0; padding: 0; }
.sc-row { border-bottom: .5px solid var(--sep); } .sc-row form { margin: 0; }
.sc-pick { all: unset; box-sizing: border-box; display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 4px; cursor: pointer; color: var(--text); }
.sc-row.on .sc-pick { background: var(--new-bg); border-radius: 10px; padding: 12px 10px; }
.sc-pick:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.settings section { margin-top: 22px; } .settings .label { margin-bottom: 8px; }
.theme-opts { display: grid; background: var(--bg2); border-radius: 12px; overflow: hidden; }
.theme-opt { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: .5px solid var(--sep); }
.theme-opt:last-child { border-bottom: 0; }
.theme-opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.settings .logout { width: 100%; min-height: 48px; color: var(--bad-fg); background: var(--bg2); border-radius: 12px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 20; background: var(--text); color: var(--bg); padding: 9px 16px; border-radius: 999px; font-size: 14px; white-space: nowrap; }

/* ---- push / back between the list and a lead (cross-document view transitions; app.js sets the direction) ------ */
@view-transition { navigation: auto; }
@keyframes vt-from-right { from { transform: translateX(100%); } }
@keyframes vt-to-left { to { transform: translateX(-28%); filter: brightness(.85); } }
@keyframes vt-from-left { from { transform: translateX(-28%); filter: brightness(.85); } }
@keyframes vt-to-right { to { transform: translateX(100%); } }
html.vt-push::view-transition-old(root) { animation: .34s cubic-bezier(.2, .8, .2, 1) both vt-to-left; }
html.vt-push::view-transition-new(root) { animation: .34s cubic-bezier(.2, .8, .2, 1) both vt-from-right; }
html.vt-back::view-transition-old(root) { animation: .3s cubic-bezier(.2, .8, .2, 1) both vt-to-right; z-index: 2; }
html.vt-back::view-transition-new(root) { animation: .3s cubic-bezier(.2, .8, .2, 1) both vt-from-left; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .swipe-body.row, .swipe-actions button { transition: none; }
}

/* ---- bottom tab bar (Phone's Favorites / Recents / Contacts) and the customer book (050) ------------------------ */
.has-tabbar { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
.tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 15;
  display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .16), 0 0 0 .5px var(--sep); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 88px; padding: 6px 12px 5px; border-radius: 999px;
  color: var(--text); text-decoration: none; font-size: 11px; font-weight: 500; -webkit-tap-highlight-color: transparent; }
.tabbar a svg { width: 25px; height: 25px; fill: currentColor; }
.tabbar a.on { color: var(--accent); background: var(--pill); }
.has-tabbar .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }

.search { margin: 10px 0 8px; }
.search input { border: 0; border-radius: 12px; background: var(--pill); padding: 9px 14px; }
.seg-wide { display: flex; margin-bottom: 4px; }
.seg-wide a { flex: 1; justify-content: center; padding: 0 6px; font-size: 14px; }
.custs .row { display: flex; align-items: flex-start; padding-right: 16px; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.custs .row:active { background: var(--press); }
.cust-screen .custs .row { padding-right: 26px; }
.custs li.cust:last-child .row-text { border-bottom: 0; }
.custs .row-l2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.star { color: #ff9f0a; font-size: 14px; }
.cgroup { scroll-margin-top: 64px; }
.ghead { font-size: 15px; font-weight: 600; color: var(--muted); margin: 14px 0 0; padding: 0 0 4px 14px; border-bottom: .5px solid var(--sep); }
.ghead.strong { color: var(--text); font-size: 20px; font-weight: 700; padding-left: 0; border: 0; margin: 20px 0 2px; }
.az { position: fixed; right: 2px; top: 50%; transform: translateY(-50%); z-index: 12; display: flex; flex-direction: column; align-items: center;
  padding: 4px 2px; touch-action: none; }
.az a { font-size: 11px; font-weight: 600; line-height: 1.45; color: var(--accent); text-decoration: none; padding: 0 5px; }
.empty.small { padding: 14px 0; font-size: 14px; text-align: left; }
.note.ok { background: var(--ok-bg); color: var(--ok-tx); } .note.new { background: var(--new-bg); color: var(--new-tx); }
a.link-note { display: block; text-decoration: none; }
a.cc-btn { text-decoration: none; }
.fav-btn { font-size: 22px; line-height: 1; color: var(--muted); }
.fav-btn.on { color: #ff9f0a; }
.history .t-sys.strong { color: var(--text); font-weight: 600; }
.t-lead { display: flex; justify-content: space-between; align-items: center; gap: 10px; align-self: stretch; margin: 6px 0; padding: 10px 14px;
  border-radius: 14px; background: var(--bg2); color: inherit; text-decoration: none; font-size: 15px; }

/* ---- swipe right: the leading action (Messages' read / unread spot): 완료처리 on a lead, ☆ on a customer ---------- */
.swipe { --lw: 0px; --ls: 0; }
.swipe-lead { position: absolute; top: 0; bottom: 0; left: 0; width: max(var(--lw), 76px); display: flex; align-items: center; padding: 0 8px 0 16px; }
.swipe-lead button { flex: 1 1 auto; min-width: 52px; max-width: 52px; height: 52px; padding: 0; border-radius: 999px; display: flex; align-items: center;
  justify-content: center; color: #fff; transform: scale(var(--ls)); transition: max-width .18s ease; }
.swipe.open-lead .swipe-lead button { max-width: calc(var(--lw) - 24px); }
.swipe.armed-lead .swipe-lead button { justify-content: flex-end; padding-right: 14px; }
.swipe-lead svg { width: 26px; height: 26px; fill: currentColor; }
.swipe-lead .lead-done { background: var(--green); }
.swipe-lead .lead-fav { background: #ff9f0a; }
.custs .swipe-body.row { padding-right: 16px; }
.cust-screen .custs .swipe-body.row { padding-right: 26px; }
.toast { display: flex; align-items: center; gap: 12px; }
.toast[hidden] { display: none; }
.toast .toast-act { background: none; border: 0; padding: 4px 2px; color: var(--accent); font-weight: 600; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .swipe-lead button { transition: none; } }

/* ---- 오늘 시승: today's drives on a tinted band at the top of 진행 중, so the day is the first thing read --------- */
.today { margin: 10px -16px 8px; padding-top: 10px; background: var(--bg2); }
.today-head { margin: 0; padding: 0 16px 2px 30px; font-size: 13px; font-weight: 600; color: var(--accent); }
.today-head span { color: var(--muted); font-weight: 500; margin-left: 2px; }
.today .leads { margin: 0; }
.today .swipe-body.row { background: var(--bg2); }
.today .swipe-body.row:active { background: var(--press); }
