:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f1f3f9;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #1d4ed8;
  --primary-ink: #1e3a8a;
  --primary-soft: #e0e9ff;
  --teal: #0f9d8f;
  --violation: #dc2626;
  --violation-soft: #fee2e2;
  --caution: #d97706;
  --caution-soft: #fef3c7;
  --pass: #059669;
  --pass-soft: #d1fae5;
  --navy: #0b1220;
  --navy-2: #131c33;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -12px rgba(15, 23, 42, 0.18);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 15px; color: var(--ink); }
.container { width: min(1120px, 100% - 32px); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.85); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.top .container { display: flex; align-items: center; gap: 24px; height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
/* 공용 심볼 — 체크 + 밑줄(승인된 문구). 헤더는 듀오톤 라인, 파비콘·앱 아이콘은 솔리드 타일. */
.logo .mark { width: 30px; height: 30px; flex: none; fill: none; stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.logo small { font-weight: 600; color: var(--muted); font-size: 12px; margin-left: 2px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.nav a:hover { background: var(--surface-2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; border: 1px solid transparent; transition: transform 0.08s ease, background 0.15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-ink); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-lg { padding: 14px 22px; font-size: 16px; border-radius: 12px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 20% -10%, #1e3a8a55, transparent), radial-gradient(800px 400px at 90% 10%, #0f9d8f44, transparent), linear-gradient(180deg, var(--navy), var(--navy-2)); color: #fff; padding: 72px 0 64px; }
.hero .grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: #a5f3fc; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.2; letter-spacing: -0.02em; margin: 18px 0 14px; font-weight: 800; }
.hero h1 em { font-style: normal; color: #7dd3fc; }
.hero p.lead { font-size: 17px; color: #cbd5e1; margin: 0 0 26px; max-width: 560px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-ghost { border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.stat { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 10px 14px; min-width: 128px; }
.stat b { display: block; font-size: 22px; letter-spacing: -0.02em; }
.stat span { font-size: 12px; color: #94a3b8; }
.preview { background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); padding: 18px; }
.preview .ph { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.preview .src { font-size: 14px; background: var(--surface-2); border-radius: 10px; padding: 12px; line-height: 1.7; }
.preview .src mark { padding: 1px 3px; border-radius: 4px; background: var(--violation-soft); color: #7f1d1d; }
.preview .src mark.c { background: var(--caution-soft); color: #78350f; }
.preview .src mark.p { background: var(--pass-soft); color: #064e3b; }
.preview .card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-top: 10px; font-size: 13px; }
.preview .card .row { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.preview .ev { color: var(--muted); font-size: 12px; margin-top: 4px; }
.preview .rw { margin-top: 8px; background: var(--pass-soft); border-radius: 8px; padding: 8px 10px; color: #064e3b; }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.6; }
.badge.violation { background: var(--violation-soft); color: #991b1b; }
.badge.caution { background: var(--caution-soft); color: #92400e; }
.badge.pass { background: var(--pass-soft); color: #065f46; }
.badge.code { background: var(--surface-2); color: var(--ink-2); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.badge.kind { background: var(--primary-soft); color: var(--primary-ink); }
.badge.rule { background: #ede9fe; color: #5b21b6; }
.badge.risk-high { background: #fee2e2; color: #991b1b; }
.badge.risk-medium { background: #ffedd5; color: #9a3412; }
.badge.risk-low { background: #e2e8f0; color: #334155; }

/* sections */
section.block { padding: 72px 0; }
section.block.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 32px; }
/* 한 줄이 길면 눈이 다음 줄 첫 글자를 못 찾는다. 한글은 40~50자(≈68ch)가 편하다. */
section.block p { max-width: 68ch; }
section.block .card p, section.block .sec-head p { max-width: none; }
/* 키커를 한국어로 바꿨다(상단 네비도 한국어다) — uppercase·자간은 한글에 해롭다 */
.sec-head .kicker { color: var(--primary); font-weight: 800; font-size: 13px; letter-spacing: 0; text-transform: none; }
.sec-head h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; margin: 8px 0 10px; line-height: 1.25; }
/* 섹션을 읽을지 말지가 여기서 갈린다 — --muted 로 흐리게 두면 건너뛴다 */
.sec-head p { color: var(--ink-2); margin: 0; font-size: 17px; line-height: 1.65; }

/* app */
.app { display: grid; grid-template-columns: 400px 1fr; gap: 24px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel .ph { padding: 16px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.panel .ph h3 { margin: 0; font-size: 15px; }
.panel .ph .step { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.panel .pb { padding: 16px 18px; }
.field { margin-bottom: 14px; }
.field label, .field .lbl { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.field .help { font-size: 12px; color: var(--muted); margin-top: 4px; }
.input, textarea.input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; outline: none; }
.input:focus, textarea.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
textarea.input { min-height: 200px; resize: vertical; line-height: 1.6; }
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cat { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; background: #fff; display: flex; flex-direction: column; gap: 2px; transition: all 0.12s; }
.cat b { font-size: 14px; }
.cat span { font-size: 12px; color: var(--muted); }
.cat.on { border-color: var(--primary); background: var(--primary-soft); }
.cat input { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.sample { background: var(--surface-2); }
.chip.sample:hover { background: var(--primary-soft); color: var(--primary-ink); }
.tabs { display: flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 10px; margin-bottom: 12px; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 8px; border-radius: 8px; font-weight: 700; font-size: 13px; color: var(--muted); }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.drop { border: 2px dashed var(--line); border-radius: 12px; padding: 22px; text-align: center; color: var(--muted); font-size: 14px; background: #fafbff; }
.drop.over { border-color: var(--primary); background: var(--primary-soft); }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.hidden { display: none !important; }
.counter { font-size: 12px; color: var(--muted); text-align: right; margin-top: 4px; }

/* result */
.progress { display: grid; gap: 8px; }
.pstep { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); color: var(--muted); font-size: 14px; }
.pstep .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; font-size: 11px; background: #fff; }
.runmeter { margin-bottom: 12px; }
.runmeter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.runmeter-top b { font-size: 22px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.runmeter-top span { font-size: 13px; color: var(--muted); }
.runmeter-bar { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.runmeter-bar i { display: block; height: 100%; width: 0; border-radius: 999px; transition: width 0.5s ease; background: repeating-linear-gradient(115deg, var(--primary) 0 16px, var(--primary-ink) 16px 32px); background-size: 200% 100%; animation: runmeter-move 1.2s linear infinite; }
@keyframes runmeter-move { to { background-position: -36px 0; } }
.notifybox { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 12px 14px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-ink); font-size: 13.5px; line-height: 1.55; }
.notifybox.on { background: var(--pass-soft); color: var(--ink-2); }
.notifybox p { margin: 2px 0 0; }
.notifybox .sub { font-size: 12.5px; opacity: 0.85; }
.notifybox ol { margin: 4px 0 0; padding-left: 18px; }
.notifybox .btn { flex: none; }
@media (max-width: 560px) { .notifybox { flex-direction: column; align-items: stretch; } }
@media (prefers-reduced-motion: reduce) { .runmeter-bar i { animation: none; } }
.pstep.active { background: var(--primary-soft); color: var(--primary-ink); }
.pstep.active .dot { border-color: var(--primary); }
.pstep.active .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 1s infinite; }
.pstep.done { color: var(--ink-2); }
.pstep.done .dot { border-color: var(--pass); background: var(--pass); color: #fff; }
.pstep .lbl { font-weight: 700; }
.pstep .det { font-size: 12px; opacity: 0.85; }
@keyframes pulse { 0%, 100% { transform: scale(0.8); opacity: 0.6; } 50% { transform: scale(1.2); opacity: 1; } }
.empty { padding: 48px 24px; text-align: center; color: var(--muted); }
.empty .big { font-size: 40px; margin-bottom: 8px; }

.score { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; }
.ring { position: relative; width: 150px; height: 150px; }
.ring svg { transform: rotate(-90deg); }
.ring .num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .num b { font-size: 38px; letter-spacing: -0.03em; line-height: 1; }
.ring .num span { font-size: 12px; color: var(--muted); }
.counts { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.count { border-radius: 10px; padding: 8px 12px; min-width: 84px; }
.count b { display: block; font-size: 20px; }
.count span { font-size: 12px; }
.count.violation { background: var(--violation-soft); color: #7f1d1d; }
.count.caution { background: var(--caution-soft); color: #78350f; }
.count.pass { background: var(--pass-soft); color: #064e3b; }
.count.neutral { background: var(--surface-2); color: var(--ink-2); }
.comment { font-size: 15px; color: var(--ink-2); }
.meta { font-size: 12px; color: var(--muted); margin-top: 8px; display: flex; gap: 12px; flex-wrap: wrap; }
.src-view { white-space: pre-wrap; line-height: 1.9; font-size: 15px; background: var(--surface-2); border-radius: 12px; padding: 16px; }
.src-view mark { border-radius: 4px; padding: 1px 3px; cursor: pointer; border-bottom: 2px solid transparent; }
.src-view mark.violation { background: var(--violation-soft); color: #7f1d1d; border-bottom-color: var(--violation); }
.src-view mark.caution { background: var(--caution-soft); color: #78350f; border-bottom-color: var(--caution); }
.src-view mark.pass { background: var(--pass-soft); color: #064e3b; border-bottom-color: var(--pass); }
.src-view mark:hover { filter: brightness(0.95); }
/* 이미지별 보기(2026-11-03) — 왼쪽 이미지 조각 · 오른쪽 그 조각에서 걸린 표현 (review-ui.js imageView) */
.ivw { display: flex; flex-direction: column; gap: 14px; }
.ivw-page, .ivw-clean { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.ivw-page summary, .ivw-clean summary { cursor: pointer; font-size: 14px; }
.ivw-page summary span { color: var(--muted); font-size: 12.5px; margin-left: 8px; }
.ivw-page .src-view { margin-top: 10px; max-height: 420px; overflow: auto; }
.ivw-clean summary { font-weight: 700; }
.ivw-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.ivw-lbl { font-size: 12.5px; font-weight: 800; color: var(--ink-2); margin-bottom: 6px; }
.ivw-lbl span { font-weight: 500; color: var(--muted); margin-left: 4px; }
.ivw-open { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); position: sticky; top: 76px; }
.ivw-open > img { display: block; width: 100%; height: auto; max-height: 900px; object-fit: contain; object-position: top; }
.ivw-crop { overflow: hidden; width: 100%; }
.ivw-crop img { display: block; width: 100%; height: auto; }
.ivw-miss { font-size: 13px; color: var(--muted); background: var(--surface-2); border-radius: 8px; padding: 18px 14px; text-align: center; }
.ivw-miss a { color: var(--primary); font-weight: 700; }
.ivw-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ivw-side .cues { margin: 0; }
.ivw-note { font-size: 13px; background: var(--caution-soft); color: var(--ink-2); border-radius: 8px; padding: 8px 12px; }
.ivw-item { border-left: 4px solid var(--line); background: var(--surface-2); border-radius: 0 10px 10px 0; padding: 10px 12px; }
.ivw-item.violation { border-left-color: var(--violation); }
.ivw-item.caution { border-left-color: var(--caution); }
.ivw-top { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 4px; }
.ivw-top .badge.code { font-family: inherit; font-size: 11.5px; }
.ivw-item blockquote { margin: 4px 0; font-weight: 700; font-size: 14.5px; }
.ivw-why { font-size: 13px; color: var(--ink-2); }
.ivw-fix { margin-top: 8px; background: var(--surface); border: 1px solid var(--pass-soft); border-radius: 8px; padding: 8px 10px; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; }
.ivw-fix span { grid-column: 1 / -1; font-size: 11.5px; font-weight: 700; color: var(--pass); }
.ivw-fix b { font-size: 14px; font-weight: 600; }
.ivw-more { margin-top: 6px; background: none; border: 0; padding: 0; color: var(--primary); font-size: 12.5px; font-weight: 700; }
.ivw-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 10px; }
.ivw-thumbs .ivw-open { position: static; }
.ivw-thumbs .ivw-open > img, .ivw-thumbs .ivw-crop { max-height: 240px; }
@media (max-width: 720px) { .ivw-row { grid-template-columns: 1fr; } .ivw-open { position: static; } .ivw-open > img { max-height: 560px; } }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0 10px; }
.claim { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; background: #fff; border-left: 4px solid var(--line); scroll-margin-top: 80px; }
.claim.violation { border-left-color: var(--violation); }
.claim.caution { border-left-color: var(--caution); }
.claim.pass { border-left-color: var(--pass); }
.claim.flash { box-shadow: 0 0 0 3px var(--primary-soft); }
.claim .head { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.claim .head .id { font-size: 12px; color: var(--muted); font-weight: 700; margin-right: 2px; }
.claim blockquote { margin: 0 0 8px; font-size: 16px; font-weight: 700; line-height: 1.5; }
.claim .reason { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.claim details { margin-top: 6px; }
.claim summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--primary-ink); }
.evs { display: grid; gap: 8px; margin-top: 8px; }
.ev { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.ev .ref { font-weight: 700; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.ev .ref a { color: var(--primary); font-weight: 600; font-size: 12px; }
.ev .q { color: var(--ink-2); }
.ev .nv { font-size: 11px; color: var(--muted); }
.rewrite { margin-top: 10px; border-radius: 10px; padding: 10px 12px; background: var(--pass-soft); border: 1px solid #a7f3d0; }
.rewrite .lbl { font-size: 12px; font-weight: 800; color: #065f46; display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.rewrite .txt { font-size: 15px; margin: 4px 0; color: #064e3b; }
.rewrite .note { font-size: 12px; color: #047857; }
.rewrite.unverified { background: #fffbeb; border-color: #fde68a; }
.rewrite.unverified .lbl, .rewrite.unverified .txt, .rewrite.unverified .note { color: #78350f; }
.subst { margin-top: 8px; font-size: 13px; color: #7c2d12; background: #fff7ed; border-radius: 8px; padding: 8px 10px; }
.mini { border: 0; background: transparent; color: var(--primary); font-weight: 700; font-size: 12px; padding: 2px 6px; border-radius: 6px; }
.mini:hover { background: var(--primary-soft); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.disclaimer { font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 16px; }
.alert { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.notice { background: #eff6ff; color: #1e3a8a; border: 1px solid #bfdbfe; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 100; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
.toast.show { opacity: 1; }

/* how */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.pillar .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-ink); display: grid; place-items: center; font-weight: 900; margin-bottom: 12px; }
.pillar h4 { margin: 0 0 6px; font-size: 16px; }
.pillar p { margin: 0; font-size: 14px; color: var(--muted); }
.flow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 28px; }
.flow .f { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 10px; text-align: center; font-size: 13px; position: relative; }
.flow .f b { display: block; font-size: 11px; color: var(--primary); margin-bottom: 4px; letter-spacing: 0.04em; }
.flow .f::after { content: "→"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; }
.flow .f:last-child::after { display: none; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.principle { background: var(--surface-2); border-radius: 12px; padding: 14px 16px; font-size: 14px; }
.principle b { display: block; margin-bottom: 4px; }

/* timeline */
.timeline { display: grid; gap: 12px; }
.tl { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.tl .d { font-weight: 800; color: var(--primary); }
.tl .t { font-size: 15px; }
.tl .t small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.bignums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
/* 🔴 네이비 숫자 띠(.numbers)가 히어로 바로 밑에 이미 있다. 같은 장치를 두 번 쓰면 둘 다 안 보인다.
   여기는 **밝은 카드**로 낮춰 위계를 만든다 — 강한 대비는 페이지에 한 번만. */
.bignum { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.bignum b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; color: var(--primary); margin-bottom: 6px; }
.bignum span { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }

/* codex explorer */
.explorer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.explorer .bar { display: flex; gap: 8px; flex-wrap: wrap; }
.explorer .bar .input { flex: 1; min-width: 200px; }
.explorer select.input { width: auto; }
.results { margin-top: 14px; display: grid; gap: 8px; max-height: 520px; overflow: auto; }
.rs { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.rs .ref { font-weight: 700; margin-bottom: 4px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.rs .t { color: var(--ink-2); }
.kindstats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; display: flex; flex-direction: column; }
.compare { margin-top: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.compare h3 { margin: 0 0 14px; font-size: 18px; letter-spacing: -0.01em; }
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
.compare th { background: var(--surface-2); font-size: 13px; color: var(--ink-2); border-top: 0; }
.compare td:first-child { font-weight: 700; white-space: nowrap; width: 120px; }
.compare td:nth-child(2) { color: var(--muted); }
.compare td:nth-child(3) { color: var(--ink); }
.plan.hot { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.plan h4 { margin: 0; font-size: 16px; }
.plan .price { font-size: 26px; font-weight: 800; margin: 8px 0 2px; letter-spacing: -0.02em; }
.plan .price small { font-size: 13px; color: var(--muted); font-weight: 600; }
.plan .for { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.plan ul { margin: 0 0 16px; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.plan li { margin-bottom: 4px; }
.plan .btn { margin-top: auto; }

/* faq */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.faq p { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; }

footer { padding: 40px 0; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
footer .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero .grid { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; }
  .pillars, .plans, .bignums { grid-template-columns: 1fr 1fr; }
  .compare td:first-child { white-space: normal; width: auto; }
  .flow { grid-template-columns: repeat(4, 1fr); }
  .flow .f::after { display: none; }
  .principles { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 600px) {
  .container { width: min(1120px, 100% - 32px); }
  .hero { padding: 48px 0 40px; }
  .pillars, .plans, .bignums { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .score { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .tl { grid-template-columns: 1fr; gap: 4px; }
  .cats { grid-template-columns: 1fr; }
}

/* ── 회원 UI ── */
.authArea { display: flex; gap: 8px; align-items: center; }
.userchip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; }
.userchip .av { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 12px; }
.userchip .nm { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.userchip .cr { background: var(--primary-soft); color: var(--primary-ink); border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.modal { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.5); display: grid; place-items: center; z-index: 90; padding: 16px; }
.modal-card { background: #fff; border-radius: 16px; padding: 24px; width: min(420px, 100%); position: relative; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); }
.modal-x { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; font-size: 22px; color: var(--muted); cursor: pointer; }
.authform { margin-top: 14px; }
.check { display: block; font-size: 13px; color: var(--ink-2); margin: 4px 0 14px; line-height: 1.5; }
.check a { color: var(--primary); font-weight: 700; }
.fbbar { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); }
.fbbar .mini { border: 1px solid var(--line); background: #fff; }
.missedbox { margin-top: 16px; background: var(--surface-2); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.badge.kind.on { background: var(--ink); color: #fff; }

/* ── 계정·관리자 셸 ── */
.shellbody { background: var(--bg); }
.shell { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 24px 0 60px; align-items: start; }
.side { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; }
.side a { padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.side a.on, .side a:hover { background: var(--primary-soft); color: var(--primary-ink); }
.main { min-width: 0; }
.main h2 { margin: 4px 0 14px; font-size: 24px; letter-spacing: -0.02em; }
.main h3 { margin: 22px 0 10px; font-size: 16px; }
.main h4 { margin: 12px 0 6px; font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.kpi b { display: block; font-size: 24px; letter-spacing: -0.02em; }
.kpi span { font-size: 12px; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 14px 0; }
.card h3 { margin-top: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tablewrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; background: var(--surface-2); padding: 9px 10px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.table td { padding: 9px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.table tr:hover td { background: #fafbff; }
.muted { color: var(--muted); }
.input.sm { padding: 4px 8px; font-size: 12px; width: auto; }
.code { background: var(--navy); color: #e2e8f0; border-radius: 10px; padding: 12px 14px; font-size: 12px; overflow: auto; white-space: pre; }
.bars { display: flex; gap: 6px; align-items: flex-end; height: 140px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; font-size: 10px; color: var(--muted); }
.bar .fill { width: 100%; background: var(--primary-soft); border-radius: 6px 6px 0 0; display: flex; flex-direction: column; justify-content: flex-end; min-height: 2px; }
.bar .mem { background: var(--primary); border-radius: 6px 6px 0 0; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; flex-direction: row; flex-wrap: wrap; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .grid2 { grid-template-columns: 1fr; }
}

/* ── 히어로 예시 탭 · 대리 접속 배너 ── */
.ptabs { display: flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 10px; margin-bottom: 12px; }
.ptabs button { flex: 1; border: 0; background: transparent; padding: 7px; border-radius: 8px; font-weight: 700; font-size: 12px; color: var(--muted); }
.ptabs button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.preview .src.vid { display: grid; gap: 4px; font-size: 13px; line-height: 1.6; }
.preview .src.vid .ts { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 0 5px; margin-right: 4px; }
.preview .pfoot { margin-top: 10px; font-size: 11px; color: var(--muted); text-align: center; }
.impbanner { background: #7f1d1d; color: #fff; font-size: 13px; padding: 8px 16px; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; position: sticky; top: 62px; z-index: 49; }
.impbanner button { background: #fff; color: #7f1d1d; border: 0; border-radius: 8px; padding: 5px 10px; font-weight: 700; }
.demo-note { background: linear-gradient(90deg, #e0e9ff, #d1fae5); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pkgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pkg { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.pkg b { font-size: 15px; }
.pkg .amt { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.pkg small { color: var(--muted); font-size: 12px; }
.btn-kakao { background: #fee500; color: #191919; border: 0; font-weight: 800; }
.btn-kakao:hover { background: #f5dc00; }
@media (max-width: 900px) { .pkgs { grid-template-columns: 1fr 1fr; } }

/* ── 예시 미리보기 패널 · 시각 요소 ── */
.demo-panel { border-color: #99f6e4; background: linear-gradient(180deg, #f0fdfa, #fff); }
.demo-groups { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; }
.demo-groups .lbl { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.chip.demo-video { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip.demo-video:hover { background: var(--navy-2); }
.chip.demo-text:hover { background: var(--primary-soft); color: var(--primary-ink); }
.chip .sc { font-weight: 500; opacity: 0.75; font-size: 11px; margin-left: 4px; }
.cues { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 12px; }
.cue { background: #fdf2f8; color: #831843; border: 1px solid #fbcfe8; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
@media (max-width: 900px) { .demo-groups { grid-template-columns: 1fr; } }

/* ── 이용권 구매(체크아웃) · 약관 · 사업자 정보 푸터 ── */
.cogrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.costep { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; margin: 0 0 12px; }
.costep span { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 13px; }
.periodtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 12px; }
.periodtabs button { border: 0; background: transparent; border-radius: 9px; padding: 10px 8px; font-weight: 800; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.periodtabs button small { display: block; font-weight: 600; font-size: 11px; color: var(--muted); margin-top: 2px; }
.periodtabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12); }
.colist { display: flex; flex-direction: column; gap: 10px; }
.coitem { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--surface); cursor: pointer; }
.coitem.on { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.coitem input { margin-top: 5px; accent-color: var(--primary); }
.cobody { flex: 1; min-width: 0; }
.cotitle { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.cotitle b { font-size: 16px; }
.coamt { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.coamt s { color: var(--muted); font-weight: 600; font-size: 13px; margin-right: 8px; }
.codesc { color: var(--muted); font-size: 13px; margin: 2px 0 6px; }
.cobody ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); }
.order .orow { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.order .orow span { color: var(--muted); flex: none; }
.order .orow b { text-align: right; font-weight: 700; }
.order .orow.total { border-bottom: 0; padding-top: 14px; }
.order .orow.total b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--primary); }
.order .orow small { font-weight: 600; font-size: 12px; }
.section-title { font-weight: 800; font-size: 14px; margin: 16px 0 6px; }
/* 랜딩의 설득 문장 대부분이 이 목록에 들어 있다 — 본문(16px)보다 작으면 안 읽힌다 */
.points { margin: 0 0 14px; padding-left: 18px; font-size: 14.5px; color: var(--ink-2); line-height: 1.75; max-width: 64ch; }
.points li + li { margin-top: 7px; }
.points a { color: var(--primary); font-weight: 700; }
.check.agree { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
/* 카카오페이 결제수단 UI 가이드 v1.0 — Bar 타입(커스텀 권장형). 색·로고·표기를 바꾸지 말 것 */
.kpay-bar { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: #ffeb00; color: #191919; border: 0; border-radius: 12px; padding: 14px 16px; font-size: 16px; font-weight: 700; cursor: pointer; }
.kpay-bar img { height: 24px; width: auto; display: block; }
/* 토스페이 버튼 — 토스 블루 */
.tpay-bar { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: #0064ff; color: #fff; border: 0; border-radius: 12px; padding: 14px 16px; font-size: 16px; font-weight: 700; cursor: pointer; }
.tpay-bar:hover { background: #0050d6; }
.tpay-bar b { font-weight: 800; }
.tpay-bar:disabled { opacity: 0.55; cursor: default; }
.tpay-mark { font-weight: 900; letter-spacing: -0.02em; font-size: 15px; background: rgba(255,255,255,.18); border-radius: 7px; padding: 3px 8px; }
/* 나이스페이먼츠 — 카드·계좌이체. 앱 설치가 필요 없어 1순위로 둔다. */
.npay-bar { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--primary); color: #fff; border: 0; border-radius: 12px; padding: 15px 16px; font-size: 16.5px; font-weight: 800; cursor: pointer; }
.npay-bar:hover { filter: brightness(0.93); }
.npay-bar:disabled { opacity: 0.55; cursor: default; }
.npay-bar.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); font-weight: 700; }
.npay-bar.ghost:hover { background: var(--surface-2); filter: none; }
.paygroup { margin-top: 16px; }
.paylabel { font-size: 12.5px; font-weight: 800; color: var(--muted); margin-bottom: 8px; letter-spacing: -0.01em; }
.paychips { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin-top: 8px; }
.paychip { padding: 11px 8px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 13.5px; font-weight: 700; color: var(--ink); cursor: pointer; }
.paychip:hover { background: var(--surface-2); border-color: var(--primary); }
.paychip:disabled { opacity: 0.55; cursor: default; }
.paysep { margin: 12px 0 8px; text-align: center; font-size: 12.5px; color: var(--muted); }

/* 랜딩 — 심의의 현실.
   🔴 이름을 .bignum 으로 쓰면 안 된다 — 225행의 **네이비 카드**가 이미 그 이름을 쓰고 있어서
      배경이 통째로 어두워진다(2026-10-05에 겪음. .guide → .guidepage 와 같은 사고). */
.realwrap { align-items: start; gap: 36px; }
.statline { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
/* 🔴 통계 숫자에 --violation 을 쓰지 않는다 — 판정 3색(위반·주의·통과)은 의미색이라 사용자가 '위반'으로 읽는다.
   밝은 바탕의 큰 숫자는 --ink 로 무게만 준다(어두운 카드에서는 #7dd3fc·#fff 를 쓰는 .bignum 패턴). */
.statline > b { font-size: 58px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.statline span { font-size: 14px; color: var(--ink-2); font-weight: 700; line-height: 1.6; }
.statline i { color: var(--muted); font-style: normal; font-weight: 600; font-size: 13px; }
/* 통계 둘을 나란히 — 하나만 크게 두면 나머지가 장식처럼 보인다 */
.statpair { display: grid; gap: 14px; margin-bottom: 20px; }
.statpair .statline { margin: 0; align-items: baseline; }
.statpair .statline > b { font-size: 42px; }
.statpair .statline span b { font-weight: 800; color: var(--ink); }
/* 우리 값은 표의 마지막 행 — 협회에 내는 값 바로 아래 붙어야 비교가 선다 */
.feetable tr.ours th, .feetable tr.ours td { border-top: 2px solid var(--primary); border-bottom: 0; padding-top: 13px; }
.feetable tr.ours th { color: var(--primary); font-weight: 800; }
.feetable tr.ours td b { font-size: 22px; color: var(--primary); letter-spacing: -0.02em; }
.feetable table { width: 100%; border-collapse: collapse; font-size: 14px; }
.feetable th { text-align: left; font-weight: 700; color: var(--ink-2); padding: 9px 0; border-bottom: 1px solid var(--line); }
.feetable td { text-align: right; padding: 9px 0; border-bottom: 1px solid var(--line); }
.feetable td b { font-weight: 800; }
.feetable td i { display: block; font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; }
.feetable tr.free td b, .feetable tr.free td { color: var(--muted); }
.feetable tr:last-child th, .feetable tr:last-child td { border-bottom: 0; }
.feetable h3 { margin: 0 0 10px; font-size: 15px; }
.fsrc { margin: 10px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.feecmp { margin-top: 12px; border-color: var(--primary); }
.feecmp .fc { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.feecmp .fc span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.feecmp .fc b { font-size: 30px; font-weight: 900; color: var(--primary); letter-spacing: -0.03em; }
.feecmp .fc i { font-style: normal; font-size: 12.5px; color: var(--muted); font-weight: 600; width: 100%; }
.feecmp p { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.7; }

/* 리포트 — 심의 결과 알려주기 */
.outcard { position: relative; padding: 0; margin: 14px 0; border-color: var(--primary); }
.outcard > summary { cursor: pointer; padding: 15px 18px; list-style: none; display: flex; flex-direction: column; gap: 3px; }
.outcard > summary::-webkit-details-marker { display: none; }
.outcard > summary::after { content: "결과 알려주기 ›"; position: absolute; right: 18px; top: 16px; font-size: 13px; font-weight: 800; color: var(--primary); }
.outcard[open] > summary::after { content: "접기 ›"; }
.outcard > summary b { font-size: 15px; }
.outcard > summary span { font-size: 12.5px; color: var(--muted); font-weight: 600; padding-right: 110px; }
.outbody { padding: 0 18px 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.ocres { display: flex; gap: 8px; flex-wrap: wrap; }
.ocres button { padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; color: var(--ink); }
.ocres button.on { border-color: var(--primary); background: var(--primary); color: #fff; }
.paynote { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
/* 랜딩 — 시장 숫자 스트립 */
.numbers { background: var(--navy); color: #fff; padding: 40px 0 34px; }
/* 2칸이다 — 위험(왼쪽) ↔ 값(오른쪽)의 대비가 메시지다. 칸을 늘리면 그 대비가 죽는다. */
.numgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.numgrid .num > b { font-size: 34px; }
.num { padding: 18px 20px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.num > b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 6px; }
.num span { font-size: 13px; color: #c7d2e5; line-height: 1.6; }
.num i { color: #8ea3c0; font-style: normal; font-size: 12px; }
.num.hot { background: rgba(37, 99, 235, 0.22); border-color: rgba(96, 165, 250, 0.5); }
.num.hot > b { color: #93c5fd; }
.numsrc { margin: 16px 0 0; font-size: 11.5px; color: #7f92ad; line-height: 1.6; }
/* 랜딩 — 3단계 */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps3 .st { padding: 22px; border-top: 3px solid var(--primary); background: var(--surface); border-radius: 0 0 14px 14px; box-shadow: var(--shadow); }
/* 시각 자료를 품은 3열 — 설명 길이가 달라도 아래 시각 자료의 윗선이 맞도록 p 를 늘린다 */
.steps3.withviz { position: relative; align-items: stretch; column-gap: 34px; }
.steps3.withviz .st { display: flex; flex-direction: column; }
.steps3.withviz .st > p { flex: 1 1 auto; }
.stviz { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
/* 열 사이 화살표 — 왼쪽에서 오른쪽으로 흐른다는 것을 보이게 */
.steps3.withviz .st:not(:last-child)::after { content: "→"; position: absolute; top: 50%; transform: translate(-50%, -50%); margin-left: 17px; font-size: 20px; font-weight: 900; color: var(--primary); opacity: 0.45; }
.steps3.withviz .st:nth-child(1)::after { left: 33.33%; }
.steps3.withviz .st:nth-child(2)::after { left: 66.66%; }

.steps3 .n { font-size: 13px; font-weight: 800; color: var(--primary); letter-spacing: 1px; margin-bottom: 8px; }
.steps3 h4 { margin: 0 0 8px; font-size: 17px; }
.steps3 p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.nowbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding: 16px 20px; border-radius: 14px; background: var(--primary-soft); color: var(--primary-ink); font-size: 14.5px; }
.nowbar .btn { margin-left: auto; }
/* 랜딩 — 반려 문구 제보 */
.grid2wide { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: start; }
.rjform .field { display: block; margin-bottom: 12px; }
.rjform .field > span { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px; }
.rjform .field small { font-weight: 500; color: var(--muted); }
.rjform .check { display: flex; gap: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.6; margin: 4px 0 14px; }
@media (max-width: 900px) {
  .numgrid { grid-template-columns: repeat(2, 1fr); }
  .steps3, .grid2wide { grid-template-columns: 1fr; }
  .nowbar .btn { margin-left: 0; width: 100%; }
}
/* 대체 문구 보존강도 — 마케터의 "안전하게 쓰면 안 팔린다"를 선택지로 */
.strength { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.strength .lbl { font-weight: 700; font-size: 13.5px; }
.strength .sbtns { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.strength .sbtns button { border: 0; background: none; padding: 7px 14px; font-size: 13.5px; cursor: pointer; color: var(--ink-2); }
.strength .sbtns button.on { background: var(--primary); color: #fff; font-weight: 700; }
.strength .sbtns button:disabled { opacity: 0.6; cursor: default; }
.strength .help { font-size: 12.5px; color: var(--muted); }
/* "쉽게 말하면" — 법률 용어 없이 한 줄. 비전문가가 가장 먼저 읽는 줄이다 */
.claim .plainline { margin: 6px 0 2px; padding: 8px 12px; background: var(--surface-2); border-radius: 9px; font-size: 14px; line-height: 1.6; color: var(--ink); }
.claim .plainline b { color: var(--primary-ink); margin-right: 6px; }
/* 카테고리 추정 안내 — 소재와 다른 카테고리로 검수하면 근거 법령이 달라진다 */
.cathint { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding: 10px 12px; border: 1px solid #fde68a; background: #fffbeb; border-radius: 10px; font-size: 13.5px; color: #78350f; }
.cathint .btn { padding: 6px 12px; font-size: 13px; }
.cathint .linkbtn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 12.5px; }
/* 제품 카드가 없어 주의로 내려간 판정 안내 */
.cardtip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0 0; padding: 12px 14px; border: 1px solid var(--primary-soft); background: var(--primary-soft); border-radius: 12px; font-size: 13.5px; color: var(--primary-ink); line-height: 1.6; }
.cardtip span { flex: 1; min-width: 240px; }
.altpay { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.altpay > b { display: block; font-size: 14px; margin-bottom: 4px; }
.altpay p { margin: 0 0 10px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.altpay p a { color: var(--primary); font-weight: 700; }
.altpay .btn { padding: 8px 14px; font-size: 13.5px; }
.notice.warn { background: #fffbeb; border-color: #fde68a; color: #78350f; }
.kpay-bar b { font-weight: 800; }
.kpay-bar:disabled { opacity: 0.55; cursor: default; }
.plan .yearly { font-size: 12.5px; color: var(--ink-2); font-weight: 700; margin: -2px 0 6px; }
.plan .yearly em { font-style: normal; color: var(--primary); background: var(--primary-soft); border-radius: 999px; padding: 1px 8px; font-size: 11.5px; white-space: nowrap; display: inline-block; }
.legal .card h3 { font-size: 16px; margin: 22px 0 8px; }
.legal .card h3:first-child { margin-top: 0; }
.legal .card ul { padding-left: 20px; margin: 0 0 8px; }
.legal .card li { margin-bottom: 6px; line-height: 1.65; }
.legal .card a { color: var(--primary); font-weight: 700; }
.bizinfo { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.bizinfo p { margin: 8px 0 0; }
.bizlinks { display: flex; gap: 14px; flex-wrap: wrap; }
.bizlinks a { color: var(--ink-2); font-weight: 700; }
.bizinfo a:hover { text-decoration: underline; }
.shellbody footer { padding: 24px 0 40px; }
@media (max-width: 860px) { .cogrid { grid-template-columns: 1fr; } }

/* ── 요금 토글·이용권 카드(pricing.js) · 워크스페이스 모드(/app) ── */
.ptoggle { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.ptoggle button { border: 0; background: transparent; border-radius: 999px; padding: 8px 20px; font-weight: 800; font-size: 14px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.ptoggle button.on { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(29, 78, 216, 0.35); }
.ptoggle button em { font-style: normal; font-size: 11.5px; font-weight: 800; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #dcfce7; color: #166534; }
.ptoggle button.on em { background: rgba(255, 255, 255, 0.22); color: #fff; }
.ptoggle-host { text-align: center; }
.pcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pcard { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fff; display: flex; flex-direction: column; }
.pcard.hot { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.pcard h4 { margin: 0; font-size: 15px; }
.pwho { color: var(--muted); font-size: 12.5px; margin: 2px 0 10px; min-height: 18px; }
.pprice { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.pprice small { font-size: 12.5px; color: var(--muted); font-weight: 600; margin-left: 2px; }
.psub { font-size: 12.5px; color: var(--ink-2); font-weight: 600; margin-top: 4px; }
.psave { margin: 8px 0 10px; font-size: 12.5px; min-height: 22px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.psave s { color: var(--muted); }
.psave em { font-style: normal; font-weight: 800; color: #166534; background: #dcfce7; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.psave.hint { color: var(--muted); }
.psave.hint b { color: #166534; }
.pcard ul { margin: 0 0 14px; padding-left: 17px; font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.pcard .btn { margin-top: auto; text-align: center; }
.pnote { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.65; }
.pnote a { color: var(--primary); font-weight: 700; }
.modal-card.wide { width: min(1080px, 100%); max-height: calc(100vh - 32px); overflow: auto; }
.plan .yearly s { color: var(--muted); font-weight: 600; }
.plan .yearly em { background: #dcfce7; color: #166534; }
.plan .yearly .permonth { display: block; margin-top: 3px; color: var(--muted); font-weight: 600; }
.cosave { font-size: 12.5px; color: var(--muted); margin: 0 0 6px; }
.cosave em { font-style: normal; font-weight: 800; color: #166534; background: #dcfce7; border-radius: 999px; padding: 2px 9px; margin-right: 6px; }
.side a.side-cta { background: var(--primary); color: #fff; text-align: center; font-weight: 800; margin-bottom: 6px; }
.side a.side-cta:hover { background: var(--primary-ink, #1e40af); color: #fff; }
.appmode .hero, .appmode #how, .appmode #why, .appmode #pricing, .appmode #faq, .appmode #demoPanel { display: none !important; }
.appmode #app { padding-top: 36px; }
.appmode #app .sec-head { margin-bottom: 20px; }
@media (max-width: 1000px) { .pcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pcards { grid-template-columns: 1fr; } }

/* .field label{display:block} 가 .cat 의 flex 를 덮어써서 이름과 설명이 한 줄로 붙던 문제 */
.field .cats label.cat { display: flex; margin-bottom: 0; }

/* ── 워크스페이스 셸(v0.5): 검수 · 이력/폴더 · 리포트 · 메뉴 설명 ── */
.shellbody .container { width: min(1400px, 100% - 32px); }
@media (min-width: 901px) { .shell { grid-template-columns: 228px minmax(0, 1fr); } }
/* 이메일 인증 띠가 셸 격자의 한 칸을 차지하면 본문이 사이드바 아래 좁은 칸으로 밀린다(2026-10-21) — 띠와 본문은 언제나 오른쪽 열, 사이드바는 두 줄을 차지 */
@media (min-width: 901px) {
  .shell > .side { grid-column: 1; grid-row: 1 / span 2; }
  .shell > .verifybar, .shell > .main { grid-column: 2; }
  .shell > .verifybar { border: 1px solid var(--caution); border-radius: var(--radius); }
}
.side-h { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: 0.06em; padding: 12px 12px 4px; text-transform: uppercase; }
.view { max-width: 980px; }
.view.wide { max-width: none; }
.viewhead { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.viewhead p { margin: 0 0 10px; max-width: 720px; }
.kpi.mini { padding: 10px 14px; min-width: 250px; }
.kpi.mini b { font-size: 20px; }
.app.ws { grid-template-columns: minmax(360px, 420px) minmax(0, 1fr); margin-top: 14px; }
.organize { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.guide { background: #f8faff; border: 1px solid #dbe5ff; border-radius: 12px; margin: 10px 0 16px; }
.guide summary { cursor: pointer; padding: 11px 14px; font-size: 13.5px; list-style: none; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary::before { content: "\25B8"; color: var(--primary); font-weight: 800; }
.guide[open] summary::before { content: "\25BE"; }
.guide summary b { color: var(--primary-ink, #1e3a8a); white-space: nowrap; }
.guide summary span { color: var(--ink-2); }
.guide-b { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 18px; padding: 4px 16px 14px; font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.guide-b h5 { margin: 0 0 4px; font-size: 12px; color: var(--primary-ink, #1e3a8a); letter-spacing: 0.02em; }
.guide-b p { margin: 0; }
.guide-b ol, .guide-b ul { margin: 0; padding-left: 18px; }
.guide-b a { color: var(--primary); font-weight: 700; }
.guide-b code, .doc code, .view code { background: #eef2ff; border-radius: 5px; padding: 1px 5px; font-size: 12px; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stepitem { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; }
.stepitem .n { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.stepitem.done { border-color: #bbf7d0; background: #f0fdf4; }
.stepitem.done .n { background: #16a34a; color: #fff; }
.stepitem b { display: block; font-size: 13.5px; }
.stepitem small { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; margin-top: 2px; }
.lib { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: start; }
.folders { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; position: sticky; top: 76px; }
.folders .fh { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; color: var(--muted); padding: 4px 6px 8px; }
.fitem { display: flex; align-items: center; gap: 6px; padding: 8px 8px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.fitem > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fitem em { font-style: normal; font-size: 12px; color: var(--muted); }
.fitem.on, .fitem:hover { background: var(--primary-soft); color: var(--primary-ink, #1e3a8a); }
.fitem .fops { display: none; gap: 2px; }
.fitem:hover .fops { display: inline-flex; }
.fitem .fops .mini { padding: 0 5px; }
.filters2 { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; align-items: center; }
.filters2 .input { width: auto; flex: 0 1 150px; padding: 8px 10px; font-size: 13px; }
.filters2 #fQ { flex: 1 1 220px; }
.bulk { display: flex; gap: 8px; align-items: center; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px; padding: 8px 12px; margin-bottom: 10px; font-size: 13px; font-weight: 700; }
.pager { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.rowlink { display: block; color: inherit; }
.rowlink b { display: block; }
.rowlink small { display: block; color: var(--muted); font-size: 12px; max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rowlink:hover b { color: var(--primary); text-decoration: underline; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--primary); font-weight: 700; }
.rephead { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.rephead .field { flex: 1; min-width: 160px; }
.repmeta { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); margin: 4px 0 14px; }
.repmeta .sp { flex: 1; }
.reptabs { max-width: 520px; }
.btn.danger { color: #b91c1c; }
.card.asset { display: flex; gap: 14px; align-items: flex-start; }
.card.asset img, .card.asset video { width: 180px; max-height: 240px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); flex: none; background: #000; }
.card.asset .txt { white-space: pre-wrap; background: var(--surface-2); border-radius: 8px; padding: 10px; font-size: 12.5px; line-height: 1.6; margin: 8px 0 6px; max-height: 320px; overflow: auto; font-family: inherit; }
.assetgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.assetgrid .card.asset { margin: 0; }
.assetgrid .card.asset img, .assetgrid .card.asset video { width: 96px; height: 96px; }
.ph2 { width: 96px; height: 96px; flex: none; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; font-size: 30px; }
.clip { font-size: 12.5px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 4px 0 6px; word-break: break-all; }
.proc { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.9; }
.proc em { font-style: normal; color: var(--muted); font-size: 12px; margin-left: 6px; }
.doc h4 { margin: 20px 0 8px; font-size: 14px; }
.doc p, .doc li { font-size: 13.5px; line-height: 1.7; }
.doc .code { margin: 8px 0; }
.flowline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0 16px; }
.flowline span { background: var(--primary-soft); color: var(--primary-ink, #1e3a8a); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.flowline i { font-style: normal; color: var(--muted); }
.sharebar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; }
@media (max-width: 1100px) { .app.ws { grid-template-columns: 1fr; } .guide-b { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .lib { grid-template-columns: 1fr; } .folders { position: static; } .organize { grid-template-columns: 1fr; } }

/* ══════════ v0.6 — 한 줄 흐름(소재 → 검수 → 리포트 → 수정본 → 재검수), 앱 안 대화상자, 모바일 셸, 인쇄 ══════════ */
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 9px; }
.btn-soft { background: var(--primary-soft); color: var(--primary-ink); border-color: transparent; }
.btn-soft:hover { background: #cfdcff; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.opt { font-weight: 500; color: var(--muted); font-size: 12px; margin-left: 4px; }
.sp { flex: 1; }
.rowfit { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rowfit > .input { flex: 1; min-width: 180px; }
.empty.sm { padding: 24px 16px; font-size: 14px; }
.empty.card { margin: 0; }
.kpi { display: block; }
a.kpi:hover { border-color: var(--primary); }
.kpi b small { font-size: 14px; font-weight: 700; margin-left: 2px; color: var(--ink-2); }
.kpi b.sm { font-size: 18px; line-height: 1.7; }

.help { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.actions + .help { margin-top: 10px; }
details.fold > summary .muted { font-size: 13px; }
.only-m { display: none !important; }
/* 셸 · 사이드 */
.view { max-width: 1040px; }
.view.narrow { max-width: 900px; }
.view.wide { max-width: none; }
.side a { display: flex; align-items: center; gap: 9px; }
.side a .ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.side a.side-cta { justify-content: center; padding: 12px; font-size: 15px; }
.side-m { display: none; }
.navbtn { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 0; flex: none; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.navbtn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.viewhead { align-items: center; margin-bottom: 4px; }
.viewhead h2 { margin-bottom: 4px; }
.viewhead p { margin: 0 0 8px; }
.hello { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.hello h2 { margin: 0 0 2px; }
.hello p { margin: 0; }
.sechead { display: flex; align-items: baseline; justify-content: space-between; margin: 24px 0 10px; }
.sechead h3 { margin: 0; }
.warnbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fffbeb; border-color: #fde68a; color: #78350f; margin-bottom: 12px; }
.welcome { background: linear-gradient(90deg, #e0e9ff, #d1fae5); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; font-size: 14px; display: grid; gap: 2px; }
.welcome em { font-style: normal; font-weight: 700; color: var(--primary-ink); }
.steps { grid-template-columns: repeat(5, 1fr); }
.pagetabs { max-width: 560px; margin: 14px 0; }
.pagetabs button em { font-style: normal; font-size: 11px; background: var(--line); color: var(--ink-2); border-radius: 999px; padding: 0 7px; margin-left: 3px; }
.pagetabs button.on em { background: var(--primary-soft); color: var(--primary-ink); }
details.fold > summary { cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary h3 { margin: 0; }
details.fold > summary::after { content: "\25BE"; margin-left: auto; color: var(--muted); }
details.fold[open] > summary::after { content: "\25B4"; }
details.fold[open] > summary { margin-bottom: 12px; }

/* 새 검수 — 입력 */
.compose .ph .phs { font-size: 12.5px; color: var(--muted); margin-left: 4px; }
.compose:not(.is-flow) .ph .phs { display: none; } /* 랜딩의 좁은 패널 */
.compose .ph + .pb { padding-bottom: 18px; }
.compose #wsAlert .alert { margin: 14px 18px 0; }
.srctabs button small { display: block; font-size: 10.5px; font-weight: 600; opacity: 0.7; margin-top: 1px; }
.compose textarea#srcText { min-height: 180px; }
.compose.is-flow textarea#srcText { min-height: 240px; font-size: 15.5px; }
.underbar { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 6px; }
.underbar .chips { align-items: center; }
.underbar .counter { margin: 0; }
.drop b { color: var(--ink-2); }
.drop { cursor: pointer; line-height: 1.7; }
.thumb { position: relative; display: inline-block; }
.thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; }
.thumb button { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 12px; line-height: 1; padding: 0; }
.compose.is-flow .cats { grid-template-columns: repeat(4, 1fr); }
.cats.four { grid-template-columns: repeat(2, 1fr); }
.cardsum { margin-top: 8px; display: flex; gap: 6px 8px; flex-wrap: wrap; align-items: center; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.cardsum b { margin-right: 4px; }
.cardsum span:not(.muted) { background: #fff; border: 1px solid #bbf7d0; border-radius: 999px; padding: 1px 9px; font-weight: 600; color: #166534; }
.cardsum .muted { font-size: 12px; }
.licbox, .orgbox { border: 1px solid var(--line); border-radius: 12px; background: #fafbff; }
.licbox summary, .orgbox summary { cursor: pointer; list-style: none; padding: 11px 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.licbox summary::-webkit-details-marker, .orgbox summary::-webkit-details-marker { display: none; }
.licbox summary::before, .orgbox summary::before { content: "\25B8"; color: var(--primary); font-weight: 800; }
.licbox[open] summary::before, .orgbox[open] summary::before { content: "\25BE"; }
.licbox summary span, .orgbox summary > span:last-child { font-size: 12.5px; color: var(--muted); }
.licbody { padding: 4px 14px 14px; }
.orgbox { margin: 0 18px 4px; }
.orgbox .organize { margin: 0; padding: 4px 14px 14px; border-top: 0; }
.step.ghost { background: var(--surface-2) !important; color: var(--ink-2) !important; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; }
.runbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 16px 18px 18px; border-top: 1px solid var(--line); margin-top: 14px; }
.runinfo { font-size: 13.5px; color: var(--ink-2); }
.runinfo .warn { color: #b91c1c; font-weight: 700; }
.runinfo a { color: var(--primary); font-weight: 800; text-decoration: underline; }
.tagv { background: #ede9fe; color: #5b21b6; border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 700; }
.runpanel .pb { padding: 28px; max-width: 640px; margin: 0 auto; }
.runpanel h3 { margin: 0 0 4px; font-size: 20px; }
.runpanel p { margin: 0 0 16px; }

/* 검수 목록 한 줄 */
.rlist { display: grid; gap: 8px; }
.ritem { display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ritem:hover { border-color: #c7d2fe; box-shadow: var(--shadow); }
.rsel { display: grid; place-items: center; padding: 0 4px 0 14px; cursor: pointer; }
.rsel input { width: 16px; height: 16px; accent-color: var(--primary); }
.rmain { flex: 1; min-width: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 16px; }
.sbadge { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--c); display: grid; place-content: center; text-align: center; line-height: 1; }
.sbadge b { font-size: 17px; color: var(--c); letter-spacing: -0.02em; }
.sbadge small { font-size: 10px; color: var(--muted); font-weight: 700; margin-top: 2px; }
.rbody { min-width: 0; display: grid; gap: 3px; }
.rbody b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbody small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rtags { display: flex; gap: 4px; flex-wrap: wrap; }
.rtags em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border-radius: 6px; padding: 1px 7px; }
.rtags em.f { background: #fef9c3; color: #713f12; }
.rtags em.v2 { background: #ede9fe; color: #5b21b6; }
.rverd { display: flex; gap: 4px; }
.rverd i { font-style: normal; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.rverd i.v { background: var(--violation-soft); color: #991b1b; }
.rverd i.c { background: var(--caution-soft); color: #92400e; }
.rverd i.p { background: var(--pass-soft); color: #065f46; }
.rdate { font-size: 12.5px; color: var(--muted); white-space: nowrap; min-width: 96px; text-align: right; }
.filters2 .period { display: inline-flex; align-items: center; gap: 4px; }
.filters2 .period i { font-style: normal; color: var(--muted); }
.filters2 .period .input { flex: none; width: 140px; }
.fhint { font-size: 12.5px; color: var(--muted); margin: 8px 6px; line-height: 1.5; }

/* 리포트 */
.ringbox { display: grid; justify-items: center; gap: 4px; }
.ringcap { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.ring .num { align-content: center; }
.ring .num span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-top: 4px; }
.crumbs { display: flex; gap: 10px; align-items: center; }
.crumbs span { color: var(--ink-2); font-weight: 600; }
.donebar { background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; border-radius: 12px; padding: 11px 14px; font-size: 14px; margin-bottom: 12px; }
.verstrip { background: #f5f3ff; border: 1px solid #ddd6fe; color: #4c1d95; border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 12px; display: grid; gap: 4px; }
.verstrip a { font-weight: 700; text-decoration: underline; }
.verstrip em { font-style: normal; font-weight: 800; border-radius: 999px; padding: 1px 8px; margin-left: 4px; font-size: 12px; }
.verstrip em.up { background: #dcfce7; color: #166534; }
.verstrip em.down { background: #fee2e2; color: #991b1b; }
.printhead { display: none; }
.rephead { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.titleinput { flex: 1; min-width: 240px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; border: 1px solid transparent; border-radius: 10px; background: transparent; padding: 6px 8px; margin-left: -8px; color: var(--ink); outline: none; }
.titleinput:hover { border-color: var(--line); background: #fff; }
.titleinput:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px var(--primary-soft); }
.repacts { display: flex; gap: 6px; flex-wrap: wrap; }
.repacts .btn { padding: 8px 12px; font-size: 13px; background: #fff; }
.repmeta { margin: 0 0 12px; }
.repmeta span + span::before { content: "·"; margin-right: 14px; color: var(--line); }
.repmeta a { color: var(--primary); font-weight: 700; }
.reporg { display: flex; gap: 10px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.reporg label { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.reporg label .input { padding: 7px 10px; font-size: 13.5px; min-width: 150px; font-weight: 500; }
.reporg label.grow { flex: 1; min-width: 260px; }
.reporg label.grow .input { flex: 1; }
.rh { margin: 22px 0 8px; font-size: 15px; }
.rh span { font-weight: 500; color: var(--muted); font-size: 12.5px; margin-left: 6px; }
.nextstep { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 18px; background: linear-gradient(90deg, #eef2ff, #ecfdf5); border: 1px solid #c7d2fe; border-radius: 12px; padding: 14px 16px; }
.nextstep b { display: block; font-size: 15px; }
.nextstep span { font-size: 13px; color: var(--ink-2); }
.nextstep.ok { background: #f0fdf4; border-color: #bbf7d0; }
.filters { align-items: center; }
.claim .head .id { margin-left: auto; margin-right: 0; font-weight: 600; opacity: 0.7; }
.claim .rewrite { margin: 10px 0 0; }
details.evd { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }
details.evd summary { display: flex; gap: 8px; align-items: baseline; font-size: 13px; list-style: none; }
details.evd summary::-webkit-details-marker { display: none; }
details.evd summary::before { content: "\25B8"; color: var(--primary); font-weight: 800; }
details.evd[open] summary::before { content: "\25BE"; }
details.evd summary b { color: var(--primary-ink); white-space: nowrap; }
.evsum { color: var(--muted); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fbbar { align-items: center; border-top: 0; padding-top: 0; margin-top: 12px; }
.fbbar .fbq { font-size: 12px; color: var(--muted); }
.fbbar .mini { border: 0; background: transparent; color: var(--ink-2); }
.fbbar .mini:hover { background: var(--surface-2); }

/* 수정본 */
.rev-lead { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-2); }
.rev-list { display: grid; gap: 10px; }
.rev-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 14px; border: 1px solid var(--line); border-left: 4px solid var(--violation); border-radius: 12px; padding: 12px 14px; background: #fff; }
.rev-item.caution { border-left-color: var(--caution); }
.rev-item.rep { border-left-color: #7c3aed; }
.badge.rep { background: #f3e8ff; color: #5b21b6; }
.rev-item.off { opacity: 0.6; border-left-color: var(--line); }
.rev-o { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; font-size: 14.5px; }
.rev-o .o { font-weight: 700; text-decoration: line-through; text-decoration-color: #fca5a5; text-decoration-thickness: 2px; }
.rev-item.off .rev-o .o { text-decoration: none; }
.rev-t { min-height: 0 !important; font-size: 14.5px; line-height: 1.55; background: #f0fdf4; border-color: #bbf7d0; resize: vertical; }
.rev-item.off .rev-t { background: var(--surface-2); border-color: var(--line); }
.rev-mode { display: flex; gap: 4px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.rev-mode button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.rev-mode button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.rev-v { margin-left: auto; font-size: 12px; font-weight: 700; }
.rev-v.ok { color: #047857; }
.rev-v.warn { color: #b45309; }
.rev-prev ins { background: var(--pass-soft); color: #064e3b; text-decoration: none; border-bottom: 2px solid var(--pass); border-radius: 4px; padding: 1px 3px; }
.rev-prev del { background: var(--violation-soft); color: #991b1b; border-radius: 4px; padding: 1px 3px; }
.rev-edit { margin-top: 10px; }
.rev-edit summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--primary-ink); margin-bottom: 8px; }

/* 제품 카드 · 승인 문구 */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
.pcx { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pcx-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pcx-h b { font-size: 16px; }
.pcx dl { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 5px 10px; font-size: 13.5px; }
.pcx dt { color: var(--muted); font-weight: 600; }
.pcx dd { margin: 0; color: var(--ink-2); }
.pcx-f { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12.5px; }
.phlist { display: grid; gap: 8px; }
.phitem { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--pass); border-radius: 12px; padding: 12px 14px; }
.ph-a { font-size: 15.5px; font-weight: 700; color: #064e3b; }
.ph-o { font-size: 13px; color: var(--muted); margin: 3px 0 8px; }
.ph-m { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; }

/* 요금 카드 보강 */
.psoon { font-size: 12px; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.psoon b { font-size: 11px; background: var(--surface-2); color: var(--ink-2); border-radius: 999px; padding: 1px 7px; margin-right: 4px; }
.pcommon { margin: 14px 0 0; padding: 12px 14px; background: var(--surface-2); border-radius: 12px; font-size: 13px; color: var(--ink-2); }
.pcommon b { display: block; margin-bottom: 6px; font-size: 13px; }
.pcommon span { display: inline-block; margin: 2px 12px 2px 0; }
.pcommon span::before { content: "✓ "; color: var(--pass); font-weight: 800; }
.punit { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* 환불 견적 표 */
.quote { border: 1px solid var(--line); border-radius: 12px; padding: 4px 14px; margin: 4px 0 12px; background: var(--surface-2); }
.qrow { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 13.5px; border-bottom: 1px dashed var(--line); }
.qrow:last-child { border-bottom: 0; }
.qrow span { color: var(--ink-2); }
.qrow b { white-space: nowrap; }
.qrow em { font-style: normal; font-size: 17px; font-weight: 800; color: var(--primary); }

/* 앱 안 대화상자 */
.modal-card.dlg { width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; }
.modal-card.dlg.wide-md { width: min(640px, 100%); }
.dlg h3 { margin: 0 0 6px; font-size: 18px; }
.dlg-msg { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.dlg-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.dlg textarea.input { min-height: 96px; }

/* 모바일 셸 */
@media (max-width: 1100px) { .steps { grid-template-columns: 1fr 1fr; } .rev-item { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .shellbody .container { width: min(1400px, 100% - 24px); }
  .shell { padding-top: 14px; gap: 0; }
  .shellbody .top .container { gap: 10px; }
  .shellbody .nav { display: none; }
  .shellbody .logo small, .hide-m, .userchip .nm, .userchip .av { display: none !important; }
  .userchip { padding: 4px; }
  .shellbody .authArea { margin-left: auto; }
  .navbtn { display: inline-flex; }
  .only-m { display: inline-flex !important; }
  .compose .ph { flex-wrap: wrap; row-gap: 2px; }
  .compose .ph .phs { flex-basis: 100%; margin-left: 34px; }
  .side { display: none; position: fixed; top: 62px; left: 0; right: 0; bottom: 0; z-index: 60; border-radius: 0; border: 0; border-top: 1px solid var(--line); padding: 14px 16px 40px; overflow: auto; flex-direction: column; flex-wrap: nowrap; }
  .side.open { display: flex; }
  .side a { padding: 13px 12px; font-size: 16px; }
  .side-m { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
  body.navopen { overflow: hidden; }
  .main h2 { font-size: 21px; }
  .compose.is-flow .cats { grid-template-columns: 1fr 1fr; }
  .orgbox { margin: 0 12px 4px; }
  .runbar { position: sticky; bottom: 0; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); z-index: 5; border-radius: 0 0 var(--radius) var(--radius); }
  .runbar .btn-lg { flex: 1; }
  .rmain { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .sbadge { width: 44px; height: 44px; }
  .sbadge b { font-size: 15px; }
  .rverd { grid-column: 2; }
  .rdate { grid-column: 2; text-align: left; min-width: 0; }
  .titleinput { font-size: 20px; min-width: 0; width: 100%; flex: 1 1 100%; }
  .repacts { width: 100%; }
  .repacts .btn { flex: 1; }
  .reporg label { flex: 1 1 100%; }
  .reporg label .input { flex: 1; min-width: 0; }
  .pagetabs { max-width: none; }
  .pagetabs button { padding: 8px 4px; font-size: 12.5px; }
  .score { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .counts { justify-content: center; }
  .meta { justify-content: center; }
  .card.asset { flex-direction: column; }
  .card.asset img, .card.asset video { width: 100%; max-height: 320px; }
  .filters2 .input { flex: 1 1 130px; }
  .filters2 .period { flex: 1 1 100%; }
  .filters2 .period .input { flex: 1; width: auto; }
  .pgrid { grid-template-columns: 1fr; }
  .kpis { gap: 8px; }
  .kpi { padding: 12px; }
  .kpi b { font-size: 20px; }
  .hello .btn-lg { width: 100%; }
  .viewhead .btn { width: 100%; }
  .fbbar .sp { flex-basis: 100%; height: 0; }
  .evsum { white-space: normal; }
  .claim { padding: 12px; }
  .panel .pb { padding: 14px; }
  .modal { align-items: end; padding: 0; }
  .modal-card { border-radius: 16px 16px 0 0; width: 100% !important; max-height: 92vh; overflow: auto; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .kpis { grid-template-columns: 1fr 1fr; } .srctabs button { font-size: 12.5px; } }

/* 인쇄 · PDF 저장 — 리포트의 '결과'만, 근거를 모두 펼쳐서 */
@media print {
  @page { margin: 14mm 12mm; }
  body, .shellbody { background: #fff !important; }
  header.top, .side, footer, .toast, .impbanner, .crumbs, .donebar, .repacts, .reporg, .pagetabs, .guide, .fbbar, .missedbox, .actions, .nextstep, .filters, .navbtn, #rpRevise, #rpAssets, #rpProcess { display: none !important; }
  .verstrip a { text-decoration: none; color: inherit; }
  .shell { display: block !important; padding: 0 !important; }
  .shellbody .container { width: 100% !important; }
  .printhead { display: flex !important; justify-content: space-between; gap: 12px; border-bottom: 2px solid #0f172a; padding-bottom: 8px; margin-bottom: 12px; font-size: 12px; }
  .printhead b { font-size: 14px; }
  .titleinput { border: 0 !important; padding: 0 !important; margin: 0 !important; font-size: 20px; }
  .panel, .card { box-shadow: none !important; border: 0 !important; }
  .panel .pb { padding: 0 !important; }
  .claim { break-inside: avoid; }
  .claim .mini { display: none !important; }
  .src-view, .ev, .rewrite, .count, .badge, mark { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  details.evd summary::before { content: "" !important; }
}
.num span em { font-style: normal; font-weight: 800; color: #fff; }
.rjform .check input { flex: none; margin-top: 3px; }

/* 단건·출시 팩 스트립 (구독 없이 결제) */

/* 헤더 CTA: 좁은 화면에서 줄바꿈 대신 보조 문구를 접는다 */
.authArea .btn{white-space:nowrap}
@media (max-width:600px){.ctasub{display:none}.logo small{display:none}.authArea .btn{padding:8px 12px}}

/* 유료 전용 버튼 — 눌러 보고 나서 알게 하지 않는다 */
.btn.locked { opacity: .68; }
.btn.locked::before { content: "🔒"; margin-right: 6px; font-size: 11px; filter: grayscale(1); }
.btn.locked:hover { opacity: 1; border-color: var(--primary); }

/* 카테고리가 틀린 것 같다는 경고 — 근거 법령이 통째로 바뀌는 문제라 눈에 띄어야 한다 */
.cardtip.warn { border-color: #fcd34d; background: #fffbeb; color: #78350f; }
.cardtip.warn .btn { border-color: #f59e0b; color: #78350f; background: #fef3c7; }
.cardtip.warn .btn:hover { background: #fde68a; }

/* ── 가이드(콘텐츠) 페이지 ─────────────────────────────────── */
.guidebody { background: var(--surface-2); }
.guidepage { max-width: 860px; padding: 28px 20px 72px; }
.gcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.gcrumb a { color: var(--muted); }
.guidepage h1 { font-size: 34px; line-height: 1.28; letter-spacing: -0.02em; margin: 0 0 10px; }
.gmeta { font-size: 13px; color: var(--muted); margin: 0 0 22px; }
.glead { font-size: 16px; line-height: 1.85; color: var(--ink-2); margin: 0 0 14px; }
.guidepage h2 { font-size: 22px; margin: 38px 0 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.gtable { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 14.5px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.gtable th { text-align: left; background: var(--surface-2); font-size: 13px; color: var(--ink-2); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.gtable td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.7; }
.gtable tr:last-child td { border-bottom: 0; }
.gtable td:first-child { width: 32%; }
.gsub { font-size: 12px; color: var(--muted); font-weight: 500; }
.gclaims { margin: 0; padding-left: 18px; }
.gclaims li { margin: 2px 0; }
.gcases { display: grid; gap: 12px; margin-top: 14px; }
.gcase { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.gcase h3 { margin: 6px 0 8px; font-size: 16px; line-height: 1.6; }
.gcase p { margin: 3px 0; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.gtags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.gtags em { font-style: normal; font-size: 11.5px; font-weight: 700; background: var(--surface-2); color: var(--ink-2); border-radius: 999px; padding: 3px 9px; }
.gtags span { font-size: 11.5px; color: var(--muted); }
.gsrc { font-size: 12px !important; color: var(--muted) !important; margin-top: 8px !important; }
.gcards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 8px; }
.gcard { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; transition: border-color .15s, transform .15s; }
.gcard:hover { border-color: var(--primary); transform: translateY(-1px); }
.gcard b { display: block; font-size: 17px; margin-bottom: 4px; }
.gcard em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--primary); }
.gcard span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.gcta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin: 40px 0 8px; padding: 22px 24px; border-radius: 16px; background: var(--primary-soft); border: 1px solid var(--primary-soft); }
.gcta > div { flex: 1; min-width: 260px; }
.gcta b { display: block; font-size: 17px; margin-bottom: 6px; color: var(--primary-ink); }
.gcta p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--primary-ink); }
.gtip { margin: 26px 0 0; padding: 16px 18px; border: 1px dashed var(--line); border-radius: 12px; background: var(--surface-2); }
.gtip b { font-size: 14.5px; }
.gtip p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.gfaq { margin-top: 36px; }
.gfaq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 8px; }
.gfaq summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.gfaq p { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.gdisc { margin-top: 28px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
@media (max-width: 760px) {
  .guidepage h1 { font-size: 26px; }
  .gcards { grid-template-columns: 1fr; }
  .gtable { font-size: 13.5px; }
  .gtable td:first-child { width: 38%; }
}

/* 용어 정리 */
.gterms { display: grid; gap: 14px; margin-top: 16px; }
.gterm { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.gterm h2 { font-size: 19px; margin: 0 0 8px; border: 0; padding: 0; }
.gterm p { margin: 0 0 6px; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.gterm .gdef { font-weight: 600; color: var(--ink); }

/* 제품 카드 + 브랜드 두 층 */
.twolayer { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.twolayer .lay { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.twolayer .laytag { display: inline-block; font-size: 12px; font-weight: 800; color: var(--primary); background: var(--primary-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; }
.twolayer .lay b { display: block; font-size: 17px; margin-bottom: 8px; line-height: 1.5; }
.twolayer .lay p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
/* 🔴 .twolayer .lay b 가 display:block 이라 시각 자료 안의 <b>도 줄바꿈됐다(2026-10-06 "보류"가 혼자 한 줄로 떨어짐) */
.twolayer .lay .viz b { display: inline; font-size: inherit; margin: 0; line-height: inherit; }
.laycmp { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.laycmp .muted { font-size: 12px; }
.cmpline { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.cmpline em { font-style: normal; display: inline-block; min-width: 62px; font-size: 12px; font-weight: 800; color: var(--muted); }
.cmpline.on { color: var(--ink); font-weight: 600; }
.cmpline.on em { color: var(--primary); }
.laynote { margin-top: 16px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
@media (max-width: 760px) { .twolayer { grid-template-columns: 1fr; } }

/* 지금 보고 있는 메뉴 표시 (가이드 페이지에서 '가이드') */
.nav a.on { background: var(--surface-2); color: var(--ink); }

/* 로그인하면 헤더에 [검수하러 가기][사용자 칩][관리자][로그아웃]이 더 붙는다.
   랜딩 소개용 메뉴는 접고, 쓰는 사람에게 필요한 것만 남긴다(워크스페이스·가이드·요금). */
body.authed .top .container { gap: 14px; }
body.authed .nav { gap: 2px; }
body.authed .nav a[href="#how"],
body.authed .nav a[href="#codex"],
body.authed .nav a[href="#faq"] { display: none; }
@media (max-width: 1180px) {
  body.authed .nav a[href="#pricing"] { display: none; }
  body.authed .userchip .nm { display: none; }
}

/* ───────── 랜딩 시각 자료 — 제품이 실제로 내놓는 모양을 코드로 그린다(docs/design-system.md §1) ───────── */
.viz { margin: 26px 0 0; }
.vizflow { display: grid; gap: 10px; max-width: 760px; }
.vz-step { display: grid; gap: 6px; }
.vz-lab { font-size: 12px; font-weight: 800; color: var(--muted); }
.vz-box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; line-height: 1.65; color: var(--ink); box-shadow: var(--shadow); }
.vz-box.vz-bad { border-left: 4px solid var(--violation); }
.vz-box.vz-ok { border-left: 4px solid var(--pass); }
.vz-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.vz-line b { font-weight: 700; }
.vz-why { margin-top: 5px; font-size: 13.5px; color: var(--ink-2); }
.vz-ev { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.vz-arrow { font-size: 12.5px; color: var(--muted); font-weight: 600; padding-left: 4px; }
.vz-arrow::before { content: "↓ "; font-weight: 800; color: var(--primary); }

/* 같은 문구가 제품에 따라 갈리는 것을 눈으로 보여 준다 */
.vizsplit { border-top: 1px dashed var(--line); padding-top: 14px; }
.vs-q { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.vs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vs-case { display: grid; gap: 4px; justify-items: start; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); }
/* 예시 사진 — 같은 문구가 '어떤 제품이냐'에 따라 갈린다는 걸 글보다 빨리 보여 준다 */
.vs-case img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 9px; margin-bottom: 6px; background: var(--surface-2); }
.vs-case.ok { border-color: var(--pass); background: var(--pass-soft); }
.vs-case.bad { border-color: var(--violation); background: var(--violation-soft); }
.vs-prod { font-size: 13.5px; color: var(--ink); }
.vs-note { font-size: 12.5px; color: var(--ink-2); }
.vs-foot { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }

/* ───────── "채팅창과 뭐가 다른가" — 쟁점 3개만, 장표처럼 ───────── */
.cmp3 { margin-top: 30px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.cmp-head, .cmp-row { display: grid; grid-template-columns: 150px 1fr 1fr; }
.cmp-head { background: var(--surface-2); font-size: 12.5px; font-weight: 800; color: var(--muted); }
.cmp-head > span { padding: 11px 16px; }
.cmp-head .cmp-b { color: var(--primary); }
.cmp-row { border-top: 1px solid var(--line); }
.cmp-row > div { padding: 16px; font-size: 14px; line-height: 1.7; }
.cmp-k { background: var(--surface-2); font-weight: 800; color: var(--ink); display: flex; align-items: baseline; gap: 8px; }
.cmp-k em { font-style: normal; font-size: 12px; font-weight: 900; color: var(--primary); }
.cmp-a, .cmp-b { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-2); }
.cmp-a i, .cmp-b i { flex: none; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; font-style: normal; margin-top: 2px; }
.cmp-a i { background: var(--violation-soft); color: #991b1b; }
.cmp-b i { background: var(--pass-soft); color: #065f46; }
.cmp-b { background: #fafbff; }
@media (max-width: 860px) {
  .cmp-head { display: none; }
  .cmp-head, .cmp-row { grid-template-columns: 1fr; }
  .cmp-k { padding-bottom: 8px; }
  .vs-pair { grid-template-columns: 1fr; }
}

/* 3열 안에 들어간 시각 자료 — 폭이 좁으므로 바깥(.vizflow)보다 한 단계 작게 */
.stviz .vz-box { padding: 12px 13px; font-size: 13.5px; }
.stviz .vz-line b { font-size: 13.5px; }
.stviz .vz-why { font-size: 12.5px; }
.stviz .vz-ev .badge { font-size: 10.5px; }
@media (max-width: 900px) {
  .steps3.withviz { grid-template-columns: 1fr; }
  .steps3.withviz .st::after { display: none; }
}

/* ───────── 근거 데이터 — "어디서 왔는가"만 밝힌다(목록은 /guide) ───────── */
.srcgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
/* 🔴 .src 는 쓰면 안 된다 — 히어로의 소재 샘플(index.html 57행)이 이미 그 이름을 쓴다(2026-10-06에 겪음) */
.srccard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.srccard > b { display: block; font-size: 16px; margin-bottom: 7px; }
.srccard p { margin: 0 0 10px; font-size: 14px; line-height: 1.7; color: var(--ink-2); max-width: none; }
.srccard a { font-size: 13px; font-weight: 700; color: var(--primary); }
.srcnote { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.srcnote a { font-weight: 700; color: var(--primary); }
@media (max-width: 760px) { .srcgrid { grid-template-columns: 1fr; } }

/* ───────── 직접 해보기 — 로그아웃이면 입력 폼을 접는다 ─────────
   제출하면 401 로 막히는 폼을 810px 펼쳐 두면 화면만 길어진다. 열고 싶은 사람은 .trybar 로 연다. */
.trybar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--primary-soft); }
.trybar span { font-size: 14px; color: var(--ink-2); margin-right: auto; }
body:not(.authed):not(.try-open) #workspaceMount .panel.compose { display: none; }
body.authed .trybar, body.try-open .trybar { display: none; }
.chip-more { border-style: dashed; color: var(--primary); font-weight: 700; }

/* ───────── 이메일 인증 배너 — 미인증이면 검수가 막히므로 가장 먼저 보인다 ───────── */
.verifybar { display: grid; gap: 10px; padding: 14px 18px; background: var(--caution-soft); border-bottom: 1px solid var(--caution); }
.verifybar .vb-msg { font-size: 14px; color: #78350f; line-height: 1.6; }
.verifybar .vb-act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.verifybar .vb-act .input { width: 130px; font-size: 18px; font-weight: 800; letter-spacing: 5px; text-align: center; padding: 8px 10px; }
.verifybar .vb-note { font-size: 13px; font-weight: 700; }
.verifybar .vb-note.err { color: var(--violation); }
.verifybar .vb-note.ok { color: var(--pass); }
@media (max-width: 560px) { .verifybar .vb-act .input { width: 110px; } }

/* ── 가이드 항목 페이지(표현·원료·사례)·규제 캘린더·근거 기준일 (2026-10-09) ── */
.gverdict { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--muted); border-radius: 12px; padding: 18px 20px; margin: 4px 0 8px; }
.gverdict.violation { border-left-color: var(--violation); }
.gverdict.caution { border-left-color: var(--caution); }
.gverdict.pass { border-left-color: var(--pass); }
.gverdict p { margin: 6px 0 0; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.gverdict .gphrase { font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.5; margin-top: 10px; }
.gquote { margin: 10px 0; padding: 12px 16px; background: var(--surface-2); border-radius: 10px; font-size: 14px; line-height: 1.75; color: var(--ink-2); }
.gquote cite { display: block; margin-top: 6px; font-style: normal; font-size: 11.5px; color: var(--muted); }
.grel { margin: 8px 0 4px; padding-left: 18px; }
.grel li { margin: 4px 0; font-size: 14.5px; line-height: 1.7; }
.grel .badge { margin-left: 4px; vertical-align: 1px; }
.grel-inline { display: flex; flex-wrap: wrap; gap: 6px 8px; padding-left: 0; list-style: none; }
.grel-inline li { margin: 0; }
.grel-inline a { display: inline-block; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 13px; }
.gclaims-lg li { font-size: 16px; font-weight: 700; margin: 6px 0; }
.gnote { margin: 22px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.gfacts th { width: 22%; white-space: nowrap; }
.gfacts td:first-child { width: auto; }
.gcal { display: grid; gap: 12px; margin: 10px 0; }
.gcal-item { display: grid; grid-template-columns: 130px 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.gcal-item:not(.up) { grid-template-columns: 1fr; }
.gcal-item.up { border-color: var(--primary); box-shadow: var(--shadow); }
.gcal-item h3 { margin: 4px 0 6px; font-size: 16px; }
.gcal-item p { margin: 4px 0; font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.gcal-date b { display: block; font-size: 17px; font-weight: 800; }
.gdday { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-ink); font-size: 12px; font-weight: 800; }
.gcal-kind { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); margin-right: 6px; }
.gcal-kind.case { background: var(--primary-soft); color: var(--primary-ink); }
.gcal-list { list-style: none; padding: 0; margin: 8px 0; border-top: 1px solid var(--line); }
.gcal-row { display: flex; gap: 10px; align-items: baseline; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.gcal-d { flex: 0 0 92px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gasof { margin-top: 36px; }
.gasof p { font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.gasof .gtable td:first-child { width: 46%; }
@media (max-width: 760px) {
  .gcal-item { grid-template-columns: 1fr; gap: 6px; }
  .gcal-row { flex-wrap: wrap; gap: 4px 8px; }
  .gcal-d { flex-basis: auto; }
  .gverdict .gphrase { font-size: 18px; }
}
/* 로그아웃 방문자의 예시 결과 — 위험한 표현 2개만 펼치고 나머지는 개수만(2026-10-09) */
.demolock { display: flex; align-items: center; gap: 16px; margin: 12px 0 4px; padding: 18px 20px; border: 1px dashed var(--primary); border-radius: 12px; background: var(--primary-soft); }
.demolock > div { flex: 1; display: grid; gap: 4px; }
.demolock b { font-size: 15.5px; color: var(--primary-ink); }
.demolock span { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 760px) { .demolock { flex-direction: column; align-items: stretch; } }
/* 대안 문구 3개(카피라이팅 엔진 1단계, 2026-10-13) — 리포트의 걸린 표현 카드 안 */
.altbox { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); padding: 10px 12px; }
.altwait { font-size: 13px; color: var(--muted); padding: 4px 0; }
.althead { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-bottom: 6px; }
.althead b { font-size: 13px; color: var(--ink); }
.althead span { font-size: 12px; color: var(--muted); }
.altrow { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin-top: 6px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.altrow.on { border-color: var(--pass); background: var(--pass-soft); }
.alttxt { flex: 1; font-size: 14.5px; font-weight: 700; line-height: 1.55; color: var(--ink); }
@media (max-width: 760px) { .altrow { flex-wrap: wrap; } .alttxt { flex-basis: 100%; order: 2; } }

/* ── 평판 리스크(참고) — 법 판정 카드와 색을 달리해 섞여 보이지 않게(2026-10-22) ── */

/* ── 랜딩 개편(2026-10-22): 짧은 히어로 + 예시 결과(시안·판정·대체 문구) + 가치 3개 ── */
.hero2 { text-align: center; padding: 64px 0 56px; }
.hero2 h1 { margin: 16px auto 12px; }
.hero2 p.lead { margin: 0 auto 24px; }
.hero2 .cta { justify-content: center; }
.hero2-note { margin: 14px 0 0; font-size: 13px; color: #94a3b8; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.sc-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 16px; }
.sc-tabs button { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.sc-tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sc-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; max-width: 1040px; margin: 0 auto; }
.sc-media { margin: 0; background: var(--surface-2); display: flex; flex-direction: column; justify-content: center; position: relative; border-right: 1px solid var(--line); }
.sc-media img { display: block; width: 100%; max-height: 560px; object-fit: contain; background: var(--surface-2); }
.sc-media figcaption { font-size: 11.5px; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.sc-play { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: #0f172acc; color: #fff; display: grid; place-items: center; font-size: 20px; }
.sc-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.sc-head { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.sc-cat { font-weight: 800; font-size: 13px; margin-right: 4px; }
.sc-cnt { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.sc-cnt.v { background: var(--violation-soft); color: var(--violation); }
.sc-cnt.c { background: var(--caution-soft); color: var(--caution); }
.sc-cnt.p { background: var(--pass-soft); color: var(--pass); }
.sc-f { border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.sc-f.violation { border-left-color: var(--violation); }
.sc-f.caution { border-left-color: var(--caution); }
.sc-f-top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.sc-f-lab { font-size: 12px; color: var(--muted); font-weight: 700; }
.sc-f-q { font-weight: 800; font-size: 15.5px; margin: 6px 0 4px; }
.sc-f-why { font-size: 13px; color: var(--ink-2); }
.sc-f-fix { margin-top: 8px; background: var(--pass-soft); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.sc-f-fix span { font-size: 11.5px; font-weight: 800; color: var(--pass); }
.sc-f-fix b { font-size: 14px; }
.sc-more { display: flex; flex-direction: column; gap: 2px; text-align: left; border: 1px dashed var(--primary); background: var(--primary-soft); color: var(--primary-ink); border-radius: 10px; padding: 10px 14px; font: inherit; cursor: pointer; }
.sc-more span { font-size: 12.5px; }
.sc-rep { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.sc-rep-k { font-weight: 800; color: var(--ink-2); }
.sc-rep-basis { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.sc-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; max-width: 1040px; margin: 16px auto 0; background: var(--primary-soft); border-radius: var(--radius); padding: 16px 20px; }
.sc-cta div { display: flex; flex-direction: column; gap: 2px; }
.sc-cta span { font-size: 13px; color: var(--ink-2); }
.sc-foot { max-width: 1040px; margin: 10px auto 0; font-size: 11.5px; color: var(--muted); text-align: center; }
.sc-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sc-val { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.sc-val-n { font-weight: 900; color: var(--primary); font-size: 13px; }
.sc-val h3 { margin: 6px 0 8px; font-size: 20px; }
.sc-val p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.sc-val-src { display: block; margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.sc-basis { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .sc-card { grid-template-columns: 1fr; }
  .sc-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .sc-media img { max-height: 420px; }
  .sc-values { grid-template-columns: 1fr; }
}

/* 평판 리스크(참고) — 2026-10-22 개편: 요약 칩 · 근거 카드(과거 논란 사례·심의 기준) */
.repchip { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.repchip.high { border-color: #fecaca; background: #fff1f2; color: #9f1239; }
.repchip.mid { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.repchip.ok { color: var(--pass); border-color: var(--pass-soft); background: #f0fdf9; }
.repchip:hover { filter: brightness(.97); }
.rep { margin-top: 22px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #fbfaff 0%, var(--surface) 64px); scroll-margin-top: 80px; }
.rep-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.rep-head h4 { margin: 0; font-size: 16px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.rep-head h4 em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--surface-2); border-radius: 999px; padding: 1px 8px; }
.rep-head p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.rep-sum { display: flex; gap: 4px; flex-shrink: 0; }
.rep-sev { font-size: 12px; font-weight: 800; border-radius: 6px; padding: 1px 7px; background: #e2e8f0; color: #334155; }
.rep-sev.high { background: #ffe4e6; color: #9f1239; }
.rep-sev.medium { background: #fef3c7; color: #92400e; }
.rep-date { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 10px 12px; border-radius: 10px; background: #fffbeb; border: 1px solid #fde68a; margin-bottom: 10px; font-size: 13px; }
.rep-date.avoid { background: #fff1f2; border-color: #fecdd3; }
.rep-date div:first-child { display: grid; gap: 2px; }
.rep-date span { color: var(--ink-2); }
.rep-date-cases { color: var(--muted); font-size: 12.5px; align-self: center; }
.rep-date-cases a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.rep-card { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 18px; margin-bottom: 10px; background: var(--surface); }
.rep-card::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 4px 4px 0; background: #94a3b8; }
.rep-card.high::before { background: #e11d48; }
.rep-card.medium::before { background: #f59e0b; }
.rep-top { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.rep-type { font-size: 12px; font-weight: 700; color: #5b21b6; background: #f3e8ff; border-radius: 6px; padding: 1px 7px; }
.rep-where { font-size: 12px; color: var(--muted); }
.rep-card blockquote { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.rep-why { margin: 0 0 10px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.rep-cites { display: grid; gap: 6px; margin-bottom: 10px; }
.rep-lbl { font-size: 11.5px; font-weight: 800; color: var(--muted); letter-spacing: .02em; }
.repc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.repc { display: block; padding: 9px 11px; border-radius: 10px; background: var(--surface-2); border: 1px solid transparent; text-decoration: none; color: inherit; font-size: 12.5px; line-height: 1.5; }
a.repc:hover { border-color: #c7d2fe; background: #eef2ff; }
.repc-top { display: flex; gap: 6px; align-items: baseline; margin-bottom: 2px; }
.repc-top b { font-size: 13px; color: var(--ink); }
.repc-top span { color: var(--muted); }
.repc .tier { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 6px; background: var(--surface); }
.repc .tier.press, .repc .tier.official { color: #1e40af; border-color: #bfdbfe; }
.repc .tier.wiki, .repc .tier.community { color: #92400e; border-color: #fde68a; }
.repc-exp { color: var(--ink-2); }
.repc-out { color: var(--muted); }
.reps-list { display: flex; flex-wrap: wrap; gap: 6px; }
.reps { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.reps b { font-weight: 700; color: var(--ink); }
.rep-fix { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 9px 12px; border-radius: 10px; background: #f0fdf9; border: 1px solid var(--pass-soft); font-size: 13.5px; }
.rep-fix span { color: var(--pass); font-weight: 700; font-size: 12px; }
.rep-fix b { flex: 1; min-width: 160px; }
.rep-empty { padding: 12px 14px; border-radius: 10px; background: var(--surface-2); color: var(--muted); font-size: 13.5px; }
.rep-empty.ok { display: grid; gap: 2px; background: #f0fdf9; }
.rep-empty.ok b { color: var(--pass); }
.rep-foot { margin-top: 10px; font-size: 11.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 600px) { .rep { padding: 14px; } .rep-head { flex-direction: column; } .repc-list { grid-template-columns: 1fr; } }
/* 이미지·영상 탭 — 무료 사용자에게 업로드 칸 위에서 먼저 알린다(10/23) */
.paidnote { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: var(--caution-soft); border: 1px solid #fde68a; font-size: 13.5px; color: var(--ink-2); }
.paidnote a { font-weight: 700; color: var(--primary); }
.rev-why { margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
/* 결제 — 1회 결제(스타터)와 기간제 이용권을 나눠 보여 준다(10/24) */
.cogroup-lbl { margin: 14px 0 8px; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.cogroup-lbl small { margin-left: 6px; font-weight: 600; color: var(--muted); }
.colist.coonce { margin-bottom: 6px; }

/* ── 관리자 · 방문 분석 (2026-10-29) — admin.js views.visits ── */
.vperiod { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.vperiod .input { width: auto; }
.vperiod label { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.vstack { display: flex; height: 10px; min-width: 120px; border-radius: 5px; overflow: hidden; background: var(--surface-2); }
.vstack i { display: block; height: 100%; background: var(--primary); }
.vmeter { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; min-width: 80px; }
.vmeter i { display: block; height: 100%; background: var(--primary); border-radius: 4px; }
.vflow { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 6px 12px; align-items: start; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.vflow:first-of-type { border-top: 0; }
.vflow b { font-weight: 700; }
.vflow .chips { gap: 4px; }
.vjourney { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 760px) { .vflow { grid-template-columns: 1fr; } }

/* ── 블로그 (2026-10-29, scripts/build-blog.mjs) — 본문은 가이드 틀(.guidepage·.gtable·.gcards)을 같이 쓴다 ── */
.bctas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 40px 0 8px; }
.bcta { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: 16px; background: var(--primary-soft); border: 1px solid var(--primary-soft); }
.bcta em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--primary); }
.bcta b { font-size: 18px; color: var(--primary-ink); }
.bcta p { margin: 0 0 6px; font-size: 14px; line-height: 1.7; color: var(--primary-ink); flex: 1; }
.bcta .btn { align-self: flex-start; }
.bctalink { font-size: 13px; font-weight: 700; color: var(--primary); }
.bsources ol { margin: 0; padding-left: 20px; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.bsources a { color: var(--ink-2); text-decoration: underline; }
@media (max-width: 760px) { .bctas { grid-template-columns: 1fr; } }

/* 블로그 — 실제 광고 사례(세일즈 키트 덱과 같은 공통 사례) · 세일즈 키트 신청 폼 (2026-10-29) */
.bcases { margin-top: 8px; }
.bcase { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 14px 0; }
.bcase img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); align-self: start; }
.bcase-b > em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--primary); }
.bfind { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.bcase-b > em + .bfind { border-top: 0; }
.bfind q { display: block; font-weight: 800; color: var(--ink); quotes: "“" "”"; }
.bfind > small { font-size: 11.5px; color: var(--muted); }
.bfind-l { font-size: 13px; color: var(--ink-2); }
.bfind-law { font-size: 12px; color: var(--muted); }
.bfind-r { margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: var(--pass-soft); color: var(--ink); font-weight: 700; }
.bfind-r small { display: block; font-size: 11.5px; font-weight: 700; color: var(--pass); }
.kitform { margin: 20px 0; padding: 22px; }
.kithp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kitconsent { margin: 6px 0 14px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.kitconsent p { margin: 4px 0 8px; }
.kitconsent label { display: flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ink); }
@media (max-width: 760px) { .bcase { grid-template-columns: 1fr; } .bcase img { max-width: 420px; } }

/* 블로그 제목 영역 — 대표 사례 이미지 + 걸린 문구 태그로 "왜 확인이 필요할까"를 묻는다 (2026-10-30, build-blog.mjs heroFig) */
.bhero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "t f" "l f"; gap: 0 28px; align-items: start; margin-bottom: 6px; }
.bhero-t { grid-area: t; }
.bhero-l { grid-area: l; }
.bhero-fig { grid-area: f; position: relative; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.bhero-fig img { display: block; width: 100%; height: auto; max-height: 380px; object-fit: cover; object-position: center top; }
.bhero-tag { position: absolute; left: 10px; right: 10px; bottom: 46px; padding: 8px 11px; border-radius: 10px; background: var(--surface); border: 2px solid var(--caution); color: var(--ink); font-size: 14px; font-weight: 800; line-height: 1.45; box-shadow: var(--shadow); }
.bhero-q { position: absolute; left: 0; right: 0; bottom: 0; padding: 9px 12px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 800; }
.bhero-fig:hover .bhero-q { background: var(--primary); }
.bcard .bthumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; border-radius: 10px; margin-bottom: 10px; background: var(--surface-2); }
@media (max-width: 760px) {
  .bhero { grid-template-columns: 1fr; grid-template-areas: "t" "f" "l"; }
  .bhero-fig { margin: 4px 0 16px; }
  .bhero-fig img { max-height: 260px; }
}

@media (max-width: 480px) { body.authed .top #btnLogout { display: none; } }

/* ── 광고 상태 점검(2026-10-30, adcheck.js) — 랜딩 #adcheck · /ad-check. 판정 단정 금지: 배지는 '확인 필요'만 ── */
.ac-wrap { max-width: 880px; margin: 0 auto; }
.ac-herolink { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: #7dd3fc; }
.ac-form { display: flex; gap: 10px; }
.ac-form .ac-q { flex: 1; font-size: 16px; padding: 13px 14px; }
.ac-help { margin: 8px 2px 0; font-size: 12.5px; color: var(--muted); }
.ac-wait { padding: 18px 2px; }
.ac-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ac-bar-t { font-size: 13px; color: var(--ink-2); font-weight: 700; }
.ac-bt { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.ac-bt.on { background: var(--ink); color: #fff; border-color: var(--ink); }
#acBrowse { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
#acBrowse:empty { display: none; }
.ac-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ac-filters .input { width: auto; padding: 7px 10px; font-size: 13.5px; }
.ac-total { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.ac-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ac-list.ads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ac-row { display: flex; flex-direction: column; gap: 2px; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 10px 12px; font: inherit; cursor: pointer; min-width: 0; }
.ac-row:hover { border-color: var(--primary); }
.ac-row b { font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-row span { font-size: 12px; color: var(--muted); line-height: 1.5; }
.ac-row.withimg { flex-direction: row; gap: 10px; align-items: center; }
.ac-row.withimg img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--surface-2); flex: none; }
.ac-row-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ac-listmore { align-self: center; }
#acOut { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
#acOut:empty { display: none; }
.ac-hit, .ac-miss, .ac-brand { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.ac-count { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink); }
.ac-hit-m { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.ac-miss p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; }
.ac-sub { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.ac-more, .ac-fix { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-radius: var(--radius); padding: 16px 20px; }
.ac-more { background: var(--primary-soft); }
.ac-fix { background: var(--surface); border: 1px dashed var(--primary); }
.ac-more div, .ac-fix div { display: flex; flex-direction: column; gap: 2px; }
.ac-more span, .ac-fix span { font-size: 13px; color: var(--ink-2); }
.ac-more .ac-more-btns { flex-direction: row; gap: 8px; flex-wrap: wrap; }
.ac-note { margin: 0; font-size: 11.5px; color: var(--muted); line-height: 1.65; }
.ac-note a { color: var(--ink-2); text-decoration: underline; }
.ac-brand-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.ac-brand-h h3 { margin: 0; font-size: 20px; }
.ac-brand-h span { font-size: 12.5px; color: var(--muted); }
.ac-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ac-chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.ac-chip small { font-weight: 600; color: var(--muted); }
.ac-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ac-chip.on small { color: #cbd5e1; }
#acDetail { display: flex; flex-direction: column; gap: 12px; }
.ac-ad { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ac-ad.noimg { grid-template-columns: 1fr; }
.ac-media { margin: 0; background: var(--surface-2); border-right: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: center; }
.ac-media img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.ac-ad-b { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.ac-ad-meta { font-size: 12px; color: var(--muted); font-weight: 700; }
.ac-partner { margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--surface-2); font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.ac-f { border: 1px solid var(--line); border-left: 4px solid var(--caution); border-radius: 10px; padding: 11px 13px; }
.ac-f.hi { border-left-color: var(--violation); }
.ac-f-top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ac-f-lab { font-size: 12px; color: var(--muted); font-weight: 700; }
.ac-f-q { display: block; font-weight: 800; font-size: 15px; margin: 6px 0 2px; quotes: "“" "”"; }
.ac-f-img { font-size: 11.5px; color: var(--muted); }
.ac-f-why { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.ac-f-why b { margin-right: 4px; color: var(--ink); }
.ac-f-law { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.ac-f-fix { margin-top: 8px; background: var(--pass-soft); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.ac-f-fix span { font-size: 11.5px; font-weight: 800; color: var(--pass); }
.ac-f-fix b { font-size: 14px; }
.ac-body summary { cursor: pointer; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.ac-body p { white-space: pre-wrap; font-size: 13px; color: var(--ink-2); margin: 8px 0 0; max-height: 260px; overflow: auto; }
.ac-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.ac-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.ac-card .ac-media { border-right: 0; border-bottom: 1px solid var(--line); }
.ac-card .ac-media img { max-height: 320px; }
.ac-card-b { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.ac-card-h { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ac-card-h em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
.ac-link { border: 0; background: none; padding: 0; font: inherit; font-weight: 800; font-size: 15px; color: var(--primary); cursor: pointer; text-decoration: underline; }
@media (max-width: 760px) {
  .ac-form { flex-direction: column; }
  .ac-ad, .ac-grid, .ac-list, .ac-list.ads { grid-template-columns: 1fr; }
  .ac-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .ac-media img { max-height: 380px; }
}
