/* ==========================================================================
   RE:PERSONAL -- Result Report Page (18-section)
   Editorial column aesthetic, shadcn/zinc inspired.
   Typography-driven, ruled separators, generous spacing.
   ========================================================================== */

/* -- Reading Progress Bar ------------------------------------------------- */

.reading-progress {
  position: fixed;
  top: var(--nav-h, 64px);
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light, #F4F4F5);
  padding: 0;
}

.reading-progress-track {
  width: 100%;
  height: 3px;
  background: var(--border-light, #F4F4F5);
}

.reading-progress-fill {
  height: 100%;
  width: 0%;
  background: #18181B;
  transition: width 0.15s ease-out;
}

.reading-meta {
  max-width: 720px;
  margin: 0 auto;
  padding: 0.5rem var(--pad, 1.25rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reading-percent {
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text, #09090B);
  letter-spacing: 0.02em;
}

.reading-time {
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  font-size: 0.7rem;
  color: var(--text-muted, #A1A1AA);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

@media print {
  .reading-progress { display: none !important; }
}

/* -- Report Container ---------------------------------------------------- */

.report {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad);
  padding-bottom: calc(80px + var(--space-3xl));
}

/* -- No Result ----------------------------------------------------------- */

#no-result {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) var(--pad);
}

.no-result-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.no-result-content {
  text-align: center;
  max-width: 400px;
}

.no-result-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.no-result-content h2 {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.no-result-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-xl);
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: var(--text-inverse);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--ease);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

/* -- Report Header ------------------------------------------------------- */

.report-header {
  padding-top: calc(var(--nav-h) + var(--space-4xl));
  padding-bottom: var(--space-3xl);
  text-align: left;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.report-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  background: var(--bg-warm);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.report-type-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
}

.report-type-name {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}

.report-type-tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* -- Report Sections ----------------------------------------------------- */

.report-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.report-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.report-section:first-of-type {
  border-top: none;
}

/* Section Number */

.section-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #A1A1AA;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border-light);
  display: inline-block;
}

/* Section Title */

.section-title {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: var(--space-lg);
}

/* Section Body Text */

.section-body {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  color: #52525B;
  margin-bottom: var(--space-lg);
}

.section-body strong {
  font-weight: 700;
}

.section-body-sub {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

/* -- 01: Summary Card ---------------------------------------------------- */

.summary-card {
  background: #FAFAFA;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.summary-card-main {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}

.summary-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.summary-type-name {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2xs);
  line-height: 1.2;
}

.summary-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.summary-card-sub {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}

.summary-sub-name {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.summary-card-values {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}

.summary-value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.summary-chip {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  white-space: nowrap;
}

.summary-card-axis {
  /* last item, no border */
}

.summary-axis-value {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
}

/* Radar container (legacy) */

.radar-container {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 320px;
}

.radar-svg {
  width: 100%;
  height: auto;
}

/* Orbit visualization */

.orbit-container {
  width: 100%;
  max-width: 500px;
  margin: 2rem auto;
}

.orbit-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* -- 02: Strength List --------------------------------------------------- */

.strength-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.strength-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.strength-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5em;
}

/* -- 03: Type Card ------------------------------------------------------- */

.type-card {
  display: flex;
  background: #FAFAFA;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.type-card-bar {
  width: 4px;
  flex-shrink: 0;
}

.type-card-body {
  padding: var(--space-xl);
  flex: 1;
}

.type-card-body h3 {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2xs);
}

.type-card-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.type-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* -- 04: Secondary Card -------------------------------------------------- */

.secondary-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: #FAFAFA;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.secondary-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.35em;
}

.secondary-card h3 {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2xs);
}

.secondary-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* -- 05: Expression Grid ------------------------------------------------- */

.expr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.expr-card {
  background: #FAFAFA;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.expr-card--primary {
  border-color: var(--border);
}

.expr-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.expr-card h4 {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.4;
}

/* -- 06: Value Chips ----------------------------------------------------- */

.value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.value-chip {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  white-space: nowrap;
}

/* -- 07: Core Block ------------------------------------------------------ */

.core-block {
  border-left: 4px solid var(--accent);
  background: #FAFAFA;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-xl);
}

.core-block-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.core-block-value {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.core-block-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* -- 08: Diff Chips ------------------------------------------------------ */

.diff-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.diff-chip {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text);
  white-space: nowrap;
}

