/* 요양파인더와 같은 색·도장·목록 체계를 영어 사이트에 맞게 옮긴 것.
   휴대폰(360px)을 먼저 맞추고, 넓은 화면에서 옆으로 펼칩니다. 점검: scripts/check_mobile.py */
:root {
  --paper: #FFFFFF; --mist: #EEF3F1; --ink: #1E2B2F; --ink-soft: #52615F; --line: #D3DCD9;
  --pine: #1F5E52; --pine-deep: #164439; --star-off: #C3CECB;
  --g-a: #1F6B4E; --g-b: #4C8A3F; --g-c: #A7801A; --g-d: #BF5E26; --g-e: #9E3434; --g-none: #6F7D7A;
  --radius-s: 6px; --radius-m: 12px; --wrap: 60rem;
  font-size: 106.25%; color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141B1D; --mist: #1C2629; --ink: #E6EDEB; --ink-soft: #A9B7B4; --line: #2F3D40;
    --pine: #6CC0A9; --pine-deep: #8FD3BF; --star-off: #5E6E71;
    --g-a: #5CC49A; --g-b: #9BCB6B; --g-c: #E2BC4E; --g-d: #EE9361; --g-e: #EC8080; --g-none: #8D9B98;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4rem; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6; overflow-wrap: break-word;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums; }
a { color: var(--pine); text-underline-offset: .18em; }
a:hover { color: var(--pine-deep); }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; border-radius: 3px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 1.1rem; }
.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: .5rem; left: .5rem; z-index: 40; background: var(--paper); padding: .5rem 1rem; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(1.55rem, 1.1rem + 2.2vw, 2.4rem); font-weight: 800; }
h2 { font-size: 1.3rem; font-weight: 750; scroll-margin-top: 4rem; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0; max-width: 44em; }
.note { font-size: .88rem; color: var(--ink-soft); }
.na { color: var(--ink-soft); font-weight: 500; }

/* ── 머리말 ── */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: .3rem 1rem; min-height: 3.5rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 800; font-size: 1.1rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.brand-mark { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  border: 2.5px solid var(--g-a); color: var(--g-a); font-size: .9rem; font-weight: 900; transform: rotate(-8deg); }
.site-head nav { display: flex; gap: .2rem; margin-left: auto; }
.site-head nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 .65rem;
  color: var(--ink); text-decoration: none; white-space: nowrap; border-radius: var(--radius-s); font-weight: 650; font-size: .95rem; }
.site-head nav a:hover { background: var(--mist); color: var(--pine); }
.head-cmp { display: inline-flex; align-items: center; gap: .3rem; min-height: 40px; padding: 0 .85rem; border: 1.5px solid var(--line);
  border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.head-cmp:hover { border-color: var(--pine); color: var(--pine); }
#cmp-count:not(:empty) { display: inline-block; min-width: 1.3rem; padding: 0 .35rem; border-radius: 999px; background: var(--pine);
  color: var(--paper); font-size: .78rem; font-weight: 800; text-align: center; line-height: 1.3rem; }
.crumbs ol { list-style: none; display: flex; gap: .25rem .4rem; padding: .7rem 0 0; margin: 0; font-size: .85rem; color: var(--ink-soft);
  overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.crumbs ol::-webkit-scrollbar { display: none; }
.crumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); display: inline-block; padding-block: .35rem; }
.crumbs span { display: inline-block; padding-block: .35rem; }

/* ── 쪽 뼈대 ── */
main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem; padding-block: 1.2rem 3rem; }
.section { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; }
.site-foot { background: var(--mist); border-top: 1px solid var(--line); padding-block: 1.6rem 2rem; font-size: .88rem; color: var(--ink-soft); }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: .55rem; }
.site-foot p { max-width: 52em; }
.site-foot strong { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 1.1rem; font-size: .92rem; }
.foot-links a { color: var(--ink); display: inline-flex; align-items: center; min-height: 40px; }
.source-box { border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .3rem; font-size: .9rem; color: var(--ink-soft); }

/* ── 별점 도장·별 ── */
.stamp { --c: var(--g-none); display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 6.2rem; height: 6.2rem; flex: none; border-radius: 50%; border: 4px solid var(--c); color: var(--c);
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px var(--c); transform: rotate(-6deg); line-height: 1; }
.stamp-letter { font-weight: 900; font-size: 2.8rem; }
.stamp-year { font-size: .72rem; font-weight: 700; margin-top: .2rem; }
.stamp.sm { width: 2.6rem; height: 2.6rem; border-width: 2.5px; box-shadow: none; }
.stamp.sm .stamp-letter { font-size: 1.15rem; }
.stamp.sm .stamp-year { display: none; }
.s5 { --c: var(--g-a); } .s4 { --c: var(--g-b); } .s3 { --c: var(--g-c); } .s2 { --c: var(--g-d); } .s1 { --c: var(--g-e); }
.stars { display: inline-flex; gap: .05em; font-size: 1rem; line-height: 1; white-space: nowrap; }
.stars .on { color: var(--g-c); }
.stars .off { color: var(--star-off); }
.stars.none { font-size: .85rem; color: var(--ink-soft); }

