.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(0,161,249,0.12), transparent 60%),
    var(--ds-bg);
}
.login-card { width: 100%; max-width: 420px; }
.login-header { text-align: center; margin-bottom: 32px; }
.login-logo { height: 48px; margin: 0 auto 20px; }
.login-subtitle { font-size: 15px; color: var(--ds-text-soft); margin-top: 8px; font-weight: 300; }

.profile-page {
  min-height: 100vh; padding: 80px 0;
  background:
    radial-gradient(600px 300px at 30% 0%, rgba(0,161,249,0.08), transparent),
    var(--ds-bg);
}

.question-page { min-height: 100vh; display: flex; flex-direction: column; }
.question-header {
  padding: 16px 0; border-bottom: 1px solid var(--ds-line);
  background: rgba(11,11,20,0.9);
  backdrop-filter: blur(12px);
}
.question-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 12px;
}
.question-pillar { font-size: 13px; font-weight: 600; color: var(--mi-celeste); }
.question-counter { font-size: 13px; color: var(--ds-text-mute); font-family: var(--ds-mono); }
.question-body {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
}
.question-content { max-width: 680px; width: 100%; }
.question-type-badge {
  display: inline-flex; padding: 4px 12px; border-radius: var(--ds-radius-pill);
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 16px;
}
.question-type-badge.auto { background: rgba(0,161,249,0.12); color: var(--mi-celeste); }
.question-type-badge.sit { background: rgba(245,210,58,0.12); color: var(--mi-limao); }
.question-type-badge.tec { background: rgba(76,175,80,0.12); color: #66BB6A; }
.question-text {
  font-family: var(--ds-display); font-size: clamp(20px, 3vw, 28px);
  font-weight: 600; line-height: 1.25; margin-bottom: 28px; letter-spacing: -0.01em;
}
.alternatives { display: flex; flex-direction: column; gap: 10px; }
.alt-option {
  position: relative; display: block; cursor: pointer;
}
.alt-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.alt-card {
  display: block; padding: 16px 20px;
  background: rgba(26,26,42,0.6); border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-m); font-size: 15px; color: var(--ds-text-soft);
  transition: all .2s ease; line-height: 1.45;
}
.alt-option input:checked + .alt-card {
  border-color: var(--mi-cobalto); background: rgba(0,161,249,0.08);
  color: var(--ds-text);
}
.alt-option:hover .alt-card {
  border-color: var(--ds-line-strong); background: rgba(255,255,255,0.04);
}
.question-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 28px; gap: 12px;
}

.result-page {
  padding: 40px 0 80px;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(0,161,249,0.10), transparent 60%),
    var(--ds-bg);
}
.result-header { text-align: center; margin-bottom: 48px; }
.result-title {
  font-family: var(--ds-display); font-size: clamp(34px, 5.5vw, 56px); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.04;
  background: linear-gradient(135deg, var(--mi-cobalto), var(--mi-celeste));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.result-summary { max-width: 620px; margin: 16px auto 0; color: var(--ds-text-soft); font-size: 18px; line-height: 1.6; }
.radar-section { margin-bottom: 48px; }
.radar-container {
  max-width: 500px; margin: 0 auto; padding: 24px;
  background: var(--ds-surface); border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-xl);
}
.seals-section { margin-bottom: 48px; }
.seals-counter {
  font-size: 14px; color: var(--ds-text-mute); margin-bottom: 12px;
}
.seals-progress-bar {
  height: 4px; background: var(--ds-line); border-radius: 2px;
  margin-bottom: 28px; overflow: hidden;
}
.seals-progress-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--mi-cobalto), var(--mi-limao));
  transition: width .6s ease;
}
.seals-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
@media (max-width: 900px) { .seals-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .seals-grid { grid-template-columns: 1fr; } }
.feedback-section { margin-bottom: 48px; }
.feedback-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
@media (max-width: 768px) { .feedback-grid { grid-template-columns: 1fr; } }
.feedback-block {
  padding: 20px 24px; border-radius: var(--ds-radius-l);
  background: var(--ds-surface); border: 1px solid var(--ds-line);
  display: flex; flex-direction: column;
}
.feedback-pillar {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.feedback-text { font-size: 14px; color: var(--ds-text-soft); line-height: 1.6; margin: 0; flex: 1; }

.dashboard-page { padding: 40px 0 80px; }
.dashboard-header { margin-bottom: 40px; }
.dashboard-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 768px) { .dashboard-stats { grid-template-columns: 1fr 1fr; } }
.stat-card {
  background: var(--ds-surface); border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-l); padding: 20px;
}
.stat-number { font-family: var(--ds-display); font-size: 32px; font-weight: 700; color: var(--mi-cobalto); }
.stat-label { font-size: 13px; color: var(--ds-text-mute); margin-top: 4px; }
.user-row { display: flex; align-items: center; gap: 16px; padding: 16px; cursor: pointer; border-radius: var(--ds-radius-m); transition: background .2s; }
.user-row:hover { background: rgba(255,255,255,0.03); }

