/* 세금추적단 — 하나의 화면에 하나의 생각. 여백, 큰 숫자, 짧은 말. */
:root {
  --bg: #fff; --bg2: #f5f5f7; --fg: #1d1d1f; --muted: #6e6e73; --line: #e5e5ea;
  --accent: #0071e3; --in: #0071e3; --out: #d2d2d7; --warn: #bf5b00; --warn-bg: #fff4e5;
  --sans: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000; --bg2: #1c1c1e; --fg: #f5f5f7; --muted: #a1a1a6; --line: #2c2c2e;
    --accent: #2997ff; --in: #2997ff; --out: #48484a; --warn: #ff9f0a; --warn-bg: #2a1f0e; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; word-break: keep-all; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 max(22px, env(safe-area-inset-left)) 64px; }
a { color: var(--accent); text-decoration: none; }
h1 { font-size: clamp(36px, 9vw, 64px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 800; margin: 0; }
h2 { font-size: clamp(24px, 5.5vw, 32px); line-height: 1.25; letter-spacing: -0.025em; font-weight: 700; margin: 0 0 10px; }
.sub { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 15px; margin: 0 0 14px; }

.hero { padding: 72px 0 40px; }
.lede { font-size: 20px; line-height: 1.5; color: var(--muted); margin: 18px 0 0; }
.lede b { color: var(--fg); }
.big { margin-top: 44px; display: grid; gap: 8px; }
.big .v { font-size: clamp(54px, 16vw, 112px); line-height: 1; font-weight: 800; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.big .k { font-size: 17px; color: var(--muted); }
.meta { color: var(--muted); font-size: 14px; margin: 22px 0 0; }

.sec { padding: 44px 0; border-top: 1px solid var(--line); }

.searchbox { display: flex; align-items: center; gap: 10px; background: var(--bg2); border-radius: 16px; padding: 0 18px; height: 60px; margin-bottom: 16px; }
.searchbox span { font-size: 24px; color: var(--muted); }
.searchbox input { flex: 1; border: 0; background: none; font: 600 19px var(--sans); color: var(--fg); outline: none; min-width: 0; height: 100%; }
.searchbox:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.cities { display: grid; }
.city { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 2px; border-bottom: 1px solid var(--line); color: var(--fg); min-height: 60px; }
.city .n { font-size: 19px; font-weight: 700; }
.city .m { color: var(--muted); font-size: 15px; display: block; font-weight: 400; }
.city .r { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.badge { font-size: 14px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--bg2); color: var(--muted); }
.badge.on { background: var(--warn-bg); color: var(--warn); }
.chev { color: var(--muted); font-size: 22px; }
.more { margin-top: 14px; width: 100%; height: 52px; border: 0; border-radius: 14px; background: var(--bg2); color: var(--accent); font: 600 17px var(--sans); cursor: pointer; }

.alerts { display: grid; gap: 14px; }
.alert { background: var(--bg2); border-radius: 20px; padding: 22px; display: grid; gap: 8px; }
.alert .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pill { font-size: 13px; font-weight: 700; color: var(--warn); }
.pill.big { color: var(--muted); }
.alert .a { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.alert .t { font-size: 18px; font-weight: 700; line-height: 1.4; }
.alert .d { font-size: 15px; color: var(--muted); }
.alert .x { font-size: 15px; background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.alert .src { font-size: 14px; }
.alert a.go { font-size: 15px; font-weight: 600; }

.empty { background: var(--bg2); border-radius: 20px; padding: 28px 22px; text-align: center; color: var(--muted); margin: 0; }
.empty b { display: block; color: var(--fg); font-size: 20px; margin-bottom: 6px; }
.pulse { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-right: 8px; animation: p 1.6s ease-in-out infinite; vertical-align: middle; }
@keyframes p { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; counter-increment: s; }
.steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--bg2); display: grid; place-items: center; font-weight: 800; color: var(--accent); }
.steps b { font-size: 19px; }
.steps span { color: var(--muted); font-size: 16px; }
.principles { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 10px; font-size: 16px; }

.topbar { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 0; font-size: 15px; color: var(--muted); }
.topbar a { font-size: 17px; font-weight: 600; }
.stats { display: grid; gap: 0; padding-bottom: 20px; }
.stat { display: grid; padding: 22px 0; border-top: 1px solid var(--line); }
.stat .v { font-size: clamp(44px, 12vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat .k { font-size: 18px; font-weight: 600; margin-top: 6px; }
.stat .s { font-size: 14px; color: var(--muted); }
#k-alerts { color: var(--warn); }

.explain, .all { background: var(--bg2); border-radius: 16px; padding: 0 18px; margin-bottom: 18px; }
.explain summary, .all summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--accent); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.explain summary::after, .all summary::after { content: "+"; font-size: 22px; line-height: 1; }
.explain[open] summary::after, .all[open] summary::after { content: "−"; }
.explain ul { margin: 0; padding: 0 0 16px 18px; display: grid; gap: 8px; font-size: 15px; }
.all summary .sub { margin: 0; font-weight: 400; }
.all summary span:first-child { font-size: 19px; color: var(--fg); }

.split { margin: 8px 0 26px; }
.splitbar { height: 22px; border-radius: 999px; background: var(--out); overflow: hidden; }
.splitbar i { display: block; height: 100%; background: var(--in); border-radius: 999px 0 0 999px; width: 0; transition: width .6s ease; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; font-size: 16px; }
.legend b:not(.dot) { font-weight: 800; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.dot.in { background: var(--in); } .dot.out { background: var(--out); }

.bars { display: grid; gap: 16px; margin-bottom: 18px; }
.barrow { display: grid; gap: 6px; }
.barrow .l { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 600; }
.barrow .l span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.barrow .l small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.barrow .l .amt { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.barrow .b { height: 10px; background: var(--bg2); border-radius: 999px; overflow: hidden; }
.barrow .b i { display: block; height: 100%; background: var(--accent); border-radius: 999px; }

.search { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font: 16px var(--sans); background: var(--bg); color: var(--fg); margin-bottom: 10px; }
.tablewrap { overflow-x: auto; margin: 0 -18px; padding: 0 18px 18px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th button { all: unset; cursor: pointer; font-weight: 700; color: var(--muted); white-space: nowrap; }
th[aria-sort="ascending"] button::after { content: " ↑"; } th[aria-sort="descending"] button::after { content: " ↓"; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.ttl { min-width: 160px; }
@media (max-width: 600px) { .hide-narrow { display: none; } }

footer { border-top: 1px solid var(--line); padding-top: 26px; display: grid; gap: 8px; color: var(--muted); font-size: 13px; }

@media (min-width: 900px) {
  .wrap { max-width: 980px; }
  .hero { padding: 120px 0 64px; text-align: center; }
  .hero h1 { font-size: 72px; }
  .big { justify-items: center; }
  .sec { padding: 64px 0; }
  #find, .home-alerts { max-width: 760px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .alerts.grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { grid-template-columns: 1fr; row-gap: 8px; }
  .steps li::before { grid-row: auto; }
  body[data-page="city"] .hero { text-align: left; padding: 72px 0 40px; }
}

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chips.center { padding: 10px 0 0; }
.chip { flex-shrink: 0; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: 600 15px var(--sans); cursor: pointer; }
.chip.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.sharebtn { border: 0; background: none; color: var(--accent); font: 600 15px var(--sans); cursor: pointer; padding: 6px 0; }
.sharebtn.big { margin-top: 22px; height: 48px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 17px; }
.is-empty .big .v { color: var(--muted); }
@media (min-width: 900px) { .chips.center { justify-content: center; } }
[hidden] { display: none !important; }
.sharebtn.big { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }

/* ---------- 돈의 흐름 지도 ---------- */
:root { --flow-out: #ff9f0a; --land: #f0f0f3; --land-line: #fff; }
@media (prefers-color-scheme: dark) { :root { --flow-out: #ff8a5c; --land: #1c1c1e; --land-line: #000; } }
.mapsec h2 { margin-bottom: 6px; }
.maptools { display: flex; gap: 10px; align-items: center; margin: 6px 0 12px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--bg2); border-radius: 12px; padding: 3px; }
.seg button { all: unset; min-height: 44px; padding: 0 16px; border-radius: 10px; font: 600 15px var(--sans); color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; -webkit-tap-highlight-color: transparent; }
.seg button[aria-pressed="true"] { background: var(--bg); color: var(--fg); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.cityselect { flex: 1; min-width: 140px; height: 50px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: 600 16px var(--sans); padding: 0 12px; }
.map { width: 100%; aspect-ratio: 1 / 1.1; max-height: 72vh; background: var(--bg); border-radius: 20px; overflow: hidden; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.map:not(.sat) > svg { width: 100%; height: 100%; display: block; }
.provs path { fill: var(--land); stroke: var(--land-line); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.cdot { fill: var(--accent); fill-opacity: .28; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill-opacity .3s; }
.picked .cdot { fill-opacity: .12; stroke-opacity: .35; }
.cdot.on, .picked .cdot.on { fill-opacity: .9; stroke-opacity: 1; stroke: var(--bg); stroke-width: 2; }
.fl { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .85; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 1.1s ease-out forwards; pointer-events: none; }
.fl.in { stroke: var(--in); } .fl.out { stroke: var(--flow-out); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .fl { animation: none; stroke-dashoffset: 0; } }
.dd { stroke: var(--bg); stroke-width: 1.5; vector-effect: non-scaling-stroke; pointer-events: none; }
.dd.in { fill: var(--in); } .dd.out { fill: var(--flow-out); }
.dot.out2 { background: var(--flow-out); }
.flowpanel { padding: 18px 0 0; display: grid; gap: 14px; }
.fh { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fh-n { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.fh-v { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fq { margin: 0; font-size: 15px; font-weight: 700; color: var(--muted); }
.fsplit .legend { font-size: 15px; }
.frow { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: end; }
.fl-l { min-width: 0; display: grid; }
.fn { font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs { font-size: 13px; color: var(--muted); }
.fa { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fb { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--in); display: block; }
.frow.out .fb { background: var(--flow-out); }
.sub.small { font-size: 13px; margin: 0; }
.gobtn { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 700; font-size: 17px; }
@media (min-width: 900px) {
  .mapgrid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: start; }
  .mapgrid > .map { grid-column: 1; grid-row: 1; }
  .mapgrid > .maplg { grid-column: 1; grid-row: 2; }
  .mapgrid > .flowpanel { grid-column: 2; grid-row: 1 / span 2; }
  .flowpanel { padding-top: 0; }
  .map { max-height: 680px; }
}

/* ---------- 모바일 다듬기 ---------- */
html, body { overflow-x: hidden; }
.stickybar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px;
  padding: 0 max(18px, env(safe-area-inset-left)); padding-top: env(safe-area-inset-top);
  background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.stickybar .brand { font-weight: 800; font-size: 16px; color: var(--fg); letter-spacing: -0.02em; min-height: 44px; display: inline-flex; align-items: center; }
.stickybar nav { display: flex; gap: 4px; }
.stickybar nav a, .stickybar .back { min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; font-size: 15px; font-weight: 600; }
.stickybar .upd { font-size: 13px; color: var(--muted); white-space: nowrap; }
.chip { height: 44px; }
.topbar { display: none; }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 36px 0 28px; }
  .big { margin-top: 28px; }
  .sec { padding: 32px 0; }
  .alert { padding: 18px; border-radius: 18px; }
  .alert .a { font-size: 26px; }
  .map { aspect-ratio: 1 / 1.15; border-radius: 16px; }
  /* 계약 표 → 카드 */
  .tablewrap { overflow: visible; margin: 0; padding: 0 0 12px; }
  table, tbody, tr, td { display: block; width: 100%; }
  thead tr { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; }
  thead th { display: block; padding: 0; border: 0; }
  thead th button { min-height: 40px; padding: 0 12px; border-radius: 999px; background: var(--bg); display: inline-flex; align-items: center; font-size: 14px; }
  thead .hide-narrow { display: none; }
  tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; background: var(--bg); border-radius: 14px; padding: 14px; margin-bottom: 10px; }
  tbody td { padding: 0; border: 0; }
  tbody td.hide-narrow { display: block; }
  tbody td:nth-child(1) { grid-column: 1; color: var(--muted); font-size: 13px; }
  tbody td:nth-child(6) { grid-column: 2; grid-row: 1; font-weight: 800; font-size: 15px; }
  tbody td:nth-child(3) { grid-column: 1 / -1; font-size: 16px; font-weight: 600; min-width: 0; }
  tbody td:nth-child(4) { grid-column: 1 / -1; font-size: 14px; }
  tbody td:nth-child(2), tbody td:nth-child(5) { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

}
.lb { fill: var(--fg); font-weight: 700; text-anchor: middle; paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.lb.me { fill: var(--accent); }
.sharebtn { min-height: 44px; }
.alert .src, .alert a.go { min-height: 44px; display: inline-flex; align-items: center; }
footer a { display: inline-block; min-height: 44px; line-height: 44px; }

/* 위성 지도 */
.placeform { flex: 1; min-width: 180px; }
.placeq { width: 100%; height: 50px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: 600 16px var(--sans); padding: 0 14px; }
.map.sat { background: #0b1a2a; }
.map .leaflet-container, .map.sat { font: 13px var(--sans); }
.sfl { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s ease-out forwards; filter: drop-shadow(0 0 3px rgba(0,0,0,.5)); }
@media (prefers-reduced-motion: reduce) { .sfl { animation: none; stroke-dashoffset: 0; } }
.sdot { cursor: pointer; }
.stip { background: rgba(255,255,255,.92); border: 0; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.3); font: 700 13px var(--sans); color: #1d1d1f; padding: 3px 8px; }
.stip.me { background: #0a84ff; color: #fff; }
.stip.me::before { border-top-color: #0a84ff; }
.leaflet-touch .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; }
.leaflet-control-attribution { font-size: 12px; }
.ghostbtn { min-height: 48px; border: 0; border-radius: 14px; background: var(--bg2); color: var(--accent); font: 600 16px var(--sans); cursor: pointer; }

/* 지역 펼치기 · 순위 · 업체 */
body { padding-bottom: env(safe-area-inset-bottom); }
.wrap { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
.frow-btn { all: unset; display: block; cursor: pointer; padding: 6px 0; min-height: 44px; -webkit-tap-highlight-color: transparent; }
.frow-btn .fn::after { content: " ⌄"; color: var(--muted); }
.frow-btn[aria-expanded="true"] .fn::after { content: " ⌃"; }
.vlist { background: var(--bg2); border-radius: 14px; padding: 4px 14px; margin-top: -6px; }
.vrow, .rrow { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--fg); }
.vrow:last-child { border-bottom: 0; }
.vn, .rm { min-width: 0; display: grid; font-weight: 700; font-size: 15px; }
.vn small, .rm small { font-weight: 400; color: var(--muted); font-size: 13px; }
.rm b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.va, .ra { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 15px; }
.rrow { grid-template-columns: 30px 1fr auto auto; min-height: 60px; }
.rn { font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.rank { margin-bottom: 18px; }
.hlring { animation: p 1.2s ease-in-out infinite; }
.hl { fill: none !important; stroke: #ffb800 !important; stroke-width: 3; }
.barrow.link { color: var(--fg); }
.barrow.link .l span:first-child::after { content: " ›"; color: var(--muted); }
.cats { display: grid; gap: 8px; }
.catrow { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 1fr auto auto; gap: 4px 12px; align-items: center; padding: 12px 14px; min-height: 56px; border-radius: 14px; background: var(--bg2); cursor: pointer; }
.catrow.on { box-shadow: inset 0 0 0 2px var(--accent); }
.cn { display: grid; font-weight: 700; } .cn small { color: var(--muted); font-weight: 400; font-size: 13px; }
.cp { color: var(--muted); font-weight: 700; } .ca { font-weight: 800; font-variant-numeric: tabular-nums; }
.cbar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--accent); display: block; }
.months { display: flex; gap: 10px; align-items: end; height: 180px; overflow-x: auto; }
.mcol { flex: 1; min-width: 56px; display: grid; grid-template-rows: auto 1fr auto; height: 100%; text-align: center; gap: 4px; }
.mbar { display: flex; align-items: end; justify-content: center; } .mbar i { display: block; width: 70%; background: var(--accent); border-radius: 8px 8px 0 0; }
.mv { font-size: 12px; color: var(--muted); } .mk { font-size: 13px; font-weight: 700; }
.ccards { display: grid; gap: 10px; }
.ccard { background: var(--bg2); border-radius: 14px; padding: 14px; display: grid; gap: 4px; }
.cc-top { display: flex; justify-content: space-between; gap: 10px; } .cc-d { color: var(--muted); font-size: 13px; }
.cc-t { font-weight: 600; } .cc-i { font-size: 13px; color: var(--muted); }
.ccard .src { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
.chips { scroll-snap-type: x proximity; } .chip { scroll-snap-align: start; }
@media (min-width: 900px) { .stats:has(> :nth-child(2):last-child) { grid-template-columns: 1fr 1fr; } }
/* ---- 영수증 스타일 (흑백, 큰 숫자) ---- */
.hero.dark { background: #000; color: #fff; margin: 0 calc(50% - 50vw); padding-left: calc(50vw - 50%); padding-right: calc(50vw - 50%); text-align: left; }
.hero.dark .eyebrow { color: #a1a1a6; letter-spacing: .02em; }
.hero.dark .k, .hero.dark .meta { color: #a1a1a6; }
.hero.dark .chips button { min-height: 44px; }
.wage { margin: 18px 0 0; font-size: 17px; color: #f5f5f7; }
.wage small { display: block; color: #8e8e93; font-size: 12px; margin-top: 4px; }
.newbadge { display: inline-block; margin: 18px 0 0; padding: 8px 14px; border: 1px solid #fff; border-radius: 999px; font-weight: 700; font-size: 15px; }
.rcpt-wrap { overflow-x: hidden; }
.rcpt { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.rcpt th { text-align: left; font-size: 13px; color: var(--muted); border-bottom: 2px solid var(--fg); padding: 0; }
.rcpt th:first-child { width: 64px; } .rcpt th.num { width: 96px; text-align: right; }
.rcpt th button { all: unset; cursor: pointer; display: block; min-height: 44px; line-height: 44px; font-weight: 700; }
.rcpt td { border-bottom: 1px solid var(--line); padding: 12px 4px 12px 0; vertical-align: top; overflow-wrap: anywhere; }
.rcpt td.num { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.rcpt td a { color: var(--fg); display: block; min-height: 44px; }
.rcpt td small { display: block; color: var(--muted); font-size: 13px; }
.receipt { background: var(--bg2); border-radius: 4px; padding: 22px; font-variant-numeric: tabular-nums; border-top: 6px dashed var(--line); margin-bottom: 14px; display: grid; gap: 6px; }
.receipt .amt { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.receipt dl { display: grid; grid-template-columns: 72px 1fr; gap: 4px 10px; margin: 8px 0 0; font-size: 15px; }
.receipt dt { color: var(--muted); } .receipt dd { margin: 0; overflow-wrap: anywhere; }
.receipt .acts { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.receipt .acts a, .receipt .acts button { min-height: 44px; display: inline-flex; align-items: center; }
#lucky-btn { border: 0; cursor: pointer; font: inherit; width: 100%; min-height: 52px; }
@media (prefers-reduced-motion: reduce) { .receipt { animation: none; } }

/* 업체 정보 */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.fact { background: var(--bg2); border-radius: 14px; padding: 14px; display: grid; gap: 2px; }
.fk { font-size: 13px; color: var(--muted); } .fv { font-weight: 600; font-size: 17px; }
.inds h3 { font-size: 15px; margin: 18px 0 8px; }
.indlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.indlist li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line, rgba(0,0,0,.08)); font-size: 15px; }
.indlist li.rep span { font-weight: 600; } .indlist small { color: var(--muted); white-space: nowrap; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.6; }
#v-corp-src { font-size: 12px; color: var(--muted); }
.cc-tags { font-size: 12px; color: var(--muted); } .cc-hist { font-size: 13px; font-weight: 600; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.map { position: relative; }
.maphint { position: absolute; z-index: 800; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(0,0,0,.75); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; white-space: nowrap; }
table.rcpt { display: table; width: 100%; } table.rcpt thead { display: table-header-group; } table.rcpt tbody { display: table-row-group; }
table.rcpt tr, table.rcpt thead tr, table.rcpt tbody tr { display: table-row; background: none; padding: 0; margin: 0; border-radius: 0; }
table.rcpt th, table.rcpt td, table.rcpt tbody td { display: table-cell; width: auto; font-size: 15px; font-weight: 400; color: var(--fg); padding: 12px 6px 12px 0; border-bottom: 1px solid var(--line); }
table.rcpt th { padding: 0; border-bottom: 2px solid var(--fg); color: var(--muted); font-size: 13px; }
table.rcpt th:first-child { width: 52px; } table.rcpt th.num { width: 92px; text-align: right; }
table.rcpt th button { all: unset; cursor: pointer; display: block; min-height: 44px; line-height: 44px; font-weight: 700; background: none; padding: 0; }
table.rcpt tbody td.num { text-align: right; font-weight: 800; padding-right: 0; }
table.rcpt tbody td.num::after { content: none; }
table.rcpt tbody td:first-child { color: var(--muted); font-size: 13px; }
.rcpt td:first-child { color: var(--muted); font-size: 13px; }

.cc-jv { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; align-items: baseline; }
.cc-jv .cc-tags { flex-basis: 100%; }
.tl { list-style: none; margin: 6px 0 2px; padding: 0 0 0 14px; border-left: 2px solid var(--line, rgba(0,0,0,.12)); display: grid; gap: 8px; }
.tl li { display: grid; gap: 1px; font-size: 13px; position: relative; }
.tl li::before { content: ''; position: absolute; left: -19px; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.tl b { font-size: 13px; } .tl small { color: var(--muted); }
.cc-src { font-size: 12px; color: var(--muted); }
.ttl small { display: block; margin-top: 2px; }
