:root {
  color-scheme: light;
  --forest-950: #0d2e27;
  --forest-900: #123f35;
  --forest-800: #175c4d;
  --forest-700: #1f7460;
  --forest-600: #2b8b73;
  --forest-100: #dcefe9;
  --forest-50: #eef8f5;
  --cream: #f6f2e9;
  --gold: #d7a33d;
  --gold-100: #f7e8c5;
  --ink: #17201d;
  --muted: #64706b;
  --line: #dce3df;
  --surface: #ffffff;
  --danger: #a3433d;
  --shadow-sm: 0 1px 2px rgba(13, 46, 39, 0.05), 0 6px 20px rgba(13, 46, 39, 0.05);
  --shadow-lg: 0 24px 70px rgba(13, 46, 39, 0.13);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #f8faf9;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--forest-950);
  color: white;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(220, 227, 223, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--forest-800);
  color: white;
}
.brand-mark svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.brand strong { display: block; font-size: 14px; line-height: 1.2; letter-spacing: -0.01em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; line-height: 1.2; }

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: 160ms ease;
}
nav a:hover, nav a.active { background: var(--forest-50); color: var(--forest-800); }
.demo-pill {
  justify-self: end;
  padding: 6px 10px;
  border: 1px solid #e8d8b7;
  border-radius: 999px;
  background: #fffaf0;
  color: #805c18;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.demo-pill.internal { border-color: #bad8cf; background: var(--forest-50); color: var(--forest-800); }
.internal-nav-label { padding: 8px 12px; border-radius: 999px; background: var(--forest-950); color: white; font-size: 12px; font-weight: 750; }

main { min-height: calc(100vh - 76px); }
.page { animation: fade-in 260ms ease both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } }

.eyebrow {
  margin: 0 0 12px;
  color: var(--forest-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { letter-spacing: -0.035em; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  align-items: center;
  gap: clamp(34px, 7vw, 100px);
  padding: clamp(56px, 8vw, 110px) clamp(24px, 7vw, 110px);
  background:
    radial-gradient(circle at 80% 15%, rgba(215, 163, 61, 0.17), transparent 32%),
    linear-gradient(145deg, #f7faf8 0%, #eef6f2 56%, #f7f2e8 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(31, 116, 96, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(31, 116, 96, 0.025), 0 0 0 110px rgba(31, 116, 96, 0.018);
}
.hero-copy { position: relative; z-index: 1; max-width: 690px; }
.emoji-line { display: flex; gap: 8px; margin-bottom: 16px; }
.emoji-line span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.86); border-radius: 13px; background: rgba(255,255,255,.72); box-shadow: var(--shadow-sm); font-size: 18px; transform: rotate(-4deg); }
.emoji-line span:nth-child(2) { transform: translateY(-7px) rotate(4deg); }
.emoji-line span:nth-child(3) { transform: rotate(6deg); }
.hero h1 { max-width: 680px; margin: 0; font-size: clamp(42px, 5.4vw, 76px); line-height: 0.98; }
.hero h1 em { color: var(--forest-700); font-family: Georgia, serif; font-weight: 500; }
.hero-title-line { display: inline; }
.hero-lead { max-width: 590px; margin: 25px 0 0; color: #53615c; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.segment-picker { margin-top: 34px; }
.segment-picker-title { margin: 0; font-size: 15px; font-weight: 850; color: #103f63; }
.segment-picker-note { margin: 4px 0 16px; color: var(--muted); font-size: 13px; max-width: 520px; }
.segment-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.segment-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 16px 16px 14px; border: 1px solid color-mix(in srgb, var(--segment-color) 58%, white); border-radius: 16px; background: color-mix(in srgb, var(--segment-color) 8%, white); cursor: pointer; text-align: left; transition: 150ms ease; }
.segment-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--segment-color); }
.segment-card:hover { border-color: var(--segment-color); transform: translateY(-2px); box-shadow: 0 10px 26px color-mix(in srgb, var(--segment-color) 24%, transparent); }
.segment-card:focus-visible { outline: 3px solid color-mix(in srgb, var(--segment-color) 38%, transparent); outline-offset: 2px; }
.segment-emoji { font-size: 26px; line-height: 1; }
.segment-card strong { font-size: 17px; color: var(--segment-ink); }
.segment-card small { color: var(--muted); font-size: 12px; }
.segment-card .segment-go { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--segment-ink); }
@media (max-width: 560px) { .segment-cards { grid-template-columns: 1fr; } }