.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-radius: var(--ds-radius-l);
  background: var(--ds-surface); border: 1px solid var(--ds-line);
  text-decoration: none; color: inherit; transition: all .2s ease;
}
.team-card:hover {
  border-color: rgba(0,161,249,0.3); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.team-card-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.team-card-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.team-card-right .user-title-badge { text-align: right; max-width: 130px; line-height: 1.3; }
.team-card-pending { opacity: 0.5; cursor: default; }
.team-card-pending:hover { transform: none; box-shadow: none; border-color: var(--ds-line); }
.team-pending-tag { font-size: 12px; color: var(--ds-text-mute); font-style: italic; }
.team-card .user-avatar { overflow: hidden; }
.team-card .user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mi-cobalto), var(--mi-abismo));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #fff; flex-shrink: 0;
}
.user-info { flex: 1; min-width: 0; }
.user-name { font-weight: 600; font-size: 15px; }
.user-role { font-size: 12px; color: var(--ds-text-mute); }
.user-title-badge { font-size: 12px; color: var(--mi-celeste); }
.mini-radar { width: 80px; height: 80px; flex-shrink: 0; }

.heatmap { margin-top: 40px; }
.heatmap td { text-align: center; font-size: 13px; font-weight: 600; padding: 10px 8px; }
.heatmap .score-high { background: rgba(76,175,80,0.2); color: #66BB6A; }
.heatmap .score-mid { background: rgba(244,179,51,0.15); color: var(--mi-ambar); }
.heatmap .score-low { background: rgba(244,67,54,0.15); color: #EF5350; }

.detail-page { padding: 40px 0 80px; }
.detail-header { margin-bottom: 40px; }
.detail-back { color: var(--ds-text-mute); font-size: 13px; margin-bottom: 16px; display: inline-flex; align-items: center; gap: 6px; }
.detail-back:hover { color: var(--mi-celeste); }
.swot-section { margin-bottom: 48px; }
.swot-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--ds-line); border-radius: var(--ds-radius-l);
  overflow: hidden;
}
@media (max-width: 768px) { .swot-grid { grid-template-columns: 1fr; } }
.swot-card {
  padding: 28px; background: var(--ds-surface);
  display: flex; flex-direction: column;
}
.swot-card h4 {
  margin-bottom: 16px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  display: flex; align-items: center; gap: 8px;
}
.swot-card h4::before {
  content: ''; display: inline-block; width: 8px; height: 8px;
  border-radius: 2px; flex-shrink: 0;
}
.swot-card.strengths h4 { color: #66BB6A; }
.swot-card.strengths h4::before { background: #66BB6A; }
.swot-card.opportunities h4 { color: var(--mi-cobalto); }
.swot-card.opportunities h4::before { background: var(--mi-cobalto); }
.swot-card.weaknesses h4 { color: var(--mi-ambar); }
.swot-card.weaknesses h4::before { background: var(--mi-ambar); }
.swot-card.threats h4 { color: #EF5350; }
.swot-card.threats h4::before { background: #EF5350; }
.swot-item {
  font-size: 14px; color: var(--ds-text-soft); line-height: 1.6;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.swot-item:last-child { border-bottom: none; padding-bottom: 0; }
.swot-empty { opacity: 0.35; font-style: italic; border-bottom: none; }

.alerts-section { margin-bottom: 48px; }
.alerts-list { display: flex; flex-direction: column; gap: 12px; }
.alert-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 24px; border-radius: var(--ds-radius-l);
  background: rgba(239,83,80,0.06);
  border-left: 3px solid #EF5350;
}
.alert-icon { font-size: 18px; color: #EF5350; flex-shrink: 0; margin-top: 1px; }
.alert-text { font-size: 14px; color: var(--ds-text-soft); line-height: 1.6; margin: 0; }

/* Meu Espaço */
.meu-espaco-page {
  padding: 40px 0 80px;
  background:
    radial-gradient(600px 300px at 30% 0%, rgba(0,161,249,0.08), transparent),
    var(--ds-bg);
}
.me-header {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 40px; padding-bottom: 32px;
  border-bottom: 1px solid var(--ds-line);
}
.me-avatar-big {
  width: 88px; height: 88px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0,161,249,0.15), rgba(245,210,58,0.15));
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--ds-line); overflow: hidden;
}
.me-avatar-img { width: 100%; height: 100%; object-fit: cover; }
.me-avatar-placeholder {
  font-size: 36px; font-weight: 700; color: var(--mi-celeste);
  font-family: var(--ds-display);
}
.me-header-info { flex: 1; }
.me-name {
  font-size: 28px; font-weight: 700; margin-bottom: 4px;
  font-family: var(--ds-display);
}
.me-role { font-size: 15px; color: var(--mi-celeste); margin-bottom: 8px; }
.me-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--ds-text-mute);
}

