/* ===================================================
   SmithBook Daily Club — Roadmap Tool Stylesheet
   =================================================== */

/* Tokens live in /css/tokens.css — link it before this file. */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes livePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Base (*, html, body) lives in /css/shell.css — single source of truth. */

/* SmithBook logo header */
.brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.brand-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-left: auto;
}

/* .container moved to /css/shell.css (universal width). */

/* ============= HERO ============= */

.hero {
  text-align: center;
  padding: 60px 20px 40px;
}

.hero-results {
  padding: 40px 20px 30px;
}

.brand {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  padding: 6px 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.accent {
  color: var(--accent);
}

.subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.meta-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  padding: 16px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  min-width: 120px;
}

.stat strong {
  font-size: 22px;
  color: var(--accent);
  font-weight: 700;
}

.stat span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============= QUIZ ============= */

#quiz-container {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ff8b5a);
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

#question-area {
  min-height: 280px;
}

.question h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.question p.help {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
  text-align: left;
  width: 100%;
}

.option:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.option.selected {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
  font-weight: 500;
}

.option-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: all 0.15s;
}

.option.selected .option-radio {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--bg);
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 12px;
}

.btn {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  font-family: inherit;
}

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

.btn-primary:hover {
  background: #ff5722;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-primary:disabled {
  background: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-success {
  background: var(--success) !important;
  color: white !important;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

/* ============= LOADING ============= */

.loading {
  text-align: center;
  padding: 80px 20px;
}

.loading.hidden { display: none; }

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 24px;
}

.loading p {
  font-size: 18px;
  font-weight: 500;
}

.loading-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============= RESULTS ============= */

.profile-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.profile-card h2 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.profile-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-item .label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-item .value {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.cta-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.cta-card {
  background: linear-gradient(135deg, var(--accent-soft), rgba(255, 107, 53, 0.04));
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.cta-card .cta-content { flex: 1; min-width: 240px; }
.cta-card h3 { font-size: 20px; margin-bottom: 6px; color: var(--accent); }
.cta-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 0; }

.cta-card .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-right: 16px;
}

.plan-section {
  margin-bottom: 48px;
}

.phase-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.phase-1 { color: var(--success); }
.phase-2 { color: var(--info); }
.phase-3 { color: var(--accent); }

.phase-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.strategies-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.strategy {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all 0.15s;
}

.strategy:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.strategy-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.strategy-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  flex: 1;
  min-width: 200px;
}

.strategy-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  border: 1px solid var(--border);
}

.tag.tag-roi-high { color: var(--success); border-color: var(--success); }
.tag.tag-roi-medium { color: var(--warning); border-color: var(--warning); }
.tag.tag-roi-low { color: var(--text-muted); }
.tag.tag-budget-free { color: var(--success); border-color: var(--success); }
.tag.tag-difficulty-easy { color: var(--success); }
.tag.tag-difficulty-hard { color: var(--accent); border-color: var(--accent); }

