:root {
  --bg: #f7f7f5; --card: #fff; --line: #e6e6e1; --text: #1d1d1b; --muted: #77776f;
  --accent: #1f4fd8; --accent-soft: #eaf0ff; --red: #c8341f; --red-soft: #fdecea;
  --green: #1f7a4a; --green-soft: #e6f4ec; --amber: #9a6200; --amber-soft: #fdf3dc;
  --violet: #5b3fc4; --violet-soft: #efebfc;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text);
  font: 14px/1.55 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Segoe UI", sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h2 { font-size: 20px; margin: 0; }
h3 { font-size: 15px; margin: 0; }
h4 { font-size: 13px; margin: 16px 0 8px; color: #444; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.red-text { color: var(--red); }
.pre { white-space: pre-wrap; word-break: break-word; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 10px 24px;
  background: #fff; border-bottom: 1px solid var(--line); }
.logo { font-weight: 700; color: var(--text); }
.top nav { display: flex; gap: 4px; }
.top nav a { padding: 6px 10px; border-radius: 6px; color: #444; }
.top nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.top nav a:hover { text-decoration: none; background: #f2f2ef; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
select, input, textarea { font: inherit; border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; background: #fff; color: var(--text); }
textarea { width: 100%; resize: vertical; }
main { padding: 20px 24px 60px; max-width: 1280px; margin: 0 auto; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.hint { color: var(--muted); font-size: 12px; margin: 0 0 16px; }
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 6px; }

.btn { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 7px 14px; cursor: pointer; font: inherit; color: var(--text); }
.btn:hover { background: #f2f2ef; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #1a43b8; }
.btn.danger { color: var(--red); border-color: #efc2bb; }
.btn.danger:hover { background: var(--red-soft); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
.btn.sm { padding: 3px 9px; font-size: 12px; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }

.badge { display: inline-block; padding: 1px 7px; border-radius: 10px; font-size: 11px; line-height: 18px; margin-right: 4px;
  background: #f0f0ec; color: #555; white-space: nowrap; vertical-align: middle; }
.badge.red { background: var(--red-soft); color: var(--red); }
.badge.green { background: var(--green-soft); color: var(--green); }
.badge.amber { background: var(--amber-soft); color: var(--amber); }
.badge.blue { background: var(--accent-soft); color: var(--accent); }
.badge.violet { background: var(--violet-soft); color: var(--violet); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin: 6px 0 14px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin-bottom: 14px; }
.card h4:first-child { margin-top: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid2 .card { margin-bottom: 0; }
.grid2 + * { margin-top: 14px; }

.tabs { display: flex; gap: 4px; }
.tabs button { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 5px 12px; cursor: pointer; font: inherit; color: #444; }
.tabs button.on { background: var(--text); color: #fff; border-color: var(--text); }
.tabs.big { margin: 4px 0 10px; flex-wrap: wrap; }

.empty { text-align: center; padding: 48px 20px; background: #fff; border: 1px dashed #d8d8d2; border-radius: 10px; color: var(--muted); }
.empty-title { font-size: 15px; color: #333; font-weight: 600; margin-bottom: 6px; }
.empty-body { max-width: 520px; margin: 0 auto; font-size: 13px; }
.loading { padding: 40px; text-align: center; color: var(--muted); }
.error { background: var(--red-soft); color: var(--red); padding: 8px 12px; border-radius: 6px; margin-top: 10px; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.notice { background: var(--accent-soft); padding: 10px 12px; border-radius: 6px; margin-top: 12px; font-size: 13px; }

.kv > div { display: flex; gap: 10px; padding: 3px 0; }
.kv .k, .evidence .k { color: var(--muted); min-width: 84px; flex-shrink: 0; font-size: 12px; }
.kv .v { word-break: break-all; }
.links { margin: 0; padding-left: 18px; }
.links { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; padding: 0; }
.links li { margin: 0; }
.links li.more .btn { padding: 0 4px; }
.md { max-width: 920px; }
@media (min-width: 1100px) { .page.with-panel { padding-right: 520px; } }

/* 승인함 */
.approval .card-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.approval .card-head h3 { flex: 1; min-width: 200px; }
.approval.decided { opacity: .85; }
.reco { background: var(--green-soft); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.reco-label { font-size: 11px; font-weight: 700; color: var(--green); display: block; margin-bottom: 2px; }
.questions { display: grid; gap: 8px; margin-bottom: 10px; }
.question { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.q-title { font-weight: 600; margin-bottom: 4px; }
.question ol { margin: 0; padding-left: 20px; }
.question li { margin: 2px 0; }
.question li.reco-opt > span, .question li.reco-opt label { font-weight: 600; }
.evidence { display: flex; gap: 10px; margin: 8px 0; }
.actions { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; display: grid; gap: 8px; }
.decision { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.decision .pre { flex-basis: 100%; }
.msgs { border: 1px solid var(--line); border-radius: 8px; margin-top: 10px; }
.msgs-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); background: #fafaf8; border-radius: 8px 8px 0 0; }
.msgs > .muted { display: block; padding: 10px 12px; }
.msg + .msg { border-top: 1px solid var(--line); }
.msg-row { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 0; background: none; cursor: pointer; font: inherit; text-align: left; color: var(--text); }
.msg-row:hover { background: #fafaf8; }
.msg-to { min-width: 180px; color: #333; }
.msg-subj { flex: 1; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.caret { width: 12px; color: var(--muted); }
.msg-body { padding: 4px 14px 14px 32px; }
.msg-body .subject { font-weight: 600; margin: 8px 0 4px; }
.pre.mail { background: #fafaf8; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font-size: 13px; margin-bottom: 8px; }
.msg-edit { display: grid; gap: 6px; margin-top: 8px; }
.panel .msg-body { padding-left: 14px; }

/* 매트릭스 */
.matrix-wrap { overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.matrix-wrap { display: inline-block; max-width: 100%; }
.matrix { border-collapse: collapse; }
.matrix tbody th { min-width: 160px; }
.matrix th, .matrix td { border: 1px solid var(--line); padding: 0; text-align: center; }
.matrix thead th { padding: 8px 12px; background: #fafaf8; font-size: 13px; }
.matrix tbody th { padding: 8px 12px; text-align: left; white-space: nowrap; background: #fafaf8; font-weight: 600; }
.matrix .corner { text-align: left; color: var(--muted); font-weight: 400; font-size: 12px; }
.matrix td.none { color: #ccc; }
.matrix td.deal button { width: 100%; min-width: 96px; border: 0; background: none; padding: 8px 6px; cursor: pointer; font: inherit; color: inherit; }
.matrix td.deal:hover { background: #f4f6fd; }
.matrix td.deal .st { font-size: 12px; font-weight: 600; }
.matrix td.deal .dd { font-size: 11px; color: var(--muted); }
.matrix td.overdue { background: var(--red-soft); color: var(--red); }
.matrix td.overdue .dd { color: var(--red); }
.matrix td.sel { outline: 2px solid var(--accent); outline-offset: -2px; }
.matrix td.st-selected { background: var(--green-soft); }
.matrix td.st-dropped { color: #aaa; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; }
.swatch.red { background: var(--red-soft); border: 1px solid var(--red); }
.panel { position: fixed; top: 52px; right: 0; bottom: 0; width: min(520px, 100vw); background: #fff; border-left: 1px solid var(--line);
  box-shadow: -8px 0 24px rgba(0,0,0,.06); padding: 16px 20px 40px; overflow-y: auto; z-index: 9; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.panel .msg { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px; }

/* 칸반 */
.kanban { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; align-items: flex-start; }
.col { flex: 0 0 240px; background: #efefeb; border-radius: 10px; padding: 8px; }
.col-head { font-weight: 600; font-size: 13px; padding: 4px 6px 8px; display: flex; gap: 6px; align-items: center; }
.kcard { display: block; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; color: var(--text); }
.kcard:hover { text-decoration: none; border-color: #c9d3f2; box-shadow: 0 1px 4px rgba(31,79,216,.08); }
.kcard-top { display: flex; justify-content: space-between; align-items: center; }
.kcard-name { margin: 4px 0 8px; font-size: 13px; }
.kcard-foot { display: flex; gap: 6px; align-items: center; }

/* 표 */
.tbl { width: 100%; border-collapse: collapse; background: #fff; }
.tbl th, .tbl td { border-bottom: 1px solid var(--line); padding: 7px 10px; text-align: left; vertical-align: top; }
.tbl thead th { font-size: 12px; color: var(--muted); font-weight: 600; background: #fafaf8; }
.tbl tbody th { font-weight: 500; color: #555; width: 40%; }
.tbl tr.sel td { background: var(--accent-soft); }
.tbl tr.overdue-row td { background: var(--red-soft); }
.page > .tbl { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.search { width: 240px; }

/* 문서 */
.doc { padding: 22px 28px; }
.md { font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.md h1 { font-size: 20px; } .md h2 { font-size: 17px; margin-top: 26px; } .md h3 { font-size: 15px; margin-top: 20px; }
.md table { border-collapse: collapse; margin: 10px 0; font-size: 13px; display: block; overflow-x: auto; }
.md th, .md td { border: 1px solid var(--line); padding: 5px 9px; vertical-align: top; }
.md th { background: #fafaf8; }
.md code { background: #f2f2ef; padding: 1px 4px; border-radius: 4px; font-size: 12.5px; }
.md pre { background: #f6f6f3; padding: 10px 12px; border-radius: 6px; overflow-x: auto; }
.md pre code { background: none; padding: 0; }
.md blockquote, blockquote { margin: 6px 0; padding: 4px 12px; border-left: 3px solid #d7d7d0; color: #444; }
table.meta { font-size: 12px; color: var(--muted); border-collapse: collapse; margin-bottom: 14px; }
table.meta th { text-align: left; padding: 1px 12px 1px 0; font-weight: 500; }
.ver-doc { border-top: 1px solid var(--line); margin-top: 14px; padding: 16px 0 0; }
.signals { list-style: none; margin: 0; padding: 0; }
.signals li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.sig-head { display: flex; gap: 6px; align-items: center; }

/* 제조사 */
.pitfall-bar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pitfall { background: var(--red-soft); color: var(--red); border-radius: 6px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 14px 12px; }
.timeline li::before { content: ''; position: absolute; left: -20px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid #b9b9b0; }
.tl-head { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.tl-date { font-size: 12px; color: var(--muted); min-width: 64px; }
.tl-amt { font-size: 12px; font-weight: 600; }
.tl-body { margin-top: 2px; white-space: pre-wrap; }
.tl-src { font-size: 12px; }

/* 로그인 */
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px 30px; width: 420px; max-width: 100%; }
.login-card h1 { font-size: 22px; margin: 0 0 4px; }
.login-card form { display: grid; gap: 8px; margin-top: 18px; }
.login-card label { font-size: 12px; color: var(--muted); }

@media (max-width: 860px) {
  .grid2 { grid-template-columns: 1fr; }
  .top { flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
  .top-right { margin-left: 0; }
  main { padding: 14px 12px 40px; }
  .msg-to { min-width: 0; }
}

/* 기준·국가 (2026-11-11) */
.nowrap { white-space: nowrap; }
.filters { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; font-size: 13px; color: #444; }
.filters label { display: flex; gap: 6px; align-items: center; }
h3.sec { margin: 18px 0 10px; font-size: 15px; }
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 14px; }
.country-grid .card { margin-bottom: 0; }
.country-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.country-head h3 { margin-right: 4px; }
dl.profile { margin: 0; display: grid; gap: 6px; }
dl.profile > div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; font-size: 13px; }
dl.profile dt { color: var(--muted); font-size: 12px; }
dl.profile dd { margin: 0; }
.unknowns { background: var(--amber-soft); color: #6b4a00; border-radius: 6px; padding: 6px 10px; margin-top: 10px; }
.country-foot { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.crit-group { padding-top: 12px; }
.crit-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.tbl.crit td { font-size: 13px; }
.tbl.crit tbody th { width: auto; }
.tbl tr.dim td { color: #999; }
.tbl tr.sub td { background: #fafaf8; border-top: 0; }
.scale { background: #fafaf8; border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; margin-top: 4px; }
.note { margin-top: 4px; }
details.scale-d summary { cursor: pointer; color: var(--muted); font-size: 12px; margin-top: 2px; }
.score-total { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; background: #fafaf8; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin-bottom: 14px; }
.score-total .k { color: var(--muted); font-size: 12px; margin-right: 8px; }
.score-total b.big { font-size: 20px; }
.score-group { margin-bottom: 18px; }
.dots { display: inline-flex; gap: 2px; align-items: center; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #e2e2dc; display: inline-block; }
.dots i.on { background: var(--accent); }
.dots b { margin-left: 6px; font-size: 12px; }

/* ── 기획 A–Z (세션 4DCb6iV2gf7qqyHg, .az- 접두어) ── */
.az-strip { display: flex; gap: 2px; align-items: center; margin: 6px 0 2px; }
.az-strip i { width: 6px; height: 10px; border-radius: 2px; background: #e6e8ec; display: inline-block; }
.az-strip i.az-done { background: #22a06b; } .az-strip i.az-doing { background: #3b82f6; }
.az-strip i.az-decision { background: #f59e0b; } .az-strip i.az-blocked { background: #b8bec9; }
.az-head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; margin-bottom: 6px; }
.az-phase { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: start; margin: 8px 0; }
.az-phase-name { font-weight: 700; font-size: 13px; color: #555; padding-top: 10px; }
.az-cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.az-cell { position: relative; text-align: left; border: 1px solid #e3e6ea; border-radius: 10px; padding: 8px 10px; background: #fafbfc; cursor: pointer; display: flex; gap: 8px; align-items: center; font: inherit; }
.az-cell:hover { border-color: #9aa3ae; }
.az-cell.on { outline: 2px solid #111; }
.az-letter { font-weight: 800; font-size: 18px; width: 20px; }
.az-name { font-size: 12.5px; line-height: 1.3; }
.az-gate { position: absolute; top: 4px; right: 6px; font-size: 10px; font-weight: 700; color: #7c3aed; }
.az-cell.az-done { background: #e8f6ef; border-color: #a7dcc2; }
.az-cell.az-doing { background: #eaf2fe; border-color: #a9c7f7; }
.az-cell.az-decision { background: #fff5e0; border-color: #f5c56b; }
.az-cell.az-blocked { background: #f1f2f4; border-style: dashed; }
.az-detail { margin-top: 12px; border-top: 1px solid #eee; padding-top: 10px; }
.az-now { margin-top: 8px; padding: 8px 10px; background: #f7f8fa; border-radius: 8px; }
.az-now .k { font-weight: 700; font-size: 12px; color: #666; }

/* ═════════ 홈 v3 · 원장 · 로그인 · 헤더 (2026-11-11 세션 CMV2uhqz) ═════════
   방향: 경은님 선택 "토스형 + Linear형". 흰 배경, 한 화면 한 주요 행동(파란 버튼), 표·숫자 줄은 Linear처럼 촘촘하게. 키치 요소 없음. */
:root {
  --bg: #FFFFFF; --text: #191F28; --muted: #6B7684; --faint: #8B95A1; --line: #EBEDF0; --soft: #F7F8FA; --soft2: #F2F4F6;
  --accent: #3182F6; --accent-hover: #1B64DA; --accent-soft: #E8F3FF;
  /* 피칭 화면(세션 2u5Pq1RJ)이 쓰는 v2 변수 — 유지 */
  --ink: #111; --cream: #F7F4EC; --c-pink: #FF8FC7; --c-yellow: #FFE34D; --c-sky: #7FD3F7; --c-orange: #FFAE5C; --c-green: #A6E3A1;
}
html, body { font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
/* v2 버튼 — 피칭 화면 호환용으로만 유지 */
.bbtn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 20px; background: var(--ink); color: #fff; font-weight: 800; font-size: 15px;
  border: 2px solid var(--ink); border-radius: 10px; box-shadow: 4px 4px 0 var(--c-pink); cursor: pointer; font-family: inherit; }
.bbtn:hover { text-decoration: none; }
.bbtn.ghost { background: #fff; color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }

/* 헤더 (Linear형) */
.top { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: 0 24px; height: 56px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; letter-spacing: -.01em; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-dot { width: 18px; height: 18px; border-radius: 6px; background: var(--accent); }
.top nav { gap: 2px; height: 100%; }
.top nav a { display: inline-flex; align-items: center; height: 100%; padding: 0 12px; border-radius: 0; color: var(--muted); font-weight: 600; font-size: 14px; }
.top nav a:hover { background: transparent; color: var(--text); text-decoration: none; }
.top nav a.active { background: transparent; color: var(--text); box-shadow: inset 0 -2px 0 var(--text); }
.nav-count { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 6px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.role-chip { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--soft2); color: var(--muted); }
.role-chip.op { background: var(--accent-soft); color: var(--accent); }
main { max-width: 1200px; }

/* 공통 */
.pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 13px 22px; border-radius: 12px; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 15px; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; transition: background .15s; }
.pbtn:hover { background: var(--accent-hover); text-decoration: none; }
.pbtn.sub { background: var(--soft2); color: var(--text); }
.pbtn.sub:hover { background: #E5E8EB; }
.pbtn.full { width: 100%; }
.pbtn:disabled { opacity: .55; cursor: default; }
.sec { margin-top: 48px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-h h2 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.sec-h .more { font-size: 13px; color: var(--muted); font-weight: 600; }
.sec-h .more:hover { color: var(--text); text-decoration: none; }
.sec-d { color: var(--muted); font-size: 13.5px; margin: -8px 0 14px; }
.box { border: 1px solid var(--line); border-radius: 14px; background: #fff; }

/* 홈 */
.hm { padding-top: 12px; }
.hm-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.hm-greet { font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.35; margin: 18px 0 8px; }
.hm-greet em { font-style: normal; color: var(--accent); }
.hm-lede { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0 0 24px; max-width: 640px; }
.act { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--soft); border-radius: 20px; padding: 24px 28px; }
.act-k { color: var(--muted); font-weight: 600; font-size: 14px; }
.act-v { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin-top: 2px; }
.act-s { color: var(--faint); font-size: 13px; margin-top: 2px; }
.kpi { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 16px; }
.kpi > a, .kpi > div { padding: 14px 16px; border-right: 1px solid var(--line); color: var(--text); }
.kpi > :last-child { border-right: 0; }
.kpi > a:hover { background: var(--soft); text-decoration: none; }
.kpi-k { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.kpi-v { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kpi-s { font-size: 11.5px; color: var(--faint); }

.ptable { width: 100%; border-collapse: collapse; }
.ptable td { padding: 11px 16px; border-top: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.ptable tr.grp td { background: var(--soft); border-top: 1px solid var(--line); padding: 9px 16px; font-size: 13px; }
.ptable tr.grp:first-child td { border-top: 0; border-radius: 14px 14px 0 0; }
.ptable tr.grp b { margin-right: 8px; }
.ptable tr.grp span { color: var(--muted); }
.ptable tr.row { cursor: pointer; }
.ptable tr.row:hover td { background: #FAFBFC; }
.pcode { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; color: var(--muted); width: 90px; white-space: nowrap; }
.pname { max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #4E5968; white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: #C5CBD3; }
.pill.s1 i { background: #C5CBD3; } .pill.s2 i { background: #F5A524; } .pill.s3 i { background: var(--accent); } .pill.s4 i { background: #7C3AED; } .pill.s5 i { background: #12B886; }
.pbar { display: flex; gap: 2px; width: 132px; }
.pbar i { flex: 1; height: 5px; border-radius: 2px; background: var(--soft2); }
.pbar i.on { background: var(--accent); }

.vows3 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vow3 { background: var(--soft); border-radius: 16px; padding: 20px 22px; }
.vow3 .n { font-size: 13px; font-weight: 700; color: var(--accent); }
.vow3 h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 6px; }
.vow3 p { margin: 0; color: #4E5968; font-size: 14px; line-height: 1.7; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step3 { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.step3 .n { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.step3 h3 { font-size: 16px; font-weight: 700; margin: 12px 0 6px; }
.step3 p { margin: 0; color: #4E5968; font-size: 14px; line-height: 1.7; }
.step3 dl { margin: 0; font-size: 14px; color: #4E5968; line-height: 1.7; }
.step3 dl dt { display: inline; margin-right: 6px; }
.step3 dl dd { display: inline; }
.step3 dl dd::after { content: ""; display: block; margin-bottom: 4px; }
.step3 dt { font-weight: 700; color: var(--text); }
.step3 dd { margin: 0; }
.step3 code { background: var(--soft2); border-radius: 4px; padding: 0 5px; font-size: 12.5px; white-space: nowrap; }
.screens a { display: grid; grid-template-columns: 160px 1fr 16px; gap: 12px; align-items: center; padding: 13px 18px; border-top: 1px solid var(--line); color: var(--text); font-size: 14px; }
.screens a:first-child { border-top: 0; }
.screens a:hover { background: var(--soft); text-decoration: none; }
.screens b { font-weight: 700; }
.screens span { color: var(--muted); }
.screens em { font-style: normal; color: var(--faint); }

.side3 { display: grid; gap: 16px; }
.side3 .box { padding: 4px 0; }
.side3 h3 { font-size: 14px; font-weight: 700; padding: 12px 18px 8px; margin: 0; display: flex; justify-content: space-between; }
.side3 h3 span { color: var(--faint); font-weight: 500; font-size: 12px; }
.shift3 { display: grid; grid-template-columns: 58px 1fr; gap: 2px 10px; padding: 9px 18px; border-top: 1px solid var(--line); }
.shift3 .t { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--muted); padding-top: 2px; }
.shift3 .nm { font-weight: 700; font-size: 14px; display: flex; gap: 6px; align-items: center; }
.shift3 .nm .tag { font-size: 11px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 0 6px; }
.shift3 .d { grid-column: 2; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.shift3 .l { grid-column: 2; font-size: 11.5px; color: var(--faint); }
.shift3.next { background: #FAFCFF; }
.rules3 { list-style: none; margin: 0; padding: 0 18px 12px; display: grid; gap: 8px; font-size: 13px; color: #4E5968; line-height: 1.55; }
.rules3 b { color: var(--text); }
.join3 { padding: 16px 18px 18px !important; }
.join3 p { margin: 4px 0 12px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.foot3 { margin: 56px 0 0; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12.5px; color: var(--faint); }

/* 원장 */
.lg3 { max-width: 880px; padding-top: 12px; }
.lg3 h1 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin: 18px 0 8px; }
.lg3 .lede { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0; }
.lg3 section { margin-top: 36px; }
.lg3 h2 { font-size: 18px; font-weight: 700; margin: 0 0 12px; }
.lg3 p { font-size: 14.5px; line-height: 1.75; color: #333D4B; margin: 0; }
.lg3 table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lg3 th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 600; padding: 10px 16px; background: var(--soft); }
.lg3 td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.6; color: #333D4B; }
.lg3 td:first-child { font-weight: 700; color: var(--text); width: 130px; }
.lg3 .members { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.lg3 .member { background: var(--accent-soft); color: var(--accent); font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.lg3 .member em { font-style: normal; font-weight: 500; margin-left: 4px; opacity: .8; }
.lg3 ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.lg3 ol li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.7; color: #333D4B; }
.lg3 ol li:first-child { border-top: 0; }
.lg3 ol li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; background: var(--soft2); color: var(--muted); font-size: 12px; font-weight: 700; display: grid; place-items: center; margin-top: 2px; }
.lg3 ol b, .lg3 ul b { color: var(--text); }
.lg3 ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.7; color: #333D4B; }
.lg3 code { background: var(--soft2); border-radius: 4px; padding: 0 5px; font-size: 13px; }

/* 로그인 */
.login3 { min-height: 100vh; display: grid; place-items: center; background: #fff; padding: 24px; }
.login3-in { width: 400px; max-width: 100%; }
.login3 .logo-dot { width: 36px; height: 36px; border-radius: 11px; margin-bottom: 20px; }
.login3 h1 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 6px; }
.login3 .lede { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0 0 28px; }
.login3 .or { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 12.5px; margin: 18px 0; }
.login3 .or::before, .login3 .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login3 form { display: grid; gap: 8px; }
.login3 input { padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; background: var(--soft); }
.login3 input:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); background: #fff; }
.login3 .sent { margin-top: 14px; padding: 12px 14px; background: var(--accent-soft); border-radius: 12px; font-size: 13.5px; line-height: 1.6; color: #333D4B; }
.login3 ul { margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 6px; font-size: 13px; color: var(--muted); }

@media (max-width: 1080px) {
  .hm-grid { grid-template-columns: 1fr; } .side3 { position: static; }
  .kpi { grid-template-columns: repeat(3, 1fr); } .kpi > :nth-child(3) { border-right: 0; } .kpi > :nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .vows3, .steps3 { grid-template-columns: 1fr; } .act { flex-direction: column; align-items: flex-start; }
  .screens a { grid-template-columns: 1fr; } .pbar { display: none; }
}

/* ═════════ 팀 피칭 모드 /pitch/:id (2026-11-11 세션 2u5Pq1RJ) — 홈 v3 토큰(흰 배경, 토스·Linear형, 키치 없이) ═════════ */
body.pz-on { overflow: hidden; }
.pz { position: fixed; inset: 0; z-index: 500; background: #fff; color: var(--text); display: flex; flex-direction: column; }
.pz-stage { flex: 1; min-height: 0; position: relative; }
.pz-frame { display: none; position: absolute; inset: 0; overflow-y: auto; }
.pz-frame.on { display: block; }
.pz-slide { max-width: 1280px; margin: 0 auto; padding: clamp(24px, 3.4vw, 52px) clamp(24px, 4.5vw, 72px) 28px; box-sizing: border-box; min-height: 100%; display: flex; flex-direction: column; }
.pz-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(14px, 2vw, 24px); }
.pz-brand { font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.pz-tag { font-weight: 600; font-size: 14px; color: var(--muted); }
.pz-flag { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--soft2); color: var(--muted); }
.pz-num { margin-left: auto; font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.pz-title { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.22; letter-spacing: -.03em; font-weight: 800; margin: 0 0 clamp(10px, 1.2vw, 16px); max-width: 1120px; }
.pz-slide.cover .pz-title { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.15; margin-top: 3vh; }
.pz-hand { display: block; font-size: .32em; font-weight: 600; color: var(--accent); letter-spacing: -.01em; margin-top: 12px; }
.pz-lede { font-size: clamp(16px, 1.45vw, 21px); line-height: 1.65; margin: 0 0 clamp(18px, 2.2vw, 30px); color: #4E5968; max-width: 1040px; }
.pz-blocks { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.pz-src { margin-top: auto; padding-top: 22px; font-size: 12px; color: var(--faint); line-height: 1.7; }
.pz-src a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); }
.pz-cover-foot { margin-top: 18px; font-size: 13px; color: var(--faint); }
.pz-slide b, .pz-slide strong { font-weight: 700; color: var(--text); }

.pz-stats { display: grid; gap: 12px; }
.pz-stat { display: flex; flex-direction: column; padding: clamp(16px, 1.6vw, 24px) 20px; background: var(--soft); border-radius: 16px; }
.pz-stat b { font-size: clamp(28px, 3.2vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pz-stat span { font-weight: 600; margin-top: 10px; font-size: clamp(14px, 1.15vw, 17px); }
.pz-stat em { font-style: normal; font-size: clamp(12.5px, 1vw, 14.5px); color: var(--muted); margin-top: 4px; line-height: 1.4; }
.pz-slide.cover .pz-stat:first-child { background: var(--accent-soft); }
.pz-slide.cover .pz-stat:first-child b { color: var(--accent); }

.pz-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: clamp(13.5px, 1.15vw, 17px); }
.pz-table th { text-align: left; background: var(--soft); color: var(--muted); padding: 10px 14px; font-weight: 600; font-size: .9em; }
.pz-table td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.pz-table td:first-child { font-weight: 600; }
.pz-table tr.hl td { background: var(--accent-soft); }

.pz-flow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; }
.pz-flow-i { position: relative; background: var(--soft); border-radius: 16px; padding: 18px 18px 16px; margin-right: 24px; }
.pz-flow-i:not(:last-child)::after { content: '›'; position: absolute; right: -18px; top: 50%; transform: translateY(-50%); font-weight: 700; font-size: 22px; color: var(--faint); }
.pz-flow-i:last-child { background: var(--accent-soft); }
.pz-flow-n { font-size: clamp(20px, 2vw, 30px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--accent); }
.pz-flow-t { font-weight: 700; font-size: clamp(15px, 1.3vw, 19px); margin: 6px 0; }
.pz-flow-note { font-size: clamp(13px, 1.05vw, 15.5px); line-height: 1.55; color: #4E5968; }

.pz-ladder { display: grid; gap: 4px; }
.pz-rung { display: grid; grid-template-columns: minmax(240px, 38%) 1fr 110px; gap: 14px; align-items: center; border-radius: 10px; padding: 7px 12px; }
.pz-rung:nth-child(odd) { background: var(--soft); }
.pz-rung-l b { font-size: clamp(14px, 1.1vw, 16.5px); margin-right: 8px; }
.pz-rung-l span { font-size: 12.5px; color: var(--muted); }
.pz-rung-bar { height: 10px; border-radius: 5px; background: var(--soft2); overflow: hidden; }
.pz-rung-bar i { display: block; height: 100%; border-radius: 5px; background: #B0B8C1; }
.pz-rung-p { text-align: right; font-weight: 700; font-size: clamp(14px, 1.2vw, 18px); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pz-rung.us { background: var(--accent-soft); }
.pz-rung.us .pz-rung-bar i { background: var(--accent); }
.pz-rung.us b, .pz-rung.us .pz-rung-p { color: var(--accent); }

.pz-tl { list-style: none; margin: 0; padding: 18px 0 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 2px solid var(--line); }
.pz-tl li { position: relative; padding: 14px 8px 0 0; display: flex; flex-direction: column; gap: 4px; }
.pz-tl-dot { position: absolute; top: -26px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid #B0B8C1; }
.pz-tl b { font-size: clamp(17px, 1.6vw, 24px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pz-tl span:last-child { font-size: clamp(12.5px, 1vw, 15px); line-height: 1.45; color: #4E5968; }
.pz-tl li.st-now .pz-tl-dot { background: var(--accent); border-color: var(--accent); }
.pz-tl li.st-now b { color: var(--accent); }
.pz-tl li.st-goal .pz-tl-dot { background: var(--text); border-color: var(--text); }

.pz-cards { display: grid; gap: 12px; }
.pz-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pz-card-h { padding: 12px 16px 6px; font-weight: 700; font-size: clamp(15px, 1.3vw, 19px); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pz-card-tag { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--soft2); color: var(--muted); }
.pz-card ul { margin: 0; padding: 4px 16px 14px 32px; display: grid; gap: 5px; font-size: clamp(13px, 1.08vw, 16px); line-height: 1.5; color: #4E5968; }
.pz-card { border-top: 3px solid #B0B8C1; }
.tone-sky, .tone-green { border-top-color: var(--accent); } .tone-sky .pz-card-tag, .tone-green .pz-card-tag { background: var(--accent-soft); color: var(--accent); }
.tone-pink, .tone-amber { border-top-color: #F04452; } .tone-pink .pz-card-tag, .tone-amber .pz-card-tag { background: #FFEEEE; color: #E42939; }
.tone-yellow { border-top-color: #FFB331; }

.pz-quote { margin: 0; background: var(--soft); border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; padding: 16px 22px; }
.pz-quote p { margin: 0; font-size: clamp(17px, 1.7vw, 25px); font-weight: 600; line-height: 1.5; letter-spacing: -.01em; }
.pz-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13.5px; color: var(--muted); }

.pz-qs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pz-qs li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; background: var(--soft); border-radius: 16px; padding: 18px 22px; }
.pz-q-n { width: 40px; height: 40px; display: grid; place-items: center; font-weight: 700; font-size: 18px; background: var(--accent); color: #fff; border-radius: 50%; }
.pz-q { font-size: clamp(18px, 1.8vw, 27px); font-weight: 700; letter-spacing: -.02em; line-height: 1.35; }
.pz-q-why { margin-top: 6px; font-size: clamp(13.5px, 1.1vw, 16px); color: var(--muted); line-height: 1.55; }

.pz-bul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.6; color: #333D4B; }
.pz-bul li::marker { color: var(--accent); }
.pz-md { font-size: clamp(15px, 1.3vw, 19px); line-height: 1.6; }

.pz-bar { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 10px 18px; background: #fff; border-top: 1px solid var(--line); }
.pz-btn { background: var(--soft2); color: var(--text); border: 0; border-radius: 10px; padding: 8px 14px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.pz-btn:hover:not(:disabled) { background: #E5E8EB; }
.pz-btn:disabled { opacity: .4; cursor: default; }
.pz-btn-fb { background: var(--accent); color: #fff; }
.pz-btn-fb:hover:not(:disabled) { background: var(--accent-hover); }
.pz-btn-fb.on { background: var(--accent-hover); }
.pz-dots { flex: 1; display: flex; gap: 4px; align-items: center; min-width: 0; }
.pz-dots button { flex: 1; max-width: 44px; height: 6px; border: 0; border-radius: 3px; background: var(--soft2); padding: 0; cursor: pointer; }
.pz-dots button.past { background: #B0B8C1; } .pz-dots button.on { background: var(--accent); }
.pz-count { font-size: 14px; min-width: 56px; text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }
.pz-status { font-size: 12px; font-weight: 600; color: var(--accent); white-space: nowrap; }

.pz-panel { position: fixed; top: 0; right: 0; bottom: 57px; width: min(440px, 100vw); background: #fff; border-left: 1px solid var(--line); box-shadow: -12px 0 32px rgba(0,0,0,.06); padding: 20px 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; z-index: 510; }
.pz-panel-h { display: flex; justify-content: space-between; align-items: center; font-size: 18px; }
.pz-x { border: 0; background: none; font-size: 26px; cursor: pointer; line-height: 1; color: var(--muted); }
.pz-panel-q { margin: 0 0 6px; padding: 12px 14px 12px 32px; background: var(--soft); border-radius: 12px; font-weight: 600; font-size: 14px; line-height: 1.55; display: grid; gap: 4px; }
.pz-panel label { font-weight: 600; font-size: 13px; color: var(--muted); margin-top: 4px; }
.pz-panel textarea { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; line-height: 1.6; resize: vertical; }
.pz-panel textarea:focus, .pz-panel select:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.pz-panel select { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.pz-panel .pbtn { margin-top: 8px; }
.pz-panel-msg { font-size: 13px; background: var(--accent-soft); color: var(--accent); border-radius: 10px; padding: 8px 12px; }
.pz-panel-foot { font-size: 12.5px; line-height: 1.55; color: var(--faint); margin-top: 6px; }
.pz-panel-ro { background: var(--soft); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; line-height: 1.6; }
.pz-panel-dec { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; font-size: 13.5px; line-height: 1.6; }

/* 기획안 목록 배너 · 상세 버튼 */
.pz-banner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.pz-banner-t { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.pz-banner-t small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 3px; }
.pz-banner-list { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.pz-chip { display: inline-flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: var(--soft); border-radius: 12px; color: var(--text); font-weight: 600; font-size: 14px; }
.pz-chip:hover { text-decoration: none; background: var(--accent-soft); color: var(--accent); }
.pz-chip span { font-size: 12px; font-weight: 500; color: var(--muted); }
.pz-open { margin-left: auto; display: flex; gap: 8px; }
.pz-open .pbtn { padding: 10px 16px; font-size: 14px; }

@media (max-width: 900px) {
  .pz-flow, .pz-tl { grid-auto-flow: row; } .pz-flow-i { margin-right: 0; } .pz-flow-i::after { display: none; }
  .pz-stats, .pz-cards { grid-template-columns: 1fr 1fr !important; } .pz-rung { grid-template-columns: 1fr 90px; } .pz-rung-bar { display: none; }
}
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  body.pz-on { overflow: visible; background: #fff; }
  body.pz-on .top, .pz-bar, .pz-panel { display: none !important; }
  .pz { position: static; display: block; }
  .pz-stage { position: static; }
  .pz-frame { display: block !important; position: static; overflow: visible; break-after: page; page-break-after: always; }
  .pz-frame:last-child { break-after: auto; page-break-after: auto; }
  .pz-slide { min-height: auto; padding: 0; max-width: none; }
  .pz-title { font-size: 28px; } .pz-slide.cover .pz-title { font-size: 42px; } .pz-lede { font-size: 15px; }
  .pz-table, .pz-bul, .pz-card ul, .pz-flow-note { font-size: 12px; } .pz-stat b { font-size: 28px; } .pz-q { font-size: 17px; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.logo-sub { font-weight: 600; font-size: 12px; color: var(--muted); margin-left: 7px; padding-left: 8px; border-left: 1px solid var(--line); }
.login3 h1 .sub-name { font-weight: 600; font-size: 18px; color: var(--muted); margin-left: 6px; }

/* ── 모바일 승인함 (세션 pHCQfB7m, 2026-11-11) — 홈 v3 토큰 재사용. 승인함(.ap3) 카드 접기 + 좁은 화면 헤더 ── */
/* 승인함 카드 (모든 폭) */
.ap3 .card.approval { padding: 0; overflow: hidden; border-radius: 14px; }
.ap3 .card.approval.decided { opacity: 1; }
.ap3 .card.approval > .actions, .ap3 .card.approval > .decision, .ap3 .card.approval > .error { margin: 0 18px 16px; }
.ap3 .card.approval.folded > .actions { border-top: 0; margin-top: 0; padding-top: 0; }
.ap3-head { display: grid; gap: 6px; width: 100%; padding: 16px 18px 12px; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: var(--text); }
.ap3-head:hover { background: var(--soft); }
.ap3-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.ap3-title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; line-height: 1.45; overflow-wrap: anywhere; }
.ap3-reco { font-size: 13.5px; color: #333D4B; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ap3-reco b { color: var(--accent); margin-right: 4px; }
.ap3-more { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ap3-body { padding: 0 18px 4px; overflow-wrap: anywhere; min-width: 0; }
.ap3-lines { list-style: none; margin: 0 0 12px; padding: 14px 16px; background: var(--soft); border-radius: 12px; display: grid; gap: 8px; font-size: 14px; line-height: 1.6; }
.ap3-lines li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.ap3-lk { font-weight: 700; color: var(--muted); font-size: 13px; white-space: nowrap; padding-top: 1px; }
.ap3-text { margin: 0 0 10px; font-size: 14px; line-height: 1.6; }
.ap3-gate { margin: 0 0 10px; color: #4E5968; display: grid; gap: 4px; }
.ap3-gate ul { margin: 0; padding-left: 18px; }
.ap3-reco2 { margin-top: 6px; }
.ap3 .reco { background: var(--accent-soft); border-radius: 12px; }
.ap3 .reco-label { color: var(--accent); }
.ap3 .question { border-color: var(--line); border-radius: 12px; }
.ap3 .question label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.ap3 .question input[type=radio] { margin-top: 4px; flex-shrink: 0; width: 18px; height: 18px; }
.ap3 .evidence { flex-wrap: wrap; min-width: 0; }
.ap3 .evidence .links { min-width: 0; }
.ap3 .links a { word-break: break-all; }
.ap3-detail { margin: 12px 0 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.ap3-detail > summary, .ap3-sup > summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); padding: 4px 0; list-style-position: inside; }
.ap3-detail > summary .muted, .ap3-sup > summary .muted { font-weight: 400; margin-left: 6px; }
.ap3-detail .kv { margin-top: 8px; font-size: 12.5px; }
.ap3-detail .kv > div { flex-wrap: wrap; border-bottom: 1px solid var(--soft2); padding: 6px 0; }
.ap3-detail .kv .v { min-width: 0; flex: 1 1 240px; }
.ap3-json { margin: 0; white-space: pre-wrap; word-break: break-all; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--soft); border-radius: 8px; padding: 8px 10px; max-height: 320px; overflow: auto; }
.ap3-sup { margin-top: 18px; }
.ap3-sup > summary { margin-bottom: 10px; }
.ap3-btns .pbtn { padding: 11px 18px; font-size: 14.5px; }
.ap3-btns .ap3-danger { color: #E42939; }
.ap3-btns .ap3-reject { background: #F04452; }
.ap3-btns .ap3-reject:hover { background: #E42939; }
.ap3 .actions textarea { font-size: 15px; border-radius: 12px; padding: 12px 14px; border-color: var(--line); }
.ap3 .msgs { border-radius: 12px; overflow: hidden; }
.ap3 .msgs-head { background: var(--soft); border-radius: 0; }
.ap3 .msg-row { min-width: 0; }
.ap3 .msg-body .pre.mail { background: var(--soft); border-color: var(--line); overflow-wrap: anywhere; }
.ap3 .msg-edit input, .ap3 .msg-edit textarea { width: 100%; font-size: 15px; border-radius: 10px; padding: 10px 12px; }
.ap3 .msg-body .kv .v { min-width: 0; }

/* 좁은 화면 헤더: 로고 + 우측(브랜드·역할·로그아웃) 한 줄, 탭은 아래 가로 스크롤 */
@media (max-width: 1080px) {
  .top { flex-wrap: wrap; height: auto; padding: 0 16px; gap: 0 12px; row-gap: 0; }
  .top .logo { height: 52px; }
  .top-right { margin-left: auto; gap: 8px; min-width: 0; }
  .top nav { order: 3; flex: 1 0 100%; height: 44px; overflow-x: auto; overflow-y: hidden; flex-wrap: nowrap; scrollbar-width: none; margin: 0 -16px; padding: 0 8px; border-top: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { white-space: nowrap; flex-shrink: 0; padding: 0 10px; }
}
@media (max-width: 760px) {
  .top .logo-sub { display: none; }
  .top-right select { max-width: 112px; padding: 5px 6px; font-size: 13px; }
  .top-right .role-chip { padding: 3px 8px; white-space: nowrap; }
  .top-right .btn { white-space: nowrap; padding: 4px 6px; }
  main { padding: 14px 14px 48px; }
  .ap3 .page-head { flex-wrap: wrap; }
  .ap3 .hint { font-size: 12.5px; }
  .ap3-head { padding: 14px 16px 10px; }
  .ap3-body { padding: 0 16px 4px; }
  .ap3 .card.approval > .actions, .ap3 .card.approval > .decision, .ap3 .card.approval > .error { margin: 0 16px 14px; }
  .ap3-lines { padding: 12px 14px; font-size: 14px; }
  .ap3-lines li { grid-template-columns: 1fr; gap: 2px; }
  .ap3-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ap3-btns > :first-child { grid-column: 1 / -1; }
  .ap3-btns .pbtn { width: 100%; padding: 13px 10px; font-size: 15px; }
  .ap3 .question { padding: 10px 12px; }
  .ap3 .question ol { padding-left: 18px; }
  .ap3 .question li { margin: 6px 0; }
  .ap3 .msg-row { flex-wrap: wrap; gap: 4px 8px; padding: 12px; }
  .ap3 .msg-to { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; }
  .ap3 .msg-subj { flex-basis: 100%; order: 5; padding-left: 20px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .ap3 .msg-body { padding: 4px 12px 14px; }
  .ap3 .msg-body .kv > div { flex-wrap: wrap; gap: 2px 10px; }
  .ap3 .msg-body .btn, .ap3 .msg-edit .btn { padding: 11px 16px; font-size: 15px; border-radius: 10px; }
  .ap3 .msg-edit .btns { display: grid; grid-template-columns: 1fr 1fr; }
  .ap3 .msg-edit textarea { min-height: 50vh; }
}
