@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  --bg: #f6f4ef;
  --paper: #ffffff;
  --ink: #1b1f1d;
  --ink2: #4a514d;
  --mute: #7c837f;
  --line: #e3dfd6;
  --deep: #12312b;
  --deep2: #1e4a41;
  --accent: #e8692c;
  --accent-soft: #fdeee6;
  --ok: #2f7d55;
  --ok-soft: #e6f2eb;
  --warn: #b5471b;
  --warn-soft: #fbe9e1;
  --r: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.badge { display: inline-block; font-size: 12px; line-height: 1; padding: 5px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink2); background: var(--paper); white-space: nowrap; }
.badge.example { border-color: var(--accent); color: var(--accent); }
.badge.mock { border-style: dashed; color: var(--mute); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--deep); background: var(--deep); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; min-height: 46px; }
.btn:hover { background: var(--deep2); }
.btn.ghost { background: transparent; color: var(--deep); }
.btn.ghost:hover { background: rgba(18, 49, 43, .06); }
.btn.accent { background: var(--accent); border-color: var(--accent); }
.btn.small { padding: 7px 12px; min-height: 34px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 9px 14px; font-size: 15px; min-height: 42px; }
.chip[aria-pressed="true"] { border-color: var(--deep); background: var(--deep); color: #fff; }
.field { display: block; margin: 12px 0; }
.field > span { display: block; font-size: 14px; color: var(--ink2); margin-bottom: 6px; }
.input, select.input, textarea.input { width: 100%; border: 1px solid var(--line); background: var(--paper); border-radius: 8px; padding: 11px 12px; min-height: 46px; }
.input:focus, .chip:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.note { font-size: 13px; color: var(--mute); }
.hr { height: 1px; background: var(--line); border: 0; margin: 18px 0; }

/* ---------- 손님 접수 화면 ---------- */
.ask-wrap { max-width: 560px; margin: 0 auto; min-height: 100vh; background: var(--paper); border-left: 1px solid var(--line); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.ask-head { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); padding: 12px 16px; }
.ask-head .row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ask-head h1 { font-size: 17px; margin: 0; letter-spacing: -.01em; }
.ask-head .ai-notice { margin: 6px 0 0; font-size: 12.5px; color: var(--ink2); }
.progress { height: 3px; background: var(--line); margin-top: 10px; border-radius: 3px; overflow: hidden; }
.progress > i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.chat { flex: 1; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 86%; padding: 12px 14px; border-radius: 14px; font-size: 15.5px; }
.bubble.bot { background: #f1efe9; border-top-left-radius: 4px; align-self: flex-start; }
.bubble.me { background: var(--deep); color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.bubble.me .edit { color: #cfe3dc; font-size: 12px; margin-left: 6px; background: none; border: 0; padding: 0; text-decoration: underline; }
.bubble small { display: block; color: var(--mute); font-size: 12px; margin-top: 4px; }
/* 2026-11-28 QA: 아래 고정(sticky)을 쓰면 패널이 화면보다 길 때 맨 위 칸이 머리글에 가려져 닿지 않았다. 흐름 안에 둔다 */
.panel { border-top: 1px solid var(--line); padding: 14px 16px 22px; background: var(--paper); scroll-margin-top: 120px; }
.panel .input, .panel .chip, .panel .btn { scroll-margin-top: 120px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.panel .actions { display: flex; gap: 8px; margin-top: 14px; }
.panel .actions .btn { flex: 1; }
.py-row { display: flex; align-items: center; gap: 12px; }
.py-row input[type=range] { flex: 1; accent-color: var(--deep); }
.py-val { font-size: 26px; font-weight: 700; min-width: 86px; text-align: right; letter-spacing: -.02em; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.photos figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photos button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 14px; line-height: 1; }
.upload { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--line); border-radius: 10px; padding: 16px; color: var(--ink2); cursor: pointer; text-align: center; }
.consent { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 10px 0; }
.consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--deep); flex: none; }
.consent details { margin-top: 8px; font-size: 13.5px; color: var(--ink2); }
.consent details summary { cursor: pointer; color: var(--ink2); }
.consent table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 13px; }
.consent th, .consent td { border-top: 1px solid var(--line); padding: 6px 4px; text-align: left; vertical-align: top; }
.consent th { width: 30%; color: var(--mute); font-weight: 500; }
.req { color: var(--warn); font-weight: 700; font-size: 13px; }
.opt { color: var(--mute); font-weight: 600; font-size: 13px; }
.est-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; align-self: stretch; }
.est-card .big { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0 6px; }
.est-card ul { list-style: none; margin: 10px 0 0; padding: 0; }
.est-card li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.est-card li span:last-child { white-space: nowrap; color: var(--ink2); }
.slots { display: flex; flex-direction: column; gap: 10px; }
.slot-day { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.slot-day b { width: 96px; font-size: 14px; font-weight: 600; }
.slot-day .chip { padding: 7px 12px; min-height: 36px; font-size: 14px; }
.slot-day .chip[disabled] { opacity: .35; text-decoration: line-through; }
.done-card { border: 1px solid var(--deep); border-radius: 12px; padding: 16px; }
.sms-mock { border: 1px dashed var(--mute); border-radius: 12px; padding: 12px; background: #fbfaf7; font-size: 14px; }
.sms-mock .tag { font-size: 11.5px; color: var(--mute); display: block; margin-bottom: 6px; }
.foot-links { padding: 10px 16px 24px; font-size: 12.5px; color: var(--mute); display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 업체 관리 화면 ---------- */
.adm { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side { background: var(--deep); color: #e9efe9; padding: 18px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; }
.side .brand { font-weight: 700; font-size: 16px; margin: 2px 8px 2px; }
.side .shop { font-size: 12.5px; color: #a9c2b8; margin: 0 8px 16px; }
.side .shop .badge { background: transparent; border-color: #f0a37b; color: #f0a37b; margin-top: 4px; }
.nav-btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: transparent; border: 0; color: #dfe8e3; text-align: left; padding: 10px 10px; border-radius: 8px; font-size: 15px; }
.nav-btn[aria-current="page"] { background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; }
.nav-btn .cnt { background: var(--accent); color: #fff; border-radius: 999px; font-size: 12px; padding: 2px 7px; min-width: 22px; text-align: center; }
.side .spacer { flex: 1; }
.side .mini { font-size: 12px; color: #a9c2b8; padding: 0 8px; }
.side .mini a { color: #dfe8e3; }
.main { padding: 22px 28px 60px; min-width: 0; }
.main h2 { font-size: 24px; letter-spacing: -.02em; margin: 0 0 4px; line-height: 1.25; }
.main .sub { color: var(--ink2); margin: 0 0 18px; font-size: 14.5px; }
.notice-bar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid var(--warn); background: var(--warn-soft); color: var(--warn); border-radius: var(--r); padding: 12px 14px; margin-bottom: 14px; }
.notice-bar b { color: var(--warn); }
.notice-bar.ok { border-color: var(--ok); background: var(--ok-soft); color: var(--ok); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.kpi { padding: 16px 18px; border-left: 1px solid var(--line); }
.kpi:first-child { border-left: 0; padding-left: 0; }
.kpi .n { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.kpi .l { color: var(--ink2); font-size: 13.5px; }
.kpi.hl .n { color: var(--accent); }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.toolbar .chip { padding: 6px 12px; min-height: 34px; font-size: 14px; }
.list { border-top: 1px solid var(--line); }
.row-q { display: grid; grid-template-columns: 92px 1fr 150px 120px; gap: 12px; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--line); cursor: pointer; background: transparent; width: 100%; text-align: left; border-left: 0; border-right: 0; border-top: 0; }
.row-q:hover { background: rgba(18, 49, 43, .035); }
.row-q .t { font-weight: 600; }
.row-q .d { color: var(--ink2); font-size: 13.5px; }
.row-q .late { color: var(--warn); font-weight: 600; font-size: 13px; }
.ch { display: inline-block; font-size: 12px; padding: 4px 8px; border-radius: 6px; font-weight: 600; white-space: nowrap; }
.ch-missed { background: #fbe9e1; color: #a23e15; }
.ch-kakao { background: #fff4c2; color: #6b5700; }
.ch-talk { background: #e3f5e6; color: #1f6b33; }
.ch-insta { background: #f7e6f1; color: #8a2f6d; }
.ch-web { background: #e6eef5; color: #2b4f73; }
.st { display: inline-block; font-size: 12.5px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.st-new { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.st-visit, .st-contract { border-color: var(--ok); color: var(--ok); }
.urgent { color: #fff; background: var(--warn); font-size: 11.5px; padding: 2px 7px; border-radius: 6px; margin-left: 6px; font-weight: 700; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.sec { margin-bottom: 22px; }
.sec h3 { font-size: 16px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: 108px 1fr; gap: 6px 12px; font-size: 14.5px; }
.kv dt { color: var(--mute); }
.kv dd { margin: 0; }
.log { display: flex; flex-direction: column; gap: 8px; }
.log .m { font-size: 14px; padding: 9px 11px; border-radius: 10px; background: #f1efe9; max-width: 92%; }
.log .m.auto { background: #e9f0ee; }
.log .m.owner { background: var(--deep); color: #fff; align-self: flex-end; }
.log .m.system { background: transparent; border: 1px dashed var(--line); color: var(--ink2); }
.log .m small { display: block; color: var(--mute); font-size: 11.5px; }
.log .m.owner small { color: #b9d2c9; }
table.items { width: 100%; border-collapse: collapse; font-size: 14px; }
table.items th { text-align: left; color: var(--mute); font-weight: 500; font-size: 12.5px; padding: 6px 4px; border-bottom: 1px solid var(--line); }
table.items td { padding: 4px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.items input { width: 100%; border: 1px solid transparent; background: transparent; padding: 6px; border-radius: 6px; min-height: 34px; }
table.items input:hover, table.items input:focus { border-color: var(--line); background: #fff; }
table.items .num { text-align: right; }
table.items td.amt { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.items .del { border: 0; background: none; color: var(--mute); font-size: 18px; }
.totals { display: flex; justify-content: flex-end; gap: 22px; padding: 10px 4px; font-size: 14.5px; flex-wrap: wrap; }
.totals b { font-size: 18px; }
.ai-box { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; background: #fbfaf7; font-size: 14.5px; }
.ai-box h4 { margin: 0 0 6px; font-size: 14px; }
.ai-box ul { margin: 4px 0 10px; padding-left: 18px; }
.ai-box .meta { font-size: 12px; color: var(--mute); }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cal .day { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 150px; padding: 8px; }
.cal .day h4 { margin: 0 0 6px; font-size: 13px; color: var(--ink2); font-weight: 600; }
.cal .ev { font-size: 12.5px; background: var(--ok-soft); color: var(--ok); border-radius: 6px; padding: 5px 6px; margin-bottom: 5px; cursor: pointer; }
.cal .free { font-size: 12px; color: var(--mute); border: 1px dashed var(--line); border-radius: 6px; padding: 4px 6px; margin-bottom: 5px; }
.report-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 20px; }
.report-hero .huge { font-size: 96px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--accent); }
.report-hero .cap { font-size: 18px; font-weight: 600; margin-top: 8px; }
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar { display: grid; grid-template-columns: 100px 1fr 64px; gap: 10px; align-items: center; font-size: 14px; }
.bar .track { height: 12px; background: #ece9e1; border-radius: 6px; overflow: hidden; position: relative; }
.bar .track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--deep); border-radius: 6px; }
.bar .track i.s { background: var(--accent); }
.funnel { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.funnel div { padding: 14px 10px; border-left: 1px solid var(--line); }
.funnel div:first-child { border-left: 0; }
.funnel b { display: block; font-size: 26px; letter-spacing: -.02em; }
.funnel span { font-size: 13px; color: var(--ink2); }
.mock-wrap { border: 1px dashed var(--mute); border-radius: var(--r); padding: 14px; background: #fbfaf7; }
.mock-wrap .mlabel { font-size: 12px; color: var(--mute); margin-bottom: 6px; display: block; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.slot-edit { display: grid; grid-template-columns: 48px 1fr; gap: 6px 10px; align-items: center; font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 999px; font-size: 14px; z-index: 50; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.show { opacity: 1; }
.back { background: none; border: 0; color: var(--ink2); padding: 0; margin-bottom: 10px; font-size: 14px; }
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .adm { grid-template-columns: 1fr; }
  .side { display: none; }
  .mobile-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: var(--deep); z-index: 20; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .mobile-nav .nav-btn { flex-direction: column; gap: 2px; font-size: 12px; padding: 6px 4px; }
  .mobile-top { display: flex !important; }
  .main { padding: 14px 14px 90px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(3) { border-left: 0; padding-left: 0; }
  .kpi { border-top: 1px solid var(--line); }
  .kpi:nth-child(-n+2) { border-top: 0; }
  .row-q { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .row-q .c-ch { grid-column: 1; }
  .row-q .c-st { grid-column: 2; grid-row: 1; text-align: right; }
  .row-q .c-main { grid-column: 1 / -1; }
  .row-q .c-time { grid-column: 1 / -1; }
  .detail, .settings-grid, .report-hero { grid-template-columns: 1fr; }
  .report-hero .huge { font-size: 72px; }
  .cal { grid-template-columns: 1fr; }
  .cal .day { min-height: 0; }
  .funnel { grid-template-columns: repeat(3, 1fr); }
  .funnel div:nth-child(4) { border-left: 0; }
  .funnel div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .ask-wrap { border: 0; }
  table.items th:nth-child(1), table.items td:nth-child(1) { display: none; }
}
.mobile-top { display: none; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
/* 2026-11-28 QA: 말풍선을 위로 맞출 때 머리글 높이만큼 띄운다 */
.bubble { scroll-margin-top: 150px; }
/* 2026-11-28 보강: 견적돋보기 새 손님·요금 상태·AI 전화 시안 */
.ch-kq { background: #fdeee6; color: #b5471b; }
.billbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid var(--line); background: #fff; border-radius: var(--r); padding: 11px 14px; margin-bottom: 14px; font-size: 14.5px; }
.billbar.active { border-color: var(--ok); background: var(--ok-soft); }
.kq-note { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 10px 12px; border-radius: 6px; font-size: 14px; margin: 10px 0; }
.call { border-top: 1px solid var(--line); padding: 12px 0; }
.call .sum { font-weight: 600; }
.call details { margin-top: 6px; font-size: 14px; color: var(--ink2); }
.lock { color: var(--mute); font-size: 13px; }

/* ---------- 업체 화면: 쉬운 화면(2026-11-28 사장님: 현장 사장님들은 화면이 복잡하면 안 본다) ----------
 * 메뉴 4개, 큰 글자, 큰 버튼, 한 화면에 한 가지 일. 폰 기준이고 PC에서도 같은 폭(720px)으로 보인다. */
body.easy { font-size: 17px; }
.e-top { position: sticky; top: 0; z-index: 10; background: var(--deep); color: #fff; }
.e-top .in { max-width: 720px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.e-top b { font-size: 17px; letter-spacing: -.01em; }
.e-top .badge { background: transparent; border-color: #f0a37b; color: #f0a37b; }
.e-main { max-width: 720px; margin: 0 auto; padding: 18px 16px 120px; outline: none; }
.e-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.e-nav .in { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.e-nav .nav-btn { position: relative; justify-content: center; color: var(--ink2); font-size: 16px; font-weight: 600; min-height: 62px; padding: 8px 4px; border-radius: 0; }
.e-nav .nav-btn[aria-current="page"] { color: var(--deep); background: transparent; box-shadow: inset 0 3px 0 var(--accent); font-weight: 800; }
.e-nav .cnt { position: absolute; top: 8px; right: calc(50% - 40px); }
.easy .toast { bottom: 84px; }
.e-h { font-size: 28px; line-height: 1.2; letter-spacing: -.02em; margin: 4px 0 6px; }
.e-h .badge { vertical-align: middle; font-size: 12px; letter-spacing: 0; }
.e-sub { color: var(--ink2); margin: 0 0 18px; font-size: 15.5px; }
.e-h3 { font-size: 18px; line-height: 1.3; margin: 30px 0 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.e-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.e-card.is-urgent { border: 2px solid var(--warn); }
.e-tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 6px; }
.e-tag { display: inline-block; font-size: 13px; font-weight: 700; line-height: 1.2; padding: 4px 8px; border-radius: 6px; background: #f1efe9; color: var(--ink2); }
.e-tag.red { background: var(--warn); color: #fff; }
.e-tag.new { background: var(--accent-soft); color: var(--warn); }
.e-t { font-size: 21px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.e-d { color: var(--ink2); font-size: 15.5px; margin-top: 2px; }
.e-m { font-size: 18px; font-weight: 800; margin-top: 8px; }
.e-late { color: var(--warn); font-weight: 800; }
.e-thumbs { display: flex; gap: 6px; margin-top: 10px; }
.e-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.e-act { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-top: 14px; }
.btn.big { min-height: 56px; font-size: 17.5px; border-radius: 12px; padding: 12px 16px; }
.btn.block { display: flex; width: 100%; }
.e-ok { text-align: center; padding: 34px 10px; color: var(--ok); font-weight: 700; background: var(--ok-soft); border-radius: 14px; }
.e-list { border-top: 1px solid var(--line); }
.e-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 2px; border-bottom: 1px solid var(--line); text-decoration: none; min-height: 64px; }
.e-row:hover { background: rgba(18, 49, 43, .035); }
.e-row b { font-size: 17.5px; }
.e-row small { display: block; color: var(--ink2); font-size: 14.5px; margin-top: 2px; }
.e-row .st { font-size: 14px; padding: 5px 10px; flex: none; }
.e-memo { margin: 12px 0 0; padding: 10px 14px; background: #fff; border-left: 3px solid var(--deep); border-radius: 4px; font-size: 16px; }
.e-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 14px 0; }
.e-box.done { border-color: var(--ok); background: var(--ok-soft); }
.e-cap { font-size: 15px; color: var(--ink2); font-weight: 700; }
.e-big { font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.e-box details { margin: 8px 0 14px; }
.e-box summary, .e-more > summary { cursor: pointer; font-weight: 700; color: var(--deep); min-height: 44px; display: flex; align-items: center; }
.e-done { margin: 10px 0 0; color: var(--ok); font-weight: 700; font-size: 15.5px; }
.e-done a { color: var(--deep); }
.e-slots { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.e-slots .chip { min-height: 48px; font-size: 16px; padding: 10px 14px; }
.e-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; }
.e-more { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 4px; }
.e-more[open] > summary { margin-bottom: 4px; }
.e-price { display: grid; grid-template-columns: 1fr 168px; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.e-price b { font-size: 17px; }
.e-price small { display: block; color: var(--mute); font-size: 14px; }
.e-price .won { display: flex; align-items: center; gap: 6px; }
.e-price input { text-align: right; font-size: 18px; font-weight: 700; min-height: 50px; }
.e-menu { border-top: 1px solid var(--line); }
.e-menu a, .e-menu button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 16px 2px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; text-decoration: none; font-size: 17.5px; font-weight: 700; min-height: 60px; color: var(--ink); }
.e-menu small { color: var(--mute); font-weight: 400; font-size: 14px; white-space: nowrap; }
.e-nums { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 6px 0 12px; }
.e-nums div { padding: 14px 10px 14px 0; }
.e-nums div + div { border-left: 1px solid var(--line); padding-left: 12px; }
.e-nums b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.e-nums b.accent { color: var(--accent); }
.e-nums span { font-size: 14px; color: var(--ink2); }
.easy .cal { grid-template-columns: 1fr; }
.easy .cal .day { min-height: 0; }
.easy .cal .ev, .easy .cal .free { font-size: 14.5px; padding: 8px 10px; }
.easy .slot-edit { grid-template-columns: 36px 1fr; }
.easy .kv { font-size: 15.5px; grid-template-columns: 104px 1fr; }
@media (max-width: 560px) {
  .e-h { font-size: 25px; }
  .e-big { font-size: 34px; }
  .e-price { grid-template-columns: 1fr 140px; }
  .e-nums b { font-size: 26px; }
  .e-nav .nav-btn { font-size: 15px; }
}
/* 좁은 폰에서 견적 항목 표: 공종·단위·줄 금액 칸을 숨겨 항목 이름 칸을 지킨다 */
@media (max-width: 560px) {
  .easy table.items th:nth-child(4), .easy table.items td:nth-child(4),
  .easy table.items th:nth-child(6), .easy table.items td:nth-child(6) { display: none; }
}
