@import url("parents.css");
:root {
  color-scheme: light;
  --ink: #202824;
  --muted: #6d756f;
  --paper: #f7f5ef;
  --card: #fffefa;
  --line: #e8e5dc;
  --green: #335e50;
  --green-dark: #25473c;
  --lime: #d9e5b6;
  --shadow: 0 20px 65px rgba(44, 54, 46, 0.08);
  font-family: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(
      ellipse at 7% 8%,
      rgba(218, 229, 195, 0.45),
      transparent 30rem
    ),
    var(--paper);
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
.site-header {
  max-width: 1240px;
  height: 60px;
  margin: auto;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font:
    800 20px "Be Vietnam Pro",
    sans-serif;
  letter-spacing: -0.7px;
  text-decoration: none;
  color: var(--green-dark);
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px 11px 11px 3px;
  color: white;
  /* background: var(--green); */
  font-size: 17px;
}
.brand-dot {
  color: #bd8740;
}
.header-note,
.site-footer {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.app-shell {
  width: min(1120px, calc(100% - 48px));
  min-height: calc(100vh - 204px);
  margin: 10px auto 20px;
}
.site-footer {
  max-width: 1240px;
  min-height: 52px;
  margin: 0 auto;
  padding: 14px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(87, 98, 89, 0.12);
}
.qr-fab {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 22px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  color: #fff;
  background: var(--green-dark);
  box-shadow: 0 8px 24px rgba(37, 71, 60, 0.23);
  font-size: 12px;
  font-weight: 700;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.qr-fab:hover {
  transform: translateY(-2px);
  background: var(--green);
}
.qr-fab svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.qr-dialog {
  width: min(420px, calc(100% - 32px));
  max-width: 420px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 24px 80px rgba(24, 37, 29, 0.24);
}
.qr-dialog::backdrop {
  background: rgba(24, 37, 29, 0.48);
  backdrop-filter: blur(3px);
}
.qr-dialog-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}
.qr-dialog-header .eyebrow {
  font-size: 10px;
}
.qr-dialog-header h2 {
  margin: 7px 0 0;
  font-size: 21px;
  letter-spacing: -0.5px;
}
.qr-close-button {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  font-size: 24px;
  line-height: 1;
}
.qr-code-frame {
  width: 228px;
  height: 228px;
  display: grid;
  place-items: center;
  margin: 22px auto 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.qr-code-frame img {
  width: 200px;
  height: 200px;
  image-rendering: pixelated;
}
.qr-help {
  margin: 0 0 14px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}
.qr-url-row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.qr-url-row code {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #4b564f;
  background: #f7f7f2;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qr-url-row .secondary-button {
  min-height: 39px;
  padding: 0 12px;
  font-size: 11px;
}
.qr-notice {
  margin: 12px 0 0;
  color: #8a5c2f;
  font-size: 11px;
  line-height: 1.55;
}
.hero-card,
.content-card,
.loading-card {
  border: 1px solid rgba(232, 229, 220, 0.85);
  border-radius: 20px;
  background: var(--card);
  /* box-shadow: var(--shadow); */
}
.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: clamp(30px, 7vw, 42px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 32px;
}
.project-card {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(232, 229, 220, 0.85);
  border-radius: 22px;
  background: rgba(255, 254, 250, 0.88);
  box-shadow: 0 12px 38px rgba(44, 54, 46, 0.045);
}
.project-heading {
  /* display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: 16px; */
}
.project-index {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--green-dark);
  background: #e7edd9;
  font:
    700 13px "Be Vietnam Pro",
    "Segoe UI",
    sans-serif;
}
.project-heading .eyebrow {
  font-size: 11px;
}
.project-heading h2 {
  /* max-width: 850px; */
  /* margin: 10px 0 0; */
  font-size: clamp(19px, 2.7vw, 20px);
  line-height: 1.5;
  /* letter-spacing: -.45px; */
  text-transform: uppercase;
  text-align: center;
  color: #335e50;
}
.project-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 15px 0 0 60px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.project-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.project-detail p {
  margin: 8px 0 0;
  font-size: 14px;
  /* font-weight: 600; */
}
.project-team ol {
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
  padding-left: 20px;
  font-size: 14px;
}
.project-team li {
  padding-left: 3px;
}
.hero-card::after {
  position: absolute;
  width: 330px;
  height: 330px;
  right: -130px;
  top: -155px;
  border: 1px solid rgba(51, 94, 80, 0.13);
  border-radius: 50%;
  content: "";
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 20px;
  height: 1px;
  background: currentColor;
  /* content: ""; */
}

.eyebrow-name {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  /* color: var(--green); */
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
}
.hero-copy h1 {
  max-width: 620px;
  margin: 15px 0 15px;
  font-size: clamp(32px, 11vw, 32px);
  line-height: 1.3;
  font-weight: 800;
  /* letter-spacing: -3.3px; */
}
.hero-copy h1 span {
  color: var(--green);
}
.hero-copy > p {
  max-width: 470px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.hero-art {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  width: min(310px, 80vw);
  aspect-ratio: 1;
  border: 1px solid #e4e7db;
  border-radius: 50%;
}
.orbit::before,
.orbit::after {
  position: absolute;
  inset: 24px;
  border: 1px dashed #e3e4d9;
  border-radius: 50%;
  content: "";
}
.orbit::after {
  inset: 57px;
  border-style: solid;
}
.center-star {
  z-index: 1;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 100%;
  color: var(--green-dark);
  background: #e6edcf;
  font:
    800 26px "Be Vietnam Pro",
    sans-serif;
  transform: rotate(-7deg);
}
.orbit-code {
  position: absolute;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  box-shadow: 0 5px 14px rgba(34, 45, 35, 0.08);
  font:
    700 14px "Be Vietnam Pro",
    sans-serif;
}
.orbit-code:nth-of-type(1) {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #bf694b;
}
.orbit-code:nth-of-type(2) {
  top: 76px;
  right: 52px;
  color: #557a69;
}
.orbit-code:nth-of-type(3) {
  right: 52px;
  bottom: 76px;
  color: #8a6396;
}
.orbit-code:nth-of-type(4) {
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  color: #42848a;
}
.orbit-code:nth-of-type(5) {
  bottom: 76px;
  left: 52px;
  color: #bd8740;
}
.orbit-code:nth-of-type(6) {
  top: 76px;
  left: 52px;
  color: #65758c;
}
.hero-meta {
  display: flex;
  gap: 40px;
  margin: 15px 0;
}
.meta-item strong {
  display: block;
  font:
    700 18px "Be Vietnam Pro",
    sans-serif;
}
.meta-item span {
  color: var(--muted);
  font-size: 14px;
}
.primary-button,
.secondary-button,
.text-button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.primary-button {
  padding: 0 23px;
  color: white;
  background: var(--green);
}
.primary-button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}
.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}
.secondary-button {
  padding: 0 19px;
  color: var(--green-dark);
  border: 1px solid #d9dfd4;
  background: transparent;
}
.secondary-button:hover {
  background: #f0f3e8;
}
.text-button {
  min-height: 40px;
  padding: 0 9px;
  color: var(--muted);
  background: transparent;
}
.text-button:hover {
  color: var(--green-dark);
}
.start-form {
  max-width: 430px;
  margin-top: 20px;
}
.form-row {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  gap: 12px;
  margin-bottom: 15px;
}
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 600;
}
.field input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: #fff;
}
.field input:focus {
  border-color: #73917d;
  box-shadow: 0 0 0 3px rgba(51, 94, 80, 0.1);
}
.small-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.content-card {
  padding: clamp(22px, 5vw, 30px);
}
.quiz-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.quiz-counter {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.progress-track {
  height: 5px;
  margin: 10px 0 10px;
  overflow: hidden;
  border-radius: 8px;
  background: #ecebe4;
}
.progress-bar {
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 0.25s ease;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 15px;
}
.section-heading h1 {
  margin: 5px 0 5px;
  font-size: clamp(25px, 4vw, 22px);
  letter-spacing: 1px;
}
.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}
.group-badge {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: white;
  font:
    800 22px "Be Vietnam Pro",
    sans-serif;
}
.question-list {
  display: grid;
  gap: 12px;
}
.question-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}
.question-title {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
}
.question-number {
  flex: 0 0 auto;
  color: #8e978e;
  font:
    700 15px "Be Vietnam Pro",
    sans-serif;
}
.rating-options {
  margin-top: 5px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.rating-option {
  min-width: 0;
  min-height: 57px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.rating-option:hover {
  border-color: #b6c8b7;
  background: #f8faf5;
}

.rating-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.rating-value {
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 800;
}

.rating-label {
  font-size: 9px;
  line-height: 1.3;
}

.rating-option:has(input:checked) {
  border-color: var(--green);
  color: var(--green-dark);
  background: #edf2e7;
  box-shadow: inset 0 0 0 1px var(--green);
}

.rating-option:has(input:focus-visible) {
  outline: 3px solid rgba(51, 94, 80, 0.25);
  outline-offset: 2px;
}

.question-unanswered .rating-options {
  padding: 4px;
  border: 1px solid #c76858;
  border-radius: 12px;
  background: #fff8f6;
}
.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
}
.action-right {
  display: flex;
  gap: 10px;
}
.validation-message {
  min-height: 20px;
  margin: 12px 0 0;
  color: #a34835;
  font-size: 12px;
}
.result-header {
  padding: clamp(24px, 5vw, 30px);
  border-radius: 22px;
  color: white;
  background: var(--green-dark);
}
.result-header .eyebrow {
  color: #d9e5b6;
}
.result-header h1 {
  margin: 5px 0 5px;
  font-size: clamp(30px, 6vw, 30px);
  /* letter-spacing: -2px; */
}
.result-header p {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}
.holland-code {
  display: flex;
  gap: 9px;
  margin-top: 10px;
}
.code-letter {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  color: #253d32;
  background: #d9e5b6;
  font:
    800 21px "Be Vietnam Pro",
    sans-serif;
}
.result-section {
  margin-top: 15px;
}
.submission-status {
  margin: 12px 0 0;
  color: #42634d;
  font-size: 13px;
}
.submission-status.is-error {
  color: #a34835;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 10px;
}
.section-title h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.5px;
}
.section-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.score-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.score-card {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.score-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 11px;
}
.score-name {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}
.score-letter {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  font-size: 12px;
}
.score-value {
  font:
    700 13px "Be Vietnam Pro",
    sans-serif;
}
.score-track {
  height: 6px;
  overflow: hidden;
  border-radius: 8px;
  background: #efeee9;
}
.score-fill {
  height: 100%;
  border-radius: inherit;
}
.riasec-chart-panel {
  display: flex;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(
      circle at center,
      rgba(230, 237, 207, 0.24),
      transparent 58%
    ),
    #fffefa;
}
.riasec-chart {
  display: block;
  width: min(100%, 440px);
  height: auto;
  overflow: visible;
}
.chart-grid {
  fill: none;
  stroke: #e7e9df;
  stroke-width: 1;
}
.chart-axis {
  stroke: #dfe3d9;
  stroke-width: 1;
}
.chart-label {
  fill: #00ac74;
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  font-size: 15px;
}
.chart-tick {
  fill: #899189;
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  font-size: 10px;
}
.chart-radar-area {
  fill: #335e50;
  fill-opacity: 0.1;
  stroke: #335e50;
  stroke-width: 2;
  stroke-linejoin: round;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.profile-card {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.profile-rank {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.profile-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.profile-tagline {
  min-height: 20px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.profile-strengths {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.recommendation-list {
  display: grid;
  gap: 12px;
}
.recommendation-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.priority-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--green-dark);
  background: #e7edd9;
  font:
    800 16px "Be Vietnam Pro",
    sans-serif;
}
.recommendation-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
}
.recommendation-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.recommendation-label {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.subject-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 11px;
}
.subject-chip {
  padding: 5px 9px;
  border: 1px solid #e8e9df;
  border-radius: 20px;
  background: #ebf4ec;
  font-size: 13px;
  font-weight: 500;
}
.required-note {
  padding: 15px 15px;
  border-radius: 13px;
  background: #ebf4ec;
  color: #535e53;
  font-size: 13px;
  line-height: 1.7;
}
.required-note strong {
  color: var(--ink);
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.disclaimer {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.error-card {
  padding: 32px;
  border: 1px solid #eacbc3;
  border-radius: 18px;
  background: #fff8f6;
}
.error-card h1 {
  margin-bottom: 8px;
  font-size: 25px;
}
.error-card p {
  color: #76544d;
  line-height: 1.7;
}
.error-card code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #f4e7e2;
}
.loading-card {
  max-width: 620px;
  margin: 90px auto;
  padding: 48px;
}
.loading-card h1 {
  margin: 15px 0 8px;
  font-size: 30px;
}
.loading-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 620px) {
  .site-header {
    min-height: 60px;
    padding: 0 18px;
  }

  .brand {
    gap: 7px;
    font-size: 16px;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
  }

  .home-link {
    font-size: 12px;
  }

  
  .hero-copy h1 {
        font-size: clamp(27px, 11vw, 27px);
    }
}

@media (max-width: 760px) {
  .qr-fab {
    display: none;
  }
  .site-header {
    height: 60px;
    padding: 0 18px;
  }
  .header-note {
    display: none;
  }
  .app-shell {
    width: min(100% - 28px, 620px);
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .site-footer {
    align-items: start;
    flex-direction: column;
    padding: 16px 22px;
  }
  .hero-card {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 34px 27px;
  }
  .project-details {
    margin-left: 0;
  }
  .hero-copy h1 {
    font-size: clamp(27px, 11vw, 27px);
  }
  .hero-art {
    min-height: 270px;
  }
  .orbit {
    width: 250px;
  }
  .orbit-code:nth-of-type(2) {
    right: 45px;
    top: 59px;
  }
  .orbit-code:nth-of-type(3) {
    right: 45px;
    bottom: 59px;
  }
  .orbit-code:nth-of-type(5) {
    left: 45px;
    bottom: 59px;
  }
  .orbit-code:nth-of-type(6) {
    left: 45px;
    top: 59px;
  }
  .content-card {
    padding: 22px 16px;
    border-radius: 20px;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-tagline {
    min-height: 0;
  }
}
@media (max-width: 480px) {
  .header-note {
    font-size: 10px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .project-heading {
    grid-template-columns: 34px 1fr;
    gap: 11px;
  }
  .project-index {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  .project-heading h2 {
    font-size: 17px;
  }
  .project-details {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .qr-fab {
    right: 14px;
    bottom: 14px;
    min-height: 46px;
    padding: 0 14px;
  }
  .qr-dialog {
    padding: 20px;
  }
  .rating-options {
    gap: 5px;
  }
  .rating-option {
    min-height: 55px;
    padding: 5px 2px;
  }
  .rating-label {
    font-size: 8px;
  }
  .question-card {
    padding: 14px 12px;
  }
  .question-title {
    font-size: 13px;
  }
  .quiz-actions {
    align-items: stretch;
  }
  .action-right {
    flex: 1;
    justify-content: end;
  }
  .quiz-actions .primary-button,
  .quiz-actions .secondary-button {
    min-height: 43px;
    padding: 0 13px;
    font-size: 12px;
  }
  .score-list {
    grid-template-columns: 1fr;
  }
  .section-title {
    align-items: start;
    flex-direction: column;
  }
  .recommendation-card {
    grid-template-columns: 36px 1fr;
    gap: 11px;
    padding: 16px 12px;
  }
  .priority-number {
    width: 34px;
    height: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@page {
  size: A4 portrait;
  margin: 14mm 12mm;
}

@media print {
  html,
  body {
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: #fff;
  }
  body {
    color: #202824;
    font-size: 10pt;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .site-header,
  .site-footer,
  .result-actions,
  .qr-fab,
  .qr-dialog {
    display: none !important;
  }
  .app-shell {
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
  }
  .content-card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }
  .result-header,
  .result-section,
  .disclaimer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .result-header {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .result-section {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .section-title,
  .score-card,
  .profile-card,
  .recommendation-card,
  .required-note {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .score-list,
  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .recommendation-card {
    grid-template-columns: 36px minmax(0, 1fr);
  }
  .riasec-chart-panel {
    width: 100%;
    padding: 4mm;
    box-sizing: border-box;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .riasec-chart {
    width: 120mm;
    max-width: 100%;
    max-height: 120mm;
    margin: 0 auto;
  }
  .result-header,
  .required-note,
  .score-card,
  .profile-card,
  .recommendation-card {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  p,
  h1,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
}
