:root {
  --forest-900: #173522;
  --forest-800: #23472f;
  --forest-700: #315c3c;
  --forest-100: #e8f0e9;
  --sage-200: #cbd8c6;
  --gold-600: #aa7800;
  --gold-100: #f5ebce;
  --ink: #17211b;
  --muted: #5b675f;
  --line: #d8ded9;
  --surface: #f3f0ea;
  --surface-lifted: #fcfbf8;
  --white: #ffffff;
  --error: #9e3429;
  --focus: #1c6e8c;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow: 0 12px 32px rgba(23, 53, 34, 0.08);
  color-scheme: light;
  font-family: Inter, "SF Pro Text", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

button,
label {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--forest-900);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(28, 110, 140, 0.28);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.site-header {
  min-height: 76px;
  padding: 10px clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(252, 251, 248, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
}

.brand-lockup img {
  display: block;
  width: 112px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.header-product {
  margin: 0;
  font-size: 14px;
  color: var(--forest-800);
  font-weight: 650;
}

.header-product span {
  margin-left: 8px;
  font-weight: 500;
  color: var(--muted);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(52px, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.language-switch button {
  min-height: 38px;
  padding: 6px 12px;
  border: 0;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  background: var(--forest-800);
  color: var(--white);
}

main {
  min-height: calc(100vh - 152px);
}

.intro-view,
.assessment-view,
.status-view {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-view {
  min-height: calc(100vh - 152px);
  padding: clamp(48px, 8vh, 92px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  gap: clamp(40px, 8vw, 96px);
  align-items: center;
}

.intro-copy {
  max-width: 760px;
}

.eyebrow,
.aside-label {
  margin: 0 0 12px;
  color: var(--gold-600);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: var(--forest-900);
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.12;
  font-weight: 500;
  text-wrap: balance;
}

.intro-text {
  margin-top: 32px;
  max-width: 720px;
  color: #344039;
}

.intro-text p {
  margin: 0 0 16px;
}

.intro-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.trust-note,
.time-note,
.question-helper,
.section-helper,
.progress-wrap p {
  color: var(--muted);
  font-size: 14px;
}

.assessment-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.save-status {
  min-height: 18px;
  margin: 0;
  color: var(--forest-700);
  font-size: 12px;
  font-weight: 650;
}

.save-status[data-state="saving"] {
  color: var(--muted);
}

.save-status[data-state="offline"] {
  color: #8a5a2c;
}

.intro-aside {
  padding: 32px;
  background: var(--surface-lifted);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold-600);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(23, 53, 34, 0.07);
}

.intro-aside ol {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.intro-aside li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}

.intro-aside li b {
  font-weight: 650;
  text-wrap: pretty;
}

.intro-aside li span {
  color: var(--gold-600);
  font-family: Georgia, serif;
}

.intro-aside > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.button {
  min-height: 48px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.button-primary {
  background: var(--forest-800);
  color: var(--white);
}

.button-primary:hover:not(:disabled) {
  background: var(--forest-900);
}

.button-secondary {
  background: var(--white);
  color: var(--forest-800);
  border-color: var(--forest-700);
}

.assessment-view {
  max-width: 920px;
  padding: 54px 0 72px;
}

.assessment-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.assessment-header h1 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 44px);
}

.section-helper {
  margin: 12px 0 0;
  max-width: 700px;
  font-size: 16px;
}

.time-note {
  margin: 6px 0 0;
  white-space: nowrap;
}

.progress-wrap {
  margin: 32px 0 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.progress-track {
  height: 6px;
  overflow: hidden;
  background: var(--sage-200);
  border-radius: var(--radius-sm);
}

.progress-track span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold-600);
  transition: width 180ms ease;
}

.progress-wrap p {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.question-stack {
  display: grid;
  gap: 18px;
}

.question-block {
  margin: 0;
  padding: 22px;
  background: var(--surface-lifted);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.optional-module {
  overflow: clip;
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(239, 245, 239, 0.92), rgba(255, 255, 255, 0.98));
}

.optional-module summary {
  padding: 20px 22px;
  cursor: pointer;
  color: var(--forest-800);
  font-weight: 700;
  line-height: 1.45;
}

.optional-module summary::marker {
  color: var(--gold-600);
}

.optional-module[open] summary {
  border-bottom: 1px solid var(--sage-200);
}

.optional-module-content {
  padding: 6px 18px 18px;
}

.question-block textarea {
  min-height: 148px;
  resize: vertical;
  line-height: 1.65;
}

fieldset.question-block {
  min-width: 0;
}

.question-label {
  display: block;
  margin: 0;
  color: var(--forest-900);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.45;
}

.question-label span {
  color: var(--gold-600);
}

.question-helper {
  margin: 7px 0 0;
}

.question-block > input,
.search-add-row input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #aeb8b1;
  border-radius: var(--radius-sm);
}

.question-block > input:hover,
.search-add-row input:hover {
  border-color: var(--forest-700);
}

.choice-list {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-list.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice {
  min-height: 50px;
  padding: 11px 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-lifted);
  cursor: pointer;
}

.choice:hover {
  border-color: var(--forest-700);
  background: #fbfcfb;
}

.choice:has(input:checked) {
  border-color: var(--forest-700);
  background: var(--forest-100);
}

.choice input,
.consent-block input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--forest-800);
}

.choice span {
  min-width: 0;
  line-height: 1.45;
}

.search-add-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

.institution-combobox {
  position: relative;
}

.institution-results {
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  max-height: min(360px, 52vh);
  overflow: auto;
  padding: 7px;
  border: 1px solid rgba(35, 71, 47, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 54px rgba(23, 53, 34, 0.16);
  backdrop-filter: blur(16px);
}

.institution-result {
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.institution-result strong {
  font-size: 14px;
  font-weight: 720;
  line-height: 1.35;
}

.institution-result span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.institution-result:hover,
.institution-result.is-active {
  background: var(--forest-100);
}

.search-add-row .institution-results {
  right: 128px;
}

.search-add-row .button {
  min-width: 118px;
}

.selected-institutions {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.selected-institutions li {
  min-height: 42px;
  padding: 8px 10px 8px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-left: 3px solid var(--gold-600);
  background: var(--gold-100);
}

.selected-institutions button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

.consent-block label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.form-message {
  min-height: 28px;
  margin-top: 16px;
  color: var(--error);
  font-weight: 650;
}

.privacy-note {
  margin: 4px 0 0;
  font-size: 13px;
}

.privacy-note a {
  color: var(--forest-700);
  text-underline-offset: 3px;
}

.form-actions {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.form-actions .button-primary {
  margin-left: auto;
}

.status-view {
  max-width: 760px;
  min-height: calc(100vh - 152px);
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.generation-view {
  align-items: center;
  text-align: center;
}

.generation-view h1 {
  max-width: 780px;
}

.compass-animation {
  position: relative;
  width: 128px;
  height: 128px;
  margin-bottom: 30px;
  display: grid;
  place-items: center;
}

.compass-ring {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(35, 71, 47, 0.26);
  border-radius: 50%;
}

.compass-ring::before,
.compass-ring::after {
  position: absolute;
  content: "";
  background: rgba(35, 71, 47, 0.18);
}

.compass-ring::before {
  width: 1px;
  height: 100%;
  left: 50%;
}

.compass-ring::after {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
}

.compass-point {
  position: absolute;
  top: 0;
  left: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-600);
  box-shadow: 0 0 0 8px rgba(170, 120, 0, 0.12);
  transform-origin: 6px 64px;
  animation: compass-orbit 3.2s linear infinite;
}

.compass-center {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest-800);
  font-family: Georgia, serif;
  font-size: 25px;
}

@keyframes compass-orbit {
  to { transform: rotate(360deg); }
}

.generation-stage {
  margin: 24px 0 0;
  color: var(--forest-800);
  font-weight: 700;
}

.wisdom-card {
  width: min(680px, 100%);
  min-height: 168px;
  margin: 34px 0 18px;
  padding: 30px clamp(24px, 6vw, 52px);
  display: grid;
  align-content: center;
  border: 1px solid rgba(170, 120, 0, 0.3);
  border-radius: 40px;
  background: var(--surface-lifted);
  box-shadow: 0 28px 70px rgba(23, 53, 34, 0.07);
}

.wisdom-card p {
  margin: 0;
  color: var(--forest-900);
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.55;
  text-wrap: balance;
}

.wisdom-card footer {
  min-height: 0;
  margin-top: 18px;
  padding: 0;
  display: block;
  color: var(--gold-600);
  background: transparent;
  font-size: 12px;
}

.wisdom-enter {
  animation: wisdom-in 420ms ease-out;
}

@keyframes wisdom-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.generation-note {
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
}

.report-view {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 88px;
}

.report-toolbar {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.report-toolbar p {
  margin-bottom: 0;
}

.report-saved-note {
  color: var(--muted);
  font-size: 13px;
}

.report-document {
  overflow: hidden;
  border: 1px solid rgba(35, 71, 47, 0.16);
  border-radius: 28px;
  background: var(--surface-lifted);
  box-shadow: 0 36px 90px rgba(23, 53, 34, 0.09);
}

.report-cover {
  position: relative;
  padding: clamp(44px, 8vw, 92px);
  color: var(--ink);
  background: #ebe8dd;
  border-top: 6px solid var(--gold-600);
}

.report-cover img {
  width: 150px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(23, 53, 34, 0.08));
}

.report-kicker {
  margin: 28px 0 8px;
  color: var(--gold-600);
  font-size: 13px;
  font-weight: 700;
}

.report-cover h1 {
  max-width: 820px;
  color: var(--forest-900);
}

.report-student-line {
  margin: 24px 0 0;
  color: var(--forest-700);
  font-weight: 650;
}

#reportContent {
  padding: clamp(32px, 7vw, 82px);
  max-width: 980px;
  margin: 0 auto;
}

.report-opening {
  margin: 0 0 38px;
  color: var(--forest-900);
  font-family: Georgia, "Songti SC", serif;
  font-size: 22px;
}

.report-section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  break-inside: avoid;
}

.report-section h2 {
  margin: 0 0 22px;
  color: var(--forest-900);
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
}

.report-section h3 {
  margin: 0 0 10px;
  color: var(--forest-900);
  font-size: 18px;
}

.report-strengths,
.report-priorities {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
}

.report-strengths li,
.report-priorities li {
  padding: 18px 20px;
  border-left: 3px solid var(--gold-600);
  background: #f4efe1;
}

.gap-card {
  margin-top: 14px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.project-card {
  margin: 18px 0;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-600);
  border-radius: var(--radius-md);
  background: var(--surface-lifted);
}

.project-card p {
  margin: 8px 0;
}

.report-authority,
.report-profile-summary,
.report-invitation {
  max-width: 76ch;
}

.report-authority {
  color: #344039;
}

.report-invitation {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid var(--sage-200);
  background: var(--forest-100);
}

.report-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
}

.report-table-wrap table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}

.report-table-wrap th,
.report-table-wrap td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.report-table-wrap th {
  color: var(--white);
  background: var(--forest-800);
}

.report-table-wrap th:nth-child(2),
.report-table-wrap td:nth-child(2) {
  min-width: 118px;
  white-space: nowrap;
}

.legal-page {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

.legal-page article {
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  background: var(--surface-lifted);
}

.legal-page h1 {
  margin-top: 6px;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
}

.legal-page h2 {
  margin-top: 36px;
  color: var(--forest-800);
}

.legal-lead {
  color: #344039;
  font-size: 18px;
}

.legal-page a {
  color: var(--forest-700);
}

.gap-card > p,
.gap-routes p,
.report-section > p {
  color: #3f4b43;
  line-height: 1.75;
}

.gap-routes {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gap-example {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--gold-100);
  border-radius: 10px;
}

.gap-routes p {
  margin: 0;
  padding: 16px;
  background: var(--forest-100);
}

.brand-formula {
  display: inline-block;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--forest-800) !important;
  background: var(--gold-100);
  font-size: 13px;
  font-weight: 700;
}

.timeline-row {
  margin-top: 18px;
  padding: 20px 0 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.timeline-row ul {
  margin: 0;
  padding-left: 20px;
}

.timeline-details p:first-child {
  margin-top: 0;
}

.timeline-details p:last-child {
  margin-bottom: 0;
  color: var(--forest-700);
  font-weight: 650;
}

.report-document[data-bilingual="true"] > .report-cover,
.report-document[data-bilingual="true"] > .report-mission {
  display: none;
}

.report-document[data-bilingual="true"] #reportContent {
  max-width: none;
  padding: 0;
}

.report-language-report {
  background: var(--surface-lifted);
}

.report-language-header {
  padding: clamp(44px, 8vw, 92px);
  background: #ebe8dd;
  border-top: 6px solid var(--gold-600);
}

.report-language-header h2 {
  max-width: 820px;
  margin: 0;
  color: var(--forest-900);
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.12;
}

.report-language-content {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(32px, 7vw, 82px);
}

.report-language-break {
  border-top: 18px solid var(--surface);
}

.report-mission {
  min-height: 0;
  padding: clamp(38px, 7vw, 72px);
  display: block;
  color: var(--white);
  background: var(--forest-900);
}

.report-mission p {
  max-width: 760px;
  margin: 0 0 30px;
  color: #dbe5dd;
  font-size: 16px;
  line-height: 1.8;
}

.report-mission strong {
  display: block;
  max-width: 820px;
  color: #f4e5b6;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 500;
  line-height: 1.45;
}

.status-view h1 {
  font-size: clamp(34px, 5vw, 54px);
}

.status-view > p:not(.status-mark):not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0;
  color: #354139;
  font-size: 18px;
}