/* -- 09: Channel Info ---------------------------------------------------- */

.channel-info {
  display: flex;
  flex-direction: column;
}

.channel-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
}

.channel-row:last-child {
  border-bottom: none;
}

.channel-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  min-width: 80px;
  flex-shrink: 0;
  padding-top: 0.15em;
}

.channel-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
}

/* -- 10: Target Info ----------------------------------------------------- */

.target-info {
  display: flex;
  flex-direction: column;
}

.target-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
}

.target-row:last-child {
  border-bottom: none;
}

.target-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  min-width: 80px;
  flex-shrink: 0;
  padding-top: 0.15em;
}

.target-value {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.65;
}

/* -- 11: Value List ------------------------------------------------------ */

.value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border-bottom: 1px solid var(--border-light);
}

.value-list li:last-child {
  border-bottom: none;
}

.value-bar {
  width: 3px;
  height: 18px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* -- 12: Reflection List ------------------------------------------------- */

.reflection-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.reflection-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.reflection-list li:last-child {
  border-bottom: none;
}

.reflection-num {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.5;
  flex-shrink: 0;
  min-width: 24px;
  padding-top: 0.2em;
}

/* -- 13: Criteria List --------------------------------------------------- */

.criteria-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.criteria-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.criteria-check {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 0.3em;
}

/* -- 14: Pitfall List ---------------------------------------------------- */

.pitfall-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  border-left: 3px solid var(--border);
  padding-left: var(--space-lg);
}

.pitfall-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.pitfall-dash {
  color: var(--text-muted);
  font-weight: 600;
  flex-shrink: 0;
}

/* -- 15: Pillar Grid ----------------------------------------------------- */

.pillar-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
}

.pillar-card:last-child {
  border-bottom: none;
}

.pillar-num {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.4;
  flex-shrink: 0;
  min-width: 28px;
  padding-top: 0.15em;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* -- 16: Format Grid ----------------------------------------------------- */

.format-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.format-card {
  flex: 1;
  min-width: 160px;
  padding: var(--space-lg);
  background: #FAFAFA;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--border-light);
}

.format-card--primary {
  border-top-width: 3px;
  border-top-style: solid;
}

.format-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.format-card h4 {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;
}

/* -- 17: Action List + Topic Chips --------------------------------------- */

.action-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.action-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.action-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.action-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
  padding-top: 0.15rem;
}

.sub-heading {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.topic-chip {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  background: #FAFAFA;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  line-height: 1.4;
}

/* -- 18: Course List ----------------------------------------------------- */

.course-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.course-card {
  padding: var(--space-lg);
  background: #FAFAFA;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: border-color var(--ease);
}

.course-card:hover {
  border-color: var(--border);
}

.course-card--priority {
  border-left: 3px solid var(--accent);
}

.course-card-head {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
  flex-wrap: wrap;
}

.course-card-head h4 {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;
}

.course-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  color: white;
  white-space: nowrap;
}

.course-badge--free {
  background: #3D8B6B;
}

.course-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-xs);
}

.course-category {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* -- Bottom CTA ---------------------------------------------------------- */

.report-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid var(--border);
  margin-top: var(--space-xl);
}

.cta-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  background: #FAFAFA;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: all var(--ease);
  cursor: pointer;
}

.cta-card:hover {
  border-color: var(--accent);
  color: inherit;
}

.cta-card--accent {
  background: var(--accent);
  border-color: var(--accent);
}

.cta-card--accent .cta-card-title {
  color: white;
}

.cta-card--accent .cta-card-desc {
  color: rgba(255, 255, 255, 0.6);
}

.cta-card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: var(--space-2xs);
}

.cta-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* -- Fixed Bottom Bar ---------------------------------------------------- */

.report-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid var(--border-light);
  padding: var(--space-sm) var(--pad);
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.report-bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.55rem 1.3rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
}

.report-bar-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}


/* ==========================================================================
   Responsive
   ========================================================================== */

/* -- Mobile -------------------------------------------------------------- */

