/* =========================================================
   디자인 콘셉트: "빨간 검수 도장"
   크림색 종이 + 진한 크림슨 레드 + 먹색. 도장·서류 모티프.
   ========================================================= */
:root {
  --red: #c8102e; --red-d: #9b0c23; --red-t: #fdeef0; --red-l: #f7c9d0;
  --ink: #1d1517; --ink-2: #2c2225; --paper: #fbf7f3; --paper-2: #f4ede6;
  --line: #e9dfd7; --text: #1d1517; --muted: #75686b;
  --fix: #c8102e; --fix-bg: #fde9ec; --chk: #b0620a; --chk-bg: #fff1dc; --ok: #0f7a5c; --ok-bg: #e3f4ee; --gray-bg: #f0eae6;
  --r: 6px; --r-lg: 14px;
  --shadow: 0 1px 0 rgba(29,21,23,.04), 0 12px 30px -12px rgba(29,21,23,.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Pretendard, -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif; color: var(--text); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hidden { display: none !important; }
.row-gap { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--red); text-transform: uppercase; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; }

/* 데모 바 */
.demo-bar { background: var(--ink); color: #e9dcdc; font-size: 12.5px; padding: 7px 16px; text-align: center; position: relative; z-index: 60; }
.demo-bar b { color: #ff8a9b; }
.demo-bar button { margin-left: 8px; background: transparent; color: #fff; border: 1px solid #5c4a4f; border-radius: 4px; padding: 1px 8px; font: inherit; cursor: pointer; }

/* ---------- 상단 헤더 (공개 페이지) ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header.on-red { background: var(--red); border-bottom-color: rgba(255,255,255,.18); color: #fff; }
.header .inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 21px; letter-spacing: -.5px; }
.logo-mark { width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid var(--red); color: var(--red); display: grid; place-items: center; font-size: 13px; font-weight: 900; transform: rotate(-12deg); }
.on-red .logo-mark { border-color: #fff; color: #fff; }
.nav { display: flex; gap: 2px; align-items: center; }
.nav .link { padding: 8px 12px; font-weight: 600; font-size: 15px; opacity: .85; }
.nav .link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: var(--r); font-weight: 800; font-size: 16px; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: transform .12s, background .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-d); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-white { background: #fff; color: var(--red); }
.btn-ghost-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-w:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { background: transparent; color: var(--ink); border-color: #d8ccc4; }
.btn-outline:hover { border-color: var(--ink); }
.btn-kakao { background: #fee500; color: #191919; }
.btn-kakao:hover { background: #f5dc00; }
.btn-danger { background: var(--fix-bg); color: var(--fix); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn-xs { height: 30px; padding: 0 10px; font-size: 13px; border-width: 1px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.arrow::after { content: '→'; font-weight: 400; }

/* ---------- 배지 ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 4px; font-size: 12px; font-weight: 800; white-space: nowrap; border: 1px solid transparent; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--chk-bg); color: var(--chk); }
.badge.danger { background: var(--fix-bg); color: var(--fix); }
.badge.gray { background: var(--gray-bg); color: var(--muted); }

/* =========================================================
   메인 페이지
   ========================================================= */
.hero-red { background: var(--red); color: #fff; position: relative; overflow: hidden; padding: 72px 0 0; }
.hero-red::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.hero-red .container { position: relative; }
.hero-top { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.hero-red h1 { font-size: 76px; line-height: 1.04; letter-spacing: -3px; font-weight: 900; margin: 18px 0 0; }
.hero-red h1 em { font-style: normal; display: inline-block; background: #fff; color: var(--red); padding: 0 12px; transform: rotate(-1.5deg); }
.hero-red .eyebrow { color: #ffd3da; }
.hero-side p { font-size: 18px; color: #ffe4e8; margin: 0 0 24px; }
.hero-side .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-paper-wrap { margin-top: 64px; display: flex; justify-content: center; }
.paper { background: #fff; color: var(--ink); width: 100%; max-width: 860px; border-radius: 10px 10px 0 0; padding: 30px 36px 34px; box-shadow: 0 -10px 40px rgba(0,0,0,.18); position: relative; }
.paper-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 6px; gap: 16px; padding-right: 70px; }
.paper-head .t { font-size: 22px; font-weight: 900; letter-spacing: -.5px; }
.paper-head .s { font-size: 13px; color: var(--muted); }
.paper-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.paper-row .k { font-weight: 700; }
.paper-row .v { color: var(--muted); font-size: 14px; }
.paper-row .v b { color: var(--ink); font-weight: 700; }
.paper-row.head { font-size: 12px; color: var(--muted); font-weight: 700; padding: 8px 0; border-bottom-style: solid; }
.stamp { position: absolute; right: -30px; top: -46px; width: 118px; height: 118px; border: 4px solid var(--red); border-radius: 50%; color: var(--red); display: grid; place-items: center; text-align: center; font-weight: 900; transform: rotate(-14deg); opacity: .9; background: rgba(255,255,255,.75); }
.stamp::before { content: ''; position: absolute; inset: 6px; border: 1.5px solid var(--red); border-radius: 50%; }
.stamp span { font-size: 22px; line-height: 1.1; letter-spacing: 1px; }
.stamp small { display: block; font-size: 10px; letter-spacing: .1em; margin-top: 2px; }

.ticker { background: var(--ink); color: #fff; overflow: hidden; white-space: nowrap; padding: 14px 0; font-weight: 800; font-size: 15px; }
.ticker-track { display: inline-flex; gap: 48px; animation: tick 30s linear infinite; padding-left: 48px; }
.ticker-track span::before { content: '✕'; color: #ff5a6e; margin-right: 12px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

.sec { padding: 100px 0; }
.sec.tint { background: var(--paper-2); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.sec-head h2 { font-size: 44px; line-height: 1.15; letter-spacing: -1.5px; margin: 12px 0 0; font-weight: 900; }
.sec-head p { color: var(--muted); margin: 0; font-size: 17px; }

/* 이용 절차: 가로 타임라인 */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.flow-step { padding: 26px 24px 8px 0; position: relative; }
.flow-step + .flow-step { padding-left: 24px; border-left: 1px solid var(--line); }
.flow-step .n { font-size: 54px; font-weight: 900; color: var(--red); line-height: 1; letter-spacing: -2px; }
.flow-step h3 { font-size: 20px; margin: 14px 0 6px; }
.flow-step p { color: var(--muted); margin: 0; font-size: 15px; }

/* 검수 항목: 체크리스트 */
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.check-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.check-item .box { width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 4px; display: grid; place-items: center; font-weight: 900; color: var(--red); font-size: 18px; }
.check-item h3 { margin: 2px 0 4px; font-size: 18px; }
.check-item p { margin: 0; color: var(--muted); font-size: 15px; }

/* 가입 조건 + 의뢰 불가 */
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ink-card { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 40px; }
.ink-card h3 { font-size: 26px; margin: 0 0 22px; letter-spacing: -.5px; }
.ink-card ol { margin: 0; padding: 0; list-style: none; counter-reset: c; }
.ink-card li { counter-increment: c; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.ink-card li::before { content: counter(c); width: 28px; height: 28px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-weight: 900; font-size: 14px; }
.ink-card li b { display: block; }
.ink-card li span { color: #c9bcbe; font-size: 14px; }
.no-card { border: 3px solid var(--red); border-radius: var(--r-lg); padding: 40px; background: #fff; position: relative; overflow: hidden; }
.no-card .big-no { font-size: 120px; font-weight: 900; line-height: .9; color: var(--red-t); position: absolute; right: -6px; bottom: -14px; letter-spacing: -6px; pointer-events: none; }
.no-card h3 { font-size: 30px; margin: 10px 0 14px; color: var(--red); letter-spacing: -1px; line-height: 1.2; position: relative; }
.no-card p { margin: 0; color: #4f3a3e; position: relative; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.cta-final { background: var(--ink); color: #fff; padding: 80px 0; }
.cta-final .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-final h2 { font-size: 40px; margin: 0; letter-spacing: -1.5px; line-height: 1.2; }
.cta-final h2 span { color: #ff6b7d; }

/* 푸터 */
.footer { background: var(--ink); color: #a99a9d; font-size: 14px; padding: 0 0 50px; }
.footer .container { border-top: 1px solid #3a2e31; padding-top: 32px; }
.footer p { margin: 4px 0; }
.foot-logo { font-weight: 900; color: #fff; font-size: 18px; margin-bottom: 8px; }
.foot-warn { color: #ff8a9b; font-weight: 600; }
.foot-small { font-size: 12.5px; color: #7d6e71; }

/* =========================================================
   가입·로그인: 좌우 분할 화면
   ========================================================= */
.split { display: grid; grid-template-columns: 420px 1fr; min-height: calc(100vh - 68px); }
.split-side { background: var(--red); color: #fff; padding: 56px 44px; position: relative; overflow: hidden; }
.split-side::after { content: ''; position: absolute; width: 320px; height: 320px; border: 3px solid rgba(255,255,255,.15); border-radius: 50%; right: -120px; bottom: -100px; }
.split-side h1 { font-size: 36px; line-height: 1.2; letter-spacing: -1px; margin: 14px 0 12px; }
.split-side p { color: #ffdce1; margin: 0; }
.split-side .eyebrow { color: #ffd3da; }
.split-main { padding: 56px 48px 80px; display: flex; justify-content: center; }
.form-wrap { width: 100%; max-width: 520px; }
.form-wrap h2 { font-size: 26px; margin: 0 0 6px; letter-spacing: -.5px; }
.form-wrap .lead { color: var(--muted); margin: 0 0 28px; font-size: 15px; }

/* 세로 단계 표시 */
.stepper { margin-top: 40px; display: grid; gap: 0; }
.stepper div { position: relative; padding: 0 0 26px 46px; font-weight: 700; color: rgba(255,255,255,.55); font-size: 16px; }
.stepper div::before { content: attr(data-s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); display: grid; place-items: center; font-size: 14px; }
.stepper div:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 30px; bottom: 2px; width: 2px; background: rgba(255,255,255,.25); }
.stepper div.on { color: #fff; }
.stepper div.on::before { background: #fff; color: var(--red); border-color: #fff; }
.stepper div.done { color: #fff; }
.stepper div.done::before { content: '✓'; background: rgba(255,255,255,.2); border-color: transparent; }
.stepper small { display: block; font-weight: 500; font-size: 13px; opacity: .75; margin-top: 2px; }

/* 폼 */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field label .req { color: var(--red); margin-left: 2px; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel], .field input[type=url], .field select, .field textarea {
  width: 100%; height: 50px; border: 0; border-bottom: 2px solid #d8ccc4; border-radius: 0; padding: 0 2px; font: inherit; font-size: 16px; background: transparent; color: var(--text); transition: border-color .15s; }
.field select { border: 1.5px solid #d8ccc4; border-radius: var(--r); padding: 0 10px; background: #fff; }
.field textarea { height: 96px; padding: 12px; border: 1.5px solid #d8ccc4; border-radius: var(--r); resize: vertical; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field input[readonly] { color: var(--muted); border-bottom-style: dashed; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field .err { font-size: 13px; color: var(--red); margin-top: 6px; }
.inline { display: flex; gap: 8px; align-items: flex-end; }
.inline > input { flex: 1; }
.file-drop { display: block; border: 2px dashed #d3c4ba; border-radius: var(--r-lg); padding: 30px 20px; text-align: center; cursor: pointer; background: #fff; color: var(--muted); font-size: 14px; transition: .15s; }
.file-drop:hover, .file-drop.drag { border-color: var(--red); background: var(--red-t); }
.file-drop b { color: var(--red); }
.file-drop .ico { font-size: 28px; display: block; margin-bottom: 6px; }
.file-drop.has { border-style: solid; border-color: var(--ok); background: var(--ok-bg); color: #0b5a44; }
.agree { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 4px 18px; }
.agree label { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; font-size: 15px; cursor: pointer; border-bottom: 1px solid var(--line); }
.agree label:last-child { border-bottom: 0; }
.agree label.all { font-weight: 800; }
.agree input { width: 19px; height: 19px; margin-top: 2px; flex: none; accent-color: var(--red); }
.agree .must { color: var(--red); font-weight: 800; }
.verified { display: flex; align-items: center; gap: 10px; background: var(--ok-bg); color: #0b5a44; border-radius: var(--r); padding: 14px 16px; font-weight: 700; }
.form-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 28px; }
.step-title { font-size: 13px; font-weight: 800; color: var(--red); letter-spacing: .05em; margin-bottom: 4px; }

/* 의뢰 불가 경고 박스 (폼/모달 안) */
.warn-box { border-left: 4px solid var(--red); background: var(--red-t); border-radius: 0 var(--r) var(--r) 0; padding: 16px 18px; }
.warn-box h3 { margin: 0 0 4px; color: var(--red); font-size: 16px; }
.warn-box p { margin: 0; color: #5b2a33; font-size: 14px; }

/* =========================================================
   로그인 후: 사이드바 앱 화면
   ========================================================= */
body.app { padding-left: 248px; background: var(--paper); }
.side { position: fixed; left: 0; top: 0; bottom: 0; width: 248px; background: var(--ink); color: #fff; display: flex; flex-direction: column; padding: 22px 16px; z-index: 50; }
.demo-on .side { top: 31px; }
body.app .demo-bar { margin-left: -248px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side .logo { padding: 4px 10px 26px; }
.side .logo-mark { border-color: #ff5a6e; color: #ff5a6e; }
.side-menu { display: grid; gap: 4px; }
.side-menu a, .side-menu button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); color: #cbbdc0; font-weight: 700; font-size: 15px; background: none; border: 0; font-family: inherit; cursor: pointer; text-align: left; width: 100%; position: relative; }
.side-menu a:hover, .side-menu button:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-menu a.on { background: rgba(200,16,46,.22); color: #fff; }
.side-menu a.on::before { content: ''; position: absolute; left: -16px; top: 8px; bottom: 8px; width: 4px; background: var(--red); border-radius: 0 3px 3px 0; }
.side-menu .ic { width: 20px; text-align: center; }
.side-user { margin-top: auto; border-top: 1px solid #3a2e31; padding: 16px 10px 0; font-size: 13px; color: #a99a9d; }
.side-user b { color: #fff; display: block; font-size: 14px; }
.side-user button { margin-top: 10px; background: none; border: 1px solid #4a3c40; color: #cbbdc0; border-radius: var(--r); padding: 6px 12px; font: inherit; cursor: pointer; }
body.app .footer { display: none; }

.page { padding: 44px 0 90px; min-height: 100vh; }
body:not(.app) .page { min-height: calc(100vh - 68px); }
.page > .container { max-width: 1120px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.page-head h1 { font-size: 32px; margin: 4px 0 0; letter-spacing: -1px; line-height: 1.2; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; max-width: 640px; margin: 0 auto; box-shadow: var(--shadow); }
.panel.wide { max-width: none; }
.panel h1 { font-size: 26px; margin: 0 0 6px; letter-spacing: -.5px; }
.panel h2 { font-size: 20px; margin: 0 0 12px; }

/* 세그먼트 탭 */
.tabs { display: inline-flex; gap: 4px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: 4px; margin-bottom: 22px; overflow-x: auto; max-width: 100%; }
.tabs button { background: none; border: 0; padding: 9px 16px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; border-radius: 7px; white-space: nowrap; font-size: 15px; }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(29,21,23,.12); }
.tabs .cnt { background: var(--red); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; margin-left: 4px; }

/* 표 */
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 800; color: var(--muted); font-size: 12px; letter-spacing: .03em; padding: 12px; border-bottom: 2px solid var(--ink); white-space: nowrap; background: #fff; }
.tbl td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; background: #fff; }
.tbl tr:hover td { background: #fffaf8; }
.tbl td.nowrap { white-space: nowrap; }
.tbl .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.empty { text-align: center; color: var(--muted); padding: 48px 10px; }

/* 리포트 카드 (회원 목록) — 서류철 느낌 */
.report-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.report-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 14px; position: relative; box-shadow: var(--shadow); border-top: 5px solid var(--red); }
.report-card h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -.3px; }
.report-card .meta { font-size: 13px; color: var(--muted); }
.report-card .counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.report-card .counts > div { padding: 10px 12px; text-align: center; }
.report-card .counts > div + div { border-left: 1px solid var(--line); }
.report-card .counts b { display: block; font-size: 22px; font-weight: 900; line-height: 1.2; }
.report-card .counts span { font-size: 12px; color: var(--muted); font-weight: 700; }
.report-card .acts { display: flex; gap: 8px; margin-top: auto; }
.report-card .acts .btn { flex: 1; }
.c-fix { color: var(--fix); } .c-chk { color: var(--chk); } .c-ok { color: var(--ok); }

/* 상태 카드 */
.state-card { text-align: center; padding: 52px 32px; }
.state-card .big { width: 96px; height: 96px; margin: 0 auto 18px; border: 4px solid var(--red); color: var(--red); border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 18px; transform: rotate(-10deg); }
.info-list { text-align: left; background: var(--paper); border-radius: var(--r); padding: 14px 18px; margin: 22px 0 0; font-size: 14px; }
.info-list div { display: flex; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.info-list div:last-child { border-bottom: 0; }
.info-list span:first-child { width: 110px; color: var(--muted); flex: none; }

/* =========================================================
   리포트 보기 (카카오톡에서 열리는 화면, 모바일 우선)
   ========================================================= */
.report-top { background: var(--red); color: #fff; padding: 34px 0 80px; position: relative; }
.report-top .container { max-width: 900px; }
.report-top .who { font-size: 14px; color: #ffd3da; font-weight: 600; }
.report-top h1 { font-size: 32px; letter-spacing: -1px; margin: 6px 0 18px; line-height: 1.25; }
.report-top .report-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.report-body { max-width: 900px; margin: -56px auto 0; padding: 0 24px 80px; position: relative; }
.sum-cards { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 18px; border: 1px solid var(--line); }
.sum-card { background: #fff; border: 0; padding: 18px 16px; cursor: pointer; text-align: left; font: inherit; border-bottom: 4px solid transparent; transition: background .15s; }
.sum-card + .sum-card { border-left: 1px solid var(--line); }
.sum-card:hover { background: #fffaf8; }
.sum-card.on { border-bottom-color: var(--ink); background: #fffaf8; }
.sum-card .n { font-size: 34px; font-weight: 900; line-height: 1.05; letter-spacing: -1px; }
.sum-card .l { font-size: 13px; color: var(--muted); font-weight: 700; }
.sum-card.fix .n { color: var(--fix); } .sum-card.chk .n { color: var(--chk); } .sum-card.ok .n { color: var(--ok); } .sum-card.all .n { color: var(--ink); }
.search-box input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 16px; font: inherit; background: #fff; }
.search-box input:focus { outline: none; border-color: var(--red); }
.search-box { margin-bottom: 16px; }
.listing { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--ok); border-radius: var(--r); margin-bottom: 10px; overflow: hidden; }
.listing.v-fix { border-left-color: var(--fix); }
.listing.v-chk { border-left-color: var(--chk); }
.listing-head { padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; cursor: pointer; }
.listing-head .t { font-weight: 800; }
.listing-head .s { font-size: 13px; color: var(--muted); margin-top: 2px; }
.listing-head .tog { font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 700; }
.listing-issues { padding: 0 18px 14px; font-size: 14px; }
.listing-issues div { padding: 8px 12px; margin-top: 6px; background: var(--gray-bg); border-radius: 4px; }
.listing-issues div.fix { background: var(--fix-bg); color: #7a0f20; }
.listing-issues div.chk { background: var(--chk-bg); color: #6b3d00; }
.listing-detail { border-top: 1px dashed var(--line); padding: 8px 18px 16px; background: var(--paper); }
.listing-detail .tbl td, .listing-detail .tbl th { padding: 8px; font-size: 13px; background: transparent; }

/* 모달 */
.modal-wrap { position: fixed; inset: 0; background: rgba(29,21,23,.55); display: grid; place-items: center; z-index: 100; padding: 16px; }
.modal { background: #fff; border-radius: var(--r-lg); padding: 30px; width: 100%; max-width: 460px; max-height: 90vh; overflow: auto; position: relative; border-top: 5px solid var(--red); }
.modal.wide { max-width: 820px; }
.modal h3 { margin: 0 0 10px; font-size: 20px; }
.modal-x { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 26px; color: var(--muted); cursor: pointer; line-height: 1; }
.kakao-preview { background: #b2c7da; border-radius: 12px; padding: 18px; margin-top: 14px; }
.kp-bubble { background: #fff; border-radius: 12px; padding: 14px 16px; font-size: 14px; max-width: 290px; }
.kp-btn { margin-top: 12px; background: #f3f3f3; border-radius: 6px; text-align: center; padding: 8px; font-weight: 700; font-size: 13px; }
.demo-code { background: var(--chk-bg); color: var(--chk); border-radius: var(--r); padding: 8px 12px; font-size: 13px; font-weight: 700; margin-bottom: 14px; }

/* 알림 */
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r); font-size: 14px; font-weight: 600; opacity: 0; transition: .25s; z-index: 200; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--red); }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 980px) {
  .hero-top, .sec-head, .split-cards, .checklist, .faq { grid-template-columns: 1fr; }
  .hero-red { padding-top: 48px; }
  .hero-red h1 { font-size: 50px; letter-spacing: -2px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-step:nth-child(3) { padding-left: 0; border-left: 0; }
  .sec { padding: 72px 0; }
  .sec-head h2 { font-size: 34px; }
  .split { grid-template-columns: 1fr; }
  .split-side { padding: 32px 24px; }
  .split-side h1 { font-size: 28px; }
  .stepper { grid-auto-flow: column; margin-top: 22px; }
  .stepper div { padding: 38px 0 0; font-size: 13px; text-align: left; }
  .stepper div::before { top: 0; }
  .stepper div:not(:last-child)::after { left: 34px; right: 8px; top: 15px; bottom: auto; width: auto; height: 2px; }
  .stepper small { display: none; }
  .split-main { padding: 32px 24px 64px; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .hide-m { display: none; }
  .hero-red h1 { font-size: 40px; }
  .hero-side .ctas .btn { flex: 1; }
  .paper { padding: 22px 18px 26px; }
  .paper-row { grid-template-columns: 1fr auto; }
  .paper-row .v { display: none; }
  .paper-row.head { display: none; }
  .stamp { width: 84px; height: 84px; right: 14px; top: -30px; }
  .stamp span { font-size: 16px; }
  .flow { grid-template-columns: 1fr; }
  .flow-step, .flow-step + .flow-step { padding: 22px 0 10px; border-left: 0; border-top: 1px solid var(--line); }
  .ink-card, .no-card { padding: 28px 22px; }
  .cta-final h2 { font-size: 30px; }

  body.app { padding-left: 0; padding-bottom: 72px; }
  body.app .demo-bar { margin-left: 0; white-space: normal; }
  .side { top: auto !important; bottom: 0; width: 100%; height: 64px; flex-direction: row; padding: 0 6px; align-items: stretch; }
  .side .logo, .side-user { display: none; }
  .side-menu { grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; gap: 0; }
  .side-menu a, .side-menu button { flex-direction: column; justify-content: center; gap: 2px; font-size: 11px; padding: 6px 2px; text-align: center; border-radius: 0; }
  .side-menu .ic { font-size: 18px; }
  .side-menu a.on { background: none; color: #ff6b7d; }
  .side-menu a.on::before { left: 20%; right: 20%; top: 0; bottom: auto; width: auto; height: 3px; border-radius: 0 0 3px 3px; }
  .page { padding: 24px 0 40px; }
  .page-head h1 { font-size: 26px; }
  .panel { padding: 24px 18px; }
  .report-list { grid-template-columns: 1fr; }
  .report-top { padding: 24px 0 72px; }
  .report-top h1 { font-size: 24px; }
  .report-top .report-actions .btn { flex: 1; }
  .report-body { padding: 0 12px 60px; }
  .sum-cards { grid-template-columns: 1fr 1fr; }
  .sum-card:nth-child(3) { border-left: 0; }
  .sum-card:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media print {
  .header, .footer, .demo-bar, .side, .report-actions, .no-print { display: none !important; }
  body.app { padding: 0; }
  .report-top { background: #fff; color: var(--ink); padding: 0 0 10px; }
  .report-body { margin-top: 0; }
  .listing-detail { display: block !important; }
}
