/* 요양파인더 — 평가등급 도장을 중심에 둔 공공정보 사이트 */
:root {
  --paper: #FFFFFF;
  --mist: #EEF3F1;
  --ink: #1E2B2F;
  --ink-soft: #52615F;
  --line: #D3DCD9;
  --pine: #1F5E52;
  --pine-deep: #164439;
  --g-a: #1F6B4E; --g-b: #4C8A3F; --g-c: #A7801A; --g-d: #BF5E26; --g-e: #9E3434; --g-none: #8A9794;
  --radius-s: 6px; --radius-m: 12px;
  --wrap: 68rem;
  font-size: 106.25%; /* 17px */
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141B1D; --mist: #1C2629; --ink: #E6EDEB; --ink-soft: #A9B7B4;
    --line: #2F3D40; --pine: #6CC0A9; --pine-deep: #8FD3BF;
    --g-a: #5CC49A; --g-b: #9BCB6B; --g-c: #E2BC4E; --g-d: #EE9361; --g-e: #EC8080; --g-none: #7E8C89;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere;
  font-feature-settings: "tnum" 1;
}
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; }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.1rem; }
.sr-only, .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: 10; background: var(--paper); padding: .5rem 1rem; }

h1, h2, h3 { line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.6rem); font-weight: 800; }
h2 { font-size: 1.35rem; font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 42em; }

/* 머리 (스크롤해도 위에 고정) */
.site-head { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(6px)) {
  .site-head { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(6px); }
}
html { scroll-padding-top: 4.2rem; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.6rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.03em; }
.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: .85rem; font-weight: 900; transform: rotate(-8deg); }
.site-head nav { display: flex; gap: .2rem; }
.site-head nav a { color: var(--ink); text-decoration: none; white-space: nowrap; padding: .45rem .6rem; border-radius: var(--radius-s); font-weight: 650; font-size: .95rem; }
.site-head nav a:hover { background: var(--mist); color: var(--pine); }
.head-row { min-height: 3.4rem; }
.plain-list { list-style: none; }
.plain-list li { border-bottom: 1px dashed var(--line); padding: 0; }
.plain-list a { display: flex; flex: 1 1 100%; justify-content: space-between; align-items: center; gap: .6rem; padding: .5rem .2rem; min-height: 40px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.plain-list a span { color: var(--ink-soft); font-size: .9rem; }
.plain-list a:hover { color: var(--pine); }
.hero-count a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--line); }
.hero-count a:hover { border-color: var(--pine); color: var(--pine); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .4rem; padding: .7rem 0 0; margin: 0 0 .4rem; font-size: .85rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--line); }
.crumbs a { color: var(--ink-soft); }

/* 평가등급 도장 — 이 사이트의 한 가지 강조 요소 */
.stamp {
  --c: var(--g-none);
  flex: none; display: inline-grid; place-items: center; align-content: center;
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  border: 3px solid var(--c); color: var(--c);
  box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 3.5px var(--c);
  transform: rotate(-7deg); line-height: 1;
}
.stamp-letter { font-weight: 900; font-size: 1.55rem; letter-spacing: 0; }
.stamp-year { font-size: .6rem; font-weight: 700; margin-top: .12rem; }
.stamp.sm { width: 2.4rem; height: 2.4rem; border-width: 2.5px; box-shadow: none; }
.stamp.sm .stamp-letter { font-size: 1.05rem; }
.stamp.sm .stamp-year { display: none; }
.stamp.lg { width: 6.2rem; height: 6.2rem; border-width: 4px; box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 5px var(--c); }
.stamp.lg .stamp-letter { font-size: 2.9rem; }
.stamp.lg .stamp-year { font-size: .78rem; }
.g-a { --c: var(--g-a); } .g-b { --c: var(--g-b); } .g-c { --c: var(--g-c); }
.g-d { --c: var(--g-d); } .g-e { --c: var(--g-e); } .g-none { --c: var(--g-none); }
.stamp.g-none .stamp-letter { font-size: 1.2rem; }
.grade-text { color: var(--c, var(--g-none)); font-weight: 900; }

