/* ==========================================================
   뷰티코코펀 Design System — Minimal / Modern / Supersonic Pink
   ========================================================== */
:root {
  --white: #FFFFFF;
  --gray: #F5F5F7;
  --gray-2: #EDEDF0;
  --line: #E5E5E7;
  --line-2: #D2D2D7;
  --ink: #111111;
  --ink-2: #333336;
  --muted: #6E6E73;
  --muted-2: #8E8E93;
  --pink: #E6007E;
  --pink-2: #D81B60;
  --pink-soft: #FDEBF4;
  --green: #0A8F5B;
  --green-soft: #E7F6EF;
  --amber: #B26A00;
  --amber-soft: #FFF4E0;
  --red: #D70015;
  --red-soft: #FDECEE;
  --blue: #0066CC;
  --blue-soft: #EAF3FD;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow: 0 12px 40px rgba(17, 17, 17, .08);
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Segoe UI', sans-serif;
  --header-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  font-size: 15px; line-height: 1.6; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--pink); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.ico { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico.sm { width: 16px; height: 16px; }
.ico.lg { width: 28px; height: 28px; stroke-width: 1.4; }
.ico.xl { width: 40px; height: 40px; stroke-width: 1.2; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.gray { background: var(--gray); }
.section.tight { padding: 64px 0; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--pink); letter-spacing: .02em; margin-bottom: 12px; }
.h-xl { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.12; font-weight: 700; letter-spacing: -0.035em; }
.h-lg { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.2; font-weight: 700; letter-spacing: -0.03em; }
.h-md { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
.h-sm { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); line-height: 1.65; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.pink { color: var(--pink); }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap-row { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.grow { flex: 1; min-width: 0; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.hide { display: none !important; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -0.03em; white-space: nowrap; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; }
.logo-mark i { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--pink); }
.logo small { font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 2px; }
.nav { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.nav a:hover, .nav a.active { color: var(--pink); }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; }
.mobile-nav { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .1s; background: var(--gray); color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn.primary { background: var(--pink); color: #fff; }
.btn.primary:hover { background: var(--pink-2); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #2a2a2d; }
.btn.line { background: #fff; border-color: var(--line-2); }
.btn.line:hover { border-color: var(--ink); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--gray); }
.btn.danger { background: var(--red-soft); color: var(--red); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn.xs { height: 28px; padding: 0 10px; font-size: 12px; gap: 4px; }
.btn.lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.square { width: 36px; padding: 0; border-radius: 10px; height: 36px; }
.link { color: var(--pink); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.link:hover { text-decoration: underline; }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.card.flat { background: var(--gray); border-color: transparent; }
.card.pad-sm { padding: 18px; }
.card.hover { transition: border-color .15s, transform .15s, box-shadow .15s; }
.card.hover:hover { border-color: var(--ink); }
.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; background: var(--gray); display: grid; place-items: center; color: var(--ink); margin-bottom: 20px; }
.icon-tile.pink { background: var(--pink-soft); color: var(--pink); }

/* ---------- hero ---------- */
.hero { padding: 88px 0 72px; text-align: center; }
.hero .lead { max-width: 640px; margin: 20px auto 0; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-preview { margin-top: 64px; border: 1px solid var(--line); border-radius: 24px; background: var(--gray); padding: 20px; text-align: left; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; background: #fff; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }

.industry-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; }
.industry { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 8px; text-align: center; background: #fff; font-size: 14px; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: border-color .15s, color .15s; }
.industry:hover, .industry.active { border-color: var(--pink); color: var(--pink); }
.industry .ico { width: 28px; height: 28px; stroke-width: 1.3; }

/* support-style search/quick links (Dyson support inspired) */
.quick-links { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.quick-links a { padding: 28px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: background .15s; }
.quick-links a:last-child { border-right: 0; }
.quick-links a:hover { background: var(--gray); }
.quick-links .t { font-weight: 700; font-size: 16px; }
.quick-links .d { font-size: 13px; color: var(--muted); }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row + .feature-row { margin-top: 96px; }
.feature-row.rev > :first-child { order: 2; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check-list li .ico { color: var(--pink); margin-top: 2px; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }

.price-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; background: #fff; }
.price-card.hl { border: 2px solid var(--ink); }
.price { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }

.cta-band { background: var(--ink); color: #fff; border-radius: 28px; padding: 64px 32px; text-align: center; }
.cta-band .lead { color: #A1A1A6; }

.site-footer { border-top: 1px solid var(--line); background: var(--gray); padding: 48px 0 64px; font-size: 13px; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--ink); font-size: 13px; margin-bottom: 12px; }
.site-footer a { display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--ink); }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field > span, .label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, .select, .textarea { width: 100%; height: 46px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 0 14px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; font-size: 15px; }
.textarea { height: auto; min-height: 88px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,17,17,.06); }
.input.sm, .select.sm { height: 38px; font-size: 14px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.seg { display: inline-flex; background: var(--gray); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; height: 32px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; height: 32px; padding: 0 12px; font-size: 13px; font-weight: 500; }
.chip.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.toggle { position: relative; width: 44px; height: 26px; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle i { position: absolute; inset: 0; background: var(--line-2); border-radius: 999px; transition: background .15s; }
.toggle i::after { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle input:checked + i { background: var(--pink); }
.toggle input:checked + i::after { transform: translateX(18px); }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: var(--gray); color: var(--ink-2); white-space: nowrap; }
.badge.pink { background: var(--pink-soft); color: var(--pink); }
.badge.green { background: var(--green-soft); color: var(--green); }
.badge.amber { background: var(--amber-soft); color: var(--amber); }
.badge.red { background: var(--red-soft); color: var(--red); }
.badge.blue { background: var(--blue-soft); color: var(--blue); }
.badge.dark { background: var(--ink); color: #fff; }

/* ---------- modal / toast ---------- */
.modal-back { position: fixed; inset: 0; z-index: 100; background: rgba(17,17,17,.4); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade .15s; }
.modal { background: #fff; border-radius: 22px; width: 100%; max-width: 520px; max-height: calc(100dvh - 40px); overflow: auto; box-shadow: var(--shadow); animation: up .2s ease; }
.modal.wide { max-width: 860px; }
.modal-head { position: sticky; top: 0; background: #fff; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 22px 24px 14px; }
.modal-head h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; flex: 1; }
.modal-body { padding: 4px 24px 24px; }
.modal-foot { display: flex; gap: 8px; justify-content: flex-end; padding: 0 24px 24px; }
.x-btn { border: 0; background: var(--gray); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
#toast-root { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow); animation: up .2s ease; display: flex; gap: 8px; align-items: center; max-width: 90vw; }
.toast.err { background: var(--red); }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { opacity: 0; transform: translateY(10px); } }

/* ==========================================================
   SaaS App
   ========================================================== */
.app { display: grid; grid-template-columns: 240px 1fr; min-height: 100dvh; background: var(--gray); }
.side { position: sticky; top: 0; height: 100dvh; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 20px 14px; }
.side .logo { padding: 4px 10px 20px; }
.shop-box { margin: 0 4px 16px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.shop-box .n { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); position: relative; }
.side-nav a:hover { background: var(--gray); }
.side-nav a.active { background: var(--ink); color: #fff; }
.side-nav .cnt { margin-left: auto; min-width: 20px; height: 20px; border-radius: 10px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
.side-foot { margin-top: auto; display: grid; gap: 6px; }
.plan-box { padding: 14px; border-radius: 12px; background: var(--gray); font-size: 13px; }
.main { min-width: 0; padding: 28px 32px 64px; }
.topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.topbar h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; flex: 1; min-width: 160px; }
.demo-banner { background: var(--ink); color: #fff; font-size: 13px; padding: 10px 16px; display: flex; align-items: center; gap: 12px; justify-content: center; flex-wrap: wrap; }
.demo-banner b { color: #FF5CB1; }
.mobile-top { display: none; }
.tabbar { display: none; }

.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.stat .k { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat .v { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin-top: 4px; }
.stat .v small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.panel-head h3 { font-size: 15px; font-weight: 700; flex: 1; }
.panel-body { padding: 16px 20px; }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.list > li.click { cursor: pointer; }
.list > li.click:hover { background: #FAFAFB; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--gray); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; color: var(--ink-2); }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.empty .ico { margin: 0 auto 12px; color: var(--line-2); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.search { position: relative; }
.search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search .input { padding-left: 42px; }

/* ---------- scheduler ---------- */
.sched-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.sched-bar .date-label { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; min-width: 150px; }
.timetable { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: auto; max-height: calc(100dvh - 210px); }
.tt-grid { display: grid; position: relative; min-width: 100%; }
.tt-head { position: sticky; top: 0; z-index: 3; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 6px; text-align: center; font-size: 13px; font-weight: 600; }
.tt-head.today { color: var(--pink); }
.tt-head .d { font-size: 18px; font-weight: 700; display: block; }
.tt-corner { position: sticky; left: 0; top: 0; z-index: 4; background: #fff; border-bottom: 1px solid var(--line); }
.tt-time { position: sticky; left: 0; z-index: 2; background: #fff; font-size: 11px; color: var(--muted); text-align: right; padding: 0 8px; transform: translateY(-7px); }
.tt-col { position: relative; border-left: 1px solid var(--line); }
.tt-slot { height: 30px; border-bottom: 1px solid #F0F0F2; cursor: pointer; }
.tt-slot.hour { border-bottom-color: var(--line); }
.tt-slot:hover { background: #FAFAFB; }
.ev { position: absolute; left: 4px; right: 4px; border-radius: 8px; padding: 5px 8px; font-size: 12px; line-height: 1.35; overflow: hidden; cursor: pointer; border-left: 3px solid; background: var(--gray); z-index: 1; }
.ev .n { font-weight: 700; display: flex; gap: 4px; align-items: center; }
.ev.pending { background: var(--amber-soft); border-color: var(--amber); }
.ev.confirmed { background: var(--pink-soft); border-color: var(--pink); }
.ev.done { background: var(--green-soft); border-color: var(--green); }
.ev.noshow, .ev.late_cancel { background: var(--red-soft); border-color: var(--red); opacity: .8; }
.ev.cancelled { background: var(--gray); border-color: var(--line-2); opacity: .6; text-decoration: line-through; }
.now-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--pink); z-index: 2; pointer-events: none; }
.now-line::before { content: ''; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.status-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.status-switch button { border: 0; background: #fff; height: 36px; padding: 0 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.status-switch button.on.pending { background: var(--amber); color: #fff; }
.status-switch button.on.confirmed { background: var(--pink); color: #fff; }

/* ---------- pass card ---------- */
.pass-card { border-radius: 20px; padding: 24px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.pass-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid var(--pink); opacity: .9; }
.pass-card .t { font-size: 13px; color: #A1A1A6; position: relative; z-index: 1; }
.pass-card .big { font-size: 36px; font-weight: 800; letter-spacing: -0.04em; margin-top: 6px; position: relative; z-index: 1; }
.pass-card .meta { display: flex; gap: 16px; margin-top: 18px; font-size: 12px; color: #A1A1A6; position: relative; z-index: 1; flex-wrap: wrap; }
.pass-mini { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 10px; }
.pass-mini.off { opacity: .5; }
.progress { height: 6px; background: var(--gray-2); border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--pink); border-radius: 3px; }
.recipe-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.timeline li:last-child { border-bottom: 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.on { color: var(--ink); border-color: var(--ink); }

/* ---------- public pages (pass/book) ---------- */
.mobile-page { min-height: 100dvh; background: var(--gray); }
.mobile-page .inner { max-width: 480px; margin: 0 auto; padding: 24px 18px 48px; }
.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { height: 42px; border: 1px solid var(--line-2); background: #fff; border-radius: 10px; font-size: 14px; font-weight: 600; }
.slot.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.slot:disabled { opacity: .3; text-decoration: line-through; }
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.date-strip button { flex: none; width: 58px; height: 70px; border: 1px solid var(--line-2); background: #fff; border-radius: 14px; display: grid; place-content: center; text-align: center; font-size: 12px; color: var(--muted); }
.date-strip button b { display: block; font-size: 19px; color: var(--ink); }
.date-strip button.on { background: var(--pink); border-color: var(--pink); color: #fff; }
.date-strip button.on b { color: #fff; }

/* ---------- lounge ---------- */
.lounge-hero { padding: 64px 0 40px; }
.msg-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.msg-card p { font-size: 14px; line-height: 1.65; white-space: pre-line; color: var(--ink-2); flex: 1; }
.msg-card .row { justify-content: space-between; }
.doc-paper { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 48px 44px; font-size: 14px; line-height: 1.8; color: #111; }
.doc-paper h2 { text-align: center; font-size: 22px; margin-bottom: 28px; letter-spacing: 0; }
.doc-paper h4 { font-size: 14px; margin: 18px 0 6px; }
.doc-paper ol, .doc-paper ul { padding-left: 20px; margin: 6px 0; }
.doc-paper table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 13px; }
.doc-paper th, .doc-paper td { border: 1px solid #999; padding: 8px 10px; text-align: left; }
.doc-paper th { background: #F5F5F7; }
.sign-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.sign-row div { border-bottom: 1px solid #111; padding: 20px 0 6px; font-size: 13px; }
.result-box { background: var(--gray); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; }
.result-box .r { display: flex; justify-content: space-between; font-size: 14px; }
.result-box .r b { font-size: 16px; }
.result-box .r.hl b { color: var(--pink); font-size: 22px; }
.convert { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; display: flex; align-items: center; gap: 24px; background: #fff; flex-wrap: wrap; }
.convert .grow { min-width: 240px; }
.legal { max-width: 780px; }
.legal h2 { font-size: 18px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink-2); font-size: 14px; line-height: 1.8; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .industry-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .app { grid-template-columns: 76px 1fr; }
  .side { padding: 16px 10px; }
  .side .logo span, .side .logo small, .shop-box, .side-nav a span, .plan-box, .side-foot .btn span { display: none; }
  .side .logo { justify-content: center; padding: 4px 0 20px; }
  .side-nav a { justify-content: center; padding: 0; }
  .side-nav .cnt { position: absolute; top: 2px; right: 6px; min-width: 16px; height: 16px; font-size: 10px; padding: 0 4px; }
  .side-foot .btn { padding: 0; }
  .main { padding: 24px 22px 64px; }
  .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav, .header-actions .hide-m { display: none; }
  .menu-btn { display: block; }
  .mobile-nav.open { display: grid; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; z-index: 49; padding: 16px 24px; align-content: start; gap: 2px; }
  .mobile-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; }
  .section { padding: 64px 0; }
  .grid.c3 { grid-template-columns: 1fr; }
  .grid.c2 { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.rev > :first-child { order: 0; }
  .quick-links { grid-template-columns: 1fr 1fr; }
  .quick-links a:nth-child(2) { border-right: 0; }
  .quick-links a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .wrap { padding: 0 18px; }
  .industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { padding: 56px 0 48px; }
  .card { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .app { display: block; }
  .side { display: none; }
  .mobile-top { display: flex; position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); height: 56px; align-items: center; padding: 0 14px; gap: 10px; }
  .mobile-top .n { font-weight: 700; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; font-size: 10px; font-weight: 600; color: var(--muted); position: relative; }
  .tabbar a.active { color: var(--pink); }
  .tabbar .cnt { position: absolute; top: 4px; left: 54%; min-width: 16px; height: 16px; border-radius: 8px; background: var(--pink); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
  .main { padding: 18px 14px 96px; }
  .topbar h1 { font-size: 22px; }
  .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 14px; }
  .stat .v { font-size: 21px; }
  .list > li { padding: 12px 14px; }
  .panel-head, .panel-body { padding-left: 14px; padding-right: 14px; }
  .modal-back { align-items: flex-end; padding: 0; }
  .modal { border-radius: 22px 22px 0 0; max-height: 92dvh; }
  .modal-head { padding: 18px 18px 12px; }
  .modal-body { padding: 4px 18px 18px; }
  .modal-foot { padding: 0 18px calc(18px + env(safe-area-inset-bottom)); }
  .modal-foot .btn { flex: 1; }
  .timetable { max-height: calc(100dvh - 250px); }
  .recipe-grid { grid-template-columns: 1fr; }
  .doc-paper { padding: 28px 20px; }
  .quick-links a { padding: 20px 16px; }
  .cta-band { padding: 48px 22px; border-radius: 22px; }
  .price-card { padding: 24px; }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
}

@media print {
  body * { visibility: hidden; }
  .print-area, .print-area * { visibility: visible; }
  .print-area { position: absolute; left: 0; top: 0; width: 100%; border: 0 !important; padding: 0 !important; }
  @page { margin: 18mm; }
}

/* ---------- QA polish ---------- */
body { word-break: keep-all; overflow-wrap: break-word; }
.select { -webkit-appearance: none; -moz-appearance: none; }
.select::-ms-expand { display: none; }
.tabs { overflow-y: hidden; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.panel-head h3 { display: flex; align-items: center; gap: 6px; }
.side { overflow-y: auto; }
.tt-time:first-child { transform: none; }
