/* WebMade 사이트 공용 스타일 — 자동 생성(도구/사이트생성.py). 손대지 마세요 */

:root {
  --paper:      #FCFBF8;
  --surface:    #F4F3EE;
  --card:       #FFFFFF;
  --ink:        #14201C;
  --muted:      #6B746E;
  --rule:       #DDE1DA;
  --accent:     #0F5C4A;
  --accent-ink: #FCFBF8;
  --warm:       #B85C16;
  --ok:         #2F7A55;

  --ui: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont,
        'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;

  --edge: clamp(20px, 5vw, 32px);
  --wrap: 1140px;
  --narrow: 860px;
  --topH: 62px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #111614;
    --surface:    #1A211E;
    --card:       #171E1B;
    --ink:        #E9EDE9;
    --muted:      #97A09A;
    --rule:       #2B3430;
    --accent:     #58B79A;
    --accent-ink: #0B1210;
    --warm:       #E0913F;
    --ok:         #5FB98C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper:      #111614;
  --surface:    #1A211E;
  --card:       #171E1B;
  --ink:        #E9EDE9;
  --muted:      #97A09A;
  --rule:       #2B3430;
  --accent:     #58B79A;
  --accent-ink: #0B1210;
  --warm:       #E0913F;
  --ok:         #5FB98C;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topH) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--ui); font-size: 16px; line-height: 1.75;
  letter-spacing: -.011em; -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--edge); }
.wrap.narrow { max-width: var(--narrow); }

img, svg { max-width: 100%; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.028em; text-wrap: balance; }
h1 { font-size: clamp(30px, 6.6vw, 46px); line-height: 1.22; }
h2 { font-size: clamp(23px, 4.4vw, 31px); line-height: 1.32; }
h3 { font-size: clamp(18px, 2.6vw, 21px); line-height: 1.45; letter-spacing: -.022em; }
h4 { font-size: 16px; line-height: 1.5; letter-spacing: -.018em; }
.num { font-variant-numeric: tabular-nums; }
b, strong { font-weight: 700; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--warm); outline-offset: 3px; border-radius: 3px;
}

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent);
  text-transform: none; margin-bottom: 10px; display: block;
}
.lede { font-size: clamp(16px, 2.1vw, 18px); color: var(--muted); margin-top: 14px; max-width: 46em; }
.lede b { color: var(--ink); font-weight: 700; }
.small { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ── 머리말 ─────────────────────────────────────────────── */
header.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
header.top > .wrap {
  display: flex; align-items: center; gap: 14px;
  min-height: 62px; padding-block: 9px;
}
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; }
.logo svg { width: 27px; height: 27px; flex: none; }
.logo > span { display: grid; line-height: 1.2; }
.logo b { font-size: 15px; font-weight: 800; letter-spacing: .13em; }
.logo i { font-style: normal; font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }

nav.menu { display: flex; align-items: center; gap: 1px; margin-left: auto; flex-wrap: wrap; }
nav.menu > a {
  text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--muted);
  padding: 7px 11px; border-radius: 8px; white-space: nowrap;
}
nav.menu > a:hover { background: var(--surface); color: var(--ink); }
nav.menu > a[aria-current="page"] { color: var(--accent); background: var(--surface); }
.top-cta { flex: none; }

/* 드롭다운 — 데스크톱에서만 */
.drop { position: relative; }
.drop > a::after { content: " ▾"; font-size: 10px; opacity: .55; }
.drop-panel {
  position: absolute; top: 100%; left: 0; min-width: 232px;
  background: var(--card); border: 1px solid var(--rule); border-radius: 13px;
  box-shadow: 0 22px 48px -28px rgba(16,22,20,.5);
  padding: 7px; display: none; z-index: 10;
}
.drop:hover .drop-panel, .drop:focus-within .drop-panel { display: block; }
.drop-panel a {
  display: block; text-decoration: none; color: var(--ink); font-size: 14.5px;
  font-weight: 600; padding: 9px 11px; border-radius: 9px; white-space: nowrap;
}
.drop-panel a span { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.drop-panel a:hover { background: var(--surface); }

/* ── 버튼 ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--ui); font-size: 15px; font-weight: 700; line-height: 1.3;
  padding: 12px 19px; border-radius: 10px; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--rule); background: var(--card); color: var(--ink);
  white-space: nowrap;
}
.btn:hover { border-color: var(--accent); }
.btn.fill { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.fill:hover { opacity: .92; }
.btn.small { padding: 8px 13px; font-size: 13.5px; border-radius: 8px; }
.btn.block { width: 100%; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* ── 구역 ───────────────────────────────────────────────── */
main section { padding-block: clamp(44px, 7vw, 76px); }
main section + section { border-top: 1px solid var(--rule); }
section.tint { background: var(--surface); }
section.hero { padding-block: clamp(40px, 8vw, 84px) clamp(36px, 7vw, 72px); }
.sec-head { max-width: 46em; }

/* 구역 안에서 덩어리끼리 붙지 않게 — 한 곳에서 정합니다.
   덩어리마다 margin-top 을 따로 걸면 어디는 붙고 어디는 벌어집니다.
   (버튼 줄 바로 아래 숫자 칸이 붙어 있던 것이 그 경우였습니다) */
main section > .wrap > * + * { margin-top: clamp(26px, 3.8vw, 40px); }
.sec-head + * { margin-top: clamp(24px, 4vw, 38px); }
/* 빵부스러기 다음 제목은 붙어 있어야 한 덩어리로 읽힙니다 */
main section > .wrap > .crumb { margin-bottom: 0; }
main section > .wrap > .crumb + * { margin-top: 12px; }

/* ── 카드 ───────────────────────────────────────────────── */
.grid { display: grid; gap: 14px; }
.grid.g2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid.g3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid.g4 { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--rule); border-radius: 15px;
  padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 9px;
}
.card h3 { letter-spacing: -.02em; }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.card p b { color: var(--ink); }
.card .kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.card a.more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; text-decoration: none; }
.card a.more:hover { text-decoration: underline; }
.card.flat { background: transparent; }

