/* 사업자114 — 디자인 체계 (2026-10 개편, 10-15 신뢰형으로 다시: Claude Design 시안 · 로고 B)
   글꼴: Noto Sans KR (static/fonts/noto-sans-kr, SIL OFL) · 색: 남색 #0b2a5b(띠 · 제목) + 로고 파랑 #2257d6(단추 · 링크)
   구성: 1 토큰 → 2 기본 → 3 틀 · 좌우 영역 → 4 머리 → 5 버튼 · 입력 → 6 카드 · 배지 → 7 홈 → 8 상세
         → 9 목록 · 검색 → 10 업종 → 11 광고 → 12 사업자(소개 · 등록) → 13 문서 · 기타 → 14 바닥 → 15 반응형 */

/* ---------- 1. 토큰 ---------- */
:root {
  --bg: #f4f6f9; --surface: #fff; --surface-2: #f6f8fb; --line: #d6dce5; --line-2: #e7ebf1;
  --text: #111827; --text-2: #374151; --muted: #5b6472;
  --navy: #0b2a5b; --navy-2: #1b3f8f; --title: #0b2a5b;
  --brand: #2257d6; --brand-600: #1d4bbd; --brand-700: #173c98; --brand-soft: #eef3fc; --brand-soft-2: #f5f8fe;
  --ok: #0b6b49; --ok-soft: #e6f4ee; --warn: #8a5300; --warn-soft: #fff4e0; --bad: #a61e28; --bad-soft: #fdecec;
  --in: #2f7de1; --out: #e0674a; --cert: #6a3fd1; --cert-soft: #f0eaff;
  --radius: 8px; --r-lg: 10px; --r-sm: 6px; --r-xs: 4px;
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .14);
  --ring: 0 0 0 3px rgba(34, 87, 214, .22);
  --head-h: 0px;                        /* 머리는 따라 내려오지 않는다 (공공 · 금융 사이트처럼) */
  --foot-bg: #0b2a5b; --foot-text: #c9d3e6; --foot-head: #ffffff; --foot-line: rgba(255, 255, 255, .14);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117; --surface: #161b23; --surface-2: #1b212b; --line: #2a313c; --line-2: #222833;
    --text: #e8ecf3; --text-2: #c2c9d6; --muted: #8f99ab;
    --brand: #6f9bff; --brand-600: #86abff; --brand-700: #a3c0ff; --brand-soft: #1b2744; --brand-soft-2: #18213a;
    --navy: #10213f; --navy-2: #9db8f2; --title: #dce6ff;
    --ok: #4cc79a; --ok-soft: #12291f; --warn: #f0b04d; --warn-soft: #33270f; --bad: #f07178; --bad-soft: #351b1e;
    --in: #5d9cf0; --out: #f08a70; --cert: #b9a0ff; --cert-soft: #2a2245;
    --shadow-sm: none; --shadow: none; --shadow-lg: 0 14px 40px rgba(0, 0, 0, .4);
    --foot-bg: #0a1426;
  }
}