/* ── 첫 화면 ── */
.hero { background: var(--mist); border-bottom: 1px solid var(--line); padding-block: 2.2rem 2rem; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.lede { font-size: 1.08rem; color: var(--ink-soft); }
.search { display: grid; grid-template-columns: minmax(0, 1fr); gap: .45rem; max-width: 36rem; }
.search label { font-weight: 700; }
select, input[type="search"] { font: inherit; padding: .5rem .7rem; border: 1.5px solid var(--line); border-radius: var(--radius-s);
  background: var(--paper); color: var(--ink); max-width: 100%; min-height: 44px; }
.search input { width: 100%; min-height: 52px; font-size: 1.05rem; border: 2px solid var(--pine); border-radius: var(--radius-m); }
.search-results { list-style: none; padding: 0 .9rem; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); }
.search-results:empty { display: none; }
.search-results li + li { border-top: 1px solid var(--line); }
.search-results a { display: grid; gap: .05rem; padding: .65rem 0; min-height: 44px; text-decoration: none; color: var(--ink); }
.search-results a:hover b { color: var(--pine); }
.search-results span { color: var(--ink-soft); font-size: .88rem; }
.hero-scale { margin: .2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.hero-scale .stamp:nth-child(2n) { transform: rotate(4deg); }
.hero-scale figcaption { flex-basis: 100%; font-size: .88rem; color: var(--ink-soft); }
.steps { margin: 0; padding-left: 1.4rem; display: grid; gap: .7rem; max-width: 44rem; }
.steps b { display: block; }
.steps span { color: var(--ink-soft); font-size: .95rem; }

/* ── 고르는 칸: 주·카운티·체인 ── */
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: .5rem; }
.tiles a { display: flex; justify-content: space-between; align-items: center; gap: .1rem .6rem; padding: .55rem .8rem; min-height: 48px; height: 100%;
  border: 1px solid var(--line); border-radius: var(--radius-m); text-decoration: none; color: var(--ink); font-weight: 650; line-height: 1.35; }
.tiles a:hover { border-color: var(--pine); color: var(--pine); }
.tiles span { font-size: .85rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.wide-tiles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.guide-list a { display: block; height: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-m); text-decoration: none; color: var(--ink); }
.guide-list a:hover { border-color: var(--pine); }
.guide-list b { display: block; font-size: 1.03rem; line-height: 1.4; }
.guide-list span { display: block; font-size: .9rem; color: var(--ink-soft); margin-top: .2rem; }

/* ── 시설 목록 줄 ── */
.rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.rows > li { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .35rem 1rem; align-items: center; padding: .95rem .2rem;
  text-decoration: none; color: var(--ink); }
.row:hover .row-name { color: var(--pine); text-decoration: underline; }
.row-body { display: grid; gap: .2rem; min-width: 0; }
.row-name { font-size: 1.08rem; font-weight: 700; line-height: 1.35; }
.row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .6rem; font-size: .88rem; color: var(--ink-soft); }
.row-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .1rem; }
.row-stats { display: flex; gap: 1.2rem; text-align: right; }
.row-stats span { display: flex; flex-direction: column; font-size: .76rem; color: var(--ink-soft); white-space: nowrap; }
.row-stats b { font-size: 1.1rem; font-weight: 750; color: var(--ink); }
.tag { display: inline-block; padding: .08rem .55rem; border-radius: 999px; background: var(--mist); color: var(--pine);
  font-weight: 650; font-size: .82rem; border: 1px solid var(--line); }
.tag.muted { color: var(--ink-soft); }
.tag.flag { color: var(--g-e); border-color: var(--g-e); background: transparent; }
a.tag { text-decoration: none; }
a.tag:hover { border-color: var(--pine); color: var(--pine); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .93rem; }
.filters-label { font-size: .9rem; color: var(--ink-soft); }
.filters label { display: inline-flex; gap: .4rem; align-items: center; min-height: 44px; }
.filters .pill { border: 1.5px solid var(--line); border-radius: 999px; padding: 0 .9rem 0 .7rem; cursor: pointer; font-weight: 600; }
.filters .pill:has(input:checked) { border-color: var(--pine); background: var(--mist); color: var(--pine); }
.filters .sort { margin-left: auto; }
input[type="checkbox"] { width: 1.1rem; height: 1.1rem; accent-color: var(--pine); margin: 0; }

