:root {
  --tv-primary: #0130ce;
  --tv-primary-dark: #0027a8;
  --tv-primary-soft: #eef2ff;
  --tv-canvas: #f7f8fb;
  --tv-surface: #ffffff;
  --tv-border: #dce2ec;
  --tv-text: #263248;
  --tv-muted: #68758d;
  --tv-danger: #b42318;
  --tv-warning-bg: #fff9ec;
  --tv-warning-border: #d98200;
  --tv-radius: 14px;
}

.tv-layout {
  display: grid;
  grid-template-columns: minmax(270px, 26.5vw) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  max-width: 1600px;
  min-height: calc(100vh - 100px);
  margin: 100px auto 0;
  padding: 34px clamp(20px, 3vw, 44px) 56px;
  background: var(--tv-canvas);
  background-image:
    radial-gradient(ellipse 48% 46% at 8% 12%, rgba(1, 48, 206, 0.055), transparent 74%),
    radial-gradient(ellipse 44% 42% at 92% 84%, rgba(1, 48, 206, 0.04), transparent 74%);
  background-size: 160% 160%;
  animation: tv-background-drift 28s ease-in-out infinite alternate;
}

@keyframes tv-background-drift {
  from {
    background-position: 0% 0%, 100% 100%;
  }

  to {
    background-position: 100% 100%, 0% 0%;
  }
}

.tv-sidebar {
  align-self: start;
  min-width: 0;
  padding: 24px 24px 28px 0;
  border-right: 1px solid var(--tv-border);
}

.tv-hero {
  min-height: 0;
  margin: 0;
  overflow: visible;
  background: transparent;
}

.tv-hero::before,
.tv-hero::after,
.tv-section::before {
  display: none;
}

.tv-hero-overlay {
  width: auto;
  padding: 0;
}

.tv-hero-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--tv-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tv-hero-title {
  margin: 0 0 18px;
  color: var(--tv-primary);
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.18;
}

.tv-hero-sub {
  max-width: 340px;
  margin: 0;
  color: var(--tv-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.tv-hero-sub strong {
  color: var(--tv-text);
}

.tv-steps {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  margin: 56px 0 0;
}

.tv-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  opacity: 0.58;
  transition: opacity 160ms ease;
}

.tv-step.active,
.tv-step.completed {
  opacity: 1;
}

.tv-step-num {
  position: relative;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8ecf3;
  color: var(--tv-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.tv-step-num > i {
  display: none;
  font-size: 0.9rem;
}

.tv-step.active .tv-step-num,
.tv-step.completed .tv-step-num {
  background: var(--tv-primary);
  color: #ffffff;
}

.tv-step.completed .tv-step-num > span {
  display: none;
}

.tv-step.completed .tv-step-num > i {
  display: inline-block;
}

.tv-step-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.tv-step-copy > span {
  color: var(--tv-text);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
}

.tv-step-copy small {
  color: var(--tv-muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
}

.tv-step.active .tv-step-copy > span {
  color: var(--tv-primary);
}

.tv-step-line {
  width: 1px;
  height: 30px;
  margin: 5px 0 5px 20px;
  background: var(--tv-border);
}

.tv-step.completed + .tv-step-line {
  background: var(--tv-primary);
}

.tv-section {
  min-width: 0;
  padding: 0;
  background: transparent;
}

.tv-section > .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.tv-progress-wrapper {
  margin: 0 0 22px;
  padding: 16px 20px;
  border: 1px solid var(--tv-border);
  border-radius: 10px;
  background: var(--tv-surface);
}

.tv-progress-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--tv-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.tv-progress-track,
.tv-bar-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8ecf3;
}

.tv-progress-fill,
.tv-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--tv-primary);
  transition: width 240ms ease;
}

.tv-form {
  margin: 0;
}

.tv-page {
  display: none;
}

.tv-page.active {
  display: block;
}

.tv-card,
.tv-result-card {
  position: relative;
  margin: 0;
  padding: 32px 34px;
  overflow: visible;
  border: 1px solid var(--tv-border);
  border-radius: var(--tv-radius);
  background: var(--tv-surface);
  box-shadow: none;
  text-align: left;
  transition: none;
}

.tv-card:hover {
  transform: none;
  box-shadow: none;
}

.tv-card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  color: var(--tv-primary);
  font-size: clamp(1.5rem, 2.1vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
}

.tv-card-title > i {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--tv-primary-soft);
  font-size: 1.05rem;
}

#page-1 .tv-card {
  display: flex;
  min-height: clamp(560px, calc(100vh - 300px), 760px);
  flex-direction: column;
  padding: 48px 50px;
}

