:root {
  --bg: #e5ebf5;
  --ink: #0f172a;
  --line: #d3dbe8;
  --brand: #4f82f0;
  --brand-soft: #6a9cf5;
}

* { box-sizing: border-box; }

body.cwl-admin-body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--ink);
  background: var(--bg);
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.admin-sidebar {
  width: 320px;
  background: #0b1220;
  color: #dbe5f6;
  border-right: 1px solid #23314d;
  display: flex;
  flex-direction: column;
}

.sidebar-head { padding: 18px; border-bottom: 1px solid #23314d; }
.sidebar-head .kicker { font-size: 11px; letter-spacing: 0.08em; color: #7ea5f6; margin: 0 0 6px; }
.sidebar-head h1 { margin: 0; font-size: 20px; color: #fff; }
.sidebar-head .sub { margin: 4px 0 12px; color: #9ab0d9; font-size: 12px; }

.sidebar-search { padding: 12px 18px; }
.sidebar-search input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #32486d;
  background: #101b30;
  color: #fff;
  padding: 10px;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0 12px 12px;
  overflow: auto;
  flex: 1;
}

.sidebar-item {
  border: 1px solid #2f4567;
  background: #101b30;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 8px;
  cursor: pointer;
}
.sidebar-item.active { border-color: var(--brand-soft); background: #172642; }
.sidebar-item p { margin: 2px 0; font-size: 12px; color: #c6d3ec; }

.sidebar-empty {
  color: #8ba1c7;
  font-size: 13px;
  text-align: center;
  padding: 12px;
}

.sidebar-foot { padding: 12px 18px; border-top: 1px solid #23314d; }

.sidebar-btn {
  width: 100%;
  border: 1px solid #436390;
  background: #13233d;
  color: #e5edff;
  border-radius: 10px;
  padding: 10px;
  font-weight: 700;
  cursor: pointer;
}
.sidebar-btn.primary { background: var(--brand); border-color: #3f72df; color: #fff; }

.admin-main {
  flex: 1;
  overflow: auto;
  padding: 18px;
}

.report-wrapper {
  width: 210mm;
  margin: 0 auto;
}

.page {
  width: 210mm;
  min-height: 297mm;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 12mm;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  page-break-after: always;
}

.brand-top {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #0f172a;
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-size: 11px;
  color: #4b5563;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-title { margin: 14mm 0 4mm; font-size: 30px; font-weight: 800; }
.cover-name { margin: 0 0 10mm; font-size: 36px; font-weight: 800; color: var(--brand); }
.cover-meta p { margin: 6px 0; font-size: 14px; }

.section-title { margin: 0 0 12px; font-size: 22px; font-weight: 800; }

.card-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fit-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #f8fbff; }
.gauge-track { margin-top: 8px; height: 10px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.gauge-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #0ea5e9); }

.summary-card { border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; padding: 12px; margin-top: 10px; }
.summary-card p { margin: 6px 0; font-size: 14px; }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stack > div { margin-bottom: 10px; }
.axis-row { display: grid; grid-template-columns: 88px 1fr 40px; gap: 8px; align-items: center; }
.axis-bar { height: 10px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.axis-fill { height: 100%; background: linear-gradient(90deg, #2563eb, #0ea5e9); }

.radar-box {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}
.radar-ring,
.radar-grid,
.radar-fill,
.radar-axis,
.radar-point {
  position: absolute;
  inset: 0;
}
.radar-grid {
  clip-path: polygon(50% 6%, 84% 28%, 84% 72%, 50% 94%, 16% 72%, 16% 28%);
  border: 1px solid #d7e0ef;
}
.radar-ring.small { transform: scale(0.75); }
.radar-ring.xsmall { transform: scale(0.5); }
.radar-axis i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 45%;
  background: #d7e0ef;
  transform-origin: bottom center;
}
.radar-fill {
  background: rgba(79, 130, 240, 0.25);
  border: 2px solid rgba(79, 130, 240, 0.9);
}
.radar-point span {
  position: absolute;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  margin-top: -4px;
  border-radius: 50%;
  background: #1d4ed8;
}

.radar-label-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.radar-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 700;
  color: #475569;
  background: rgba(255, 255, 255, 0.85);
  padding: 2px 4px;
  border-radius: 6px;
  border: 1px solid #d7e0ef;
}

.report-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.report-table th, .report-table td { border: 1px solid var(--line); padding: 8px; vertical-align: top; }
.report-table th { background: #eef3fc; }

.action-list { margin: 0; padding-left: 20px; }
.action-list li { margin-bottom: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }

.token-chart-row {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  padding: 10px;
}

.token-bar-wrap {
  width: 20px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.token-bar-val {
  font-size: 10px;
  color: #475569;
  margin-bottom: 3px;
}

.token-bar {
  width: 14px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #6a9cf5, #4f82f0);
}

.token-bar-event {
  background: linear-gradient(180deg, #334155, #0f172a);
}

.token-bar-lab {
  font-size: 10px;
  color: #64748b;
  margin-top: 3px;
}

.signal-page-title,
.action-page-title,
.event-page-title,
.reflection-page-title,
.next-page-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
}

.page-intro {
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.7;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.signal-card {
  border: 1px solid var(--line);
  border-left-width: 6px;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  break-inside: avoid;
  page-break-inside: avoid;
}

.signal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.signal-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
}

.signal-priority {
  font-size: 11px;
  color: #475569;
}

.signal-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.signal-risk {
  margin: 0 0 8px;
  color: #334155;
  font-size: 13px;
  line-height: 1.7;
}

.signal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.signal-act {
  border: 1px solid #d8e1ef;
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px;
  font-size: 12px;
  line-height: 1.6;
}

.signal-note {
  margin-top: 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  padding: 10px;
  color: #334155;
  font-size: 13px;
}

.action-section {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  margin-bottom: 10px;
}

.action-section h4 {
  margin: 0 0 4px;
  font-size: 17px;
}

.action-desc {
  margin: 0 0 10px;
  font-size: 13px;
  color: #64748b;
}

.action-card {
  border: 1px solid #dbe3f0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 10px;
  margin-bottom: 8px;
  break-inside: avoid;
  page-break-inside: avoid;
}

.action-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.action-top h5 {
  margin: 0;
  font-size: 15px;
}

.cat-pill {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-weight: 700;
  white-space: nowrap;
}

.action-when {
  margin: 4px 0 8px;
  color: #64748b;
  font-size: 12px;
}

.action-steps {
  margin: 0 0 8px;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.7;
}

.action-exp {
  margin: 0 0 8px;
  font-size: 13px;
  color: #0f172a;
}

.action-fail {
  border: 1px solid #d8e1ef;
  border-radius: 8px;
  background: #f1f5f9;
  padding: 8px;
  font-size: 12px;
  color: #334155;
}

.event-list {
  margin: 0 0 12px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.8;
}

.adapt-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  padding: 12px;
}

.adapt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0;
}

.adapt-item {
  border: 1px solid #d9e1ee;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  text-align: center;
  font-size: 12px;
}

.question-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  margin-bottom: 10px;
}

.question-card h5 {
  margin: 0 0 10px;
  font-size: 15px;
}

.answer-lines {
  display: grid;
  gap: 14px;
}

.answer-lines span {
  display: block;
  height: 1px;
  background: #cbd5e1;
}

.timeline-wrap {
  display: grid;
  gap: 10px;
}

.timeline-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}

.timeline-card h5 {
  margin: 0 0 6px;
  font-size: 16px;
}

.timeline-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
}

.retest-box {
  margin-top: 10px;
  border: 1px solid #cddaf0;
  border-radius: 12px;
  background: #eef5ff;
  padding: 12px;
  font-size: 14px;
}

.outro-wrap {
  min-height: 220mm;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 20mm 10mm;
}

.outro-title {
  margin: 0 0 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 700;
  color: #1e293b;
}

.outro-copy {
  white-space: pre-line;
  font-size: 16px;
  line-height: 2;
  color: #334155;
}

/* ═══════════════════════════════════════════════════
   Part 2-B: 환경 적응 시나리오 + 위험 신호 탐지
   ═══════════════════════════════════════════════════ */

.p2b-intro {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px 10px 18px;
  margin-bottom: 10px;
  position: relative;
}
.p2b-intro::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: #0f172a;
  border-radius: 10px 0 0 10px;
}
.p2b-intro-text {
  font-size: 10.5px;
  color: #334155;
  line-height: 1.75;
}
.p2b-intro-text strong { color: #0f172a; }

/* ── 적응 시나리오 카드 ── */
.sc-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sc-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
}
.sc-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
}
.sc-axis { font-size: 12px; font-weight: 900; color: #0f172a; }
.sc-score { font-size: 16px; font-weight: 900; color: #0f172a; }
.sc-tag {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  color: #fff;
}
.sc-tag-strong  { background: #334155; }
.sc-tag-neutral { background: #64748b; }
.sc-tag-caution { background: #64748b; }
.sc-condition {
  font-size: 10px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 8px;
}
.sc-compare { display: flex; gap: 10px; margin-bottom: 8px; }
.sc-col { flex: 1; }
.sc-col-label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.sc-label-ok   { color: #3b5998; }
.sc-label-warn { color: #1e293b; }
.sc-label-dot { width: 5px; height: 5px; border-radius: 50%; }
.sc-dot-ok   { background: #3b5998; }
.sc-dot-warn { background: #1e293b; }
.sc-col-ok {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 8px 10px;
}
.sc-col-warn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 8px 10px;
}
.sc-signal-list { display: flex; flex-direction: column; gap: 3px; }
.sc-signal {
  font-size: 10px;
  color: #334155;
  line-height: 1.55;
  padding-left: 12px;
  position: relative;
}
.sc-signal::before {
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 9px;
}
.sc-signal.ok::before   { content: '✓'; color: #3b5998; }
.sc-signal.warn::before { content: '!'; color: #1e293b; }
.sc-signal .key { font-weight: 700; color: #0f172a; }
.sc-persona {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 8px 12px;
}
.sc-persona-label {
  font-size: 8px;
  font-weight: 800;
  color: #3b5998;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.sc-persona-text { font-size: 10px; color: #475569; line-height: 1.7; }
.sc-persona-text em { font-style: normal; color: #0f172a; font-weight: 700; }
.sc-persona-text .turn { color: #0f172a; font-weight: 700; }

/* ── 위험 신호 탐지 ── */
.rs-guide {
  background: #0f172a;
  border-radius: 10px;
  padding: 14px 18px;
  color: #fff;
  margin-bottom: 14px;
}
.rs-guide-label {
  font-size: 9px;
  font-weight: 800;
  color: #6a9cf5;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}
.rs-guide-text { font-size: 11.5px; color: #cbd5e1; line-height: 1.85; }
.rs-guide-text em { font-style: normal; color: #6a9cf5; font-weight: 700; }

.rs-list { display: flex; flex-direction: column; gap: 14px; }
.rs-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px 20px;
  border-left: 4px solid #ccc;
  display: flex;
  flex-direction: column;
}
.rs-card.rs-burnout    { border-left-color: #1e3a5f; }
.rs-card.rs-friction   { border-left-color: #3b2e7a; }
.rs-card.rs-stagnation { border-left-color: #14532d; }
.rs-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.rs-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
  color: #fff;
  letter-spacing: 0.04em;
}
.rs-badge-burnout    { background: #1e3a5f; }
.rs-badge-friction   { background: #3b2e7a; }
.rs-badge-stagnation { background: #14532d; }
.rs-priority { font-size: 9px; color: #94a3b8; font-weight: 700; }
.rs-basis { display: flex; gap: 6px; margin-left: auto; }
.rs-basis-tag {
  font-size: 9px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 2px 7px;
}
.rs-basis-score { font-weight: 900; color: #0f172a; }
.rs-title { font-size: 14px; font-weight: 800; color: #0f172a; line-height: 1.5; margin-bottom: 8px; }
.rs-desc { font-size: 11.5px; color: #334155; line-height: 1.8; margin-bottom: 12px; }
.rs-escalation {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.rs-escalation-label {
  font-size: 9px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
}
.rs-esc-list { display: flex; flex-direction: column; gap: 5px; }
.rs-esc-step {
  font-size: 11px;
  color: #334155;
  line-height: 1.65;
  padding-left: 44px;
  position: relative;
}
.rs-esc-stage {
  position: absolute;
  left: 0;
  font-size: 10px;
  font-weight: 800;
  color: #1e293b;
  width: 38px;
}
.rs-burnout .rs-esc-stage    { color: #1e3a5f; }
.rs-friction .rs-esc-stage   { color: #3b2e7a; }
.rs-stagnation .rs-esc-stage { color: #14532d; }
.rs-context {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 10px 14px;
}
.rs-context-label {
  font-size: 9px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.rs-context-text { font-size: 11px; color: #475569; line-height: 1.7; }
.rs-context-text em { font-style: normal; color: #0f172a; font-weight: 700; }
.rs-note {
  margin-top: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 10.5px;
  color: #64748b;
  line-height: 1.65;
}
.rs-note strong { color: #0f172a; }

/* ── 0개 전용 페이지 ── */
/* ── 0개 전용: part-badge ── */
.part-badge {
  display: inline-block;
  background: #0f172a;
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}

.safe-headline {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 16px 20px 16px 24px;
  margin-bottom: 16px;
  position: relative;
}
.safe-headline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  border-radius: 10px 0 0 10px;
}
.safe-headline-title { font-size: 15px; font-weight: 900; color: #0f172a; margin-bottom: 6px; }
.safe-headline-text { font-size: 12px; color: #334155; line-height: 1.85; }
.safe-headline-text strong { color: #0f172a; }
.section-label {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #e5e7eb;
}
.section-label .num {
  display: inline-block;
  background: #0f172a;
  color: #fff;
  font-size: 9px;
  width: 20px; height: 20px; line-height: 20px;
  text-align: center;
  border-radius: 4px;
  margin-right: 7px;
}
.check-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.check-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px; color: #334155; line-height: 1.65;
}
.check-box {
  width: 15px; height: 15px;
  border: 1.5px solid #cbd5e1;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 3px;
}
.check-item .axis-ref {
  font-size: 10px; font-weight: 700; color: #64748b;
  background: #f1f5f9; border-radius: 3px;
  padding: 1px 6px; margin-left: 4px; white-space: nowrap;
}
.risk-scenario-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.risk-scenario {
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 8px; padding: 12px 16px;
}
.risk-scenario-trigger { font-size: 10px; font-weight: 800; color: #d97706; letter-spacing: 0.04em; margin-bottom: 4px; }
.risk-scenario-text { font-size: 12px; color: #334155; line-height: 1.7; }
.risk-scenario-text .turn { font-weight: 700; color: #d97706; }
.maintain-list { display: flex; flex-direction: column; gap: 7px; }
.maintain-item {
  background: #f0fdf4; border: 1px solid #dcfce7;
  border-radius: 8px; padding: 12px 16px;
}
.maintain-title { font-size: 12px; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.maintain-desc { font-size: 12px; color: #334155; line-height: 1.7; }
.bottom-bridge {
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
  font-size: 10px; color: #64748b; line-height: 1.6;
  margin-top: auto;
}
.bottom-bridge strong { color: #0f172a; }

@media print {
  @page { size: A4; margin: 0; }
  body.cwl-admin-body { display: block; background: #fff; font-size: 14px; }
  .print-hidden { display: none !important; }
  .admin-main { padding: 0; }
  .report-wrapper { width: 100%; }
  .page { box-shadow: none; margin-bottom: 0; border: none; overflow: hidden; }
  .signal-card,
  .action-card,
  .sc-card,
  .rs-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* ══════════════════════════════════════
   P3 Overview + P4 Dashboard + P5-P6 Axis Detail
══════════════════════════════════════ */

/* P3 Overview — v3 디자인 원본 */
.headline-wrap { background:linear-gradient(135deg,#f0f4ff,#e8eeff); border:1px solid #c7d5f0; border-radius:14px; padding:14px 18px 14px 20px; margin-bottom:14px; position:relative; overflow:hidden; }
.headline-wrap::before { content:''; position:absolute; left:0; top:0; bottom:0; width:5px; background:linear-gradient(180deg,#4f82f0,#2563eb); border-radius:14px 0 0 14px; }
.headline-label { font-size:10px; font-weight:800; color:#4f82f0; letter-spacing:0.12em; text-transform:uppercase; margin-bottom:6px; }
.headline-text { font-size:13px; font-weight:600; color:#0f172a; line-height:1.7; }
.headline-text em { font-style:normal; color:#2563eb; font-weight:800; }

.score-zone { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
.donut-card { background:#fafbfd; border:1px solid #e2e8f0; border-radius:14px; padding:16px; display:flex; align-items:center; gap:16px; }
.donut-svg { width:110px; height:110px; flex-shrink:0; }
.donut-info { flex:1; }
.donut-info .label { font-size:10px; font-weight:800; color:#6b7280; letter-spacing:0.1em; text-transform:uppercase; margin-bottom:4px; }
.donut-info .big-score { font-size:36px; font-weight:900; color:#0f172a; line-height:1; }
.donut-info .big-score span { font-size:14px; font-weight:600; color:#9ca3af; }
.donut-info .level-badge { display:inline-block; margin-top:6px; padding:3px 10px; border-radius:999px; font-size:11px; font-weight:800; color:#fff; }
.donut-info .comment { font-size:11px; color:#64748b; margin-top:8px; line-height:1.5; }

.market-card { background:#0f172a; border-radius:14px; padding:16px; color:#fff; display:flex; flex-direction:column; justify-content:center; }
.market-card .label { font-size:10px; font-weight:800; color:#6a9cf5; letter-spacing:0.1em; text-transform:uppercase; margin-bottom:8px; }
.market-card .market-name { font-size:15px; font-weight:800; margin-bottom:4px; }
.market-card .market-desc { font-size:11px; color:#94a3b8; line-height:1.6; margin-bottom:10px; }
.market-card .token-strat { display:inline-flex; align-items:center; gap:6px; background:rgba(79,130,240,0.15); border:1px solid rgba(79,130,240,0.3); border-radius:8px; padding:6px 10px; font-size:11px; color:#93b4f5; }
.market-card .token-strat strong { color:#fff; }

.sub-scores { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:14px; }
.sub-score-item { background:#fafbfd; border:1px solid #e2e8f0; border-radius:12px; padding:12px; }
.sub-score-head { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:2px; }
.sub-score-head .sub-label { font-size:10px; font-weight:700; color:#475569; }
.sub-score-head .sub-value { font-size:22px; font-weight:900; color:#0f172a; }
.sub-bar { height:6px; border-radius:99px; background:#e2e8f0; margin:6px 0; overflow:hidden; }
.sub-fill { height:100%; border-radius:99px; }
.sub-desc { font-size:9.5px; color:#94a3b8; line-height:1.5; }

.axis-section { margin-bottom:14px; }
.axis-section-title { font-size:10px; font-weight:800; color:#6b7280; letter-spacing:0.12em; text-transform:uppercase; margin-bottom:10px; }
.axis-row-v3 { display:grid; grid-template-columns:70px 52px 1fr 52px 32px; align-items:center; gap:0; margin-bottom:8px; }
.ax-name { font-size:11px; font-weight:700; color:#334155; text-align:right; padding-right:8px; }
.ax-lo { font-size:9px; color:#b0b8c4; text-align:right; padding-right:6px; font-weight:500; }
.ax-track { height:18px; background:#f1f5f9; border-radius:5px; position:relative; overflow:hidden; }
.ax-fill { position:absolute; top:0; bottom:0; left:0; border-radius:5px; display:flex; align-items:center; justify-content:flex-end; padding-right:6px; font-size:9px; font-weight:800; color:rgba(255,255,255,0.9); }
.ax-center { position:absolute; left:50%; top:0; bottom:0; width:1px; background:#cbd5e1; z-index:2; }
.ax-hi { font-size:9px; color:#b0b8c4; padding-left:6px; font-weight:500; }
.ax-val { font-size:13px; font-weight:900; color:#0f172a; text-align:right; padding-left:4px; }
.c-structure { background:linear-gradient(90deg,#7c7fbd,#9b9dd4); }
.c-autonomy { background:linear-gradient(90deg,#9484b8,#b0a3cf); }
.c-collaboration { background:linear-gradient(90deg,#5b9eb5,#7dbdcf); }
.c-pace { background:linear-gradient(90deg,#c4a24a,#d4ba6e); }
.c-decision { background:linear-gradient(90deg,#5ba88a,#7cc4a6); }
.c-growth { background:linear-gradient(90deg,#c46b7c,#d98d9b); }

.bottom-zone { display:grid; grid-template-columns:1fr 1fr; gap:14px; flex:1; min-height:0; }
.type-card { background:#f8fafc; border:1px solid #e2e8f0; border-radius:14px; padding:16px; display:flex; flex-direction:column; justify-content:center; }
.type-card .type-label { font-size:10px; font-weight:800; color:#6b7280; letter-spacing:0.1em; text-transform:uppercase; margin-bottom:6px; }
.type-card .type-name { font-size:22px; font-weight:900; color:#0f172a; margin-bottom:2px; }
.type-card .type-kor { font-size:13px; font-weight:600; color:#64748b; margin-bottom:8px; }
.type-card .type-desc { font-size:11px; color:#64748b; line-height:1.6; margin-bottom:10px; }
.type-card .type-relation { font-size:10.5px; color:#334155; line-height:1.6; padding:10px; background:#eef3ff; border-radius:8px; border-left:3px solid #4f82f0; }
.mini-radar-card { background:#f8fafc; border:1px solid #e2e8f0; border-radius:14px; padding:10px; display:flex; align-items:center; justify-content:center; }
.bg-good { background:#4f82f0; }

/* P4 Dashboard — v2 디자인 원본 */
.part-title-row { display:flex; align-items:baseline; gap:10px; margin-bottom:4px; }
.part-num { font-size:10px; font-weight:800; color:#4f82f0; letter-spacing:0.1em; text-transform:uppercase; }
.part-title { font-size:20px; font-weight:900; color:#0f172a; }
.part-desc { font-size:11px; color:#64748b; line-height:1.6; margin-bottom:16px; }

.main-split { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; }
.radar-zone { display:flex; align-items:center; justify-content:center; }
.radar-svg { width:100%; max-width:300px; height:auto; }
.combo-zone { display:flex; flex-direction:column; justify-content:center; }
.combo-label-top { font-size:9px; font-weight:800; color:#94a3b8; letter-spacing:0.1em; text-transform:uppercase; margin-bottom:12px; }
.combo-item { padding:12px 0; border-bottom:1px solid #f1f5f9; }
.combo-item:last-child { border-bottom:none; }
.combo-pair { font-size:9px; font-weight:800; color:#4f82f0; letter-spacing:0.02em; margin-bottom:4px; }
.combo-name { font-size:14px; font-weight:900; color:#0f172a; margin-bottom:4px; }
.combo-desc { font-size:10.5px; color:#475569; line-height:1.7; }

.toc-section { margin-bottom:20px; }
.toc-title { font-size:9px; font-weight:800; color:#94a3b8; letter-spacing:0.1em; text-transform:uppercase; margin-bottom:10px; padding-bottom:8px; border-bottom:1px solid #e5e7eb; }
.toc-grid { display:flex; flex-direction:column; gap:0; }
.toc-row { padding:12px 0; border-bottom:1px solid #f5f5f5; }
.toc-row:last-child { border-bottom:none; }
.toc-top-line { display:flex; align-items:baseline; gap:0; margin-bottom:3px; }
.toc-num { font-size:9px; font-weight:800; color:#cbd5e1; width:24px; flex-shrink:0; }
.toc-name { font-size:11px; font-weight:700; color:#0f172a; margin-right:10px; white-space:nowrap; }
.toc-keyword { font-size:10px; color:#64748b; font-weight:500; white-space:nowrap; }
.toc-keyword strong { color:#4f82f0; font-weight:800; }
.toc-dots { flex:1; border-bottom:1px dotted #d1d5db; margin:0 10px; position:relative; top:-3px; min-width:20px; }
.toc-page { font-size:9px; color:#b0b8c4; font-weight:700; white-space:nowrap; }
.toc-desc { font-size:9.5px; color:#94a3b8; line-height:1.5; padding-left:24px; }

.checklist-section { background:#f8fafc; border:1px solid #e2e8f0; border-radius:12px; padding:18px 20px; margin-top:auto; }
.checklist-title { font-size:9px; font-weight:800; color:#94a3b8; letter-spacing:0.1em; text-transform:uppercase; margin-bottom:12px; }
.checklist-items { display:flex; flex-direction:column; gap:8px; margin-bottom:14px; }
.checklist-section .check-item { display:flex; align-items:flex-start; gap:8px; font-size:11px; color:#334155; line-height:1.6; }
.checklist-section .check-box { width:14px; height:14px; border:1.5px solid #cbd5e1; border-radius:3px; flex-shrink:0; margin-top:2px; }
.checklist-footer { padding-top:12px; border-top:1px solid #e5e7eb; font-size:11px; color:#64748b; line-height:1.7; text-align:center; }
.checklist-footer strong { color:#0f172a; }

/* P5-P6 Axis Detail */
.axis-block { flex:1; display:flex; flex-direction:column; padding:20px 0; border-bottom:1px solid #e5e7eb; }
.axis-block:last-child { border-bottom:none; }
.axis-head { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.axis-head .axis-name { font-size:18px; font-weight:900; color:#0f172a; }
.axis-level-tag { font-size:10px; font-weight:700; padding:3px 12px; border-radius:3px; color:#fff; }
.axis-head .axis-range { font-size:9.5px; color:#b0b8c4; font-weight:500; margin-left:auto; }
.axis-bar-row { display:grid; grid-template-columns:1fr 44px; align-items:center; gap:12px; margin-bottom:18px; }
.axis-bar-track { height:18px; background:#f1f5f9; border-radius:4px; position:relative; overflow:hidden; }
.axis-bar-fill { position:absolute; top:0; bottom:0; left:0; border-radius:4px; }
.axis-bar-center { position:absolute; left:50%; top:0; bottom:0; width:1px; background:#cbd5e1; z-index:2; }
.axis-bar-score { font-size:26px; font-weight:900; color:#0f172a; text-align:right; }
.interp-area { flex:1; display:flex; flex-direction:column; gap:18px; }
.interp-split { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.interp-label { font-size:13px; font-weight:800; letter-spacing:0.04em; margin-bottom:5px; }
.interp-text { font-size:12.5px; color:#334155; line-height:1.8; }
.interp-label-meaning    { color:#1e3a5f; }
.interp-label-conclusion { color:#3b2e7a; }
.interp-label-strength   { color:#14532d; }
.interp-label-weakness   { color:#8b4513; }

/* ── TOC (목차) ── */
.toc-main-title { font-size:26px; font-weight:900; color:#0f172a; margin-bottom:4px; }
.toc-main-sub { font-size:12px; color:#64748b; font-weight:500; margin-bottom:28px; }
.toc-part-section { margin-bottom:22px; }
.toc-part-label {
  font-size:10px; font-weight:800; color:#4f82f0; letter-spacing:0.12em;
  text-transform:uppercase; margin-bottom:8px;
  display:flex; align-items:center; gap:8px;
}
.toc-part-label::after { content:''; flex:1; height:1px; background:#e2e8f0; }
.toc-entry { display:flex; align-items:baseline; padding:6px 0; }
.toc-entry-name { font-size:13px; font-weight:700; color:#0f172a; white-space:nowrap; }
.toc-entry-tag { font-size:11px; color:#64748b; margin-left:8px; white-space:nowrap; }
.toc-entry-tag strong { color:#0f172a; }
.toc-entry-dots { flex:1; border-bottom:1px dotted #cbd5e1; margin:0 10px; min-width:20px; position:relative; top:-3px; }
.toc-entry-page { font-size:13px; font-weight:900; color:#4f82f0; min-width:28px; text-align:right; white-space:nowrap; }
.toc-entry-sub .toc-entry-name { font-size:11.5px; font-weight:500; color:#475569; padding-left:16px; }
.toc-entry-sub .toc-entry-page { font-size:11.5px; font-weight:700; color:#94a3b8; }

.tag-structure { background:#7c7fbd; }
.tag-autonomy { background:#9484b8; }
.tag-collaboration { background:#5b9eb5; }
.tag-pace { background:#c4a24a; }
.tag-decision { background:#5ba88a; }
.tag-growth { background:#c46b7c; }

/* ═══ P7-P8: 시장 적합도 해석 & 판별 가이드 ═══ */
.mf-headline {
  background: linear-gradient(135deg, #f0f4ff, #e8eeff);
  border: 1px solid #c7d5f0; border-radius: 10px;
  padding: 12px 16px 12px 20px; margin-bottom: 16px;
  position: relative;
}
.mf-headline::before { content:''; position:absolute; left:0; top:0; bottom:0; width:4px; background:linear-gradient(180deg,#4f82f0,#2563eb); border-radius:10px 0 0 10px; }
.mf-headline-text { font-size:12px; color:#334155; line-height:1.75; }
.mf-headline-text strong { color:#0f172a; }

.mf-axis { flex:1; display:flex; flex-direction:column; padding:20px 0; border-bottom:1px solid #e5e7eb; }
.mf-axis:last-child { border-bottom:none; }

.mf-head { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.mf-name { font-size:16px; font-weight:900; color:#0f172a; }
.mf-score { font-size:24px; font-weight:900; color:#0f172a; }
.mf-tag { font-size:10px; font-weight:700; padding:3px 10px; border-radius:3px; color:#fff; }
.mf-tag-strong { background:#4f82f0; }
.mf-tag-neutral { background:#94a3b8; }
.mf-tag-caution { background:#f59e0b; }

.mf-condition { font-size:13px; font-weight:700; color:#1e3a5f; margin-bottom:4px; }
.mf-desc { font-size:12px; color:#475569; line-height:1.75; margin-bottom:14px; }

.mf-guide-stack { display:flex; flex-direction:column; gap:10px; }
.mf-guide-box { background:#f8fafc; border:1px solid #eef1f5; border-radius:7px; padding:12px 16px; }
.mf-guide-box.mf-step2 { background:#fafbff; border-color:#dde4f0; }
.mf-guide-label { font-size:10px; font-weight:800; color:#94a3b8; letter-spacing:0.04em; margin-bottom:5px; }
.mf-step1c { color:#1e3a5f; font-weight:800; }
.mf-step2c { color:#3b2e7a; font-weight:800; }
.mf-guide-text { font-size:11.5px; color:#334155; line-height:1.7; }
.mf-guide-text .pos { color:#14532d; font-weight:700; }
.mf-guide-text .neg { color:#8b4513; font-weight:700; }
.mf-guide-text .warn { font-size:10px; color:#94a3b8; display:block; margin-top:4px; }

.mf-qlist { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:6px; }
.mf-qlist li { font-size:12px; color:#334155; line-height:1.7; padding-left:14px; position:relative; }
.mf-qlist li::before { content:'→'; position:absolute; left:0; color:#3b2e7a; font-weight:700; }
.mf-qlist li .q { color:#0f172a; font-weight:700; }
.mf-qlist li .sub { color:#64748b; font-size:10.5px; }

/* ═══ P9: 환경 해석 종합 ═══ */
.env-portrait {
  background:#0f172a; border-radius:12px; padding:18px 22px; color:#fff; margin-bottom:14px;
}
.env-portrait-label { font-size:9px; font-weight:800; color:#6a9cf5; letter-spacing:0.12em; text-transform:uppercase; margin-bottom:8px; }
.env-portrait-text { font-size:12px; color:#cbd5e1; line-height:2.0; }
.env-portrait-text em { font-style:normal; color:#6a9cf5; font-weight:700; }

.env-snap { margin-bottom:14px; }
.env-snap-title { font-size:9px; font-weight:800; color:#94a3b8; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:8px; }
.env-snap-row { display:grid; grid-template-columns:70px 40px 1fr 56px; gap:6px; align-items:center; padding:5px 0; border-bottom:1px solid #f5f5f5; }
.env-snap-row:last-child { border-bottom:none; }
.env-snap-axis { font-size:11px; font-weight:700; color:#0f172a; }
.env-snap-score { font-size:14px; font-weight:900; color:#0f172a; text-align:center; }
.env-snap-bar { height:8px; background:#e2e8f0; border-radius:99px; overflow:hidden; }
.env-snap-fill { height:100%; border-radius:99px; }
.env-fill-structure { background:#7c7fbd; }
.env-fill-autonomy { background:#9484b8; }
.env-fill-collaboration { background:#5b9eb5; }
.env-fill-pace { background:#c4a24a; }
.env-fill-decision { background:#5ba88a; }
.env-fill-growth { background:#c46b7c; }
.env-snap-level { font-size:9px; font-weight:700; color:#64748b; text-align:right; }

.env-insight-stack { display:flex; flex-direction:column; gap:10px; margin-bottom:14px; }
.env-insight-card { border:1px solid #e2e8f0; border-radius:10px; padding:14px 16px; display:grid; grid-template-columns:140px 1fr; gap:14px; }
.env-insight-label { font-size:9px; font-weight:800; color:#94a3b8; letter-spacing:0.04em; margin-bottom:4px; }
.env-insight-title { font-size:13px; font-weight:900; color:#0f172a; }
.env-strong-tag { color:#4f82f0; }
.env-caution-tag { color:#f59e0b; }
.env-insight-text { font-size:10.5px; color:#475569; line-height:1.7; }

.env-ai-note {
  background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; padding:12px 16px;
}
.env-ai-note-title { font-size:10px; font-weight:800; color:#0f172a; margin-bottom:4px; }
.env-ai-note-text { font-size:10px; color:#475569; line-height:1.7; }
.env-ai-note-text strong { color:#0f172a; }

/* ═══════════════════════════════════════════════════
   Token + Event 통합 페이지
   ═══════════════════════════════════════════════════ */
.section-badge {
  display:inline-block; background:#1e293b; color:#fff;
  padding:4px 12px; border-radius:6px;
  font-size:11px; font-weight:700; margin-bottom:12px; align-self:flex-start;
}
.tk-chart-area { margin-bottom:14px; }
.tk-chart-label { font-size:10px; font-weight:800; color:#94a3b8; letter-spacing:0.08em; margin-bottom:8px; }
.tk-chart-row { display:flex; align-items:flex-end; gap:2px; height:110px; padding-bottom:18px; position:relative; border-bottom:1px solid #e2e8f0; }
.tk-bar-wrap { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; position:relative; min-width:0; }
.tk-bar-val { font-size:6.5px; font-weight:700; color:#64748b; margin-bottom:2px; }
.tk-bar { width:100%; max-width:28px; background:#c7d2fe; border-radius:3px 3px 0 0; }
.tk-bar.event { background:#1e293b; }
.tk-bar-lab { position:absolute; bottom:-16px; font-size:6.5px; font-weight:700; color:#94a3b8; }
.tk-bar-lab.event-lab { color:#1e293b; font-weight:800; }
.tk-summary { display:flex; gap:10px; margin-bottom:14px; }
.tk-sum-item { flex:1; background:#f8fafc; border:1px solid #e2e8f0; border-radius:8px; padding:10px 14px; text-align:center; }
.tk-sum-label { font-size:9px; font-weight:700; color:#94a3b8; letter-spacing:0.04em; margin-bottom:4px; }
.tk-sum-value { font-size:18px; font-weight:900; color:#0f172a; }
.tk-sum-value.blue { color:#4f82f0; }
.tk-sum-sub { font-size:9px; color:#64748b; margin-top:2px; }
.tk-analysis { background:#f8fafc; border:1px solid #e2e8f0; border-radius:8px; padding:12px 16px; margin-bottom:18px; font-size:11px; color:#334155; line-height:1.8; }
.tk-analysis strong { color:#0f172a; }
.section-divider { border-top:2px solid #0f172a; margin-bottom:12px; }
.ev-section-badge { display:inline-block; background:#1e293b; color:#fff; padding:4px 12px; border-radius:6px; font-size:11px; font-weight:700; margin-bottom:10px; align-self:flex-start; }
.ev-list { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-bottom:14px; }
.ev-card { border:1px solid #e2e8f0; border-radius:8px; padding:8px 12px; display:flex; align-items:flex-start; gap:8px; }
.ev-round-badge { background:#1e293b; color:#fff; font-size:8px; font-weight:800; padding:2px 6px; border-radius:4px; white-space:nowrap; flex-shrink:0; margin-top:2px; }
.ev-content { flex:1; min-width:0; }
.ev-title { font-size:10.5px; font-weight:700; color:#0f172a; margin-bottom:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ev-choice { font-size:9.5px; color:#475569; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ev-tag { font-size:8px; font-weight:700; padding:1px 5px; border-radius:3px; margin-left:4px; }
.ev-tag-align { background:#e8f0fe; color:#1e3a5f; }
.ev-tag-stabilize { background:#eef2ff; color:#3b2e7a; }
.ev-tag-speed { background:#fef3c7; color:#92400e; }
.ev-tag-learn { background:#e6f7f0; color:#14532d; }
.ev-pattern { border:1px solid #e2e8f0; border-radius:8px; padding:14px 18px; }
.ev-pattern-head { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.ev-pattern-title { font-size:12px; font-weight:800; color:#0f172a; }
.ev-pattern-dominant { font-size:10px; font-weight:700; background:#eef2ff; color:#4f82f0; padding:2px 8px; border-radius:4px; }
.ev-dist-row { display:flex; align-items:center; gap:8px; margin-bottom:5px; }
.ev-dist-label { width:55px; font-size:10px; font-weight:700; color:#475569; text-align:right; }
.ev-dist-track { flex:1; height:14px; background:#f1f5f9; border-radius:3px; overflow:hidden; }
.ev-dist-fill { height:100%; border-radius:3px; }
.ev-dist-fill.align { background:#4f82f0; }
.ev-dist-fill.stabilize { background:#7c7fbd; }
.ev-dist-fill.speed { background:#f59e0b; }
.ev-dist-fill.learn { background:#22c55e; }
.ev-dist-count { width:16px; font-size:10px; font-weight:800; color:#0f172a; }
.ev-pattern-desc { font-size:11px; color:#334155; line-height:1.8; margin-top:10px; padding-top:10px; border-top:1px solid #e5e7eb; }

/* ═══════════════════════════════════════════════════
   Action Plan v3 — 디자인 원본
   ═══════════════════════════════════════════════════ */
.ap-guide {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
}
.ap-guide-text { font-size: 10.5px; color: #334155; line-height: 1.85; }
.ap-guide-text strong { color: #0f172a; }

.ap-tier-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.ap-tier-title { font-size: 14px; font-weight: 900; color: #0f172a; }
.ap-tier-count {
  font-size: 10px; font-weight: 700; color: #2c5ea0;
  background: #eef2ff; border-radius: 4px; padding: 2px 7px;
}
.ap-tier-criteria { font-size: 9.5px; color: #64748b; line-height: 1.6; margin-bottom: 10px; }
.ap-tier-criteria strong { color: #334155; }

.ap-card-list { display: flex; flex-direction: column; gap: 10px; }
.ap-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 16px;
  display: flex; flex-direction: column;
}
.ap-card-tags { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.ap-tag-cat {
  font-size: 9px; font-weight: 800;
  padding: 2.5px 8px; border-radius: 4px;
  letter-spacing: 0.03em;
}
.ap-tag-cat.negotiate { background: #e8f0fe; color: #1e3a5f; }
.ap-tag-cat.redesign  { background: #ede9fe; color: #3b2e7a; }
.ap-tag-cat.learning  { background: #e6f7f0; color: #14532d; }
.ap-tag-signal {
  font-size: 9px; font-weight: 700;
  color: #475569;
  background: #f1f5f9; border: 1px solid #e2e8f0;
  border-radius: 4px; padding: 2px 7px;
  margin-left: auto;
}
.ap-tag-signal::before { content: '\2192\0020'; color: #94a3b8; }

.ap-card-title { font-size: 12.5px; font-weight: 800; color: #0f172a; line-height: 1.5; margin-bottom: 5px; }
.ap-card-desc { font-size: 10px; color: #475569; line-height: 1.8; margin-bottom: 10px; }

.ap-steps { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
.ap-step { display: flex; align-items: flex-start; gap: 7px; font-size: 10px; color: #334155; line-height: 1.6; }
.ap-step-num {
  width: 16px; height: 16px; flex-shrink: 0;
  background: #1e293b; color: #fff; border-radius: 3px;
  font-size: 8px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}

.ap-bottom { display: flex; gap: 10px; }
.ap-effect {
  flex: 1;
  background: #eef2ff; border: 1px solid #c7d2fe;
  border-radius: 6px; padding: 8px 12px;
}
.ap-effect-label { font-size: 8px; font-weight: 800; color: #3b5998; letter-spacing: 0.06em; margin-bottom: 3px; }
.ap-effect-text { font-size: 10px; color: #1e293b; line-height: 1.55; }
.ap-shrink {
  flex: 1;
  border: 1px dashed #cbd5e1;
  border-radius: 6px; padding: 8px 12px;
}
.ap-shrink-label { font-size: 8px; font-weight: 800; color: #94a3b8; letter-spacing: 0.06em; margin-bottom: 3px; }
.ap-shrink-text { font-size: 10px; color: #64748b; line-height: 1.55; }

.ap-footer {
  margin-top: auto; padding-top: 8px;
  border-top: 1px solid #e5e7eb;
  font-size: 9.5px; color: #64748b; line-height: 1.7;
}
.ap-footer strong { color: #0f172a; }

/* ═══════════════════════════════════════════════════
   Reflection v2 — 성찰 질문 (rf-* 디자인 원본)
   ═══════════════════════════════════════════════════ */
.rf-intro { font-size: 11px; color: #475569; line-height: 1.8; margin-bottom: 14px; }
.rf-intro strong { color: #0f172a; }
.rf-list { display: flex; flex-direction: column; gap: 0; flex: 1; }
.rf-card { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid #e2e8f0; }
.rf-card:last-child { border-bottom: none; }
.rf-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.rf-q-num { font-size: 11px; font-weight: 900; color: #4f82f0; }
.rf-axis-tag {
  font-size: 9px; font-weight: 700; color: #475569;
  background: #f1f5f9; border: 1px solid #e2e8f0;
  border-radius: 4px; padding: 2px 8px;
}
.rf-question { font-size: 12px; font-weight: 700; color: #0f172a; line-height: 1.6; margin-bottom: 6px; }
.rf-lines { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.rf-line { height: 1px; background: #e5e7eb; }

/* ═══════════════════════════════════════════════════
   Next Step v2 — 실행 가이드 (ng-* 디자인 원본)
   ═══════════════════════════════════════════════════ */
.ng-summary {
  background: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: 8px; padding: 14px 16px; margin-bottom: 16px;
}
.ng-summary-title { font-size: 11px; font-weight: 800; color: #1e3a5f; margin-bottom: 8px; }
.ng-summary-grid { display: flex; flex-direction: column; gap: 5px; }
.ng-summary-row { display: flex; align-items: center; gap: 10px; font-size: 10px; line-height: 1.55; }
.ng-summary-label { width: 95px; flex-shrink: 0; font-weight: 700; color: #64748b; }
.ng-summary-value { flex: 1; color: #1e293b; font-weight: 600; }
.ng-summary-value strong { color: #4f82f0; font-weight: 800; }
.ng-summary-page { font-size: 9px; color: #94a3b8; font-weight: 700; white-space: nowrap; }

.ng-usage { margin-bottom: 16px; }
.ng-usage-title { font-size: 11px; font-weight: 800; color: #0f172a; margin-bottom: 8px; padding-bottom: 5px; border-bottom: 1px solid #e5e7eb; }
.ng-usage-list { display: flex; flex-direction: column; gap: 8px; }
.ng-usage-item { display: flex; gap: 10px; }
.ng-usage-num {
  width: 20px; height: 20px; background: #4f82f0; color: #fff;
  border-radius: 4px; font-size: 9px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.ng-usage-content { flex: 1; }
.ng-usage-head { font-size: 11px; font-weight: 700; color: #1e3a5f; margin-bottom: 2px; }
.ng-usage-desc { font-size: 10px; color: #475569; line-height: 1.7; }

.ng-timeline { margin-bottom: 16px; }
.ng-timeline-title { font-size: 11px; font-weight: 800; color: #0f172a; margin-bottom: 8px; padding-bottom: 5px; border-bottom: 1px solid #e5e7eb; }
.ng-phases { display: flex; gap: 8px; }
.ng-phase { flex: 1; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 12px; position: relative; }
.ng-phase::after { content: '\2192'; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 800; color: #cbd5e1; }
.ng-phase:last-child::after { content: none; }
.ng-phase-period { font-size: 9px; font-weight: 700; color: #4f82f0; background: #eef2ff; border-radius: 3px; padding: 1px 6px; display: inline-block; margin-bottom: 4px; }
.ng-phase-name { font-size: 11px; font-weight: 800; color: #0f172a; margin-bottom: 5px; }
.ng-phase-tasks { display: flex; flex-direction: column; gap: 3px; }
.ng-phase-task { font-size: 9.5px; color: #475569; line-height: 1.55; padding-left: 8px; position: relative; }
.ng-phase-task::before { content: '\00B7'; position: absolute; left: 0; font-weight: 800; color: #94a3b8; }

.ng-tracking { margin-bottom: 16px; }
.ng-tracking-title { font-size: 11px; font-weight: 800; color: #0f172a; margin-bottom: 8px; padding-bottom: 5px; border-bottom: 1px solid #e5e7eb; }
.ng-track-grid { display: flex; gap: 8px; }
.ng-track-card { flex: 1; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 12px; }
.ng-track-label { font-size: 9px; font-weight: 800; color: #4f82f0; letter-spacing: 0.06em; margin-bottom: 5px; }
.ng-track-metric { font-size: 10.5px; font-weight: 700; color: #1e3a5f; margin-bottom: 3px; }
.ng-track-how { font-size: 9.5px; color: #475569; line-height: 1.6; }
.ng-track-how strong { color: #1e3a5f; }

.ng-retest {
  background: #eef2ff; border: 1px solid #c7d2fe;
  border-radius: 8px; padding: 12px 16px; margin-top: auto;
}
.ng-retest-head { font-size: 11px; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.ng-retest-text { font-size: 10px; color: #334155; line-height: 1.75; }
.ng-retest-text strong { color: #0f172a; }