:root {
  --bg: #06112b;
  --bg2: #0d1f48;
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.26);
  --text: #eaf2ff;
  --muted: #a3b7dc;
  --accent: #2dd4bf;
  --accent-2: #22d3ee;
  --sheet: #f8fbff;
  --ink: #111827;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  min-height: 100vh;
  background: radial-gradient(1200px 700px at 10% 0%, #1d4ed8 0%, transparent 50%),
    radial-gradient(900px 500px at 100% 20%, #0f766e 0%, transparent 45%),
    linear-gradient(140deg, var(--bg), var(--bg2));
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.3;
  pointer-events: none;
}

.ambient-a {
  width: 280px;
  height: 280px;
  background: #06b6d4;
  top: -80px;
  right: -30px;
}

.ambient-b {
  width: 260px;
  height: 260px;
  background: #34d399;
  bottom: -70px;
  left: -50px;
}

.shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 30px 16px 50px;
}

.glass {
  backdrop-filter: blur(12px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow: 0 16px 50px rgba(1, 4, 15, 0.35);
}

.hidden { display: none; }

.card-landing { padding: 28px; }

.hero-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(45, 212, 191, 0.2);
  color: #99f6e4;
}

.badge-muted {
  background: rgba(255, 255, 255, 0.1);
  color: #dbeafe;
}

.lang-wrap {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

#lang-select {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 6px 8px;
}

h1 {
  margin: 14px 0 8px;
  font-size: clamp(1.7rem, 4vw, 3rem);
  max-width: 18ch;
}

p { color: var(--muted); line-height: 1.6; }

.hero-grid, .blog-grid {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.hero-grid article, .blog-grid article {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.start-form {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.blog-section {
  margin-top: 14px;
  padding: 20px;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.blog-link {
  text-decoration: none;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.28), rgba(34, 211, 238, 0.28));
  color: #dffdf8;
  box-shadow: 0 10px 24px rgba(2, 8, 24, 0.2);
}

.blog-link:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, 0.55);
}

.blog-post {
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 14px;
}

.route-grid article {
  padding: 0;
  overflow: hidden;
}

.route-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px;
  min-height: 72px;
  text-decoration: none;
  color: #eaf2ff;
  background: linear-gradient(140deg, rgba(15, 23, 42, 0.48), rgba(14, 116, 144, 0.38));
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 16px;
  transition: transform 0.16s ease, border-color 0.2s ease, background 0.2s ease;
}

.route-link:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, 0.55);
  background: linear-gradient(140deg, rgba(14, 116, 144, 0.42), rgba(20, 184, 166, 0.36));
}

.route-link span {
  font-weight: 700;
}

.route-link strong {
  font-size: 0.78rem;
  color: #99f6e4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-footer {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer a {
  color: #cde3ff;
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer a:hover {
  text-decoration: underline;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

input[type='text'] {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 12px;
  font-size: 1rem;
}

input[type='text']::placeholder { color: #8aa2cc; }

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
}

button {
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  color: #032a2d;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  padding: 12px 16px;
  cursor: pointer;
  transition: transform 0.16s ease, opacity 0.2s ease;
}

button:hover { transform: translateY(-1px); }
button:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-alt {
  background: rgba(255, 255, 255, 0.15);
  color: #eff6ff;
}

#test { padding: 24px; margin-top: 14px; }

.test-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.meta {
  display: block;
  font-size: 0.82rem;
  color: #b8caea;
  margin-bottom: 4px;
}

.question-block { margin-top: 20px; }

.category-pill {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.2);
  color: #a5f3fc;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  font-weight: 700;
}

.question-stem {
  margin: 12px 0 8px;
  font-size: clamp(1.08rem, 2.1vw, 1.35rem);
}

.puzzle-board {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 280px;
}

.puzzle-cell {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
}

.puzzle-cell.missing {
  color: #cbd5e1;
  font-size: 1.9rem;
  font-weight: 700;
}

.option-svg, .cell-svg { width: 84%; height: 84%; }

.options {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  max-width: 620px;
}

.option-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 104px;
  display: grid;
  place-items: center;
}