/* ---------- 2. 기본 ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 52px); }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 15px;
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; word-break: keep-all; overflow-wrap: anywhere;
}
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.3; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
img { max-width: 100%; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.block { display: block; }
.error { color: var(--bad); }
.num, .stat-value, .rank-val, .list-count, .hero-stats strong, .bno-line strong, .fact-value { font-variant-numeric: tabular-nums; }

/* ---------- 3. 틀 · 좌우 영역 ---------- */
.page { padding: 24px 24px 64px; }
.top-ad { margin: 0 0 22px; }
.layout { display: grid; grid-template-columns: 208px minmax(0, 1fr) 288px; gap: 24px; align-items: start; }
.layout.no-rails { grid-template-columns: minmax(0, 1fr); max-width: 1000px; margin: 0 auto; }
.content > .card:first-child, .content > h1:first-child, .content > .crumb:first-child, .content > .hero:first-child { margin-top: 0; }
.rail-sticky { display: grid; gap: 12px; }
.rail-right { display: grid; gap: 12px; }
.rail-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); }
.rail-nav { display: grid; gap: 1px; }
.rail-nav strong, .rail-title { display: block; font-size: 12px; color: var(--muted); margin: 0 0 6px; font-weight: 700; letter-spacing: .02em; }
.rail-nav a { color: var(--text-2); font-size: 14px; padding: 5px 8px; border-radius: var(--r-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-nav a:hover { background: var(--brand-soft-2); text-decoration: none; color: var(--brand); }
.rail-nav a.more { color: var(--brand); font-size: 13px; font-weight: 600; }
.rail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.rail-grid a { text-align: center; padding: 6px 2px; font-size: 13.5px; }
.rail-list { margin: 0; padding-left: 20px; display: grid; gap: 7px; font-size: 14px; }
.rail-list li::marker { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.rail-list.plain { list-style: none; padding: 0; }
.rail-list li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-list a { color: var(--text-2); }
.rail-list a:hover { color: var(--brand); }
.rail-cta { display: grid; gap: 6px; color: var(--text); background: linear-gradient(150deg, var(--brand-soft) 0%, var(--surface) 70%);
  border-color: #d7e2ff; }
.rail-cta:hover { text-decoration: none; border-color: var(--brand); }
.rail-cta strong { font-size: 15px; }
.rail-cta span:not(.btn) { font-size: 13px; color: var(--muted); line-height: 1.5; }
.rail-cta .btn { justify-self: start; margin-top: 2px; }

/* ---------- 4. 머리 ---------- */
.top { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
@media (prefers-color-scheme: dark) { .top { background: rgba(22, 27, 35, .9); } }
.top-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { color: var(--text); display: flex; align-items: center; gap: 9px; white-space: nowrap; flex: none; }
.logo:hover { text-decoration: none; }
.logo img { display: block; width: 32px; height: 32px; }
.logo-text { font-weight: 800; font-size: 21px; letter-spacing: -0.04em; }
.logo-text b, .foot-logo b { color: var(--brand); font-weight: 800; }
.top-search { flex: 1; display: flex; align-items: stretch; max-width: 600px; height: 42px; margin-left: 12px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.top-search:focus-within { border-color: var(--brand); box-shadow: var(--ring); background: var(--surface); }
.top-search select { border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--text-2); font: inherit; font-size: 13.5px;
  font-weight: 600; padding: 0 8px 0 12px; cursor: pointer; }
.top-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 14.5px; padding: 0 12px; }
.top-search input:focus, .top-search select:focus, .big-search input:focus, .big-search select:focus { outline: none; box-shadow: none; }
.top-search button { border: 0; background: var(--brand); color: #fff; font: inherit; font-weight: 700; font-size: 14px; padding: 0 18px; cursor: pointer; }
.top-search button:hover { background: var(--brand-600); }
.btn-owner { margin-left: auto; white-space: nowrap; font-weight: 700; font-size: 14px; color: var(--brand); flex: none;
  border: 1px solid #c9d7ff; background: var(--brand-soft-2); border-radius: 11px; padding: 8px 14px; transition: background .15s, border-color .15s; }
.btn-owner:hover { background: var(--brand-soft); border-color: var(--brand); text-decoration: none; }
.gnb { display: flex; gap: 2px; height: 44px; align-items: stretch; }
.gnb::-webkit-scrollbar { display: none; }
.gnb a { display: flex; align-items: center; padding: 0 13px; color: var(--muted); font-weight: 600; font-size: 14.5px;
  white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s; }
.gnb a:hover { color: var(--text); text-decoration: none; }
.gnb a.on { color: var(--brand); border-bottom-color: var(--brand); }
/* 상단 메뉴 '계산기': 아이콘 + 마우스 올리면 계산기 목록 */
.gnb-drop { position: relative; display: flex; }
.gnb a.gnb-calc { gap: 5px; color: var(--brand); }
.gnb-ico { flex: none; }
.gnb-chev { flex: none; opacity: .7; transition: transform .15s; }
.gnb-drop:hover .gnb-chev, .gnb-drop:focus-within .gnb-chev { transform: rotate(180deg); }
.gnb-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 30; min-width: 190px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); }
.gnb-drop:hover .gnb-menu, .gnb-drop:focus-within .gnb-menu { display: grid; gap: 2px; }
.gnb .gnb-menu a { padding: 9px 12px; margin: 0; border: 0; border-radius: 8px; color: var(--text-2); font-size: 14.5px; font-weight: 600; }
.gnb .gnb-menu a:hover, .gnb .gnb-menu a.on { background: var(--brand-soft); color: var(--brand); }
.gnb .gnb-menu a.all { color: var(--brand); border-top: 1px solid var(--line-2); border-radius: 0 0 8px 8px; margin-top: 2px; padding-top: 10px; }
/* 전체 메뉴 단추(860px 이하) · 펼친 메뉴 */
.menu-btn { display: none; flex: none; width: 42px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 11px;
  background: var(--surface); color: var(--text); cursor: pointer; padding: 0; }
.menu-btn:hover { border-color: var(--brand); color: var(--brand); }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.menu-btn[aria-expanded="true"] { background: var(--brand-soft); border-color: #c9d7ff; color: var(--brand); }
.mnav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg); max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; }
.mnav[hidden], .mnav-dim[hidden] { display: none; }
.mnav-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; padding-top: 16px; padding-bottom: 20px; }
.mnav section > strong { display: block; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; margin: 0 0 8px; }
.mnav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.mnav-links a { display: block; padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line-2);
  color: var(--text); font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mnav-links a:hover, .mnav-links a.on { background: var(--brand-soft); border-color: #c9d7ff; color: var(--brand); text-decoration: none; }
.mnav-links a.all { color: var(--brand); background: transparent; border-style: dashed; border-color: var(--line); }
.mnav-dim { position: fixed; inset: 0; z-index: 19; background: rgba(15, 23, 42, .32); }
html.menu-open { overflow: hidden; }

/* ---------- 5. 버튼 · 입력 ---------- */
.btn, .big-search button { border: 0; background: var(--brand); color: #fff; font: inherit; font-weight: 700; padding: 10px 18px; cursor: pointer;
  border-radius: var(--r-sm); white-space: nowrap; transition: background .15s, box-shadow .15s, transform .05s; line-height: 1.4; }
.btn:hover { background: var(--brand-600); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.sm { padding: 6px 12px; font-size: 13px; border-radius: var(--r-xs); }
.btn.ghost { background: var(--surface); color: var(--text-2); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--surface); }
a.btn { display: inline-block; }
a.btn:hover { text-decoration: none; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn-row form { margin: 0; }
.form { display: grid; gap: 16px; margin-top: 12px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--text-2); }
.form input, .form textarea, .form select, .inline-search input {
  width: 100%; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  border-radius: var(--r-sm); padding: 10px 12px; font: inherit; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form textarea:focus, .form select:focus, .inline-search input:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.form .check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.form .check input { width: auto; }
.form .btn { justify-self: start; }
.form hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
textarea { font-family: inherit; }
.hint { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.inline-search { display: flex; gap: 6px; }
.inline-search input { width: auto; flex: 1; min-width: 0; }
.cta-card .inline-search { flex: 1 1 260px; min-width: 0; max-width: 420px; }

/* ---------- 6. 카드 · 배지 ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 16px 0; box-shadow: var(--shadow); }
.card h2 { font-size: 17px; margin: 0 0 14px; font-weight: 750; }
.card.empty { text-align: center; padding: 44px 20px; }
.card.narrow { max-width: 400px; margin: 40px auto; }
.card.narrow-wide { max-width: 560px; margin: 16px auto; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.card-head h2 { margin: 0; }
.card-head > a { font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--muted); }
.card-head > a:hover { color: var(--brand); text-decoration: none; }
.page-title { font-size: 25px; margin: 6px 0 14px; font-weight: 800; letter-spacing: -0.03em; }
.sub-h { font-size: 13px; color: var(--muted); margin: 18px 0 8px; font-weight: 700; }
.crumb { font-size: 13px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; line-height: 1.5; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.ok::before, .badge.warn::before, .badge.bad::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.plain { background: var(--brand-soft); color: var(--brand); }
.badge.cert { background: var(--cert-soft); color: var(--cert); }
.badge.verified { background: var(--ok-soft); color: var(--ok); }
.badge.verified::before { content: "✓"; }
.tag { font-size: 11.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; line-height: 1.6; }
.src { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 500; color: var(--muted); background: var(--surface-2);
  border: 1px solid var(--line-2); border-radius: 5px; padding: 0 6px; vertical-align: 1px; white-space: nowrap; }
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--text-2); font-size: 14px; font-weight: 500; transition: border-color .15s, color .15s, background .15s; }
.chip .muted { font-size: 12.5px; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft-2); text-decoration: none; }
.link-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px 18px; }
.link-grid li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-grid a { color: var(--text-2); font-weight: 500; }
.link-grid a:hover { color: var(--brand); }
.link-grid .small { margin-left: 6px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-row.four { grid-template-columns: repeat(4, 1fr); }
.stat { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 15px; }
.stat-label { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.stat-value { display: block; font-size: 23px; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; }
.stat-value.sm { font-size: 17px; }
.stat-value small { font-size: 13px; font-weight: 500; margin-left: 3px; color: var(--muted); }
.stat-value.in { color: var(--in); }
.stat-value.out { color: var(--out); }
.stat.link { color: var(--text); transition: border-color .15s, background .15s; }
.stat.link:hover { border-color: var(--brand); background: var(--brand-soft-2); text-decoration: none; }
.growth { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.growth.up { color: var(--bad); }
.growth.down { color: var(--in); }
.flash { background: var(--ok-soft); color: var(--ok); border-radius: var(--r-sm); padding: 11px 15px; margin: 0 0 14px; font-weight: 600; }
.flash p { margin: 0; }
/* 안내(검색에서 찾은 곳 · 지역 해석 등): 경고색 대신 차분한 정보 표시 */
.notice { display: flex; gap: 8px; align-items: flex-start; background: var(--brand-soft-2); color: var(--text-2); border: 1px solid #e1e9ff;
  border-radius: var(--r-sm); padding: 10px 14px; font-size: 13.5px; margin: 14px 0 0; }
.notice::before { content: "i"; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 800; display: grid; place-items: center; font-style: italic; }
@media (prefers-color-scheme: dark) { .notice { border-color: var(--line); } }

/* ---------- 7. 홈 ---------- */
.hero { position: relative; text-align: center; padding: 44px 28px 30px; margin: 0 0 16px; border-radius: var(--r-lg); overflow: hidden;
  background: radial-gradient(1200px 300px at 50% -40px, #dfe8ff 0%, rgba(223, 232, 255, 0) 70%), linear-gradient(180deg, var(--surface) 0%, var(--surface) 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .hero { background: radial-gradient(1200px 300px at 50% -40px, #1b2a52 0%, rgba(27, 42, 82, 0) 70%), var(--surface); } }
.hero h1 { font-size: 36px; margin: 0 0 8px; font-weight: 800; letter-spacing: -0.04em; }
.hero > .muted { font-size: 16px; margin: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--brand);
  background: var(--surface); border: 1px solid #d3defc; border-radius: 999px; padding: 4px 12px; margin: 0 0 16px; }
.hero-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.big-search { display: flex; align-items: stretch; max-width: 700px; height: 58px; margin: 26px auto 12px; background: var(--surface);
  border: 1.5px solid #cfdaf5; border-radius: 16px; box-shadow: 0 6px 24px rgba(34, 87, 214, .10); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.big-search:focus-within { border-color: var(--brand); box-shadow: 0 6px 24px rgba(34, 87, 214, .14), var(--ring); }
.big-search select { border: 0; border-right: 1px solid var(--line); background: var(--surface-2); color: var(--text-2); font: inherit;
  font-size: 15px; font-weight: 600; padding: 0 10px 0 16px; cursor: pointer; }
.big-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 17px; padding: 0 18px; }
.big-search button { font-size: 16px; padding: 0 28px; border-radius: 0; }
.search-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13px; margin: 6px 0 0; }
.search-links a { color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 11px; }
.search-links a:hover { color: var(--brand); border-color: #c9d7ff; text-decoration: none; }
.hero-stats { list-style: none; padding: 0; margin: 28px auto 0; display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.hero-stats li { display: grid; padding: 0 28px; border-left: 1px solid var(--line); }
.hero-stats li:first-child { border-left: 0; }
.hero-stats strong { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.hero-stats span { font-size: 13px; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 4px; }
.tool { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; color: var(--text); box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s; }
.tool:hover { border-color: #c9d7ff; box-shadow: var(--shadow); transform: translateY(-1px); text-decoration: none; }
.tool .tool-ico { grid-row: auto; }
.tool strong { font-size: 15px; }
.tool span:last-child { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.tool-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.tool-ico svg { width: 22px; height: 22px; }
.tool.accent { background: linear-gradient(135deg, var(--brand) 0%, #3d72f0 100%); border-color: transparent; color: #fff; }
.tool.accent span:last-child { color: rgba(255, 255, 255, .85); }
.tool.accent .tool-ico { background: rgba(255, 255, 255, .18); color: #fff; }
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.home-grid .span-2 { grid-column: 1 / -1; }
.plain-list.two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.plain-list.two-col li:nth-child(2) { border-top: 0; }
.rank { list-style: none; padding: 0; margin: 0; }
.rank li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-2); }
.rank li:first-child { border-top: 0; }
.rank li a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-weight: 500; }
.rank li a:hover { color: var(--brand); }
.rank-no { width: 24px; height: 24px; flex: none; display: grid; place-items: center; font-weight: 800; color: var(--muted); font-size: 13px;
  border-radius: 7px; font-variant-numeric: tabular-nums; }
.rank li:nth-child(-n+3) .rank-no, .result-list li:nth-child(-n+3) .rank-no { background: var(--brand-soft); color: var(--brand); }
.rank li:first-child .rank-no, .result-list li:first-child .rank-no { background: var(--brand); color: #fff; }
.rank-val { font-weight: 750; white-space: nowrap; }
.rank-val small { font-weight: 500; color: var(--muted); margin-left: 2px; font-size: 12px; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-2); }
.plain-list li:first-child { border-top: 0; }
.plain-list li a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-weight: 500; }
.plain-list li a:hover { color: var(--brand); }
.plain-list li .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 48%; }
.card > p.muted.small:last-child { margin: 12px 0 0; }
.empty-cta { text-align: center; padding: 22px 0 10px; }
.empty-cta p { color: var(--muted); margin: 0 0 14px; }
.profile-mini { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.profile-mini a { display: flex; align-items: center; gap: 12px; padding: 7px; border-radius: var(--r-sm); color: var(--text); }
.profile-mini a:hover { background: var(--surface-2); text-decoration: none; }
.profile-mini img, .ph { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; flex: none; }
.ph { display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 800; }
.ph.big { width: 84px; height: 84px; font-size: 30px; border-radius: 18px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.guide-grid.wide { grid-template-columns: repeat(2, 1fr); margin-top: 12px; }
.guide-card { display: grid; gap: 6px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  color: var(--text); transition: border-color .15s, background .15s; }
.guide-card:hover { border-color: #c9d7ff; background: var(--brand-soft-2); text-decoration: none; }
.guide-card strong { font-size: 15px; line-height: 1.45; }
.guide-card span { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---------- 8. 상세 ---------- */
.biz-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 26px 28px 22px; margin: 0 0 16px; }
.biz-head h1 { font-size: 30px; margin: 0 0 10px; font-weight: 800; letter-spacing: -0.04em; word-break: keep-all; }
.bno-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.bno-line strong { color: var(--text); font-size: 18px; font-weight: 800; letter-spacing: .01em; }
.copy { font-size: 12px; font-weight: 600; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); border-radius: 7px; padding: 3px 9px; cursor: pointer; }
.copy:hover { border-color: var(--brand); color: var(--brand); }
.fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 20px 0 0; border: 1px solid var(--line-2);
  border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.fact { padding: 13px 16px; border-left: 1px solid var(--line-2); border-top: 1px solid var(--line-2); min-width: 0; }
.fact:nth-child(3n+1) { border-left: 0; }
.fact:nth-child(-n+3) { border-top: 0; }
.fact-label { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.fact-value { display: block; font-size: 15.5px; font-weight: 700; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fact-value small { font-size: 12.5px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.fact-value.ok { color: var(--ok); } .fact-value.warn { color: var(--warn); } .fact-value.bad { color: var(--bad); }
.biz-summary { margin: 18px 0 0; padding: 14px 16px; line-height: 1.8; font-size: 15px; color: var(--text-2); background: var(--brand-soft-2);
  border-radius: 12px; border: 1px solid #e1e9ff; }
@media (prefers-color-scheme: dark) { .biz-summary { border-color: var(--line); } }
.as-of { margin: 10px 2px 0; }
.tabs { display: flex; gap: 4px; margin: 0 0 4px; padding: 6px; overflow-x: auto; scrollbar-width: none; position: sticky; top: var(--head-h); z-index: 6;
  background: rgba(244, 246, 250, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 12px; }
.tabs::-webkit-scrollbar { display: none; }
@media (prefers-color-scheme: dark) { .tabs { background: rgba(13, 17, 23, .9); } }
.tabs a { padding: 8px 15px; color: var(--muted); font-weight: 650; font-size: 14.5px; white-space: nowrap; border-radius: 9px; transition: background .15s, color .15s; }
.tabs a:hover { color: var(--text); background: var(--surface); text-decoration: none; box-shadow: var(--shadow-sm); }
.kv { width: 100%; border-collapse: collapse; }
.kv th, .kv td { text-align: left; padding: 12px 6px; border-top: 1px solid var(--line-2); vertical-align: top; }
.kv tr:first-child th, .kv tr:first-child td { border-top: 0; }
.kv th { width: 128px; color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; }
.kv td { font-weight: 500; }
.kv.compact th, .kv.compact td { padding: 7px 4px; }
.kv.compact th { width: 84px; }
.chart-box { margin-top: 14px; }
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--line-2); stroke-width: 1; }
.chart .axis { fill: var(--muted); font-size: 11px; font-family: inherit; }
.chart .line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot { fill: var(--surface); stroke: var(--brand); stroke-width: 2; }
.chart .bar-in { fill: var(--in); opacity: .6; }
.chart .bar-out { fill: var(--out); opacity: .6; }
.legend { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; margin: 8px 0 0; }
.lg { display: inline-block; width: 12px; height: 8px; border-radius: 2px; margin-left: 10px; }
.lg.line { background: var(--brand); height: 3px; margin-left: 0; }
.lg.in { background: var(--in); opacity: .6; }
.lg.out { background: var(--out); opacity: .6; }
.fin-empty { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--surface-2); border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: 14px; margin: 0; }
.claim-cta { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 16px 0; padding: 15px 20px;
  border: 1px solid #d3defc; border-radius: var(--radius); background: linear-gradient(100deg, var(--brand-soft) 0%, var(--surface) 80%); color: var(--text); font-size: 14px; }
.claim-cta:hover { text-decoration: none; border-color: var(--brand); }
.stub-note { border-color: #f1d9a8; background: var(--warn-soft); }
.stub-note h2 { margin-bottom: 10px; }
.stub-note .btn { margin-top: 4px; }
.about-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.about-head > div { flex: 1; }
.about-head h2 { margin: 0; display: flex; align-items: center; gap: 8px; }
.about-logo { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; border: 1px solid var(--line); }
.tagline { margin: 4px 0 0; font-size: 16px; font-weight: 650; }
.intro { white-space: pre-line; line-height: 1.85; margin: 10px 0 16px; color: var(--text-2); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 16px; }
.photo-grid .photo { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--surface-2); position: relative; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.photo-grid .photo:hover img { transform: scale(1.03); }
.photo-grid.edit .photo { display: grid; grid-template-rows: 1fr auto; aspect-ratio: auto; }
.photo-grid.edit img { aspect-ratio: 4 / 3; }
.photo-grid.edit .check { padding: 4px 6px; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-cols h3 { font-size: 15px; margin: 0 0 6px; }
.svc { margin: 0; padding-left: 18px; }
.svc li { padding: 2px 0; }
.sns { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 0; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 4px; }
.tags span { font-size: 13px; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 2px 10px; }
.privacy-link { text-align: center; font-size: 13px; color: var(--muted); margin-top: 28px; }

/* ---------- 9. 목록 · 검색 ---------- */
.result-list { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.result-list li + li { border-top: 1px solid var(--line-2); }
.result-list a { display: block; padding: 14px 18px; color: var(--text); transition: background .12s; }
.result-list a:hover { background: var(--brand-soft-2); text-decoration: none; }
.result-list a:hover .row-title strong { color: var(--brand); }
.result-list .badge { margin: 0; }
.row-link { display: flex !important; align-items: center; gap: 14px; }
.row-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.row-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.row-title strong { font-size: 15.5px; font-weight: 750; letter-spacing: -0.01em; }
.row-title .muted.small { font-variant-numeric: tabular-nums; margin-left: 2px; }
.result-list .rank-no { font-size: 13px; width: 28px; height: 28px; }
.result-list .rank-val { font-size: 15.5px; }
.ad-row { padding: 12px 14px; background: var(--surface-2); }
.select-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px 12px; margin: 0 0 14px; box-shadow: var(--shadow-sm); }
.select-bar select, .select-bar input { border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit;
  font-size: 14px; border-radius: 9px; padding: 8px 10px; transition: border-color .15s, box-shadow .15s; }
.select-bar select:focus, .select-bar input:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); background: var(--surface); }
.select-bar select { cursor: pointer; }
.select-bar select:disabled { opacity: .5; }
.select-bar .sb-q { flex: 1; min-width: 180px; }
.select-bar .sb-sort { margin-left: auto; font-weight: 600; }
.select-bar .btn { padding: 8px 16px; }
.search-card { padding: 20px 22px; }
.search-card .select-bar { border: 0; box-shadow: none; padding: 0; margin: 14px 0 0; background: transparent; }
.field-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.field-tabs a { padding: 7px 14px; border-radius: 999px; color: var(--text-2); font-weight: 650; font-size: 14px; background: var(--surface-2); border: 1px solid var(--line-2); }
.field-tabs a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.field-tabs a:hover { text-decoration: none; border-color: #c9d7ff; }
.field-tabs a.on:hover { color: #fff; }
.search-hint { margin: 12px 2px 0; }
.result-head { display: flex; align-items: baseline; gap: 10px; margin: 18px 2px 10px; }
.result-head strong { font-size: 16px; }
.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.list-head .page-title { margin-bottom: 2px; }
.list-count { font-size: 24px; font-weight: 800; white-space: nowrap; letter-spacing: -0.03em; }
.list-count small { font-size: 14px; color: var(--muted); margin-left: 3px; font-weight: 500; }
.pager { display: flex; justify-content: center; gap: 16px; margin: 20px 0; color: var(--muted); }
.pager.num { gap: 5px; flex-wrap: wrap; }
.pager.num a, .pager.num span { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; padding: 0 9px; font-variant-numeric: tabular-nums; }
.pager.num a { color: var(--text-2); background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.pager.num a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pager.num .cur { background: var(--brand); color: #fff; font-weight: 800; }
.pager.num .gap { color: var(--muted); }
.table-card { overflow-x: auto; }
.grid-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
.grid-table th, .grid-table td { border-top: 1px solid var(--line-2); padding: 9px 8px; text-align: left; vertical-align: top; }
.grid-table th { color: var(--muted); font-weight: 600; font-size: 13px; background: var(--surface-2); }
.grid-table.bulk td { vertical-align: middle; }
.actions { display: flex; gap: 4px; }

/* ---------- 10. 업종 ---------- */
.seg { display: inline-flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 4px; margin: 4px 0 16px; flex-wrap: wrap; }
.seg a { padding: 7px 15px; border-radius: 9px; color: var(--muted); font-weight: 650; font-size: 14px; }
.seg a.on { background: var(--brand); color: #fff; }
.seg a:hover { text-decoration: none; }
.seg a.on .muted { color: rgba(255, 255, 255, .8); }
.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.group-card { margin: 0; display: grid; gap: 8px; align-content: start; }
.group-head { display: flex; justify-content: space-between; align-items: baseline; color: var(--text); }
.group-head strong { font-size: 16px; }
.group-head span { color: var(--brand); font-size: 13px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.group-head:hover { text-decoration: none; }
.group-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.group-items li { display: flex; justify-content: space-between; gap: 8px; }
.group-items a { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.group-items a:hover { color: var(--brand); }
.group-items .muted { font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.group-card .more { color: var(--brand); font-weight: 600; }
.online-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.online-card { margin: 0; display: grid; gap: 6px; color: var(--text); transition: border-color .15s, transform .15s; }
.online-card:hover { border-color: #c9d7ff; text-decoration: none; transform: translateY(-1px); }
.detail-chips summary { cursor: pointer; font-weight: 650; }
.detail-chips .chip-list { margin-top: 10px; }

/* ---------- 11. 광고 자리 (애드센스 또는 자체 홍보) ---------- */
.ad { display: block; position: relative; }
.ad-label { position: absolute; top: -17px; right: 2px; font-size: 11px; color: var(--muted); }
.ad.house { display: flex; align-items: center; gap: 16px; border-radius: var(--radius); padding: 14px 18px 14px 16px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.ad.house::before { content: ""; flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232257d6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l18-5v12L3 14v-3z'/%3E%3Cpath d='M11.6 16.8a3 3 0 1 1-5.8-1.6'/%3E%3C/svg%3E") center / 20px no-repeat; }
.ad.house:hover { text-decoration: none; border-color: #c9d7ff; box-shadow: var(--shadow); }
.house-text { display: grid; gap: 1px; flex: 1; min-width: 0; }
.house-text strong { font-size: 15.5px; letter-spacing: -0.02em; }
.house-text span { font-size: 13px; color: var(--muted); }
.house-cta { white-space: nowrap; font-weight: 700; font-size: 13.5px; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 7px 14px; }
.ad-side.house { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px;
  background: linear-gradient(160deg, var(--brand-soft) 0%, var(--surface) 75%); border-color: #d7e2ff; }
.ad-side .house-text strong { font-size: 16.5px; line-height: 1.4; }
.detail-ad { margin: 16px 0; }
.detail-ad:empty { display: none; }

/* ---------- 12. 사업자 (소개 · 등록 · 편집) ---------- */
.owner-hero { text-align: center; padding: 38px 0 20px; }
.owner-hero h1 { font-size: 30px; margin: 0 0 10px; font-weight: 800; letter-spacing: -0.04em; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0; }
.feature { display: grid; gap: 6px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.feature span { font-size: 13px; color: var(--muted); }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 12px; }
.steps li { display: grid; }
.steps li span { color: var(--muted); font-size: 14px; }
.claim-target { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 11px 15px; }
.edit-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.edit-form .card { display: grid; gap: 14px; }
.edit-form .card h2 { margin: 0; }
.save-bar { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: 18px 0 8px; text-align: right; }
.save-bar .btn { padding: 12px 30px; font-size: 16px; box-shadow: var(--shadow-lg); }
.upload-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.logo-box { display: grid; gap: 6px; justify-items: center; }
.logo-box img { width: 84px; height: 84px; border-radius: 18px; object-fit: cover; border: 1px solid var(--line); }

/* ---------- 13. 문서 · 가이드 · 기타 ---------- */
.prose { line-height: 1.85; color: var(--text-2); }
.prose h2 { font-size: 19px; margin: 28px 0 8px; color: var(--text); }
.prose table { margin: 10px 0; }
.article h1 { font-size: 28px; line-height: 1.35; margin: 0 0 10px; font-weight: 800; letter-spacing: -0.03em; }
.article .lead { color: var(--muted); font-size: 16.5px; margin: 0 0 10px; }
.cta-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-card > div { display: grid; }
.doc { max-width: 820px; line-height: 1.85; }
.doc h2 { font-size: 18px; margin: 30px 0 8px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.doc th { background: var(--surface-2); }
.doc .todo { background: #fff4d6; color: #7a5200; padding: 1px 6px; border-radius: 4px; }
@media (prefers-color-scheme: dark) { .doc .todo { background: #4a3a10; color: #ffd98a; } }

/* ---------- 13-1. 계산기 ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.calc > .card { margin: 0; }
.calc-form { display: grid; gap: 14px; }
.cf { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.cf[hidden] { display: none; }
.cf-label { font-size: 13.5px; font-weight: 650; color: var(--text-2); padding: 0; }
.cf-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
  transition: border-color .15s, box-shadow .15s; }
.cf-input:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.cf-input input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 17px; font-weight: 650;
  text-align: right; padding: 11px 4px 11px 14px; font-variant-numeric: tabular-nums; }
.cf-input input:focus { outline: none; }
.cf-input em { font-style: normal; color: var(--muted); font-size: 14px; font-weight: 600; padding: 0 14px 0 4px; white-space: nowrap; }
.cf select, .cf > input[type=date] { width: 100%; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit;
  font-size: 15px; padding: 10px 12px; border-radius: var(--r-sm); }
.cf select:focus, .cf > input[type=date]:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.cf .hint { margin-top: -2px; }
.seg-in { display: flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 3px; gap: 3px; }
.seg-in label { flex: 1; min-width: 0; }
.seg-in input { position: absolute; opacity: 0; pointer-events: none; }
.seg-in span { display: block; text-align: center; padding: 8px 6px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--muted);
  cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .15s, color .15s; }
.seg-in input:checked + span { background: var(--surface); color: var(--brand); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.seg-in input:focus-visible + span { box-shadow: var(--ring); }
.cf-check { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.cf-check input { width: 18px; height: 18px; accent-color: var(--brand); margin: 0; }
.calc-go { width: 100%; padding: 12px; font-size: 15.5px; border-radius: var(--r-sm); margin-top: 2px; }
.calc-out { position: sticky; top: calc(var(--head-h) + 16px); }
.calc-head { display: grid; gap: 10px; margin-bottom: 14px; }
.calc-big { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); }
.calc-big span { font-size: 13px; font-weight: 650; color: var(--muted); }
.calc-big strong { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-big small { font-size: 12.5px; color: var(--muted); }
.calc-big.main { background: linear-gradient(135deg, var(--brand) 0%, #3d72f0 100%); border-color: transparent; color: #fff; }
.calc-big.main span, .calc-big.main small { color: rgba(255, 255, 255, .82); }
.calc-big.main strong { font-size: 30px; }
.calc-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.calc-table th, .calc-table td { padding: 10px 2px; border-top: 1px solid var(--line-2); font-size: 14.5px; }
.calc-table tbody tr:first-child th, .calc-table tbody tr:first-child td { border-top: 0; }
.calc-table th { text-align: left; font-weight: 600; color: var(--text-2); }
.calc-table td { text-align: right; font-weight: 650; white-space: nowrap; padding-left: 10px; }
.calc-table thead th { font-size: 12.5px; color: var(--muted); font-weight: 700; text-align: right; padding-top: 0; border-top: 0; }
.calc-table tfoot th, .calc-table tfoot td { border-top: 2px solid var(--line); font-weight: 800; color: var(--text); padding-top: 12px; }
.calc-rate { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.calc-warn { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--warn-soft); color: var(--warn); font-size: 14px; font-weight: 600; }
.calc-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.calc-basis ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 14px; display: grid; gap: 4px; }
.calc-basis h2 .muted { font-weight: 600; margin-left: 4px; }
.calc-grid .tool strong { font-size: 14.5px; }
.calc-asof { margin-top: 12px; }

/* ---------- 14. 바닥 ---------- */
.foot { background: var(--foot-bg); color: var(--foot-text); padding: 40px 0 26px; font-size: 13.5px; margin-top: 8px; }
.foot p { margin: 4px 0; }
.foot a { color: var(--foot-text); }
.foot a:hover { color: #fff; }
.foot .muted { color: #6f7b93; }
.foot-in { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 36px; padding-bottom: 20px; }
.foot-logo { font-weight: 800; font-size: 20px; color: var(--foot-head); margin: 0 0 8px !important; letter-spacing: -0.04em; }
.foot-logo b { color: #7fa2ff !important; }
.foot-in > div:first-child p:not(.foot-logo) { line-height: 1.75; max-width: 440px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.foot-cols div { display: grid; gap: 8px; align-content: start; }
.foot-cols strong { color: var(--foot-head); font-size: 13px; margin-bottom: 2px; }
.foot-legal { border-top: 1px solid var(--foot-line); margin-top: 6px; padding-top: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 8px; }
.foot-links a { font-size: 13px; }
.foot-links b { color: var(--foot-head); }

/* ---------- 15. 반응형 ---------- */
@media (max-width: 1279px) {
  .layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .rail-left { display: none; }
}
@media (max-width: 1023px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .rail-right { grid-template-columns: repeat(2, 1fr); }
  .rail-ad { grid-column: 1 / -1; }
  .ad-side.house { flex-direction: row; align-items: center; }
  .tool-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .gnb { display: none; }
  .menu-btn { display: grid; }
  .btn-owner { margin-left: auto; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-out { position: static; }
  .home-grid, .about-cols { grid-template-columns: minmax(0, 1fr); }
  .plain-list.two-col { grid-template-columns: minmax(0, 1fr); }
  .plain-list.two-col li:nth-child(2) { border-top: 1px solid var(--line-2); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3n+1) { border-left: 1px solid var(--line-2); }
  .fact:nth-child(2n+1) { border-left: 0; }
  .fact:nth-child(3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 600px) {
  :root { --head-h: 0px; }
  html { scroll-padding-top: 56px; }
  .wrap { padding: 0 16px; }
  .page { padding: 20px 16px 44px; }
  .top { position: relative; }
  .top-in { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .logo img { width: 30px; height: 30px; }
  .logo-text { font-size: 19px; }
  .top-search { order: 3; flex-basis: 100%; max-width: none; margin: 0; height: 44px; }
  .top-search select { display: none; }
  .btn-owner { font-size: 13px; padding: 7px 11px; }
  .menu-btn { width: 40px; height: 36px; border-radius: 10px; }
  .mnav { max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); }
  .mnav-in { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px 16px 24px; }
  .mnav-links a { padding: 11px 12px; font-size: 14.5px; }
  .calc-big.main strong { font-size: 27px; }
  .top-ad { margin-bottom: 16px; }
  .card { padding: 18px 16px; margin: 12px 0; }
  .hero { padding: 30px 16px 22px; }
  .hero h1 { font-size: 27px; }
  .hero > .muted { font-size: 14.5px; }
  .big-search { height: 52px; margin-top: 20px; border-radius: 14px; }
  .big-search select { max-width: 86px; font-size: 13px; padding: 0 4px 0 10px; }
  .big-search input { font-size: 15.5px; padding: 0 12px; }
  .big-search button { padding: 0 18px; font-size: 15px; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 0; margin-top: 22px; }
  .hero-stats li { padding: 0 10px; }
  .hero-stats li:nth-child(3) { border-left: 0; }
  .hero-stats strong { font-size: 20px; }
  .tool-grid { gap: 10px; }
  .tool { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .tool .tool-ico { grid-row: auto; margin-bottom: 6px; width: 38px; height: 38px; }
  .biz-card { padding: 20px 16px 18px; border-radius: var(--radius); }
  .biz-head h1 { font-size: 24px; }
  .fact { padding: 11px 13px; }
  .fact-value { font-size: 14.5px; }
  .tabs { position: static; padding: 4px 0; background: transparent; }
  .kv th { width: 94px; font-size: 13.5px; }
  .stat-row.four { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 11px 12px; }
  .stat-value { font-size: 20px; }
  .grid-table { font-size: 13px; }
  .guide-grid, .guide-grid.wide, .form-2 { grid-template-columns: minmax(0, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .claim-cta { flex-direction: column; align-items: flex-start; }
  .chip-list.clamp li:nth-child(n+13) { display: none; }
  .rail-right { grid-template-columns: minmax(0, 1fr); }
  .ad.house { padding: 12px 14px; gap: 12px; }
  .ad.house::before { width: 34px; height: 34px; background-size: 18px; }
  .house-text strong { font-size: 14.5px; }
  .house-text span { font-size: 12px; }
  .house-cta { display: none; }
  .select-bar .sb-sort { margin-left: 0; }
  .result-list a { padding: 13px 14px; }
  .list-count { font-size: 19px; }
  .page-title { font-size: 21px; }
}


/* ---------- 16. 신뢰형 디자인 (2026-10-15) ----------
   Claude Design 시안(사업자114 신뢰형 리디자인)을 옮김: 남색 안내 띠 · 얇은 회색 테두리 · 각진 모서리 · 표 형식 정보 ·
   출처와 확인 시각을 드러냄. 위 1~15 의 같은 이름 규칙을 덮어쓴다 */

/* 머리: 안내 띠 → 로고 · 검색 → 주 메뉴 띠 (스크롤해도 따라오지 않음) */
.util { background: var(--navy); color: #c9d3e6; font-size: 13px; }
.util-in { display: flex; align-items: center; justify-content: space-between; gap: 4px 20px; min-height: 38px; flex-wrap: wrap; }
.util nav { display: flex; gap: 18px; flex-wrap: wrap; }
.util a { color: #c9d3e6; }
.util a:hover { color: #fff; }
.util b { color: #fff; font-weight: 700; }
.top { position: relative; background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { .top { background: var(--surface); } }
.top-in { height: auto; padding-top: 18px; padding-bottom: 18px; gap: 16px 28px; }
.logo { gap: 10px; }
.logo img { width: 38px; height: 38px; }
.logo-text { font-size: 25px; font-weight: 800; color: var(--title); letter-spacing: -0.045em; }
.logo-sub { font-size: 12.5px; line-height: 1.35; font-weight: 500; color: var(--text-2); padding-left: 12px; margin-left: 2px; border-left: 1px solid #c5cedb; }
.top-search { height: 46px; max-width: 560px; border-radius: var(--r-sm); background: var(--surface); border-color: #b9c3d3; }
.top-search select { background: var(--surface-2); }
.btn-owner { color: var(--title); background: var(--surface); border: 1px solid var(--title); border-radius: var(--r-sm); padding: 10px 16px; }
.btn-owner:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.gnb-band { border-top: 1px solid var(--line-2); }
.gnb { height: 50px; gap: 0; }
.gnb a { color: var(--text); font-size: 16px; font-weight: 700; padding: 0 16px; border-bottom-width: 3px; }
.gnb a:hover { color: var(--brand); }
.gnb a.on { color: var(--brand); border-bottom-color: var(--brand); }
.gnb-menu, .gnb .gnb-menu a { border-radius: var(--r-xs); }
.menu-btn { border-radius: var(--r-sm); }
.mnav-links a { border-radius: var(--r-xs); }

/* 바탕 · 카드 · 제목 */
.page { padding-top: 24px; }
.layout.no-rails.wide { max-width: 1200px; }
.card { padding: 22px 24px; }
.card h2 { color: var(--title); font-size: 18px; font-weight: 800; }
.card > h2:first-child, .card-head { padding-bottom: 12px; border-bottom: 2px solid var(--title); margin: 0 0 16px; }
.card-head h2 { padding: 0; border: 0; margin: 0; }
.card-head > a { color: var(--brand); font-weight: 700; font-size: 13.5px; }
.card-head > a:hover { color: var(--brand-600); }
.page-title { color: var(--title); font-size: 26px; }
.sub-h { color: var(--text-2); }
.src-note { margin: 0; padding-top: 12px; font-size: 13px; color: var(--muted); }
.chip, .search-links a { border-radius: var(--r-xs); }
.chip { border-color: var(--line); }
.badge { border-radius: var(--r-xs); font-size: 12.5px; padding: 3px 9px; }
.badge.plain { background: var(--brand-soft); color: var(--navy-2); }
.tag, .src { border-radius: var(--r-xs); }
.btn.navy { background: var(--navy); color: #fff; }
.btn.navy:hover { background: #082048; }
.field-tabs a { border-radius: var(--r-xs); }
.stat { border-radius: var(--r-sm); }
.stat-value { color: var(--title); }
.flash { border-radius: var(--r-sm); }

/* 홈 */
.hero-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 36px; align-items: center; margin: 0 0 8px;
  padding: 40px 40px 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.hero-band h1 { margin: 0 0 10px; font-size: 38px; font-weight: 800; letter-spacing: -0.035em; color: var(--title); }
.hero-band .lead { margin: 0 0 20px; font-size: 16.5px; color: var(--text-2); }
.hero-band .big-search { max-width: none; height: 60px; margin: 0 0 14px; border: 2px solid var(--brand); border-radius: var(--radius); box-shadow: none; }
.hero-band .big-search:focus-within { box-shadow: var(--ring); }
.hero-band .search-links { justify-content: flex-start; align-items: center; margin: 0; }
.hero-band .search-links .muted { padding-right: 2px; }
.search-links a { background: var(--surface-2); border-color: var(--line); color: var(--text-2); }
.hero-stats-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
.hero-stats-box ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-stats-box li { padding: 20px 22px; border-bottom: 1px solid var(--line-2); min-width: 0; }
.hero-stats-box li:nth-last-child(-n+2) { border-bottom: 0; }
.hero-stats-box li:nth-child(odd) { border-right: 1px solid var(--line-2); }
.hero-stats-box li span { display: block; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.hero-stats-box li strong { display: block; font-size: 27px; font-weight: 800; letter-spacing: -0.02em; color: var(--title); font-variant-numeric: tabular-nums; }
.hero-stats-box p { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 11px 22px; font-size: 13px; color: var(--muted); }
.sec-title { margin: 26px 0 12px; font-size: 20px; font-weight: 800; color: var(--title); }
.svc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0 0 8px; }
.svc-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 116px; padding: 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font-size: 15.5px; font-weight: 700; transition: border-color .15s, color .15s; }
.svc-tile:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.svc-tile .tool-ico { width: 44px; height: 44px; border-radius: var(--r-sm); }
.home-ad { margin: 16px 0 20px; }
.home-grid { gap: 0 20px; }
.rank-table { width: 100%; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
.rank-table th { padding: 9px 8px; background: var(--surface-2); color: var(--muted); font-size: 13px; font-weight: 700; text-align: left; border-bottom: 1px solid var(--line-2); }
.rank-table td { padding: 11px 8px; border-bottom: 1px solid var(--line-2); }
.rank-table .no { width: 54px; text-align: center; font-weight: 800; color: var(--title); }
.rank-table .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-table .nm a { color: var(--text); font-weight: 500; }
.rank-table .nm a:hover { color: var(--brand); }
.rank-table .rg { width: 34%; color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-table .val { width: 30%; text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rank-table th.rg { width: 34%; }
.region-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 18px; }
.region-grid a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 2px; border-bottom: 1px solid var(--line-2); color: var(--text); font-weight: 700; }
.region-grid a span { font-size: 13.5px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.region-grid a:hover { color: var(--brand); text-decoration: none; }
.src-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.src-table th { padding: 11px 10px 11px 0; text-align: left; white-space: nowrap; font-weight: 700; }
.src-table td { padding: 11px 8px; color: var(--text-2); }
.src-table td:last-child { padding-right: 0; text-align: right; white-space: nowrap; }
.src-table tr + tr th, .src-table tr + tr td { border-top: 1px solid var(--line-2); }
.cycle { display: inline-block; padding: 2px 8px; border-radius: var(--r-xs); background: var(--brand-soft); color: var(--navy-2); font-size: 12.5px; font-weight: 700; }
.principles { list-style: none; margin: 0 0 16px; padding: 0; }
.principles li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.principles li::before { content: ""; flex: none; width: 19px; height: 19px; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6b49' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") no-repeat center / contain; }
.guide-card { border-radius: var(--r-sm); }
.tool.accent { background: var(--navy); }

/* 상세: 남색 윗선 카드 · 국세청 확인 띠 · 표 형식 */
.biz-card { border-top: 4px solid var(--navy); padding: 24px 26px 0; overflow: hidden; }
.biz-head h1 { color: var(--title); }
.fact-grid { border-radius: var(--r-sm); border-color: var(--line); background: var(--surface); }
.fact { border-color: var(--line-2); }
.biz-summary { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.as-of { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 18px -26px 0; padding: 11px 26px;
  background: var(--surface-2); border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--text-2); }
.as-of .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.as-of b { color: var(--ok); }
.as-of .sep { color: #9aa3b2; }
.tabs { top: 0; gap: 0; padding: 0 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (prefers-color-scheme: dark) { .tabs { background: var(--surface); } }
.tabs a { padding: 12px 14px 10px; border-radius: 0; border-bottom: 3px solid transparent; color: var(--text-2); font-weight: 700; }
.tabs a:hover { background: none; box-shadow: none; color: var(--brand); border-bottom-color: var(--brand); }
.kv { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.kv th, .kv td { padding: 12px 14px; }
.kv th { width: 140px; background: var(--surface-2); color: var(--text-2); font-weight: 700; }
.kv.compact th, .kv.compact td { padding: 8px 10px; }
.kv.compact th { width: 92px; }
.fin-empty { border-radius: var(--r-sm); }
.claim-cta { background: var(--brand-soft-2); border: 1px solid var(--line); border-radius: var(--radius); }
.claim-cta .btn { background: var(--navy); }

/* 목록 · 검색 */
.result-list a:hover { background: var(--brand-soft-2); }
.row-title strong { font-weight: 700; }
.select-bar select, .select-bar input { border-radius: var(--r-xs); background: var(--surface); }
.pager.num a, .pager.num span { border-radius: var(--r-xs); }
.pager.num .cur { background: var(--navy); }
.list-count { color: var(--title); }

/* 옆 영역 · 광고 · 계산기 */
.rail-nav strong, .rail-title { color: var(--title); font-size: 13px; font-weight: 800; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 2px solid var(--title); }
.rail-nav a { border-radius: var(--r-xs); }
.rail-cta { background: var(--surface); }
.rail-cta .btn { background: var(--navy); }
.ad.house { box-shadow: none; }
.calc-big { border-radius: var(--r-sm); }
.calc-big.main { background: var(--navy); }
.cf-input, .cf select, .cf > input[type=date], .seg-in { border-radius: var(--r-sm); }
.seg-in span { border-radius: var(--r-xs); }
.calc-table tfoot th, .calc-table tfoot td { border-top-color: var(--title); }

/* 바닥 */
.foot { margin-top: 24px; }
.foot-logo b { color: inherit !important; }

/* 좁은 화면(320px)에서도 옆으로 넘치지 않게: 줄바꿈 없는 글자가 칸을 밀어내지 않도록 */
.calc-form { grid-template-columns: minmax(0, 1fr); }
.cf { grid-template-columns: minmax(0, 1fr); }
.cf-input input { width: 0; }            /* 입력 칸 기본 폭(글자 20개)이 좁은 화면에서 칸을 밀어내지 않게 (flex 로 늘어남) */
.group-grid { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.cf select { min-width: 0; max-width: 100%; }
.group-card, .group-items li, .group-head { min-width: 0; }
.group-items a { min-width: 0; }

@media (max-width: 1100px) {
  .hero-band { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .logo-sub { display: none; }
  .gnb-band { display: none; }
}
@media (max-width: 600px) {
  .util { display: none; }
  .top-in { padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .logo img { width: 32px; height: 32px; }
  .logo-text { font-size: 21px; }
  .btn-owner { padding: 8px 11px; font-size: 13px; }
  .page { padding-top: 20px; }
  .hero-band { padding: 24px 16px 20px; gap: 20px; }
  .hero-band h1 { font-size: 27px; }
  .hero-band .lead { font-size: 15px; margin-bottom: 16px; }
  .hero-band .big-search { height: 54px; }
  .hero-stats-box li { padding: 13px 14px; }
  .hero-stats-box li strong { font-size: 21px; }
  .hero-stats-box p { padding: 9px 14px; }
  .sec-title { font-size: 18px; margin-top: 20px; }
  .svc-grid { gap: 8px; }
  .svc-tile { align-items: center; text-align: center; gap: 8px; min-height: 0; padding: 14px 6px; font-size: 13.5px; line-height: 1.35; }
  .svc-tile .tool-ico { width: 40px; height: 40px; }
  .card { padding: 18px 16px; }
  .rank-table .rg { display: none; }
  .rank-table .no { width: 40px; }
  .rank-table .val { width: 34%; }
  .rank-table.money .val { width: 47%; padding-left: 4px; }     /* "238조 430억 원" 이 칸 밖으로 넘치지 않게 */
  .kv th { width: 106px; }
  .biz-card { padding: 18px 16px 0; }
  .as-of { margin: 16px -16px 0; padding: 10px 16px; font-size: 13px; }
  .kv th, .kv td { padding: 11px 10px; }
  .kv { table-layout: fixed; }
  .kv td { overflow-wrap: break-word; }      /* anywhere 는 날짜 · 숫자 가운데서도 끊김 */
  .kv .src { white-space: normal; margin-left: 0; }
  .tabs { padding: 0 4px; }
  .tabs a { padding: 11px 10px 9px; }
}

/* 업체 소개 (사업자 직접 작성): 사진 수에 맞춘 배치 · 소개와 연락처 나란히 (한쪽만 있으면 전체 폭) */
.about .card-head h2 { display: flex; align-items: center; gap: 8px; }
.about .card-head .btn { margin-left: auto; }
.about-top { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.about-logo { width: 56px; height: 56px; border-radius: var(--r-sm); }
.about .tagline { margin: 0; font-size: 17px; font-weight: 700; color: var(--title); }
.about .photo-grid { gap: 8px; margin: 0 0 18px; }
.about .photo-grid .photo { border-radius: var(--r-sm); }
.photo-grid.n1 { grid-template-columns: minmax(0, 1fr); }
.photo-grid.n1 .photo { aspect-ratio: 16 / 9; max-height: 440px; }
.photo-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.about-body.one { grid-template-columns: minmax(0, 1fr); }
.about-main h3, .about-contact h3 { margin: 0 0 8px; font-size: 14px; font-weight: 800; color: var(--title); }
.about-main .intro { margin: 0 0 14px; }
.about-main .svc { margin-bottom: 12px; }
.about-contact { padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.about-contact dl { margin: 0; }
.about-contact dl div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-2); }
.about-contact dl div:first-child { border-top: 0; padding-top: 2px; }
.about-contact dt { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.about-contact dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.about-body.one .about-contact dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 28px; }
.about-body.one .about-contact dl div { border-top: 0; border-bottom: 1px solid var(--line-2); padding: 9px 0; }
.about .tags { margin: 4px 0 0; }
.about .tags span { border-radius: var(--r-xs); }
.about-note { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }
.req { color: var(--bad); }
.form label { align-content: start; }      /* 옆 칸에 도움말이 있어도 입력 칸 높이가 늘어나지 않게 */
@media (max-width: 860px) {
  .about-body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .photo-grid.n1 .photo { aspect-ratio: 4 / 3; }
  .photo-grid.n1 { grid-template-columns: minmax(0, 1fr); }
}

/* 안내 상자: 글자 · 링크가 한 문단으로 흐르게 (예전 flex 는 문장 조각마다 칸을 나눠 줄바꿈이 엉켰음). 아이콘은 왼쪽 고정 */
.notice { display: block; position: relative; padding-left: 38px; line-height: 1.6; }
.notice::before { position: absolute; left: 12px; top: 11px; margin-top: 0; }
.notice.small::before { top: 10px; }

/* 사업자 인증: 이미 등록된 업체면 입력 칸 대신 안내 창 */
.claim-owned { margin: 16px 0 0; padding: 22px 22px 20px; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); background: var(--surface-2); }
.claim-owned h2 { margin: 0 0 14px; font-size: 19px; font-weight: 800; color: var(--title); }
.claim-owned .btn-row { gap: 8px; }
.claim-owned-help { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 14px; line-height: 1.7; color: var(--text-2); }
.claim-owned-help strong { color: var(--text); }
@media (max-width: 600px) {
  .claim-owned { padding: 18px 16px; }
  .claim-owned .btn-row .btn { flex: 1 1 100%; text-align: center; }
}

/* 모바일: 목록은 이름 한 줄 + 날짜 · 분류 한 줄 (한 줄에 다 넣으면 둘 다 잘림), 개인정보 단추는 같은 폭 */
.nw { white-space: nowrap; }      /* 날짜가 하이픈에서 끊기지 않게 */
@media (max-width: 600px) {
  .plain-list li { flex-direction: column; gap: 2px; }
  .plain-list li .small { max-width: 100%; }
  .card-head h2 .small { white-space: nowrap; }
  .principles + .btn-row .btn { flex: 1 1 140px; text-align: center; padding-left: 10px; padding-right: 10px; }
}