.grade-switch { display: flex; flex-direction: column; gap: 5px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.grade-switch > span { font-size: 12px; font-weight: 800; color: #103f63; }
.grade-switch > span small { font-weight: 600; color: var(--muted); }
.grade-switch select { min-height: 42px; padding: 0 12px; border: 1px solid #cfe0ec; border-radius: 10px; background: #fafdff; color: var(--ink); font-weight: 700; }
.grade-switch select:focus-visible { outline: 3px solid rgba(21, 95, 145, 0.3); outline-offset: 2px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 750;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .option:focus-within, .score-button:focus-visible, nav a:focus-visible { outline: 3px solid rgba(43, 139, 115, 0.28); outline-offset: 2px; }
.btn-primary { background: var(--forest-800); color: white; box-shadow: 0 9px 24px rgba(23, 92, 77, 0.22); }
.btn-primary:hover { background: var(--forest-900); box-shadow: 0 12px 28px rgba(23, 92, 77, 0.27); }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.78); color: var(--forest-900); }
.btn-secondary:hover { background: white; }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-small { min-height: 38px; padding: 0 14px; border-radius: 9px; font-size: 13px; }
.arrow { font-size: 19px; line-height: 1; }

.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 33px; color: var(--muted); font-size: 13px; }
.trust-row span { display: flex; align-items: center; gap: 7px; }
.trust-row svg { width: 16px; color: var(--forest-700); }

.preview-wrap { position: relative; z-index: 1; }
.hero-art { position: relative; z-index: 1; width: min(650px, 100%); margin: 0 auto; }
.hero-art > img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 8px solid rgba(255,255,255,.78); border-radius: 34px; box-shadow: var(--shadow-lg); transform: rotate(1.2deg); }
.floating-card { position: absolute; display: flex; align-items: center; gap: 10px; max-width: 255px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.9); border-radius: 15px; background: rgba(255,255,255,.92); box-shadow: 0 15px 35px rgba(13,46,39,.15); backdrop-filter: blur(12px); }
.floating-card > span { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 11px; background: var(--forest-100); color: var(--forest-800); font-size: 18px; font-weight: 900; }
.floating-card strong { display: block; font-size: 13px; }
.floating-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.floating-card-top { top: 8%; left: -7%; transform: rotate(-3deg); }
.floating-card-bottom { right: -4%; bottom: 7%; transform: rotate(2deg); }
.preview-card {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  transform: rotate(1.5deg);
}
.preview-card::before {
  content: "";
  position: absolute;
  inset: -12px 20px 20px -14px;
  z-index: -1;
  border-radius: 32px;
  background: var(--forest-800);
  transform: rotate(-4deg);
}
.preview-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 23px; color: var(--muted); font-size: 12px; }
.preview-dots { display: flex; gap: 5px; }
.preview-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.preview-card h3 { margin: 0 0 7px; font-size: 23px; }
.preview-card > p { margin: 0 0 21px; color: var(--muted); font-size: 14px; }
.mini-score { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.mini-score span { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 10px; }
.mini-score span:nth-child(9) { border-color: var(--forest-700); background: var(--forest-100); color: var(--forest-900); font-weight: 800; }
.preview-note { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 13px; border-radius: 12px; background: var(--forest-50); color: var(--forest-900); font-size: 12px; font-weight: 650; }
.preview-note b { display: grid; place-items: center; flex: 0 0 27px; height: 27px; border-radius: 50%; background: var(--forest-800); color: white; }

.survey-shell {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: var(--surface);
}
.survey-aside {
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
  padding: 38px 30px;
  background: var(--forest-950);
  color: white;
}
.survey-aside .eyebrow { color: #8fd1be; }
.survey-aside h2 { margin: 0; font-size: 24px; line-height: 1.15; }
.student-card { display: flex; gap: 11px; align-items: center; margin-top: 28px; padding: 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 13px; background: rgba(255,255,255,.06); }
.avatar { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 12px; background: var(--gold); color: var(--forest-950); font-size: 13px; font-weight: 900; }
.student-card strong { display: block; font-size: 14px; }
.student-card span { display: block; margin-top: 2px; color: rgba(255,255,255,.62); font-size: 11px; }
.side-steps { display: grid; gap: 4px; margin: 34px 0 0; padding: 0; list-style: none; }
.side-steps li { display: flex; align-items: center; gap: 10px; min-height: 38px; color: rgba(255,255,255,.48); font-size: 13px; }
.side-steps i { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; font-style: normal; font-size: 10px; }
.side-steps li.done { color: #9cd6c5; }
.side-steps li.done i { border-color: #79bea9; background: #1f6f5c; }
.side-steps li.active { color: white; font-weight: 750; }
.side-steps li.active i { border-color: var(--gold); background: var(--gold); color: var(--forest-950); }
.aside-foot { margin-top: auto; color: rgba(255,255,255,.48); font-size: 11px; }
.aside-foot b { color: #8fd1be; }

.survey-main { min-width: 0; padding: 0 clamp(24px, 6vw, 86px); background: #f6f9f7; }
.survey-progress { height: 3px; margin: 0 calc(clamp(24px, 6vw, 86px) * -1); background: #edf1ef; }
.survey-progress span { display: block; height: 100%; background: var(--gold); transition: width 260ms ease; }
.survey-content { width: min(920px, 100%); margin: 0 auto; padding: 24px 0 110px; }
.journey-progress { position: sticky; top: 88px; z-index: 20; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 20px; margin-bottom: 34px; padding: 12px 16px; border: 1px solid rgba(211,224,218,.92); border-radius: 15px; background: rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(13,46,39,.08); backdrop-filter: blur(16px); }
.journey-progress-copy { display: flex; align-items: center; gap: 10px; }
.journey-emoji { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--forest-50); font-size: 17px; }
.journey-progress small { display: block; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.journey-progress strong { display: block; margin-top: 1px; font-size: 12px; }
.journey-progress > b { color: var(--forest-700); font-size: 14px; }
.journey-track { grid-column: 1 / -1; height: 4px; overflow: hidden; border-radius: 999px; background: #e9efec; }
.journey-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), #f2c968); transition: width 220ms ease; }
.question-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; color: var(--forest-700); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.scope-tag { padding: 4px 7px; border-radius: 7px; background: var(--forest-50); letter-spacing: 0; text-transform: none; }
.scope-tag.school { background: #f8f1e3; color: #7b5a1c; }
.survey-content h1 { max-width: 720px; margin: 0; font-size: clamp(31px, 4vw, 48px); line-height: 1.08; }
.survey-intro { max-width: 680px; margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.form-section { margin-top: 38px; }
.form-section + .form-section { padding-top: 34px; border-top: 1px solid var(--line); }
.form-section > label, .question-label { display: block; margin-bottom: 14px; font-size: 17px; font-weight: 750; letter-spacing: -0.015em; }
.question-explainer { display: block; max-width: 760px; margin: -7px 0 15px; color: var(--muted); font-size: 12px; font-weight: 450; line-height: 1.55; }
.required { color: var(--danger); }
.helper { margin: -7px 0 15px; color: var(--muted); font-size: 13px; }
.metric-hint { display: inline-flex; align-items: center; margin-bottom: 8px; padding: 4px 8px; border-radius: 7px; background: var(--forest-50); color: var(--forest-700); font-size: 10px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }

.essential-welcome { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: end; gap: 24px; margin-bottom: 22px; }
.welcome-card.compact { margin: 0; }
.welcome-card.compact .welcome-student { position: relative; padding: 16px; }
.confirmed-chip { margin-left: auto; padding: 5px 8px; border-radius: 7px; background: var(--forest-50); color: var(--forest-700); font-size: 9px; font-weight: 800; white-space: nowrap; }
.scale-guide { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.scale-guide > span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--muted); font-size: 11px; }
.scale-guide strong { color: var(--ink); }
.question-panel { margin-top: 18px; padding: clamp(20px, 4vw, 34px); border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow-sm); }
.question-panel.accent-panel { border-color: #cce3dc; background: linear-gradient(150deg, #fff 0%, #f1faf6 100%); }
.question-panel.soft-panel { background: linear-gradient(150deg, #fff 0%, #fffaf0 100%); }
.section-heading { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 8px; }
.section-heading .section-emoji { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 15px; background: var(--forest-50); font-size: 23px; }
.section-heading h2 { margin: 5px 0 2px; font-size: 24px; line-height: 1.1; }
.section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.question-panel .form-section { margin-top: 29px; }
.question-panel .form-section + .form-section { padding-top: 28px; }

.emoji-rating { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.emoji-rate-button { min-width: 0; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px; border: 1px solid var(--line); border-radius: 13px; background: white; cursor: pointer; transition: 150ms ease; }
.emoji-rate-button > span { font-size: 25px; filter: grayscale(.2); transition: 150ms ease; }
.emoji-rate-button > strong { font-size: 13px; }
.emoji-rate-button > small { color: var(--muted); font-size: 9px; }
.emoji-rate-button:hover { border-color: var(--forest-600); transform: translateY(-2px); }
.emoji-rate-button:hover > span { filter: grayscale(0); transform: scale(1.08); }
.emoji-rate-button.selected { border-color: var(--forest-700); background: var(--forest-50); box-shadow: 0 0 0 1px var(--forest-700); }
.emoji-rate-button.selected > span { filter: grayscale(0); }

.registered-services { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 24px; }
.registered-service { display: flex; align-items: center; gap: 11px; padding: 14px; border: 1px solid #cfe4dd; border-radius: 14px; background: var(--forest-50); }
.registered-service > span { display: grid; place-items: center; flex: 0 0 39px; height: 39px; border-radius: 12px; background: white; font-size: 21px; }
.registered-service strong, .registered-service small { display: block; }
.registered-service strong { font-size: 13px; }
.registered-service small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.registered-service > b { margin-left: auto; color: var(--forest-700); }
.mini-services { margin-top: 5px !important; letter-spacing: 3px; }

.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.option-grid.one { grid-template-columns: 1fr; }
.option { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 52px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px; background: white; cursor: pointer; transition: 140ms ease; }
.option:hover { border-color: #a9c9bf; background: #fbfdfc; }
.option input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--forest-700); }
.option:has(input:checked) { border-color: var(--forest-700); background: var(--forest-50); box-shadow: 0 0 0 1px var(--forest-700); }
.option strong { display: block; font-size: 14px; }
.option small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }

.score-wrap { max-width: 100%; margin-top: 12px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; scrollbar-color: #c8d8d2 transparent; }
.score-row { display: grid; grid-template-columns: repeat(11, minmax(36px, 1fr)); gap: 7px; }
.score-button { min-width: 0; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 10px; background: white; cursor: pointer; font-weight: 750; transition: 130ms ease; }
.score-button:hover { border-color: var(--forest-600); color: var(--forest-800); transform: translateY(-1px); }
.score-button.selected { border-color: var(--forest-700); background: var(--forest-800); color: white; box-shadow: 0 6px 14px rgba(23,92,77,.2); }
.score-hints { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 11px; }

.rating-table { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.rating-row { display: grid; grid-template-columns: minmax(180px, 1fr) auto; align-items: center; gap: 18px; padding: 13px 15px; }
.rating-row + .rating-row { border-top: 1px solid var(--line); }
.rating-row > span { display: block; font-size: 13px; }
.rating-row > span strong { display: block; font-weight: 700; }
.rating-row > span em { display: block; max-width: 520px; margin-top: 3px; color: var(--muted); font-size: 10.5px; font-weight: 450; line-height: 1.45; }
.rating-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.rating-buttons button { width: auto; min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: white; cursor: pointer; font-size: 11px; font-weight: 700; white-space: nowrap; }
.rating-buttons button.selected { border-color: var(--forest-700); background: var(--forest-700); color: white; }
.rating-buttons button.not-known { margin-left: 5px; border-style: dashed; color: var(--muted); }
.rating-buttons button.not-known.selected { color: white; }

.concept-switcher { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; color: var(--muted); font-size: 10px; }
.concept-switcher button { padding: 6px 9px; border: 1px solid var(--line); border-radius: 99px; background: white; color: var(--muted); cursor: pointer; font-size: 10px; font-weight: 700; }
.concept-switcher button.active { border-color: var(--forest-700); background: var(--forest-700); color: white; }
.concept-switcher a { margin-left: auto; color: var(--forest-700); font-weight: 800; }
.concept-story { position: relative; min-height: 220px; overflow: hidden; display: flex; align-items: end; margin: 18px 0; border-radius: 22px; box-shadow: var(--shadow-sm); }
.concept-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,43,35,.88), rgba(7,43,35,.08) 72%); }
.concept-story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.concept-story div { position: relative; z-index: 1; width: min(430px, 75%); padding: 26px; color: white; }
.concept-story small, .concept-story strong, .concept-story span { display: block; }
.concept-story small { color: #f6d573; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.concept-story strong { margin: 5px 0; font-size: 24px; }
.concept-story span { color: rgba(255,255,255,.82); font-size: 12px; line-height: 1.5; }

.pedagogy-feature { overflow: hidden; display: grid; grid-template-columns: 1fr 300px; align-items: stretch; margin: 26px 0 8px; border: 1px solid #cfe3dd; border-radius: 20px; background: var(--forest-50); }
.pedagogy-feature > div { padding: 28px; }
.pedagogy-feature span { color: var(--forest-700); font-size: 11px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.pedagogy-feature h2 { margin: 8px 0; font-size: 25px; line-height: 1.12; }
.pedagogy-feature p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.pedagogy-feature img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; }
.english-feature { display: flex; align-items: center; gap: 20px; margin-top: 38px; padding: 20px; border-radius: 18px; background: linear-gradient(135deg,#eaf5ff,#f2fbf7); }
.english-badge { display: grid; place-items: center; flex: 0 0 98px; height: 78px; border-radius: 20px 7px 20px 7px; background: #2f79b8; color: white; font-size: 15px; font-weight: 950; transform: rotate(-2deg); }
.english-feature h2 { margin: 3px 0; font-size: 21px; }
.english-feature p { margin: 0; color: var(--muted); font-size: 12px; }
.service-detail-box { margin-top: 24px; padding: 4px 24px 24px; border: 1px solid var(--line); border-radius: 22px; background: white; }
.transport-box { border-top: 5px solid #e7b43d; }
.integral-box { border-top: 5px solid #4aa485; }
.role-legend { display: grid; grid-template-columns: minmax(180px, 1fr) 320px; align-items: end; gap: 18px; margin: 2px 0 10px; padding: 0 15px; color: var(--muted); text-align: center; }
.role-legend-scale { display: grid; grid-template-columns: repeat(5, 60px); gap: 5px; align-items: end; }
.role-legend-scale > span { display: grid; justify-items: center; gap: 2px; min-width: 0; }
.role-legend-scale b { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid color-mix(in srgb, var(--theme-mid, var(--forest-600)) 22%, white); border-radius: 14px; background: white; box-shadow: 0 5px 14px rgba(25,47,61,.07); font-size: 22px; line-height: 1; }
.role-legend-scale small { font-size: 8px; font-weight: 750; line-height: 1.15; white-space: nowrap; }
.role-legend-scale .role-school { grid-column: 1; }
.role-legend-scale .role-shared { grid-column: 3; }
.role-legend-scale .role-family { grid-column: 5; }
.role-matrix .rating-buttons { display: grid; grid-template-columns: repeat(5, 60px); gap: 5px; }
.role-matrix .rating-buttons button { width: 60px; min-width: 60px; height: 42px; padding: 0; border-radius: 13px; font-size: 11px; line-height: 1.05; }
.final-report-panel textarea { min-height: 220px; }

.visual-lab { padding: 72px clamp(20px,5vw,72px) 90px; background: #f6f9f7; }
.visual-lab-head { width: min(780px,100%); margin-bottom: 34px; }
.visual-lab-head h1 { margin: 0; font-size: clamp(36px,5vw,64px); line-height: 1.02; }
.visual-lab-head > p:last-child { color: var(--muted); font-size: 17px; }
.proposal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.proposal-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow-sm); }
.proposal-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.proposal-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.proposal-card:hover .proposal-image img { transform: scale(1.025); }
.proposal-image span { position: absolute; top: 14px; left: 14px; padding: 6px 9px; border-radius: 99px; background: rgba(255,255,255,.9); color: var(--forest-900); font-size: 10px; font-weight: 850; }
.proposal-copy { padding: 22px; }
.proposal-copy small { color: var(--forest-700); font-weight: 800; text-transform: uppercase; }
.proposal-copy h2 { margin: 7px 0; font-size: 25px; }
.proposal-copy p { min-height: 58px; margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.identity-note { display: flex; gap: 16px; margin-top: 24px; padding: 20px; border-radius: 18px; background: var(--forest-950); color: white; }
.identity-note > span { font-size: 28px; }
.identity-note p { margin: 4px 0 0; color: rgba(255,255,255,.68); font-size: 12px; }

.concept-caminhos .survey-main { background: #fbf7ef; }
.concept-caminhos .question-panel { border-radius: 30px 14px 30px 14px; }
.concept-caminhos .survey-aside { background: #174f44; }
.concept-caderno .survey-main { background-color: #f7f0e4; background-image: linear-gradient(rgba(22,92,77,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(22,92,77,.035) 1px,transparent 1px); background-size: 24px 24px; }
.concept-caderno .question-panel { border-radius: 12px; box-shadow: 5px 6px 0 #eadfc9; }
.concept-caderno .section-emoji { transform: rotate(-3deg); }

textarea, select, .text-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  outline: 0;
  transition: 140ms ease;
}
textarea { min-height: 130px; padding: 14px 15px; resize: vertical; }
select, .text-input { height: 50px; padding: 0 14px; }
textarea:focus, select:focus, .text-input:focus { border-color: var(--forest-700); box-shadow: 0 0 0 3px rgba(43,139,115,.14); }

.info-box { display: flex; gap: 13px; margin-top: 28px; padding: 16px 17px; border: 1px solid #d6e8e2; border-radius: 13px; background: var(--forest-50); color: #31564c; font-size: 13px; }
.info-box.gold { border-color: #eadab7; background: #fffbf2; color: #6f5726; }
.info-icon { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--forest-100); color: var(--forest-800); font-weight: 900; }
.gold .info-icon { background: var(--gold-100); color: #7b5a1c; }
.survey-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); }

.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.choice-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: white; cursor: pointer; text-align: left; transition: 150ms ease; }
.choice-card:hover { border-color: var(--forest-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.choice-card.selected { border-color: var(--forest-700); box-shadow: 0 0 0 1px var(--forest-700); background: var(--forest-50); }
.choice-card .choice-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 13px; background: var(--forest-100); color: var(--forest-800); font-size: 20px; }
.choice-card h3 { margin: 0 0 7px; font-size: 18px; }
.choice-card p { margin: 0; color: var(--muted); font-size: 13px; }
.choice-card.recommended { position: relative; border-color: #b9dacd; }
.choice-badge { position: absolute; right: 14px; top: 14px; padding: 5px 8px; border-radius: 7px; background: var(--gold-100); color: #765516; font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }

/* Tela isolada para validar o ranking de expectativas do Ensino Médio. */
.em-priority-lab { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 60px 0 90px; }
.em-preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 22px; }
.em-preview-head h1 { max-width: 760px; margin: 0; color: #103f63; font-size: clamp(36px, 5vw, 58px); line-height: 1.03; }
.em-preview-head > div > p:last-child { max-width: 700px; margin: 18px 0 0; color: var(--muted); }
.em-preview-badge { flex: 0 0 auto; padding: 8px 12px; border: 1px solid #e5d6b6; border-radius: 999px; background: #fffaf0; color: #73561f; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.em-priority-question { margin-top: 22px; padding: clamp(22px, 4vw, 38px); border: 1px solid #d9e3ea; border-radius: 24px; background: #fff; box-shadow: var(--shadow-sm); }
.em-priority-question.complete { border-color: #9bcbbb; }
.em-question-head { display: grid; grid-template-columns: 52px 1fr; gap: 17px; align-items: start; }
.em-question-number { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; background: #eaf5fb; color: #155f91; font-size: 16px; font-weight: 900; }
.em-question-head .question-kicker { margin: 0 0 5px; }
.em-question-head h2 { max-width: 760px; margin: 0; color: #103f63; font-size: clamp(23px, 3vw, 32px); line-height: 1.14; }
.em-question-head > div > p:last-child { max-width: 760px; margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.em-ranking-instruction { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; margin: 25px 0 14px; padding: 11px 13px; border-radius: 13px; background: #f2f8fc; color: #103f63; }
.em-ranking-instruction > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #155f91; color: #fff; font-weight: 900; }
.em-priority-question.complete .em-ranking-instruction { background: #eef8f5; color: var(--forest-900); }
.em-priority-question.complete .em-ranking-instruction > span { background: var(--forest-700); }
.em-ranking-instruction strong, .em-ranking-instruction small { display: block; }
.em-ranking-instruction small { margin-top: 1px; color: var(--muted); font-size: 11px; }
.em-ranking-instruction > b { font-size: 13px; }
.em-priority-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.em-priority-option { position: relative; overflow: hidden; min-height: 112px; border: 1px solid #d9e3ea; border-radius: 15px; background: #fafdff; transition: 150ms ease; }
.em-priority-option:hover { border-color: #69a9ce; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(21,95,145,.1); }
.em-priority-option.selected { border-color: #155f91; background: #eaf5fb; box-shadow: 0 0 0 1px #155f91; }
.em-option-main { position: relative; display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: 11px; width: 100%; min-height: 110px; padding: 16px; border: 0; background: transparent; cursor: pointer; text-align: left; }
.em-priority-rank { position: absolute; top: 9px; right: 9px; display: none; place-items: center; width: 31px; height: 25px; border-radius: 8px; background: #155f91; color: white; font-size: 11px; font-weight: 900; }
.em-priority-option.selected .em-priority-rank { display: grid; }
.em-priority-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: white; font-size: 20px; box-shadow: 0 2px 8px rgba(16,63,99,.07); }
.em-priority-copy { min-width: 0; padding-right: 16px; }
.em-priority-copy strong, .em-priority-copy small { display: block; }
.em-priority-copy strong { color: #103f63; font-size: 14px; line-height: 1.25; }
.em-priority-copy small { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.em-order-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 12px 12px; }
.em-order-controls button { min-height: 34px; border: 1px solid #b9d2e3; border-radius: 9px; background: white; color: #45657b; cursor: pointer; font-size: 11px; font-weight: 850; }
.em-order-controls button:hover { border-color: #155f91; color: #103f63; }
.em-order-controls button.active { border-color: #155f91; background: #155f91; color: white; box-shadow: 0 3px 9px rgba(21,95,145,.2); }
.em-cancel-choice { width: calc(100% - 24px); min-height: 30px; margin: -4px 12px 12px; border: 0; border-radius: 8px; background: transparent; color: #8b4a4a; cursor: pointer; font-size: 10px; font-weight: 750; }
.em-cancel-choice:hover { background: #fff; color: #a33030; }
.em-preview-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 22px; border-radius: 18px; background: #eef8f5; }
.em-preview-footer strong { color: var(--forest-900); }
.em-preview-footer p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.em-survey-block { margin-top: 38px; padding-top: 10px; border-top: 1px solid var(--line); }
.em-survey-intro { margin-top: 20px; background: #f8fbfd; }
.em-survey-block .em-priority-question { box-shadow: none; }
.grade9-intention-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.grade9-intention-option { display: flex; align-items: center; gap: 11px; min-height: 68px; padding: 14px; border: 1px solid #d9e3ea; border-radius: 14px; background: #fafdff; color: #103f63; cursor: pointer; text-align: left; }
.grade9-intention-option > span { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 9px; background: #eaf5fb; color: #155f91; font-weight: 900; }
.grade9-intention-option > strong { font-size: 13px; line-height: 1.3; }
.grade9-intention-option:hover { border-color: #69a9ce; }
.grade9-intention-option.selected { border-color: var(--forest-700); background: var(--forest-50); box-shadow: 0 0 0 1px var(--forest-700); }
.grade9-intention-option.selected > span { background: var(--forest-700); color: #fff; }
.grade9-open textarea { min-height: 140px; margin-top: 24px; }
.detail-invite { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr); align-items: center; gap: 32px; }
.detail-invite-art { overflow: hidden; border-radius: 22px; box-shadow: var(--shadow-lg); transform: rotate(-1.2deg); }
.detail-invite-art img { display: block; width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.detail-invite-copy h1 { font-size: clamp(31px, 4vw, 45px); }
.detail-choices { margin-top: 28px; }

.poliedro-panel { border-color: #d9e2f2; background: linear-gradient(150deg, #fff 0%, #f5f8ff 100%); }
.poliedro-heading { align-items: center; }
.poliedro-brand { flex: 0 0 178px; padding: 12px 14px; border: 1px solid #dce5eb; border-radius: 14px; background: white; }
.poliedro-brand img { display: block; width: 100%; height: auto; }
.isaac-heading { align-items: center; }
.isaac-brand { flex: 0 0 128px; padding: 16px 18px; border: 1px solid #dce5eb; border-radius: 14px; background: white; }
.isaac-brand img { display: block; width: 100%; height: auto; }
.feeling-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.feeling-button { min-height: 86px; display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: white; cursor: pointer; text-align: left; transition: 150ms ease; }
.feeling-button > span { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 12px; background: #f5f7fb; font-size: 21px; }
.feeling-button > strong { font-size: 12px; }
.feeling-button:hover { border-color: var(--forest-600); transform: translateY(-1px); }
.feeling-button.selected { border-color: var(--forest-700); background: var(--forest-50); box-shadow: 0 0 0 1px var(--forest-700); }
.conditional-field { display: block; margin-top: 16px; }
.conditional-field > span { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }
.conditional-field small { color: var(--muted); font-weight: 450; }

.contribution-area { margin-top: 34px; padding-top: 32px; border-top: 1px solid var(--line); }
.contribution-heading { display: flex; align-items: flex-start; gap: 13px; }
.contribution-heading > span { display: grid; place-items: center; flex: 0 0 45px; height: 45px; border-radius: 14px; background: var(--gold-100); font-size: 22px; }
.contribution-heading .question-kicker { margin: 0 0 4px; }
.contribution-heading h2 { margin: 0; font-size: 22px; }
.contribution-heading p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.contribution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 18px; }
.contribution-card { padding: 20px; border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: var(--shadow-sm); }
.contribution-card.recognition { border-color: #eadab7; background: #fffdf7; }
.contribution-card.improvement { border-color: #cfe4dd; background: #f8fcfa; }
.contribution-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; background: white; font-size: 20px; box-shadow: var(--shadow-sm); }
.contribution-card h3 { margin: 13px 0 4px; font-size: 17px; }
.contribution-card > p { min-height: 40px; margin: 0 0 16px; color: var(--muted); font-size: 11px; }
.contribution-card label { display: block; margin-top: 12px; font-size: 11px; font-weight: 700; }
.contribution-card label small { color: var(--muted); font-weight: 450; }
.contribution-card textarea { min-height: 96px; margin-top: 7px; }
.contribution-card .text-input { margin-top: 7px; }
.contribution-list { display: grid; gap: 12px; }
.contribution-entry { padding: 13px; border: 1px solid rgba(28,78,66,.13); border-radius: 13px; background: rgba(255,255,255,.8); }
.entry-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.entry-top strong { color: var(--forest-700); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.entry-top button { border: 0; background: transparent; color: #a04f4f; cursor: pointer; font-size: 10px; font-weight: 700; }
.contribution-card .add-item-button { margin-top: 14px; }

.custom-items { margin-top: 14px; }
.custom-item { display: grid; grid-template-columns: 1fr 38px; gap: 7px; margin-bottom: 8px; }
.custom-item button { border: 1px solid #ead7d7; border-radius: 10px; background: #fff7f7; color: #a04f4f; cursor: pointer; font-size: 20px; }
.add-item-button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 13px; border: 1px dashed #86b7a8; border-radius: 11px; background: var(--forest-50); color: var(--forest-800); cursor: pointer; font-size: 11px; font-weight: 800; }
.add-item-button span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--forest-700); color: white; font-size: 16px; }
.add-item-button:disabled { opacity: .45; cursor: not-allowed; }
.custom-items .helper { margin: 8px 0 0; }
.option:has(input:disabled) { opacity: .42; cursor: not-allowed; }
.exclusive-option { grid-column: 1 / -1; border-style: dashed; }

.teacher-context { display: flex; align-items: center; gap: 17px; margin-top: 42px; padding: 21px; border: 1px solid #d8e7e2; border-radius: 18px; background: white; }
.teacher-context > span { display: grid; place-items: center; flex: 0 0 55px; height: 55px; border-radius: 17px; background: var(--forest-50); font-size: 27px; }
.teacher-context .question-kicker { margin: 0 0 3px; }
.teacher-context h2 { margin: 0; font-size: 22px; }
.teacher-context p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 12px; }

.rating-capsule { overflow: hidden; margin-top: 14px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow-sm); }
.rating-capsule summary { display: grid; grid-template-columns: 110px 1fr 34px; align-items: center; gap: 16px; min-height: 92px; padding: 10px; cursor: pointer; list-style: none; }
.rating-capsule summary::-webkit-details-marker, .integral-topic summary::-webkit-details-marker { display: none; }
.rating-capsule summary img { width: 110px; height: 72px; border-radius: 12px; object-fit: cover; }
.rating-capsule summary small, .rating-capsule summary strong, .rating-capsule summary em { display: block; }
.rating-capsule summary small { color: var(--forest-700); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.rating-capsule summary strong { margin: 2px 0; font-size: 16px; }
.rating-capsule summary em { color: var(--muted); font-size: 10px; font-style: normal; }
.rating-capsule summary > b, .integral-topic summary > b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--forest-50); color: var(--forest-700); font-size: 18px; transition: transform .2s ease; }
.rating-capsule[open] summary > b, .integral-topic[open] summary > b { transform: rotate(45deg); }
.capsule-content { padding: 0 16px 17px; }
.capsule-content .form-section { margin-top: 6px; }
.capsule-content .form-section > .question-label { font-size: 12px; }
.improvement-detail { margin-top: 26px; box-shadow: none; }

.integral-topics { margin-top: 24px; }
.integral-topic { overflow: hidden; margin-top: 10px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.integral-topic summary { display: grid; grid-template-columns: 42px 1fr 30px; align-items: center; gap: 12px; min-height: 70px; padding: 12px 14px; cursor: pointer; list-style: none; }
.integral-topic summary > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--forest-50); font-size: 20px; }
.integral-topic summary strong, .integral-topic summary em { display: block; }
.integral-topic summary strong { font-size: 14px; }
.integral-topic summary em { margin-top: 2px; color: var(--muted); font-size: 10px; font-style: normal; }
.integral-topic-rating { padding: 0 14px 14px; }
.integral-topic-rating .form-section { margin-top: 4px; }
.role-scale { flex-wrap: nowrap; }
.role-scale button { min-width: 38px !important; border-radius: 50%; }
.role-helper { margin-top: -6px; }

.welcome-card { max-width: 650px; margin-top: 31px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow-sm); }
.welcome-student { display: flex; align-items: center; gap: 15px; padding: 20px; }
.welcome-student .avatar { width: 48px; height: 48px; }
.welcome-student h3 { margin: 0; font-size: 17px; }
.welcome-student p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.welcome-meta { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: #fbfcfb; }
.welcome-meta div { padding: 13px 20px; }
.welcome-meta div + div { border-left: 1px solid var(--line); }
.welcome-meta small { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .07em; }
.welcome-meta strong { display: block; margin-top: 3px; font-size: 12px; }

.done-wrap { max-width: 650px; text-align: center; }
.done-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 23px; background: var(--forest-100); color: var(--forest-800); font-size: 34px; }
.celebration-row { display: flex; justify-content: center; gap: 12px; margin-bottom: 12px; font-size: 24px; }
.celebration-row span:nth-child(2) { transform: translateY(-9px); }
.done-wrap h1 { margin-inline: auto; }
.done-wrap .survey-intro { margin-inline: auto; }
.sibling-card { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: white; text-align: left; }
.sibling-card .btn { margin-left: auto; }
.sibling-card h3 { margin: 0; font-size: 15px; }
.sibling-card p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }

.dashboard { min-height: calc(100vh - 76px); padding: 38px clamp(20px, 4vw, 64px) 80px; background: #f3f6f4; }
.role-gate { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 48px 20px; background: radial-gradient(circle at 50% 0, rgba(43,139,115,.12), transparent 42%), #f4f8f6; }
.role-gate.internal { background: radial-gradient(circle at 50% 0, rgba(215,163,61,.16), transparent 42%), #f4f8f6; }
.role-gate-card { width: min(610px, 100%); padding: clamp(28px, 5vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow-lg); text-align: center; }
.role-gate-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 20px; background: var(--forest-100); font-size: 29px; }
.role-gate h1 { margin: 0; font-size: clamp(31px, 5vw, 46px); line-height: 1.05; }
.role-gate-card > p:not(.eyebrow) { margin: 18px auto 0; color: var(--muted); }
.role-gate-card > .btn { margin: 26px 5px 0; }
.role-gate .info-box { text-align: left; }
.dash-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.dash-top h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); }
.dash-top p { margin: 8px 0 0; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--muted); font-size: 12px; font-weight: 700; }
.filter select { width: auto; height: 30px; padding: 0 21px 0 0; border: 0; background: transparent; font-size: 12px; font-weight: 750; }
.dash-note { display: flex; align-items: center; gap: 9px; margin-top: 24px; padding: 11px 14px; border: 1px solid #e5d6b6; border-radius: 11px; background: #fffaf0; color: #73561f; font-size: 12px; }
.dash-note b { padding: 3px 6px; border-radius: 5px; background: var(--gold-100); font-size: 10px; text-transform: uppercase; }
.dash-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dash-tab { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); font-weight: 750; font-size: 13px; cursor: pointer; transition: 140ms ease; }
.dash-tab:hover { border-color: #155f91; color: #103f63; }
.dash-tab.active { border-color: #155f91; background: #155f91; color: white; }
.dash-tab:focus-visible { outline: 3px solid rgba(21, 95, 145, 0.3); outline-offset: 2px; }
.crit-list { display: grid; gap: 11px; margin-top: 14px; }
.crit-row { display: grid; grid-template-columns: minmax(130px, 200px) 1fr 38px; align-items: center; gap: 12px; font-size: 12px; }
.crit-row strong { text-align: right; font-size: 13px; }
.dash-foot-note { margin: 12px 0 0; padding: 10px 13px; border-left: 3px solid #cfe0ec; border-radius: 0 9px 9px 0; background: #f2f8fc; color: var(--muted); font-size: 12px; }
.dash-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 18px; }
.dash-breadcrumb .crumb { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); font-size: 12px; font-weight: 750; cursor: pointer; }
.dash-breadcrumb .crumb:hover { border-color: #155f91; color: #103f63; }
.dash-breadcrumb .crumb.current { border-color: #155f91; background: #eaf5fb; color: #103f63; cursor: default; }
.crumb-sep { color: var(--muted); font-size: 12px; }
.matrix-scroll { margin-top: 14px; overflow-x: auto; }
.cut-matrix { width: 100%; border-collapse: collapse; font-size: 12px; }
.cut-matrix th, .cut-matrix td { padding: 7px 9px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.cut-matrix td:first-child, .cut-matrix th:first-child { text-align: left; font-weight: 700; color: var(--ink); position: sticky; left: 0; background: white; }
.cut-matrix thead th button { display: inline-flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 12px; border: 1px solid #cfe0ec; border-radius: 9px; background: #fafdff; color: #103f63; font-weight: 800; font-size: 12px; cursor: pointer; }
.cut-matrix thead th button:hover { border-color: #155f91; background: #eaf5fb; }
.cut-matrix thead th button small { color: var(--muted); font-weight: 600; font-size: 10px; }
.cut-matrix td.heat-good { background: #e7f4ea; color: #1e6b34; font-weight: 800; }
.cut-matrix td.heat-mid { background: #fcf3dd; color: #8a6414; font-weight: 800; }
.cut-matrix td.heat-low { background: #fdeaea; color: #a33030; font-weight: 800; }
.cut-matrix td.heat-locked { background: #f2f4f6; color: var(--muted); }
.gap-legend { display: flex; align-items: center; gap: 16px; margin-top: 14px; font-size: 11px; color: var(--muted); }
.gap-legend i { display: inline-block; width: 18px; height: 8px; margin-right: 5px; border-radius: 4px; background: var(--forest-600); vertical-align: middle; }
.gap-legend i.detractor { background: #c4453f; }
.gap-legend .gap-delta-label { margin-left: auto; font-weight: 800; }
.gap-list { display: grid; gap: 12px; margin-top: 10px; }
.gap-row { display: grid; grid-template-columns: minmax(140px, 200px) 1fr 42px; align-items: center; gap: 12px; font-size: 12px; }
.gap-bars { display: grid; gap: 3px; }
.gap-bar { position: relative; display: flex; align-items: center; gap: 7px; }
.gap-bar i { display: block; height: 9px; border-radius: 5px; background: var(--forest-600); }
.gap-bar i.detractor { background: #c4453f; }
.gap-bar b { font-size: 11px; color: var(--muted); }
.gap-delta { text-align: right; color: #a33030; font-size: 13px; }
.pattern-list { display: grid; gap: 10px; margin-top: 14px; }
.pattern-item { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; background: #fafdff; }
.pattern-item > span { font-size: 21px; }
.pattern-item div { flex: 1; }
.pattern-item strong { display: block; font-size: 13px; }
.pattern-item small { color: var(--muted); font-size: 12px; }
.pattern-strength { padding: 4px 9px; border-radius: 999px; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.pattern-strength.high { background: #fdeaea; color: #a33030; }
.pattern-strength.mid { background: #fcf3dd; color: #8a6414; }
.pattern-strength.low { background: #eef2f5; color: var(--muted); }
.nps-stack-wrap { flex: 1; min-width: 0; }
.nps-stack-bar { display: flex; width: 100%; height: 28px; border-radius: 9px; overflow: hidden; }
.nps-stack-bar span { display: flex; align-items: center; justify-content: center; min-width: 0; color: white; font-size: 11px; font-weight: 850; transition: width 300ms ease; }
.stack-promoter { background: #2b8b73; }
.stack-passive { background: #dfa32c; }
.stack-detractor { background: #c4453f; }
.nps-stack-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 9px; font-size: 11px; color: var(--muted); font-weight: 750; }
.nps-stack-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; border-radius: 3px; vertical-align: -1px; }
.nps-seg-list { display: grid; gap: 12px; margin-top: 4px; }
.nps-seg-row { display: grid; grid-template-columns: minmax(92px, 120px) 40px 1fr; align-items: center; gap: 10px; font-size: 12px; }
.nps-seg-row > b { text-align: right; font-size: 13.5px; }
.nps-seg-row .nps-stack-bar { height: 22px; }
.nps-seg-row .nps-stack-bar span { font-size: 10px; }
.radar-wrap { display: flex; justify-content: center; margin-top: 10px; }
.radar-svg { width: 100%; max-width: 360px; height: auto; }
.radar-axis-label { font-size: 10.5px; font-weight: 750; fill: #28323c; }
.radar-ring-label { font-size: 8px; fill: #9aa7ad; }
.radar-value-label { font-size: 9.5px; font-weight: 800; fill: #103f63; }
.radar-legend { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 12px; font-size: 12px; color: var(--muted); font-weight: 700; }
.radar-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 5px; border-radius: 4px; vertical-align: -1px; }
.radar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 14px; }
.radar-mini { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fafdff; }
.radar-mini figcaption { margin-bottom: 4px; font-size: 13px; font-weight: 800; color: #103f63; text-align: center; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.metric-card { position: relative; overflow: hidden; padding: 21px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow-sm); }
.metric-card::after { content: ""; position: absolute; right: -20px; bottom: -29px; width: 85px; height: 85px; border-radius: 50%; background: var(--forest-50); }
.metric-label { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.metric-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--forest-600); }
.metric-value { position: relative; z-index: 1; margin-top: 13px; font-size: 34px; font-weight: 800; letter-spacing: -0.05em; }
.metric-delta { position: relative; z-index: 1; margin-top: 5px; color: var(--forest-700); font-size: 11px; font-weight: 700; }
.metric-delta.neutral { color: var(--muted); }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 14px; margin-top: 14px; }
.dash-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow-sm); }
.dash-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 23px; }
.dash-card h2 { margin: 0; font-size: 17px; }
.dash-card-header p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.badge { padding: 5px 8px; border-radius: 7px; background: var(--forest-50); color: var(--forest-700); font-size: 10px; font-weight: 800; }
.nps-display { display: grid; grid-template-columns: 125px 1fr; align-items: center; gap: 30px; }
.nps-number { display: grid; place-items: center; width: 120px; height: 120px; border: 12px solid var(--forest-100); border-top-color: var(--forest-600); border-radius: 50%; font-size: 35px; font-weight: 850; color: var(--forest-800); }
.bar-track { height: 8px; overflow: hidden; border-radius: 999px; background: #eef1ef; }
.bar-fill { height: 100%; border-radius: inherit; background: var(--forest-600); }
.bar-fill.passive { background: var(--gold); }
.bar-fill.detractor { background: #bf6962; }
.segment-list, .priority-list { display: grid; gap: 14px; }
.segment-row { display: grid; grid-template-columns: 120px 1fr 34px; align-items: center; gap: 12px; font-size: 11px; }
.segment-row strong { text-align: right; font-size: 12px; }
.priority-list .segment-row { grid-template-columns: minmax(120px, 190px) 1fr 38px; }
.comments { display: grid; gap: 10px; }
.comment { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfb; }
.comment-top { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.comment-top b { padding: 3px 6px; border-radius: 5px; background: var(--forest-100); color: var(--forest-800); text-transform: uppercase; }
.comment p { margin: 10px 0 0; font-size: 12px; }
.comment-foot { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: 10px; }
.bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }

.toast { position: fixed; right: 24px; bottom: 24px; z-index: 80; max-width: 320px; padding: 12px 15px; border-radius: 11px; background: var(--forest-950); color: white; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(10px); transition: 180ms ease; font-size: 13px; }
.toast.show { opacity: 1; transform: translateY(0); }
.mobile-progress { display: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 74px; }
  .hero-copy { text-align: center; margin: 0 auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .preview-wrap { width: min(530px, 100%); margin: 10px auto 50px; }
  .hero-art { width: min(620px, 100%); margin-bottom: 45px; }
  .survey-shell { grid-template-columns: 220px minmax(0,1fr); }
  .survey-aside { padding: 30px 20px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .proposal-grid { grid-template-columns: 1fr; }
  .proposal-card { display: grid; grid-template-columns: minmax(260px,.8fr) 1fr; }
  .proposal-image { aspect-ratio: auto; min-height: 280px; }
}

@media (max-width: 720px) {
  .site-header { height: 65px; grid-template-columns: 1fr auto; padding: 0 16px; }
  .brand small, .demo-pill { display: none; }
  .brand-mark { width: 35px; height: 35px; border-radius: 11px; }
  nav a { padding: 7px 9px; font-size: 12px; }
  main { min-height: calc(100vh - 65px); }
  .hero { min-height: calc(100vh - 65px); padding: 52px 20px 72px; }
  .hero h1 { font-size: clamp(34px, 11vw, 57px); }
  .hero-title-line { display: block; white-space: nowrap; }
  .hero-lead { font-size: 16px; }
  .preview-card { padding: 18px; }
  .hero-art > img { border-width: 5px; border-radius: 23px; }
  .floating-card { max-width: 210px; padding: 9px 10px; }
  .floating-card-top { left: -2%; top: 5%; }
  .floating-card-bottom { right: -2%; bottom: 4%; }
  .floating-card > span { flex-basis: 30px; height: 30px; font-size: 15px; }
  .floating-card strong { font-size: 11px; }
  .floating-card small { font-size: 8px; }
  .survey-shell { display: block; min-height: calc(100vh - 65px); }
  .survey-aside { display: none; }
  .mobile-progress { display: block; }
  .mobile-progress-top { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--muted); font-size: 11px; }
  .mobile-progress-bar { height: 4px; overflow: hidden; border-radius: 99px; background: #eef1ef; }
  .mobile-progress-bar span { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
  .survey-main { padding: 0 20px; }
  .survey-progress { display: none; }
  .survey-content { padding: 14px 0 80px; }
  .survey-content h1 { font-size: 33px; }
  .journey-progress { top: 71px; margin: 0 -4px 26px; padding: 10px 12px; }
  .essential-welcome, .detail-invite { grid-template-columns: 1fr; align-items: stretch; }
  .essential-welcome { gap: 18px; }
  .confirmed-chip { display: none; }
  .scale-guide { display: grid; grid-template-columns: 1fr; }
  .question-panel { padding: 20px 16px; border-radius: 18px; }
  .section-heading { gap: 11px; }
  .section-heading .section-emoji { flex-basis: 40px; height: 40px; border-radius: 12px; font-size: 20px; }
  .section-heading h2 { font-size: 21px; }
  .emoji-rating { gap: 5px; }
  .emoji-rate-button { min-height: 82px; padding: 6px 2px; }
  .emoji-rate-button > span { font-size: 21px; }
  .emoji-rate-button > small { font-size: 8px; line-height: 1.05; }
  .registered-services { grid-template-columns: 1fr; }
  .detail-invite-art img { min-height: 215px; max-height: 280px; }
  .option-grid, .choice-cards { grid-template-columns: 1fr; }
  .em-priority-lab { width: min(100% - 28px, 1040px); padding: 35px 0 70px; }
  .em-preview-head { display: block; }
  .em-preview-head h1 { font-size: 35px; }
  .em-preview-badge { display: inline-block; margin-top: 18px; }
  .em-priority-question { padding: 19px 14px; border-radius: 18px; }
  .em-question-head { grid-template-columns: 42px 1fr; gap: 11px; }
  .em-question-number { width: 42px; height: 42px; border-radius: 13px; font-size: 13px; }
  .em-question-head h2 { font-size: 22px; }
  .em-priority-options { grid-template-columns: 1fr; }
  .em-priority-option { min-height: 0; }
  .em-preview-footer { align-items: stretch; flex-direction: column; }
  .grade9-intention-grid { grid-template-columns: 1fr; }
  .feeling-grid, .contribution-grid { grid-template-columns: 1fr; }
  .poliedro-heading { display: grid; grid-template-columns: 1fr; }
  .poliedro-brand { width: 165px; }
  .isaac-heading { display: grid; grid-template-columns: 1fr; }
  .isaac-brand { width: 120px; }
  .teacher-context { align-items: flex-start; padding: 16px; }
  .rating-capsule summary { grid-template-columns: 78px 1fr 28px; gap: 10px; }
  .rating-capsule summary img { width: 78px; height: 66px; }
  .rating-capsule summary em { display: none; }
  .score-row { min-width: 300px; grid-template-columns: repeat(11, minmax(24px, 1fr)); gap: 3px; }
  .score-button { height: 34px; aspect-ratio: auto; border-radius: 7px; font-size: 11px; }
  .score-hints { min-width: 300px; }
  .rating-row { grid-template-columns: 1fr; gap: 9px; }
  .rating-buttons { overflow-x: auto; padding-bottom: 3px; }
  .survey-actions { position: sticky; bottom: 0; z-index: 10; margin-inline: -20px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
  .welcome-meta { grid-template-columns: 1fr; }
  .welcome-meta div + div { border-left: 0; border-top: 1px solid var(--line); }
  .sibling-card { align-items: flex-start; flex-wrap: wrap; }
  .sibling-card .btn { width: 100%; margin-left: 0; }
  .dashboard { padding: 27px 16px 60px; }
  .dash-top { align-items: flex-start; flex-direction: column; }
  .filters { width: 100%; }
  .filter { flex: 1; }
  .metric-grid, .bottom-grid { grid-template-columns: 1fr; }
  .crit-row { grid-template-columns: minmax(100px, 140px) 1fr 34px; gap: 8px; }
  .gap-row { grid-template-columns: minmax(105px, 135px) 1fr 36px; gap: 8px; }
  .nps-seg-row { grid-template-columns: minmax(78px, 96px) 34px 1fr; gap: 7px; }
  .pattern-item { align-items: flex-start; }
  .nps-display { grid-template-columns: 1fr; }
  .nps-number { margin: 0 auto; }
  .segment-row, .priority-list .segment-row { grid-template-columns: 100px 1fr 30px; }
  .site-header nav a[href="#/propostas"] { display: none; }
  .concept-switcher { padding: 8px; border-radius: 12px; background: white; }
  .concept-switcher span { width: 100%; }
  .concept-switcher a { margin-left: 0; }
  .concept-story { min-height: 250px; }
  .concept-story div { width: 90%; padding: 20px; }
  .pedagogy-feature { grid-template-columns: 1fr; }
  .pedagogy-feature img { max-height: 200px; }
  .english-feature { align-items: flex-start; }
  .english-badge { flex-basis: 72px; height: 64px; font-size: 12px; }
  .service-detail-box { padding: 3px 12px 16px; }
  .role-legend { grid-template-columns: 1fr; gap: 0; padding: 0 15px; overflow-x: auto; }
  .role-legend-spacer { display: none; }
  .role-legend-scale { grid-template-columns: repeat(5, 56px); justify-content: space-between; min-width: 300px; }
  .role-legend-scale b { width: 56px; height: 40px; font-size: 21px; }
  .role-legend-scale small { font-size: 7.5px; }
  .role-matrix .rating-buttons { grid-template-columns: repeat(5, 56px); justify-content: space-between; min-width: 300px; }
  .role-matrix .rating-buttons button { width: 56px; min-width: 56px; }
  .visual-lab { padding: 44px 18px 70px; }
  .proposal-card { display: block; }
  .proposal-image { aspect-ratio: 4/3; min-height: 0; }
}

/* Variações cromáticas ligadas ao logotipo oficial do Crescer. */
.palette-switcher { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 12px 14px; border: 1px solid rgba(40,55,65,.1); border-radius: 16px; background: rgba(255,255,255,.86); box-shadow: 0 5px 18px rgba(53,42,27,.05); }
.palette-switcher > div:first-child span, .palette-switcher > div:first-child small { display: block; }
.palette-switcher > div:first-child span { font-size: 11px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.palette-switcher > div:first-child small { margin-top: 1px; color: var(--muted); font-size: 9px; }
.palette-options { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.palette-button { display: flex; align-items: center; gap: 7px; min-height: 34px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 99px; background: white; cursor: pointer; font-size: 9px; font-weight: 750; }
.palette-button i { overflow: hidden; display: flex; width: 27px; height: 18px; border: 2px solid white; border-radius: 99px; box-shadow: 0 0 0 1px rgba(20,30,35,.13); }
.palette-button i b { width: 50%; height: 100%; }
.palette-button.active { border-color: var(--theme-primary); background: var(--theme-soft); color: var(--theme-deep); box-shadow: 0 0 0 1px var(--theme-primary); }

.palette-crescer, :root[data-palette="crescer"] { --theme-primary: #df303c; --theme-deep: #174f78; --theme-mid: #2f719d; --theme-soft: #fff0f1; --theme-pale: #edf6fb; --theme-accent: #e9b22f; --theme-bg: #edf3f6; --theme-ink: #16384e; }
.palette-azul, :root[data-palette="azul"] { --theme-primary: #155f91; --theme-deep: #103f63; --theme-mid: #3786b4; --theme-soft: #eaf5fb; --theme-pale: #f2f8fc; --theme-accent: #e7b23b; --theme-bg: #e8f1f6; --theme-ink: #133c55; }
.palette-vermelho, :root[data-palette="vermelho"] { --theme-primary: #d92f3b; --theme-deep: #922330; --theme-mid: #e2555e; --theme-soft: #fff0f1; --theme-pale: #fff7f4; --theme-accent: #164f77; --theme-bg: #f4e9e7; --theme-ink: #48232a; }

.concept-caminhos[class*="palette-"] .survey-main { background: var(--theme-bg); }
.concept-caminhos[class*="palette-"] .survey-aside { background: linear-gradient(160deg, var(--theme-deep), color-mix(in srgb, var(--theme-deep) 72%, #101f2b)); }
.concept-caminhos[class*="palette-"] .survey-progress span, .concept-caminhos[class*="palette-"] .journey-track span { background: linear-gradient(90deg, var(--theme-primary), var(--theme-accent)); }
.concept-caminhos[class*="palette-"] .question-kicker, .concept-caminhos[class*="palette-"] .eyebrow { color: var(--theme-primary); }
.concept-caminhos[class*="palette-"] .scope-tag, .concept-caminhos[class*="palette-"] .metric-hint, .concept-caminhos[class*="palette-"] .section-heading .section-emoji, .concept-caminhos[class*="palette-"] .criterion-icon { background: var(--theme-soft); color: var(--theme-deep); }
.concept-caminhos[class*="palette-"] .question-panel.accent-panel { border-color: color-mix(in srgb, var(--theme-primary) 28%, white); background: linear-gradient(145deg,#fff,var(--theme-pale)); }
.concept-caminhos[class*="palette-"] .question-panel, .concept-caminhos[class*="palette-"] .pedagogy-feature, .concept-caminhos[class*="palette-"] .teacher-context, .concept-caminhos[class*="palette-"] .english-feature, .concept-caminhos[class*="palette-"] .rating-capsule, .concept-caminhos[class*="palette-"] .service-detail-box { border-color: color-mix(in srgb, var(--theme-mid) 18%, #ded8cf); }
.concept-caminhos[class*="palette-"] .btn-primary, .concept-caminhos[class*="palette-"] .score-button.selected, .concept-caminhos[class*="palette-"] .rating-buttons button.selected { border-color: var(--theme-primary); background: var(--theme-primary); }
.concept-caminhos[class*="palette-"] .emoji-rate-button.selected, .concept-caminhos[class*="palette-"] .option:has(input:checked), .concept-caminhos[class*="palette-"] .feeling-button.selected, .concept-caminhos[class*="palette-"] .choice-card.selected { border-color: var(--theme-primary); background: var(--theme-soft); box-shadow: 0 0 0 1px var(--theme-primary); }
.concept-caminhos[class*="palette-"] .registered-service, .concept-caminhos[class*="palette-"] .info-box { border-color: color-mix(in srgb, var(--theme-mid) 28%, white); background: var(--theme-pale); color: var(--theme-deep); }
.concept-caminhos[class*="palette-"] .journey-progress > b, .concept-caminhos[class*="palette-"] .registered-service > b, .concept-caminhos[class*="palette-"] .entry-top strong { color: var(--theme-primary); }
.concept-caminhos[class*="palette-"] .contribution-card.recognition { border-color: color-mix(in srgb, var(--theme-primary) 24%, white); background: var(--theme-soft); }
.concept-caminhos[class*="palette-"] .contribution-card.improvement { border-color: color-mix(in srgb, var(--theme-mid) 24%, white); background: var(--theme-pale); }
.concept-caminhos[class*="palette-"] .add-item-button { border-color: var(--theme-mid); background: var(--theme-pale); color: var(--theme-deep); }
.concept-caminhos[class*="palette-"] .add-item-button span { background: var(--theme-primary); }
.concept-caminhos[class*="palette-"] .side-steps li.active i { border-color: var(--theme-accent); background: var(--theme-accent); color: #17201d; }
.concept-caminhos[class*="palette-"] .avatar { background: var(--theme-accent); color: var(--theme-deep); }
.concept-caminhos[class*="palette-"] .pedagogy-feature span { color: var(--theme-primary); }
.concept-caminhos[class*="palette-"] .concept-story::after { background: linear-gradient(90deg,color-mix(in srgb,var(--theme-deep) 92%,transparent),color-mix(in srgb,var(--theme-deep) 8%,transparent) 74%); }
.concept-caminhos[class*="palette-"] .survey-content h1, .concept-caminhos[class*="palette-"] .section-heading h2 { color: var(--theme-ink); }

:root[data-palette="crescer"] .site-header { border-bottom-color: rgba(223,48,60,.16); }
:root[data-palette="crescer"] nav a.active, :root[data-palette="azul"] nav a.active, :root[data-palette="vermelho"] nav a.active { background: var(--theme-soft); color: var(--theme-deep); }

@media (max-width: 720px) {
  .palette-switcher { align-items: flex-start; flex-direction: column; gap: 9px; }
  .palette-options { justify-content: flex-start; }
  .palette-button { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Direção visual consolidada: proposta 2, fundo bege e cartões claros. */
.official-logo { width: 178px; height: 52px; object-fit: contain; object-position: left center; }
.brand:has(.official-logo) { gap: 10px; }
.brand:has(.official-logo) > span { padding-left: 10px; border-left: 1px solid var(--line); }
.concept-caminhos .survey-main { background: #efe5d4; }
.concept-caminhos .question-panel { border: 1px solid #e1d5c2; border-radius: 22px; background: #fffdf9; box-shadow: 0 12px 30px rgba(73,55,32,.08); }
.concept-caminhos .rating-table { background: #fff; }
.concept-caminhos .pedagogy-feature, .concept-caminhos .teacher-context, .concept-caminhos .english-feature, .concept-caminhos .rating-capsule, .concept-caminhos .service-detail-box { border-color: #e1d5c2; background: #fffdf9; box-shadow: 0 12px 30px rgba(73,55,32,.07); }
.concept-caminhos .contribution-area { padding: 28px; border: 1px solid #e1d5c2; border-radius: 22px; background: #fff9ef; box-shadow: 0 12px 30px rgba(73,55,32,.06); }
.concept-caminhos .integral-topic { border-color: #e1d5c2; background: #fffdf9; box-shadow: 0 6px 18px rgba(73,55,32,.05); }
.concept-caminhos .integral-topic-rating .rating-table { border: 0; border-top: 1px solid #eadfce; border-radius: 0; }

.criterion-copy { display: flex !important; align-items: flex-start; gap: 10px; }
.criterion-copy > span { min-width: 0; }
.criterion-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; overflow: hidden; border-radius: 11px; background: #f3eadb; color: var(--forest-800); font-size: 15px; font-style: normal; font-weight: 900; }
.criterion-icon.brand-icon { border: 1px solid var(--line); background: white; }
.criterion-icon img { width: 78%; max-height: 78%; object-fit: contain; }
.brand-wordmark { color: #7656a8; font-size: 9px; line-height: .8; text-align: center; }

.pedagogical-visual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.visual-question-block { overflow: hidden; border: 1px solid #e1d5c2; border-radius: 18px; background: #fffdf9; box-shadow: var(--shadow-sm); }
.visual-question-block > img { width: 100%; height: 150px; object-fit: cover; }
.visual-question-block > div { padding: 0 14px 14px; }
.visual-question-block .form-section { margin-top: 15px; }
.visual-question-block .rating-row { grid-template-columns: 1fr; }
.visual-question-block .rating-buttons { justify-content: flex-start; }
.english-feature > img { flex: 0 0 230px; width: 230px; height: 145px; border-radius: 15px; object-fit: cover; }

.rating-capsule header { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 16px; min-height: 92px; padding: 10px; }
.rating-capsule header img { width: 110px; height: 72px; border-radius: 12px; object-fit: cover; }
.rating-capsule header small, .rating-capsule header strong, .rating-capsule header em { display: block; }
.rating-capsule header small { color: var(--forest-700); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.rating-capsule header strong { margin: 2px 0; font-size: 16px; }
.rating-capsule header em { color: var(--muted); font-size: 10px; font-style: normal; }
.integral-topic header { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; min-height: 70px; padding: 12px 14px; }
.integral-topic header > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--forest-50); font-size: 20px; }
.integral-topic header strong, .integral-topic header em { display: block; }
.integral-topic header strong { font-size: 14px; }
.integral-topic header em { margin-top: 2px; color: var(--muted); font-size: 10px; font-style: normal; }

@media (max-width: 720px) {
  .official-logo { width: 145px; height: 44px; }
  .brand:has(.official-logo) > span { display: none; }
  .pedagogical-visual-grid { grid-template-columns: 1fr; }
  .english-feature > img { flex-basis: 105px; width: 105px; height: 100px; }
  .rating-capsule header { grid-template-columns: 78px 1fr; gap: 10px; }
  .rating-capsule header img { width: 78px; height: 66px; }
  .rating-capsule header em { display: none; }
  .concept-caminhos .contribution-area { padding: 18px 14px; }
}

/* Refinos da versão mobile azul: preserva o layout desktop e prioriza toque, leitura e largura pequena. */
@media (max-width: 480px) {
  .site-header { padding-inline: 12px; gap: 8px; }
  .official-logo { width: 126px; height: 40px; }
  nav a { max-width: 118px; overflow: hidden; padding: 6px 7px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .survey-main { padding-inline: 12px; }
  .survey-content { padding-top: 10px; padding-bottom: 96px; }
  .survey-content h1 { font-size: clamp(28px, 9vw, 32px); letter-spacing: -0.035em; }
  .survey-intro { margin-top: 12px; font-size: 15px; line-height: 1.45; }
  .journey-progress { top: 69px; margin-inline: -2px; margin-bottom: 18px; padding: 9px 10px; border-radius: 12px; }
  .journey-progress-copy { gap: 8px; }
  .journey-emoji { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }
  .journey-progress strong { font-size: 11px; }
  .journey-progress > b { font-size: 12px; }
  .palette-switcher { margin-bottom: 12px; padding: 10px; border-radius: 13px; }
  .palette-switcher > div:first-child span { font-size: 10px; }
  .palette-switcher > div:first-child small { font-size: 8px; }
  .palette-options { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .palette-button { min-width: 0; justify-content: center; gap: 4px; padding: 5px 4px; font-size: 8px; }
  .palette-button i { width: 22px; height: 15px; }
  .question-panel { margin-top: 13px; padding: 17px 13px; border-radius: 17px; }
  .section-heading { gap: 9px; }
  .section-heading .section-emoji { flex-basis: 36px; height: 36px; border-radius: 10px; font-size: 18px; }
  .section-heading h2 { font-size: 19px; }
  .section-heading p { font-size: 11px; line-height: 1.4; }
  .question-panel .form-section { margin-top: 24px; }
  .question-panel .form-section + .form-section { padding-top: 22px; }
  .form-section > label, .question-label { margin-bottom: 11px; font-size: 15px; line-height: 1.35; }
  .question-explainer { margin-bottom: 12px; font-size: 11px; line-height: 1.45; }
  .emoji-rating { gap: 4px; }
  .emoji-rate-button { min-height: 72px; border-radius: 10px; }
  .emoji-rate-button > span { font-size: 19px; }
  .emoji-rate-button > strong { font-size: 12px; }
  .emoji-rate-button > small { font-size: 7px; }
  .score-row { min-width: 290px; grid-template-columns: repeat(11, minmax(24px, 1fr)); gap: 3px; }
  .score-button { height: 32px; border-radius: 7px; font-size: 10px; }
  .score-hints { min-width: 290px; font-size: 10px; }
  .option { min-height: 48px; padding: 12px; gap: 9px; }
  .option input { width: 17px; height: 17px; }
  .option strong { font-size: 13px; line-height: 1.3; }
  .option small { font-size: 11px; }
  .registered-service { padding: 11px; }
  .registered-service > span { flex-basis: 34px; height: 34px; font-size: 18px; }
  .registered-service strong { font-size: 12px; }
  .registered-service small { font-size: 9px; }
  .rating-capsule header { grid-template-columns: 62px 1fr; gap: 8px; min-height: 76px; padding: 8px; }
  .rating-capsule header img { width: 62px; height: 58px; border-radius: 9px; }
  .rating-capsule header strong { font-size: 14px; line-height: 1.2; }
  .rating-capsule header small { font-size: 8px; }
  .capsule-content { padding: 0 10px 13px; }
  .rating-row { padding: 11px 9px; gap: 8px; }
  .rating-row > span strong { font-size: 12px; line-height: 1.3; }
  .rating-row > span em { font-size: 10px; }
  .rating-buttons { justify-content: flex-start; gap: 4px; margin-inline: -1px; }
  .rating-buttons button { min-width: 32px; height: 32px; padding-inline: 6px; font-size: 10px; }
  .rating-buttons button.not-known { margin-left: 0; }
  .survey-actions { margin-inline: -12px; padding-inline: 12px; gap: 8px; }
  .survey-actions .btn { flex: 1; min-height: 44px; padding-inline: 10px; font-size: 12px; }
  .info-box, .teacher-context { font-size: 12px; }
}

@media (max-width: 360px) {
  .official-logo { width: 112px; }
  nav a { max-width: 100px; font-size: 10px; }
  .survey-main { padding-inline: 9px; }
  .question-panel { padding-inline: 11px; }
  .palette-button { font-size: 7px; }
  .emoji-rate-button > small { display: none; }
  .score-row, .score-hints { min-width: 278px; }
  .survey-actions { margin-inline: -9px; padding-inline: 9px; }
}



/* Blue palette final overrides. */
.concept-caminhos.palette-azul .survey-main { background: var(--theme-bg); }
.concept-caminhos.palette-azul .question-panel,
.concept-caminhos.palette-azul .pedagogy-feature,
.concept-caminhos.palette-azul .teacher-context,
.concept-caminhos.palette-azul .english-feature,
.concept-caminhos.palette-azul .rating-capsule,
.concept-caminhos.palette-azul .service-detail-box { background: #fafdff; border-color: color-mix(in srgb, var(--theme-mid) 24%, white); }
.concept-caminhos.palette-azul .contribution-area { background: var(--theme-pale); border-color: color-mix(in srgb, var(--theme-mid) 24%, white); }
.concept-caminhos.palette-azul .contribution-card.recognition { background: var(--theme-soft); }
.concept-caminhos.palette-azul .contribution-card.improvement { background: #fafdff; }
