/* 인포모아 — design tokens (핏모아 기반, 파란 강조색) */
:root {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --sunken: #efefea;
  --ink: #14161a;
  --ink-2: #3d424b;
  --muted: #7b808a;
  --line: #e4e4de;
  --line-2: #d6d6cf;
  --accent: #2f5bff;
  --accent-ink: #1f44d1;
  --accent-soft: #eef2ff;
  --ok: #138a52;
  --ok-soft: #e6f5ec;
  --hero: #14161a;
  --hero-ink: #f4f3ef;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 22, 26, .04), 0 2px 8px rgba(20, 22, 26, .04);
  --shadow-lg: 0 2px 4px rgba(20, 22, 26, .05), 0 12px 32px rgba(20, 22, 26, .08);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 16px; line-height: 1.6; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ic { width: 18px; height: 18px; flex: none; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sample { background: #fff4c2; color: #6b5200; text-align: center; padding: 8px 16px; font-size: 13px; font-weight: 600; }

/* header */
.top { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.bar { display: flex; align-items: center; gap: 24px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -0.03em; white-space: nowrap; }
.mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 900; letter-spacing: 0; transform: rotate(-6deg); }
.links { display: flex; gap: 20px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.links a:hover { color: var(--ink); }
.hsearch { margin-left: auto; position: relative; display: flex; align-items: center; }
.hsearch .ic { position: absolute; left: 12px; color: var(--muted); width: 16px; height: 16px; }
.hsearch input { width: 260px; height: 38px; padding: 0 14px 0 36px; border: 1px solid var(--line); border-radius: 999px; background: var(--sunken);
  font: inherit; font-size: 14px; color: var(--ink); transition: background .15s, border-color .15s; }
.hsearch input:focus { outline: none; background: #fff; border-color: var(--ink); }
.catnav { border-top: 1px solid var(--line); }
.catnav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; height: 46px; align-items: center; }
.catnav .wrap::-webkit-scrollbar { display: none; }
.catnav a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--ink-2); white-space: nowrap; transition: background .15s, color .15s; }
.catnav a .ic { width: 16px; height: 16px; }
.catnav a:hover { background: var(--sunken); color: var(--ink); }
.catnav a.on { background: var(--ink); color: #fff; }

/* type */
h1 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.25; letter-spacing: -0.035em; margin: 0 0 10px; font-weight: 800; }
h2 { font-size: 20px; letter-spacing: -0.03em; margin: 0; font-weight: 750; }
h2 small, h3 small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 6px; }
h3 { font-size: 18px; letter-spacing: -0.025em; margin: 32px 0 10px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--accent-ink); letter-spacing: 0; }
.eyebrow .ic { width: 15px; height: 15px; }
.lead { color: var(--ink-2); font-size: 17px; margin: 0; max-width: 760px; }
.muted { color: var(--muted); font-size: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: var(--muted); margin: 20px 0 8px; }
.crumbs > * + *::before { content: "/"; margin: 0 8px; color: var(--line-2); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--ink-2); }

