/* 생활·경제 스마트 계산기 — 디자인 2.0 (2026-11-27, 오너 지시 «직관적이고 엣지 있게»)
   원칙: 여백 · 큰 숫자 · 한 화면에 한 가지 강조. 색은 잉크(검정에 가까운 녹청) + 주색 #146B62 하나.
   접근성(설계서 10절) 유지: 기본 18px · 큰 글씨 22px · 결과 36px↑ · 버튼 48px↑ · 입력 52px↑ · 본문 대비 4.5:1↑ */
:root {
  --bg: #F5F5F7; --card: #FFFFFF; --ink: #0E1719; --ink2: #3D4A50; --muted: #5C6970; --line: #E3E6EA; --field: #F4F5F7; --fieldline: #8D99A1;
  --main: #146B62; --main2: #0E4F48; --soft: #E8F3F1; --err: #B42318; --up: #C8102E; --down: #0B5FD6; --warnbg: #FFF6EA; --warnline: #C2570C;
  --hero1: #0B1F1D; --hero2: #146B62; --shadow: 0 1px 2px rgba(14,23,25,.04), 0 8px 24px rgba(14,23,25,.06);
  --shadow2: 0 2px 4px rgba(14,23,25,.06), 0 16px 40px rgba(14,23,25,.12); --r: 20px; --glass: rgba(245,245,247,.78);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0D0E; --card: #16191B; --ink: #F2F4F5; --ink2: #C9D0D4; --muted: #9AA5AB; --line: #272C30; --field: #1E2225; --fieldline: #6F7B83;
    --main: #3FC1B0; --main2: #7FDCCF; --soft: #14312E; --err: #FF8A7A; --up: #FF6B7D; --down: #6FA8FF; --warnbg: #2A2015; --warnline: #F2994A;
    --hero1: #0F2A27; --hero2: #1B7F74; --shadow: 0 0 0 1px #23282B; --shadow2: 0 0 0 1px #3A4247; --glass: rgba(11,13,14,.72);
  }
}
* { box-sizing: border-box; }
html { font-size: 18px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.big { font-size: 22px; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55; word-break: keep-all; -webkit-font-smoothing: antialiased;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif; }
a { color: var(--main); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid #F59E0B; outline-offset: 2px; border-radius: 8px; }
h1, h2, h3 { letter-spacing: -.022em; line-height: 1.2; }
h1 { font-size: 1.7rem; font-weight: 800; margin: 6px 0 10px; }
h2 { font-size: 1.2rem; font-weight: 750; margin: 40px 0 14px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ── 머리말: 반투명 유리 ── */
.top { position: sticky; top: 0; z-index: 10; background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line); }
.toprow { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 8px; }
.brand { color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; font-size: .95rem; }
.brand::before { content: ""; display: inline-block; width: .62em; height: .62em; border-radius: 50%; background: var(--main); margin-right: .45em; }
.back { color: var(--main); text-decoration: none; font-weight: 700; min-height: 48px; display: inline-flex; align-items: center; padding-right: 8px; }
.tools { display: flex; gap: 6px; flex-shrink: 0; }
.tool { min-height: 40px; min-width: 44px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink);
  font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  transition: background .15s, border-color .15s; }
.tool:hover { border-color: var(--main); }
.tool[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.wide-only { display: none; }

/* ── 홈 히어로 ── */
.hero { padding: 44px 0 6px; }
.eyebrow { margin: 0 0 10px; font-size: .8rem; font-weight: 700; color: var(--main); letter-spacing: .01em; }
.display { font-size: 2.15rem; font-weight: 850; letter-spacing: -.04em; line-height: 1.12; margin: 0 0 12px;
  background: linear-gradient(100deg, var(--ink) 30%, var(--main) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { margin: 0 0 22px; color: var(--ink2); font-size: 1rem; max-width: 34em; }
.search { width: 100%; min-height: 60px; font: inherit; font-size: 1.02rem; padding: 0 20px 0 52px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink);
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A868D' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E") 18px center / 22px no-repeat;
  box-shadow: var(--shadow); transition: box-shadow .2s, border-color .2s; }
.search:focus { outline: none; border-color: var(--main); box-shadow: 0 0 0 4px color-mix(in srgb, var(--main) 22%, transparent), var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.qlabel { align-self: center; font-size: .78rem; color: var(--muted); margin-right: 2px; font-weight: 600; }
.chip { min-height: 40px; padding: 6px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink2);
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: all .15s; }
.chip:hover { border-color: var(--main); color: var(--main2); }
.chip.big { min-height: 48px; padding: 6px 20px; font-size: .92rem; font-weight: 700; background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.big:hover { background: var(--main); border-color: var(--main); color: #fff; }

/* ── 분야 아이콘(색 틴트 위 선 그림) ── */
.ico { --c: var(--main); width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.ico svg { width: 26px; height: 26px; }
.ico.sm { width: 34px; height: 34px; border-radius: 10px; } .ico.sm svg { width: 19px; height: 19px; }
.ico.lg { width: 60px; height: 60px; border-radius: 18px; } .ico.lg svg { width: 32px; height: 32px; }
@media (prefers-color-scheme: dark) { .ico { color: color-mix(in srgb, var(--c) 55%, #fff); background: color-mix(in srgb, var(--c) 24%, transparent); } }

/* ── 홈 목록 ── */
.minis { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.mini { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 12px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: .9rem; line-height: 1.3; letter-spacing: -.01em; transition: transform .15s, box-shadow .15s; }
.h2row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.more { font-size: .88rem; font-weight: 700; text-decoration: none; padding: 10px 0; }
.cattiles { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.cattile { display: flex; flex-direction: column; gap: 3px; padding: 16px; min-height: 148px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.cattile .ico { margin-bottom: 12px; }
.ctn { font-weight: 800; letter-spacing: -.02em; }
.ctc { color: var(--muted); font-weight: 500; font-size: .82rem; }
.ctd { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.mini:hover, .cattile:hover, .card:hover { transform: translateY(-2px); box-shadow: var(--shadow2); }

.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.card { position: relative; display: flex; flex-direction: column; gap: 4px; background: var(--card); border-radius: var(--r); padding: 16px 44px 16px 18px;
  text-decoration: none; color: var(--ink); min-height: 48px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.card::after { content: "›"; position: absolute; right: 18px; top: 50%; transform: translateY(-54%); font-size: 1.5rem; color: var(--muted); font-weight: 300; }
.ct { font-weight: 750; letter-spacing: -.015em; }
.cd { font-size: .84rem; color: var(--muted); }
.backlink { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; text-decoration: none; margin-top: 12px; }
.cathead { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.cath1 { margin: 0; font-size: 1.9rem; }
.allh { margin: 28px 0 6px; font-size: 1rem; } .allh a { text-decoration: none; color: var(--ink); }
.alllist { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 14px; }
.alllist a { display: flex; align-items: center; padding: 8px 0; min-height: 44px; text-decoration: none; color: var(--ink2); border-bottom: 1px solid var(--line); font-size: .9rem; }
.alllist a:hover { color: var(--main); }

/* ── 계산기 화면 ── */
.calc { padding-top: 18px; }
.crumb { --c: var(--main); display: inline-flex; align-items: center; min-height: 32px; padding: 2px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  text-decoration: none; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
@media (prefers-color-scheme: dark) { .crumb { color: color-mix(in srgb, var(--c) 55%, #fff); } }
.titlebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; }
.titlebar h1 { font-size: 1.9rem; margin: 0; }
.lead { margin: 8px 0 20px; color: var(--ink2); max-width: 40em; }
.two { display: grid; gap: 16px; grid-template-columns: 1fr; }
.form, .result, .basis { background: var(--card); border-radius: 24px; box-shadow: var(--shadow); }
.form { padding: 22px 20px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.field > label { font-weight: 700; font-size: .9rem; color: var(--ink2); }
.inrow { display: flex; align-items: center; gap: 10px; }
.inrow input, .inrow select { flex: 1; min-width: 0; }
input[type=text], input[type=date], select { min-height: 54px; font: inherit; font-size: 1.05rem; font-weight: 600; padding: 0 16px; border: 1px solid var(--fieldline);
  border-radius: 14px; background: var(--field); color: var(--ink); width: 100%; font-variant-numeric: tabular-nums; transition: border-color .15s, box-shadow .15s, background .15s; }
select { font-weight: 500; font-size: .98rem; }
input[type=text]:focus, input[type=date]:focus, select:focus { outline: none; border-color: var(--main); background: var(--card);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--main) 20%, transparent); }
.unit { color: var(--muted); white-space: nowrap; font-size: .88rem; font-weight: 600; min-width: 1.5em; }
.kor { color: var(--main); font-size: .84rem; font-weight: 700; min-height: 1em; }
.hint { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.ferr { color: var(--err); font-size: .86rem; font-weight: 700; }
input.bad, select.bad { border-color: var(--err) !important; }
.example { margin: 0 12px 10px; font-size: .82rem; color: var(--muted); }
.copybox { display: block; width: 100%; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--fieldline); border-radius: 12px; background: var(--field); color: var(--ink); font: inherit; font-size: .84rem; }
.polst { color: var(--muted); }
.pol.est { border-left: 3px solid var(--warnline); }
.morebtn { background: none; border: 0; color: var(--main); cursor: pointer; font-family: inherit; min-height: 44px; }
.sets.all { grid-auto-flow: row; grid-template-columns: 1fr; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; }
.sets.all .set { min-height: 0; }
.peek.bad { background: #8A1F1F; }
.peek.bad .pv { font-size: .92rem; font-weight: 700; }
.field .chips { margin-top: 2px; }
.field .chip { min-height: 44px; padding: 6px 16px; font-size: .86rem; background: var(--field); border-color: transparent; }
.field .chip:hover { background: var(--soft); border-color: transparent; }
.check { display: flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600; cursor: pointer; font-size: .92rem; }
.check input { width: 24px; height: 24px; accent-color: var(--main); }
.adv { margin-bottom: 14px; border-top: 1px solid var(--line); padding-top: 4px; }
.adv summary, .sched summary, .basis summary { cursor: pointer; font-weight: 700; min-height: 48px; display: flex; align-items: center; color: var(--main); font-size: .92rem; list-style: none; }
.adv summary::-webkit-details-marker, .sched summary::-webkit-details-marker, .basis summary::-webkit-details-marker { display: none; }
.adv summary::after, .sched summary::after, .basis summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; font-weight: 400; color: var(--muted); }
details[open] > summary::after { content: "–"; }
.actions { display: flex; gap: 10px; margin-top: 6px; }
.btn { flex: 1; min-height: 54px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); font: inherit; font-weight: 700; cursor: pointer; color: var(--ink);
  transition: transform .1s, background .15s; }
.btn:active { transform: scale(.98); }
.btn.primary { flex: 2; background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { background: var(--main); border-color: var(--main); color: #fff; }

.rowhead, .rowin { display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr) 44px; gap: 6px; }
.rowhead { font-size: .76rem; color: var(--muted); font-weight: 700; padding: 0 2px; }
.rowin { margin-bottom: 6px; }
.rows .rowin input { min-height: 48px; font-size: .95rem; padding: 0 8px; border-radius: 12px; min-width: 0; }
.rowin.many, .rowhead.many { grid-template-columns: repeat(var(--cols2), 1fr) 44px; }
.rowin.many > input:first-child { grid-column: 1 / -1; }
.rowhead.many > span:first-child { display: none; }
.rowin.many { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px dashed var(--line); }
.rowin .cell { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rowin .cell > span { font-size: .74rem; font-weight: 700; color: var(--muted); padding: 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rowin .cell > input { width: 100%; }
.rowin.wide { grid-template-columns: repeat(3, 1fr); align-items: end; }
.rowin.wide > .del { width: 100%; }
.rowhead.wide { display: none; }
.del { min-height: 44px; border-radius: 12px; border: 0; background: var(--field); color: var(--muted); font-size: 1.2rem; cursor: pointer; }
.del:hover { color: var(--err); }

/* ── 결과: 가장 중요한 숫자를 어두운 판 위에 크게 ── */
.result { padding: 10px; overflow: hidden; }
.mains { display: flex; flex-direction: column; gap: 16px; padding: 24px 22px; border-radius: 16px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, var(--hero2) 0%, var(--hero1) 62%); }
.m { display: flex; flex-direction: column; gap: 2px; }
.ml { color: rgba(255,255,255,.72); font-size: .82rem; font-weight: 600; }
.mv { font-weight: 750; font-size: 1.3rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.m.big .mv { font-size: 2.25rem; font-weight: 850; letter-spacing: -.04em; line-height: 1.12; }   /* 18px × 2.25 = 40px */
.m.up .mv { color: #FF9AA8; } .m.down .mv { color: #9CC4FF; }
.subs { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 0 16px; margin: 6px 12px 4px; font-size: .9rem; }
.subs dt, .subs dd { padding: 11px 0; border-bottom: 1px solid var(--line); margin: 0; }
.subs dt { color: var(--muted); }
.subs dd { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.subs dt:nth-last-of-type(1), .subs dd:nth-last-of-type(1) { border-bottom: 0; }
.result > .chip { margin: 8px 12px 10px; }
.err { color: var(--err); font-weight: 700; margin: 0; padding: 18px 14px; }
.warn { background: var(--warnbg); border-left: 3px solid var(--warnline); padding: 10px 14px; border-radius: 10px; font-size: .84rem; margin: 10px 12px; color: var(--ink2); }
.sched { margin: 0 12px; border-top: 1px solid var(--line); }
.tblwrap { overflow: auto; max-height: 420px; margin-bottom: 8px; }
table { border-collapse: collapse; width: 100%; font-size: .78rem; font-variant-numeric: tabular-nums; }
th, td { padding: 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
th { position: sticky; top: 0; background: var(--card); color: var(--muted); font-weight: 700; }
.basis { padding: 4px 22px 14px; margin-top: 16px; font-size: .88rem; color: var(--ink2); }
.basis p { margin: 0 0 10px; }
.pol { background: var(--field); padding: 10px 14px; border-radius: 12px; font-size: .82rem; }
.pollinks { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; align-items: center; }
.pollinks a { color: var(--main); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 32px; }
.related h2 { margin-top: 44px; }
/* 계산기별 설명·자주 묻는 질문(build.js 가 넣는 정적 글) */
.guide { margin-top: 36px; }
.guide h2 { margin: 28px 0 10px; }
.guide > p { margin: 0; color: var(--ink2); line-height: 1.7; }
.faq { background: var(--card); border-radius: 16px; margin-top: 10px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 15px 0; min-height: 48px; font-weight: 700; line-height: 1.45; }
.faq p { margin: 0; padding: 0 0 16px; color: var(--ink2); line-height: 1.7; font-size: .94rem; }
body > .guide { max-width: 720px; margin: 24px auto; padding: 0 20px; }

/* 폰 전용: 아래에 떠 있는 결과 미리보기 */
.peek { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 9; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 60px; padding: 10px 18px; border: 0; border-radius: 18px; cursor: pointer; font: inherit; text-align: left; color: #fff;
  background: linear-gradient(100deg, var(--hero1), var(--hero2)); box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.pt { display: flex; flex-direction: column; min-width: 0; }
.pl { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv { font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pa { font-size: 1.2rem; opacity: .85; }
@media (min-width: 768px) { .peek { display: none; } }
/* 상황별 모음 */
.sets { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; padding: 4px 20px 14px; margin: 0 -20px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sets::-webkit-scrollbar { display: none; }
.set { scroll-snap-align: center; display: flex; flex-direction: column; gap: 4px; min-height: 132px; padding: 18px; border-radius: var(--r); text-decoration: none; color: #fff;
  background: radial-gradient(130% 150% at 0% 0%, var(--hero2) 0%, var(--hero1) 65%); box-shadow: var(--shadow); transition: transform .15s; }
.set:hover { transform: translateY(-2px); }
.sn { font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; }
.sd { font-size: .82rem; color: rgba(255,255,255,.78); }
.sc { margin-top: auto; font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.9); }
.steps .card { padding-left: 58px; }
.stepno { position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 800; font-size: .85rem;
  display: flex; align-items: center; justify-content: center; }
.enterhint { margin: -6px 0 12px; font-size: .8rem; }
.top .tool svg { display: block; }
@media (min-width: 768px) { .sets { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; } .enterhint { display: block; } }
@media (max-width: 767px) { .enterhint { display: none; } }
.basispage { margin-top: 8px; }
.polcard { background: var(--card); border-radius: 16px; padding: 14px 16px; margin: 12px 0; font-size: .9rem; box-shadow: var(--shadow); }
.polcard.est { border-left: 4px solid var(--warnline); }

.ad-slot { margin: 36px 0 8px; min-height: 96px; border: 1px dashed var(--fieldline); border-radius: 16px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .76rem; letter-spacing: .08em; opacity: .7; }
.foot { margin: 40px 0 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.foot p { margin: 0 0 8px; }
.footnav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-bottom: 10px; }
.footnav a { font-weight: 700; padding: 8px 0; text-decoration: none; color: var(--ink2); }
.footnav a:hover { color: var(--main); }

@media (min-width: 600px) {
  .wide-only { display: inline; } .brand { font-size: 1.02rem; }
  .display { font-size: 2.9rem; } .hero { padding-top: 64px; }
}
@media (min-width: 768px) {
  .wrap { padding: 0 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .minis, .cattiles, .alllist { grid-template-columns: repeat(3, 1fr); }
  .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .two > div:last-child { position: sticky; top: 76px; }
  .titlebar h1 { font-size: 2.3rem; }
  .form { padding: 28px; }
  .rowin.many, .rowhead.many { grid-template-columns: 1.6fr repeat(var(--cols2), 1fr) 44px; }
  .rowin.many > input:first-child { grid-column: auto; }
  .rowhead.many > span:first-child { display: inline; }
  .rowin.many { border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
  .rowin.wide { grid-template-columns: repeat(3, 1fr); border-bottom: 1px dashed var(--line); padding-bottom: 8px; margin-bottom: 8px; }
  .rowin.wide > input:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .display { font-size: 3.5rem; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .minis, .cattiles, .alllist { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .top, .ad-slot, .actions, .tools, .foot, .related { display: none; } body { background: #fff; } }

/* 2026-11-28 review: hide the ad placeholder until real ads exist (add class "ads" on <html> to show) */
.ad-slot { display: none; }
html.ads .ad-slot { display: flex; }
@media (min-width: 768px) { .morebtn { display: none; } .sets.all { grid-template-columns: repeat(3, 1fr); } }

/* ══ 디자인 3.0 (2026-11-30, 오너: «쭉 나열한 느낌 · 무슨 사이트인지 모르겠다 · 스마트 계산기처럼 한눈에») ══
   홈 = 계산기 한 대: 디스플레이(실제 계산 예시) + 검색 + 키패드(분야 13 + 즐겨찾기·기준·= 전체) */
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand::before { content: none; }
.logo { display: inline-flex; width: 30px; height: 30px; flex-shrink: 0; }
.logo svg { width: 100%; height: 100%; display: block; border-radius: 9px; }
.back .logo { width: 26px; height: 26px; margin-right: 8px; }

.hero { padding: 26px 0 30px; overflow: hidden;
  background: radial-gradient(60% 70% at 92% 8%, color-mix(in srgb, var(--main) 16%, transparent) 0%, transparent 70%),
              radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--main) 9%, transparent) 0%, transparent 70%); }
.herogrid { display: grid; gap: 22px; align-items: center; }
.pitch .eyebrow { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); color: var(--main); font-size: .76rem; }
.display { font-size: 2.35rem; font-weight: 900; letter-spacing: -.045em; line-height: 1.08; margin: 14px 0 12px; background: none; color: var(--ink); }
.display em { font-style: normal; background: linear-gradient(95deg, var(--main) 0%, #19A08F 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { margin: 0 0 16px; font-size: .98rem; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.facts li { display: flex; flex-direction: column; padding: 2px 14px; border-left: 1px solid var(--line); font-size: .74rem; color: var(--muted); line-height: 1.35; }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts b { color: var(--ink); font-size: .92rem; font-weight: 800; letter-spacing: -.02em; }

/* 계산기 본체 */
.device { background: linear-gradient(180deg, #18211F 0%, #0E1517 100%); border-radius: 30px; padding: 12px; color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -20px rgba(8,30,27,.55), 0 10px 24px -10px rgba(0,0,0,.35); }
@media (prefers-color-scheme: dark) { .device { box-shadow: 0 0 0 1px #263033, 0 30px 60px -20px rgba(0,0,0,.8); } }
.lcd { display: flex; flex-direction: column; gap: 2px; min-height: 154px; padding: 14px 18px; border-radius: 20px; text-decoration: none; color: #EFFFFB;
  background: radial-gradient(120% 120% at 100% 0%, #1F5A52 0%, #0C2A26 55%, #081C19 100%); box-shadow: inset 0 0 0 1px rgba(127,220,207,.14), inset 0 10px 30px rgba(0,0,0,.25); }
.lcd:focus-visible { outline-offset: 3px; }
.lcd-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lcd-tag { font-size: .72rem; font-weight: 800; color: #7FDCCF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcd-dots { display: flex; flex-shrink: 0; }
.lcd-dots button { width: 22px; height: 26px; border: 0; padding: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lcd-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.28); transition: all .2s; }
.lcd-dots button[aria-current="true"]::before { width: 16px; border-radius: 4px; background: #7FDCCF; }
.lcd-said { font-size: .76rem; color: rgba(239,255,251,.66); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }
.lcd-num { margin-top: auto; text-align: right; font-size: 2.5rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 0 24px rgba(127,220,207,.25); }
.lcd-num small { font-size: .5em; font-weight: 700; margin-left: 3px; color: #BFEFE7; letter-spacing: 0; }
.lcd-num.tick { animation: lcdtick .45s cubic-bezier(.2,.8,.2,1); }
@keyframes lcdtick { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lcd-lab { text-align: right; font-size: .76rem; font-weight: 700; color: #7FDCCF; }
.lcd:hover .lcd-lab { text-decoration: underline; text-underline-offset: 3px; }

.searchrow { margin: 10px 0; }
.device .search { min-height: 56px; border-radius: 16px; border: 1px solid #2E3A3D; color: #fff; font-weight: 600; box-shadow: none;
  background: #1C2629 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237FDCCF' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E") 18px center / 22px no-repeat; }
.device .search::placeholder { color: #93A4AA; font-weight: 500; }
.device .search:focus { border-color: #3FC1B0; box-shadow: 0 0 0 4px rgba(63,193,176,.25); }

.keypad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.key { --c: #146B62; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 74px; padding: 8px 4px;
  border-radius: 18px; text-decoration: none; color: #F2F6F7; background: linear-gradient(180deg, #253033 0%, #1D2629 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 2px 0 rgba(0,0,0,.35); transition: transform .12s, background .15s; }
.key:hover { background: linear-gradient(180deg, #2D3A3E 0%, #243034 100%); transform: translateY(-1px); }
.key:active { transform: translateY(1px) scale(.97); }
.kico { display: inline-flex; color: color-mix(in srgb, var(--c) 58%, #fff); }
.kico svg { width: 24px; height: 24px; }
.kico.sym { font-size: 1.25rem; font-weight: 800; line-height: 24px; height: 24px; color: #fff; }
.kn { font-size: .74rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
.kc { position: absolute; top: 7px; right: 9px; font-size: .62rem; font-weight: 700; color: rgba(242,246,247,.5); font-variant-numeric: tabular-nums; }
.key.fn { background: linear-gradient(180deg, #3A4649 0%, #303B3E 100%); }
.key.fn:hover { background: linear-gradient(180deg, #445255 0%, #39464A 100%); }
.key.eq { background: linear-gradient(180deg, #1C8A7D 0%, #146B62 100%); }
.key.eq:hover { background: linear-gradient(180deg, #22A090 0%, #187A6F 100%); }
.key.eq .kico.sym { font-size: 1.6rem; }
.hero.searching .lcd, .hero.searching .keypad, .hero.searching .facts, .hero.searching .sub { display: none; }
.hero.searching { padding-bottom: 4px; }

/* 질문 → 예시 답 카드 */
#homebody > .h2row:first-child h2, #homebody > h2:first-child { margin-top: 26px; }
.asks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ask { --c: var(--main); position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px 14px; min-height: 150px; background: var(--card); border-radius: 20px;
  box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; overflow: hidden; }
.ask::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--c); opacity: .85; }
.ask:hover { transform: translateY(-2px); box-shadow: var(--shadow2); }
.aq { font-weight: 800; font-size: .9rem; letter-spacing: -.02em; line-height: 1.3; }
.av { margin-top: auto; font-size: 1.12rem; font-weight: 850; letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1.15; overflow-wrap: anywhere; }
.al { font-size: .7rem; color: var(--muted); font-weight: 600; line-height: 1.3; }
.ago { font-size: .74rem; font-weight: 700; color: var(--main); margin-top: 6px; }

/* 상황별 모음: 어두운 큰 판 12장이 무겁다 → 밝은 카드 + 왼쪽 번호 */
.set { background: var(--card); color: var(--ink); min-height: 0; padding: 16px 16px 14px 58px; position: relative; counter-increment: setno; }
.set::before { content: counter(setno, decimal-leading-zero); position: absolute; left: 16px; top: 16px; font-size: .8rem; font-weight: 800; color: var(--main);
  font-variant-numeric: tabular-nums; width: 30px; height: 30px; border-radius: 10px; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.sets { counter-reset: setno; }
.set .sn { font-size: 1rem; } .set .sd { color: var(--muted); } .set .sc { color: var(--main); margin-top: 8px; }
.set:hover { box-shadow: var(--shadow2); }
@media (min-width: 900px) { .sets, .sets.all { grid-template-columns: repeat(4, 1fr); } }
/* 계산기 화면의 결과도 홈 디스플레이와 같은 «계산기 화면» 느낌으로 */
.mains { background: radial-gradient(120% 120% at 100% 0%, #1F5A52 0%, #0C2A26 55%, #081C19 100%); box-shadow: inset 0 0 0 1px rgba(127,220,207,.14), inset 0 10px 30px rgba(0,0,0,.25); }
.m.big .mv { text-shadow: 0 0 24px rgba(127,220,207,.25); }
.m .ml { color: #7FDCCF; font-weight: 700; }
.trust { display: grid; margin-top: 40px; }
.tr { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 2px solid var(--ink); text-decoration: none; color: var(--ink); }
.tr b { font-size: .95rem; font-weight: 800; letter-spacing: -.02em; }
.tr span { font-size: .8rem; color: var(--muted); }
a.tr:hover b { color: var(--main); }

@media (min-width: 600px) {
  .display { font-size: 3rem; }
  .key { min-height: 84px; } .kn { font-size: .8rem; }
  .lcd-num { font-size: 3rem; }
}
@media (min-width: 900px) {
  .hero { padding: 56px 0 60px; }
  .herogrid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; }
  .display { font-size: 3.6rem; }
  .sub { font-size: 1.1rem; margin-bottom: 26px; }
  .facts li { font-size: .8rem; padding: 2px 20px; } .facts b { font-size: 1.1rem; }
  .device { padding: 14px; border-radius: 34px; transform: rotate(-1.2deg); transition: transform .4s; }
  .device:hover, .device:focus-within { transform: none; }
  .asks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .ask { padding: 20px 18px 16px; min-height: 168px; } .aq { font-size: .98rem; } .av { font-size: 1.5rem; }
  .trust { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { .device { transform: none !important; } .lcd-num.tick { animation: none; } }

/* ── 3.1 (2026-11-30, 오너: «계산기가 움직이지 않게 · 더 세련되게») ──
   기울임·떠오름·숫자 튀어오름 없음. 무광 흑연 본체 · 가는 숫자 · 단색 아이콘 · 밝은 회색 기능키 + 녹청 «=» 하나 */
.device, .device:hover, .device:focus-within { transform: none !important; transition: none; }
.device { background: #111617; border-radius: 36px; padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 1px 2px rgba(0,0,0,.08), 0 40px 80px -36px rgba(8,32,29,.5); }
@media (prefers-color-scheme: dark) { .device { background: #151A1B; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -36px rgba(0,0,0,.9); } }
.lcd { min-height: 170px; padding: 18px 20px 16px; border-radius: 24px; color: #F4F7F7;
  background: radial-gradient(90% 120% at 100% 0%, rgba(63,193,176,.16) 0%, rgba(63,193,176,0) 60%), #0A0F10;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.lcd-tag { color: #7FDCCF; font-weight: 600; letter-spacing: .01em; }
.lcd-said { color: #7E9094; font-weight: 500; margin-top: 6px; }
.lcd-num { font-size: 2.6rem; font-weight: 300; letter-spacing: -.045em; text-shadow: none; line-height: 1.05; }
.lcd-num small { font-size: .42em; font-weight: 500; color: #8FA3A7; margin-left: 4px; }
.lcd-num.tick { animation: none; }
.lcd-lab { color: #8FA3A7; font-weight: 500; margin-top: 4px; }
.lcd:hover .lcd-lab { color: #7FDCCF; }
.lcd-dots button[aria-current="true"]::before { background: #F4F7F7; }
.searchrow { margin: 12px 0; }
.device .search { background-color: #0A0F10; border-color: #262D2F; border-radius: 18px; font-weight: 500; }
.keypad { gap: 10px; }
.key, .key:hover, .key:active { transform: none; }
.key { min-height: 76px; border-radius: 22px; background: #22292B; box-shadow: none; color: #EEF2F3; gap: 6px; transition: background .15s, color .15s; }
.key:hover { background: #2B3335; }
.key:active { background: #343D3F; }
.kico { color: #B9C4C6; transition: color .15s; }
.kico svg { stroke-width: 1.6; }
.key:hover .kico { color: color-mix(in srgb, var(--c) 55%, #fff); }
.kn { font-weight: 600; letter-spacing: -.015em; }
.kc { top: 8px; right: 11px; font-weight: 500; color: rgba(238,242,243,.38); }
.key.fn { background: #D5D9D8; color: #111617; }
.key.fn:hover { background: #E4E7E6; }
.key.fn:active { background: #C6CBCA; }
.key.fn .kico.sym { color: #111617; }
.key.eq { background: #157F73; }
.key.eq:hover { background: #1A8F82; }
.key.eq:active { background: #126E64; }
.kico.sym { font-weight: 500; }
@media (min-width: 600px) { .key { min-height: 86px; } .lcd-num { font-size: 3.2rem; } }
@media (min-width: 900px) { .device { padding: 18px; border-radius: 40px; } .lcd { min-height: 190px; padding: 22px 24px 18px; } .lcd-num { font-size: 3.6rem; } }

/* ── 3.2 (2026-11-30, 오너가 준 참고 그림 2장: ① 밝고 단정한 검색·자주 쓰는 계산기·카테고리 ② 남색 계산기·색 아이콘·초록 «전체» 키) ──
   움직임 없음(3.1 유지). 하늘빛 배경 · 남색 본체 · 분야 색 아이콘 · 검색 버튼 · «자주 쓰는 계산기» 카드 · 카테고리 칩 */
.tagline { display: none; }
@media (min-width: 900px) { .tagline { display: inline; margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); color: var(--muted); font-weight: 500; font-size: .8rem; } }
.hero { background: radial-gradient(45% 55% at 8% 100%, rgba(255,200,120,.22) 0%, transparent 70%),
                    linear-gradient(172deg, #E1EDFA 0%, #E9F3F2 52%, var(--bg) 100%); }
@media (prefers-color-scheme: dark) { .hero { background: linear-gradient(172deg, #0E1C2B 0%, #0C1817 55%, var(--bg) 100%); } }
.pitch .eyebrow { background: color-mix(in srgb, var(--main) 10%, var(--card)); border: 1px solid color-mix(in srgb, var(--main) 35%, transparent); box-shadow: none; gap: 6px; }
.pitch .eyebrow::before { content: "✓"; font-weight: 900; }
.display em { position: relative; display: inline-block; }
.display em::after { content: ""; position: absolute; left: 2%; right: 4%; bottom: -.08em; height: .14em; border-radius: 99px;
  background: linear-gradient(90deg, rgba(255,196,0,.85), rgba(255,196,0,0)); }
.sub { color: var(--ink2); line-height: 1.6; }
.facts { gap: 0; }
.facts li { gap: 1px; }
.fico { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; margin-bottom: 6px;
  color: var(--main); background: var(--card); border: 1.5px solid color-mix(in srgb, var(--main) 45%, transparent); }
.fico svg { width: 19px; height: 19px; }

/* 남색 본체 */
.device { background: linear-gradient(160deg, #15324D 0%, #0E2236 55%, #0A1828 100%);
  box-shadow: inset 0 0 0 1px rgba(150,200,255,.16), 0 0 0 6px rgba(40,110,190,.07), 0 40px 80px -32px rgba(10,30,60,.55); }
@media (prefers-color-scheme: dark) { .device { box-shadow: inset 0 0 0 1px rgba(150,200,255,.2), 0 40px 80px -32px rgba(0,0,0,.9); } }
.lcd { position: relative; color: #fff; box-shadow: inset 0 0 0 1px rgba(124,240,184,.22);
  background: radial-gradient(90% 140% at 0% 100%, rgba(34,192,122,.30) 0%, transparent 55%), linear-gradient(160deg, #10393C 0%, #0A2229 100%); }
.lcd-tag { color: #8DF0C4; font-weight: 700; }
.lcd-said { color: rgba(255,255,255,.68); }
.lcd-num { font-weight: 800; letter-spacing: -.035em; position: relative; }
.lcd-num small { color: #fff; font-weight: 700; }
.lcd-lab { color: #8DF0C4; font-weight: 700; }
.lcd-art { display: none; }
@media (min-width: 600px) { .lcd-art { display: block; position: absolute; left: 20px; bottom: 16px; width: 112px; } .lcd-art svg { display: block; width: 100%; } }
.lcd-dots button[aria-current="true"]::before { background: #8DF0C4; }
.searchrow { display: flex; gap: 8px; }
.device .search { flex: 1; min-width: 0; background-color: rgba(255,255,255,.06); border: 1px solid rgba(150,200,255,.32); }
.device .search:focus { border-color: #8DF0C4; box-shadow: 0 0 0 4px rgba(141,240,196,.22); }
.gobtn { flex-shrink: 0; min-height: 56px; padding: 0 20px; border: 0; border-radius: 16px; background: #138A60; color: #fff; font: inherit; font-weight: 800; font-size: .95rem; cursor: pointer; }
.gobtn:hover { background: #17A271; }
.key { background: linear-gradient(180deg, #1C3753 0%, #152C44 100%); box-shadow: inset 0 0 0 1px rgba(150,200,255,.13); color: #fff; }
.key:hover { background: linear-gradient(180deg, #23405F 0%, #1A3450 100%); }
.key:active { background: #1A3450; }
.kico, .key:hover .kico { color: color-mix(in srgb, var(--c) 62%, #fff); }
.kico svg { width: 26px; height: 26px; stroke-width: 1.9; }
.kn { font-weight: 700; }
.kc { color: rgba(255,255,255,.6); font-weight: 600; }
.key.fn { background: linear-gradient(180deg, #1C3753 0%, #152C44 100%); color: #fff; }
.key.fn:hover { background: linear-gradient(180deg, #23405F 0%, #1A3450 100%); }
.key.fn .kico.sym { color: #FFC93C; }
.key.fn + .key.fn .kico.sym { color: #9CC8FF; }
.key.eq { background: linear-gradient(180deg, #22B574 0%, #138A60 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.key.eq:hover { background: linear-gradient(180deg, #27C47F 0%, #16976A 100%); }
.key.eq .kico { color: #fff; }

@media (max-width: 899px) { .herogrid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) {
  .facts li { padding: 2px 10px; }
  /* 폰: 자주 쓰는 계산기는 아이콘 위 · 이름 아래로(두 칸에 이름이 쪼개지지 않게) */
  .freq { position: relative; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 14px 12px; }
  .freq .fq-go { position: absolute; right: 12px; top: 12px; }
  .fq-ico svg { width: 26px; height: 26px; }
  .catchip { min-height: 48px; padding: 0 14px 0 12px; }
}
/* ── 3.2 계산기 화면(2026-11-30, 오너 «계산기 화면도 같은 디자인으로») ── */
.calchead { padding: 18px 0 22px; background: radial-gradient(45% 80% at 4% 100%, rgba(255,200,120,.16) 0%, transparent 70%), linear-gradient(172deg, #E1EDFA 0%, #E9F3F2 60%, var(--bg) 100%); }
@media (prefers-color-scheme: dark) { .calchead { background: linear-gradient(172deg, #0E1C2B 0%, #0C1817 60%, var(--bg) 100%); } }
.calchead .crumb { gap: 6px; min-height: 36px; padding: 2px 14px 2px 10px; background: var(--card); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.calchead .crumb .fq-ico { color: var(--c); }
.calchead .crumb .fq-ico svg { width: 18px; height: 18px; }
@media (prefers-color-scheme: dark) { .calchead .crumb .fq-ico { color: color-mix(in srgb, var(--c) 60%, #fff); } }
.calchead .titlebar h1 { font-weight: 900; letter-spacing: -.04em; }
.calchead .lead { margin-bottom: 0; }
.calchead .tool { background: var(--card); }
.calc { padding-top: 20px; }
/* 입력 카드 */
.form { border: 1px solid var(--line); box-shadow: var(--shadow); }
.field > label { color: var(--ink); }
.field .chip { background: color-mix(in srgb, var(--main) 8%, var(--card)); border: 1px solid color-mix(in srgb, var(--main) 22%, transparent); color: var(--main2); }
.field .chip:hover { background: color-mix(in srgb, var(--main) 16%, var(--card)); }
.btn { border-radius: 16px; }
.btn.primary, .btn.primary:hover { background: #138A60; border-color: #138A60; color: #fff; }
.btn.primary:hover { background: #17A271; border-color: #17A271; }
/* 결과 = 남색 계산기 본체 + 초록 디스플레이 */
.result { padding: 12px; border-radius: 28px; color: #fff; background: linear-gradient(160deg, #15324D 0%, #0E2236 55%, #0A1828 100%);
  box-shadow: inset 0 0 0 1px rgba(150,200,255,.16), 0 30px 60px -30px rgba(10,30,60,.5); }
.result .example { color: rgba(255,255,255,.7); margin: 4px 8px 10px; }
.result .mains { border-radius: 20px; background: radial-gradient(90% 140% at 0% 100%, rgba(34,192,122,.30) 0%, transparent 55%), linear-gradient(160deg, #10393C 0%, #0A2229 100%);
  box-shadow: inset 0 0 0 1px rgba(124,240,184,.22); }
.result .m .ml { color: #8DF0C4; }
.result .m.big .mv { text-shadow: none; }
.result .subs { margin: 8px 8px 4px; }
.result .subs dt, .result .subs dd { border-bottom-color: rgba(150,200,255,.14); }
.result .subs dt { color: rgba(255,255,255,.66); }
.result .subs dd { color: #fff; }
.result .err { color: #FFB4A8; }
.result .warn { margin: 10px 8px; color: #EAF0F5; background: rgba(255,180,90,.12); border-left-color: #F2994A; }
.result > .chip { margin: 10px 8px 4px; background: rgba(255,255,255,.08); border-color: rgba(150,200,255,.28); color: #fff; }
.result > .chip:hover { background: rgba(255,255,255,.14); border-color: #8DF0C4; color: #fff; }
.result .copybox { background: #0A1828; color: #fff; border-color: rgba(150,200,255,.3); }
.result .sched { margin: 0 8px; border-top-color: rgba(150,200,255,.14); }
.result .sched summary { color: #8DF0C4; }
.result .sched summary::after { color: rgba(255,255,255,.6); }
.result th { background: #0E2236; color: rgba(255,255,255,.7); }
.result th, .result td { border-bottom-color: rgba(150,200,255,.12); }
.basis { border: 1px solid var(--line); }
.peek { background: linear-gradient(100deg, #15324D, #0E2236); box-shadow: inset 0 0 0 1px rgba(150,200,255,.2), 0 10px 30px rgba(0,0,0,.28); }
.peek .pl { color: #8DF0C4; }
.guide h2, .related h2 { display: flex; align-items: center; gap: 10px; }
.guide h2::before, .related h2::before { content: ""; width: 5px; height: 1.05em; border-radius: 3px; background: var(--main); flex-shrink: 0; }
.faq, .related .card { border: 1px solid var(--line); }
.related .card:hover { border-color: var(--main); }

/* ── 3.2 분야·모음·전체·즐겨찾기·기준 보기(2026-11-30) ── */
.vhead { padding-top: 4px; }
.vhead .backlink { margin-top: 4px; }
.vtitle { display: flex; align-items: center; gap: 14px; margin-top: 2px; }
.vtitle h1 { margin: 0; font-size: 1.9rem; font-weight: 900; letter-spacing: -.04em; }
.vkick { margin: 0 0 2px; font-size: .78rem; font-weight: 700; color: var(--main); }
.vico { --c: var(--main); flex-shrink: 0; width: 60px; height: 60px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(160deg, #15324D 0%, #0E2236 100%); box-shadow: inset 0 0 0 1px rgba(150,200,255,.16); }
.vico svg { width: 30px; height: 30px; color: color-mix(in srgb, var(--c) 62%, #fff); }
.vico.sym { font-size: 1.6rem; font-weight: 800; color: #8DF0C4; }
.vhead .lead { margin: 12px 0 0; }
.citems { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
.citem { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 14px 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.citem:hover { border-color: var(--main); box-shadow: var(--shadow); }
.cico, .cno { flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.cico svg { width: 24px; height: 24px; }
.cno { color: #fff; background: linear-gradient(160deg, #15324D, #0E2236); font-weight: 800; font-size: .95rem; }
@media (prefers-color-scheme: dark) { .cico { color: color-mix(in srgb, var(--c) 60%, #fff); background: color-mix(in srgb, var(--c) 22%, transparent); } }
.ctx { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.ctx b { font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.ctx small { font-size: .8rem; color: var(--muted); line-height: 1.45; }
#homebody > .catchips:first-child { margin-top: 22px; }
.catchip.setchip { white-space: normal; text-align: center; line-height: 1.3; padding: 6px 14px; }
.allh a { display: inline-flex; align-items: center; gap: 10px; }
.allh .vico { width: 34px; height: 34px; border-radius: 10px; } .allh .vico svg { width: 19px; height: 19px; }
.empty { margin-top: 22px; padding: 22px; background: var(--card); border: 1px dashed var(--fieldline); border-radius: 18px; color: var(--muted); }
.basispage { margin-top: 10px; }
/* 기준·출처 카드(2026-12-01) */
.pcsum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.pcsum > div { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.pcsum b { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pcsum b.dt { font-size: 1.15rem; padding: .3em 0 .15em; }
.pcsum small { font-size: .78rem; color: var(--muted); font-weight: 700; }
.pcsum .ok b { color: #138A60; } .pcsum .est b { color: var(--warnline); }
.pcgh { display: flex; align-items: center; gap: 10px; margin: 34px 0 12px; font-size: 1.15rem; }
.pcgh .cico { width: 36px; height: 36px; border-radius: 11px; } .pcgh .cico svg { width: 20px; height: 20px; }
.pcgh small { font-size: .78rem; color: var(--muted); font-weight: 700; }
.pcgrid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.polcard { --c: var(--main); margin: 0; padding: 16px 18px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: none;
  display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
.polcard.est { border-left: 1px solid var(--line); box-shadow: inset 4px 0 0 var(--warnline); }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.pc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: .74rem; font-weight: 800;
  color: #0F6E4C; background: #E3F5EC; }
.pc-badge::before { content: "✓"; font-weight: 900; }
.polcard.est .pc-badge { color: #9A4308; background: var(--warnbg); }
.polcard.est .pc-badge::before { content: "!"; width: 1.1em; text-align: center; }
.pc-date { font-size: .74rem; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.pc-label { margin: 0; font-weight: 700; line-height: 1.6; letter-spacing: -.01em; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
.pc-note { margin: 0; padding: 9px 12px; border-radius: 12px; background: var(--field); color: var(--ink2); font-size: .8rem; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.polcard.est .pc-note { background: var(--warnbg); }
.pc-src { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.pc-src > span, .pc-used > span { display: inline-block; margin-right: 8px; font-size: .72rem; font-weight: 800; color: var(--ink2); }
.pc-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-links a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--main) 35%, var(--line));
  background: var(--soft); color: var(--main2); font-size: .8rem; font-weight: 800; text-decoration: none; }
.pc-links a:hover { border-color: var(--main); }
.pc-used { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--line); }
.pc-used a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink2);
  font-size: .76rem; font-weight: 700; text-decoration: none; }
.pc-used a:hover { border-color: var(--main); color: var(--main2); }
.privcard { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.privcard p { margin: 0; line-height: 1.7; }
@media (prefers-color-scheme: dark) {
  .pc-badge { color: #8DF0C4; background: #133528; } .polcard.est .pc-badge { color: #F7B37A; }
  .pcsum .ok b { color: #5FD9A4; }
}
@media (min-width: 768px) { .pcsum { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* 전체 계산기 목록(2026-12-01) — 분야 묶음 카드 + 작은 계산기 카드 */
.allsec { --c: var(--main); margin-top: 28px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; scroll-margin-top: 76px; }
.allsec-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.allsec-h .cico { width: 40px; height: 40px; border-radius: 12px; } .allsec-h .cico svg { width: 22px; height: 22px; }
.allsec-h h2 { flex: 1; min-width: 0; margin: 0; font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.allsec-h h2 small { font-size: .78rem; color: var(--muted); font-weight: 700; }
.allsec-h .more { flex-shrink: 0; padding: 8px 0; color: var(--main); white-space: nowrap; }
.allgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.acard { display: flex; flex-direction: column; gap: 3px; min-height: 64px; padding: 11px 12px; border-radius: 14px; background: var(--field);
  border: 1px solid transparent; text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.acard:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 7%, var(--card)); }
.acard b { font-size: .9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; word-break: keep-all; overflow-wrap: anywhere; }
.acard small { font-size: .74rem; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767px) {
  .catchips.alljump { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .alljump .catchip { min-height: 46px; padding: 0 6px; gap: 5px; justify-content: center; font-size: .82rem; white-space: nowrap; border-radius: 12px; }
  .alljump .fq-ico.sm svg { width: 17px; height: 17px; }
  .alljump .ctc { font-size: .68rem; }
  html.big .catchips.alljump { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.alltop { margin: 24px 0 0; text-align: center; }
.alltop a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink2); font-weight: 700; font-size: .88rem; text-decoration: none; }
@media (min-width: 768px) { .allsec { padding: 20px 22px; } .allgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 1100px) { .allgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* 상황별 모음(2026-12-01) — 세로 단계 + 다른 모음 카드 */
.steps { list-style: none; margin: 22px 0 0; padding: 0; max-width: 820px; }
.step { --c: var(--main); position: relative; display: flex; gap: 12px; padding-bottom: 12px; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 0; width: 2px; border-radius: 2px; background: var(--line); }
.stepno { flex-shrink: 0; width: 40px; height: 40px; margin-top: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: .95rem; background: linear-gradient(160deg, #15324D, #0E2236); box-shadow: 0 0 0 4px var(--bg); position: relative; }
.stepcard { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 76px; padding: 14px 14px 14px 16px; background: var(--card);
  border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.stepcard:hover { border-color: var(--main); box-shadow: var(--shadow); }
.steptag { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 2px; font-size: .72rem; font-weight: 800; color: var(--c); }
.steptag .fq-ico { color: var(--c); } .steptag .fq-ico.sm svg { width: 15px; height: 15px; }
@media (prefers-color-scheme: dark) { .steptag, .steptag .fq-ico { color: color-mix(in srgb, var(--c) 55%, #fff); } }
.osets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.oset { display: flex; flex-direction: column; gap: 3px; min-height: 92px; padding: 13px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  text-decoration: none; color: var(--ink); transition: border-color .15s; }
.oset:hover { border-color: var(--main); }
.oset b { font-size: .9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; word-break: keep-all; overflow-wrap: anywhere; }
.oset small { font-size: .74rem; color: var(--muted); line-height: 1.45; word-break: keep-all; }
.oset span { margin-top: auto; padding-top: 4px; font-size: .74rem; font-weight: 800; color: var(--main); }
@media (min-width: 768px) { .osets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } }
@media (min-width: 1100px) { .osets { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* 검색 결과(2026-12-01) — 가장 잘 맞는 계산기 + 분야 거르기 + 카드 */
.srhead { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.srhead h2 { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.srcount { flex-shrink: 0; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--main2); font-size: .8rem; font-weight: 800; }
.srtop { --c: var(--main); display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 18px; border-radius: 20px; text-decoration: none; color: #fff;
  background: linear-gradient(160deg, #15324D 0%, #0E2236 100%); box-shadow: inset 0 0 0 1px rgba(150,200,255,.16); }
.srtop:hover { box-shadow: inset 0 0 0 1px rgba(150,200,255,.16), var(--shadow2); }
.srtop .cico { width: 52px; height: 52px; border-radius: 15px; color: color-mix(in srgb, var(--c) 55%, #fff); background: rgba(255,255,255,.08); }
.srtop .cico svg { width: 28px; height: 28px; }
.srtop .ctx b { font-size: 1.15rem; color: #fff; }
.srtop .ctx small { color: rgba(225,235,245,.75); }
.srbest { font-size: .72rem; font-weight: 800; color: #8DF0C4; }
.srgo { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .74rem; font-weight: 800; color: #8DF0C4; }
.srgo kbd { padding: 3px 8px; border-radius: 7px; border: 1px solid rgba(141,240,196,.45); font: inherit; font-size: .7rem; color: #DFFBEF; }
.srtop mark { background: rgba(141,240,196,.22); color: #fff; }
.srsub { margin: 28px 0 10px; font-size: 1rem; font-weight: 800; }
.srfilter { display: flex; gap: 6px; overflow-x: auto; padding: 2px 20px 6px; margin: 0 -20px; scrollbar-width: none; }
.srfilter::-webkit-scrollbar { display: none; }
.srfilter button { --c: var(--main); flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink2); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.srfilter button > span:last-child { color: var(--muted); font-size: .72rem; }
.srfilter button .fq-ico { color: var(--c); } .srfilter button .fq-ico.sm svg { width: 16px; height: 16px; }
.srfilter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.srfilter button[aria-pressed="true"] > span:last-child, .srfilter button[aria-pressed="true"] .fq-ico { color: inherit; }
.srlist { margin-top: 10px; }
.citems mark, .srtop mark { padding: 0 2px; border-radius: 4px; }
.citems mark { background: color-mix(in srgb, var(--main) 18%, transparent); color: inherit; }
.srtip { margin: 6px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.srwords { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.srwords button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--field); color: var(--ink); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.srwords button:hover { border-color: var(--main); }
@media (max-width: 599px) { .srgo { display: none; } .srtop { padding: 16px; } }
@media (min-width: 768px) { .srfilter { flex-wrap: wrap; overflow: visible; padding: 0; margin: 0; } }
/* 관련 계산기(2026-12-01) — 다음 단계 + 카드 + 모음·분야 링크 */
.relnext { --c: var(--main); display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 16px 16px 16px 18px; border-radius: 20px; text-decoration: none; color: #fff;
  background: linear-gradient(160deg, #15324D 0%, #0E2236 100%); box-shadow: inset 0 0 0 1px rgba(150,200,255,.16); }
.relnext:hover { box-shadow: inset 0 0 0 1px rgba(150,200,255,.16), var(--shadow2); }
.relnext .cico { width: 48px; height: 48px; border-radius: 14px; color: color-mix(in srgb, var(--c) 55%, #fff); background: rgba(255,255,255,.08); }
.relnext .ctx b { font-size: 1.08rem; color: #fff; } .relnext .ctx small { color: rgba(225,235,245,.75); }
.relnext .fq-go { color: #8DF0C4; }
.relitems { margin-top: 12px; }
@media (max-width: 767px) { .relitems .citem:nth-child(n+5) { display: none; } }   /* 폰은 4개까지(세로로 너무 길어짐) */
.relmore { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.relset, .relcat { --c: var(--main); display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink2); font-size: .84rem; font-weight: 700; text-decoration: none; }
.relset { color: var(--main2); background: var(--soft); border-color: color-mix(in srgb, var(--main) 30%, var(--line)); }
.relcat .fq-ico { color: var(--c); }
.relset:hover, .relcat:hover { border-color: var(--main); }
/* 즐겨찾기(2026-12-01) — 카드 + 오른쪽 ★ 단추 */
.favrow { position: relative; display: flex; min-width: 0; }
.favrow .citem { flex: 1; min-width: 0; padding-right: 66px; }
.favrow .citem .fq-go { display: none; }
.favbtn { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--card); color: var(--muted); font-size: 1.35rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.favbtn:hover { border-color: #E0A100; color: #C78A00; }
.favbtn.on { color: #D99A00; background: #FFF6D6; border-color: #F2D27A; }
.favundo { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding: 10px 10px 10px 16px; border-radius: 14px;
  background: linear-gradient(160deg, #15324D, #0E2236); color: #fff; font-size: .88rem; font-weight: 600; }
.favundo span { min-width: 0; overflow-wrap: anywhere; }
.favundo button { flex-shrink: 0; min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: #8DF0C4; color: #0E2236; font-weight: 800; font-size: .85rem; cursor: pointer; }
.favempty { display: flex; gap: 16px; align-items: flex-start; margin-top: 22px; padding: 20px; background: var(--card); border: 1px dashed var(--fieldline); border-radius: 18px; }
.fe-star { flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem;
  color: #D99A00; background: #FFF6D6; }
.favempty b { display: block; font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; }
.favempty ol { margin: 8px 0 0; padding-left: 1.2em; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.favnote { margin: 26px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--field); color: var(--muted); font-size: .8rem; line-height: 1.6; }
@media (prefers-color-scheme: dark) {
  .favbtn.on, .fe-star { color: #FFD15C; background: #3A2F0E; border-color: #5C4A14; }
}
@media (min-width: 1000px) { .pcgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
@media (min-width: 768px) { .citems { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .vtitle h1 { font-size: 2.3rem; } .vico { width: 68px; height: 68px; border-radius: 20px; } }
@media (min-width: 1100px) { .citems { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 제목 앞 녹청 막대(참고 그림 1) */
h2.bar { display: flex; align-items: center; gap: 10px; }
h2.bar::before { content: ""; width: 5px; height: 1.05em; border-radius: 3px; background: var(--main); }

/* 자주 쓰는 계산기 */
.freqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.freq { display: flex; align-items: center; gap: 10px; min-height: 78px; padding: 12px 10px 12px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.freq:hover { border-color: var(--main); box-shadow: var(--shadow); }
.fq-ico { display: inline-flex; flex-shrink: 0; color: var(--main); }
.fq-ico svg { width: 28px; height: 28px; }
.fq-ico.sm svg { width: 22px; height: 22px; }
.fq-t { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: 2px; }
.fq-t b { font-size: .9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.fq-t small { font-size: .7rem; color: var(--muted); font-weight: 600; line-height: 1.3; font-variant-numeric: tabular-nums; }
.fq-go { color: var(--muted); font-size: 1.4rem; font-weight: 300; line-height: 1; }
/* 전체 카테고리 칩 */
.catchips { display: flex; flex-wrap: wrap; gap: 8px; }
.catchip { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px 0 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: .9rem; transition: border-color .15s; }
.catchip:hover { border-color: var(--main); }
.catchip .ctc { font-size: .74rem; }
@media (min-width: 900px) {
  .freqs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .freq { padding: 14px 14px 14px 16px; gap: 14px; min-height: 84px; }
  .freq .fq-ico { padding-right: 14px; border-right: 1px solid var(--line); }
  .fq-t b { font-size: .98rem; }
  .catchips { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .catchip { justify-content: center; white-space: nowrap; }
}
@media print { .hero { display: none; } }

/* ── 결과판 3.2(2026-12-01): 머리줄 → 디스플레이 → 상세 내역 카드 → 주의 카드 → 단추 ── */
.result { padding: 14px; }
.reshead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 2px 4px 12px; }
.rhico { width: 26px; height: 26px; flex-shrink: 0; display: flex; }
.rhico svg { width: 100%; height: 100%; }
.reshead > b { font-size: .95rem; font-weight: 800; letter-spacing: -.01em; }
.rpill { font-size: .74rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: rgba(141,240,196,.14); color: #8DF0C4; }
.rpill.ex { background: rgba(255,214,102,.16); color: #FFD666; }
.rpill.bad { background: rgba(255,138,122,.18); color: #FFB4A8; }
.rhint { margin-left: auto; font-size: .78rem; color: rgba(255,255,255,.6); }
.result .mains { padding: 22px 20px; gap: 0; }
.result .mains.stack { gap: 16px; }
/* 큰 글씨 + 폰: 9자리 금액이 화면보다 넓어지지 않게 화면 폭에 맞춰 줄인다(칸 밖으로 밀어내지 않음) */
.two > * { min-width: 0; }
@media (max-width: 600px) { .result .m.big .mv, html.big .result .m.big .mv { font-size: min(2.25rem, 9.4vw); } }
.result .mv { overflow-wrap: anywhere; }
.result .mains.stack > .m + .m { padding-top: 16px; border-top: 1px dashed rgba(141,240,196,.28); }
.msub { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(141,240,196,.28); }
.msub .m { padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(141,240,196,.12); min-width: 0; }
.msub .ml { font-size: .76rem; }
.msub .mv, .msub .m.big .mv { font-size: 1.12rem; font-weight: 780; letter-spacing: -.02em; line-height: 1.3; overflow-wrap: anywhere; }
.msub.one .m { background: none; box-shadow: none; padding: 0; }
.msub.one .mv { font-size: 1.3rem; }
.subbox { margin-top: 12px; padding: 4px 16px 2px; border-radius: 18px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(150,200,255,.13); }
.rh { margin: 10px 0 0; font-size: .76rem; font-weight: 800; letter-spacing: .02em; color: rgba(255,255,255,.55); }
.result .subs { margin: 0; gap: 0; grid-template-columns: 1fr auto; }   /* 숫자 칸이 먼저 자리를 잡고, 이름이 줄바꿈 */
.result .subs dt { padding-right: 12px; }
.result .subs dd { overflow-wrap: anywhere; }
.ri { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 900; margin-top: 1px; }
.result .rwarn { display: flex; gap: 10px; margin: 12px 0 0; padding: 12px 14px; border: 0; border-radius: 16px; background: rgba(242,153,74,.11); box-shadow: inset 0 0 0 1px rgba(242,153,74,.32); }
.rwarn .ri { background: #F2994A; color: #0A1828; }
.rwarn b, .result .err b { font-size: .84rem; font-weight: 800; color: #FFD2A6; }
.rwarn p { margin: 3px 0 0; font-size: .84rem; line-height: 1.65; color: #EAF0F5; }
.result .err { display: flex; gap: 10px; margin: 0; padding: 14px; border-radius: 16px; color: #fff; font-weight: 400; background: rgba(255,120,100,.11); box-shadow: inset 0 0 0 1px rgba(255,138,122,.35); }
.result .err .ri { background: #FF8A7A; color: #0A1828; }
.result .err b { color: #FFB4A8; }
.result .err p { margin: 4px 0 10px; font-size: .9rem; font-weight: 600; line-height: 1.55; color: #FFE3DE; }
.result .sched { margin: 12px 0 0; padding: 0 16px; border: 0; border-radius: 18px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(150,200,255,.13); }
.result th { background: #10263B; }
.resact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 2px 2px; }
.rbtn { min-height: 48px; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(141,240,196,.45); background: rgba(141,240,196,.1); color: #fff;
  font: inherit; font-size: .9rem; font-weight: 750; cursor: pointer; }
.rbtn:hover { background: rgba(141,240,196,.2); border-color: #8DF0C4; }
.rbtn:focus-visible { outline: 3px solid #8DF0C4; outline-offset: 2px; }
.rnote { font-size: .76rem; color: rgba(255,255,255,.55); }
.resact .copybox { flex-basis: 100%; margin-top: 0; }
@media print { .resact { display: none; } }

/* -- input card 3.2 (2026-12-02): head row / unit inside box / option tag / check card / advanced card -- */
.formhead { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 0 0 14px; margin: -4px 0 18px; border-bottom: 1px solid var(--line); }
.fhico { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: #146B62; color: #fff; display: flex; align-items: center; justify-content: center; }
.fhico svg { width: 17px; height: 17px; }
.formhead > b { font-size: .95rem; font-weight: 800; letter-spacing: -.01em; }
.fpill { font-size: .74rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--main2); }
.fhint { margin-left: auto; font-size: .78rem; color: var(--muted); }
.field > label { display: flex; align-items: center; gap: 6px; }
.opt { font-size: .7rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.inrow.box { gap: 0; min-height: 54px; border: 1px solid var(--fieldline); border-radius: 14px; background: var(--field); padding-right: 14px;
  transition: border-color .15s, box-shadow .15s, background .15s; }
.inrow.box input[type=text], .inrow.box input[type=date] { border: 0; background: transparent; min-height: 52px; box-shadow: none; }
.inrow.box input:focus { box-shadow: none; background: transparent; }
.inrow.box:focus-within { border-color: var(--main); background: var(--card); box-shadow: 0 0 0 4px color-mix(in srgb, var(--main) 20%, transparent); }
.inrow.box:has(input.bad) { border-color: var(--err); }
.inrow.box .unit { padding-left: 8px; cursor: text; color: var(--muted); font-weight: 700; }
.kor { align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--main2); }
.kor:empty { display: none; }
.ferr { display: flex; gap: 6px; align-items: flex-start; }
.ferr::before { content: "!"; flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--err); color: #fff; font-size: .72rem; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.ferr[hidden] { display: none; }
.fcheck .check { padding: 8px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--field); line-height: 1.4; }
.fcheck .check:has(input:checked) { border-color: color-mix(in srgb, var(--main) 55%, transparent); background: var(--soft); }
.check input { flex-shrink: 0; }
.adv { margin: 4px 0 18px; padding: 0 14px; border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--main) 3%, var(--card)); }
.adv[open] { padding-bottom: 4px; }
.adv summary { gap: 8px; }
.advn { font-size: .72rem; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--soft); color: var(--main2); }
.adv[open] > summary { border-bottom: 1px dashed var(--line); margin-bottom: 14px; }
.form .actions { padding-top: 16px; border-top: 1px solid var(--line); margin-top: 4px; }
/* big text + phone: row-table cells were cutting values (phone-plans, retire-living-cost) */
@media (max-width: 600px) { html.big .rows .rowin input { font-size: .82rem; padding: 0 6px; } }

/* 3.3 (2026-12-02) keypad hover: box stands out more - colour ring + glow, no movement (3.1 rule) */
.key { transition: background .15s, box-shadow .15s, color .15s; }
.key.fn:first-of-type, .key.fn { --c: #FFC93C; }
.key.fn + .key.fn { --c: #9CC8FF; }
.key.eq { --c: #7CF0B5; }
@media (hover: hover) {
  .key:hover {
    background: linear-gradient(180deg, color-mix(in srgb, var(--c) 26%, #1F3E5E) 0%, color-mix(in srgb, var(--c) 16%, #173350) 100%);
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 85%, #fff), 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent), 0 10px 26px -8px color-mix(in srgb, var(--c) 60%, transparent);
  }
  .key:hover .kico { color: color-mix(in srgb, var(--c) 30%, #fff); }
  .key:hover .kn { color: #fff; }
  .key.eq:hover { background: linear-gradient(180deg, #2DD388 0%, #18A270 100%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.75), 0 0 0 4px rgba(124,240,181,.28), 0 10px 26px -8px rgba(34,181,116,.8); }
  .key.eq:hover .kico { color: #fff; }
}
.key:focus-visible { outline: none; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--c) 85%, #fff), 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent); }

/* 3.3 (2026-12-02) home "frequent" cards hover: category colour border + glow + tint, no movement */
.freq { transition: border-color .15s, box-shadow .15s, background .15s; }
.freq .fq-go { transition: color .15s; }
@media (hover: hover) {
  .freq:hover {
    border-color: var(--c);
    background: color-mix(in srgb, var(--c) 7%, var(--card));
    box-shadow: inset 0 0 0 1px var(--c), 0 0 0 4px color-mix(in srgb, var(--c) 16%, transparent), 0 12px 28px -10px color-mix(in srgb, var(--c) 45%, transparent);
  }
  .freq:hover .fq-ico, .freq:hover .fq-go { color: var(--c); }
  .freq:hover .fq-t b { color: color-mix(in srgb, var(--c) 45%, var(--ink)); }
}
.freq:focus-visible { outline: none; border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c), 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); }
@media (hover: hover) and (prefers-color-scheme: dark) {
  .freq:hover { background: color-mix(in srgb, var(--c) 12%, var(--card)); }
  .freq:hover .fq-ico, .freq:hover .fq-go { color: color-mix(in srgb, var(--c) 60%, #fff); }
  .freq:hover .fq-t b { color: #fff; }
}

/* -- guide + FAQ 3.2 (2026-12-02): two cards with icon head, Q/A circles -- */
.guide { margin-top: 36px; display: grid; gap: 16px; }
.gcard { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 20px 20px 18px; box-shadow: var(--shadow); }
.ghead { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.guide .ghead h2 { margin: 0; font-size: 1.12rem; line-height: 1.4; }
.guide .ghead h2::before { display: none; }
.gico { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; background: #146B62; color: #fff; display: flex; align-items: center; justify-content: center; }
.gico svg { width: 19px; height: 19px; }
.gcount { margin-left: auto; flex-shrink: 0; font-size: .74rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--main2); }
.guse > p { margin: 0; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--main) 6%, var(--card)); border-left: 4px solid var(--main); color: var(--ink2); line-height: 1.75; }
.gfaq .faq { margin: 0; padding: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.gfaq .ghead + .faq { border-top: 0; }
.gfaq .faq summary { display: flex; align-items: flex-start; gap: 10px; padding: 14px 0; list-style: none; }
.gfaq .faq summary::-webkit-details-marker { display: none; }
.gfaq .faq summary::after { content: "+"; margin-left: auto; padding-left: 8px; font-size: 1.3rem; font-weight: 400; line-height: 1.1; color: var(--muted); }
.gfaq .faq[open] summary::after { content: "\2013"; color: var(--main); }
.gfaq .faq summary:hover .qt { color: var(--main2); }
.qt { flex: 1; min-width: 0; padding-top: 1px; }
.qa { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 900; }
.qa.q { background: #146B62; color: #fff; }
.qa.a { background: var(--soft); color: var(--main2); }
.ans { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--field); }
.gfaq .ans p { margin: 0; padding: 2px 0 0; flex: 1; min-width: 0; }
.gnote { margin: 4px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .8rem; color: var(--muted); line-height: 1.6; }
@media (min-width: 900px) { .guide { grid-template-columns: 2fr 3fr; align-items: start; } }
@media print { .gfaq .faq:not([open]) .ans { display: block; } }

/* ===== basis card 3.2 (2026-12-02) ===== */
.basis.b32 { padding: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.basis.b32 > summary { gap: 12px; padding: 14px 18px; min-height: 64px; color: var(--ink); font-size: 1rem; }
.basis.b32 > summary:hover { background: color-mix(in srgb, var(--main) 4%, var(--card)); }
.basis.b32 > summary:focus-visible { outline: 3px solid var(--main); outline-offset: -3px; }
.basis.b32 > summary::after { margin-left: 4px; flex-shrink: 0; }
.basis.b32[open] > summary::after { content: "\2013"; }
.basis.b32 .bt { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.basis.b32 .bt b { font-weight: 800; }
.basis.b32 .bt small { font-size: .76rem; font-weight: 600; color: var(--muted); }
.bpill { margin-left: auto; flex-shrink: 0; font-size: .74rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--main2); white-space: nowrap; }
.bpill::before { content: "\2713 "; }
.bpill.est { background: var(--warnbg); color: #9A4308; }
.bpill.est::before { content: "! "; }
.bbody { padding: 4px 18px 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.bh { margin: 10px 0 0; font-size: .78rem; font-weight: 800; color: var(--ink2); display: flex; align-items: center; gap: 8px; }
.bh::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: var(--main); }
.bformula { margin: 0; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--main) 6%, var(--card)); border-left: 4px solid var(--main);
  color: var(--ink2); line-height: 1.75; font-size: .9rem; word-break: keep-all; overflow-wrap: anywhere; }
.bcards { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.bcards .polcard { display: grid; gap: 8px; padding: 14px 16px 12px; border-radius: 16px; }
.ball { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; margin-top: 4px; border-radius: 12px;
  border: 1px solid var(--line); color: var(--main2); font-weight: 700; font-size: .86rem; text-decoration: none; }
.ball:hover { border-color: var(--main); }
@media (prefers-color-scheme: dark) { .bpill.est { color: #F7B37A; } }
@media print { .basis.b32 .ball { display: none; } }
.basis.b32 .bt small { white-space: nowrap; }
.bpill { display: inline-flex; align-items: center; gap: 4px; }
.bpill::before { content: "\2713"; }
.bpill.est::before { content: "!"; }
@media (max-width: 380px) { .basis.b32 > summary { gap: 10px; padding: 12px 14px; } .bbody { padding: 4px 14px 16px; } }

/* ===== header + footer 3.2 (2026-12-02) ===== */
.top { border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset; }
.toprow { min-height: 60px; }
.brand { font-size: 1rem; }
.top .tool { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 5px 12px 5px 6px; font-weight: 700; font-size: .86rem;
  border-color: var(--line); background: var(--card); }
.top .tool:hover { border-color: var(--main); color: var(--main2); }
.top .tool:focus-visible { outline: 3px solid var(--main); outline-offset: 2px; }
.top .tool[href$="#q"] { padding: 0; width: 42px; justify-content: center; }
.tico { width: 28px; height: 28px; flex-shrink: 0; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 900; line-height: 1; background: var(--soft); color: var(--main2); }
.tfav .tico { background: #FFF3C4; color: #B7791F; }
.tool.tbig[aria-pressed="true"] { background: #146B62; border-color: #146B62; color: #fff; }
.tool.tbig[aria-pressed="true"] .tico { background: rgba(255,255,255,.2); color: #fff; }
.back { gap: 0; font-weight: 800; }
.back:hover { color: var(--main2); }
@media (max-width: 599px) { .top .tfav { padding: 0; width: 42px; justify-content: center; } .top .tfav .tico { background: transparent; } }
@media (max-width: 360px) { .top .tool.tbig { padding-right: 9px; font-size: .8rem; } .tico { width: 24px; height: 24px; } }
@media (prefers-color-scheme: dark) {
  .tfav .tico { background: #3A2F10; color: #F5C451; }
  .top { box-shadow: none; }
}

.foot.f32 { margin: 40px 0 48px; padding: 22px 20px 18px; border: 0; border-radius: 28px; color: #C9D6E3; font-size: .8rem;
  background: linear-gradient(160deg, #15324D 0%, #0E2236 55%, #0A1828 100%); box-shadow: 0 24px 50px -30px rgba(10,24,40,.6); }
@media (prefers-color-scheme: dark) { .foot.f32 { box-shadow: inset 0 0 0 1px rgba(150,200,255,.18); } }
.fbrand { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.fbrand .logo { width: 34px; height: 34px; }
.fname { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.fname b { color: #fff; font-size: .98rem; letter-spacing: -.02em; }
.fname small { color: #9FB3C8; font-size: .76rem; }
.fcount { margin-left: auto; flex-shrink: 0; padding: 4px 11px; border-radius: 999px; background: rgba(46,204,140,.16); color: #8DF0C4; font-weight: 800; font-size: .74rem; white-space: nowrap; }
.foot.f32 .footnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.foot.f32 .footnav a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border-radius: 14px; color: #fff; font-weight: 700; font-size: .86rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); text-decoration: none; }
.foot.f32 .footnav a:hover { border-color: #5FD8A6; background: rgba(95,216,166,.1); color: #fff; }
.foot.f32 .footnav a:focus-visible { outline: 3px solid #5FD8A6; outline-offset: 2px; }
.foot.f32 .fico { width: 28px; height: 28px; margin: 0; flex-shrink: 0; border: 0; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: rgba(95,216,166,.16); color: #8DF0C4; }
.foot.f32 .fico svg { width: 16px; height: 16px; }
.fpromise { display: grid; gap: 8px; }
.fpromise > div { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: rgba(0,0,0,.18); }
.foot.f32 .fpromise .fico { background: rgba(255,255,255,.08); color: #BFD3E6; }
.fpromise p { margin: 3px 0 0; line-height: 1.6; color: #C9D6E3; word-break: keep-all; overflow-wrap: anywhere; }
@media (min-width: 768px) {
  .foot.f32 { padding: 26px 28px 22px; }
  .foot.f32 .footnav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fpromise { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fpromise > div { flex-direction: column; gap: 8px; }
  .fpromise p { margin: 0; }
}
.fname b { word-break: keep-all; }
@media (max-width: 767px) {
  .foot.f32 { padding: 18px 14px 14px; }
  .foot.f32 .footnav a { gap: 7px; padding: 0 9px; font-size: .8rem; word-break: keep-all; }
  .foot.f32 .fico { width: 24px; height: 24px; border-radius: 8px; }
  .foot.f32 .fico svg { width: 14px; height: 14px; }
  .calc .foot.f32 { margin-bottom: 104px; }
}
@media (max-width: 599px) { html.big .foot.f32 .footnav { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) {
  html.big .top .tools { gap: 4px; }
  html.big .top .tool.tbig { padding: 0 10px; }
  html.big .top .tool.tbig .tico { display: none; }
}

/* ===== home search 3.2 (2026-12-02) — one box: icon tile + input + clear + button ===== */
.searchrow.s32 { display: flex; align-items: center; gap: 6px; padding: 6px; margin: 12px 0 8px; border-radius: 20px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(150,200,255,.32); transition: border-color .15s, box-shadow .15s; }
.searchrow.s32:focus-within { border-color: #8DF0C4; box-shadow: 0 0 0 4px rgba(141,240,196,.2); }
.sico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(141,240,196,.14); color: #8DF0C4; cursor: text; }
.sico svg { width: 20px; height: 20px; }
.device .searchrow.s32 .search { flex: 1; min-width: 0; min-height: 48px; padding: 0 4px; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  color: #fff; font-weight: 600; font-size: 1rem; }
.device .searchrow.s32 .search:focus { box-shadow: none; outline: none; }
.device .searchrow.s32 .search::placeholder { color: #A9BCCF; font-weight: 500; }
.searchrow.s32 .search::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.sclr { width: 40px; height: 40px; flex-shrink: 0; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.sclr:hover { background: rgba(255,255,255,.18); }
.sclr[hidden] { display: none; }
.searchrow.s32 .gobtn { min-height: 48px; padding: 0 18px; border-radius: 14px; }
.searchrow.s32 .gobtn::after { content: " \203A"; }
.searchrow.s32 button:focus-visible, .shints button:focus-visible { outline: 3px solid #8DF0C4; outline-offset: 2px; }
.shints { display: flex; align-items: center; gap: 6px; margin: 0 2px 12px; overflow-x: auto; scrollbar-width: none; }
.shints::-webkit-scrollbar { display: none; }
.shl { flex-shrink: 0; font-size: .74rem; font-weight: 700; color: #9FB3C8; margin-right: 2px; }
.shints button { flex-shrink: 0; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(150,200,255,.24); background: rgba(255,255,255,.05);
  color: #DCE7F2; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.shints button:hover { border-color: #8DF0C4; color: #8DF0C4; }
.hero.searching .shints { display: none; }
@media (max-width: 420px) {
  .sico { width: 38px; height: 38px; border-radius: 12px; }
  .searchrow.s32 .gobtn { padding: 0 13px; }
  .searchrow.s32 .gobtn::after { content: none; }
  .shl { display: none; }
}
@media (max-width: 360px) { .sico { display: none; } .device .searchrow.s32 .search { padding-left: 8px; } }
@media (max-width: 420px) { html.big .sico { display: none; } html.big .device .searchrow.s32 .search { padding-left: 8px; } }
@media (max-width: 360px) { html.big .device .searchrow.s32 .search::placeholder { font-size: .8em; } }

/* ===== home keypad 3.2 (2026-12-02) — icon tile + name + count pill; no movement (3.1) ===== */
.khead { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 4px 8px; }
.khl { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 800; color: #DCE7F2; }
.khl::before { content: ""; width: 4px; height: 13px; border-radius: 2px; background: #5FD8A6; }
.khc { font-size: .7rem; font-weight: 700; color: #9FB3C8; }
.hero.searching .khead { display: none; }
.k32 .key { gap: 7px; padding: 12px 4px 10px; justify-content: flex-start; min-height: 0; }
.k32 .kico { width: 40px; height: 40px; border-radius: 13px; align-items: center; justify-content: center; flex-shrink: 0;
  background: color-mix(in srgb, var(--c) 24%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 34%, transparent); }
.k32 .kico svg { width: 22px; height: 22px; }
.k32 .kico.sym { width: 40px; height: 40px; line-height: 1; font-size: 1.15rem; font-weight: 800; }
.k32 .key.fn .kico.sym { color: var(--c); }
.k32 .key.eq .kico { background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); color: #fff; }
.k32 .kc { top: 6px; right: 6px; min-width: 20px; padding: 1px 6px; border-radius: 999px; text-align: center; line-height: 1.5;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.78); font-size: .64rem; font-weight: 700; }
.k32 .kn { font-size: .76rem; }
.k32 .key.eq .kn { font-weight: 800; }
@media (hover: hover) { .k32 .key:hover .kico { background: color-mix(in srgb, var(--c) 38%, transparent); } .k32 .key:hover .kc { background: rgba(255,255,255,.18); color: #fff; } }
@media (min-width: 600px) { .k32 .key { padding: 14px 6px 12px; } .k32 .kico, .k32 .kico.sym { width: 44px; height: 44px; } .k32 .kn { font-size: .8rem; } }
@media (max-width: 380px) { .k32 .kico, .k32 .kico.sym { width: 34px; height: 34px; border-radius: 11px; } .k32 .kico svg { width: 19px; height: 19px; } .k32 .kc { top: 4px; right: 4px; padding: 0 5px; } }
@media (max-width: 599px) { .k32 .key { padding-top: 21px; } .k32 .kc { top: 4px; right: 4px; padding: 0 5px; font-size: .6rem; } }
@media (max-width: 599px) { html.big .k32 .key { padding-top: 28px; } }
.k32 .kn .nw { white-space: nowrap; }
@media (max-width: 599px) { .k32 .key .kn { letter-spacing: -.035em; } }
.k32 .kn { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 360px) { .k32 .kn { font-size: .7rem; } }
@media (max-width: 420px) { html.big .k32 .kn { font-size: .66rem; } }

/* ===== home "frequent" cards 3.2 (2026-12-02) — top row + name + mini navy display; no movement ===== */
.freq.fq32 { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-height: 0; padding: 12px 12px 12px; border-radius: 20px; }
.fq32 .fq-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fq32 .fq-tile { width: 36px; height: 36px; flex-shrink: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 14%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 26%, transparent); }
.fq32 .fq-ico { color: var(--c); padding: 0; border: 0; }
.fq32 .fq-ico svg { width: 20px; height: 20px; }
.fq32 .fq-cat { flex: 1; min-width: 0; font-size: .72rem; font-weight: 800; color: color-mix(in srgb, var(--c) 70%, var(--ink)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.freq.fq32 .fq-go { position: static; flex-shrink: 0; font-size: 1.3rem; }
.fq32 .fq-name { font-size: .92rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
.fq32 .fq-ex { display: flex; flex-direction: column; gap: 1px; margin-top: auto; padding: 8px 10px; border-radius: 12px; min-width: 0;
  background: linear-gradient(160deg, #10393C 0%, #0A2229 100%); box-shadow: inset 0 0 0 1px rgba(124,240,184,.2); }
.fq32 .fq-ex small { font-size: .66rem; font-weight: 700; color: rgba(255,255,255,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fq32 .fq-ex strong { font-size: .98rem; font-weight: 800; color: #8DF0C4; letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; line-height: 1.3; }
@media (min-width: 768px) {
  .freq.fq32 { padding: 14px 14px 14px; gap: 12px; }
  .freq.fq32 .fq-ico { padding-right: 0; border-right: 0; }
  .fq32 .fq-tile { width: 40px; height: 40px; }
  .fq32 .fq-ico svg { width: 22px; height: 22px; }
  .fq32 .fq-name { font-size: 1rem; }
  .fq32 .fq-ex strong { font-size: 1.08rem; }
}
@media (hover: hover) {
  .freq.fq32:hover .fq-tile { background: color-mix(in srgb, var(--c) 22%, var(--card)); }
  .freq.fq32:hover .fq-ex { box-shadow: inset 0 0 0 1px rgba(124,240,184,.45); }
}
@media (prefers-color-scheme: dark) {
  .fq32 .fq-tile { background: color-mix(in srgb, var(--c) 20%, var(--card)); }
  .fq32 .fq-ico, .fq32 .fq-cat { color: color-mix(in srgb, var(--c) 60%, #fff); }
  .fq32 .fq-name { color: #fff; }
}
.fq32 .fq-ex small, .fq32 .fq-cat { white-space: normal; overflow: visible; text-overflow: clip; word-break: keep-all; overflow-wrap: anywhere; line-height: 1.35; }
@media (max-width: 599px) {
  .freq.fq32 { padding: 10px; gap: 8px; }
  .fq32 .fq-ex { padding: 7px 8px; }
  .fq32 .fq-ex strong { font-size: min(.98rem, 4.5vw); letter-spacing: -.03em; }
}

/* ===== home category chips 3.2 (2026-12-02) — icon tile + name + count pill; home only (.cat32); no movement ===== */
.catchips.cat32 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cat32 .catchip { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 10px 8px 8px; border-radius: 16px; justify-content: flex-start;
  white-space: normal; font-size: .9rem; transition: border-color .15s, box-shadow .15s, background .15s; }
.cat32 .ct-tile { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 14%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 26%, transparent); }
.cat32 .ct-tile .fq-ico { color: var(--c); }
.cat32 .ct-tile .fq-ico svg { width: 20px; height: 20px; }
.cat32 .ct-n { flex: 1; min-width: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; word-break: keep-all; overflow-wrap: anywhere; }
.cat32 .ctc { flex-shrink: 0; min-width: 26px; padding: 2px 8px; border-radius: 999px; text-align: center; font-size: .72rem; font-weight: 800; font-variant-numeric: tabular-nums;
  background: var(--field); color: var(--ink2); }
@media (min-width: 600px) { .catchips.cat32 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .catchips.cat32 { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; } }
@media (hover: hover) {
  .cat32 .catchip:hover { border-color: var(--c); background: color-mix(in srgb, var(--c) 6%, var(--card));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 16%, transparent), 0 10px 22px -14px color-mix(in srgb, var(--c) 60%, transparent); }
  .cat32 .catchip:hover .ct-tile { background: color-mix(in srgb, var(--c) 24%, var(--card)); }
  .cat32 .catchip:hover .ctc { background: color-mix(in srgb, var(--c) 18%, var(--card)); color: color-mix(in srgb, var(--c) 70%, var(--ink)); }
}
.cat32 .catchip:focus-visible { outline: none; border-color: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 24%, transparent); }
@media (prefers-color-scheme: dark) {
  .cat32 .ct-tile { background: color-mix(in srgb, var(--c) 20%, var(--card)); }
  .cat32 .ct-tile .fq-ico { color: color-mix(in srgb, var(--c) 60%, #fff); }
  @media (hover: hover) { .cat32 .catchip:hover { background: color-mix(in srgb, var(--c) 12%, var(--card)); } .cat32 .catchip:hover .ctc { color: #fff; } }
}
.cat32 .ct-n { display: flex; flex-direction: column; gap: 1px; }
.cat32 .ct-n b { font-weight: 800; }
.cat32 .ct-n small { font-size: .7rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cat32 .ct-go { flex-shrink: 0; color: var(--muted); font-size: 1.25rem; font-weight: 300; line-height: 1; }
@media (hover: hover) { .cat32 .catchip:hover .ct-go, .cat32 .catchip:hover .ct-n small { color: color-mix(in srgb, var(--c) 70%, var(--ink)); } }
@media (max-width: 380px) { .cat32 .catchip { gap: 8px; padding-right: 8px; } .cat32 .ct-tile { width: 34px; height: 34px; } .cat32 .ct-go { display: none; } }
@media (prefers-color-scheme: dark) { @media (hover: hover) { .cat32 .catchip:hover .ct-go, .cat32 .catchip:hover .ct-n small { color: color-mix(in srgb, var(--c) 55%, #fff); } } }
@media (max-width: 380px) { html.big .cat32 .ct-n small { white-space: normal; word-break: keep-all; } }

/* ===== home bundle ("situation") cards 3.2 (2026-12-02) — number tile + category icons + name + desc + count pill; no movement ===== */
.set32 { counter-reset: none; }
.set32 .set { counter-increment: none; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 12px; min-height: 0;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; box-shadow: none; transform: none;
  transition: border-color .15s, box-shadow .15s, background .15s; }
.set32 .set::before { content: none; display: none; }
.set32 .set:hover, .set32 .set:active { transform: none; }
.st-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.st-no { width: 34px; height: 34px; flex-shrink: 0; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #15324D 0%, #0A1828 100%); color: #8DF0C4; font-size: .8rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.st-cats { display: flex; gap: 4px; margin-left: auto; }
.st-cat { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 24%, transparent); }
.st-cat svg { width: 15px; height: 15px; }
.st-more { height: 26px; padding: 0 6px; border-radius: 8px; display: inline-flex; align-items: center; font-size: .68rem; font-weight: 800; color: var(--muted); background: var(--field); }
.set32 .sn { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
.set32 .sd { font-size: .8rem; color: var(--muted); line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.st-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); }
.set32 .sc { margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--main2); font-size: .74rem; font-weight: 800; white-space: nowrap; }
.st-go { color: var(--muted); font-size: 1.3rem; font-weight: 300; line-height: 1; }
@media (hover: hover) {
  .set32 .set:hover { border-color: var(--main); background: color-mix(in srgb, var(--main) 4%, var(--card));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--main) 16%, transparent), 0 12px 24px -16px color-mix(in srgb, var(--main) 60%, transparent); }
  .set32 .set:hover .st-go { color: var(--main); }
}
.set32 .set:focus-visible { outline: none; border-color: var(--main); box-shadow: 0 0 0 4px color-mix(in srgb, var(--main) 26%, transparent); }
@media (prefers-color-scheme: dark) {
  .st-cat { color: color-mix(in srgb, var(--c) 60%, #fff); background: color-mix(in srgb, var(--c) 20%, var(--card)); }
  .st-no { box-shadow: inset 0 0 0 1px rgba(150,200,255,.2); }
  .set32 .sn { color: #fff; }
  @media (hover: hover) { .set32 .set:hover { background: color-mix(in srgb, var(--main) 10%, var(--card)); } }
}

/* ===== home trust cards 3.2 (2026-12-02) — navy icon tile + title + text + link line; no movement ===== */
.trust.tr32 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 0; }
.tr32 .tr { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 20px;
  background: var(--card); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.tr-ico { width: 40px; height: 40px; margin-bottom: 6px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #15324D 0%, #0A1828 100%); color: #8DF0C4; }
.tr-ico svg { width: 21px; height: 21px; }
.tr32 .tr b { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.tr32 .tr > span:not(.tr-ico):not(.tr-go) { font-size: .82rem; color: var(--muted); line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.tr-go { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .78rem; font-weight: 800; color: var(--main2); word-break: keep-all; overflow-wrap: anywhere; }
.tr-go.muted { color: var(--muted); font-weight: 700; }
.tr32 .tr > .tr-go { margin-top: 8px; }
@media (min-width: 768px) { .trust.tr32 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (hover: hover) {
  .tr32 a.tr:hover { border-color: var(--main); background: color-mix(in srgb, var(--main) 4%, var(--card));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--main) 16%, transparent), 0 12px 24px -16px color-mix(in srgb, var(--main) 60%, transparent); }
  .tr32 a.tr:hover b { color: var(--ink); }
}
.tr32 a.tr:focus-visible { outline: none; border-color: var(--main); box-shadow: 0 0 0 4px color-mix(in srgb, var(--main) 26%, transparent); }
@media (prefers-color-scheme: dark) {
  .tr-ico { box-shadow: inset 0 0 0 1px rgba(150,200,255,.2); }
  .tr32 .tr b { color: #fff; }
  @media (hover: hover) { .tr32 a.tr:hover { background: color-mix(in srgb, var(--main) 10%, var(--card)); } .tr32 a.tr:hover b { color: #fff; } }
}

/* ===== home display (LCD) 3.2 (2026-12-02) — pill + name + nav, inputs (2 lines), number, label + CTA; no auto-advance (3.1) ===== */
.lcd32 { gap: 4px; }
.lcd32 .lcd-top { gap: 8px; min-width: 0; }
.lcd-pill { flex-shrink: 0; padding: 2px 9px; border-radius: 999px; background: #FFE08A; color: #5A4300; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.lcd32 .lcd-tag { flex: 1; min-width: 0; color: #fff; font-size: .8rem; font-weight: 800; }
.lcd-nav { display: flex; align-items: center; flex-shrink: 0; margin-right: -6px; }
.lcd-arr { width: 30px; height: 30px; border: 0; border-radius: 9px; background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; }
.lcd-arr:hover { background: rgba(141,240,196,.22); color: #8DF0C4; }
.lcd32 .lcd-dots button { width: 16px; }
.lcd32 .lcd-dots button::before { transition: none; }
.lcd-arr:focus-visible, .lcd32 .lcd-dots button:focus-visible { outline: 2px solid #8DF0C4; outline-offset: 1px; }
.lcd32 .lcd-said { white-space: normal; overflow: hidden; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  line-height: 1.5; margin-top: 6px; padding-left: 9px; border-left: 2px solid rgba(141,240,196,.45); word-break: keep-all; }
.lcd-bot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.lcd32 .lcd-lab { margin: 0; text-align: right; }
.lcd-cnt { font-size: .68rem; font-weight: 700; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
.lcd-cta { padding: 5px 11px; border-radius: 999px; background: #138A60; color: #fff; font-size: .74rem; font-weight: 800; white-space: nowrap; }
.lcd32:hover .lcd-cta { background: #17A271; }
.lcd32:hover .lcd-lab { text-decoration: none; color: #8DF0C4; }
@media (max-width: 380px) { .lcd32 .lcd-dots { display: none; } .lcd-pill { padding: 2px 7px; } }
@media (max-width: 380px) { html.big .lcd-cnt { display: none; } }
.acard small { overflow-wrap: anywhere; }

/* ===== touch targets (2026-12-02) — phones/tablets only (pointer: coarse): small links/buttons grow to 44px tall; desktop unchanged ===== */
@media (pointer: coarse) {
  .brand, .back { min-height: 44px; }
  .calchead .crumb { min-height: 44px; }
  .lcd-arr { width: 42px; height: 42px; }
  .lcd-nav { gap: 2px; }
  .shints button { min-height: 42px; padding: 0 14px; }
  .pc-links a { min-height: 44px; }
  .pc-used a { min-height: 44px; padding: 0 12px; }
}