.me-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
@media (max-width: 768px) { .me-grid { grid-template-columns: 1fr; } }

.me-card {
  background: var(--ds-surface); border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-xl); padding: 28px;
}
.me-card-wide { grid-column: 1 / -1; }
.me-card-title {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ds-text-mute);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--ds-line);
}

/* Histórico de testes */
.me-tests-list { display: flex; flex-direction: column; gap: 4px; }
.me-test-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; border-radius: var(--ds-radius-m);
  transition: background .2s; text-decoration: none; color: inherit;
}
.me-test-row:hover { background: rgba(255,255,255,0.03); }
.me-test-rank { flex-shrink: 0; width: 52px; }
.me-test-badge-latest {
  display: inline-block; padding: 3px 10px; border-radius: var(--ds-radius-pill);
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  background: rgba(0,161,249,0.15); color: var(--mi-celeste);
}
.me-test-badge-old {
  display: inline-block; padding: 3px 10px; border-radius: var(--ds-radius-pill);
  font-size: 11px; font-weight: 600; color: var(--ds-text-mute);
  background: rgba(255,255,255,0.04);
}
.me-test-info { flex: 1; min-width: 0; }
.me-test-title { display: block; font-weight: 600; font-size: 15px; color: var(--ds-text); }
.me-test-date { display: block; font-size: 12px; color: var(--ds-text-mute); margin-top: 2px; }
.me-test-seals { font-size: 13px; color: var(--mi-limao); flex-shrink: 0; }
.me-test-scores { display: flex; gap: 4px; flex-shrink: 0; }
.me-test-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.me-test-dot.high { background: #66BB6A; }
.me-test-dot.mid { background: var(--mi-ambar); }
.me-test-dot.low { background: #EF5350; }

.me-empty {
  text-align: center; padding: 32px 0;
  color: var(--ds-text-mute); font-size: 15px;
}
.me-empty .btn { margin-top: 16px; }

/* Avatar picker */
.me-avatar-group { margin-bottom: 24px; }
.me-avatar-group:last-child { margin-bottom: 0; }
.me-avatar-group-label {
  display: block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--ds-text-mute); margin-bottom: 12px;
}
.me-avatar-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
@media (max-width: 768px) { .me-avatar-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .me-avatar-grid { grid-template-columns: repeat(3, 1fr); } }
.me-avatar-option {
  border-radius: var(--ds-radius-l); padding: 8px;
  border: 2px solid var(--ds-line); background: rgba(255,255,255,0.02);
  cursor: pointer; display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  transition: all .2s ease;
}
.me-avatar-thumb {
  width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
}
.me-avatar-thumb img { width: 100%; height: 100%; object-fit: cover; }
.me-avatar-thumb-ph {
  font-size: 22px; font-weight: 700; color: var(--ds-text-mute);
  font-family: var(--ds-display);
}
.me-avatar-option-label {
  font-size: 11px; color: var(--ds-text-mute); font-weight: 500;
}
.me-avatar-option:hover {
  border-color: var(--mi-celeste); background: rgba(0,161,249,0.08);
  transform: translateY(-2px);
}
.me-avatar-option.selected {
  border-color: var(--mi-limao); background: rgba(245,210,58,0.1);
  box-shadow: 0 0 12px rgba(245,210,58,0.2);
}
.me-avatar-option.selected .me-avatar-option-label { color: var(--mi-limao); }

/* Toasts */
.toast {
  padding: 14px 20px; border-radius: var(--ds-radius-m);
  font-size: 14px; font-weight: 500; margin-bottom: 24px;
  animation: toastIn .3s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.toast-success { background: rgba(102,187,106,0.1); border: 1px solid rgba(102,187,106,0.25); color: #66BB6A; }
.toast-error { background: rgba(239,83,80,0.1); border: 1px solid rgba(239,83,80,0.25); color: #EF5350; }

/* Security row */
.me-security-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.me-security-label { font-size: 14px; font-weight: 600; color: var(--ds-text); }
.me-security-hint { font-size: 13px; color: var(--ds-text-mute); margin-top: 2px; letter-spacing: 2px; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(7,7,13,0.7); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; animation: modalFade .2s ease; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  width: 100%; max-width: 420px;
  background: var(--ds-surface); border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-xl); padding: 28px;
  animation: modalUp .25s ease;
}
@keyframes modalUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.modal-header h3 { font-size: 18px; font-weight: 700; }
.modal-close {
  background: none; border: none; color: var(--ds-text-mute);
  font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px;
  transition: color .2s;
}
.modal-close:hover { color: var(--ds-text); }
.modal-actions {
  display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px;
}

/* Onboarding */
.onboarding-page {
  padding: 48px 0 80px;
  background: radial-gradient(800px 400px at 50% 0%, rgba(0,161,249,0.10), transparent 60%), var(--ds-bg);
}
.onboarding-hero { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.onboarding-title { font-size: clamp(28px, 4vw, 40px); font-weight: 700; font-family: var(--ds-display); }
.onboarding-lead { color: var(--ds-text-soft); font-size: 16px; line-height: 1.6; margin-top: 14px; }
.onboarding-pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 44px;
}
.onboarding-pillar {
  display: flex; align-items: center; gap: 12px; padding: 16px;
  background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-l);
}
.onboarding-pillar-num {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,161,249,0.12); color: var(--mi-celeste); font-weight: 700; font-size: 14px;
}
.onboarding-pillar-name { font-weight: 600; font-size: 14px; }
.onboarding-pillar-desc { font-size: 12px; color: var(--ds-text-mute); margin-top: 2px; }
.onboarding-how { max-width: 680px; margin: 0 auto 36px; }
.onboarding-steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.onboarding-steps li {
  position: relative; padding-left: 28px; color: var(--ds-text-soft); line-height: 1.55; font-size: 15px;
}
.onboarding-steps li::before {
  content: '✓'; position: absolute; left: 0; top: 0; color: var(--mi-celeste); font-weight: 700;
}
.onboarding-actions { text-align: center; }
@media (max-width: 900px) { .onboarding-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .onboarding-pillars { grid-template-columns: 1fr; } }

/* Dashboard toolbar + insights + reset */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.team-toolbar { display: flex; gap: 14px; flex-wrap: wrap; }
.toolbar-field { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ds-text-mute); }
.input-sm { padding: 7px 12px; font-size: 13px; width: auto; }
.team-empty-msg { text-align: center; color: var(--ds-text-mute); padding: 24px 0; }