#page-1 .tv-card-title {
  margin-bottom: 38px;
}

.tv-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 26px;
}

.tv-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.tv-field label {
  color: var(--tv-text);
  font-size: 0.9rem;
  font-weight: 600;
}

.req {
  color: var(--tv-danger);
}

.tv-field input {
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid #cbd3e0;
  border-radius: 8px;
  outline: none;
  background: #ffffff;
  color: var(--tv-text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.tv-field input::placeholder {
  color: #8a94a6;
}

.tv-field input:hover {
  border-color: #8b9ab4;
}

.tv-field input:focus {
  border-color: var(--tv-primary);
  box-shadow: 0 0 0 3px rgba(1, 48, 206, 0.12);
}

.tv-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
}

#page-1 .tv-nav {
  margin-top: auto;
  padding-top: 36px;
}

.tv-nav-final {
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #e8ebf1;
}

.tv-btn-next,
.tv-btn-submit,
.tv-btn-back,
.tv-btn-retry,
.tv-btn-email {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  border: 1px solid var(--tv-primary);
  border-radius: 999px;
  background: #ffffff;
  color: var(--tv-primary);
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.tv-btn-next,
.tv-btn-submit,
.tv-btn-email {
  background: var(--tv-primary);
  color: #ffffff;
}

.tv-btn-next:hover,
.tv-btn-submit:hover,
.tv-btn-email:hover {
  border-color: var(--tv-primary-dark);
  background: var(--tv-primary-dark);
  color: #ffffff;
}

.tv-btn-back:hover,
.tv-btn-retry:hover {
  background: var(--tv-primary-soft);
}

.tv-btn-next:focus-visible,
.tv-btn-submit:focus-visible,
.tv-btn-back:focus-visible,
.tv-btn-retry:focus-visible,
.tv-btn-email:focus-visible,
.tv-btn-select-all:focus-visible,
.tv-btn-select-none:focus-visible {
  outline: 3px solid rgba(1, 48, 206, 0.25);
  outline-offset: 2px;
}

.tv-select-sub {
  margin: -12px 0 22px;
  color: var(--tv-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.tv-area-select-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.tv-area-select-card {
  position: relative;
  min-width: 0;
  min-height: 170px;
  padding: 18px 48px 16px 18px;
  border: 1px solid var(--tv-border);
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  user-select: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.tv-area-select-card:hover {
  border-color: #9cadd0;
}

.tv-area-select-card:focus-visible {
  outline: 3px solid rgba(1, 48, 206, 0.2);
  outline-offset: 2px;
}

.tv-area-select-card.selected {
  border-color: var(--tv-primary);
  background: #f4f6ff;
}

.tv-area-select-icon {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  border-radius: 10px;
  background: var(--tv-primary-soft);
  color: var(--tv-primary);
  font-size: 1rem;
}

.tv-area-select-check {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid #aeb8c9;
  border-radius: 5px;
  color: transparent;
}

.tv-area-select-check i {
  font-size: 0.78rem;
}

.tv-area-select-card.selected .tv-area-select-check {
  border-color: var(--tv-primary);
  background: var(--tv-primary);
  color: #ffffff;
}

.tv-area-select-title {
  margin: 0 0 8px;
  color: var(--tv-text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.tv-area-select-card.selected .tv-area-select-title {
  color: var(--tv-primary);
}

.tv-area-select-desc {
  margin: 0 0 12px;
  color: var(--tv-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.tv-area-select-preg {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--tv-muted);
  font-size: 0.77rem;
  font-weight: 600;
}

.tv-area-select-preg i {
  color: var(--tv-primary);
}

.tv-area-select-preg span {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.tv-area-select-card.selected .tv-area-select-preg span {
  background: transparent;
  color: var(--tv-muted);
}

.tv-area-select-all {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin: 0 0 20px;
}

.tv-btn-select-all,
.tv-btn-select-none {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--tv-primary);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
}

.tv-btn-select-all:hover,
.tv-btn-select-none:hover {
  text-decoration: underline;
}

.tv-btn-select-all,
.tv-btn-select-none {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tv-btn-select-none {
  padding-left: 12px;
  border-left: 1px solid var(--tv-border);
}

.tv-area-card {
  margin: 0 0 18px;
}

.tv-area-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0 0 14px;
  border-bottom: 1px solid #e8ebf1;
  color: var(--tv-primary);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
}

.tv-area-title-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--tv-primary-soft);
  font-size: 1rem;
}

.tv-area-title-copy {
  min-width: 0;
}

.tv-question-guidance {
  margin: -1px 0 8px;
  color: var(--tv-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.tv-area-count {
  margin-left: auto;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f0f2f6;
  color: var(--tv-muted);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.tv-area-count.complete {
  background: var(--tv-primary-soft);
  color: var(--tv-primary);
}

.tv-questions {
  display: flex;
  flex-direction: column;
}

.tv-question {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: start;
  gap: 8px 14px;
  padding: 16px 0;
  border-bottom: 1px solid #edf0f4;
}

.tv-question:last-child {
  border-bottom: 0;
}

.tv-question.answered {
  border-radius: 8px;
  background: #f7f8fc;
  padding-right: 10px;
  padding-left: 10px;
}

.tv-q-number {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 1px;
  color: var(--tv-muted);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
}

.tv-q-text {
  grid-column: 2;
  margin: 0;
  color: var(--tv-text);
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.5;
}

.tv-q-options {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tv-question-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--tv-border);
  color: var(--tv-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.tv-question-note i {
  flex: 0 0 auto;
  color: var(--tv-primary);
}

.tv-opt span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tv-opt {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--tv-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--tv-text);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.tv-opt:hover {
  border-color: #9cadd0;
}

.tv-opt input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--tv-primary);
}

.tv-opt:has(input:checked) {
  border-color: var(--tv-primary);
  background: var(--tv-primary-soft);
  color: var(--tv-primary);
}

.tv-opt:focus-within {
  outline: 3px solid rgba(1, 48, 206, 0.18);
  outline-offset: 2px;
}

.tv-btn-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.tv-spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.tv-result {
  animation: tv-result-enter 180ms ease-out;
}

@keyframes tv-result-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tv-result-card {
  display: flex;
  flex-direction: column;
  max-width: none;
  padding: 28px 32px;
}

.tv-result-badge {
  position: static;
  align-self: flex-end;
  margin: 0 0 4px;
}

.tv-result-badge-text {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--tv-primary-soft);
  color: var(--tv-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tv-result-symbol {
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin: 4px 0 18px;
  border-radius: 14px;
  background: var(--tv-primary-soft);
  color: var(--tv-primary);
  font-size: 1.55rem;
}

.tv-result-label {
  margin: 0 0 8px;
  color: var(--tv-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.tv-result-area {
  margin: 0 0 10px;
  color: var(--tv-primary);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.22;
}

.tv-result-desc {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--tv-muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

.tv-fallback-notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--tv-warning-border);
  border-radius: 8px;
  background: var(--tv-warning-bg);
  color: #74420d;
  font-size: 0.87rem;
  line-height: 1.5;
  text-align: left;
}

.tv-personality {
  margin: 0 0 22px;
  padding: 18px 20px;
  border-left: 3px solid var(--tv-primary);
  border-radius: 9px;
  background: #f0f3fc;
  text-align: left;
}

.tv-personality-title,
.tv-careers-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  color: var(--tv-primary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.tv-personality-title i,
.tv-careers-title i,
.tv-results-title i {
  flex: 0 0 auto;
}

.tv-personality-text {
  margin: 0;
  color: var(--tv-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.tv-careers {
  margin: 0 0 22px;
  text-align: left;
}

.tv-careers-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.tv-careers-title {
  margin-bottom: 0;
}

.tv-careers-note {
  margin: 1px 0 0;
  color: var(--tv-muted);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: right;
}

.tv-careers-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tv-career-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 7px 13px;
  border: 1px solid var(--tv-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--tv-text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.tv-career-row:hover {
  border-color: var(--tv-primary);
  background: var(--tv-primary-soft);
}

.tv-career-row:focus-visible {
  outline: 3px solid rgba(1, 48, 206, 0.25);
  outline-offset: 2px;
}

.tv-career-rank {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edf0f6;
  color: var(--tv-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.tv-career-name {
  min-width: 0;
}

.tv-career-icon {
  color: var(--tv-primary);
  font-size: 0.9rem;
  text-align: center;
}

.tv-results {
  margin: 0 0 22px;
}

.tv-results-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--tv-text);
  font-size: 1.05rem;
  font-weight: 700;
}

.tv-results-title i {
  color: var(--tv-primary);
}

.tv-result-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 22px;
  text-align: left;
}

.tv-bar-row {
  display: grid;
  grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) 48px;
  align-items: center;
  gap: 14px;
}

.tv-bar-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--tv-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.tv-bar-icon {
  flex: 0 0 auto;
  color: var(--tv-primary);
}

.tv-bar-label span {
  min-width: 0;
}

.tv-bar-track {
  height: 8px;
}

.tv-bar-pct {
  color: var(--tv-muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: right;
}

.tv-bar-fill.winner,
.tv-bar-fill.second,
.tv-bar-fill.third {
  background: var(--tv-primary);
}

.tv-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid #e8ebf1;
}

.tv-toast {
  position: fixed;
  z-index: 9999;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 18px;
  border: 1px solid var(--tv-border);
  border-left: 3px solid var(--tv-primary);
  border-radius: 10px;
  background: #ffffff;
  color: var(--tv-text);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.tv-toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.tv-toast-icon {
  flex: 0 0 auto;
  color: var(--tv-primary);
}

@media (max-width: 850px) {
  .tv-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin-top: 88px;
    padding: 22px 22px 40px;
  }

  .tv-sidebar {
    padding: 8px 0 22px;
    border-right: 0;
    border-bottom: 1px solid var(--tv-border);
  }

  .tv-hero-title {
    max-width: 520px;
    font-size: 2.2rem;
  }

  .tv-hero-sub {
    max-width: 560px;
  }

  .tv-steps {
    flex-direction: row;
    align-items: center;
    margin-top: 24px;
  }

  .tv-step {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    flex: 1 1 0;
  }

  .tv-step-copy > span {
    font-size: 0.83rem;
  }

  .tv-step-copy small {
    font-size: 0.72rem;
  }

  .tv-step-num {
    width: 36px;
    height: 36px;
  }

  .tv-step-line {
    width: auto;
    height: 1px;
    flex: 0 1 24px;
    margin: 0 8px;
  }
}

@media (max-width: 600px) {
  body.page-vocational-test .whatsapp-float {
    display: none;
  }

  .tv-layout {
    gap: 18px;
    margin-top: 76px;
    padding: 16px 14px 30px;
  }

  .tv-hero-title {
    margin-bottom: 10px;
    font-size: 1.8rem;
  }

  .tv-hero-tag {
    margin-bottom: 10px;
  }

  .tv-hero-sub {
    font-size: 0.9rem;
  }

  .tv-steps {
    gap: 2px;
    margin-top: 20px;
  }

  .tv-step {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 6px;
    text-align: center;
  }

  .tv-step-copy > span {
    max-width: 112px;
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .tv-step-copy small {
    display: none;
  }

  .tv-step-line {
    flex-basis: 12px;
    margin: 0 3px;
  }

  .tv-section > .container {
    padding: 0;
  }

  .tv-card,
  .tv-result-card {
    padding: 22px 18px;
  }

  #page-1 .tv-card {
    min-height: 0;
    padding: 22px 18px;
  }

  .tv-card-title {
    margin-bottom: 20px;
    font-size: 1.3rem;
  }

  .tv-card-title > i {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .tv-fields,
  .tv-area-select-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #page-1 .tv-card-title {
    margin-bottom: 20px;
  }

  #page-1 .tv-nav {
    margin-top: 24px;
    padding-top: 0;
  }

  .tv-area-select-card {
    min-height: auto;
  }

  .tv-area-title {
    align-items: flex-start;
    font-size: 1.08rem;
  }

  .tv-area-title-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .tv-q-options {
    gap: 8px;
  }

  .tv-opt {
    min-height: 46px;
    padding: 9px 10px;
  }

  .tv-nav,
  .tv-nav-final,
  .tv-result-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .tv-btn-next,
  .tv-btn-submit,
  .tv-btn-back,
  .tv-btn-retry,
  .tv-btn-email {
    width: 100%;
  }

  .tv-nav-final {
    gap: 10px;
  }

  .tv-progress-wrapper {
    padding: 13px 14px;
  }

  .tv-progress-info {
    font-size: 0.75rem;
  }

  .tv-bar-row {
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 7px 10px;
  }

  .tv-bar-label {
    grid-column: 1 / -1;
  }

  .tv-bar-track {
    grid-column: 1;
  }

  .tv-bar-pct {
    grid-column: 2;
  }

  .tv-careers-heading {
    flex-direction: column;
    gap: 6px;
  }

  .tv-careers-note {
    text-align: left;
  }

  .tv-result-badge {
    margin-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tv-layout {
    animation: none;
    background-position: 50% 50%;
  }

  .tv-result {
    animation: none;
  }

  .tv-spinner .fa-spin {
    animation: none;
  }

  .tv-progress-fill,
  .tv-bar-fill,
  .tv-btn-next,
  .tv-btn-submit,
  .tv-btn-back,
  .tv-btn-retry,
  .tv-btn-email,
  .tv-toast {
    transition: none;
  }
}