/* ── 숫자 묶음·표 ── */
.summary { font-size: 1.05rem; background: var(--mist); border-left: 4px solid var(--pine); padding: .9rem 1.1rem;
  border-radius: 0 var(--radius-s) var(--radius-s) 0; max-width: 46em; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.4rem, 1fr)); gap: .9rem 1.2rem; margin: 0; max-width: 46rem; }
.facts div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.facts dt { font-size: .85rem; color: var(--ink-soft); line-height: 1.4; }
.facts dd { margin: 0; font-size: 1.45rem; font-weight: 800; line-height: 1.25; }
.facts small { font-size: .85rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.pairs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 0 2rem; max-width: 46rem; }
.pairs li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.pairs b { text-align: right; flex: none; max-width: 62%; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; max-width: 46rem; font-size: .95rem; }
th, td { text-align: left; padding: .6rem .8rem .6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th:last-child, td:last-child { padding-right: 0; }
thead th { font-size: .83rem; color: var(--ink-soft); font-weight: 650; border-bottom: 2px solid var(--ink); vertical-align: bottom; line-height: 1.35; }
.num { text-align: right; }
td.num, td.date { white-space: nowrap; }
caption { caption-side: top; text-align: left; font-weight: 700; padding-bottom: .4rem; }

/* ── 시설 상세 ── */
.detail-head { display: flex; gap: 1.3rem; align-items: flex-start; }
.detail-head > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: .45rem; min-width: 0; flex: 1; }
.detail-kind { font-size: .92rem; color: var(--ink-soft); }
.detail-addr { color: var(--ink-soft); }
.head-stars { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .55rem; }
.head-stars .stars { font-size: 1.35rem; }
.head-stars > span:last-child { font-size: .95rem; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 46px; padding: .5rem 1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); background: var(--paper);
  font: inherit; font-weight: 650; line-height: 1.3; cursor: pointer; }
.btn:hover { border-color: var(--pine); color: var(--pine); }
.btn.primary { background: var(--pine); border-color: var(--pine); color: var(--paper); }
.btn.primary:hover { background: var(--pine-deep); border-color: var(--pine-deep); color: var(--paper); }
.btn.cmp-add { border-style: dashed; }
.btn.cmp-add.on { border-style: solid; border-color: var(--pine); color: var(--pine); background: var(--mist); }
.jump { position: sticky; top: 0; z-index: 20; display: flex; gap: .4rem; overflow-x: auto; padding: .5rem 0; margin-block: -1rem;
  background: var(--paper); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 .85rem; border: 1px solid var(--line);
  border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.jump a:hover { border-color: var(--pine); color: var(--pine); }
.tiles-glance { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); gap: .6rem; }
.tiles-glance li { display: grid; gap: .2rem; align-content: start; border: 1px solid var(--line); border-radius: var(--radius-m); padding: .8rem .9rem; }
.g-label { font-size: .85rem; color: var(--ink-soft); line-height: 1.4; }
.g-value { font-size: 1.5rem; font-weight: 800; line-height: 1.2; }
.g-note { font-size: .85rem; color: var(--ink-soft); line-height: 1.45; }
.g-note.up, .g-note.down { color: var(--ink); font-weight: 600; }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.areas { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; max-width: 46rem; }
.areas li { display: grid; grid-template-columns: 11rem minmax(0, 1fr) 4.6rem 12.5rem; gap: .2rem .9rem; align-items: center; }
.area-name { font-weight: 600; font-size: .95rem; }
.area-bar { position: relative; height: .7rem; background: var(--mist); border-radius: 999px; border: 1px solid var(--line); }
.area-fill { position: absolute; inset: 0 auto 0 0; background: var(--pine); border-radius: 999px; }
.area-avg { position: absolute; top: -.35rem; bottom: -.35rem; width: 2px; background: var(--ink); }
.area-num { font-weight: 750; font-size: .98rem; white-space: nowrap; }
.area-ref { font-size: .84rem; color: var(--ink-soft); }
details > summary { cursor: pointer; font-weight: 650; color: var(--pine); padding: .65rem 0; min-height: 44px; }
.explain p { font-size: .92rem; color: var(--ink-soft); padding-bottom: .4rem; }
.cits { list-style: none; padding: 0; margin: 0; max-width: 46rem; border-top: 2px solid var(--ink); }
.cits li { display: grid; gap: .3rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.cit-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: .3rem .6rem; max-width: none; font-size: .9rem; color: var(--ink-soft); }
.cit-top time { white-space: nowrap; }
.cit-top b { color: var(--ink); font-weight: 650; line-height: 1.45; }
.sev { --c: var(--g-none); display: inline-block; min-width: 1.6rem; text-align: center; font-weight: 800; font-size: .85rem; padding: .05rem .4rem;
  border-radius: 4px; border: 1.5px solid var(--c); color: var(--c); }