/* hero */
.home main { padding-top: 0; }
.hero { position: relative; margin: 24px 0 0; padding: 56px 48px 40px; border-radius: 24px; background: var(--hero); color: var(--hero-ink); overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 91, 255, .55), rgba(47, 91, 255, 0)); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero .eyebrow { color: #9db2ff; }
.hero h1 { font-size: clamp(32px, 5.2vw, 56px); line-height: 1.12; letter-spacing: -0.045em; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hlead { font-size: 17px; color: #c9c8c2; max-width: 560px; margin: 0 0 28px; }
.bigsearch { position: relative; display: flex; align-items: center; gap: 8px; max-width: 620px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); }
.bigsearch .ic { position: absolute; left: 20px; color: var(--muted); }
.bigsearch input { flex: 1; min-width: 0; height: 48px; padding: 0 12px 0 44px; border: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); }
.bigsearch input:focus { outline: none; }
.bigsearch button { height: 48px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; transition: background .15s; }
.bigsearch button:hover { background: var(--accent-ink); }
.hero .stats { margin-top: 36px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; background: none; border-radius: 0; box-shadow: none; }
.hero .stat b { color: #fff; }
.hero .stat span { color: #9d9c96; }
.lede { font-size: 17px; color: var(--ink-2); max-width: 820px; margin: 28px 0 8px; line-height: 1.75; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 20px 0 0; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }
.phead + .stats { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); }

/* page head */
.phead { display: flex; gap: 20px; align-items: flex-start; margin: 8px 0 8px; padding: 16px 0 8px; }
.pic { width: 52px; height: 52px; flex: none; padding: 12px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); stroke-width: 1.7; }

/* sections */
.sec { margin: 40px 0 0; }
.shead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ssub { color: var(--muted); font-size: 15px; margin: -6px 0 14px; }
.more { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.more .ic { width: 16px; height: 16px; }
.more:hover { color: var(--accent-ink); }
.empty { color: var(--muted); }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tile { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.tic { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--sunken); color: var(--ink); }
.tile:hover .tic { background: var(--accent); color: #fff; }
.tile b { font-size: 17px; letter-spacing: -0.02em; }
.tile span { font-size: 14px; font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.tile em { grid-column: 1 / -1; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--muted); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: border-color .15s, color .15s; }
.chips span { background: transparent; }
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.chips b { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s, transform .15s; min-width: 0; }
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.chead { display: flex; align-items: center; gap: 8px; min-height: 22px; }
.cmeta { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.pill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--sunken); color: var(--ink-2);
  font-size: 11.5px; font-weight: 750; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.pill.new { background: var(--accent); color: #fff; }
.cdist { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.cname { font-size: 16.5px; font-weight: 750; letter-spacing: -0.025em; line-height: 1.4; margin-top: 4px; }
.cwhere { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.caddr { font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctel { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; color: var(--ink-2); margin-top: 4px; font-variant-numeric: tabular-nums; }
.ctel .ic { width: 14px; height: 14px; color: var(--muted); }
.count { color: var(--muted); font-weight: 600; margin: 20px 0 12px; }

/* guides */
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.guide { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: box-shadow .15s, border-color .15s; }
.guide:hover { box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.guide .ic { color: var(--accent); width: 22px; height: 22px; margin-bottom: 6px; }
.guide b { font-size: 16.5px; letter-spacing: -0.02em; }
.guide span { font-size: 14px; color: var(--muted); }

/* place */
.pl-head { padding: 12px 0 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: var(--ink-2); }
.tag .ic { width: 15px; height: 15px; }
.tag.ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.tag.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.pl-addr { display: flex; gap: 6px; align-items: flex-start; color: var(--ink-2); margin: 0 0 16px; }
.pl-addr .ic { margin-top: 3px; color: var(--muted); }
.pl-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 700; font-size: 15px;
  background: var(--surface); border: 1px solid var(--line); transition: background .15s; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #2a2d33; }
.facts { display: flex; flex-wrap: wrap; gap: 1px; margin: 24px 0 0; border-radius: var(--radius); overflow: hidden;
  background: var(--line); border: 1px solid var(--line); }
.fact { flex: 1 1 140px; background: var(--surface); padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.fact b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fact span { font-size: 13px; color: var(--muted); font-weight: 600; }
.pl-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.pl-side { position: sticky; top: 124px; margin-top: 40px; }
.pl-main .sec > h2 { margin-bottom: 14px; }
.info { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.info div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 13px 20px; border-top: 1px solid var(--line); }
.info div:first-child { border-top: 0; }
.info dt { color: var(--muted); font-size: 14px; font-weight: 600; }
.info dd { margin: 0; font-size: 15px; }
.note { font-size: 13px; color: var(--muted); margin: 10px 2px 0; }
.map { height: 320px; border-radius: var(--radius); overflow: hidden; background: var(--sunken); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: 14px; }
.maplinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.maplinks a { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line);
  font-size: 14px; font-weight: 650; color: var(--ink-2); transition: border-color .15s; }
.maplinks a:hover { border-color: var(--ink); color: var(--ink); }
.maplinks .ic { width: 16px; height: 16px; }
.prose { font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.prose ul { padding-left: 20px; margin: 8px 0; }
.prose li { margin-bottom: 8px; }
.prose li ul { margin-top: 6px; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose b { color: var(--ink); }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 650; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); }
.ad { display: block; }
.ad a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ad img { display: block; width: 100%; height: auto; }
.ad p { font-size: 12px; color: var(--muted); margin: 8px 2px 0; line-height: 1.5; }

/* article / data */
.art { max-width: 820px; padding-top: 16px; }
.art .lead { margin-bottom: 24px; }
.src { font-size: 13px; color: var(--muted); margin-top: 24px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); margin: 20px 0; }
.dt { width: 100%; border-collapse: collapse; font-size: 14px; white-space: nowrap; }
.dt th, .dt td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.dt th { font-size: 12.5px; color: var(--muted); font-weight: 700; background: var(--sunken); }
.dt tr:last-child td { border-bottom: 0; }
.dt .num { text-align: right; font-variant-numeric: tabular-nums; }
.dt a { font-weight: 650; }
.bars { display: grid; gap: 10px; margin: 20px 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.barrow { display: grid; grid-template-columns: 96px 1fr 64px; gap: 12px; align-items: center; font-size: 14px; }
.barrow span { font-weight: 650; color: var(--ink-2); }
.barrow div { height: 10px; border-radius: 999px; background: var(--sunken); overflow: hidden; }
.barrow i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.barrow b { text-align: right; font-variant-numeric: tabular-nums; }

/* footer */
.foot { margin-top: 80px; padding: 48px 0 40px; background: var(--surface); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot .wrap { display: grid; grid-template-columns: 1.2fr 2fr; gap: 32px; }
.fbrand p { margin: 10px 0 0; }
.fcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fcols div { display: flex; flex-direction: column; gap: 8px; }
.fcols b { color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.fcols a:hover { color: var(--ink); }
.fine { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.7; border-top: 1px solid var(--line); padding-top: 20px; margin: 0; }

/* responsive */
@media (max-width: 960px) {
  .pl-cols { grid-template-columns: 1fr; gap: 0; }
  .pl-side { position: static; max-width: 420px; }
  .links { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .bar { gap: 12px; height: 56px; }
  .hsearch input { width: 44vw; }
  .hero { margin: 16px -4px 0; padding: 36px 22px 28px; border-radius: 20px; }
  .hlead { font-size: 15.5px; }
  .bigsearch button { padding: 0 16px; }
  .bigsearch input { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .phead { gap: 14px; }
  .pic { width: 44px; height: 44px; padding: 10px; }
  .lead { font-size: 15.5px; }
  .grid { grid-template-columns: 1fr; }
  .info div { grid-template-columns: 92px 1fr; padding: 12px 16px; }
  .fact b { font-size: 22px; }
  .foot .wrap { grid-template-columns: 1fr; }
  .fcols { grid-template-columns: repeat(2, 1fr); }
  .barrow { grid-template-columns: 72px 1fr 52px; }
}
.msearch { display: none; }
@media (max-width: 420px) {
  .hsearch { display: none; }
  .msearch { display: grid; place-items: center; margin-left: auto; width: 40px; height: 40px; border-radius: 999px; background: var(--sunken); }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile { grid-template-columns: 1fr; padding: 14px; }
  .tic { grid-row: auto; margin-bottom: 8px; }
  .tile em { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* 네이버 블로그 후기 */
.blogs { display: grid; gap: 10px; }
.blogitem { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 14px 18px; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.blogitem:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.blogitem .bt { display: block; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.blogitem .bt::before { content: "N"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px; border-radius: 4px;
  background: #03c75a; color: #fff; font-size: 11px; font-weight: 800; vertical-align: 2px; }
.blogitem .bd { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; color: var(--ink-2); }
.blogitem .bm { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.note a { color: var(--accent-ink); }

/* 문의하기 · 정보 수정 요청 */
.form { display: grid; gap: 14px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.form label small { font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 11px 13px; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; cursor: pointer; }
.form .btn:disabled { opacity: .5; cursor: default; }
.fmsg { font-size: 14px; min-height: 1.4em; margin: 0; }
.fmsg.ok { color: var(--ok); font-weight: 700; }
.fmsg.err { color: var(--accent-ink); font-weight: 700; }
.crbtn { position: fixed; right: 16px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60; height: 40px; padding: 0 16px;
  border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-lg); opacity: .88; cursor: pointer; transition: opacity .15s; }
.crbtn:hover { opacity: 1; }
.crwrap { position: fixed; inset: 0; z-index: 70; background: rgba(20, 22, 26, .5); display: grid; place-items: center; padding: 16px; }
.crwrap[hidden] { display: none; }
.crbox { position: relative; width: min(460px, 100%); max-height: 90vh; overflow-y: auto; background: var(--surface);
  border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-lg); }
.crbox h2 { margin: 0 0 4px; font-size: 19px; }
.crbox .note { margin: 0 0 16px; }
.crbox .form textarea { min-height: 96px; }
.crx { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: none; font-size: 24px; line-height: 1;
  color: var(--muted); cursor: pointer; }
body.cr-on { overflow: hidden; }

/* ── 계산기 ─────────────────────────────────────────── */
.cgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.ccard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .15s; position: relative; }
.ccard:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.ccard b { display: block; font-size: 16px; margin-bottom: 4px; }
.ccard b a::after { content: ""; position: absolute; inset: 0; }
.ccard span { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; margin: 24px 0 8px; }
.cform, .cout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.cform { display: grid; gap: 14px; align-content: start; }
.cf { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.cf[hidden] { display: none; }
.cf > span, .cf legend { font-size: 14px; font-weight: 700; color: var(--ink-2); padding: 0; }
.cin { display: flex; align-items: center; gap: 8px; }
.cin input, .cin select { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); padding: 11px 13px; }
.cin input:focus, .cin select:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.unit { font-size: 14px; color: var(--muted); flex: none; min-width: 2.5em; }
.rbs { display: flex; flex-wrap: wrap; gap: 6px; }
.rb { position: relative; }
.rb input { position: absolute; opacity: 0; }
.rb span { display: inline-block; padding: 8px 13px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; cursor: pointer; background: var(--bg); }
.rb input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.rb input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cout { position: sticky; top: 16px; align-self: start; }
.clabel { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.crows { margin: 0; display: grid; }
.crows > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.crows > div:last-child { border-bottom: 0; }
.crows dt { color: var(--ink-2); }
.crows dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.crows .key { padding: 4px 0 14px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; display: block; }
.crows .key dt { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.crows .key dd { text-align: left; font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.03em; color: var(--accent-ink); }
.cnote { margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.cerr { margin: 0; color: var(--muted); font-size: 14px; }
.cbody { margin-top: 32px; }
.cbody h2 { font-size: 21px; margin: 32px 0 10px; }
.srcs { margin: 0; padding-left: 18px; font-size: 14px; }
.srcs a { color: var(--accent-ink); }
.art .meta { font-size: 13px; color: var(--muted); margin: -12px 0 20px; }
.calcpage .phead { padding-top: 8px; }
@media (max-width: 760px) {
  .calc { grid-template-columns: 1fr; }
  .cout { position: static; }
  .cform, .cout { padding: 18px; }
}
/* 여러 대출 입력 · 넓은 계산기 */
.calc.wide { grid-template-columns: minmax(0, 1fr); }
.cform, .cout { min-width: 0; }
.calc.wide .cout { position: static; }
.dtable .tablewrap { margin: 4px 0 10px; box-shadow: none; }
.dtable table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dtable th { text-align: left; font-weight: 700; color: var(--ink-2); padding: 8px; background: var(--sunken); white-space: nowrap; }
.dtable td { padding: 6px; border-top: 1px solid var(--line); }
.dtable td input { width: 100%; min-width: 64px; font: inherit; font-size: 15px; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 9px; background: var(--bg); }
.dtable td input[data-k=name] { min-width: 110px; }
.dtable .btn { justify-self: start; height: 38px; font-size: 14px; cursor: pointer; }
.dx { width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 20px; cursor: pointer; }
.dx:hover { background: var(--sunken); color: var(--ink); }
.dorder { margin: 0 0 8px; padding-left: 22px; font-size: 15px; line-height: 1.8; }
.cout .tablewrap { margin: 8px 0 18px; box-shadow: none; }
.cout table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cout th, .cout td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.cout th { background: var(--sunken); }
@media (max-width: 760px) {
  .dtable thead { display: none; }
  .dtable tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); }
  .dtable td { border: 0; padding: 0; display: grid; gap: 3px; }
  .dtable td::before { content: attr(data-label); font-size: 12px; color: var(--muted); }
  .dtable td:first-child { grid-column: 1 / -1; }
}
/* 대출 시뮬레이터: 그래프·상환표 */
.dleg { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 8px; padding: 0; font-size: 13px; color: var(--ink-2); }
.dleg li { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sw.dash { width: 16px; height: 0; border-top: 2px dashed var(--ink-2); border-radius: 0; }
.dchart { position: relative; margin: 0 0 22px; }
.dchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.dchart .grid { stroke: #e1e0d9; stroke-width: 1; }
.dchart .base { stroke: #c3c2b7; stroke-width: 1; }
.dchart .tick { font-size: 11px; fill: #898781; font-variant-numeric: tabular-nums; }
.dchart .band { stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; }
.dchart .cmpline { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-dasharray: 5 4; }
.dchart .evline { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; opacity: .35; }
.dchart .cross { stroke: var(--ink); stroke-width: 1; }
.dtip { position: absolute; top: 0; z-index: 5; min-width: 200px; max-width: 280px; background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 10px; box-shadow: var(--shadow-lg); padding: 10px 12px; font-size: 13px; pointer-events: none; }
.dtip p { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.dtip div { display: flex; align-items: center; gap: 6px; padding: 2px 0; color: var(--ink-2); }
.dtip div span { flex: 1; }
.dtip div b { color: var(--ink); font-variant-numeric: tabular-nums; }
.dtip .tot { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; }
.dtip .tev { margin: 6px 0 0; font-weight: 600; color: var(--accent-ink); }
.dflow { margin: 0 0 22px; padding-left: 22px; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.dflow li { margin-bottom: 6px; }
.dflow b { color: var(--ink); }
.cout tr.best td { background: var(--accent-soft); font-weight: 700; }
.dsched { max-height: 520px; overflow: auto; }
.dsched table { font-size: 13px; min-width: 760px; }
.dsched th { position: sticky; top: 0; z-index: 1; white-space: nowrap; }
.dsched th .sw { margin-right: 5px; vertical-align: 0; }
.dsched td { white-space: nowrap; font-variant-numeric: tabular-nums; vertical-align: top; }
.dsched td small { display: block; font-size: 11.5px; color: var(--muted); }
.dsched td small.up { color: var(--accent-ink); font-weight: 700; }
.dsched tr.ev td { background: #fffbea; }
.dsched td:last-child { white-space: normal; min-width: 160px; font-weight: 600; color: var(--ink); }
.dsched.evonly-on tbody tr:not(.ev) { display: none; }
.evonly { float: right; font-weight: 500; color: var(--ink-2); font-size: 13px; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.dchart .glab { font-size: 13px; fill: var(--ink); font-weight: 600; }
.dchart .gval { font-size: 12px; fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.dtable td select { width: 100%; min-width: 120px; font: inherit; font-size: 14px; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 6px; background: var(--bg); }
.dtable td input:disabled { opacity: .35; }
.dhelp { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.dhelp summary { cursor: pointer; font-weight: 700; color: var(--accent-ink); }
.dhelp ul { margin: 8px 0 0; padding-left: 20px; line-height: 1.7; }
.cwarn { margin: 0 0 16px; padding: 10px 12px; border-radius: 8px; background: #fff4e5; color: #8a4b00; font-size: 14px; font-weight: 600; }
.clabel select { margin-left: 8px; font: inherit; font-size: 14px; font-weight: 600; padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--ink); }
.cout td.bestc { font-weight: 700; color: var(--ink); }
.cout td small { color: var(--muted); }
/* 본문 표 (계산기 설명·생활정보) */
.prose .tablewrap { margin: 16px 0 24px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { font-size: 13px; font-weight: 700; color: var(--ink-2); background: var(--sunken); white-space: nowrap; }
.prose th + th, .prose td + td { border-left: 1px solid var(--line); }
.prose td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) td { background: #fafaf8; }
@media (max-width: 760px) { .prose th, .prose td { padding: 10px 12px; font-size: 14px; } .prose td:first-child { white-space: normal; } }
/* 부동산 동향 */
.restats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 20px 0 8px; }
.rs { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow); }
.rs span { display: block; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.rs b { display: block; font-size: 24px; letter-spacing: -0.02em; margin: 4px 0 2px; color: var(--ink); font-variant-numeric: tabular-nums; }
.rs small { font-size: 12px; color: var(--muted); }
.rup, .rs b.rup { color: #d03b3b; } .rdn, .rs b.rdn { color: #2a78d6; } .rflat { color: var(--ink-2); }
.rechart { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 6px; box-shadow: var(--shadow); }
.rechart svg { display: block; width: 100%; height: auto; overflow: visible; }
.rechart .grid { stroke: #e1e0d9; } .rechart .base { stroke: #c3c2b7; } .rechart .cross { stroke: var(--ink); }
.rechart .tick { font-size: 11px; fill: #898781; font-variant-numeric: tabular-nums; }
.retable table { width: 100%; border-collapse: collapse; font-size: 14px; }
.retable th, .retable td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.retable th { background: var(--sunken); font-size: 12.5px; color: var(--ink-2); }
.retable th:first-child, .retable td:first-child { text-align: left; font-weight: 700; }
.retable td a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.retable tbody tr:last-child td { border-bottom: 0; }
.recols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.remov { margin: 0; padding: 0; list-style: none; counter-reset: rk; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.remov li { counter-increment: rk; display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.remov li:last-child { border-bottom: 0; }
.remov li::before { content: counter(rk); width: 22px; color: var(--muted); font-weight: 700; flex: none; }
.remov li a { flex: 1; } .remov li b { font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .recols { grid-template-columns: 1fr; } .rs b { font-size: 20px; } }
.rehead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 6px; }
.rehead .dleg { margin: 0; }
.rerange { display: inline-flex; gap: 4px; margin-left: auto; }
.rerange button { font: inherit; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.rerange button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.dtip b small { font-weight: 500; color: var(--muted); }

/* 대출 시뮬레이터 저장·불러오기 */
.dio { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 0 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.dio .btn { height: 38px; font-size: 14px; cursor: pointer; }
.dio .btn.ghost { background: none; border-color: transparent; color: var(--ink-2); }
.dio-msg { flex: 1 1 100%; margin: 0; font-size: 13px; color: var(--muted); min-height: 1em; }
.dio-msg.ok { color: var(--ok); font-weight: 600; } .dio-msg.err { color: #c0392b; font-weight: 600; }

/* 표 안에서는 글자를 중간에 자르지 않는다 (body 의 overflow-wrap: anywhere 가 표를 찌그러뜨림) */
table { overflow-wrap: normal; }
.prose td { overflow-wrap: break-word; }
.cout th small { display: block; font-weight: 500; color: var(--muted); }
.swipe { display: none; }
@media (max-width: 760px) {
  .swipe { display: block; margin: 0 0 6px; font-size: 12.5px; color: var(--muted); }
  /* 설명 표: 화면 안에 맞춘다 */
  .prose th, .prose td { padding: 9px 10px; font-size: 13.5px; }
  .prose th { white-space: normal; }
  .prose td:first-child { white-space: nowrap; }
  /* 숫자 표: 줄바꿈 없이 옆으로 밀고, 첫 열은 고정 */
  .cout table th, .cout table td { white-space: nowrap; padding: 8px 10px; font-size: 13px; }
  .cout table th:first-child, .cout table td:first-child, .retable th:first-child, .retable td:first-child {
    position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
  .cout table th:first-child, .retable th:first-child { background: var(--sunken); z-index: 2; }
  .cout table td:first-child { white-space: normal; min-width: 104px; max-width: 132px; }
  .cout tr.best td:first-child { background: var(--accent-soft); }
  .retable th, .retable td { padding: 9px 10px; font-size: 13px; }
  .dsched table td:first-child { min-width: 44px; max-width: none; text-align: center; }
  .dsched tr.ev td:first-child { background: #fffbea; }
  .dsched td:last-child { white-space: normal; }
}
@media (max-width: 760px) {
  .cout table, .retable table { border-collapse: separate; border-spacing: 0; }   /* 고정 열 뒤로 글자가 비치지 않게 */
  .prose th, .prose td { padding: 8px 8px; font-size: 13px; }
  .prose td:first-child { white-space: normal; min-width: 4.2em; }
}
@media (max-width: 760px) {
  .prose td:not(:first-child), .prose th:not(:first-child) { word-break: normal; overflow-wrap: normal; }
}

/* 빈 계산기 안내 · 예시 보기 */
.cin input::placeholder { color: #a9aca6; font-weight: 400; }
.cguide { margin: 0 0 14px; font-size: 15px; color: var(--ink-2); }
.cexbtn { height: 38px; font-size: 14px; cursor: pointer; background: var(--surface); }
.cerr + .cexbtn { margin-top: 12px; }
.cexnote { margin: 0 0 12px; padding: 9px 12px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; line-height: 1.5; }
.cexnote button { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ad[hidden] { display: none; }
.adwide { max-width: 360px; margin: 24px auto; }

/* 지역 선택 탭 · 계산기 오른쪽 칸 */
.renav { margin-top: 20px; }
.renav h2 { font-size: 16px; margin: 0 0 8px; }
.renav .ssub { margin: -4px 0 10px; font-size: 13px; }
.rechips { gap: 6px; }
.rechips a { padding: 6px 11px; font-size: 14px; font-weight: 600; gap: 6px; }
.rechips b { font-size: 12px; font-weight: 600; }
.rechips b.rup { color: #d03b3b; } .rechips b.rdn { color: #2a78d6; }
.rechips a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.rechips a.on b, .rechips a.on b.rup, .rechips a.on b.rdn { color: #fff; }
.cside { position: sticky; top: 16px; align-self: start; display: grid; gap: 16px; min-width: 0; }
.cside .cout { position: static; }
.cside .adwide { margin: 0 auto; width: 100%; max-width: 320px; }
.calc.wide .cside { position: static; }
@media (max-width: 760px) { .cside { position: static; } }

/* 숫자가 많은 표: 금액이 두 줄로 꺾이지 않게 */
table.nw th, table.nw td { white-space: nowrap; }

/* 생활정보: 카테고리별 제목 목록 */
.grecent, .gcat { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.grecent { margin-top: 24px; }
.grecent h2 { font-size: 18px; margin: 0 0 8px; }
.gcats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.gcat .shead { margin-bottom: 8px; }
.gcat h2 { font-size: 18px; margin: 0; }
.gcat h2 small { font-size: 14px; font-weight: 600; color: var(--muted); }
.glist { list-style: none; margin: 0; padding: 0; }
.glist li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.glist li:first-child { border-top: 0; }
.glist a { font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--ink); min-width: 0; }
.glist a:hover { color: var(--accent-ink); }
.glist time { flex: none; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .gcats { grid-template-columns: minmax(0, 1fr); } }