.insights-list { display: flex; flex-direction: column; gap: 10px; }
.insight-card {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 20px; border-radius: var(--ds-radius-l);
  background: var(--ds-surface); border: 1px solid var(--ds-line);
}
.insight-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.insight-text { margin: 0; font-size: 14px; color: var(--ds-text-soft); line-height: 1.55; }
.insight-high { border-left: 3px solid #EF5350; }
.insight-high .insight-dot { background: #EF5350; }
.insight-mid { border-left: 3px solid var(--mi-ambar); }
.insight-mid .insight-dot { background: var(--mi-ambar); }
.insight-good { border-left: 3px solid #66BB6A; }
.insight-good .insight-dot { background: #66BB6A; }

.reset-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: var(--ds-radius-m); }
.reset-row:hover { background: rgba(255,255,255,0.03); }
.reset-name { font-weight: 600; font-size: 14px; }
.reset-meta { font-size: 12px; color: var(--ds-text-mute); margin-top: 2px; }
.reset-temp { background: rgba(0,161,249,0.12); color: var(--mi-celeste); padding: 2px 8px; border-radius: 6px; font-family: var(--ds-mono, monospace); }

.login-forgot { text-align: center; margin-top: 16px; font-size: 13px; }
.login-forgot a { color: var(--ds-text-mute); text-decoration: none; }
.login-forgot a:hover { color: var(--mi-celeste); }

/* Evolution (result page) */
.radar-legend-note { text-align: center; font-size: 12px; color: var(--ds-text-mute); margin-top: 10px; }
.evolution-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  max-width: 600px; margin: 18px auto 0;
}
.evolution-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px; background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-m);
}
.evolution-pillar { font-size: 12px; color: var(--ds-text-mute); }
.evolution-delta { font-size: 14px; font-weight: 700; }
@media (max-width: 600px) { .evolution-grid { grid-template-columns: repeat(2, 1fr); } }