@media (max-width: 639px) {
  .report-header {
    padding-top: calc(var(--nav-h) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  .report-type-name {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  .report-section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.15rem;
  }

  .summary-card {
    padding: var(--space-lg);
  }

  .type-card-body {
    padding: var(--space-lg);
  }

  .core-block {
    padding: var(--space-lg);
  }

  .target-row,
  .channel-row {
    flex-direction: column;
    gap: var(--space-2xs);
  }

  .target-label,
  .channel-label {
    min-width: auto;
  }

  .format-grid {
    flex-direction: column;
  }

  .format-card {
    min-width: auto;
  }

  .report-cta {
    grid-template-columns: 1fr;
  }

  .orbit-container {
    max-width: 320px;
  }
}

/* -- Tablet -------------------------------------------------------------- */

@media (min-width: 640px) {
  .expr-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .report-cta {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .report-header {
    padding-top: calc(var(--nav-h) + var(--space-3xl));
  }
}

/* -- Desktop ------------------------------------------------------------- */

@media (min-width: 768px) {
  .report-header {
    padding-top: calc(var(--nav-h) + var(--space-5xl));
    padding-bottom: var(--space-3xl);
  }

  .report-section {
    padding: 3rem 0;
  }

  .report-bar {
    gap: var(--space-md);
    padding: var(--space-md) var(--pad);
  }

  .report-bar-btn {
    padding: 0.65rem 1.6rem;
    font-size: 0.82rem;
  }
}


/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
  .report-bar,
  .nav,
  .footer,
  .report-cta {
    display: none !important;
  }

  .report {
    max-width: 100%;
    padding: 0;
    padding-bottom: 0;
  }

  .report-header {
    padding-top: 0;
    page-break-after: avoid;
  }

  .report-section {
    padding: 1.5rem 0;
    page-break-inside: avoid;
    opacity: 1 !important;
    transform: none !important;
  }

  .section-num {
    color: #bbb;
  }

  .radar-container {
    max-width: 260px;
    page-break-inside: avoid;
  }

  .orbit-container {
    max-width: 380px;
    page-break-inside: avoid;
  }

  .type-card,
  .core-block,
  .secondary-card,
  .expr-card,
  .format-card,
  .summary-card,
  .course-card {
    box-shadow: none;
    break-inside: avoid;
  }

  body {
    background: #fff;
  }

  .summary-chip,
  .value-chip,
  .topic-chip,
  .diff-chip {
    border-color: #ccc;
    color: #333;
  }

  #no-result {
    display: none !important;
  }

  .report-type-dot {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .strength-dot,
  .type-card-bar,
  .secondary-dot,
  .value-bar,
  .action-num,
  .criteria-check {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .core-block {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    background: #f8f8f8;
  }

  .summary-card,
  .course-card,
  .format-card,
  .expr-card,
  .step-card {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    background: #fafafa;
  }
}

/* ── Step Progress Component (Section 18) ──────────────────────────── */

.steps-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
}

.steps-remaining {
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted, #A1A1AA);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border, #E4E4E7);
  border-radius: 12px;
  margin-bottom: -1px;
  background: var(--surface, #fff);
  cursor: pointer;
  transition: all 0.2s ease;
}

.step-card:first-child { border-radius: 12px 12px 0 0; }
.step-card:last-child { border-radius: 0 0 12px 12px; margin-bottom: 0; }
.step-card:only-child { border-radius: 12px; }

.step-card:hover {
  background: #FAFAFA;
}

.step-card--active {
  background: #FAFAFA;
  border-color: var(--border, #E4E4E7);
}

.step-indicator {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-ring { display: block; }

.step-num {
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted, #A1A1AA);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.step-title {
  font-family: var(--font-body, 'Pretendard', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text, #09090B);
  line-height: 1.4;
}

.step-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  font-size: 0.72rem;
  color: var(--text-muted, #A1A1AA);
  white-space: nowrap;
  flex-shrink: 0;
}

.step-time svg {
  flex-shrink: 0;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--text-secondary, #52525B);
  line-height: 1.6;
  font-weight: 400;
}

.step-arrow {
  flex-shrink: 0;
  color: var(--text-muted, #A1A1AA);
  display: flex;
  align-items: center;
  align-self: center;
  transition: color 0.2s;
}

.step-card:hover .step-arrow { color: var(--text, #09090B); }

@media (max-width: 639px) {
  .step-card { padding: 1rem; gap: 0.75rem; }
  .step-top { flex-direction: column; gap: 0.25rem; align-items: flex-start; }
}