.option-btn.text-option {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 12px;
  text-align: left;
}

.option-letter {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  display: inline-grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.option-btn.active {
  background: rgba(45, 212, 191, 0.26);
  border-color: rgba(153, 246, 228, 0.8);
}

.test-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.summary, .actions { padding: 18px; }
.summary { margin: 14px 0; }

.kpis {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.kpi {
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.kpi span { color: #c7d7f1; font-size: 0.82rem; }
.kpi strong { display: block; margin-top: 5px; font-size: 1.35rem; }

.share-panel {
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-link-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background: rgba(2, 6, 23, 0.45);
}

.share-modal-card {
  width: min(420px, calc(100% - 22px));
  border-radius: 14px;
  border: 1px solid #99f6e4;
  background: #ecfeff;
  color: #0f172a;
  padding: 14px;
}

.share-modal-card p {
  margin: 8px 0 10px;
  color: #334155;
}

.share-modal-card button {
  width: 100%;
}

.sticky-premium-btn {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 1200;
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.28);
  display: none;
}

.report-sheet {
  background: var(--sheet);
  color: var(--ink);
  border-radius: 22px;
  border: 1px solid #d5dceb;
  padding: 24px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.report-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 10px;
}

.report-title { font-size: 1.35rem; font-weight: 800; }
.report-sub { font-size: 0.9rem; color: #475569; }
.report-badge { background: #dcfce7; color: #166534; }

.report-grid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(12, 1fr);
}

.block {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.block h4 { margin: 0 0 10px; font-size: 0.95rem; color: #0f172a; }

.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.ring-wrap { display: flex; align-items: center; gap: 10px; }
.ring-svg { width: 130px; height: 130px; }
.ring-bg { fill: none; stroke: #e2e8f0; stroke-width: 12; }
.ring-fg {
  fill: none;
  stroke: url(#ringGradient);
  stroke-width: 12;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 65px 65px;
}
.ring-value { font-size: 1.9rem; font-weight: 800; }

.bars { display: grid; gap: 10px; }
.bar-row { display: grid; gap: 4px; }
.bar-top { display: flex; justify-content: space-between; font-size: 0.86rem; }
.bar-track { height: 10px; width: 100%; border-radius: 999px; background: #e2e8f0; }
.bar-fill { height: 10px; border-radius: 999px; background: linear-gradient(90deg, #14b8a6, #06b6d4); }

.band-wrap {
  margin-top: 6px;
  position: relative;
  height: 56px;
}
.band-track {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg,#e2e8f0,#c7d2fe,#99f6e4);
}
.band-marker {
  position: absolute;
  top: 12px;
  width: 4px;
  height: 24px;
  border-radius: 2px;
  transform: translateX(-2px);
}
.band-marker.average { background: #475569; }
.band-marker.top-tier { background: #ef4444; }
.band-marker.user { background: #0ea5e9; }
.band-label {
  position: absolute;
  top: 38px;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #334155;
}
.band-label.average { left: 50%; }
.band-label.top-tier { left: 98%; }

.chips {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  border: 1px solid #cbd5e1;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #334155;
  background: #f8fafc;
}

.premium-offer {
  border: 1px solid #fde68a;
  background: linear-gradient(120deg, #fff7d6, #fff1f2);
  position: relative;
  overflow: hidden;
}

.premium-offer::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.22), transparent 70%);
  pointer-events: none;
}

.premium-hero {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.premium-kicker {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a3412;
  background: #ffedd5;
  border: 1px solid #fdba74;
}

.premium-price-pill {
  min-width: 80px;
  text-align: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, #fb7185);
  color: #111827;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 8px 18px rgba(244, 63, 94, 0.22);
}

.premium-sub {
  margin: 0 0 10px;
  color: #7c2d12;
  font-weight: 600;
}

.premium-proof-strip {
  margin: 8px 0 10px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.premium-proof-strip article {
  border: 1px solid #fdba74;
  background: #fff7ed;
  border-radius: 10px;
  padding: 8px;
  color: #7c2d12;
  font-size: 0.8rem;
  line-height: 1.4;
}

.premium-list {
  color: #7c2d12;
}

.premium-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.premium-details {
  margin-top: 10px;
  border: 1px dashed #f59e0b;
  border-radius: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.85);
}

.premium-detail-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 10px;
}

.premium-detail-grid article {
  border: 1px solid #fed7aa;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  color: #7c2d12;
  font-size: 0.8rem;
  line-height: 1.4;
}

.premium-detail-grid strong {
  display: block;
  margin-bottom: 4px;
}

.premium-btn {
  border: 0;
  border-radius: 10px;
  padding: 11px 15px;
  font-weight: 800;
  color: #111827;
  background: linear-gradient(90deg, #facc15, #fb7185);
}

.premium-email-input {
  min-width: 220px;
  border: 1px solid #fdba74;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #111827;
}

.plan-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-page {
  font-size: 0.72rem;
  font-weight: 800;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.premium-document {
  display: grid;
  gap: 14px;
}

.plan-page-preview {
  border: 1px solid #e8d9b5;
  background: linear-gradient(180deg, #ffffff, #fefcf8);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08), inset 0 0 0 1px #fffaf0;
}

.teaser-card {
  border-color: #f59e0b;
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.16), inset 0 0 0 1px #fff7ed;
}

.teaser-chip-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.teaser-chip {
  border: 1px solid #fdba74;
  background: #fff7ed;
  color: #9a3412;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

.teaser-meter {
  margin-top: 10px;
  height: 8px;
  border-radius: 999px;
  background: #fde68a;
  overflow: hidden;
}

.teaser-meter span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f97316, #ec4899);
}

.pp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e8d9b5;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.pp-watermark {
  font-size: 0.75rem;
  color: #7c6a44;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pp-hero {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.pp-badge {
  display: inline-block;
  border: 1px solid #f59e0b;
  color: #9a3412;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 7px;
}

.pp-score {
  min-width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #7c2d12;
  background: radial-gradient(circle at 30% 30%, #fef08a, #fcd34d);
  border: 2px solid #f59e0b;
}

.pp-chips {
  margin: 8px 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pp-chip {
  border: 1px solid #fdba74;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  padding: 4px 9px;
  font-size: 0.75rem;
  font-weight: 700;
}

.plan-page-preview h5 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #5b4630;
}

.plan-page-preview h6 {
  margin: 10px 0 5px;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #9a3412;
}

.plan-subtitle {
  margin: 0;
  font-size: 0.88rem;
  color: #7c2d12;
  line-height: 1.5;
}

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

.pp-kpis article {
  border: 1px solid #fcd34d;
  border-radius: 9px;
  padding: 6px 8px;
  background: #fff;
}

.pp-kpis span {
  display: block;
  font-size: 0.72rem;
  color: #9a3412;
}

.pp-kpis strong {
  font-size: 0.94rem;
  color: #7c2d12;
}

.pp-section {
  margin-top: 9px;
}

.pp-section h6 {
  margin: 0 0 4px;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9a3412;
}

.pp-section p {
  margin: 0 0 7px;
  color: #7c2d12;
  font-size: 0.9rem;
  line-height: 1.55;
}

.pp-section ul {
  margin: 0;
  padding-left: 18px;
  color: #7c2d12;
  line-height: 1.45;
  font-size: 0.86rem;
}

.pp-signoff {
  margin-top: 10px;
  border: 1px solid #fcd34d;
  background: #fff;
  border-radius: 9px;
  padding: 8px;
  display: grid;
  gap: 3px;
  color: #7c2d12;
}

.pp-list {
  margin: 0 0 8px;
  padding-left: 18px;
  color: #7c2d12;
  font-size: 0.87rem;
  line-height: 1.48;
}

.pp-list li {
  margin-bottom: 4px;
}

.pp-personal {
  margin: 8px 0;
  padding: 7px 9px;
  border: 1px solid #fdba74;
  border-radius: 8px;
  background: #fff;
  color: #7c2d12;
  font-size: 0.88rem;
}

.pp-wow {
  margin: 8px 0;
  border-left: 4px solid #f97316;
  background: #fff7ed;
  border-radius: 6px;
  padding: 7px 9px;
  color: #9a3412;
  font-size: 0.86rem;
}

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

.pp-context-grid article {
  border: 1px solid #fcd34d;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
}

.pp-context-grid p {
  margin: 0;
  color: #7c2d12;
  font-size: 0.86rem;
  line-height: 1.46;
}

.pp-day-block {
  margin-top: 10px;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.pp-task-list {
  margin-top: 8px;
}

.pp-task-list li {
  margin-bottom: 6px;
}

.pp-review-log {
  margin-top: 10px;
  border: 1px dashed #f59e0b;
  border-radius: 8px;
  padding: 8px;
  background: #fffbeb;
}

.pp-review-log p {
  margin: 2px 0;
  color: #7c2d12;
  font-size: 0.82rem;
}

.pp-answer-key p {
  margin: 0 0 8px;
  color: #7c2d12;
  font-size: 0.82rem;
  line-height: 1.45;
}

.pp-next {
  margin-top: 10px;
  border: 1px solid #f59e0b;
  border-radius: 9px;
  background: #fef3c7;
  color: #7c2d12;
  font-size: 0.86rem;
  line-height: 1.45;
  padding: 8px 9px;
}

.pp-disclaimer {
  margin-top: 10px;
  border-top: 1px dashed #f59e0b;
  padding-top: 8px;
}

.pp-disclaimer p {
  margin: 0;
  color: #9a3412;
  font-size: 0.8rem;
}

.pp-footer {
  margin-top: 10px;
  border-top: 1px dashed #fcd34d;
  padding-top: 6px;
  display: flex;
  justify-content: space-between;
  color: #9a3412;
  font-size: 0.73rem;
}

.pc-chart-card {
  margin-top: 10px;
  border: 1px solid #fcd34d;
  background: #fff;
  border-radius: 10px;
  padding: 9px;
}

.pc-chart-card h6 {
  margin: 0 0 8px;
  font-size: 0.8rem;
  color: #9a3412;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pc-help {
  margin: 7px 0 0;
  font-size: 0.79rem;
  color: #9a3412;
  line-height: 1.4;
}

.pc-bars {
  display: grid;
  gap: 7px;
}

.pc-bar-row {
  display: grid;
  grid-template-columns: 90px 1fr 46px;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #7c2d12;
}

.pc-bar-track {
  height: 8px;
  border-radius: 999px;
  background: #fde68a;
  overflow: hidden;
}

.pc-bar-fill {
  height: 8px;
  background: linear-gradient(90deg, #fb7185, #f59e0b);
}

.pc-line-svg {
  width: 100%;
  height: 170px;
}

.pc-axis {
  stroke: #f59e0b;
  stroke-width: 1;
}

.pc-line {
  fill: none;
  stroke: #ef4444;
  stroke-width: 2.4;
}

.pc-dot {
  fill: #ef4444;
}

.pc-label {
  font-size: 10px;
  fill: #7c2d12;
  text-anchor: middle;
}

.pc-week {
  font-size: 10px;
  fill: #9a3412;
  text-anchor: middle;
}

.pc-donut-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.pc-donut {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: conic-gradient(#f43f5e 0% 40%, #f59e0b 40% 75%, #22c55e 75% 100%);
  border: 2px solid #fcd34d;
}

.pc-donut-wrap ul {
  margin: 0;
  padding-left: 18px;
  color: #7c2d12;
  font-size: 0.86rem;
  line-height: 1.45;
}

.pc-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 0.82rem;
}

.pc-table th,
.pc-table td {
  border: 1px solid #fcd34d;
  padding: 6px 7px;
  text-align: left;
  color: #7c2d12;
}

.pc-table th {
  background: #fef3c7;
  color: #9a3412;
}

.pc-heat-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.pc-heat-cell {
  border-radius: 8px;
  padding: 7px 5px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid #fcd34d;
  color: #7c2d12;
}

.pc-heat-cell.low {
  background: #fef3c7;
}

.pc-heat-cell.mid {
  background: #fde68a;
}

.pc-heat-cell.high {
  background: #fca5a5;
}

.radar-svg { width: 100%; max-width: 300px; height: auto; display: block; margin: 0 auto; }
.radar-ring { fill: none; stroke: #e2e8f0; }
.radar-axis { stroke: #cbd5e1; }
.radar-shape { fill: rgba(14,165,233,0.26); stroke: #0284c7; stroke-width: 2; }
.radar-label { font-size: 9px; fill: #334155; text-anchor: middle; dominant-baseline: middle; }

.curve-svg { width: 100%; height: 220px; }
.curve-line { fill: none; stroke: #0ea5e9; stroke-width: 3; }
.curve-marker { fill: #ef4444; }
.curve-axis { stroke: #cbd5e1; stroke-width: 1; }
.curve-text { font-size: 11px; fill: #334155; }

.world-list { margin: 0; padding-left: 18px; color: #334155; line-height: 1.55; }
.note { font-size: 0.85rem; color: #64748b; }

.actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.error {
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(251, 113, 133, 0.7);
  color: #ffe4e8;
  background: rgba(190, 24, 93, 0.2);
}

@media (max-width: 860px) {
  .span-4, .span-6, .span-8, .span-12 { grid-column: span 12; }
  .options { grid-template-columns: 1fr; }
  .actions { justify-content: stretch; }
  .actions button { flex: 1; }
  .pp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .premium-proof-strip { grid-template-columns: 1fr; }
  .premium-detail-grid { grid-template-columns: 1fr; }
  .plan-stack { grid-template-columns: 1fr; }
  .premium-hero { align-items: stretch; flex-direction: column; }
  .premium-price-pill { align-self: flex-start; }
  .pp-context-grid { grid-template-columns: 1fr; }
  .pc-bar-row { grid-template-columns: 1fr; gap: 4px; }
  .pc-heat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sticky-premium-btn { display: block; }
}

@media print {
  @page {
    size: A4;
    margin: 10mm;
  }

  body { background: #fff; }
  .ambient,
  #landing,
  #blog-preview,
  #test,
  .summary,
  .actions,
  .lang-wrap,
  .sticky-premium-btn { display: none !important; }
  .shell { max-width: 100%; padding: 0; }
  .report-header,
  .report-grid > .block:not(.premium-offer),
  .premium-offer > h4,
  .premium-offer > .premium-sub,
  .premium-offer > .premium-list,
  .premium-offer > .premium-actions,
  .premium-offer > h5 {
    display: none !important;
  }

  .report-sheet {
    box-shadow: none;
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: 0;
  }

  .premium-offer {
    border: 0;
    background: #fff;
    padding: 0;
  }

  .premium-document {
    gap: 0;
  }

  .plan-page-preview {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 9mm 8mm;
    min-height: auto;
    break-inside: avoid;
    page-break-inside: avoid;
    break-after: page;
    page-break-after: always;
    font-size: 11pt;
    line-height: 1.45;
  }

  .plan-page-preview:last-child {
    break-after: auto;
    page-break-after: auto;
  }
}