/* Meu Espaço — dados em 2 colunas + avatar compacto */
.me-fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .me-fields-grid { grid-template-columns: 1fr; } }
.me-avatar-summary { display: flex; align-items: center; gap: 16px; }
.me-avatar-preview {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  border: 2px solid var(--ds-line); background: rgba(255,255,255,0.04);
}
.me-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.me-avatar-current-name { font-weight: 600; font-size: 15px; }
.avatar-page-head { margin: 16px 0 28px; }

/* Multi-select chips */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: inline-block; padding: 7px 14px; border-radius: var(--ds-radius-pill);
  background: rgba(255,255,255,0.04); border: 1px solid var(--ds-line);
  font-size: 13px; color: var(--ds-text-soft); transition: all .15s ease;
}
.chip:hover span { border-color: var(--ds-line-strong); }
.chip input:checked + span {
  background: rgba(0,161,249,0.12); border-color: var(--mi-cobalto); color: var(--mi-celeste);
}
.chip input:focus-visible + span { outline: 2px solid var(--mi-celeste); outline-offset: 2px; }

/* Misc */
.input-hint { display: block; font-size: 12px; color: var(--ds-text-mute); margin-top: 6px; }
.result-actions {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px;
}

/* Print / PDF export */
@media print {
  .no-print, .nav-top, .result-actions { display: none !important; }
  /* Keep the dark theme colors in the exported PDF */
  html, body {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    background: var(--ds-bg) !important;
  }
  .result-page { padding: 0 !important; background: var(--ds-bg) !important; }
  .seal-card, .swot-card, .feedback-block, .alert-card, .radar-container {
    break-inside: avoid; page-break-inside: avoid;
  }
  .seals-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .swot-grid { grid-template-columns: 1fr 1fr !important; }
  @page { margin: 1.2cm; }
}