/* 홈 */
.hero { background: var(--mist); border-bottom: 1px solid var(--line); padding: 3rem 0 2.6rem; }
.hero-grid { display: grid; gap: 2rem; grid-template-columns: 1.5fr 1fr; align-items: end; }
.lede { font-size: 1.1rem; color: var(--ink-soft); }
.hero-count { font-size: 1.05rem; margin: 0; }
.hero-count b { font-size: 1.3rem; }
.hero-scale { margin: 0; display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.hero-scale .stamp:nth-child(2) { transform: rotate(4deg); }
.hero-scale .stamp:nth-child(4) { transform: rotate(-2deg); }
.hero-scale figcaption { flex-basis: 100%; font-size: .9rem; color: var(--ink-soft); margin-top: .4rem; }
.section { padding-top: 2.4rem; padding-bottom: .4rem; }
.sido-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .6rem; align-items: start; grid-auto-flow: row dense; }
.sido { border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--paper); }
.sido summary { cursor: pointer; padding: .85rem 1rem; display: flex; flex-direction: column; list-style: none; }
.sido summary::-webkit-details-marker { display: none; }
.sido[open] { grid-column: 1 / -1; border-color: var(--pine); }
.sido[open] summary { border-bottom: 1px solid var(--line); }
.sido summary { position: relative; }
.sido summary::after { content: "+"; position: absolute; right: .8rem; top: .7rem; font-size: 1.2rem; font-weight: 700; color: var(--ink-soft); }
.sido[open] summary::after { content: "−"; color: var(--pine); }
.sido-name { font-weight: 750; font-size: 1.1rem; }
.sido-count { font-size: .85rem; color: var(--ink-soft); display: flex; flex-direction: column; margin-top: .2rem; line-height: 1.5; }
.sido-count b { color: var(--ink); font-weight: 700; }
.sido-name { padding-right: 1.4rem; word-break: keep-all; }
.sido[open] .sgg-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.2rem, 1fr)); column-gap: 1rem; max-height: none; }
@media (max-width: 44rem) {
  .sido-grid { gap: .5rem; }
  .sido summary { padding: .75rem .75rem .8rem; }
  .sido-name { font-size: 1.02rem; letter-spacing: -.02em; padding-right: 1.1rem; }
  .sido summary::after { right: .6rem; top: .6rem; }
  .sido[open] .sgg-list { padding: .4rem .75rem; }
}
.sgg-list { list-style: none; margin: 0; padding: .4rem 1rem; max-height: 22rem; overflow: auto; }
.sgg-list li { display: flex; flex-wrap: wrap; gap: .2rem .7rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.sgg-list li > span { flex-basis: 100%; font-weight: 600; }
.sido-all { display: block; padding: .6rem 1rem .9rem; font-size: .9rem; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* 목록 페이지 */
.page-head { padding-top: 1.2rem; }
.page-head .count { color: var(--ink-soft); font-weight: 600; }
.summary { font-size: 1.08rem; 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: flex; flex-wrap: wrap; gap: .6rem 2.2rem; margin: 1.2rem 0; }
.facts div { display: flex; flex-direction: column-reverse; }
.facts dt { font-size: .85rem; color: var(--ink-soft); }
.facts dd { margin: 0; font-size: 1.5rem; font-weight: 800; }
.switch { font-size: .95rem; }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1rem; }
.list-head h2 { margin: 0; }
.controls { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; font-size: .95rem; }
.controls label { display: inline-flex; gap: .35rem; align-items: center; cursor: pointer; }
.controls input { width: 1.15rem; height: 1.15rem; accent-color: var(--pine); }
.controls select { font: inherit; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--paper); color: var(--ink); }
.result-note { font-size: .85rem; color: var(--ink-soft); margin: .6rem 0 0; }
.inst-list { list-style: none; margin: .4rem 0 0; padding: 0; }
.inst {
  display: grid; grid-template-columns: auto 1fr auto auto; gap: .4rem 1.1rem; align-items: center;
  padding: 1rem .2rem; border-bottom: 1px solid var(--line);
}
.inst[hidden] { display: none; }
.inst h3 { margin: 0; font-size: 1.12rem; }
.inst h3 a { color: var(--ink); text-decoration: none; }
.inst h3 a:hover { text-decoration: underline; }
.inst-meta { margin: .15rem 0 0; display: flex; flex-wrap: wrap; gap: .2rem .7rem; font-size: .88rem; color: var(--ink-soft); }
.inst-addr { margin: .15rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.tag { display: inline-block; padding: .05rem .5rem; 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); }
.inst-stats { display: flex; gap: 1rem; margin: 0; text-align: right; }
.inst-stats div { display: flex; flex-direction: column-reverse; min-width: 2.8rem; }
.inst-stats dt { font-size: .75rem; color: var(--ink-soft); }
.inst-stats dd { margin: 0; font-weight: 750; font-size: 1.15rem; }
.call { white-space: nowrap; padding: .5rem .8rem; border: 1.5px solid var(--pine); border-radius: var(--radius-s); text-decoration: none; font-weight: 650; font-size: .92rem; }
.call:hover { background: var(--pine); color: var(--paper); }
.note { font-size: .88rem; color: var(--ink-soft); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chips a { display: inline-block; padding: .35rem .75rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.chips a span { color: var(--ink-soft); margin-left: .2rem; }
.chips a:hover { border-color: var(--pine); color: var(--pine); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: .2rem 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; padding: .75rem 0; }
.faq details p { margin: 0 0 .9rem; color: var(--ink-soft); }

/* 상세 */
.detail-head { display: flex; gap: 1.4rem; align-items: center; padding-top: 1.2rem; }
.detail-head h1 { margin-bottom: .25rem; }
.detail-kind { margin: 0 0 .3rem; font-size: .92rem; color: var(--ink-soft); }
.detail-addr { font-size: 1.02rem; margin-bottom: .8rem; }
.detail-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.btn { display: inline-block; padding: .6rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); text-decoration: none; color: var(--ink); font-weight: 650; }
.btn:hover { border-color: var(--pine); color: var(--pine); }
button.btn { background: transparent; font: inherit; font-weight: 650; line-height: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
.btn.cmp-add { border-style: dashed; }
.btn.primary { background: var(--pine); border-color: var(--pine); color: var(--paper); }
.btn.primary:hover { background: var(--pine-deep); color: var(--paper); }
.facts.wide { gap: 1rem 2.8rem; }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table th, .table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-size: .85rem; color: var(--ink-soft); font-weight: 600; border-bottom: 2px solid var(--ink); }
.table .num { text-align: right; }
.table thead th, .table td.num, .table td:first-child { white-space: nowrap; }
.section:has(> .table) { overflow-x: auto; }
.staff { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0 1.5rem; }
.staff li { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.plain dt { font-weight: 650; margin-top: .6rem; }
.plain dd { margin: .1rem 0 0; }
.near { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0 1.5rem; }
.near a { display: flex; gap: .6rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.near a span { margin-left: auto; font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }
.near a:hover { color: var(--pine); }
.callbar { display: none; }

/* 영역별 점수 막대 */
.sub-h { margin-top: 1.6rem; }
.areas { list-style: none; padding: 0; margin: 0 0 .6rem; display: grid; gap: .65rem; max-width: 44rem; }
.areas li { display: grid; grid-template-columns: 7.5rem 1fr 11rem; gap: .8rem; align-items: center; }
.area-name { font-weight: 600; font-size: .95rem; }
.area-bar { position: relative; height: .7rem; background: var(--mist); border-radius: 999px; }
.area-fill { position: absolute; inset: 0 auto 0 0; background: var(--pine); border-radius: 999px; }
.area-avg { position: absolute; top: -.3rem; bottom: -.3rem; width: 2px; background: var(--ink); }
.area-num { font-weight: 700; font-size: .95rem; white-space: nowrap; }
.area-num em { font-style: normal; font-weight: 500; font-size: .82rem; color: var(--ink-soft); margin-left: .25rem; }
.area-num em.up { color: var(--g-a); }
.area-num em.down { color: var(--g-d); }
.compare-list { margin: 0 0 .6rem; display: grid; gap: .8rem; max-width: 46rem; }
.compare-list div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px dashed var(--line); }
.compare-list dt { font-weight: 650; color: var(--ink-soft); }
.compare-list dd { margin: 0; }

/* 방 구성 */
.rooms { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .5rem; max-width: 30rem; }
.rooms li { display: grid; grid-template-columns: 3.5rem 1fr 3rem; gap: .8rem; align-items: center; }
.room-name { font-weight: 600; }
.room-bar { height: .9rem; background: var(--mist); border-radius: 3px; overflow: hidden; }
.room-bar span { display: block; height: 100%; background: var(--pine); }
.rooms b { text-align: right; }
.common-rooms { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .92rem; color: var(--ink-soft); }

/* 안내 글 */
.prose { max-width: 46rem; padding-top: 1.2rem; }
.prose h2 { margin-top: 2rem; }
.prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.grade-legend { list-style: none; padding: 0; display: grid; gap: .55rem; }
.grade-legend li { display: flex; align-items: center; gap: .9rem; }

/* 안내 글 */
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.guide-list a { display: block; 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.05rem; }
.guide-list span { display: block; font-size: .9rem; color: var(--ink-soft); margin-top: .15rem; }
.byline { font-size: .88rem; color: var(--ink-soft); margin-top: -.4rem; }
.disclosure { font-size: .85rem; color: var(--ink-soft); background: var(--mist); border-radius: var(--radius-s); padding: .6rem .8rem; }
.disclosure.near { margin-top: -.9rem; font-size: .8rem; background: none; padding: 0 .2rem; }
.article .prose h2 { margin-top: 2.2rem; padding-top: .2rem; border-top: 1px solid var(--line); }
.article .prose h3 { margin-top: 1.5rem; }
.article .prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0 1.4rem; display: block; overflow-x: auto; }
.article .prose th, .article .prose td { border-bottom: 1px solid var(--line); padding: .6rem .5rem; text-align: left; vertical-align: top; }
.article .prose thead th { border-bottom: 2px solid var(--ink); font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }
.article .prose blockquote { margin: 1.2rem 0; padding: .9rem 1.1rem; background: var(--mist); border-left: 4px solid var(--pine); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.article .prose blockquote p:last-child { margin-bottom: 0; }
.article .prose ul, .article .prose ol { padding-left: 1.3rem; }
.article .prose li { margin-bottom: .4rem; }
.cta-btn { display: inline-block; margin: .3rem 0 1.2rem; padding: .75rem 1.2rem; background: var(--pine); color: var(--paper); border-radius: var(--radius-s); text-decoration: none; font-weight: 700; }
.cta-btn:hover { background: var(--pine-deep); color: var(--paper); }
.cta-btn[aria-disabled="true"] { background: var(--line); color: var(--ink-soft); pointer-events: none; }
.related { margin-top: 2.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.related ul { padding-left: 1.2rem; }

/* 꼬리 */
.site-foot { margin-top: 3.5rem; padding: 2rem 0 5.5rem; background: var(--mist); border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-soft); }
.site-foot strong { color: var(--ink); margin-right: .3rem; }
.foot-small { font-size: .8rem; }
.foot-links { margin-top: .8rem; font-size: .9rem; }
.foot-links a { color: var(--ink); }
.contact-mail { background: var(--mist); padding: .7rem .9rem; border-radius: var(--radius-s); }

/* 휴대폰 */
@media (max-width: 44rem) {
  .head-row { flex-wrap: nowrap; }
  .head-row { flex-wrap: wrap; min-height: 0; padding-top: .4rem; padding-bottom: .25rem; gap: .1rem; }
  .site-head nav { width: 100%; justify-content: space-between; gap: 0; border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .15rem; }
  .site-head nav a { flex: 1; text-align: center; padding: .5rem .2rem; font-size: .92rem; }
  .brand { font-size: 1.05rem; }
  .hero { padding: 2rem 0 1.8rem; }
  .hero-grid, .compare { grid-template-columns: 1fr; }
  .inst { grid-template-columns: auto 1fr; }
  .inst-stats { grid-column: 2; justify-content: flex-start; text-align: left; }
  .inst-stats div { flex-direction: row-reverse; justify-content: flex-end; gap: .3rem; align-items: baseline; min-width: 0; }
  .call { grid-column: 2; justify-self: start; }
  .detail-head { align-items: flex-start; gap: .9rem; }
  .stamp.lg { width: 4.3rem; height: 4.3rem; border-width: 3px; box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 3.5px var(--c); margin-top: .3rem; }
  .stamp.lg .stamp-letter { font-size: 1.9rem; }
  .stamp.lg .stamp-year { font-size: .62rem; }
  .detail-head h1 { font-size: 1.55rem; }
  .call-main { display: none; }
  .table { font-size: .88rem; }
  .areas li { grid-template-columns: 1fr auto; gap: .25rem .6rem; }
  .area-bar { grid-column: 1 / -1; grid-row: 2; }
  .compare-list div { grid-template-columns: 1fr; gap: .2rem; }
  .table th, .table td { padding: .5rem .35rem; }
  .detail .callbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .detail .callbar a { display: block; text-align: center; padding: .85rem; border-radius: var(--radius-s); background: var(--pine); color: var(--paper); font-weight: 750; text-decoration: none; font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .site-head nav, .controls, .callbar, .call { display: none !important; } }

/* 비교함 */
.btn.cmp-add.on { border-style: solid; border-color: var(--pine); color: var(--pine); background: var(--mist); }
#cmp-tray { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; gap: .9rem; align-items: center; background: #17231e; color: #fff; border: 1px solid rgba(255,255,255,.18); white-space: nowrap; padding: .6rem .6rem .6rem 1.1rem; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.25); font-size: .95rem; }
#cmp-tray a { white-space: nowrap; background: #1f7a5a; color: #fff; text-decoration: none; padding: .45rem .9rem; border-radius: 999px; font-weight: 700; }
body.detail #cmp-tray { bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px)); }
.cmp-scroll { overflow-x: auto; margin: 0 -.2rem; }
.cmp-table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .95rem; }
.cmp-table th, .cmp-table td { border-bottom: 1px solid var(--line); padding: .6rem .5rem; text-align: left; vertical-align: top; }
.cmp-table thead th { position: relative; font-size: 1rem; padding-right: 1.8rem; }
.cmp-table tbody th { color: var(--ink-soft); font-weight: 600; width: 8.5rem; white-space: nowrap; }
.cmp-table .na { color: var(--ink-soft); font-size: .88rem; }
.cmp-table .top { color: var(--pine); }
.cmp-del { position: absolute; top: .45rem; right: .2rem; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink-soft); }
.cmp-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0; }
.btn.sm { padding: .3rem .6rem; font-size: .88rem; }
.cmp-table tbody th { position: sticky; left: 0; background: var(--paper); z-index: 1; }
.cmp-table thead th:first-child { position: sticky; left: 0; background: var(--paper); z-index: 1; }
@media (max-width: 44rem) {
  .cmp-table { min-width: 30rem; font-size: .88rem; }
  .cmp-table tbody th { width: 5.6rem; white-space: normal; font-size: .82rem; }
}
.call-tip { font-size: .88rem; color: var(--ink-soft); margin-top: .5rem; }