.strategy-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.strategy-details {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.strategy-detail {
  display: flex;
  align-items: center;
  gap: 4px;
}

.strategy-detail strong {
  color: var(--text);
}

.strategy-steps {
  background: var(--bg);
  border-radius: 8px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  margin-bottom: 12px;
}

.strategy-steps h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.strategy-steps ol {
  margin-left: 18px;
  font-size: 14px;
  color: var(--text);
}

.strategy-steps li { margin-bottom: 4px; }

.strategy-resources {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
}

.strategy-resources a {
  color: var(--accent);
  text-decoration: none;
  padding: 4px 10px;
  background: var(--bg);
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: all 0.15s;
}

.strategy-resources a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.action-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* ============= FOOTER ============= */

.footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* ============= PRINT ============= */

@media print {
  body { background: white; color: #000; padding: 0; }
  .container { max-width: 100%; }
  .hero { padding: 20px; }
  .hero h1 { font-size: 32px; }
  .nav-buttons, .action-bar, .footer { display: none; }
  .strategy { page-break-inside: avoid; border: 1px solid #ccc; background: white; }
  .strategy-name, .strategy-desc, .phase-title, .phase-desc { color: #000; }
  .accent, .phase-1, .phase-2, .phase-3 { color: #c2410c !important; }
  .profile-card, .cta-card { background: #f5f5f5; border: 1px solid #ccc; }
  .strategy-steps { background: #f9f9f9; }
}

/* ============= PICK YOUR TRACKS (results.html) ============= */

.profile-card-compact { padding: 14px 18px; margin-bottom: 16px; }
.profile-card-compact .profile-grid { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.profile-card-compact .profile-item .label { font-size: 11px; }
.profile-card-compact .profile-item .value { font-size: 13px; }

.selection-bar {
  position: sticky;
  top: 12px;
  z-index: 50;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  flex-wrap: wrap;
  transition: all 0.25s ease;
}

.selection-bar-ready {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.25);
}

/* Build button: subdued while waiting for selection, vivid when ready. */
.btn-build-plan {
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-build-plan-ready {
  opacity: 1;
  box-shadow: 0 4px 18px rgba(255, 107, 53, 0.35);
}
.btn-build-plan-ready:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 107, 53, 0.45);
}

/* Pulse highlight applied to the first un-selected track card after the
   user clicks "Build" without a selection — visual cue tied to flashError. */
.track-card-pulse {
  animation: track-card-pulse 1.5s ease-out;
}
@keyframes track-card-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.55); }
  70%  { box-shadow: 0 0 0 16px rgba(255, 107, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

.selection-bar-error {
  border-color: #e74c3c;
  background: rgba(231, 76, 60, 0.08);
}

.selection-info {
  font-size: 15px;
  color: var(--text);
}
.selection-info strong {
  color: var(--accent);
  font-size: 22px;
  margin-right: 4px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.section-help {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.section-title-small {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.tracks-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 14px;
}

.track-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px 18px;
  cursor: pointer;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
  position: relative;
  overflow: hidden;
}

.track-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(230, 195, 66, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.track-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--accent);
}

.track-card:hover::before { opacity: 1; }

.track-card.selected {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(230, 195, 66, 0.15), rgba(230, 195, 66, 0.04));
  box-shadow: 0 6px 24px rgba(230, 195, 66, 0.30), 0 0 0 2px var(--accent);
  transform: translateY(-2px);
}

.track-card.selected::before { opacity: 1; }

/* Selected state: only checkbox + border indicate. No redundant badge. */

.track-checkbox {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-top: 2px;
  background: var(--bg);
}

.track-card:hover .track-checkbox {
  border-color: var(--accent);
}

.track-card.selected .track-checkbox {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}

.track-checkbox-inner {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: transparent;
  position: relative;
}

.track-card.selected .track-checkbox-inner::before {
  content: '✓';
  color: var(--bg);
  font-size: 18px;
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

.track-name {
  font-size: 17px;
  font-weight: 700 !important;
  letter-spacing: -0.015em;
  flex: 1;
  min-width: 200px;
  color: var(--text);
}

.track-card.selected .track-name { color: var(--text); }

.track-match {
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid rgba(230, 195, 66, 0.3);
}

.track-card.selected .track-match {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.track-body { flex: 1; min-width: 0; }

.track-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.track-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  flex: 1;
  min-width: 200px;
}

.track-match {
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

.track-outcome {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.5;
}

.track-outcome strong {
  color: var(--accent);
}

.track-card.selected .track-outcome { color: var(--text); }

.track-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
}

.track-meta-item {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.track-phase-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}

/* ============= DAILY PLAN (plan.html) ============= */

.progress-overview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.progress-stat { display: flex; flex-direction: column; gap: 4px; }
.progress-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.progress-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.progress-stat-pct {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.progress-bar-large {
  flex: 1;
  height: 12px;
  min-width: 200px;
}

.selected-tracks-summary {
  margin-bottom: 32px;
}

.track-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.track-pill {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.phase-block {
  margin-bottom: 48px;
}

.days-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.day-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.day-header {
  background: var(--bg);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.day-number {
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.day-task-count {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.day-tasks { padding: 8px; }

.task {
  background: var(--bg);
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

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

.task-summary {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.task-checkbox-wrap {
  display: flex;
  align-items: center;
  padding: 14px 14px 14px 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.task-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.task-checkmark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: inline-block;
  position: relative;
  transition: all 0.15s;
}

.task-checkbox:checked + .task-checkmark {
  background: var(--success);
  border-color: var(--success);
}

.task-checkbox:checked + .task-checkmark::after {
  content: '✓';
  color: white;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

.task-toggle {
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  cursor: pointer;
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px 12px 4px;
  text-align: left;
  gap: 12px;
}

.task-toggle:hover { background: var(--bg-card-hover); }

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

.task-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.task-summary-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.task-strategy-badge {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 11px;
}

.task-duration { display: inline-flex; align-items: center; gap: 4px; }

.task-arrow {
  color: var(--text-muted);
  font-size: 14px;
  transition: transform 0.2s ease;
  margin-left: auto;
  flex-shrink: 0;
}

.task-expanded .task-arrow { transform: rotate(180deg); }

.task-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 18px;
}

.task-expanded .task-details {
  max-height: 1000px;
  padding: 8px 18px 20px 60px;
  border-top: 1px dashed var(--border);
}

.task-detail-section { margin-bottom: 14px; }
.task-detail-section h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 700;
}

.task-detail-section p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  white-space: pre-line;
}

.task-deliverable {
  background: var(--bg-card);
  padding: 8px 14px;
  border-radius: 6px;
  border-left: 3px solid var(--success);
  font-size: 14px;
  color: var(--text);
}

.task-done {
  opacity: 0.55;
}

.task-done .task-title {
  text-decoration: line-through;
  color: var(--text-muted);
}

.empty-phase {
  color: var(--text-muted);
  padding: 16px;
  text-align: center;
  font-style: italic;
}

/* ============= TASK HELP BAR + RICH SECTIONS ============= */

.task-help-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px dashed var(--border);
}

.btn-help {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-help:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-help-yt {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  border-color: #ff0000;
  color: white;
}

.btn-help-yt:hover {
  background: linear-gradient(135deg, #cc0000, #aa0000);
  border-color: #cc0000;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.task-pitfalls {
  margin-left: 18px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
}

.task-pitfalls li {
  margin-bottom: 6px;
  color: #ffba00;
}

.task-pitfalls li::marker {
  color: #ffba00;
}

.task-success-metric {
  background: rgba(40, 199, 111, 0.08);
  padding: 10px 14px;
  border-radius: 6px;
  border-left: 3px solid var(--success);
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.task-steps-list {
  margin-left: 22px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}

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

.task-resources {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.task-resource-link {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.15s;
}

.task-resource-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* ============= STREAK WIDGET ============= */
.streak-widget {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(230, 195, 66, 0.12), rgba(230, 195, 66, 0.04));
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 16px;
}
.streak-flame { font-size: 38px; }
.streak-info { flex: 1; }
.streak-count {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.streak-status {
  font-size: 13px;
  color: var(--text-muted);
}
.streak-stats {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============= TODAY'S ACTION ============= */
.today-action { margin-bottom: 24px; }
.today-card {
  background: linear-gradient(135deg, var(--accent), #c9a82e);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: 0 8px 32px rgba(230, 195, 66, 0.25);
  position: relative;
  overflow: hidden;
}
.today-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(252, 253, 254, 0.18), transparent 70%);
  pointer-events: none;
}
.today-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  opacity: 0.75;
  margin-bottom: 8px;
}
.today-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bg);
  margin-bottom: 12px;
  line-height: 1.2;
}
.today-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 13px;
}
.today-strategy, .today-duration, .today-day {
  background: rgba(34, 38, 58, 0.18);
  color: var(--bg);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.today-instructions {
  font-size: 14px;
  color: var(--bg);
  opacity: 0.92;
  margin-bottom: 18px;
  line-height: 1.6;
}
.today-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.today-buttons .btn-primary {
  background: var(--bg);
  color: var(--accent);
}
.today-buttons .btn-primary:hover {
  background: var(--bg-card);
  color: var(--accent-hover);
}
.today-buttons .btn-secondary {
  background: rgba(34, 38, 58, 0.15);
  border-color: rgba(34, 38, 58, 0.3);
  color: var(--bg);
}
.today-done .today-emoji { font-size: 60px; text-align: center; display: block; }
.today-done h3 { color: var(--bg); font-size: 22px; text-align: center; }
.today-done p { color: var(--bg); opacity: 0.85; text-align: center; }

/* ============= TRACK JOURNEYS ============= */
.tracks-journeys {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.track-journey {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.journey-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.journey-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.journey-progress-text {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.journey-progress-text span { color: var(--text-muted); margin: 0 6px; }
.journey-path {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.journey-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border: 2px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.journey-dot:hover {
  transform: scale(1.18);
  opacity: 1 !important;
  box-shadow: 0 0 0 4px rgba(230, 195, 66, 0.3);
  border-color: var(--accent);
}
.journey-dot-done {
  background: var(--success);
  border-color: var(--success);
  color: white;
}
.journey-dot-next {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  animation: pulse-next 1.6s ease-in-out infinite;
}
.journey-dot-locked {
  opacity: 0.7;
}
.journey-dot-locked:hover {
  opacity: 1;
  background: rgba(230, 195, 66, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}
@keyframes pulse-next {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 195, 66, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(230, 195, 66, 0); }
}
.journey-progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.journey-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transition: width 0.4s ease;
}

/* ============= BADGE TOAST ============= */
.badge-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--accent), #c9a82e);
  color: var(--bg);
  padding: 14px 18px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  z-index: 999;
  transform: translateX(420px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 340px;
}
.badge-toast-visible { transform: translateX(0); }
.badge-toast-emoji { font-size: 32px; }
.badge-toast-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.badge-toast-name {
  font-size: 16px;
  font-weight: 800;
}

/* ============= AI COACH MODAL ============= */
.coach-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 17, 21, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
}
.coach-modal-visible {
  opacity: 1;
  pointer-events: auto;
}
.coach-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 92%;
  max-width: 580px;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.coach-modal-visible .coach-modal { transform: scale(1); }

.coach-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(230, 195, 66, 0.10), transparent);
}
.coach-modal-title {
  display: flex;
  gap: 12px;
  align-items: center;
}
.coach-avatar {
  font-size: 32px;
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coach-name { font-size: 17px; font-weight: 700; }
.coach-subtitle { font-size: 12px; color: var(--text-muted); }
.coach-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  padding: 0 8px;
  line-height: 1;
}
.coach-modal-close:hover { color: var(--accent); }

.coach-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.coach-msg { display: flex; }
.coach-msg-bot { justify-content: flex-start; }
.coach-msg-user { justify-content: flex-end; }
.coach-msg-bubble {
  background: var(--bg);
  padding: 12px 16px;
  border-radius: 14px;
  max-width: 80%;
  font-size: 14px;
  line-height: 1.55;
}
.coach-msg-user .coach-msg-bubble {
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
}
.coach-msg-bot .coach-msg-bubble {
  border: 1px solid var(--border);
}

/* Typing indicator used while Clou's response is in flight. Three dots
   pulse in sequence. Shared with the inline chat in plan.js. */
.coach-typing-dot,
.chat-msg-typing .coach-typing-dot {
  display: inline-block;
  width: 6px; height: 6px;
  margin: 0 2px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  animation: coach-typing-bounce 1.2s infinite ease-in-out;
}
.coach-typing-dot:nth-child(2) { animation-delay: 0.18s; }
.coach-typing-dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes coach-typing-bounce {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30%           { opacity: 1;    transform: translateY(-3px); }
}

.coach-msg-bubble p { margin-bottom: 8px; }
.coach-msg-bubble p:last-child { margin-bottom: 0; }
.coach-resource-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}
.coach-resource {
  background: var(--accent-soft);
  border: 1px solid rgba(230, 195, 66, 0.3);
  color: var(--accent);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.15s;
}
.coach-resource:hover {
  background: var(--accent);
  color: var(--bg);
}
.coach-tip {
  background: var(--bg-card-hover);
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 3px solid var(--success);
  font-size: 13px;
}
.coach-followup-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

.coach-quick-prompts {
  padding: 8px 22px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
}
.coach-prompt-chip {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.coach-prompt-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.coach-modal-footer {
  padding: 14px 22px;
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--border);
}
.coach-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.coach-input:focus {
  border-color: var(--accent);
}

.coach-disclaimer {
  padding: 8px 22px 14px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

.btn-help-coach {
  background: linear-gradient(135deg, var(--accent), #c9a82e);
  border-color: var(--accent);
  color: var(--bg);
  font-weight: 700;
}
.btn-help-coach:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  border-color: var(--accent-hover);
  color: var(--bg);
  box-shadow: 0 4px 12px rgba(230, 195, 66, 0.4);
}

/* ============= WALL OF WINS ============= */
.wall-section { margin-bottom: 32px; }
.wall-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}
.wall-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  transition: all 0.15s;
}
.wall-item:hover { border-color: var(--accent); }
.wall-item-you {
  background: linear-gradient(135deg, rgba(230, 195, 66, 0.10), transparent);
  border-color: var(--accent);
}
.wall-emoji {
  font-size: 22px;
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}
.wall-body { flex: 1; min-width: 0; }
.wall-line {
  font-size: 13px;
  line-height: 1.45;
}
.wall-line strong { color: var(--accent); font-weight: 700; }
.wall-country { margin-left: 4px; opacity: 0.7; }
.wall-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.wall-share-btn {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.wall-share-btn:hover { background: var(--accent-hover); }
.wall-live-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
  margin-left: 6px;
  animation: pulse-live 1.5s ease-in-out infinite;
}
@keyframes pulse-live {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(19, 198, 44, 0.5); }
  50% { opacity: 0.5; box-shadow: 0 0 0 6px rgba(19, 198, 44, 0); }
}

/* ============= PERSONAL RECORDS ============= */
.records-section { margin-bottom: 32px; }
.records-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.record-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  transition: all 0.18s;
}
.record-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.record-emoji { font-size: 22px; margin-bottom: 4px; }
.record-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.record-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ============= TROPHY ROOM ============= */
.trophy-section { margin-bottom: 40px; }
.trophy-category { margin-bottom: 22px; }
.trophy-category-title {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.trophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}
.trophy {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
  cursor: help;
  transition: all 0.2s;
  position: relative;
}
.trophy-earned {
  border-color: var(--tier-color, var(--accent));
  background: linear-gradient(135deg, rgba(230, 195, 66, 0.08), transparent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.trophy-earned:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 16px var(--tier-color, rgba(230, 195, 66, 0.4));
}
.trophy-locked {
  opacity: 0.45;
  filter: grayscale(0.85);
}
.trophy-locked .trophy-emoji { filter: grayscale(1); }
.trophy-emoji {
  font-size: 32px;
  margin-bottom: 6px;
  line-height: 1;
}
.trophy-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.trophy-tier-mythic.trophy-earned {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(230, 195, 66, 0.08));
}
.trophy-tier-platinum.trophy-earned {
  background: linear-gradient(135deg, rgba(185, 216, 232, 0.12), transparent);
}

/* ============= RESPONSIVE ============= */

@media (max-width: 600px) {
  body { padding: 12px; }
  .hero h1 { font-size: 28px; }
  .subtitle { font-size: 15px; }
  #quiz-container { padding: 20px; }
  .question h2 { font-size: 20px; }
  .strategy { padding: 16px; }
  .strategy-name { font-size: 16px; }
  .meta-stats { gap: 12px; }
  .stat { padding: 12px 16px; min-width: 100px; }
}

/* ===================================================
   V2 DESIGN SYSTEM — Habit OS
   Adicionado: 02 maio 2026 (visual refresh do /demo/)
   =================================================== */

/* ===== EMPTY STATE ===== */
.empty-state {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin: 20px auto;
  max-width: 720px;
  position: relative;
  overflow: hidden;
}
.empty-state::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(230,195,66,0.15), transparent 60%);
  pointer-events: none;
}
.empty-state-emoji {
  font-size: 72px;
  margin-bottom: 18px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(230,195,66,0.3));
  position: relative;
}
.empty-state-h {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
}
.empty-state-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.empty-state-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
  position: relative;
}
.empty-state-actions .btn-primary,
.empty-state-actions .btn-secondary {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.empty-state-help {
  background: rgba(20, 23, 42, 0.4);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 26px;
  text-align: left;
  position: relative;
}
.empty-state-help h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.empty-state-help ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.empty-state-help li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  padding-left: 0;
}
.empty-state-help li strong { color: var(--accent); }

/* ===== TOPBAR PRO ===== */
.topbar-v2 {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 24px;
}
.topbar-logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
}
.topbar-brand-name { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.topbar-brand-sub { font-size: 11px; color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
.topbar-spacer-v2 { flex: 1; }
.topbar-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.user-avatar-v2 {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--social), #d44a7d);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 12px;
  color: white;
  border: 2px solid var(--border);
  cursor: pointer;
  text-decoration: none;
}

/* ===== TASK BANNER ROW (clarifica que é tarefa) ===== */
.task-banner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.task-banner-pill {
  background: var(--energy);
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.task-banner-time {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ===== TODAY HERO V2 (gigante + side streak) ===== */
.today-hero {
  background: linear-gradient(135deg, var(--accent) 0%, #d4ad28 50%, #b08c1c 100%);
  color: var(--navy-deep);
  border-radius: 28px;
  padding: 36px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(230,195,66,0.3);
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 28px;
  align-items: center;
}
@media (max-width: 880px) { .today-hero { grid-template-columns: 1fr; padding: 28px; } }
.today-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.25), transparent 60%);
  pointer-events: none;
}
.today-hero-left { position: relative; }
.today-hero-tag {
  display: inline-flex;
  background: rgba(20, 23, 42, 0.2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  color: var(--navy-deep);
}
.today-hero-h {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--navy-deep);
}
@media (max-width: 880px) { .today-hero-h { font-size: 26px; } }
.today-hero-meta {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px;
}
.today-hero-pill { background: rgba(20,23,42,0.18); padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.today-hero-text {
  font-size: 14px; opacity: 0.9; line-height: 1.55;
  margin-bottom: 20px; max-width: 580px;
}
.today-hero-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-today-primary {
  background: var(--navy-deep);
  color: var(--accent);
  border: none;
  padding: 11px 20px;
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  display: inline-block;
}
.btn-today-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(20,23,42,0.4); }
.btn-today-ghost {
  background: rgba(20, 23, 42, 0.15);
  color: var(--navy-deep);
  border: 1px solid rgba(20, 23, 42, 0.3);
  padding: 10px 18px;
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-today-ghost:hover { background: rgba(20, 23, 42, 0.25); }

/* Streak mini dentro do today */
.today-hero-right { position: relative; display: flex; justify-content: center; }
.today-streak-mini {
  background: rgba(20,23,42,0.92);
  border-radius: 20px;
  padding: 22px 18px;
  text-align: center;
  width: 220px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
}
.tsm-flame {
  font-size: 48px;
  filter: drop-shadow(0 0 16px rgba(255,140,66,0.5));
  animation: flameWiggleV2 2.4s ease-in-out infinite;
  margin-bottom: 6px;
}
@keyframes flameWiggleV2 {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  50% { transform: rotate(3deg) scale(1.05); }
}
.tsm-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tsm-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-top: 4px;
}
.tsm-foot {
  font-size: 11px;
  color: var(--accent);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-weight: 600;
}

/* ===== QUICK STATS ROW ===== */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
@media (max-width: 880px) { .quick-stats { grid-template-columns: repeat(2, 1fr); } }
.qstat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
  backdrop-filter: blur(20px);
}
.qstat-num {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.qstat-lbl {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
  font-weight: 600;
}

/* ===== JOURNEY V2 ===== */
.journey-v2 {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 12px;
  backdrop-filter: blur(20px);
}
.journey-v2-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; gap: 12px;
}
.journey-v2-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.journey-v2-sub { font-size: 11px; color: var(--text-muted); }
.journey-v2-pct { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--accent); }
.path-v2 { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; flex-wrap: wrap; }
.node-v2 {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  flex-shrink: 0;
}
.node-v2.done { background: linear-gradient(135deg, var(--success), #0e9924); border-color: var(--success); color: white; }
.node-v2.curr {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: var(--accent);
  color: var(--navy-deep);
  animation: pulseN-v2 1.6s ease-in-out infinite;
}
@keyframes pulseN-v2 {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,195,66,0.7); }
  50% { box-shadow: 0 0 0 8px rgba(230,195,66,0); }
}
.line-v2 { flex: 0 0 6px; height: 2px; background: rgba(255,255,255,0.1); }
.line-v2.done { background: var(--success); }
.pbar-v2 { height: 4px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; }
.pfill-v2 {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-hover), var(--accent), var(--energy));
  position: relative;
  overflow: hidden;
}
.pfill-v2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer-v2 2.4s linear infinite;
}
@keyframes shimmer-v2 { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ===== SECTION HEADER V2 ===== */
.section-h-v2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  margin: 24px 0 14px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-dot-v2 {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: livePulse-v2 1.6s ease-in-out infinite;
}
@keyframes livePulse-v2 {
  0%, 100% { box-shadow: 0 0 0 0 rgba(19,198,44,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(19,198,44,0); }
}

/* ===== GLOBAL FOOTER ===== */
.global-footer {
  max-width: 1200px;
  margin: 60px auto 20px;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
}
@media (max-width: 720px) { .global-footer { grid-template-columns: 1fr 1fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-logo {
  width: 36px; height: 36px;
  border-radius: 10px;
  object-fit: contain;
}
.footer-tag { font-size: 12px; color: var(--text-muted); line-height: 1.55; max-width: 280px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-h {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.footer-col a {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  transition: color 0.15s;
  text-decoration: none;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--accent); }

/* ===== DEMO-PARITY: today-hero pills, btn-today, chat, wall-card, cta ===== */
.today-tag { display: inline-block; background: rgba(20,23,42,0.18); padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 12px; }
.today-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.today-pill { background: rgba(20,23,42,0.18); padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.today-text { font-size: 13px; opacity: 0.92; line-height: 1.55; margin-bottom: 18px; max-width: 580px; }
.today-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-today { padding: 11px 18px; border-radius: 12px; font-family: var(--font-primary); font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s; border: 1px solid transparent; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-today-dark { background: var(--navy-deep); color: var(--accent); border-color: var(--navy-deep); }
.btn-today-dark:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(20,23,42,0.4); }
.btn-today-ghost { background: transparent; color: var(--navy-deep); border-color: rgba(20,23,42,0.3); }
.btn-today-ghost:hover { background: rgba(20,23,42,0.08); }

/* CHAT CARD (Clou inline) */
.chat-card { background: linear-gradient(135deg, rgba(168,85,247,0.10), rgba(74,158,255,0.04)); border: 1px solid rgba(168,85,247,0.25); border-radius: 20px; margin-bottom: 28px; overflow: hidden; }
.chat-header { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,0.06); background: rgba(168,85,247,0.08); }
.chat-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--league), #8b3ae0); display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 8px 20px rgba(168,85,247,0.3); animation: float 3s ease-in-out infinite; }
.chat-info { flex: 1; }
.chat-name { font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.chat-status { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.chat-online { width: 7px; height: 7px; background: var(--success); border-radius: 50%; display: inline-block; animation: livePulse 1.6s ease-in-out infinite; }
.chat-body { padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; max-height: 380px; overflow-y: auto; }
.chat-msg { display: flex; }
.chat-msg-bot { justify-content: flex-start; }
.chat-msg-user { justify-content: flex-end; }
.chat-bubble { padding: 12px 16px; border-radius: 16px; max-width: 80%; font-size: 14px; line-height: 1.55; }
.chat-msg-bot .chat-bubble { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-top-left-radius: 4px; }
.chat-msg-user .chat-bubble { background: var(--accent); color: var(--navy-deep); border-top-right-radius: 4px; font-weight: 600; }
.chat-msg-bot .chat-bubble strong { color: var(--accent); }
.chat-suggested { padding: 0 22px 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.chat-chip { background: var(--bg-card); border: 1px solid var(--border); color: var(--text); font-family: var(--font-primary); font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: all 0.18s; }
.chat-chip:hover { border-color: var(--league); color: var(--league); }
.chat-input-row { display: flex; gap: 8px; padding: 14px 18px; border-top: 1px solid rgba(255,255,255,0.06); background: rgba(20,23,42,0.4); }
.chat-input { flex: 1; background: var(--bg-card); border: 1px solid var(--border); color: var(--text); padding: 11px 16px; border-radius: 12px; font-family: var(--font-primary); font-size: 14px; outline: none; }
.chat-input:focus { border-color: var(--league); }
.chat-input::placeholder { color: var(--text-muted); }
.chat-send { background: linear-gradient(135deg, var(--league), #8b3ae0); color: white; border: none; width: 44px; height: 44px; border-radius: 12px; font-size: 18px; cursor: pointer; font-weight: 800; transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); }
.chat-send:hover { transform: translateY(-1px) scale(1.04); box-shadow: 0 6px 16px rgba(168,85,247,0.4); }

/* WALL CARD compact */
.wall-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; margin-bottom: 22px; backdrop-filter: blur(20px); }

/* SECTION HEADER */
.section-h { font-family: var(--font-display); font-size: 18px; font-weight: 800; margin: 28px 0 14px; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; display: inline-block; animation: livePulse 1.6s ease-in-out infinite; }

/* CTA BLOCK */
.cta-block { text-align: center; margin-top: 32px; padding: 28px; background: linear-gradient(135deg, rgba(255,107,157,0.10), rgba(168,85,247,0.04)); border: 1px solid rgba(255,107,157,0.20); border-radius: 18px; }
.btn-pink { background: var(--social); color: white; border: none; padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s; }
.btn-pink:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,107,157,0.4); }
.btn-big { padding: 14px 26px; font-size: 15px; }

/* ===== MASTER PLAYBOOK CARDS (premium gold treatment) ===== */
.track-card-master {
  background: linear-gradient(135deg, rgba(230,195,66,0.08), rgba(230,195,66,0.02)) !important;
  border: 2px solid rgba(230,195,66,0.4) !important;
  position: relative;
  padding-top: 36px !important;
  box-shadow: 0 8px 24px rgba(230,195,66,0.12);
}
.track-card-master::before {
  background: linear-gradient(135deg, rgba(230,195,66,0.18), rgba(230,195,66,0.04) 60%) !important;
  opacity: 1 !important;
}
.track-card-master:hover {
  border-color: var(--accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(230,195,66,0.25);
}
.track-card-master.selected {
  border-color: var(--accent) !important;
  background: linear-gradient(135deg, rgba(230,195,66,0.18), rgba(230,195,66,0.06)) !important;
  box-shadow: 0 12px 32px rgba(230,195,66,0.35);
}
.master-playbook-badge {
  position: absolute;
  top: 12px;
  left: 18px;
  background: linear-gradient(135deg, var(--accent), #d4a924);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(230,195,66,0.4);
  z-index: 2;
}
.track-card-master .track-name {
  font-weight: 800;
  color: var(--text);
}
.track-card-master .track-match {
  background: var(--accent);
  color: var(--navy-deep);
  font-weight: 800;
}

/* ===== RESULTS TRACKER ===== */
.results-tracker {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
}
.results-header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  margin-bottom: 20px; flex-wrap: wrap;
}
.results-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.results-subtitle { font-size: 13px; color: var(--text-muted); margin: 0; }
.results-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px;
}
.result-card {
  background: rgba(20,23,42,0.4);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  transition: all 0.2s;
}
.result-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.result-icon { font-size: 22px; margin-bottom: 6px; }
.result-value {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800;
  color: var(--text);
}
.result-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.result-compare {
  font-size: 11px; margin-top: 10px; padding: 6px 10px;
  background: rgba(255,255,255,0.04); border-radius: 8px;
  line-height: 1.4;
}
.result-card-excellent { border-color: var(--accent); background: rgba(230,195,66,0.06); }
.result-card-excellent .result-compare { background: rgba(230,195,66,0.15); color: var(--accent); }
.result-card-on_track { border-color: var(--success); }
.result-card-on_track .result-compare { background: rgba(19,198,44,0.12); color: var(--success); }
.result-card-building { border-color: var(--info); }
.result-card-early .result-compare { color: var(--text-muted); }
.result-card-empty .result-compare-empty { color: var(--text-muted); font-style: italic; }
.results-milestones { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.milestones-row { display: flex; flex-wrap: wrap; gap: 8px; }
.milestone-pill {
  background: rgba(230,195,66,0.12);
  border: 1px solid rgba(230,195,66,0.3);
  color: var(--accent);
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}

/* RESULTS MODAL */
.results-modal-overlay, .template-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(20,23,42,0.85);
  backdrop-filter: blur(8px);
  z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.results-modal, .template-modal {
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%; max-width: 600px;
  max-height: 90vh; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.results-modal-header, .template-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
}
.results-modal-header h3, .template-modal-header h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 800; margin: 0;
}
.results-modal-close, .template-modal-close {
  background: none; border: none; color: var(--text-muted);
  font-size: 28px; cursor: pointer; line-height: 1;
}
.results-modal-close:hover, .template-modal-close:hover { color: var(--text); }
.results-modal-body, .template-modal-body {
  padding: 22px 24px; overflow-y: auto; flex: 1;
}
.results-field { margin-bottom: 14px; }
.results-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.results-field input {
  width: 100%; padding: 10px 14px;
  background: rgba(20,23,42,0.5);
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-size: 14px;
}
.results-field input:focus { border-color: var(--accent); outline: none; }
.results-modal-footer, .template-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 10px;
}

/* ===== TEMPLATES LIBRARY ===== */
.templates-section { margin-bottom: 28px; }
.templates-header { margin-bottom: 18px; }
.templates-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.templates-subtitle { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.templates-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.templates-tab {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); padding: 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: all 0.18s; font-family: var(--font-primary);
}
.templates-tab:hover { border-color: var(--accent); color: var(--accent); }
.templates-tab.active { background: var(--accent); color: var(--navy-deep); border-color: var(--accent); }
.templates-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px;
}
.template-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 18px;
  transition: all 0.2s;
}
.template-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.template-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.template-icon { font-size: 28px; }
.template-card-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.template-category {
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  background: rgba(230,195,66,0.15); color: var(--accent);
  padding: 3px 8px; border-radius: 6px;
}
.template-time { font-size: 10px; color: var(--text-muted); }
.template-card-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.template-card-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin: 0 0 14px; min-height: 44px; }
.template-view-btn { width: 100%; font-size: 13px; padding: 9px 14px; }

/* ===== DAILY BRIEFING ===== */
.briefing-card {
  background: linear-gradient(135deg, rgba(74,158,255,0.10), rgba(168,85,247,0.04));
  border: 1px solid rgba(74,158,255,0.3);
  border-radius: 18px;
  padding: 22px 26px;
  margin-bottom: 24px;
}
.briefing-header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.briefing-greeting {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800; margin: 0;
}
.briefing-date {
  font-size: 13px; color: var(--text-muted); margin: 4px 0 0;
}
.btn-quick-win {
  background: linear-gradient(135deg, var(--energy), #f57c2f);
  color: white; border: none;
  padding: 10px 18px; border-radius: 10px;
  font-family: var(--font-primary); font-size: 13px; font-weight: 800;
  cursor: pointer; transition: all 0.2s;
  white-space: nowrap;
}
.btn-quick-win:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255,140,66,0.4); }
.briefing-insight {
  background: rgba(20,23,42,0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.briefing-insight-label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--info);
  margin-bottom: 6px;
}
.briefing-insight p { margin: 0; font-size: 14px; line-height: 1.5; }
.briefing-motivation {
  font-size: 13px; font-style: italic; color: var(--text-muted);
  padding: 12px 16px;
  background: rgba(168,85,247,0.06);
  border-left: 3px solid var(--league);
  border-radius: 6px;
  line-height: 1.5;
}

.template-content {
  background: rgba(20,23,42,0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--text);
  white-space: pre-wrap;
  line-height: 1.6;
  max-height: 50vh;
  overflow-y: auto;
}

/* =====================================================================
   Plan preview banner (anonymous visitors)
   ===================================================================== */
.plan-preview-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 18px;
  margin: 16px 0 24px;
  background: linear-gradient(180deg, rgba(255, 106, 61, 0.10), rgba(255, 106, 61, 0.04));
  border: 1px solid rgba(255, 106, 61, 0.32);
  border-radius: 12px;
  color: var(--text);
}
.plan-preview-banner-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}
.plan-preview-banner-text strong { color: var(--text); }
.plan-preview-banner-cta {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 100px;
  background: var(--accent, #ff6a3d);
  color: #0a0c14;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.plan-preview-banner-cta:hover { filter: brightness(1.05); }
