/* All Map Tools
   글자 크기는 13, 15, 18, 32 네 가지만 쓰고 굵기는 400, 700 두 가지만 씀
   테두리 선 없음, 경계는 배경 면으로 구분, 모서리는 2px */

@font-face { font-family: "Pretendard"; font-weight: 400; font-style: normal; font-display: swap; src: local("Pretendard Regular"), local("Pretendard-Regular"), url("https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Regular.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-style: normal; font-display: swap; src: local("Pretendard Bold"), local("Pretendard-Bold"), url("https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Bold.woff2") format("woff2"); }

:root {
  --fs-s: 13px;
  --fs-m: 15px;
  --fs-l: 18px;
  --fs-xl: 32px;
  --ink: #243245;
  --ink2: #435166;
  --ink3: #66727f;
  --head: #13283f;
  --acc: #1c58c0;
  --acc2: #144596;
  --ice: #e0f2fe;
  --ice2: #cde8fc;
  --p1: #f3f6f9;
  --p2: #e8edf3;
  --p3: #dce3eb;
  --foot: #f3f5f7;
  --r: 2px;
  --sans: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --logo: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-size: var(--fs-m); font-weight: 400; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word;  }
img { display: block; max-width: 100%; }
a { color: var(--acc); text-decoration: none; }
a:hover { color: var(--acc2); }
:focus { outline: none; }
h1, h2, h3 { margin: 0; color: var(--head); font-weight: 700; letter-spacing: -0.02em; }
h1, h2 { font-size: var(--fs-xl); line-height: 1.3; letter-spacing: -0.03em; }
h3 { font-size: var(--fs-l); line-height: 1.45; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong, th { font-weight: 700; }
.w { width: min(1440px, 92%); margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 50; padding: 8px 14px; background: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 상단 */
.hd { position: relative; z-index: 30; background: #fff; }
.hd .w { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--head); white-space: nowrap; font-family: var(--logo); font-size: var(--fs-l); font-weight: 700; letter-spacing: -0.01em; }
.logo:hover { color: var(--head); }
.logo img { width: 26px; height: 26px; }
.gnb { display: flex; align-items: stretch; gap: 4px; }
.gnb a { position: relative; display: flex; align-items: center; height: 76px; padding: 0 14px; color: var(--head); white-space: nowrap; }
.gnb a:hover, .gnb a:focus-visible { color: var(--acc); }
.gnb a[aria-current] { color: var(--acc); }
.gnb a[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--acc); }
.gnb a:last-child { margin-left: 24px; }
.nav-t { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-b, .nav-bg { display: none; }

/* 히어로 */
.hero { position: relative; overflow: hidden; background: #34505f; color: #fff; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.hero .w { position: relative; }
.hero h1 { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.hero .lead { margin-top: 18px; max-width: 760px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); }
.hero-big .w { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 72px; align-items: center; min-height: 620px; padding: 72px 0; }
.hero-sub .w { padding: 72px 0 80px; }
.bcw { padding-top: 18px; }
.bcw .w { display: flex; justify-content: flex-end; }
.crumb { display: flex; align-items: center; gap: 8px; color: var(--ink3); font-size: var(--fs-s); }
.crumb a { color: var(--ink2); }
.crumb a:hover { color: var(--acc); }

/* 히어로 검색 카드 */
.card { padding: 36px; border-radius: var(--r); background: #fff; color: var(--ink); }
.card h2 { font-size: var(--fs-l); line-height: 1.45; letter-spacing: -0.02em; }
.card .card-d { margin: 6px 0 20px; color: var(--ink2); font-size: var(--fs-s); }

/* 입력과 버튼 */
label, .lbl { display: block; margin-bottom: 8px; color: var(--ink2); font-size: var(--fs-s); font-weight: 700; }
input, select, button { font: inherit; color: inherit; }
.in { width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: var(--r); background-color: var(--p2); color: var(--head); font-size: var(--fs-m); -webkit-appearance: none; appearance: none; }
.in::placeholder { color: var(--ink3); }
.in:focus { background-color: var(--p3); }
select.in { padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink2) 50%), linear-gradient(135deg, var(--ink2) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border: 0; border-radius: var(--r); background: var(--acc); color: #fff; font-size: var(--fs-m); font-weight: 700; white-space: nowrap; cursor: pointer; }
.btn:hover, .btn:focus-visible { background: var(--acc2); color: #fff; }
.btn.sub { background: var(--p3); color: var(--head); }
.btn.sub:hover, .btn.sub:focus-visible { background: var(--ice2); color: var(--head); }
.btn.sm { height: 40px; padding: 0 16px; font-size: var(--fs-s); }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn.full { width: 100%; }
.row { display: flex; gap: 8px; }
.row > .in { flex: 1; min-width: 0; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.field + .field, .field + .grid2, .grid2 + .field, .grid2 + .grid2 { margin-top: 16px; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* 결과 값 */
.vals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.val { min-width: 0; padding: 12px 16px; border-radius: var(--r); background: var(--p1); }
.val small { display: block; color: var(--ink3); font-size: var(--fs-s); }
.val b { position: relative; display: block; color: var(--head); font-size: var(--fs-m); line-height: 1.5; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.val.wide { grid-column: 1 / -1; }
#toast { position: fixed; left: 50%; bottom: 32px; z-index: 50; padding: 8px 18px; border-radius: var(--r); background: rgba(60, 66, 74, 0.72); color: #fff; font-size: var(--fs-s); font-weight: 400; line-height: 1.5; white-space: nowrap; opacity: 0; transform: translateX(-50%); transition: opacity 0.2s; pointer-events: none; }
#toast.on { opacity: 1; }
.msg { margin-top: 12px; color: var(--ink2); font-size: var(--fs-s); }
.msg:empty { display: none; }
.msg.err { color: #b42318; }
.note { color: var(--ink3); font-size: var(--fs-s); }
.results { margin-top: 12px; }
.results li + li { margin-top: 4px; }
.results button { display: block; width: 100%; padding: 10px 16px; border: 0; border-radius: var(--r); background: var(--p1); text-align: left; cursor: pointer; }
.results button:hover, .results button:focus-visible, .results button[aria-pressed="true"] { background: var(--ice); }
.results b { display: block; color: var(--head); font-size: var(--fs-m); }
.results span { display: block; color: var(--ink3); font-size: var(--fs-s); }
.mt { margin-top: 16px; }

/* 구간 */
.sec { padding: 100px 0 0; }
.sec-head { display: grid; grid-template-columns: fit-content(520px) minmax(0, 1fr); gap: 16px 40px; align-items: start; margin-bottom: 44px; }
.sec-head p { padding-top: 8px; color: var(--ink2); }
.band { position: relative; isolation: isolate; margin-top: 100px; padding: 150px 0 140px; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #d3eafb 0%, #e6f4fe 50%, #f2f9ff 100%); clip-path: polygon(0 64px, 100% 0, 100% calc(100% - 64px), 0 100%); }
main > .band:last-child { padding-bottom: 100px; }
main > .band:last-child::before { clip-path: polygon(0 64px, 100% 0, 100% 100%, 0 100%); }
.band.dark::before { background: #13283f; }
.band.dark .sec-head h2 { color: #fff; }
.band.dark .sec-head p { color: #b9c8da; }
.band + .sec { padding-top: 120px; }
.bcw + .sec { padding-top: 56px; }
.bcw + .band { margin-top: 56px; }
main > :last-child.sec { padding-bottom: 120px; }

/* 도구 영역 */
.tool { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.tool.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.map { position: relative; height: 560px; overflow: hidden; border-radius: var(--r); background: var(--p2); }
.map-fail { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--ink2); font-size: var(--fs-s); text-align: center; }
.panel { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 24px 20px; border-radius: var(--r); background: var(--p1); }
.panel .val { background: #fff; }
.panel .msg { margin-top: 0; }

/* 사용 방법 */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.steps li { padding: 40px 36px; border-radius: var(--r); background: var(--p1); }
.steps .no { display: block; margin-bottom: 20px; color: var(--acc); font-size: var(--fs-xl); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink2); }

/* 설명 단 */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cols > div { padding: 40px 36px; border-radius: var(--r); background: var(--p1); }
.cols h3 { margin-bottom: 12px; }
.cols p + p { margin-top: 12px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 64px; align-items: start; }
.split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.prose h3 + p { margin-top: 10px; }
.prose p + h3, .prose .formula + h3 { margin-top: 36px; }
.prose p + p, .prose p + .formula, .prose .formula + p { margin-top: 14px; }
.formula { padding: 18px 22px; border-radius: var(--r); background: var(--p1); color: var(--head); font-variant-numeric: tabular-nums; }
.dots li { position: relative; padding-left: 18px; }
.dots li + li { margin-top: 8px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; background: var(--acc); }

/* 표 */
.tblw { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 14px 20px; text-align: left; vertical-align: top; }
.tbl thead th { background: var(--p2); color: var(--head); white-space: nowrap; }
.tbl tbody th { color: var(--head); white-space: nowrap; }
.tbl tbody tr:nth-child(even) > * { background: var(--p1); }
.tbl tbody tr.on > * { background: var(--ice); }
.tbl .r { text-align: right; }
.tbl caption { caption-side: bottom; padding-top: 12px; text-align: left; color: var(--ink3); font-size: var(--fs-s); }
.panel .tbl th, .panel .tbl td { padding: 10px 14px; vertical-align: middle; }
.panel .tbl thead th { background: var(--p3); }
.panel .tbl tbody tr > * { background: #fff; }
.panel .tbl tbody tr:nth-child(even) > * { background: var(--p1); }
.tt { margin: 56px 0 20px; }

/* 도구 카드 */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cards a { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; padding: 32px 32px 32px 36px; border-radius: var(--r); background: #fff; color: var(--ink); }
.cards .tx { min-width: 0; }
.cards h3 { margin-bottom: 6px; }
.cards p { color: var(--ink2); }
.cards .go { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: var(--r); background: var(--p3); color: var(--head); font-size: var(--fs-s); font-weight: 700; white-space: nowrap; }
.cards a:hover, .cards a:focus-visible { background: var(--ice2); color: var(--ink); }
.cards a:hover .go, .cards a:focus-visible .go { background: var(--acc); color: #fff; }

/* 줄 목록: 자주 묻는 질문, 문서 */
.rows > div { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 16px 32px; padding: 36px 40px; border-radius: var(--r); background: #fff; }
.rows > div + div { margin-top: 8px; }
.rows p + p, .rows p + .tblw, .rows .tblw + p { margin-top: 14px; }
.rows .body { color: var(--ink); }
.sec .rows > div { background: var(--p1); }
.doc .rows h2 { font-size: var(--fs-l); line-height: 1.45; letter-spacing: -0.02em; }

/* 자주 묻는 질문: 눌러서 펼침 (스크립트 없음) */
.faq details { border-radius: var(--r); background: #fff; }
.faq details + details { margin-top: 12px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 32px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: var(--fs-l); line-height: 1.5; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 14px; height: 14px; background: linear-gradient(var(--ink2), var(--ink2)) center / 14px 2px no-repeat, linear-gradient(var(--ink2), var(--ink2)) center / 2px 14px no-repeat; }
.faq details[open] summary { padding-bottom: 16px; }
.faq details[open] summary::after { background: linear-gradient(var(--acc), var(--acc)) center / 14px 2px no-repeat; }
.faq summary:hover h3, .faq summary:focus-visible h3 { color: var(--acc); }
.faq .body { max-width: 1000px; padding: 0 32px 30px; color: var(--ink); }

/* 지도 위 꼭짓점 */
.vx { display: block; width: 10px; height: 10px; background: #1c58c0; box-shadow: 0 0 0 2px #fff; }

/* 하단 */
.upd { padding: 20px 0 24px; text-align: right; color: var(--ink3); font-size: var(--fs-s); }
.ft { margin-top: 0; padding: 64px 0 56px; background: var(--foot); color: var(--ink2); font-size: var(--fs-s); }
.ft .w { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 40px 64px; }
.fl p { margin-top: 14px; max-width: 460px; }
.fl .pv { display: flex; gap: 20px; margin-top: 20px; }
.fl .pv a, .fm a { color: var(--ink2); }
.fl .pv a:hover, .fm a:hover { color: var(--acc); }
.fl .cp { margin-top: 6px; color: var(--ink3); }
.fm { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 4px; }
.fm a[aria-current] { color: var(--acc); }

/* 화면 폭 대응 */
@media (max-width: 1160px) {
  .hd .w { height: 64px; }
  .nav-b { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; cursor: pointer; }
  .nav-b i { position: relative; display: block; width: 20px; height: 2px; background: var(--head); }
  .nav-b i::before, .nav-b i::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--head); }
  .nav-b i::before { top: -6px; }
  .nav-b i::after { top: 6px; }
  .nav-t:checked ~ .w .nav-b i { background: transparent; }
  .nav-t:checked ~ .w .nav-b i::before { top: 0; transform: rotate(45deg); }
  .nav-t:checked ~ .w .nav-b i::after { top: 0; transform: rotate(-45deg); }
  .gnb { display: none; position: absolute; z-index: 2; top: 100%; left: 0; right: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 16px 4% 24px; background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .nav-t:checked ~ .w .gnb { display: grid; }
  .gnb a { display: block; height: auto; padding: 15px 18px; border-radius: var(--r); background: rgba(232, 237, 243, 0.8); color: var(--head); }
  .gnb a:last-child { margin-left: 0; }
  .gnb a:hover, .gnb a:focus-visible { background: var(--ice); color: var(--head); }
  .gnb a[aria-current] { background: var(--ice); color: var(--acc); }
  .gnb a[aria-current]::after { display: none; }
  .nav-t:checked ~ .nav-bg { display: block; position: fixed; top: 64px; right: 0; bottom: 0; left: 0; z-index: 1; background: rgba(31, 36, 44, 0.32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: default; }
}
@media (max-width: 1080px) {
  .hero-big .w { grid-template-columns: minmax(0, 1fr); gap: 36px; min-height: 0; padding: 56px 0; }
  .tool, .tool.even, .split, .split.even, .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-head { gap: 14px; }
  .steps, .cols, .cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rows > div { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ft .w { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fl { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --fs-xl: 26px; }
  .hero-sub .w { padding: 48px 0 52px; }
  .card { padding: 24px 20px; }
  .sec { padding-top: 72px; }
  .sec-head { margin-bottom: 32px; }
  .band { margin-top: 72px; padding: 96px 0 88px; }
  .band::before { clip-path: polygon(0 32px, 100% 0, 100% calc(100% - 32px), 0 100%); }
  main > .band:last-child::before { clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%); }
  .band + .sec { padding-top: 88px; }
  main > :last-child.sec { padding-bottom: 88px; }
  .steps, .cols, .cards { grid-template-columns: minmax(0, 1fr); }
  .steps li, .cols > div { padding: 28px 24px; }
  .cards a { padding: 24px 22px 24px 24px; }
  .faq summary { padding: 22px; }
  .faq details[open] summary { padding-bottom: 12px; }
  .faq .body { padding: 0 22px 24px; }
  .rows > div { padding: 28px 24px; }
  .map { height: 400px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .tbl th, .tbl td { padding: 12px 14px; }
}
.band .cols > div, .band .steps li { background: #fff; }
.sec .rows .tbl thead th { background: var(--p3); }
.sec .rows .tbl tbody tr > * { background: #fff; }
.sec .rows .tbl tbody tr:nth-child(even) > * { background: var(--p2); }

/* 위도경도 찾기: 히어로 검색창 */
.hero-find .w { padding: 64px 0 60px; }
.hero-find .hq { display: flex; gap: 8px; max-width: 760px; margin-top: 28px; }
.hero-find .hq .in { flex: 1; min-width: 0; background-color: #fff; }
.hero-find .hq .in:focus { background-color: #fff; }

/* 위도경도 찾기: 검색, 지도, 좌표, 결과 */
.finder { display: grid; grid-template-columns: 380px minmax(0, 1fr); grid-template-areas: "side map"; gap: 20px; scroll-margin-top: 16px; }
.finder .map { grid-area: map; height: clamp(480px, calc(100vh - 200px), 720px); }
.f-side { grid-area: side; display: flex; flex-direction: column; min-width: 0; padding: 20px; border-radius: var(--r); background: var(--p1); }
.f-srch { display: flex; gap: 8px; }
.f-srch .in { flex: 1; min-width: 0; background-color: #fff; }
.f-srch .in:focus { background-color: #fff; }
.f-srch .in::-webkit-search-cancel-button { display: none; }
.f-vals { margin-top: 12px; }
.f-hint { padding: 4px 16px 0; color: var(--ink2); font-size: var(--fs-s); line-height: 1.7; }
.f-hint b { font-weight: 400; }
.f-hint p:first-child { margin-bottom: 6px; color: var(--head); font-size: var(--fs-m); }
.f-vals:not([data-empty]) .f-hint { display: none; }
.f-vals[data-empty] .f-row { display: none; }
.f-vals:not([data-empty]) { padding: 4px 16px; border-radius: var(--r); background: var(--ice); box-shadow: inset 3px 0 0 var(--acc); }
.f-row { display: flex; align-items: baseline; gap: 12px; min-width: 0; padding: 8px 0; }
.f-k { flex: none; width: 40px; color: var(--ink2); font-size: var(--fs-s); }
.cv { position: relative; display: block; min-width: 0; padding: 0; border: 0; background: none; color: var(--head); font: inherit; font-size: var(--fs-m); font-weight: 700; line-height: 1.5; text-align: left; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.f-link { padding: 0; border: 0; background: none; color: var(--acc); font: inherit; font-size: var(--fs-m); line-height: 1.5; }
.f-link:disabled { color: var(--ink3); }
.f-link[hidden], .cv[hidden], .val b[hidden], .val .btn[hidden] { display: none; }
.f-list { position: relative; flex: 1; min-height: 0; margin-top: 12px; }
.f-in { position: absolute; inset: 0; display: flex; flex-direction: column; }
.f-cnt { padding: 0 16px 8px; color: var(--ink2); font-size: var(--fs-s); }
.f-cnt:empty { display: none; }
.f-cnt b { margin-right: 6px; color: var(--head); font-size: var(--fs-m); font-weight: 400; }
.f-cnt.err { color: #b42318; }
.f-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--p3) transparent; }
.f-it { display: block; width: 100%; padding: 10px 16px; border: 0; border-radius: var(--r); background: #fff; text-align: left; }
.f-it + .f-it { margin-top: 8px; }
.f-it[aria-pressed="true"] { background: var(--ice2); }
.f-it b { display: block; color: var(--head); font-size: var(--fs-m); font-weight: 400; }
.f-it span { display: block; color: var(--ink3); font-size: var(--fs-s); }
.f-pg { display: flex; justify-content: center; gap: 4px; padding-top: 12px; }
.f-pg:empty { display: none; }
.f-pg button { min-width: 34px; height: 34px; padding: 0 8px; border: 0; border-radius: var(--r); background: #fff; color: var(--ink2); font-size: var(--fs-s); }
.f-pg button[aria-current] { background: var(--acc); color: #fff; }
.f-pg button:disabled { opacity: 0.4; }

@media (max-width: 900px) {
  .hero-find .w { padding: 40px 0 36px; }
  .hero-find .hq { margin-top: 20px; }
  .hero-find .hq .btn { padding: 0 18px; }
  .finder { grid-template-columns: minmax(0, 1fr); grid-template-areas: "map" "side"; gap: 12px; }
  .finder .map { height: clamp(320px, 56vh, 480px); }
  .f-side { padding: 16px; }
  .f-in { position: static; }
  .f-scroll { overflow: visible; }
}
/* 지도 면적 계산, 지도 거리 계산: 위도경도 찾기와 같은 지도 옆 검색 배치 */
.finder.calc .map { height: auto; min-height: clamp(480px, calc(100vh - 200px), 720px); }
.f-body { display: flex; flex: 1; flex-direction: column; min-height: 0; margin-top: 12px; }
.f-calc { padding: 4px 16px; border-radius: var(--r); background: var(--ice); box-shadow: inset 3px 0 0 var(--acc); }
.f-calc .f-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.f-calc .f-k { width: auto; white-space: nowrap; }
.f-n { display: block; min-width: 0; color: var(--head); font-size: var(--fs-m); line-height: 1.5; font-variant-numeric: tabular-nums; }
.f-body > .msg { margin-top: 10px; padding: 0 4px; }
.f-act { display: flex; gap: 8px; margin-top: 10px; }
.f-act .btn { flex: 1; min-width: 0; }
.finder.calc .f-list { min-height: 220px; }
.f-list .f-hint { padding: 0 4px; }
.f-list[data-has] .f-hint { display: none; }
@media (max-width: 900px) {
  .finder.calc { grid-template-areas: "srch" "map" "body"; }
  .finder.calc .f-side { display: contents; }
  .finder.calc .f-srch { grid-area: srch; padding: 12px; border-radius: var(--r); background: var(--p1); }
  .finder.calc .map { grid-area: map; height: clamp(320px, 56vh, 480px); min-height: 0; }
  .finder.calc .f-body { grid-area: body; margin-top: 0; padding: 16px; border-radius: var(--r); background: var(--p1); }
  .finder.calc .f-list { min-height: 0; }
}
