.results-hero {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border-color);
}

.overall-card {
  padding: var(--space-xl);
  text-align: center;
}

.score-ring {
  width: 120px;
  height: 120px;
  position: relative;
  margin: 0 auto;
}

.score-ring--lg {
  width: 160px;
  height: 160px;
}

.score-ring svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.score-ring__track {
  fill: none;
  stroke: var(--border-color);
  stroke-width: 8;
}

.score-ring__fill {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.score-ring__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-ring__number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.score-ring--lg .score-ring__number {
  font-size: 36px;
}

.score-ring__text {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.module-card {
  padding: var(--space-lg);
  text-align: center;
  height: 100%;
}

.module-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: var(--space-md);
  margin-bottom: 4px;
}

.module-card__grade {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.feedback-card {
  border-left: 4px solid var(--brand-primary);
  padding: var(--space-lg);
}

.feedback-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.feedback-card__header i {
  font-size: 1.5rem;
  color: var(--brand-primary);
}

.feedback-card__header h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.strength-improve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

@media (max-width: 768px) {
  .strength-improve-grid {
    grid-template-columns: 1fr;
  }
}

.si-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.si-list li {
  display: flex;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-color);
}

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

.si-list--strength i { color: var(--color-pass); }
.si-list--improve i { color: var(--color-warning); }

.tab-progress {
  height: 6px;
  background: var(--border-color);
  border-radius: 100px;
  margin-bottom: var(--space-md);
  overflow: hidden;
}

.tab-progress__bar {
  height: 100%;
  border-radius: 100px;
  transition: width 0.6s ease;
}

.rewrite-card {
  background: var(--bg-page);
  border-radius: var(--border-radius-sm);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.rewrite-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.rewrite-card__original {
  color: var(--color-fail);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.rewrite-card__suggested {
  color: var(--color-pass);
  font-size: 0.9rem;
  font-weight: 500;
}

.roadmap-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-color);
}

.roadmap-item__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.roadmap-item__impact {
  font-size: 0.75rem;
  color: var(--brand-accent);
  font-weight: 600;
}

.section-table {
  width: 100%;
  font-size: 0.9rem;
}

.section-table td, .section-table th {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border-color);
}

.empty-state {
  text-align: center;
  padding: var(--space-2xl);
}

/* PDF export (off-screen render target) */
#pdf-export {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 794px;
  background: #fff;
  z-index: -1;
}

.pdf-report {
  font-family: Inter, sans-serif;
  color: #0f172a;
  padding: 32px;
  font-size: 13px;
  line-height: 1.5;
}

.pdf-header {
  border-bottom: 3px solid #5b47e0;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.pdf-brand {
  font-size: 22px;
  font-weight: 700;
  color: #5b47e0;
}

.pdf-meta {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.pdf-overall {
  text-align: center;
  margin-bottom: 28px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
}

.pdf-score {
  font-size: 48px;
  font-weight: 700;
  color: #5b47e0;
  line-height: 1;
}

.pdf-score span {
  font-size: 20px;
  color: #94a3b8;
}

.pdf-grade {
  font-weight: 600;
  margin: 8px 0;
}

.pdf-summary {
  color: #475569;
  max-width: 520px;
  margin: 0 auto;
}

.pdf-report h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: #5b47e0;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
}

.pdf-report h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 8px;
}

.pdf-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.pdf-table th,
.pdf-table td {
  border: 1px solid #e2e8f0;
  padding: 8px 10px;
  text-align: left;
}

.pdf-table th {
  background: #f8fafc;
}

.pdf-check {
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
}

.pdf-rewrite {
  background: #f8fafc;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 12px;
}

.pdf-roadmap-item {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.pdf-impact {
  color: #00c9a7;
  font-weight: 600;
}

.pdf-footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
}

.pdf-report ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.pdf-report li {
  margin-bottom: 4px;
}

.pdf-toolkit {
  font-family: Inter, sans-serif;
  color: #0f172a;
  padding: 32px;
  font-size: 13px;
  line-height: 1.6;
  border-top: 3px solid #5b47e0;
  margin-top: 24px;
}

.pdf-toolkit h2 {
  font-size: 16px;
  font-weight: 700;
  color: #5b47e0;
  margin-bottom: 12px;
}

.pdf-toolkit h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 8px;
}

.pdf-letter {
  white-space: pre-wrap;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}