.sev.l2 { --c: var(--g-c); } .sev.l3 { --c: var(--g-d); } .sev.l4 { --c: var(--g-e); }
.ask-box { border: 1.5px solid var(--pine); border-radius: var(--radius-m); padding: 1rem 1.1rem; background: var(--mist);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; }
.ask-list { margin: 0; padding-left: 1.3rem; display: grid; gap: .75rem; }
.ask-list b { display: block; line-height: 1.45; }
.ask-list span { display: block; font-size: .87rem; color: var(--ink-soft); margin-top: .15rem; }
.gap-box { border: 1.5px dashed var(--line); border-radius: var(--radius-m); padding: .9rem 1.1rem; display: grid; gap: .4rem; }
.callbar { display: none; }

/* ── 글·자주 묻는 질문 ── */
.prose { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; max-width: 44rem; }
.prose h2 { margin-top: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.prose ul, .prose ol { margin: 0; padding-left: 1.3rem; display: grid; gap: .45rem; }
.faq { max-width: 46rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { color: var(--ink); line-height: 1.45; padding: .8rem 0; }
.faq p { padding: 0 0 .9rem; color: var(--ink-soft); }
.ad-slot { min-height: 0; }

/* ── 비교함 ── */
#cmp-table { max-width: none; min-width: 34rem; }
#cmp-table th[scope="col"] { min-width: 9.5rem; font-size: .95rem; color: var(--ink); line-height: 1.35; }
#cmp-table th[scope="col"] a, #cmp-table th[scope="col"] .note { display: block; font-weight: 500; }
#cmp-table th[scope="col"] a { font-weight: 700; }
#cmp-table th[scope="row"], #cmp-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); width: 13rem;
  font-weight: 600; font-size: .9rem; color: var(--ink-soft); padding-right: .8rem; }
.cmp-remove { font: inherit; font-size: .85rem; color: var(--ink-soft); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; min-height: 40px; }

/* ── 안내 글 ── */
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow a { text-decoration: none; display: inline-block; padding-block: .3rem; }
.byline { font-size: .9rem; color: var(--ink-soft); margin-top: -.4rem; }
.guide > p, .guide li { font-size: 1.03rem; }
.takeaways { background: var(--mist); border-radius: var(--radius-m); padding: 1rem 1.15rem 1.1rem; border-left: 4px solid var(--pine); }
.prose .takeaways h2 { margin: 0 0 .5rem; padding: 0; border: 0; font-size: 1.05rem; }
.takeaways ul { gap: .45rem; }
.takeaways li { font-size: 1rem; }
.prose h3 { margin-top: .3rem; }
.prose table { margin-block: .2rem; }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.05rem; height: 1.05rem; border: 2px solid var(--pine); border-radius: 4px; }
.alert { border: 1.5px solid var(--g-e); border-radius: var(--radius-m); padding: .8rem 1rem; color: var(--ink); }
.state-box { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem 1.1rem; display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; }
.state-box h3 { margin: 0; }
.state-box dl { margin: 0; display: grid; gap: .7rem; }
.state-box dt { font-weight: 700; }
.state-box dt a { display: inline-block; padding-block: .15rem; }
.state-box dd { margin: .1rem 0 0; font-size: .97rem; }
.tel { font-weight: 700; white-space: nowrap; }
.sources { margin: 0; padding-left: 1.2rem; display: grid; gap: .1rem; font-size: .93rem; max-width: 46rem; }
.sources li { padding-block: .3rem; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; background: var(--mist);
  border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.2rem 1.3rem; }
.cta-band div { display: grid; gap: .3rem; flex: 1 1 18rem; }
.cta-band p { color: var(--ink-soft); }
.jump-links { display: flex; flex-wrap: wrap; gap: .45rem; max-width: none; }
.jump-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .85rem; border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.jump-links a:hover { border-color: var(--pine); color: var(--pine); }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.3rem; font-size: .93rem; font-weight: 600; color: var(--ink-soft); }
.trust li::before { content: "✓"; color: var(--pine); font-weight: 800; margin-right: .4rem; }

