/* v674 Victorian Points Test Calculator */
:root {
  --vpt-red: #e31e24;
  --vpt-red-dark: #bb1117;
  --vpt-ink: #17233c;
  --vpt-text: #283247;
  --vpt-muted: #657084;
  --vpt-line: #dfe4ec;
  --vpt-soft: #f5f6f8;
  --vpt-warm: #f8f5f0;
  --vpt-white: #ffffff;
  --vpt-green: #167746;
  --vpt-amber: #9a5b00;
  --vpt-shadow: 0 18px 55px rgba(20, 31, 54, .10);
}

.th-vpt-page,
.th-vpt-page * { box-sizing: border-box; }
.th-vpt-page { color: var(--vpt-text); background: var(--vpt-white); }
.th-vpt-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.th-vpt-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 86px;
  background: linear-gradient(125deg, #9f0e16 0%, #d71820 54%, #f03a3f 100%);
  color: #fff;
}
.th-vpt-hero::before,
.th-vpt-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.th-vpt-hero::before { width: 420px; height: 420px; right: -120px; top: -190px; border: 1px solid rgba(255,255,255,.16); }
.th-vpt-hero::after { width: 280px; height: 280px; left: -90px; bottom: -180px; background: rgba(255,255,255,.06); }
.th-vpt-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .72fr); gap: 72px; align-items: center; }
.th-vpt-kicker,
.th-vpt-section-head > span,
.th-vpt-card-label,
.th-vpt-result-label,
.th-vpt-final-grid > div > span {
  display: inline-block;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.th-vpt-kicker { color: rgba(255,255,255,.82); margin-bottom: 18px; }
.th-vpt-hero h1 { margin: 0; max-width: 760px; color: #fff; font: 800 clamp(42px, 5vw, 72px)/1.03 "Poppins", sans-serif; letter-spacing: -.045em; }
.th-vpt-hero-copy > p { max-width: 730px; margin: 24px 0 0; color: rgba(255,255,255,.9); font-size: 18px; line-height: 1.75; }
.th-vpt-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.th-vpt-reviewed { margin-top: 24px; font-size: 13px; color: #fff; }
.th-vpt-hero .th-vpt-reviewed strong { color: #fff; }

.th-vpt-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 13px 20px;
  font: 700 14px/1.2 "Inter", sans-serif;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.th-vpt-btn:hover { transform: translateY(-1px); }
.th-vpt-btn-primary { background: var(--vpt-red); color: #fff !important; box-shadow: 0 10px 24px rgba(227,30,36,.24); }
.th-vpt-hero .th-vpt-btn-primary { background: #fff; color: var(--vpt-red) !important; box-shadow: none; }
.th-vpt-btn-ghost { border-color: rgba(255,255,255,.55); color: #fff !important; background: transparent; }
.th-vpt-btn-secondary { background: #fff; border-color: var(--vpt-line); color: var(--vpt-ink) !important; }
.th-vpt-btn-dark { background: var(--vpt-ink); color: #fff !important; }
.th-vpt-btn-light { background: #fff; color: var(--vpt-red) !important; }

/* v682: restore the original red hero-card palette, keeping the cleaner two-stat / ranking layout. */
.th-vpt-hero-card {
  padding: 27px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 22px;
  background: rgba(120,5,12,.27);
  color: #fff;
  box-shadow: 0 22px 60px rgba(84,0,5,.22);
  backdrop-filter: blur(8px);
}
.th-vpt-card-label { color: rgba(255,255,255,.78); margin-bottom: 17px; font-size: 11px; letter-spacing: .12em; }
.th-vpt-hero-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.th-vpt-hero-metric { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 17px 16px; border: 1px solid rgba(255,255,255,.19); border-radius: 13px; background: rgba(255,255,255,.09); }
.th-vpt-hero-metric strong { display: block; color: #fff; font: 800 36px/1.1 "Poppins", sans-serif; letter-spacing: -.04em; }
.th-vpt-hero-metric span { display: block; color: rgba(255,255,255,.85); font-size: 12px; font-weight: 550; line-height: 1.45; }
.th-vpt-hero-ranking { display: grid; gap: 5px; min-width: 0; margin-top: 12px; padding: 16px 17px; border: 1px solid rgba(255,255,255,.19); border-left: 3px solid #fff; border-radius: 12px; background: rgba(255,255,255,.06); }
.th-vpt-hero-ranking strong { display: block; color: #fff; font: 750 18px/1.3 "Poppins", sans-serif; letter-spacing: -.02em; }
.th-vpt-hero-ranking span { display: block; color: rgba(255,255,255,.84); font-size: 12px; line-height: 1.55; }
.th-vpt-hero-card > p { margin: 18px 0 0; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.78); font-size: 12px; line-height: 1.65; }

.th-vpt-alert-section { margin-top: -28px; position: relative; z-index: 4; }
.th-vpt-alert { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 21px 25px; border: 1px solid #ffd3d5; border-radius: 14px; background: #fff; box-shadow: var(--vpt-shadow); }
.th-vpt-alert strong { color: var(--vpt-red); white-space: nowrap; }
.th-vpt-alert span { color: var(--vpt-muted); font-size: 14px; line-height: 1.55; }

.th-vpt-section { padding: 86px 0; }
.th-vpt-section-head { max-width: 800px; margin-bottom: 36px; }
.th-vpt-section-head > span { color: var(--vpt-red); margin-bottom: 9px; }
.th-vpt-section-head h2 { margin: 0; color: var(--vpt-ink); font: 750 clamp(30px, 3.6vw, 48px)/1.15 "Poppins", sans-serif; letter-spacing: -.03em; }
.th-vpt-section-head p { margin: 15px 0 0; color: var(--vpt-muted); font-size: 16px; line-height: 1.7; }
.th-vpt-section-head-light > span { color: #ff878b; }
.th-vpt-section-head-light h2 { color: #fff; }
.th-vpt-section-head-light p { color: rgba(255,255,255,.68); }

.th-vpt-compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.th-vpt-compare-grid article { position: relative; padding: 30px; border: 1px solid var(--vpt-line); border-radius: 18px; background: #fff; }
.th-vpt-compare-grid article.is-active { border-color: #f1a1a4; background: linear-gradient(150deg, #fff 0%, #fff6f6 100%); }
.th-vpt-number { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; color: var(--vpt-red); background: #fdebed; font-weight: 800; }
.th-vpt-compare-grid h3 { margin: 22px 0 10px; color: var(--vpt-ink); font-size: 21px; }
.th-vpt-compare-grid p { margin: 0; color: var(--vpt-muted); line-height: 1.7; }
.th-vpt-compare-grid a { display: inline-block; margin-top: 17px; color: var(--vpt-red); font-weight: 750; text-decoration: none; }
.th-vpt-inline-status { display: inline-flex; margin-top: 17px; padding: 8px 11px; border-radius: 999px; color: #7f1116; background: #fde4e5; font-size: 12px; font-weight: 750; }

/* v676: intentional, restrained break between the red hero and navy calculator. */
.th-vpt-calculator-section {
  position: relative;
  padding: 88px 0;
  border-top: 40px solid #fff;
  background: var(--vpt-ink);
}
.th-vpt-calculator-section::before {
  content: "";
  position: absolute;
  top: -23px;
  left: 50%;
  width: 62px;
  height: 3px;
  border-radius: 999px;
  background: var(--vpt-red);
  transform: translateX(-50%);
  pointer-events: none;
}
.th-vpt-app { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, .75fr); gap: 26px; align-items: start; }
.th-vpt-form-column { display: grid; gap: 18px; }
.th-vpt-form-section { padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: #fff; box-shadow: 0 15px 34px rgba(3,12,31,.13); }
.th-vpt-form-title { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; margin-bottom: 22px; }
.th-vpt-form-title > span { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 10px; background: var(--vpt-red); color: #fff; font-weight: 800; }
.th-vpt-form-title h3 { margin: 1px 0 4px; color: var(--vpt-ink); font: 750 20px/1.28 "Poppins", sans-serif; }
.th-vpt-form-title p { margin: 0; color: var(--vpt-muted); font-size: 13px; line-height: 1.55; }
.th-vpt-fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px; }
.th-vpt-field { display: grid; gap: 8px; }
/* v679: align readiness controls with the same top edge and 48px field height. */
.th-vpt-form-section[data-section="readiness"] .th-vpt-field { align-content: start; }

.th-vpt-field > span,
.th-vpt-occupation-field > label,
.th-vpt-partner-occupation > label { color: var(--vpt-ink); font-size: 13px; font-weight: 750; }
.th-vpt-field select,
.th-vpt-field input,
.th-vpt-search-wrap > input[type="search"] {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cfd6e1;
  border-radius: 9px;
  color: var(--vpt-ink);
  background: #fff;
  font: 500 14px/1.35 "Inter", sans-serif;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.th-vpt-field select:focus,
.th-vpt-field input:focus,
.th-vpt-search-wrap > input[type="search"]:focus { border-color: var(--vpt-red); box-shadow: 0 0 0 3px rgba(227,30,36,.12); }
.th-vpt-field small,
.th-vpt-field-help { margin: 0; color: var(--vpt-muted); font-size: 11px; line-height: 1.5; }
.th-vpt-readiness-message { margin-top: 16px; }
.th-vpt-readiness-message:not(:empty) { padding: 12px 14px; border-radius: 9px; background: var(--vpt-soft); color: var(--vpt-text); font-size: 13px; line-height: 1.55; }
.th-vpt-readiness-message.is-warning { color: #7b4700; background: #fff5de; }
.th-vpt-readiness-message.is-good { color: #0e663a; background: #eaf8f0; }

.th-vpt-search-wrap { position: relative; margin-top: 8px; }
.th-vpt-search-results { position: absolute; z-index: 30; top: calc(100% + 7px); left: 0; right: 0; max-height: 330px; overflow-y: auto; border: 1px solid var(--vpt-line); border-radius: 11px; background: #fff; box-shadow: 0 16px 42px rgba(18,29,50,.18); }
.th-vpt-search-option { display: block; width: 100%; padding: 12px 14px; border: 0; border-bottom: 1px solid #eef1f5; background: #fff; text-align: left; cursor: pointer; }
.th-vpt-search-option:last-child { border-bottom: 0; }
.th-vpt-search-option:hover,
.th-vpt-search-option.is-active { background: #fff4f4; }
.th-vpt-search-option strong { display: block; color: var(--vpt-ink); font-size: 13px; }
.th-vpt-search-option span { display: block; margin-top: 3px; color: var(--vpt-muted); font-size: 11px; }
.th-vpt-search-empty { padding: 18px; color: var(--vpt-muted); font-size: 13px; }

.th-vpt-occupation-card,
.th-vpt-partner-card { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px; margin-top: 16px; overflow: hidden; border: 1px solid var(--vpt-line); border-radius: 12px; background: var(--vpt-line); }
.th-vpt-occupation-card > div,
.th-vpt-partner-card > div { padding: 14px; background: var(--vpt-soft); }
.th-vpt-occupation-card small,
.th-vpt-partner-card small { display: block; color: var(--vpt-muted); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.th-vpt-occupation-card strong,
.th-vpt-partner-card strong { display: block; margin-top: 5px; color: var(--vpt-ink); font-size: 13px; line-height: 1.35; }
.th-vpt-occupation-card .is-priority strong,
.th-vpt-partner-card .is-priority strong { color: var(--vpt-green); }
.th-vpt-fallback { margin-top: 16px; padding: 15px; border-radius: 10px; background: #fff5de; }
.th-vpt-fallback p { margin: 0 0 12px; color: #704300; font-size: 13px; }

.th-vpt-inline-warning { display: grid; gap: 4px; margin-top: 14px; padding: 14px 16px; border-left: 4px solid #e5a014; border-radius: 8px; background: #fff6e5; }
.th-vpt-inline-warning strong { color: #744500; font-size: 13px; }
.th-vpt-inline-warning span { color: #7a5a26; font-size: 12px; line-height: 1.55; }
.th-vpt-rule-note { margin-top: 15px; padding: 12px 14px; border-radius: 9px; background: var(--vpt-soft); color: var(--vpt-muted); font-size: 12px; line-height: 1.55; }
.th-vpt-partner-occupation { margin-top: 17px; }
.th-vpt-earnings-field { margin-top: 17px; }
.th-vpt-money-input { display: grid; grid-template-columns: auto 1fr; align-items: center; border: 1px solid #cfd6e1; border-radius: 9px; overflow: hidden; }
.th-vpt-money-input:focus-within { border-color: var(--vpt-red); box-shadow: 0 0 0 3px rgba(227,30,36,.12); }
.th-vpt-money-input > span { padding: 0 13px; color: var(--vpt-muted); font-size: 13px; font-weight: 700; }
.th-vpt-money-input input { border: 0; border-left: 1px solid #e0e5ec; border-radius: 0; box-shadow: none !important; }

.th-vpt-result-column { position: sticky; top: 24px; display: grid; gap: 14px; }
.th-vpt-result-card { padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: #fff; box-shadow: 0 15px 35px rgba(3,12,31,.17); }
.th-vpt-result-label { color: var(--vpt-muted); font-size: 10px; }
.th-vpt-score { display: flex; align-items: baseline; gap: 7px; margin-top: 11px; }
.th-vpt-score strong { color: var(--vpt-red); font: 800 54px/1 "Poppins", sans-serif; letter-spacing: -.045em; }
.th-vpt-score span { color: var(--vpt-muted); font-weight: 700; }
.th-vpt-score-status { margin-top: 9px; color: var(--vpt-muted); font-size: 12px; line-height: 1.5; }
.th-vpt-progress { height: 7px; margin: 17px 0 20px; overflow: hidden; border-radius: 999px; background: #eceff3; }
.th-vpt-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--vpt-red), #f05a5e); transition: width .25s ease; }
.th-vpt-breakdown { display: grid; gap: 10px; }
.th-vpt-breakdown-row { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid #eef1f4; font-size: 12px; }
.th-vpt-breakdown-row:last-child { border-bottom: 0; padding-bottom: 0; }
.th-vpt-breakdown-row span { color: var(--vpt-muted); }
.th-vpt-breakdown-row strong { color: var(--vpt-ink); }
.th-vpt-priority-card { background: linear-gradient(145deg, #fff 0%, #f6f8fb 100%); }
.th-vpt-priority-card.is-priority { border-color: #a9dcc2; background: linear-gradient(145deg, #fff 0%, #eef9f3 100%); }
.th-vpt-priority-card.is-special { border-color: #f0c277; background: linear-gradient(145deg, #fff 0%, #fff7e9 100%); }
.th-vpt-priority-card h3 { margin: 11px 0 6px; color: var(--vpt-ink); font-size: 17px; }
.th-vpt-priority-card p { margin: 0; color: var(--vpt-muted); font-size: 12px; line-height: 1.6; }
.th-vpt-check-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.th-vpt-check-card li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; color: var(--vpt-text); font-size: 12px; line-height: 1.45; }
.th-vpt-check-icon { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: #8b96a8; font-size: 10px; font-weight: 800; }
.th-vpt-check-icon.is-good { background: var(--vpt-green); }
.th-vpt-check-icon.is-warn { background: #d98500; }
.th-vpt-result-actions { display: grid; gap: 9px; }
.th-vpt-result-actions .th-vpt-btn { width: 100%; }
.th-vpt-result-disclaimer { margin: 0; padding: 0 5px; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.55; text-align: center; }

.th-vpt-result-guide { background: var(--vpt-soft); }
.th-vpt-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.th-vpt-guide-grid article { padding: 25px; border: 1px solid var(--vpt-line); border-radius: 15px; background: #fff; }
.th-vpt-guide-grid strong { color: var(--vpt-ink); font-size: 17px; }
.th-vpt-guide-grid p { margin: 10px 0 0; color: var(--vpt-muted); font-size: 13px; line-height: 1.65; }

.th-vpt-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.th-vpt-related-grid a { min-height: 145px; padding: 22px; border: 1px solid var(--vpt-line); border-radius: 14px; background: #fff; text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.th-vpt-related-grid a:hover { transform: translateY(-2px); border-color: #ef9a9d; box-shadow: 0 12px 28px rgba(20,31,54,.08); }
.th-vpt-related-grid strong { display: block; color: var(--vpt-ink); font-size: 16px; }
.th-vpt-related-grid span { display: block; margin-top: 9px; color: var(--vpt-muted); font-size: 12px; line-height: 1.55; }

.th-vpt-faq { background: var(--vpt-warm); }
.th-vpt-faq-list { display: grid; gap: 10px; max-width: 920px; }
.th-vpt-faq-list details { border: 1px solid #dedbd6; border-radius: 12px; background: #fff; }
.th-vpt-faq-list summary { display: flex; justify-content: space-between; gap: 16px; padding: 19px 21px; color: var(--vpt-ink); font-weight: 750; cursor: pointer; list-style: none; }
.th-vpt-faq-list summary::-webkit-details-marker { display: none; }
.th-vpt-faq-list summary span { color: var(--vpt-red); font-size: 20px; }
.th-vpt-faq-list details[open] summary span { transform: rotate(45deg); }
.th-vpt-faq-list details p { margin: 0; padding: 0 21px 20px; color: var(--vpt-muted); font-size: 14px; line-height: 1.7; }

.th-vpt-final-cta { padding: 68px 0; background: var(--vpt-red); color: #fff; }
.th-vpt-final-grid { display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: center; }
.th-vpt-final-grid > div > span { color: rgba(255,255,255,.72); }
.th-vpt-final-grid h2 { max-width: 800px; margin: 8px 0 0; color: #fff; font: 750 clamp(27px, 3vw, 40px)/1.2 "Poppins", sans-serif; letter-spacing: -.025em; }
.th-vpt-final-grid p { margin: 12px 0 0; max-width: 750px; color: rgba(255,255,255,.82); line-height: 1.65; }
.th-vpt-sources { padding: 26px 0; background: #101a2c; }
.th-vpt-sources p { margin: 6px 0; color: rgba(255,255,255,.62); font-size: 11px; line-height: 1.55; }
.th-vpt-sources strong { color: rgba(255,255,255,.88); }

[hidden] { display: none !important; }

@media (max-width: 1050px) {
  .th-vpt-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .th-vpt-hero-card { max-width: 720px; }
  .th-vpt-app { grid-template-columns: 1fr; }
  .th-vpt-result-column { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .th-vpt-result-actions,
  .th-vpt-result-disclaimer { grid-column: 1 / -1; }
  .th-vpt-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .th-vpt-wrap { width: min(100% - 24px, 1180px); }
  .th-vpt-hero { padding: 68px 0 62px; }
  .th-vpt-hero h1 { font-size: 42px; }
  .th-vpt-hero-copy > p { font-size: 16px; }
  .th-vpt-alert { grid-template-columns: 1fr; gap: 7px; }
  .th-vpt-alert strong { white-space: normal; }
  .th-vpt-section { padding: 62px 0; }
  .th-vpt-compare-grid,
  .th-vpt-fields-grid,
  .th-vpt-guide-grid,
  .th-vpt-result-column,
  .th-vpt-final-grid { grid-template-columns: 1fr; }
  .th-vpt-calculator-section { padding: 64px 0; border-top-width: 30px; }
  .th-vpt-calculator-section::before { top: -17px; width: 50px; }
  .th-vpt-form-section { padding: 20px 17px; }
  .th-vpt-form-title { grid-template-columns: 36px 1fr; }
  .th-vpt-form-title > span { width: 36px; height: 36px; }
  .th-vpt-occupation-card,
  .th-vpt-partner-card { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .th-vpt-related-grid { grid-template-columns: 1fr; }
  .th-vpt-final-grid .th-vpt-btn { width: 100%; }
}

@media (max-width: 480px) {
  .th-vpt-hero h1 { font-size: 35px; }
  .th-vpt-hero-actions { display: grid; }
  .th-vpt-hero-actions .th-vpt-btn { width: 100%; }
  .th-vpt-hero-card { padding: 21px 18px; }
  .th-vpt-hero-metrics { gap: 9px; }
  .th-vpt-hero-metric { padding: 15px 12px; }
  .th-vpt-hero-metric strong { font-size: 32px; }
  .th-vpt-hero-ranking { padding: 14px; }
  .th-vpt-occupation-card,
  .th-vpt-partner-card { grid-template-columns: 1fr; }
  .th-vpt-score strong { font-size: 46px; }
}

@media print {
  body * { visibility: hidden !important; }
  #th-vpt-app,
  #th-vpt-app * { visibility: visible !important; }
  #th-vpt-app { position: absolute; left: 0; top: 0; width: 100%; background: #fff !important; }
  .th-vpt-form-column,
  .th-vpt-result-actions,
  .th-vpt-result-disclaimer { display: none !important; }
  .th-vpt-result-column { position: static; display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
  .th-vpt-result-card { box-shadow: none; border: 1px solid #bbb; break-inside: avoid; }
}
