/* =========================================================
   포요맨 — 공통 스타일
   순수 CSS. 외부 라이브러리·폰트 호출 없음.
   ========================================================= */

:root {
  --ink: #101828;
  --ink-2: #344054;
  --muted: #667085;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;
  --bg: #f7f8fb;
  --card: #ffffff;
  --brand: #1d4ed8;
  --brand-deep: #16368f;
  --brand-soft: #eaf0ff;
  --accent: #f04438;
  --accent-soft: #fff1ee;
  --ok: #067647;
  --warm: #b54708;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 10px 30px -12px rgba(16, 24, 40, .18);
  --shadow-lg: 0 24px 60px -24px rgba(16, 24, 40, .28);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic",
          system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", "Noto Sans Mono CJK KR", monospace;
  --max: 1080px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img, svg, canvas { max-width: 100%; }

h1, h2, h3, h4 { line-height: 1.3; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid rgba(29, 78, 216, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 레이아웃 ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 56px 0; }
.section--tight { padding: 36px 0; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  margin-right: 9px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(140deg, #2f6bff, #1d4ed8 60%, #16368f);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(29, 78, 216, .9);
}
.brand-mark svg { width: 18px; height: 18px; display: block; }
.brand-dot { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
}
.nav a:hover { background: #f2f4f7; text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 14px;
    gap: 2px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px; }
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 8px 18px -10px rgba(29, 78, 216, .8);
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { background: #1b45c2; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { background: #f9fafb; }
.btn--soft {
  background: var(--brand-soft);
  color: var(--brand-deep);
  box-shadow: none;
}
.btn--soft:hover { background: #dfe8ff; }
.btn--accent {
  background: linear-gradient(135deg, #ff6a4d, #f04438);
  box-shadow: 0 10px 20px -12px rgba(240, 68, 56, .9);
}
.btn--accent:hover { background: linear-gradient(135deg, #f85c3f, #d92d20); }
.btn--sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- 히어로 ---------- */
.hero {
  position: relative;
  padding: 64px 0 40px;
  background:
    radial-gradient(900px 360px at 12% -10%, #e7eeff 0%, rgba(231, 238, 255, 0) 70%),
    radial-gradient(700px 300px at 92% 0%, #fff0ec 0%, rgba(255, 240, 236, 0) 70%);
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.hero .lead {
  margin-top: 14px;
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--ink-2);
  max-width: 640px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  list-style: none;
  padding: 0;
}
.hero-badges li {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  box-shadow: var(--shadow-sm);
}
.hero-queries {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.9;
}
.hero-queries a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 78, 216, .28);
}
.hero-queries a:hover { border-bottom-color: var(--brand); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 16px;
}
.eyebrow--accent { color: #b42318; background: var(--accent-soft); }

/* ---------- 섹션 헤더 ---------- */
.section-head { margin-bottom: 24px; }
.section-head h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* ---------- 카드 그리드 ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.tool-card__top { display: flex; align-items: flex-start; gap: 14px; }
.tool-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.tool-icon svg { width: 24px; height: 24px; }
.tool-icon--accent { background: var(--accent-soft); color: #d92d20; }
.tool-card h3 { font-size: 19px; font-weight: 800; }
.tool-card h3 a { color: inherit; text-decoration: none; }
.tool-card h3 a:hover { color: var(--brand); }
.tool-card .desc { color: var(--muted); font-size: 14.5px; }
.tool-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  background: #f2f4f7;
  border-radius: 6px;
  padding: 4px 8px;
}
.tool-card__cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tool-card--accent .tool-card__cta { color: #d92d20; }

/* ---------- 광고 자리 ---------- */
/* 실제 광고가 없을 때는 빈 여백으로만 보이도록 배경·테두리를 넣지 않습니다. */
.ad-slot {
  width: 100%;
  min-height: 90px;
  margin: 20px 0;
}
/* 승인 전 빈 슬롯은 여백만 남기지 않고 감춥니다. 광고 코드가 들어오면 자리를 차지합니다. */
.ad-slot:empty { display: none; }
.ad-slot--inline { min-height: 250px; margin: 40px 0; }
@media (min-width: 900px) {
  .ad-slot { min-height: 120px; }
}

/* ---------- 폼 ---------- */
.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 7px;
}
.field .hint { font-size: 12px; font-weight: 500; color: var(--muted); }
.input-wrap { position: relative; }
.input-wrap .unit {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--muted);
  pointer-events: none;
}
input[type="text"], input[type="number"], select, textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none;
}
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, .12);
}
.input-wrap input { padding-right: 46px; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* 세그먼트(탭) */
.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #eef1f6;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 18px;
}
.segmented button {
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-2);
  padding: 10px 8px;
  border-radius: 9px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.segmented button[aria-pressed="true"] {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: var(--shadow-sm);
}

/* 칩 선택 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink-2);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.chip input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 14px -10px rgba(29, 78, 216, .9);
}
.chip input:focus-visible + span { outline: 3px solid rgba(29, 78, 216, .35); outline-offset: 2px; }

/* ---------- 계산 결과 ---------- */
.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: start;
}
@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; }
}

.result-card {
  position: sticky;
  top: 84px;
  background: linear-gradient(170deg, #ffffff 0%, #fbfcff 60%, #f5f8ff 100%);
  border: 1px solid #dbe3f6;
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) {
  .result-card { position: static; }
}
.result-label { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.result-value {
  display: block;
  font-size: clamp(30px, 6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--brand-deep);
  margin: 6px 0 4px;
  font-variant-numeric: tabular-nums;
}
.result-sub { font-size: 13.5px; color: var(--muted); }
.result-rows {
  margin-top: 20px;
  border-top: 1px dashed #cfd9f0;
  padding-top: 6px;
}
.result-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #e3e9f7;
  font-size: 14.5px;
}
.result-row:last-child { border-bottom: 0; }
.result-row dt { color: var(--ink-2); margin: 0; }
.result-row dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.result-row--total { font-size: 16px; }
.result-row--total dt, .result-row--total dd { color: var(--brand-deep); }
.result-row .muted { color: var(--muted); font-weight: 500; font-size: 13px; white-space: nowrap; }
.result-row dt { flex: 1 1 auto; min-width: 0; }

.refund-box {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.refund-box .title { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.refund-box .amount { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.refund-box .amount.is-empty { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; }
.refund-box .amount.is-refund { color: var(--ok); }
.refund-box .amount.is-due { color: var(--accent); }
.refund-box p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* 막대 그래프 (SVG) */
.bar-chart { display: block; width: 100%; height: auto; overflow: visible; }
.bar-chart .bar-label {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  fill: var(--ink-2);
}
.bar-chart .bar-track-svg { fill: #e9eef9; }
.bar-chart .bar-fill-svg { fill: #2f5cf0; }
.bar-chart .bar-fill-svg--b { fill: #7aa2ff; }
.bar-chart .bar-fill-svg--c { fill: #f0674a; }
.bar-chart .bar-value {
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 700;
  fill: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

/* 막대 그래프 (CSS) */
.chart { margin-top: 26px; }
.chart h3 { font-size: 14px; font-weight: 800; color: var(--ink-2); margin-bottom: 12px; }
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 96px; gap: 10px; align-items: center; font-size: 13px; }
.bar-row .bar-name { color: var(--ink-2); font-weight: 600; }
.bar-track { height: 12px; background: #e9eef9; border-radius: 999px; overflow: hidden; }
.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f7cff, #1d4ed8);
  transition: width .45s cubic-bezier(.2, .7, .3, 1);
}
.bar-fill--b { background: linear-gradient(90deg, #7aa2ff, #4f7cff); }
.bar-fill--c { background: linear-gradient(90deg, #ff8a70, #f04438); }
.bar-row .bar-value { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2); }
@media (max-width: 420px) {
  .bar-row { grid-template-columns: 76px minmax(0, 1fr) 82px; font-size: 12px; }
}

/* 안내 박스 */
.callout {
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.65;
  border: 1px solid #dbe3f6;
  background: #f6f9ff;
  color: var(--ink-2);
}
.callout strong { color: var(--brand-deep); }
.callout--warn { background: #fffaeb; border-color: #fedf89; color: #7a2e0e; }
.callout--warn strong { color: #7a2e0e; }

/* 핵심 기준 요약 박스 (사람·AI 검색 공통) */
.keyfacts {
  border: 1px solid #cfdcfb;
  border-left: 4px solid var(--brand);
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
  border-radius: 14px;
  padding: 16px 20px 14px;
  box-shadow: var(--shadow-sm);
}
.keyfacts__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--brand-deep);
  letter-spacing: -0.01em;
}
.keyfacts__title span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 3px 9px;
  letter-spacing: 0;
}
.keyfacts ol {
  counter-reset: kf;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.keyfacts li {
  counter-increment: kf;
  position: relative;
  padding-left: 27px;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--ink-2);
}
.keyfacts li::before {
  content: counter(kf);
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.keyfacts li strong { color: var(--ink); font-weight: 700; }
.keyfacts__basis {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #cfdcfb;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
@media (max-width: 480px) {
  .keyfacts { padding: 14px 15px 12px; }
  .keyfacts li { font-size: 13.5px; padding-left: 25px; }
}

/* ---------- 본문 콘텐츠 ---------- */
.prose {
  max-width: 760px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.8;
}
.prose > * + * { margin-top: 16px; }
.prose h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 40px;
  padding-top: 4px;
  scroll-margin-top: 90px;
}
.prose h3 { font-size: 17.5px; font-weight: 800; color: var(--ink); margin-top: 28px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0; }
.prose li + li { margin-top: 7px; }
.prose strong { color: var(--ink); }
.prose .small { font-size: 13.5px; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.prose th { background: #f7f8fb; font-weight: 700; color: var(--ink); }

.faq { margin-top: 12px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 15.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  flex: none;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }

/* ---------- 툴 페이지 공통 ---------- */
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: clamp(26px, 4.4vw, 38px); font-weight: 800; letter-spacing: -0.035em; }
.page-head p { margin-top: 12px; color: var(--muted); max-width: 680px; font-size: 15.5px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.panel h2 { font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.panel .panel-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.6; }

/* ---------- 캔버스(영수증·부적) ---------- */
.canvas-layout {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .canvas-layout { grid-template-columns: 1fr; }
}
.canvas-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.canvas-frame {
  width: 100%;
  max-width: 400px;
  border-radius: 18px;
  padding: 10px;
  background: #eef1f7;
  box-shadow: inset 0 0 0 1px rgba(16, 24, 40, .04);
}
.canvas-frame canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.canvas-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; max-width: 400px; }
.canvas-actions .btn { flex: 1 1 150px; }

/* ---------- 모바일 결과 도크 ---------- */
.result-dock { display: none; }
@media (max-width: 900px) {
  body.has-dock { padding-bottom: 80px; }
  .result-dock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: #ffffff;
    border-top: 1px solid var(--line);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 28px -20px rgba(16, 24, 40, .5);
  }
  .result-dock__label { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); }
  .result-dock__value {
    display: block;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand-deep);
    font-variant-numeric: tabular-nums;
  }
  .result-dock .btn { padding: 9px 14px; font-size: 13.5px; border-radius: 10px; }
}

/* ---------- 토스트 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  background: #101828;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 90;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 푸터 ---------- */
.site-footer {
  margin-top: 56px;
  background: #0e1526;
  color: #c3cbd8;
  padding: 44px 0 32px;
  font-size: 14px;
}
.site-footer a { color: #dfe5ee; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 24px;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer .brand { color: #fff; font-size: 18px; }
.site-footer p { color: #98a2b3; font-size: 13.5px; line-height: 1.7; margin-top: 12px; }
.footer-links { display: grid; gap: 9px; align-content: start; }
.footer-links strong { color: #fff; font-size: 13px; letter-spacing: .02em; }
.footer-links a { color: #c3cbd8; font-size: 13.5px; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.5px;
  color: #8a94a6;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

/* ---------- 유틸 ---------- */
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* 인쇄 */
@media print {
  .site-header, .site-footer, .ad-slot, .canvas-actions, .no-print { display: none !important; }
  body { background: #fff; }
}

/* ---------- 판정 배지 (2026-11-24 추가 툴) ---------- */
.verdict {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.65;
  border: 1px solid #dbe3f6;
  background: #f6f9ff;
  color: var(--ink-2);
}
.verdict__mark {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: var(--brand);
}
.verdict strong { color: inherit; font-weight: 800; }
.verdict__title { display: block; font-weight: 800; font-size: 14.5px; margin-bottom: 2px; }
.verdict__sub { display: block; margin-top: 2px; font-size: 13px; }
.verdict--ok { background: #ecfdf3; border-color: #a9efc5; color: #05603a; }
.verdict--ok .verdict__mark { background: #12b76a; }
.verdict--warn { background: #fffaeb; border-color: #fedf89; color: #7a2e0e; }
.verdict--warn .verdict__mark { background: #f79009; }
.verdict--bad { background: #fef3f2; border-color: #fecdca; color: #912018; }
.verdict--bad .verdict__mark { background: #f04438; }
.verdict--neutral { background: #f6f9ff; border-color: #dbe3f6; color: var(--brand-deep); }

/* 기한 배너 */
.deadline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}
.deadline .dday {
  font-weight: 800;
  color: #b42318;
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 9px;
  font-variant-numeric: tabular-nums;
}
.deadline .dday--over { color: #7a2e0e; background: #fffaeb; }

/* 판정 이유 목록 */
.reasons { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.reasons li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.reasons .mark {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: #12b76a;
  margin-top: 1px;
}
.reasons .mark--no { background: #f04438; }
.reasons .mark--info { background: #98a2b3; }
.reasons b { color: var(--ink); }

/* 두 직장 보조 계산 */
.subcalc { margin-top: 22px; }
.subcalc .grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
@media (max-width: 820px) {
  .subcalc .grid-2 { grid-template-columns: 1fr; }
}
.mini-result {
  background: linear-gradient(170deg, #ffffff 0%, #f8faff 100%);
  border: 1px solid #dbe3f6;
  border-radius: 16px;
  padding: 20px;
}
.mini-result .big {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-deep);
  font-variant-numeric: tabular-nums;
}
.mini-result .cap { font-size: 13px; color: var(--muted); font-weight: 600; }

/* 2027 카드 툴 */
.switch-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.card-note { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.delta-list { margin-top: 16px; border-top: 1px dashed #cfd9f0; padding-top: 4px; }
.delta-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed #e3e9f7;
  font-size: 14.5px;
}
.delta-item:last-child { border-bottom: 0; }
.delta-item .name { color: var(--ink-2); }
.delta-item .name small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.delta-item .val { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.delta-item .val.up { color: var(--ok); }
.delta-item .val.down { color: var(--accent); }
.delta-item .val.flat { color: var(--muted); }
.badge-state {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border-radius: 5px;
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: middle;
}
.badge-state--fixed { background: #ecfdf3; color: #05603a; }
.badge-state--pending { background: #fffaeb; color: #7a2e0e; }

/* 폼 구획 */
.fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.fieldset:last-of-type { margin-bottom: 0; }
.fieldset legend {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-deep);
}
.fieldset legend .num {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 800;
}
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }
.field-grid .field label { font-size: 13px; }

/* =========================================================
   매거진 — 이슈 큐레이션 (2026-11-24 4차 개편)
   메인 = 이슈 피드, 도구는 /tools/ 로 분리
   ========================================================= */

/* 오늘 날짜 띠 */
.todaybar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.todaybar .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-height: 44px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 13px;
  color: var(--muted);
}
.todaybar strong { color: var(--ink); font-weight: 700; }
.todaybar .dotsep { color: var(--line-strong); }
.todaybar .live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-deep);
  font-weight: 700;
}
.todaybar .live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(240, 68, 56, .15);
}

/* 매거진 히어로 */
.mag-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 30px;
  background:
    radial-gradient(1000px 320px at 12% -20%, rgba(29, 78, 216, .10), transparent 70%),
    radial-gradient(720px 280px at 92% 0%, rgba(240, 68, 56, .07), transparent 70%),
    #fff;
  border-bottom: 1px solid var(--line);
}
.mag-hero h1 {
  font-size: clamp(27px, 4.6vw, 42px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.22;
  max-width: 780px;
}
.mag-hero .lead {
  margin-top: 14px;
  max-width: 660px;
  color: var(--ink-2);
  font-size: 16px;
}
.mag-hero .hero-badges { margin-top: 18px; }

/* 리드 스토리 */
.lead-story {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.lead-story__main { padding: 28px 30px 26px; }
.lead-story__main h2 {
  font-size: clamp(21px, 3vw, 27px);
  font-weight: 850;
  letter-spacing: -0.035em;
  margin-top: 10px;
}
.lead-story__main h2 a { color: var(--ink); }
.lead-story__main h2 a:hover { color: var(--brand); text-decoration: none; }
.lead-story__main p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.lead-story__aside {
  background: linear-gradient(160deg, #101828, #1c2b4a 60%, #16368f);
  color: #e9eefb;
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lead-story__aside .side-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9fb6f5;
}
.lead-story__aside dl { margin: 0; display: grid; gap: 10px; }
.lead-story__aside dt { font-size: 12px; color: #a9b8dc; }
.lead-story__aside dd {
  margin: 2px 0 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.lead-story__aside dd small { font-size: 12px; font-weight: 600; color: #b9c8ea; margin-left: 4px; }
.lead-story__aside .aside-note {
  margin-top: auto;
  font-size: 11.5px;
  line-height: 1.55;
  color: #93a4c7;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 12px;
}

/* 카테고리·날짜 메타 */
.meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}
.cat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  white-space: nowrap;
}
.cat--market { background: #eef4ff; color: #14357f; }
.cat--money { background: #eefaf3; color: #05603a; }
.cat--tech { background: #f2f0ff; color: #432a9e; }
.cat--life { background: #fff4ed; color: #9a3412; }
.meta-line time { font-variant-numeric: tabular-nums; }
.meta-line .sep { color: var(--line-strong); }

/* 필터 바 */
.filter-wrap { position: sticky; top: 64px; z-index: 30; background: rgba(247, 248, 251, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  flex: none;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 15px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.filter-btn:hover { background: #f2f4f7; }
.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.filter-count { font-size: 12px; color: var(--muted); align-self: center; margin-left: auto; white-space: nowrap; }

/* 피드 레이아웃 */
.mag-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}
.feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.issue {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 18px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.issue:hover { border-color: #b9c6e8; box-shadow: var(--shadow-md); }
.issue.is-hidden { display: none; }
.issue h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.38; }
.issue h3 a { color: var(--ink); }
.issue h3 a:hover { color: var(--brand); text-decoration: none; }
.issue p { font-size: 14px; color: var(--ink-2); }
.issue__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.issue__more { font-weight: 700; color: var(--brand); font-size: 13px; }

/* 사이드 위젯 */
.side { display: grid; gap: 16px; position: sticky; top: 132px; }
.widget {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.widget h2 { font-size: 15px; font-weight: 850; letter-spacing: -0.02em; }
.widget .widget-sub { margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.calc-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.calc-list a {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 8px;
  border-radius: 10px;
  color: var(--ink);
}
.calc-list a:hover { background: #f6f8fc; text-decoration: none; }
.calc-list .n {
  min-width: 24px; width: max-content; height: 24px; border-radius: 7px;
  padding: 0 5px; font-size: 10.5px; letter-spacing: -0.02em;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center;
  font-size: 11.5px; font-weight: 800;
  margin-top: 1px;
}
.calc-list b { display: block; font-size: 14px; font-weight: 750; letter-spacing: -0.02em; }
.calc-list span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.widget--accent { background: linear-gradient(165deg, #fff, #f2f6ff 70%); border-color: #cdd9f7; }
.widget--accent .widget-cta { display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 800; }

/* 아티클 */
.article-wrap { padding: 34px 0 60px; }
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article-head .cat { margin-bottom: 12px; }
.article-head h1 {
  font-size: clamp(25px, 4.2vw, 37px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.26;
}
.article-head .standfirst {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}
.article-meta {
  margin-top: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}
.article-meta .who { color: var(--ink); font-weight: 700; }
.article-meta .dotsep { color: var(--line-strong); }
.article-body { margin-top: 26px; }
.article-body.prose h2 {
  font-size: 21px;
  letter-spacing: -0.03em;
  margin-top: 38px;
  padding-top: 2px;
}
.article-body.prose h3 { font-size: 17px; margin-top: 26px; }
.article-body.prose p { font-size: 16px; line-height: 1.78; color: #1f2937; }
.article-body.prose ul, .article-body.prose ol { font-size: 15.5px; line-height: 1.75; color: #1f2937; }
.article-body.prose table { font-size: 13.5px; margin-top: 8px; }
.article-body.prose .table-scroll { overflow-x: auto; }

/* 계산기 연결 CTA */
.calc-cta {
  margin: 30px 0 0;
  padding: 20px 22px;
  border-radius: 14px;
  background: linear-gradient(150deg, #f4f7ff, #eaf0ff);
  border: 1px solid #cdd9f7;
  display: grid;
  gap: 10px;
}
.calc-cta .cta-label { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; color: var(--brand); text-transform: uppercase; }
.calc-cta h3 { font-size: 17px; font-weight: 850; letter-spacing: -0.03em; }
.calc-cta p { font-size: 14px; color: var(--ink-2); }
.calc-cta .btn { justify-self: start; }

/* 관련 참고·체크 박스 (제휴·광고 자리) */
.partner-box {
  margin: 30px 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 18px 20px 16px;
}
.partner-box h2 {
  font-size: 14.5px;
  font-weight: 850;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.partner-box h2::before {
  content: "";
  width: 4px; height: 15px; border-radius: 2px; background: var(--brand);
}
.partner-box ul { margin: 12px 0 0; padding-left: 20px; font-size: 14px; color: var(--ink-2); display: grid; gap: 7px; }
.partner-box .ad-slot { margin-top: 14px; }
.partner-slot:empty { display: none; }

/* 출처 */
.sources {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.sources h2 { font-size: 13px; font-weight: 800; color: var(--ink-2); margin-bottom: 8px; }
.sources ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; line-height: 1.6; }
.sources a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-strong); }
.sources a:hover { color: var(--brand); }

/* 관련 기사 */
.related {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.related h2 { font-size: 15px; font-weight: 850; letter-spacing: -0.02em; margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-grid a {
  display: block;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.related-grid a:hover { border-color: #b9c6e8; text-decoration: none; }
.related-grid .cat { margin-bottom: 8px; }
.related-grid b { display: block; font-size: 13.5px; font-weight: 750; line-height: 1.45; letter-spacing: -0.02em; }

/* 매거진 소개·하단 */
.mag-about { background: #fff; border-top: 1px solid var(--line); }
.mag-about .grid--3 .card h3 { font-size: 15.5px; }

@media (max-width: 980px) {
  .mag-layout { grid-template-columns: 1fr; gap: 26px; }
  .side { position: static; grid-template-columns: 1fr 1fr; }
  .lead-story { grid-template-columns: 1fr; }
  .lead-story__aside .aside-note { margin-top: 8px; }
}
@media (max-width: 760px) {
  .feed { grid-template-columns: 1fr; }
  .side { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .filter-wrap { top: 64px; }
  .filter-count { display: none; }
  .mag-hero { padding: 26px 0 22px; }
  .lead-story__main { padding: 22px 20px; }
  .issue { padding: 18px 18px 16px; }
  .article-body.prose p { font-size: 15.5px; }
}

/* ===== 5차: 썸네일·히어로 이미지 ===== */
.lead-story__main { padding: 0; }
.lead-story__thumb { display: block; background: #e8eefb; overflow: hidden; }
.lead-story__thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.lead-story__body { padding: 22px 30px 26px; }
.lead-story__aside { justify-content: center; }
.lead-story__aside .aside-note { margin-top: 2px; }
.lead-story__body .meta-line { margin-bottom: 2px; }

.issue { padding: 0; gap: 0; overflow: hidden; }
.issue__thumb { display: block; background: #eef2fa; overflow: hidden; }
.issue__thumb img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .7, .3, 1);
}
.issue:hover .issue__thumb img { transform: scale(1.045); }
.issue__body {
  display: flex; flex-direction: column; gap: 10px; flex: 1;
  padding: 17px 20px 16px;
}

.article-hero { margin: 22px 0 26px; }
.article-hero img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--line); background: #eef2fa;
  box-shadow: var(--shadow-sm);
}
.article-hero figcaption {
  margin-top: 9px; font-size: 12.5px; line-height: 1.55; color: var(--muted);
}
.article-body.prose .callout { margin: 22px 0 6px; }

@media (max-width: 760px) {
  .issue__body { padding: 15px 16px 14px; }
  .lead-story__body { padding: 18px 20px 22px; }
  .article-hero { margin: 18px 0 22px; }
  .article-hero figcaption { font-size: 12px; }
}

/* ===== 6차: 경제읽기(메르 스타일) ===== */
.cat--insight { background: #e8f6f4; color: #0f766e; }

.article-body.prose .mer-lede {
  margin: 26px 0 0;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.62;
  color: var(--ink);
  letter-spacing: -0.025em;
}
.mer-lede::after {
  content: "";
  display: block;
  width: 34px; height: 3px;
  margin-top: 12px;
  border-radius: 2px;
  background: var(--brand);
}

.article-body.prose .mer-list {
  counter-reset: mer;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.article-body.prose .mer-list > li {
  counter-increment: mer;
  position: relative;
  padding-left: 2.5em;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.75;
  color: #1f2937;
}
.mer-list > li::before {
  content: counter(mer);
  position: absolute; left: 0; top: .24em;
  width: 1.9em; text-align: right;
  font-size: 11.5px; font-weight: 800;
  color: #98a2b3;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.article-body.prose .mer-list > li strong { color: var(--ink); font-weight: 800; }
.article-body.prose .mer-list > li em {
  font-style: normal;
  background: linear-gradient(transparent 64%, #dbeafe 64%);
}
.article-body.prose .mer-list > li .num { font-variant-numeric: tabular-nums; }

.mer-comment {
  margin: 34px 0 6px;
  padding: 22px 24px 24px;
  border-radius: 16px;
  background: linear-gradient(150deg, #101828, #1e293b 62%, #16368f);
  box-shadow: var(--shadow-md);
}
.mer-comment__label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #93c5fd;
  margin-bottom: 10px;
}
.article-body.prose .mer-comment p {
  font-size: 17.5px;
  line-height: 1.66;
  font-weight: 750;
  color: #ffffff;
  letter-spacing: -0.025em;
}
.article-body.prose .mer-comment p.mer-comment__sub {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
  color: #cbd5e1;
}

@media (max-width: 760px) {
  .article-body.prose .mer-lede { font-size: 16.5px; margin-top: 22px; }
  .article-body.prose .mer-list > li { font-size: 15.5px; padding-left: 2.2em; margin-top: 11px; }
  .mer-comment { padding: 19px 18px 20px; margin-top: 28px; }
  .article-body.prose .mer-comment p { font-size: 16.5px; }
}