/* ── 주별 연락처·규정 ── */
.contact-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .6rem; }
.contact-cards li { display: grid; gap: .25rem; align-content: start; border: 1px solid var(--line); border-radius: var(--radius-m); padding: .9rem 1rem; }
.c-kind { font-size: .8rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-soft); }
.contact-cards b { line-height: 1.35; }
.c-phone { font-size: 1.15rem; }
.c-phone .tel { display: inline-flex; align-items: center; min-height: 40px; }
.rule-list { margin: 0; display: grid; max-width: 46rem; border-top: 2px solid var(--ink); }
.rule-list div { padding: .8rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .2rem; }
.rule-list dt { font-weight: 700; }
.rule-list dd { margin: 0; }
.rule-list .src { display: block; font-size: .85rem; color: var(--ink-soft); padding-block: .3rem; }

/* ── 휴대폰 ── */
@media (max-width: 42rem) {
  /* 머리말: 첫 줄에 이름, 둘째 줄에 메뉴 네 개와 비교함을 한 줄로 */
  .head-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 0; gap: 0; }
  .brand { grid-column: 1 / -1; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .site-head nav { margin: 0; gap: 0; min-width: 0; }
  .site-head nav a { flex: 1; padding: 0 .15rem; font-size: .92rem; }
  .site-head nav a.nav-about { display: none; }      /* 바닥글에 있습니다 */
  .head-cmp { border: 0; border-radius: var(--radius-s); min-height: 44px; padding: 0 .1rem 0 .5rem; font-size: .92rem; font-weight: 650; }
  main { gap: 2.1rem; padding-top: 1rem; }
  .hero { padding-block: 1.6rem 1.5rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles a { flex-direction: column; align-items: flex-start; justify-content: center; padding: .6rem .8rem; }
  .wide-tiles { grid-template-columns: minmax(0, 1fr); }
  .wide-tiles a { flex-direction: row; align-items: center; justify-content: space-between; }
  .row { grid-template-columns: auto minmax(0, 1fr); align-items: start; padding: .9rem 0; }
  .row-stats { grid-column: 2; text-align: left; gap: 1.1rem; }
  .row-stats b { font-size: 1rem; }
  .filters .sort { margin-left: 0; width: 100%; }
  .filters .sort select { flex: 1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts dd { font-size: 1.3rem; }
  .detail-head .stamp { display: none; }      /* 별 줄이 같은 정보를 보여 줍니다 */
  .detail-head .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-head .actions .btn { padding-inline: .5rem; font-size: .95rem; }
  .has-callbar .detail-head .actions .btn.primary { display: none; }   /* 아래 고정 띠에 전화 단추가 있습니다 */
  .tiles-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .tiles-glance li { padding: .7rem .75rem; }
  .g-value { font-size: 1.25rem; }
  .areas li { grid-template-columns: minmax(0, 1fr) auto; gap: .25rem .8rem; }
  .area-bar { grid-column: 1 / -1; }
  .area-num { grid-row: 1; grid-column: 2; }
  .area-ref { grid-column: 1 / -1; }
  /* 견줌표는 한 줄씩 쌓아 옆으로 밀지 않고 봅니다 */
  table.stack, table.stack tbody { display: block; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack { border-top: 2px solid var(--ink); }
  table.stack tr { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: .25rem .8rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
  table.stack td { display: block; border: 0; padding: 0; text-align: left; white-space: normal; }
  table.stack td:first-child { grid-column: 1 / -1; font-weight: 650; }
  table.stack td[data-label] { font-weight: 750; font-size: 1.05rem; }
  table.stack.text td[data-label] { font-weight: 400; font-size: 1rem; }
  table.stack td[data-label]::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 500; color: var(--ink-soft); }
  #cmp-table { min-width: 0; font-size: .9rem; }
  #cmp-table th[scope="col"] { min-width: 8.6rem; }
  #cmp-table th[scope="row"], #cmp-table thead th:first-child { width: 6.6rem; min-width: 6.6rem; font-size: .82rem; line-height: 1.35; }
  .callbar { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: .55rem .9rem calc(.55rem + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: 1px solid var(--line); }
  .callbar a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--radius-s);
    text-decoration: none; font-weight: 750; }
  .callbar .call { flex: 1; background: var(--pine); color: var(--paper); font-size: 1.03rem; }
  .callbar .cmp { padding: 0 1rem; border: 1.5px solid var(--line); color: var(--ink); }
  .has-callbar .site-foot { padding-bottom: 6rem; }
}
@media (max-width: 21rem) {            /* 아주 좁은 화면 */
  .site-head nav a, .head-cmp { font-size: .85rem; }
  .brand { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-head nav, .head-cmp, .jump, .filters, .callbar, .actions { display: none !important; } }