/* 문제 → 해결 짝 */
.pair { display: grid; gap: 0; }
.pair .q {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 13px 13px 0 0;
  padding: 15px 18px; font-weight: 700; font-size: 15px;
}
.pair .a {
  border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 13px 13px;
  padding: 15px 18px; font-size: 14.5px; color: var(--muted); background: var(--card);
}
.pair .a b { color: var(--ink); }

/* 숫자 줄 */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stats > div {
  border: 1px solid var(--rule); border-radius: 13px; padding: 17px 18px; background: var(--card);
}
.stats .v { display: block; font-size: clamp(23px, 3.6vw, 29px); font-weight: 800; letter-spacing: -.035em; }
.stats .k { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* 체크 목록 */
ul.check { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
ul.check li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.65; }
ul.check li::before {
  content: ""; position: absolute; left: 3px; top: .62em;
  width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
ul.check li b { font-weight: 700; }
ul.check.two { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 9px 22px; }
ul.no { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
ul.no li { position: relative; padding-left: 26px; font-size: 15px; color: var(--muted); }
ul.no li::before {
  content: "×"; position: absolute; left: 5px; top: -1px; color: var(--warm); font-weight: 800;
}

/* ── 요금 ───────────────────────────────────────────────── */
.plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(252px, 1fr)); }
.plan {
  background: var(--card); border: 1px solid var(--rule); border-radius: 16px;
  padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 5px; position: relative;
}
.plan.best { border-color: var(--accent); border-width: 1.5px; }
.plan .tagname { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.plan .price { font-size: clamp(25px, 4vw, 31px); font-weight: 800; letter-spacing: -.04em; margin-top: 6px; }
.plan .price small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .days { font-size: 13px; color: var(--muted); font-weight: 600; }
.plan .what { font-size: 14.5px; color: var(--muted); margin-top: 10px; line-height: 1.7; }
.plan ul.check { margin-top: 14px; }
.plan ul.check li { font-size: 14px; }
.plan .btn { margin-top: 18px; }
.plan .flag {
  position: absolute; top: -11px; left: 20px; background: var(--accent); color: var(--accent-ink);
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; padding: 3px 11px; border-radius: 999px;
}

/* 표 */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 460px; }
caption { text-align: left; font-size: 13.5px; color: var(--muted); padding-bottom: 10px; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
thead th { font-size: 12.5px; letter-spacing: .05em; color: var(--muted); background: var(--surface); font-weight: 700; }
td.r, th.r { text-align: right; }
tbody tr:last-child td { border-bottom: 0; }
td .why { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; margin-top: 2px; }

/* ── 단계 ───────────────────────────────────────────────── */
ol.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
ol.steps li {
  counter-increment: s; position: relative; padding: 18px 20px 19px 60px;
  background: var(--card); border: 1px solid var(--rule); border-radius: 14px;
}
ol.steps li::before {
  content: counter(s); position: absolute; left: 19px; top: 18px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  font-size: 13px; font-weight: 800; display: grid; place-items: center;
}
ol.steps h3 { font-size: 16.5px; }
ol.steps p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
ol.steps .when { font-size: 12.5px; font-weight: 700; color: var(--accent); letter-spacing: .04em; }

/* ── 아코디언 ───────────────────────────────────────────── */
details.qa {
  border: 1px solid var(--rule); border-radius: 13px; background: var(--card);
  padding: 0 18px; margin-bottom: 9px;
}
details.qa > summary {
  cursor: pointer; list-style: none; padding: 16px 28px 16px 0; position: relative;
  font-weight: 700; font-size: 15.5px; line-height: 1.55;
}
details.qa > summary::-webkit-details-marker { display: none; }
details.qa > summary::after {
  content: "+"; position: absolute; right: 2px; top: 13px;
  font-size: 20px; font-weight: 400; color: var(--muted); line-height: 1;
}
details.qa[open] > summary::after { content: "–"; }
details.qa .body { padding: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.75; }
details.qa .body b { color: var(--ink); }
details.qa .body p + p { margin-top: 10px; }

/* ── 알림 상자 ──────────────────────────────────────────── */
.note {
  border: 1px solid var(--rule); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0;
  background: var(--surface); padding: 16px 18px; font-size: 14.5px; line-height: 1.7;
}
.note b { color: var(--ink); }
.note.warn { border-left-color: var(--warm); }

/* ── 아래쪽 부르는 띠 ───────────────────────────────────── */
.cta-band { background: var(--accent); color: var(--accent-ink); }
.cta-band h2, .cta-band p { color: var(--accent-ink); }
.cta-band .lede { color: color-mix(in srgb, var(--accent-ink) 78%, transparent); }
.cta-band .btn { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--accent); }
.cta-band .btn.ghost { background: transparent; color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 45%, transparent); }