.status-mark {
  width: 48px;
  height: 48px;
  margin: 0 0 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-600);
  border-radius: 50%;
  color: var(--gold-600);
  font-family: Georgia, serif;
  font-size: 24px;
}

.status-mark.success {
  border-color: var(--forest-700);
  color: var(--forest-700);
}

.delivery-summary {
  width: 100%;
  margin: 8px 0 28px;
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer {
  min-height: 76px;
  padding: 18px clamp(20px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  background: var(--forest-900);
  color: #eaf0eb;
  font-size: 13px;
}

footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 9px 16px;
  }

  .brand-lockup img {
    width: 104px;
    height: 56px;
  }

  .header-product {
    display: none;
  }

  .intro-view,
  .assessment-view,
  .status-view {
    width: min(100% - 28px, 920px);
  }

  .intro-view {
    min-height: auto;
    padding: 44px 0 56px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .site-header {
    padding-top: calc(9px + env(safe-area-inset-top));
  }

  h1 {
    font-size: 40px;
  }

  .intro-text {
    margin-top: 24px;
  }

  .intro-actions {
    align-items: stretch;
  }

  .intro-actions .button {
    width: 100%;
  }

  .intro-aside {
    padding: 24px;
  }

  .assessment-view {
    padding: 38px 0 56px;
  }

  .assessment-header {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .time-note {
    display: none;
  }

  .assessment-meta {
    justify-items: start;
  }

  .choice-list,
  .choice-list.compact {
    grid-template-columns: 1fr;
  }

  .status-view {
    min-height: calc(100svh - 120px);
    padding: 52px 0;
  }

  .wisdom-card {
    min-height: 190px;
    border-radius: 28px;
  }

  .report-view {
    width: min(100% - 20px, 1120px);
    padding: 16px 0 56px;
  }

  .report-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .report-toolbar .button {
    width: 100%;
  }

  .report-document {
    border-radius: 24px;
  }

  .report-cover,
  #reportContent,
  .report-mission {
    padding: 32px 22px;
  }

  .report-cover h1 {
    font-size: 38px;
  }

  .report-strengths,
  .report-priorities,
  .gap-routes {
    grid-template-columns: 1fr;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .report-table-wrap {
    overflow: visible;
    border: 0;
  }

  .report-table-wrap table,
  .report-table-wrap tbody,
  .report-table-wrap tr,
  .report-table-wrap td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .report-table-wrap thead {
    display: none;
  }

  .report-table-wrap tr {
    margin: 0 0 16px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
  }

  .report-table-wrap td,
  .report-table-wrap td:nth-child(2) {
    padding: 10px 0;
    white-space: normal;
    border-bottom: 1px solid var(--line);
  }

  .report-table-wrap td:last-child {
    border-bottom: 0;
  }

  .report-table-wrap td::before {
    display: block;
    margin-bottom: 3px;
    color: var(--gold-600);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .report-language-header,
  .report-language-content,
  .report-language-mission {
    padding-left: 22px;
    padding-right: 22px;
  }

  .question-block {
    padding: 18px;
  }

  .search-add-row {
    grid-template-columns: 1fr;
  }

  .search-add-row .button {
    width: 100%;
  }

  .search-add-row .institution-results {
    right: 0;
  }

  .form-actions {
    position: sticky;
    bottom: 0;
    margin-inline: -14px;
    padding: 12px 14px max(12px, env(safe-area-inset-bottom));
    background: rgba(245, 247, 245, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }

  .form-actions .button {
    min-width: 112px;
  }

  .status-view {
    min-height: calc(100vh - 136px);
    padding: 52px 0;
  }

  footer {
    padding: 18px 16px;
    flex-direction: column;
    align-items: flex-start;
  }
}

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

@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #fff; }
  .site-header,
  .report-toolbar,
  body > footer,
  .skip-link { display: none !important; }
  .report-view { width: 100%; padding: 0; }
  .report-document { border: 0; border-radius: 0; box-shadow: none; }
  .report-cover { min-height: 250mm; display: flex; flex-direction: column; justify-content: center; break-after: page; }
  .report-section { break-inside: avoid; }
  .gap-card { break-inside: avoid; }
  .report-mission { break-before: page; }
  .report-language-break { border-top: 0; break-before: page; }
  .report-language-header { min-height: 250mm; display: flex; flex-direction: column; justify-content: center; break-after: page; }
  .report-language-mission { break-before: page; }
}

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