/* calc site 공통 스타일 (시안 v1)
   디자인 기준: 결과를 '명세서'로 보여 준다. 숫자가 어떻게 나왔는지 줄마다 보이는 것이 신뢰의 근거.
   나머지는 조용하게: 카드 남발 없이 여백과 얇은 선으로만 구획한다. */

:root {
  --bg: #eef1f4;
  --paper: #ffffff;
  --ink: #14213d;
  --ink-2: #4a5568;
  --rule: #d5dbe3;
  --field: #b9c2ce;
  --accent: #0b7a6b;
  --accent-soft: #e3f2ef;
  --mark: #ffe45c;
  --notice-bg: #fff4e5;
  --notice-line: #d97706;
  --font: "Pretendard Variable", Pretendard, "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* 시안 표시줄 (실제 사이트에서는 제거) */
.draft {
  background: var(--ink);
  color: #fff;
  font-size: .85rem;
  text-align: center;
  padding: 6px 12px;
}

/* 머리글 */
.site-head { background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-head .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0 6px; }
.brand { flex: none; white-space: nowrap; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.brand small { font-size: .75rem; font-weight: 500; color: var(--ink-2); margin-left: 6px; }
.search {
  flex: 0 1 280px;
  height: 40px;
  border: 1px solid var(--field);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  font-size: 1rem;
  background: var(--bg);
}
.cats { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-bottom: 0; }
.cats::-webkit-scrollbar { display: none; }
.cats a {
  flex: none;
  padding: 10px 12px 11px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: .95rem;
  border-bottom: 3px solid transparent;
}
.cats a:hover { color: var(--ink); }
.cats a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--accent); }

/* 경로 표시 */
.crumbs { font-size: .875rem; color: var(--ink-2); padding: 18px 0 0; }
.crumbs a { color: var(--ink-2); }
.crumbs span { margin: 0 6px; color: var(--field); }

/* 페이지 제목 */
.page-head { padding: 12px 0 0; }
.page-head h1 { font-size: clamp(1.75rem, 4.2vw, 2.5rem); line-height: 1.25; letter-spacing: -.03em; margin: 0 0 10px; }
.lede { color: var(--ink-2); max-width: 36em; margin: 0; font-size: 1.05rem; }

/* 계산기: 입력 + 명세서 */
.calc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin: 28px 0 8px; }
@media (min-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; }
  .calc .receipt-col { position: sticky; top: 16px; }
}

.panel { background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; }
.panel h2 { font-size: 1.1rem; margin: 0 0 18px; letter-spacing: -.01em; }
.field { margin: 0 0 18px; }
.field:last-child { margin-bottom: 0; }
.field label, .field .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.hint { display: block; font-size: .85rem; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin-bottom: 18px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }

input[type="text"], input[type="date"], input[type="tel"], select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--field);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
input:focus, select:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.input-unit { position: relative; }
.input-unit input { padding-right: 44px; text-align: right; font-variant-numeric: tabular-nums; }
.input-unit .unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* 명세서: 이 사이트의 대표 요소 */
.receipt {
  position: relative;
  background: var(--paper);
  border-top: 4px solid var(--accent);
  padding: 22px 24px 26px;
  margin-bottom: 14px;
}
.receipt::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 10px;
  background:
    linear-gradient(135deg, var(--paper) 5px, transparent 0) 0 0 / 10px 10px,
    linear-gradient(225deg, var(--paper) 5px, transparent 0) 0 0 / 10px 10px;
}
.receipt h2 { font-size: 1.1rem; margin: 0 0 14px; }
.receipt .asof { font-size: .8rem; color: var(--ink-2); }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; }
.line .k { color: var(--ink-2); font-size: .95rem; }
.line .dots { flex: 1; min-width: 12px; border-bottom: 1px dotted #a7b1be; transform: translateY(-4px); }
.line .v { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line.main .k { color: var(--ink); font-weight: 600; }
.line.note .k { font-size: .85rem; }
.tear { border: 0; border-top: 1px dashed var(--field); margin: 12px 0; }
.total { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 8px; }
.total .k { font-weight: 700; padding-bottom: 6px; }
.total .v { font-size: clamp(1.75rem, 5vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; text-align: right; }
.mark { background: linear-gradient(transparent 58%, var(--mark) 58%); padding: 0 4px; }
/* 추정형: 한 점이 아니라 범위로 보여 준다 */
.rangebar { margin: 14px 0 4px; }
.rangebar .track { position: relative; height: 10px; border-radius: 999px; background: var(--accent-soft); }
.rangebar .fill { position: absolute; top: 0; bottom: 0; left: 0; right: 0; border-radius: 999px; background: var(--accent); opacity: .35; }
.rangebar .typ { position: absolute; top: -5px; width: 4px; height: 20px; border-radius: 2px; background: var(--ink); transform: translateX(-2px); }
.rangebar .ends { display: flex; justify-content: space-between; font-size: .85rem; color: var(--ink-2); margin-top: 10px; font-variant-numeric: tabular-nums; }
.rangebar .ends b { color: var(--ink); font-weight: 700; }
.empty { color: var(--ink-2); margin: 0; padding: 12px 0; }
.empty strong { color: var(--ink); }
.notice { background: var(--notice-bg); border-left: 4px solid var(--notice-line); padding: 12px 14px; margin: 0 0 14px; font-size: .95rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--ink); background: var(--mark); padding: 1px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }

.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.btn { height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.light { background: #fff; color: var(--accent); border-color: #fff; }

/* 본문 */
.article { max-width: 700px; padding-bottom: 8px; }
.article h2 { font-size: 1.4rem; letter-spacing: -.02em; margin: 52px 0 12px; line-height: 1.4; }
.article h3 { font-size: 1.05rem; margin: 28px 0 8px; }
.article p { margin: 0 0 14px; }
.article ul, .article ol { padding-left: 1.2em; margin: 0 0 14px; }
.article li { margin-bottom: 6px; }
.formula { background: var(--paper); border: 1px solid var(--rule); border-left: 4px solid var(--accent); border-radius: 4px; padding: 16px 20px; margin: 0 0 16px; font-weight: 600; line-height: 1.9; }
.formula small { display: block; font-weight: 400; color: var(--ink-2); }
.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; background: var(--paper); font-size: .95rem; }
th, td { padding: 10px 14px; border-bottom: 1px solid var(--rule); text-align: left; }
th { font-weight: 600; background: #f7f9fb; white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tr.pick td { background: var(--accent-soft); font-weight: 700; }
caption { text-align: left; color: var(--ink-2); font-size: .85rem; padding: 0 0 8px; caption-side: top; }

details { border-top: 1px solid var(--rule); }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style-position: outside; }
details p { margin: 0 0 14px; color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 14px; list-style: none; }
.chips a { display: inline-block; padding: 8px 14px; background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); text-decoration: none; }
.chips a:hover { background: var(--accent-soft); border-color: var(--accent); }
.chips .soon { color: var(--ink-2); font-size: .8rem; margin-left: 4px; }

/* 근거와 기준일 */
.basis { background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 16px 20px; font-size: .9rem; margin-top: 8px; }
.basis dl { margin: 0; display: grid; grid-template-columns: 6em 1fr; gap: 6px 12px; }
.basis dt { color: var(--ink-2); }
.basis dd { margin: 0; }

/* 광고 자리: 높이를 고정해 화면이 밀리지 않게 한다. 계산 버튼과 붙지 않게 여백을 둔다. */
.ad {
  margin: 44px 0;
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed #9aa6b5;
  color: #6b7686;
  font-size: .85rem;
  background: #f7f9fb;
}

/* 견적 연결 자리 */
.lead { background: var(--accent); color: #fff; border-radius: 12px; padding: 26px; margin: 36px 0; max-width: 700px; }
.lead h2 { margin: 0 0 6px; font-size: 1.3rem; color: #fff; }
.lead p { margin: 0 0 16px; color: #e3f2ef; }
.lead .row { margin-bottom: 14px; }
.lead label { color: #fff; font-size: .9rem; font-weight: 600; display: block; margin-bottom: 6px; }
.lead small { display: block; margin-top: 10px; color: #cfe9e4; font-size: .8rem; }

.site-foot { border-top: 1px solid var(--rule); margin-top: 64px; padding: 28px 0 48px; color: var(--ink-2); font-size: .875rem; }
.site-foot p { margin: 0 0 6px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* ---- 생성기 추가분 ---- */
.sub { font-weight: 400; color: var(--ink-2); font-size: .85rem; }
.cats span { display: inline-block; padding: 10px 12px; color: #9aa5b3; white-space: nowrap; font-size: .95rem; }
.params td, .params th { font-size: .875rem; vertical-align: top; }
.params td.val { white-space: normal; min-width: 11em; }
.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.badge.weak { background: #fff3cf; color: #7a5a00; }
.src-list { font-size: .9rem; padding-left: 1.2em; margin: 8px 0 0; }
.src-list li { margin-bottom: 3px; }
.lead-slot { border: 2px dashed var(--field); border-radius: 12px; padding: 22px; margin: 36px 0; color: var(--ink-2); text-align: center; font-size: .95rem; }
.card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.card-list a { display: block; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.card-list a:hover { border-color: var(--accent); }
.card-list strong { display: block; margin-bottom: 4px; }
.card-list span { color: var(--ink-2); font-size: .9rem; }
.article ol.steps { padding-left: 1.4em; }
.field select { width: 100%; }

ul.params { list-style: none; padding: 0; margin: 0 0 14px; }
ul.params li { padding: 12px 0; border-top: 1px solid var(--rule); margin: 0; }
ul.params li:last-child { border-bottom: 1px solid var(--rule); }
ul.params strong { display: block; font-size: .95rem; }
ul.params div { margin: 2px 0 4px; font-variant-numeric: tabular-nums; }
ul.params small { color: var(--ink-2); }

.place { display: grid; grid-template-columns: 5.5em 1fr; gap: 8px; }

/* 접이식 보조 설명 */
.article section.fold { margin: 0; }
.fold details { border-top: 1px solid var(--rule); }
.fold details[open] { padding-bottom: 8px; }
.fold summary { padding: 14px 0; }
.fold summary h2 { display: inline; margin: 0; font-size: 1.05rem; }
.fold details > :not(summary) { margin-top: 4px; }
.more { border: 0 !important; margin: 6px 0 0; }
.more summary { padding: 4px 0; font-weight: 500; color: var(--ink-2); font-size: .95rem; }

/* ---------- 입력 위젯 ---------- */
.field .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.lbl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.lbl-row label { margin: 0; }
.readout { margin: 0; text-align: right; font-size: .85rem; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.readout.bad { color: #b42318; }
input.bad { border-color: #b42318; }

/* 날짜 */
.datebox, .combo { position: relative; }
.datebox input { padding-right: 52px; }
.cal-btn { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; border-radius: 6px; background: none; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.cal-btn:hover, .cal-btn[aria-expanded="true"] { background: var(--accent-soft); color: var(--accent); }
.cal { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: 100%; min-width: 280px; max-width: 340px; background: #fff; border: 1px solid var(--field); border-radius: 12px; box-shadow: 0 10px 30px rgba(20, 33, 61, .18); padding: 12px; }
.cal-head { display: grid; grid-template-columns: 38px 1fr 80px 38px; gap: 6px; margin-bottom: 8px; }
.cal-head select { height: 38px; padding: 0 8px; font-size: .95rem; }
.cal-head .nav { height: 38px; border: 1px solid var(--field); border-radius: 8px; background: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--ink); }
.cal-head .nav:hover { background: var(--accent-soft); }
.cal-wd, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.cal-wd span { font-size: .8rem; color: var(--ink-2); padding: 4px 0; }
.cal-wd .sun, .day.sun { color: #c0392b; }
.cal-wd .sat, .day.sat { color: #1d5fbf; }
.day { position: relative; height: 40px; border: 0; background: none; border-radius: 8px; font: inherit; font-size: .95rem; color: var(--ink); cursor: pointer; }
.day:hover { background: var(--accent-soft); }
.day.peak { background: var(--notice-bg); }
.day.lucky::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent); }
.day.today { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.day.sel, .day.sel:hover { background: var(--accent); color: #fff; box-shadow: none; }
.day.sel.lucky::after { background: #fff; }
.cal-legend { margin: 8px 0 0; font-size: .8rem; color: var(--ink-2); line-height: 1.4; }
.cal-legend .lk { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); vertical-align: middle; margin-right: 2px; }
.cal-foot { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rule); font-size: .9rem; }

/* 지역 검색 */
.combo-list { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0; max-height: 264px; overflow: auto; margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--field); border-radius: 10px; box-shadow: 0 10px 30px rgba(20, 33, 61, .18); }
.combo-list[hidden] { display: none; }
.combo-list li { padding: 10px 12px; border-radius: 6px; cursor: pointer; }
.combo-list li.act, .combo-list li:hover { background: var(--accent-soft); }
.combo-list li.none { color: var(--ink-2); cursor: default; }
.combo-list li.none:hover { background: none; }

/* 선택지가 적을 때: 한 번에 보이는 버튼 */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--field); border-radius: 8px; overflow: hidden; background: #fff; }
.seg button { min-height: 48px; padding: 6px 6px; border: 0; border-left: 1px solid var(--rule); background: #fff; color: var(--ink-2); font: inherit; font-size: .95rem; line-height: 1.3; cursor: pointer; }
.seg button:first-child { border-left: 0; }
.seg button:hover { background: #f6f8fa; }
.seg button.on { background: var(--accent-soft); color: var(--accent); font-weight: 700; box-shadow: inset 0 0 0 2px var(--accent); }

/* 평 / ㎡ 전환 */
.input-unit.has-tog input { padding-right: 96px; }
.unit-tog { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: flex; border: 1px solid var(--field); border-radius: 6px; overflow: hidden; }
.unit-tog button { height: 32px; min-width: 38px; padding: 0 8px; border: 0; background: #fff; color: var(--ink-2); font: inherit; font-size: .9rem; cursor: pointer; }
.unit-tog button + button { border-left: 1px solid var(--field); }
.unit-tog button[aria-pressed="true"] { background: var(--accent); color: #fff; font-weight: 700; }

/* 자주 안 쓰는 입력은 접어 둔다 */
.more-inputs { border-top: 1px solid var(--rule); margin-top: 6px; }
.more-inputs:last-child { border-bottom: 0; }
.more-inputs summary { padding: 14px 0; color: var(--accent); list-style-position: inside; }
.more-inputs[open] summary { padding-bottom: 12px; }

/* 작은 화면에서 결과가 화면 밖일 때 따라다니는 요약 */
.sumbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; font-weight: 700; box-shadow: 0 -4px 16px rgba(20, 33, 61, .25); }
.sumbar[hidden] { display: none; }
.sumbar button { flex: none; height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
@media (min-width: 900px) { .sumbar { display: none !important; } }

/* 저장·공유 */
.actions .btn { height: 42px; padding: 0 14px; font-size: .95rem; }
.actions.sns { margin-top: 10px; align-items: center; gap: 8px; }
.fx-note { margin: 12px 0 0; font-size: .78rem; color: var(--ink-2); line-height: 1.5; }
.fx-note a { color: inherit; }
.sns-label { font-size: .9rem; font-weight: 700; color: var(--ink-2); margin-right: 2px; }
.actions.sns .btn { height: 36px; padding: 0 12px; font-size: .88rem; }
.actions-msg { min-height: 1.4em; margin: 8px 0 0; word-break: break-all; }
.next { margin-top: 18px; }
.next h2 { font-size: 1rem; margin: 0 0 10px; }
.next-item { border: 1px solid var(--line, #e3e3e3); border-left: 4px solid var(--accent, #2f6fed); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; background: #fff; }
.next-item.serious { border-left-color: #d9534f; }
.next-item strong { display: block; font-size: .98rem; margin-bottom: 4px; }
.next-item p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--ink-2); }
.next-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.next-links a { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--accent, #2f6fed); color: var(--accent, #2f6fed); font-size: .88rem; text-decoration: none; }
.print-head { display: none; }

/* PDF·인쇄: 명세서만 깔끔하게 */
@media print {
  @page { margin: 16mm; }
  body { background: #fff; }
  .site-head, .crumbs, .page-head .lede, .calc > form.panel, .ad, .lead-slot, .article, .actions, .sns, .actions-msg, .sumbar, .next, .site-foot { display: none !important; }
  .print-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 8px; color: var(--ink-2); font-size: .9rem; }
  .page-head { margin: 0 0 12px; }
  .wrap { max-width: none; padding: 0; }
  .calc { display: block; margin: 0; }
  .receipt-col { position: static !important; }
  .receipt { box-shadow: none; border: 1px solid var(--rule); border-top: 4px solid var(--accent); break-inside: avoid; }
  .receipt::after { display: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* 사이트 검색 */
.search-box { position: relative; flex: 0 1 320px; min-width: 0; }
.search-box .search { width: 100%; flex: none; }
.search-box .combo-list { left: auto; right: 0; width: min(380px, calc(100vw - 32px)); max-height: 340px; }
.search-box .combo-list li[role="option"] { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.search-box .combo-list small { flex: none; color: var(--ink-2); font-size: .8rem; }
.search-box .combo-list li.head { font-size: .8rem; padding: 6px 12px 2px; }
@media (max-width: 560px) {
  .site-head .bar { gap: 10px; }
  .brand small { display: none; }
  .search-box { flex: 1 1 auto; }
}

/* 관련 계산기 묶음 */
.grp { margin: 0 0 26px; }
.grp h3 { font-size: 1.05rem; margin: 18px 0 2px; }
.grp-note { margin: 0 0 12px; color: var(--ink-2); font-size: .9rem; }
.article > h2 a { color: inherit; text-decoration: none; }
.article > h2 a:hover { text-decoration: underline; }

/* 결과 안의 연도별 상환 내역 */
.sched { margin-top: 14px; }
.sched summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
.sched table.ref th, .sched table.ref td { padding: 8px 8px; font-size: .9rem; white-space: nowrap; }
.sched table.ref td.num { text-align: right; }
.sched .table-wrap { margin-bottom: 0; }

/* 푸터 링크 (소개·개인정보처리방침·문의) */
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 10px; }
.foot-links a { color: var(--ink-2); }