/* ── 태그 ───────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--rule); color: var(--muted); text-decoration: none;
}
a.chip:hover { color: var(--ink); border-color: var(--accent); }
.chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ── 빵부스러기 ─────────────────────────────────────────── */
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); text-decoration: underline; }
.crumb span { opacity: .5; margin-inline: 6px; }

/* ── 꼬리말 ─────────────────────────────────────────────── */
footer.bot { border-top: 1px solid var(--rule); background: var(--surface); }
footer.bot > .wrap { padding-block: clamp(38px, 6vw, 56px) 30px; }
.foot-grid { display: grid; gap: 30px; grid-template-columns: minmax(210px, 1.1fr) 2.2fr; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-cols { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
.foot-cols h4 { font-size: 12px; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.foot-cols a { display: block; font-size: 14px; color: var(--ink); text-decoration: none; padding: 3px 0; }
.foot-cols a:hover { color: var(--accent); text-decoration: underline; }
.biz-list { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; font-size: 13px; margin: 16px 0 0; }
.biz-list dt { color: var(--muted); }
.biz-list dd { margin: 0; }
.nowrap { white-space: nowrap; }
.biz-check {
  display: inline-block; margin-left: 8px; font-size: 12px; padding: 1px 8px;
  border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; color: var(--muted);
}
.foot-end {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  font-size: 13px; color: var(--muted);
}
.foot-end a { color: var(--muted); }

/* ── 휴대폰 ─────────────────────────────────────────────── */
.navtoggle, .navveil, .navmore, .navlogo { display: none; }

@media (max-width: 900px) {
  header.top { backdrop-filter: none; background: var(--paper); }
  header.top > .wrap { flex-wrap: nowrap; }
  .top-cta { display: none; }

  .navtoggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px; margin-left: auto; flex: none;
    background: transparent; border: 1px solid var(--rule); border-radius: 11px;
    cursor: pointer; position: relative; z-index: 3;
  }
  .navtoggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
  body.navopen .navtoggle { visibility: hidden; }

  nav.menu {
    position: fixed; inset: 0 0 0 auto; z-index: 2;
    width: min(84vw, 340px); max-width: 100%;
    /* nowrap 이 없으면 세로로 쌓다가 화면 높이를 넘는 순간 **옆 칸으로 넘어갑니다.**
       데스크톱 메뉴가 한 줄에 안 들어갈 때 쓰려고 걸어둔 flex-wrap 이 여기까지 따라옵니다. */
    display: flex; flex-direction: column; flex-wrap: nowrap;
    align-items: stretch; gap: 2px;
    margin: 0; padding: env(safe-area-inset-top) 14px calc(22px + env(safe-area-inset-bottom));
    background: var(--paper); border-left: 1px solid var(--rule);
    box-shadow: -24px 0 60px -30px rgba(16,22,20,.55);
    transform: translateX(100%); transition: transform .28s ease;
    overflow-y: auto; overscroll-behavior: contain;
  }
  body.navopen nav.menu { transform: translateX(0); }
  body.navopen { overflow: hidden; }
  body.navopen header.top { z-index: 80; }

  nav.menu > a { font-size: 16px; padding: 12px; border-radius: 9px; white-space: normal; }
  .drop > a::after { content: ""; }
  .drop-panel {
    position: static; display: block; border: 0; box-shadow: none; background: transparent;
    padding: 0 0 6px 10px; min-width: 0;
  }
  .drop-panel a { font-size: 14.5px; padding: 9px 10px; color: var(--muted); }
  .drop-panel a span { display: none; }

  .navlogo {
    display: flex; align-items: center; position: sticky; top: 0; z-index: 1;
    background: var(--paper); min-height: var(--topH, 62px);
    margin: 0 -14px 10px; padding: 0 26px; border-bottom: 1px solid var(--rule);
  }
  .navmore {
    display: flex; flex-direction: column; flex: 1 1 auto;
    margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule);
  }
  .navmore .btn { display: flex; width: 100%; margin: 0 0 8px; font-size: 15px; padding: 13px 14px; }
  .navfacts {
    margin: 14px 0 0; margin-top: auto; padding: 13px 14px; border-radius: 12px;
    background: var(--card); border: 1px solid var(--rule); font-size: 13px; line-height: 1.55;
  }
  .navfacts dt { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
  .navfacts dd { margin: 2px 0 10px; font-weight: 600; color: var(--ink); word-break: keep-all; }
  .navfacts dd:last-child { margin-bottom: 0; }

  .navveil {
    display: block; position: fixed; inset: 0; z-index: 1;
    background: rgba(16,22,20,.5); opacity: 0; pointer-events: none; transition: opacity .28s ease;
  }
  body.navopen .navveil { opacity: 1; pointer-events: auto; }
}

/* 화면 바닥에 붙는 문의 띠 — 끝까지 붙어 있습니다 */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; inset: auto 0 0 0; z-index: 40;
    padding: 9px var(--edge) calc(9px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 93%, transparent);
    backdrop-filter: blur(10px); border-top: 1px solid var(--rule);
  }
  .callbar .btn { padding: 12px 10px; font-size: 15px; }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  nav.menu, .navveil { transition: none; }
}

