:root {
  --bg: #fdf8f2;
  --surface: #ffffff;
  --subtle: #faf3ea;
  --line: #efe2d2;
  --text: #2a1d14;
  --muted: #7a6a5c;
  --accent: #ef7a32;
  --accent-weak: #fff3ea;
  --navy: #7c2d12;
  --grad: linear-gradient(120deg, #ffe1c7 0%, #ffecd9 55%, #fff5e1 100%);
  --grad-btn: linear-gradient(135deg, #f0782f 0%, #fb9d4f 100%);
  --good: #15803d;
  --good-weak: #ecfdf3;
  --warn: #b45309;
  --warn-weak: #fffbeb;
  --bad: #b91c1c;
  --bad-weak: #fef2f2;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  word-break: keep-all;
}
h1, h2, h3 { margin: 0; line-height: 1.35; }
h1 { font-size: 24px; font-weight: 700; }
h2 { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
p { margin: 0; }
ul { margin: 0; padding-left: 18px; }
li + li { margin-top: 4px; }
a { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 입력 화면: 왼쪽 입력, 오른쪽 따라다니는 요약 (넓은 화면에서만) */
.input-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.summary { position: sticky; top: 76px; }
.summary-card { margin: 0; padding: 20px; }
.summary-card h2 { margin-bottom: 12px; }
.sum-block { padding: 12px 0; border-top: 1px solid var(--line); }
.sum-k { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.sum-path { font-weight: 600; font-size: 14px; }
.sum-fee { font-size: 14px; margin-top: 4px; }
.sum-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 99px; background: var(--warn-weak); color: var(--warn); vertical-align: 1px; }
.sum-row { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; padding: 2px 0; }
.sum-row b { font-variant-numeric: tabular-nums; }
.sum-row b.neg { color: var(--bad); }
.sum-check { list-style: none; padding: 0; font-size: 14px; color: var(--muted); }
.sum-check li + li { margin-top: 2px; }
.sum-check li.ok { color: var(--good); }
.sum-submit { width: 100%; margin-top: 12px; }
/* 넓은 화면에서는 오른쪽 요약이 계산을 보여 주므로 카드 안의 계산 칸은 숨긴다 */
@media (min-width: 1024px) { .live-calc { display: none; } }
@media (max-width: 1023px) {
  .input-layout { display: block; }
  .summary { display: none; }
}
/* PDF는 예전 너비로 만들어 글자 크기를 유지한다 */
.pdf-mode #view-result { max-width: 928px; margin: 0 auto; }

/* 상단 바 */
.topbar { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.topbar-inner { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { font-weight: 700; color: var(--text); text-decoration: none; white-space: nowrap; }
.steps { display: flex; gap: 4px; margin-left: auto; }
.step {
  display: flex; align-items: center; gap: 6px;
  border: 0; background: none; padding: 6px 10px; border-radius: 8px;
  font: inherit; font-size: 14px; color: var(--muted); cursor: pointer;
}
.step span {
  display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--subtle); font-size: 12px; font-weight: 700;
}
.step.is-active { color: var(--text); font-weight: 600; }
.step.is-active span { background: var(--grad-btn); color: #fff; }
.step:disabled { cursor: default; opacity: .5; }

/* 레이아웃 */
.view { padding: 32px 0 64px; }
.page-head { margin-bottom: 24px; }
.page-head p { margin-top: 6px; }
.page-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-bottom: 16px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }

/* 폼 */
.field { display: block; margin-bottom: 16px; }
.label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.label b { color: var(--bad); }
input[type=text], input[type=password], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff;
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
input.invalid, select.invalid, textarea.invalid { border-color: var(--bad); }
textarea { resize: vertical; }
input[data-money], input[data-num] { text-align: right; font-variant-numeric: tabular-nums; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; margin-bottom: 8px; }

.upload {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1px dashed var(--line); border-radius: 8px; padding: 16px;
}
.upload.drag { border-color: var(--accent); background: var(--accent-weak); }
.thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.thumb { position: relative; width: 88px; height: 88px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%;
  border: 0; background: rgba(17,24,39,.75); color: #fff; cursor: pointer; font-size: 13px; line-height: 1;
}

.live-calc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.live-calc:empty { display: none; }
.mini { background: var(--subtle); border-radius: 8px; padding: 10px 12px; }
.mini .k { font-size: 12px; color: var(--muted); }
.mini .v { font-weight: 700; font-variant-numeric: tabular-nums; }

/* 버튼 */
.actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
button { font: inherit; }
.btn-primary {
  background: var(--grad-btn); color: #fff; border: 0; border-radius: 8px;
  box-shadow: 0 4px 14px rgba(240,120,47,.25);
  padding: 12px 22px; font-weight: 600; cursor: pointer;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-primary:disabled { opacity: .5; cursor: default; }
.btn-outline {
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 16px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.btn-outline:hover { background: var(--subtle); }
.btn-text { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 8px; white-space: nowrap; }
.btn-text:hover { color: var(--text); }
.form-error { color: var(--bad); font-size: 14px; margin-bottom: 12px; text-align: right; }
.form-error:empty { display: none; }

/* 결과 */
.verdict { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.verdict-badge { border-radius: var(--radius); padding: 20px; text-align: center; }
.verdict-badge .tag { font-size: 13px; font-weight: 600; }
.verdict-badge .word { font-size: 26px; font-weight: 800; margin-top: 2px; }
.verdict-badge .total { font-size: 13px; margin-top: 6px; }
.v-good { background: var(--good-weak); color: var(--good); }
.v-warn { background: var(--warn-weak); color: var(--warn); }
.v-bad { background: var(--bad-weak); color: var(--bad); }
.verdict ul { margin-top: 8px; }

.disclaimer { font-size: 13px; color: var(--muted); background: var(--subtle); border-radius: 8px; padding: 10px 12px; margin-top: 16px; }
.note { background: var(--warn-weak); color: #78350f; border-radius: 8px; padding: 10px 12px; margin-bottom: 16px; }

.scores { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.score-row { display: grid; grid-template-columns: 96px 1fr 44px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.score-row:last-child { border-bottom: 0; }
.score-row .name { font-weight: 600; font-size: 14px; }
.score-row .num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.bar { height: 8px; background: var(--subtle); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.bar i.risk { background: var(--warn); }
.score-reason { grid-column: 1 / -1; font-size: 13px; color: var(--muted); margin-top: -4px; }
.chart-box { position: relative; height: 280px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.kpi { border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
.kpi .k { font-size: 12px; color: var(--muted); }
.kpi .v { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pos { color: var(--good); }
.neg { color: var(--bad); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
th:first-child, td:first-child { text-align: left; }
thead th { font-size: 13px; color: var(--muted); font-weight: 600; }
tr.current td { background: var(--accent-weak); font-weight: 600; }
tr.recommend td { background: var(--good-weak); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.box { border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--subtle); color: var(--muted); margin-right: 6px; }
.list-plain { list-style: none; padding: 0; }
.list-plain li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-plain li:last-child { border-bottom: 0; }
.list-plain .sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
.empty-ai { text-align: center; padding: 32px 16px; }
.empty-ai p + p { margin-top: 6px; }
.empty-ai .btn-primary { margin-top: 16px; }

/* 로딩 */
.overlay { position: fixed; inset: 0; background: rgba(255,255,255,.85); display: grid; place-items: center; z-index: 50; }
.overlay[hidden] { display: none; }
.loading-box { text-align: center; padding: 24px; width: min(440px, calc(100% - 32px)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(17,24,39,.12); max-height: calc(100vh - 32px); overflow-y: auto; }
.loading-time { margin-top: 6px; font-size: 14px; font-variant-numeric: tabular-nums; }
.loading-bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 12px 0 10px; }
.loading-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 99px; transition: width 1s linear; }
.loading-tip { min-height: 1.6em; }
.loading-slow { margin-top: 10px; font-size: 13px; color: var(--warn); background: var(--warn-weak); border-radius: 8px; padding: 8px 10px; }
.loading-preview { margin-top: 18px; text-align: left; border-top: 1px solid var(--line); padding-top: 14px; }
.lp-title { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.lp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.spinner { width: 32px; height: 32px; margin: 0 auto 16px; border: 3px solid var(--line); border-top-color: var(--text); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

dialog { border: 0; border-radius: var(--radius); padding: 0; width: min(440px, calc(100% - 32px)); box-shadow: 0 10px 40px rgba(0,0,0,.15); }
dialog::backdrop { background: rgba(17,24,39,.35); }
.dialog-body { padding: 24px; }
.dialog-body h2 { margin-bottom: 8px; }
.dialog-body > p { margin-bottom: 16px; }

/* 경쟁상품 입력 */
.comp { border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin-bottom: 12px; }
.comp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.comp-head b { font-size: 14px; }
.comp .field { margin-bottom: 12px; }
.comp .field:last-child { margin-bottom: 0; }
.doc-list { list-style: none; padding: 0; margin-top: 8px; }
.doc-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; background: var(--subtle); border-radius: 8px; font-size: 14px; }
.doc-list li + li { margin-top: 6px; }

/* 플랫폼 수수료 */
.fee-note { color: var(--muted); margin: -4px 0 16px; }
.fee-note.warn { color: var(--warn); }

/* 입력칸 안의 단위 (원, %) */
.input-unit { position: relative; display: block; }
.input-unit input { padding-right: 34px; }
.input-unit .unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; pointer-events: none; }

/* 결과 문구 수정·복사 */
.boxes > * + * { margin-top: 16px; }
.box-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.box-head h2, .box-head h3 { margin: 0; }
.card > .box-head { margin-bottom: 16px; }
.box-tools { display: flex; gap: 2px; flex: none; }
.box-tools .link-btn { font-size: 13px; padding: 2px 6px; }
.editing .ed { outline: 1px dashed var(--accent); background: var(--accent-weak); border-radius: 4px; padding: 0 2px; }
.editing .ed:focus { outline-style: solid; }
mark.verify { background: var(--warn-weak); color: var(--warn); font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 99px; white-space: nowrap; }
.pill-good { background: var(--good-weak); color: var(--good); }
.detail-list { padding-left: 20px; }
.detail-list li { padding: 6px 0; }
.detail-list li + li { border-top: 1px solid var(--line); margin-top: 0; }
.keywords { line-height: 1.9; }
.keywords .sep { color: var(--muted); }
.promo { margin-top: 6px; white-space: pre-line; }
.pdf-mode .content-empty { display: none !important; }
@media print { .content-empty { display: none !important; } }
mark.general { background: var(--accent-weak); color: var(--accent); font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 99px; white-space: nowrap; }

/* 결과 상단 버튼 */
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.head-actions .btn-primary { padding: 9px 16px; }

/* 저장 목록, 비교 */
.saved-table td:nth-child(2) { white-space: normal; min-width: 160px; text-align: left; }
.saved-table th:nth-child(2) { text-align: left; }
.saved-table .sel { width: 36px; text-align: center; padding-right: 0; }
.saved-table tr.is-selected td { background: var(--accent-weak); }
.saved-name { display: flex; align-items: center; gap: 10px; text-align: left; }
.saved-name img, .saved-name .noimg { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--subtle); flex: none; }
.saved-table input[type=checkbox] { width: 18px; height: 18px; vertical-align: middle; }
.saved-actions { align-items: center; }
.danger-outline { color: var(--bad); }
.danger-outline:hover:not(:disabled) { background: var(--bad-weak); }
.btn-outline:disabled { opacity: .45; cursor: default; }
.tag-v { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.link-btn { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 4px; font-size: 14px; }
.link-btn.danger { color: var(--bad); }
td.best { font-weight: 700; color: var(--good); }

/* 반응형 */
@media (max-width: 760px) {
  h1 { font-size: 20px; }
  .wrap { padding: 0 16px; }
  .card { padding: 18px; }
  .grid-2, .grid-3, .two-col, .scores { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .live-calc { grid-template-columns: 1fr 1fr; }
  .verdict { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .brand { font-size: 14px; }
  .step { padding: 6px; font-size: 13px; }
  .topbar-inner { gap: 8px; }
}
@media (max-width: 420px) {
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .steps .step { font-size: 0; gap: 0; }
  .steps .step span { font-size: 12px; }
}
@media print {
  .topbar, .actions, .head-actions, .btn-outline, .overlay, .box-tools { display: none !important; }
  .card { break-inside: avoid; }
}
/* PDF 생성 중에는 버튼을 숨긴다 */
.pdf-mode .head-actions, .pdf-mode [data-action], .pdf-mode .box-tools { display: none !important; }

/* 상세페이지 만들기: 편집 화면 */
.dp-panel { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; gap: 12px; margin-bottom: 16px; }
.dp-panel .card { margin: 0; padding: 16px; }
.dp-panel h3 { margin-bottom: 10px; }
.dp-themes { display: flex; gap: 8px; flex-wrap: wrap; }
.dp-theme { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 5px 12px 5px 6px; cursor: pointer; font: inherit; font-size: 13px; }
.dp-theme i { width: 18px; height: 18px; border-radius: 50%; display: block; }
.dp-theme.is-active { border-color: var(--text); font-weight: 700; }
.dp-slot { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.dp-slot + .dp-slot { border-top: 1px solid var(--line); }
.dp-slot .thumb-s { width: 40px; height: 40px; border-radius: 6px; background: var(--subtle) center / cover no-repeat; flex: none; }
.dp-slot .name { flex: 1; font-size: 14px; }
.dp-tips ul { padding-left: 16px; color: var(--muted); }
.dp-preview-wrap { overflow-x: auto; background: var(--subtle); border-radius: var(--radius); padding: 20px 0; }
#dpPreview { width: 860px; margin: 0 auto; }
@media (max-width: 760px) { .dp-panel { grid-template-columns: 1fr; } }

/* 상세페이지 서식 (가로 860px) */
.dp { background: #fff; color: #1f2937; font-family: "Pretendard", -apple-system, "Apple SD Gothic Neo", sans-serif; line-height: 1.6; word-break: keep-all; }
.dp h1, .dp h2, .dp p, .dp ul, .dp ol { margin: 0; }
.dp-photo img { display: block; width: 100%; height: auto; }
.dp-photo-empty { display: grid; place-items: center; height: 220px; margin: 0; border: 2px dashed #cbd5e1; color: #94a3b8; font-size: 15px; background: #f8fafc; }
.dp-hero-text { padding: 52px 60px 60px; text-align: center; }
.dp-hero-text h1 { font-size: 40px; font-weight: 800; line-height: 1.3; color: var(--dp-main); }
.dp-hero-text p { font-size: 22px; color: #374151; margin-top: 18px; }
.dp-sec { padding: 64px 60px; }
.dp-soft { background: var(--dp-soft); }
.dp-sec h2 { font-size: 31px; font-weight: 800; text-align: center; color: var(--dp-main); margin-bottom: 32px; }
.dp-sec .dp-photo { margin-top: 36px; border-radius: 16px; overflow: hidden; }
.dp-worries { list-style: none; padding: 0; }
.dp-worries li { background: #fff; border-radius: 16px; padding: 20px 26px; font-size: 21px; color: #374151; }
.dp-worries li + li { margin-top: 12px; }
.dp-worries li::before { content: "“"; color: var(--dp-main); font-weight: 800; font-size: 26px; margin-right: 8px; }
.dp-points { list-style: none; padding: 0; }
.dp-points li { display: flex; gap: 20px; align-items: baseline; padding: 20px 0; font-size: 22px; font-weight: 600; }
.dp-points li + li { border-top: 1px solid #e5e7eb; }
.dp-num { color: var(--dp-main); font-size: 28px; font-weight: 800; flex: none; }
.dp-specs { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: 19px; font-variant-numeric: normal; }
.dp-specs th, .dp-specs td { text-align: left; white-space: normal; padding: 18px 24px; border-bottom: 1px solid #e5e7eb; }
.dp-specs tr:last-child th, .dp-specs tr:last-child td { border-bottom: 0; }
.dp-specs th { width: 150px; color: var(--dp-main); font-weight: 700; font-size: 18px; }
.dp-guide { padding-left: 26px; font-size: 19px; color: #374151; }
.dp-guide li + li { margin-top: 10px; }
.dp-ed { outline: none; border-radius: 4px; }
.dp-ed:hover { box-shadow: 0 0 0 2px rgba(37,99,235,.25); }
.dp-ed:focus { box-shadow: 0 0 0 2px var(--accent); }
.dp-exporting .dp-ed { box-shadow: none !important; }
.dp-exporting .dp-photo-empty, .dp-exporting mark.verify { display: none !important; }

/* hidden 속성이 display 설정보다 우선하도록 */
[hidden] { display: none !important; }

/* ---------- 디자인: 남색·보라 테마 ---------- */
.topbar { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--grad-btn); display: grid; place-items: center; flex: none; box-shadow: 0 3px 10px rgba(240,120,47,.3); }
.brand-mark svg { width: 16px; height: 16px; }
.card { box-shadow: 0 1px 2px rgba(124,45,18,.04), 0 4px 16px rgba(124,45,18,.04); }
h2 .h-ico, .card > h2 > .h-ico { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent-weak); color: var(--accent); margin-right: 8px; vertical-align: -7px; }
.h-ico svg { width: 16px; height: 16px; }
.kpi { background: #fff; }
.mini { background: var(--accent-weak); }
.mini .k { color: #8a5a3b; }

/* 입력 화면 소개 영역 */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--grad); color: var(--text); border: 1px solid #fbe0c8; border-radius: 16px; padding: 32px 36px; margin-bottom: 24px; }
.hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.7), rgba(255,255,255,0) 70%); pointer-events: none; }
.hero-text { position: relative; z-index: 1; max-width: 620px; }
.hero-badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 4px 10px; border-radius: 99px; background: #fff; border: 1px solid #fbd5b5; color: #c2541a; }
.hero h1 { font-size: 28px; font-weight: 800; margin-top: 12px; line-height: 1.3; }
.hero p { margin-top: 10px; color: #6b5240; }
.hero p b { color: var(--bad); }
.hero-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-chips li { margin: 0; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 99px; background: rgba(255,255,255,.75); color: #9a4a17; border: 1px solid #fbe0c8; }
.hero-art { position: relative; z-index: 1; width: 240px; height: auto; flex: none; color: #f0782f; }
@media (max-width: 760px) {
  .hero { padding: 24px 20px; }
  .hero h1 { font-size: 22px; }
  .hero-art { display: none; }
}
/* PDF·인쇄에서는 장식 그림자를 뺀다 */
.pdf-mode .card, .pdf-mode .btn-primary { box-shadow: none; }