/* 글 속 실데이터 블록 */
.data-lead { background: var(--mist); border-left: 4px solid var(--pine); padding: .9rem 1rem; border-radius: var(--radius-s); line-height: 1.75; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 26rem; }
.data-table th, .data-table td { padding: .5rem .45rem; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table thead th { font-size: .88rem; color: var(--ink-soft); border-bottom: 2px solid var(--ink); }

/* 비교 찾기 쉽게 */
:root { color-scheme: light dark; }
.nav-cmp { position: relative; }
.cmp-count { display: inline-block; min-width: 1.25rem; height: 1.25rem; line-height: 1.25rem; margin-left: .25rem; padding: 0 .3rem; border-radius: 999px; background: #1f7a5a; color: #fff; font-size: .75rem; font-weight: 800; text-align: center; vertical-align: .08rem; }
.cmp-count[hidden] { display: none; }
.inst-body .cmp-add { margin-top: .45rem; }
#cmp-toast { position: fixed; left: 50%; top: calc(4.2rem + env(safe-area-inset-top, 0px)); transform: translate(-50%, -1rem); opacity: 0; pointer-events: none; transition: .25s; z-index: 50; background: #17231e; color: #fff; border: 1px solid rgba(255,255,255,.18); padding: .65rem 1rem; border-radius: var(--radius-m); box-shadow: 0 8px 24px rgba(0,0,0,.25); font-size: .92rem; white-space: nowrap; max-width: calc(100vw - 1.5rem); }
#cmp-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#cmp-toast a { color: #7fe0b8; font-weight: 800; margin-left: .4rem; }
#cmp-toast span { color: #cfd8d4; margin-left: .3rem; font-size: .85rem; }
@media (max-width: 44rem) { #cmp-toast { top: calc(6.4rem + env(safe-area-inset-top, 0px)); white-space: normal; text-align: center; } }

/* ---------- 모바일 점검 반영 ---------- */
/* 글 속 표: 페이지가 옆으로 밀리지 않고 표 안에서만 가로 스크롤 */
.prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose table th, .prose table td { white-space: normal; min-width: 5.5rem; }
/* 손가락으로 누르기 쉬운 크기 (최소 40px) */
.brand { min-height: 40px; display: inline-flex; align-items: center; }
.cmp-del { width: 40px; height: 40px; top: .1rem; right: -.3rem; display: grid; place-items: center; }
.controls label { min-height: 40px; display: inline-flex; align-items: center; gap: .35rem; padding: 0 .3rem; }
.controls select { min-height: 40px; }
.stamp-year { font-size: max(11px, .68em) !important; }
.btn.sm { min-height: 40px; display: inline-flex; align-items: center; }
.helper select, .helper .opts label { min-height: 44px; }

/* ---------- 안내 글 공통 구성요소 (rv-*) ---------- */
.rv-one{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:1.2rem 0}

.rv-one div{border-radius:var(--radius-m);padding:1rem .9rem;text-align:center;border:1.5px solid var(--line)}

.rv-one b{display:block;font-size:1.15rem;margin-bottom:.25rem}

.rv-one span{font-size:.92rem;color:var(--ink-soft)}

.rv-one .won{border-color:var(--pine);background:var(--mist)}

.rv-one .won b{color:var(--pine)}

.rv-sum{list-style:none;padding:0;margin:1rem 0;counter-reset:s}

.rv-sum li{counter-increment:s;position:relative;padding:.7rem .2rem .7rem 2.4rem;border-bottom:1px dashed var(--line);line-height:1.6}

.rv-sum li::before{content:counter(s);position:absolute;left:.2rem;top:.75rem;width:1.6rem;height:1.6rem;border-radius:50%;background:var(--pine);color:var(--paper);font-weight:800;font-size:.9rem;display:grid;place-items:center}

.rv-vs{margin:1rem 0;border:1px solid var(--line);border-radius:var(--radius-m);overflow:hidden}

.rv-vs .hd,.rv-vs .row{display:grid;grid-template-columns:1fr 1fr}

.rv-vs .hd div{padding:.6rem .7rem;font-weight:800;text-align:center;background:var(--mist)}

.rv-vs .hd div:first-child{color:var(--pine)}

.rv-vs .lb{grid-column:1/-1;padding:.55rem .7rem .15rem;font-size:.82rem;font-weight:700;color:var(--ink-soft);border-top:1px solid var(--line)}

.rv-vs .row div{padding:.1rem .7rem .65rem;line-height:1.55;font-size:.95rem}

.rv-vs .row div:first-child{border-right:1px dashed var(--line)}

.rv-vs mark{background:none;color:var(--pine);font-weight:800}

.rv-cost{display:grid;gap:.7rem;margin:1rem 0}

@media(min-width:44rem){.rv-cost,.rv-fit{grid-template-columns:1fr 1fr}
}

.rv-card{border:1px solid var(--line);border-radius:var(--radius-m);padding:1rem}

.rv-card h3{margin:0 0 .6rem;font-size:1.05rem}

.rv-card ul{list-style:none;padding:0;margin:0}

.rv-card li{padding:.35rem 0;border-bottom:1px dotted var(--line);display:block}
.rv-card li:has(> span:nth-child(2)){display:flex;justify-content:space-between;gap:.6rem}

.rv-card li:last-child{border-bottom:0}

.rv-card .big{color:#b4532a;font-weight:800}

.rv-card .total{margin-top:.6rem;padding-top:.6rem;border-top:2px solid var(--ink);font-weight:800;display:flex;justify-content:space-between}

.rv-fit{display:grid;gap:.7rem;margin:1rem 0}

.rv-fit ul{padding-left:0;list-style:none}

.rv-fit li{padding:.35rem 0 .35rem 1.6rem;position:relative;line-height:1.55}

.rv-fit li::before{content:"✓";position:absolute;left:.2rem;color:var(--pine);font-weight:900}

.rv-flow{list-style:none;padding:0;margin:1rem 0;display:grid;gap:.4rem}

.rv-flow li{display:flex;gap:.7rem;align-items:center;border:1px solid var(--line);border-radius:var(--radius-s);padding:.6rem .8rem}

.rv-flow li b{flex:0 0 auto;width:1.7rem;height:1.7rem;border-radius:50%;display:grid;place-items:center;background:var(--mist);color:var(--pine)}

.prose .rv-card h3,.rv-card h3{margin-top:0!important}

.prose .rv-card ul,.rv-card ul,.rv-fit ul,.rv-sum,.rv-flow{padding-left:0!important;margin-left:0!important}

.rv-card li{margin:0!important}

.rv-notice{border-left:4px solid #c98a2b;background:var(--mist);padding:.8rem 1rem;border-radius:var(--radius-s);line-height:1.7}

.rv-vs .row.rv-pad div { padding-top: .6rem; border-top: 1px solid var(--line); }
.rv-card li > span:nth-child(2):last-child { white-space: nowrap; text-align: right; flex: 0 0 auto; }
.rv-card li > span:first-child:not(:last-child) { flex: 1 1 auto; min-width: 0; }
/* 데이터 표는 줄바꿈하지 않고 가로 스크롤 (시도 이름이 쪼개지지 않게) */
.prose .data-table th, .prose .data-table td { white-space: nowrap; min-width: 0; }
/* 404 안내 */
.err-code { font-size: 3rem; font-weight: 800; color: var(--pine); margin: 0; line-height: 1; }
.err-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

/* 안내 목록 */
.guide-jump { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.guide-jump a { border: 1px solid var(--line); border-radius: 999px; padding: .45rem .8rem; font-size: .9rem; text-decoration: none; color: var(--ink); min-height: 40px; display: inline-flex; align-items: center; }
.guide-jump a:hover { border-color: var(--pine); color: var(--pine); }
.guide-head h2 { display: flex; align-items: center; gap: .5rem; margin-bottom: .2rem; }
.guide-step { width: 1.7rem; height: 1.7rem; flex: 0 0 auto; border-radius: 50%; background: var(--pine); color: var(--paper); font-size: .95rem; display: grid; place-items: center; }
.guide-cards { list-style: none; padding: 0; margin: .7rem 0 0; display: grid; gap: .5rem; }
@media (min-width: 44rem) { .guide-cards { grid-template-columns: 1fr 1fr; } }
.guide-cards a { display: block; border: 1px solid var(--line); border-radius: var(--radius-m); padding: .8rem .9rem; text-decoration: none; color: var(--ink); height: 100%; }
.guide-cards a:hover { border-color: var(--pine); }
.guide-cards b { display: block; font-size: 1.02rem; margin-bottom: .25rem; }
.guide-cards span { display: block; font-size: .88rem; color: var(--ink-soft); line-height: 1.55; }
.guide-cta { display: flex; flex-wrap: wrap; gap: .5rem; }
.h1-sub { font-size: .6em; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
/* 조건별 바로가기 */
.cond-links { display: flex; flex-wrap: wrap; gap: .45rem; margin: .9rem 0 .2rem; }
.cond-links a { border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem; font-size: .92rem; text-decoration: none; color: var(--ink); min-height: 40px; display: inline-flex; align-items: center; gap: .3rem; }
.cond-links a:hover { border-color: var(--pine); color: var(--pine); }
.cond-links b { color: var(--pine); }
/* 홈 안내 카드 */
.home-guides { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: .5rem; }
@media (min-width: 44rem) { .home-guides { grid-template-columns: 1fr 1fr; } }
.home-guides a { display: block; height: 100%; border: 1px solid var(--line); border-radius: var(--radius-m); padding: .8rem .9rem; text-decoration: none; color: var(--ink); }
.home-guides a:hover { border-color: var(--pine); }
.hg-step { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--pine); background: var(--mist); border-radius: 999px; padding: .15rem .5rem; margin-bottom: .35rem; }
.home-guides b { display: block; font-size: 1.02rem; margin-bottom: .2rem; }
.hg-desc { display: block; font-size: .87rem; color: var(--ink-soft); line-height: 1.5; }
/* 비슷한 기관 */
.similar { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .5rem; }
@media (min-width: 44rem) { .similar { grid-template-columns: 1fr 1fr; } }
.similar a { display: flex; gap: .75rem; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-m); padding: .7rem .8rem; text-decoration: none; color: var(--ink); height: 100%; }
.similar a:hover { border-color: var(--pine); }
.sim-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.sim-body b { font-size: 1rem; word-break: keep-all; }
.sim-meta { font-size: .85rem; color: var(--ink-soft); }
.sim-why { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .15rem; }
.sim-why em { font-style: normal; font-size: .75rem; font-weight: 700; color: var(--pine); background: var(--mist); border-radius: 999px; padding: .1rem .45rem; }
.sim-more { margin-top: .8rem; }
/* 글 끝 다음 단계 */
.next-step { margin-top: 2.2rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.next-cards { list-style: none; padding: 0 !important; margin: .8rem 0 0 !important; display: grid; gap: .6rem; }
@media (min-width: 44rem) { .next-cards { grid-template-columns: 1fr 1fr; } }
.next-cards li { margin: 0 !important; }
.next-cards a { display: flex; flex-direction: column; gap: .3rem; height: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-m); padding: .95rem 1rem; text-decoration: none; color: var(--ink); }
.next-cards li:first-child a { border-color: var(--pine); background: var(--mist); }
.next-cards a:hover { border-color: var(--pine); }
.nx-kicker { font-size: .78rem; font-weight: 800; color: var(--pine); }
.next-cards b { font-size: 1.08rem; line-height: 1.4; }
.nx-desc { font-size: .88rem; color: var(--ink-soft); line-height: 1.55; }
.nx-go { margin-top: auto; padding-top: .3rem; font-size: .88rem; font-weight: 700; color: var(--pine); }
.next-more { margin: .9rem 0 0 !important; padding-left: 1.1rem !important; font-size: .95rem; }
.next-more-link { margin-top: .8rem; font-size: .95rem; }
/* 도우미 결과 공유 */
.h-share { margin-top: 1rem; border: 1px dashed var(--line); border-radius: var(--radius-m); padding: .9rem 1rem; }
.h-share-title { font-weight: 800; margin: 0 0 .6rem; }
.h-share-btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.h-share-btns .btn { min-height: 44px; }
/* 가족에게 보내기 */
.share-inline { margin-left: .5rem; border: 1px solid var(--line); background: transparent; color: var(--pine); font: inherit; font-size: .82rem; font-weight: 700; border-radius: 999px; padding: .3rem .85rem; min-height: 40px; cursor: pointer; vertical-align: middle; }
.share-inline:hover { border-color: var(--pine); }
.share-end { margin-top: 2rem; border: 1px dashed var(--line); border-radius: var(--radius-m); padding: .9rem 1rem; text-align: center; }
.share-end p { margin: 0 0 .6rem; font-size: .93rem; color: var(--ink-soft); }
.share-end .btn { min-height: 44px; }
#share-toast { position: fixed; left: 50%; bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 1rem); opacity: 0; pointer-events: none; transition: .25s; z-index: 60; background: #17231e; color: #fff; border: 1px solid rgba(255,255,255,.18); padding: .65rem 1rem; border-radius: var(--radius-m); font-size: .92rem; max-width: calc(100vw - 2rem); text-align: center; }
#share-toast.show { opacity: 1; transform: translate(-50%, 0); }
/* 내 주변 요양원 */
.near-privacy { font-size: .88rem; color: var(--ink-soft); background: var(--mist); border-radius: var(--radius-s); padding: .55rem .8rem; }
.near-controls { display: grid; gap: .6rem; }
.near-locate { min-height: 52px; font-size: 1.05rem; justify-content: center; display: flex; align-items: center; }
.near-or { text-align: center; font-size: .85rem; color: var(--ink-soft); }
.near-search { display: flex; gap: .4rem; }
.near-search input { flex: 1; min-width: 0; min-height: 44px; font: inherit; padding: 0 .8rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--paper); color: var(--ink); }
.near-search .btn { min-height: 44px; }
.near-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin: 1.1rem 0 .3rem; }
.near-tabs { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.near-tabs button { border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 700; padding: 0 1rem; min-height: 40px; cursor: pointer; }
.near-tabs button.on { background: var(--pine); color: var(--paper); }
.near-a { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; font-weight: 600; }
.near-status { font-weight: 700; margin: .6rem 0; }
.near-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.near-list a { display: flex; align-items: center; gap: .7rem; border: 1px solid var(--line); border-radius: var(--radius-m); padding: .65rem .8rem; text-decoration: none; color: var(--ink); min-height: 56px; }
.near-list a:hover { border-color: var(--pine); }
.nr-grade { flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-items: center; font-weight: 900; border: 2px solid currentColor; }
.nr-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nr-body b { word-break: keep-all; }
.nr-meta { font-size: .84rem; color: var(--ink-soft); }
.nr-dist { flex: 0 0 auto; font-weight: 800; color: var(--pine); font-variant-numeric: tabular-nums; }
.near-more-wrap { text-align: center; margin-top: .8rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nr-grade.g-a { color: var(--g-a); } .nr-grade.g-b { color: var(--g-b); } .nr-grade.g-c { color: var(--g-c); } .nr-grade.g-d { color: var(--g-d); } .nr-grade.g-e { color: var(--g-e); } .nr-grade.g-none { color: var(--g-none); }
.near-controls > * { min-width: 0; }
.near-search input { width: 100%; }
.near-search .btn { flex: 0 0 auto; }
/* 숫자 영역: 쪼개지지 않게, 모자라면 줄바꿈 */
.inst-stats { flex-wrap: wrap; row-gap: .25rem; }
.inst-stats dt, .inst-stats dd { white-space: nowrap; }
.hero-near { margin-top: 1rem; }
.hero-near .btn, .near-cta .btn { min-height: 48px; display: inline-flex; align-items: center; }
.near-cta { margin: .8rem 0 0; }
/* 상단 메뉴: 5칸 */
.site-head nav a.nav-near { color: var(--pine); font-weight: 800; }
@media (max-width: 44rem) {
  .site-head nav a { font-size: .88rem; padding: .5rem .1rem; white-space: nowrap; letter-spacing: -.02em; }
}
@media (max-width: 22.5rem) {            /* 360px 이하 아주 작은 화면 */
  .site-head nav a { font-size: .82rem; }
}
/* 비교함: 메뉴 줄 대신 로고 오른쪽 */
.head-cmp { order: 3; display: inline-flex; align-items: center; gap: .25rem; min-height: 40px; padding: 0 .75rem; 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); }
.brand { order: 1; }
.site-head nav { order: 2; }
.nav-near { color: var(--pine) !important; }
@media (max-width: 44rem) {
  .head-cmp { order: 2; margin-left: auto; }
  .site-head nav { order: 3; width: 100%; }
}
.near-radius { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; width: 100%; }
.near-radius[hidden] { display: none; }
.near-radius span { font-size: .88rem; font-weight: 700; color: var(--ink-soft); margin-right: .2rem; }
.near-radius button { border: 1.5px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 700; border-radius: 999px; padding: 0 .75rem; min-height: 40px; cursor: pointer; }
.near-radius button.on { border-color: var(--pine); background: var(--mist); color: var(--pine); }
.near-more-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.near-more-wrap .btn { min-height: 44px; }

/* 숨김 속성은 어떤 스타일보다 우선 */
[hidden] { display: none !important; }
.nr-dist small { font-size: .75rem; font-weight: 700; color: var(--ink-soft); }
/* 검색·최근 본 곳·빈자리 */
.head-search { order: 3; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); border: 1.5px solid var(--line); margin-left: auto; }
.head-search:hover { color: var(--pine); border-color: var(--pine); }
.head-cmp { margin-left: .4rem; }
@media (max-width: 44rem) {
  .head-search { order: 2; margin-left: auto; }
  .head-cmp { order: 2; margin-left: .4rem; }
}
.hero-search { margin-top: 1rem; max-width: 30rem; }
.site-search { margin-bottom: .4rem; }
.recent-box h2 { margin-bottom: .6rem; }
.recent-box .note { margin-top: .6rem; }
.link-btn { border: 0; background: none; color: var(--pine); font: inherit; text-decoration: underline; cursor: pointer; padding: .4rem .2rem; min-height: 40px; }
.tag.vac { background: var(--mist); color: var(--pine); font-weight: 800; }
/* 공통 걸러 보기 */
.flt-checks { display: flex; flex-wrap: wrap; gap: .1rem .9rem; width: 100%; }
.flt-checks label { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; font-weight: 600; white-space: nowrap; }
.flt-checks input { width: 1.1rem; height: 1.1rem; }
.sq-filters { margin: .6rem 0 .2rem; }
/* 열린관광지 목록 */
.tour-list details { border: 1px solid var(--line); border-radius: var(--radius-m); margin: .4rem 0; }
.tour-list summary { cursor: pointer; padding: .7rem .9rem; font-weight: 800; min-height: 44px; display: flex; align-items: center; justify-content: space-between; }
.tour-list summary em { font-style: normal; font-weight: 700; color: var(--pine); font-size: .9rem; }
.tour-list ul { list-style: none; padding: 0 .9rem .6rem !important; margin: 0 !important; }
.tour-list li { padding: .5rem 0; border-top: 1px dotted var(--line); margin: 0 !important; display: flex; flex-direction: column; gap: .1rem; }
.tour-list li b { font-size: .98rem; }
.tour-list li span { font-size: .84rem; color: var(--ink-soft); }
.tour-list li a { font-size: .86rem; align-self: flex-start; padding: .3rem 0; }
/* 가까운 열린관광지 */
.tour-near { margin: .6rem 0 1.2rem; display: grid; gap: .5rem; }
.tour-near .near-locate { width: 100%; }
.tour-near-list { list-style: none; padding: 0 !important; margin: 0 !important; }
.tour-near-list li { margin: 0 !important; }
.tn-item { display: flex; align-items: center; gap: .7rem; border: 1px solid var(--line); border-radius: var(--radius-m); padding: .65rem .8rem; }
.tn-tel { font-size: .86rem; padding: .3rem 0; align-self: flex-start; }
.tour-near-list a.tn-tel { display: inline-flex; align-items: center; border: 0; border-radius: 0; padding: 0; min-height: 40px; background: none; color: var(--pine); text-decoration: underline; font-size: .88rem; }
.adj-mark { color: var(--ink-soft); font-weight: 700; margin-left: .15rem; }
.adj-note { margin-top: .5rem; }
/* 상담 질문 */
.ask-box { border: 1.5px solid var(--pine); border-radius: var(--radius-m); padding: 1rem 1rem .9rem; background: var(--mist); }
.ask-box h2 { margin: 0 0 .2rem; font-size: 1.15rem; }
.ask-list { margin: .7rem 0 0 !important; padding-left: 1.3rem !important; display: grid; gap: .7rem; }
.ask-list li { margin: 0 !important; }
.ask-list b { display: block; line-height: 1.5; }
.ask-list span { display: block; font-size: .86rem; color: var(--ink-soft); margin-top: .15rem; }
.ask-call { margin: .9rem 0 0; }
.ask-call .btn { width: 100%; justify-content: center; min-height: 48px; display: flex; align-items: center; }
/* 한 달 예상 비용 */
.month-cost { list-style: none; padding: 0; margin: .7rem 0; display: grid; gap: .45rem; }
.month-cost li { border: 1px solid var(--line); border-radius: var(--radius-m); padding: .7rem .9rem; display: grid; grid-template-columns: auto 1fr; gap: .1rem .8rem; align-items: baseline; }
.month-cost b { grid-row: span 2; font-size: 1rem; }
.month-cost strong { font-size: 1.12rem; color: var(--pine); }
.month-cost span { font-size: .84rem; color: var(--ink-soft); grid-column: 2; }
/* 자료 출처·정정 */
.source-box { border-top: 1px solid var(--line); padding-top: .9rem; font-size: .9rem; color: var(--ink-soft); }
.source-box p { margin: .2rem 0; }
.source-links { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; }
.source-links a { min-height: 40px; display: inline-flex; align-items: center; }
.month-cost em.over { font-style: normal; font-size: .75rem; font-weight: 700; color: var(--g-d); margin-left: .3rem; }
.fact-sub { display: block; font-size: .78rem; color: var(--ink-soft); margin-top: .1rem; }
.mc-line { display: block; white-space: nowrap; line-height: 1.6; }
.mc-basis { display: block; color: var(--ink-soft); margin-top: .2rem; }
.cmp-table tbody th[scope="row"] { min-width: 5.6rem; word-break: keep-all; }
.mc-line { white-space: normal; }
.mc-line b, .mc-line { word-break: keep-all; }
.mc-line { white-space: nowrap; }
/* 글자 크게 보기 */
html.fs-lg { font-size: 118%; }
.fs-bar { display: flex; justify-content: center; padding: 1.2rem 0 .4rem; }
.fs-toggle { display: inline-flex; align-items: baseline; gap: .15rem; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-weight: 700; border-radius: 999px; padding: .45rem 1.1rem; min-height: 44px; cursor: pointer; }
.fs-toggle > span:first-child { font-size: .85em; }
.fs-toggle > b { font-size: 1.25em; }
.fs-toggle .fs-label { margin-left: .4rem; font-size: .92rem; }
.fs-toggle[aria-pressed="true"] { border-color: var(--pine); color: var(--pine); background: var(--mist); }
/* 데이터 리포트 */
.eyebrow { font-size: .85rem; font-weight: 800; color: var(--pine); margin: 0 0 .3rem; }
.rep-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
@media (min-width: 44rem) { .rep-cards { grid-template-columns: repeat(4, 1fr); } }
.rep-cards li { border: 1px solid var(--line); border-radius: var(--radius-m); padding: .8rem .9rem; display: flex; flex-direction: column; gap: .2rem; }
.rep-cards b { font-size: 1.55rem; font-weight: 900; color: var(--pine); line-height: 1.15; word-break: keep-all; }
.rep-cards b small { font-size: .55em; margin-left: .1rem; }
.rep-cards span { font-size: .86rem; color: var(--ink-soft); }
.rep-bars { list-style: none; padding: 0 !important; margin: .8rem 0 !important; display: grid; gap: .35rem; }
.rep-bars li { display: grid; grid-template-columns: 2.6rem 1fr auto; align-items: center; gap: .5rem; margin: 0 !important; font-size: .9rem; }
.rb-t { height: .7rem; background: var(--mist); border-radius: 999px; overflow: hidden; }
.rb-t i { display: block; height: 100%; background: var(--pine); border-radius: 999px; }
.grade-bars .rb-t i.g-a { background: var(--g-a); } .grade-bars .rb-t i.g-b { background: var(--g-b); }
.grade-bars .rb-t i.g-c { background: var(--g-c); } .grade-bars .rb-t i.g-d { background: var(--g-d); } .grade-bars .rb-t i.g-e { background: var(--g-e); }
.rb-v { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.cite-box { border: 1.5px solid var(--pine); border-radius: var(--radius-m); padding: 1rem; background: var(--mist); }
.cite-box h2 { margin: 0 0 .4rem; font-size: 1.1rem; }
.rep-cards b { font-size: 1.35rem; white-space: nowrap; }
.home-report { display: block; margin-top: 1rem; border: 1.5px solid var(--pine); border-radius: var(--radius-m); padding: .9rem 1rem; background: var(--mist); text-decoration: none; color: var(--ink); }
.home-report b { display: block; font-size: 1.05rem; margin: .1rem 0 .2rem; line-height: 1.45; }
.home-report .hg-desc { display: block; font-size: .87rem; color: var(--ink-soft); }
/* 돈 챙기기 카드 (sikiyo.com 연결) */
.money-cards { display: grid; gap: .55rem; margin: 1.1rem 0 1.4rem; }
@media (min-width: 44rem) { .money-cards { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); } }
.money-card { display: flex; gap: .75rem; align-items: flex-start; border: 1.5px solid var(--g-c); border-radius: var(--radius-m); padding: .85rem .95rem; text-decoration: none !important; color: var(--ink) !important; background: color-mix(in srgb, var(--g-c) 7%, transparent); }
.money-card:hover { border-color: var(--pine); }
.mc-icon { font-size: 1.5rem; line-height: 1; flex: 0 0 auto; margin-top: .1rem; }
.mc-text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.mc-text b { font-size: 1rem; line-height: 1.45; word-break: keep-all; }
.mc-text span { font-size: .86rem; color: var(--ink-soft); line-height: 1.5; }
.mc-text em { font-style: normal; font-weight: 800; color: var(--pine); font-size: .88rem; margin-top: .15rem; }