@media print {
  header.top, .callbar, .cta-band, .navveil { display: none !important; }
  body { padding-bottom: 0; }
}
/* ── 긴 글(가이드 · 칼럼 · 약관 · 방침) ─────────────────── */
.prose { font-size: 16.5px; line-height: 1.85; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(21px, 3.4vw, 26px); margin-top: 42px; }
.prose h3 { font-size: 18.5px; margin-top: 34px; }
.prose h4 { margin-top: 24px; }
.prose p { color: var(--ink); }
.prose b, .prose strong { font-weight: 700; }
.prose ul.check, .prose ul.no { margin-top: 14px; }
.prose ul:not(.check):not(.no), .prose ol:not(.steps) { padding-left: 22px; margin-top: 14px; }
.prose ul:not(.check):not(.no) li, .prose ol:not(.steps) li { margin-bottom: 6px; }
.prose .note, .prose .tablewrap, .prose ol.steps { margin-top: 22px; }
.prose table { min-width: 380px; }
.prose table th { white-space: nowrap; }
.prose blockquote {
  margin: 22px 0; padding: 2px 0 2px 18px; border-left: 3px solid var(--rule);
  color: var(--muted);
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em;
  background: var(--surface); padding: 1px 5px; border-radius: 5px;
}

/* ── 폼 ─────────────────────────────────────────────────── */
form.ask label, .calc label {
  display: block; font-size: 13.5px; font-weight: 700; color: var(--muted); margin-top: 14px;
}
form.ask .grid label { margin-top: 0; }
form.ask .grid { gap: 14px; margin-bottom: 14px; }
form.ask .req { color: var(--warm); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
select, textarea {
  display: block; width: 100%; margin-top: 6px;
  font-family: var(--ui); font-size: 15.5px; font-weight: 500; color: var(--ink);
  background: var(--card); border: 1px solid var(--rule); border-radius: 10px;
  padding: 11px 13px; line-height: 1.5;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 72%, transparent); }
form.ask button { margin-top: 20px; }

/* ── 예상 견적 계산기 ───────────────────────────────────── */
.calc { display: grid; gap: 18px; grid-template-columns: 1.15fr .85fr; align-items: start; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }
.calc-in, .calc-out {
  background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 22px;
}
.calc-out { position: sticky; top: calc(var(--topH) + 14px); }
@media (max-width: 820px) { .calc-out { position: static; } }
.calc .opts { display: grid; gap: 2px; margin-top: 6px; }
.calc .opt {
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 11px;
  border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer;
}
.calc .opt:hover { background: var(--surface); }
.calc .opt input { width: 17px; height: 17px; margin: 0; flex: none; accent-color: var(--accent); }
.calc .opt > span:first-of-type { flex: 1; }
.calc .amt { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.calc .label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .09em; color: var(--muted); }
.calc .big { font-size: clamp(28px, 5vw, 36px); font-weight: 800; letter-spacing: -.04em; margin-top: 2px; }
.calc .mid { font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; }

