/* Think Higher v473 – exact-field two-design assessment demos. */
.th-v473-assessment-demo-page{background:#f4f5f7}
.th-v473-demo{--th473-red:#ef2028;--th473-red-deep:#cc1018;--th473-black:#111318;--th473-navy:#071a34;--th473-text:#222936;--th473-muted:#697383;--th473-line:#e3e7ec;--th473-soft:#f5f6f8;--th473-white:#fff;color:var(--th473-text);background:#fff}
.th-v473-demo *{box-sizing:border-box}.th-v473-demo svg{display:block}.th-v473-hp{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;opacity:0!important}.th-v473-req{color:var(--th473-red)}

/* ---------- HERO: DESIGN 02 / ONSHORE ---------- */
.th-v473-hero{position:relative;overflow:hidden;isolation:isolate}
.th-v473-hero-onshore{padding:82px 0 76px;background:#fff;border-bottom:1px solid #eceef2}
.th-v473-hero-onshore:before{content:"";position:absolute;right:-180px;top:-300px;width:720px;height:720px;border-radius:50%;background:radial-gradient(circle at 45% 50%,rgba(239,32,40,.10) 0 34%,rgba(239,32,40,.035) 35% 50%,transparent 51%);z-index:-1}
.th-v473-hero-onshore:after{content:"";position:absolute;left:0;bottom:0;width:37%;height:8px;background:var(--th473-red)}
.th-v473-hero-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:72px;align-items:center}
.th-v473-demo-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;font:800 10px/1 var(--th-head);letter-spacing:.1em;text-transform:uppercase}.th-v473-demo-badge:before{content:"";width:7px;height:7px;border-radius:50%}
.th-v473-hero-onshore .th-v473-demo-badge{background:#111318;color:#fff}.th-v473-hero-onshore .th-v473-demo-badge:before{background:var(--th473-red);box-shadow:0 0 0 4px rgba(239,32,40,.15)}
.th-v473-eyebrow{display:flex;align-items:center;gap:10px;margin-top:22px;color:var(--th473-red);font:800 12px/1.3 var(--th-head);letter-spacing:.15em;text-transform:uppercase}.th-v473-eyebrow:before{content:"";width:38px;height:3px;border-radius:99px;background:currentColor}
.th-v473-hero h1{margin:17px 0 20px;font:900 clamp(46px,5vw,76px)/.98 var(--th-head);letter-spacing:-.052em}
.th-v473-hero-onshore h1{max-width:850px;color:var(--th473-black)}.th-v473-hero-onshore h1 em{display:block;color:var(--th473-red);font-style:normal}
.th-v473-hero-copy>p{max-width:760px;margin:0;font-size:18px;line-height:1.68;color:#5a6472}
.th-v473-hero-points{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:30px}.th-v473-hero-points span{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:760;color:#38414e}.th-v473-hero-points svg{width:17px;height:17px;color:var(--th473-red)}
.th-v473-onshore-summary{position:relative;padding:0;background:#111318;color:#fff;border-radius:8px;overflow:hidden;box-shadow:0 34px 75px -48px rgba(17,19,24,.85)}
.th-v473-onshore-summary:before{content:"";position:absolute;left:0;top:0;bottom:0;width:7px;background:var(--th473-red)}
.th-v473-onshore-summary .th-v473-card-kicker{padding:30px 32px 0 36px;color:#ff7379;font:800 10px/1.4 var(--th-head);letter-spacing:.14em;text-transform:uppercase}
.th-v473-onshore-summary h2{margin:8px 32px 25px 36px;color:#fff;font:800 29px/1.15 var(--th-head);letter-spacing:-.025em}
.th-v473-onshore-steps{list-style:none;margin:0;padding:0;border-top:1px solid rgba(255,255,255,.12)}.th-v473-onshore-steps li{display:grid;grid-template-columns:56px 1fr;align-items:center;min-height:66px;border-bottom:1px solid rgba(255,255,255,.10)}.th-v473-onshore-steps span{display:flex;align-items:center;justify-content:center;height:100%;border-right:1px solid rgba(255,255,255,.10);color:#ff7379;font:800 11px/1 var(--th-head)}.th-v473-onshore-steps strong{padding:0 18px;color:#eef1f4;font-size:12px}

/* ---------- HERO: DESIGN 01 / OFFSHORE ---------- */
.th-v473-hero-offshore{padding:74px 0 138px;background:linear-gradient(120deg,#c90912 0%,#e9141e 52%,#f43a40 100%);color:#fff}
.th-v473-hero-offshore:before{content:"";position:absolute;right:-210px;top:-285px;width:640px;height:640px;border-radius:50%;border:1px solid rgba(255,255,255,.18);box-shadow:0 0 0 85px rgba(255,255,255,.028),0 0 0 170px rgba(255,255,255,.018);z-index:-1}
.th-v473-offshore-hero-shell{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);gap:76px;align-items:center}
.th-v473-hero-offshore .th-v473-demo-badge{background:#111318;color:#fff;border:1px solid rgba(255,255,255,.15)}.th-v473-hero-offshore .th-v473-demo-badge:before{background:#fff}
.th-v473-hero-offshore .th-v473-eyebrow{color:#fff}.th-v473-hero-offshore h1{max-width:810px;color:#fff}.th-v473-hero-offshore .th-v473-hero-copy>p{color:rgba(255,255,255,.90)}
.th-v473-offshore-highlights{display:grid;background:#111318;border-radius:24px;overflow:hidden;border:1px solid rgba(255,255,255,.12);box-shadow:0 35px 70px -45px rgba(0,0,0,.9)}
.th-v473-offshore-highlights>div{display:grid;grid-template-columns:54px 1fr;column-gap:15px;padding:19px 22px;border-bottom:1px solid rgba(255,255,255,.10)}.th-v473-offshore-highlights>div:last-child{border-bottom:0}.th-v473-offshore-highlights span{grid-row:1/3;display:flex;align-items:flex-start;justify-content:center;color:#ff646b;font:900 13px/1.4 var(--th-head)}.th-v473-offshore-highlights strong{color:#fff;font-size:13px}.th-v473-offshore-highlights small{display:block;margin-top:4px;color:#9fa7b3;font-size:11px;line-height:1.45}

/* ---------- FORM STAGE ---------- */
.th-v473-form-stage{position:relative;background:#f4f5f7;padding:62px 0 90px}.th-v473-assessment-demo-offshore .th-v473-form-stage{margin-top:-76px;padding-top:0;background:linear-gradient(180deg,#f1f3f5 0,#f7f8f9 32%,#f3f5f7 100%)}
.th-v473-form-top{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:22px}.th-v473-form-kicker{display:block;margin-bottom:7px;color:var(--th473-red);font:800 11px/1.4 var(--th-head);letter-spacing:.15em;text-transform:uppercase}.th-v473-form-top h2{margin:0;color:var(--th473-black);font:850 34px/1.1 var(--th-head);letter-spacing:-.035em}.th-v473-form-top p{margin:8px 0 0;max-width:780px;color:#727b88;font-size:13px;line-height:1.55}
.th-v473-assessment-demo-offshore .th-v473-form-top{margin:0;padding:30px 32px 24px;background:#fff;border:1px solid var(--th473-line);border-bottom:0;border-radius:24px 24px 0 0}
.th-v473-secure-note{display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid var(--th473-line);background:#fff;border-radius:10px;box-shadow:0 8px 22px -20px rgba(17,18,22,.35);flex:none}.th-v473-secure-note svg{width:20px;height:20px;color:var(--th473-red)}.th-v473-secure-note strong,.th-v473-secure-note small{display:block}.th-v473-secure-note strong{color:#242932;font-size:12px}.th-v473-secure-note small{margin-top:2px;color:#7d8694;font-size:10px}
.th-v473-alert{margin:0 0 20px;padding:14px 16px;border:1px solid;border-radius:10px;font-size:14px}.th-v473-alert-success{background:#effbf4;border-color:#c6eed6;color:#176b3a}.th-v473-alert-error{background:#fff2f2;border-color:#ffd0d2;color:#9d1d22}

/* ---------- SECTION NAV ---------- */
.th-v473-section-nav{position:sticky;top:82px;z-index:20;display:grid;overflow:hidden;margin-bottom:22px;background:#fff;border:1px solid var(--th473-line);box-shadow:0 12px 30px -28px rgba(17,18,22,.6)}.admin-bar .th-v473-section-nav{top:114px}.th-v473-assessment-demo-onshore .th-v473-section-nav{grid-template-columns:repeat(8,1fr);border-radius:0}.th-v473-assessment-demo-offshore .th-v473-section-nav{grid-template-columns:repeat(7,1fr);border-radius:0 0 18px 18px;margin-top:0}
.th-v473-section-nav a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 8px;border-right:1px solid #edf0f3;color:#68717d;text-decoration:none;font-size:10.5px;font-weight:800;white-space:nowrap}.th-v473-section-nav a:last-child{border-right:0}.th-v473-section-nav span{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#f1f3f5;color:#555e6a;font-size:9px}.th-v473-section-nav a:hover{color:var(--th473-red)}.th-v473-section-nav a:hover span{background:#fff0f0;color:var(--th473-red)}

/* ---------- SECTION LAYOUTS: intentionally different ---------- */
.th-v473-form-section{scroll-margin-top:155px;margin:0 0 24px;background:#fff;overflow:hidden}
/* Onshore Design 02 = editorial split panel */
.th-v473-assessment-demo-onshore .th-v473-form-section{display:grid;grid-template-columns:260px minmax(0,1fr);border:1px solid #dde2e8;border-radius:4px;box-shadow:0 20px 55px -48px rgba(15,24,38,.6)}
.th-v473-assessment-demo-onshore .th-v473-section-head{position:relative;padding:30px 26px 78px;background:#0f1218;color:#fff}.th-v473-assessment-demo-onshore .th-v473-section-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;margin-bottom:20px;border-radius:50%;background:rgba(239,32,40,.13);color:#ff5960}.th-v473-assessment-demo-onshore .th-v473-section-icon svg{width:21px;height:21px}.th-v473-assessment-demo-onshore .th-v473-section-head h2{margin:0;color:#fff;font:800 20px/1.15 var(--th-head)}.th-v473-assessment-demo-onshore .th-v473-section-head p{margin:9px 0 0;color:#aab2bd;font-size:11.5px;line-height:1.55}.th-v473-assessment-demo-onshore .th-v473-section-line{position:absolute;left:26px;bottom:27px;width:44px;height:4px;border-radius:99px;background:var(--th473-red)}.th-v473-assessment-demo-onshore .th-v473-section-body{padding:30px 32px}
/* Offshore Design 01 = premium card sections */
.th-v473-assessment-demo-offshore .th-v473-form-section{position:relative;border:1px solid #e0e4e9;border-radius:22px;box-shadow:0 24px 60px -50px rgba(16,24,38,.55)}.th-v473-assessment-demo-offshore .th-v473-form-section:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,var(--th473-red),#ff565c)}.th-v473-assessment-demo-offshore .th-v473-section-head{display:flex;align-items:center;gap:14px;padding:23px 27px 19px;border-bottom:1px solid #edf0f3;background:#fff}.th-v473-assessment-demo-offshore .th-v473-section-icon{display:flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:13px;background:#fff0f0;color:var(--th473-red)}.th-v473-assessment-demo-offshore .th-v473-section-icon svg{width:21px;height:21px}.th-v473-assessment-demo-offshore .th-v473-section-head h2{margin:0;color:#15181e;font:800 21px/1.15 var(--th-head)}.th-v473-assessment-demo-offshore .th-v473-section-head p{margin:4px 0 0;color:#838c99;font-size:11.5px}.th-v473-assessment-demo-offshore .th-v473-section-line{margin-left:auto;width:36px;height:4px;border-radius:99px;background:var(--th473-red)}.th-v473-assessment-demo-offshore .th-v473-section-body{padding:27px 28px 30px}

/* ---------- FIELDS ---------- */
.th-v473-grid{display:grid;gap:19px}.th-v473-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.th-v473-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.th-v473-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.th-v473-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}.th-v473-span-2{grid-column:span 2}.th-v473-span-3{grid-column:span 3}.th-v473-span-4{grid-column:span 4}
.th-v473-field label{display:block;margin:0 0 7px;color:#222936;font-size:11.5px;font-weight:800}.th-v473-field input,.th-v473-field select,.th-v473-field textarea{width:100%;min-height:49px;border:1px solid #d6dce3;border-radius:8px;background:#fff;padding:0 13px;color:#252b34;font:500 13px/1.4 var(--th-body);outline:0;transition:border-color .16s,box-shadow .16s,background .16s}.th-v473-field textarea{min-height:92px;padding:12px 13px;resize:vertical}.th-v473-field input::placeholder,.th-v473-field textarea::placeholder{color:#9aa2ad}.th-v473-field input:focus,.th-v473-field select:focus,.th-v473-field textarea:focus{border-color:#ef7b80;box-shadow:0 0 0 3px rgba(239,32,40,.08)}
.th-v473-assessment-demo-onshore .th-v473-field input,.th-v473-assessment-demo-onshore .th-v473-field select,.th-v473-assessment-demo-onshore .th-v473-field textarea{border-radius:4px;background:#fcfcfd}.th-v473-assessment-demo-offshore .th-v473-field input,.th-v473-assessment-demo-offshore .th-v473-field select,.th-v473-assessment-demo-offshore .th-v473-field textarea{border-radius:10px}
.th-v473-date-wrap{display:flex;position:relative}.th-v473-date-wrap input{padding-right:47px}.th-v473-date-button{position:absolute;right:1px;top:1px;width:46px;height:47px;border:0;border-left:1px solid #e1e5ea;background:transparent;color:#707987;cursor:pointer}.th-v473-date-button svg{width:18px;height:18px;margin:auto}

/* Business + gender */
.th-v473-business-grid{display:grid;gap:11px}.th-v473-business-grid.is-onshore{grid-template-columns:repeat(8,minmax(0,1fr))}.th-v473-business-grid.is-offshore{grid-template-columns:repeat(6,minmax(0,1fr))}.th-v473-state input,.th-v473-gender input{position:absolute;opacity:0;pointer-events:none}.th-v473-state span{display:flex;align-items:center;justify-content:center;height:50px;border:1px solid #d7dde4;background:#fff;color:#58616e;font-size:13px;font-weight:850;cursor:pointer;transition:.18s}.th-v473-assessment-demo-onshore .th-v473-state span{border-radius:3px}.th-v473-assessment-demo-offshore .th-v473-state span{border-radius:11px}.th-v473-state input:checked+span{border-color:var(--th473-red);box-shadow:inset 0 0 0 1px var(--th473-red);background:#fff3f3;color:var(--th473-red)}
.th-v473-gender{display:flex;gap:10px}.th-v473-gender label{margin:0}.th-v473-gender span{display:flex;align-items:center;gap:9px;height:49px;border:1px solid #d7dde4;border-radius:8px;background:#fff;padding:0 17px;color:#56606d;cursor:pointer;font-size:13px;font-weight:700}.th-v473-gender span:before{content:"";width:15px;height:15px;border:1.5px solid #aab1bc;border-radius:50%;box-shadow:inset 0 0 0 3px #fff}.th-v473-gender input:checked+span{border-color:#ef7b80;background:#fff3f3;color:#b31d23}.th-v473-gender input:checked+span:before{background:var(--th473-red);border-color:var(--th473-red)}

/* Repeaters: exact live row + plus below */
.th-v473-repeat-list{display:grid;gap:20px}.th-v473-repeat-entry{padding:0 0 18px;border-bottom:1px solid #edf0f3}.th-v473-repeat-entry:first-child .th-v473-repeat-entry-head{display:none}.th-v473-repeat-entry:last-child{border-bottom:0}.th-v473-repeat-entry-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.th-v473-repeat-entry-head strong{color:#3d4652;font:800 11px/1.3 var(--th-head);letter-spacing:.04em;text-transform:uppercase}.th-v473-entry-count{color:#9aa2ad}.th-v473-remove{border:0;border-radius:8px;background:#fff0f0;color:#a62127;padding:7px 10px;font-size:10.5px;font-weight:800;cursor:pointer}
.th-v473-add{display:inline-flex;align-items:center;gap:10px;margin-top:14px;border:0;background:transparent;padding:0;color:#39424e;font-size:11.5px;font-weight:850;cursor:pointer}.th-v473-add-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;background:var(--th473-red);color:#fff;box-shadow:0 12px 25px -17px rgba(239,32,40,.95);transition:.18s}.th-v473-add-icon svg{width:21px;height:21px}.th-v473-add:hover .th-v473-add-icon{transform:translateY(-1px);background:var(--th473-red-deep)}.th-v473-assessment-demo-onshore .th-v473-add-icon{border-radius:4px}.th-v473-assessment-demo-offshore .th-v473-add-icon{border-radius:50%}

/* Family subsections */
.th-v473-subsection{padding:0 0 25px;margin:0 0 25px;border-bottom:1px solid #edf0f3}.th-v473-subsection:last-child{padding-bottom:0;margin-bottom:0;border-bottom:0}.th-v473-subsection h3{margin:0 0 16px;color:#111318;font:800 14px/1.2 var(--th-head)}

/* Consent */
.th-v473-consent{margin-top:24px;padding:18px;border:1px solid #e1e5ea;background:#fafbfc}.th-v473-assessment-demo-onshore .th-v473-consent{border-radius:3px}.th-v473-assessment-demo-offshore .th-v473-consent{border-radius:13px}.th-v473-consent-title{margin-bottom:11px;color:#111318;font:800 13px/1.3 var(--th-head)}.th-v473-consent-check{display:grid!important;grid-template-columns:20px 1fr;gap:10px;align-items:start;margin:0!important;color:#5f6875!important;font-weight:500!important;font-size:11.5px!important;line-height:1.65!important}.th-v473-consent-check input{width:18px!important;height:18px!important;min-height:18px!important;margin:2px 0 0!important;padding:0!important;accent-color:var(--th473-red)}

/* Security check injected by site */
.th-v473-form .th-dynamic-security{display:grid;grid-template-columns:220px 1fr;gap:18px;align-items:center;margin:24px 0;padding:19px;border:1px solid #dfe4ea;background:#fff}.th-v473-assessment-demo-onshore .th-dynamic-security{border-radius:4px}.th-v473-assessment-demo-offshore .th-dynamic-security{border-radius:15px}.th-v473-form .th-dynamic-security__head{display:flex;align-items:center;gap:10px}.th-v473-form .th-dynamic-security__icon{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;background:#fff0f0;color:var(--th473-red)}.th-v473-form .th-dynamic-security__icon svg{width:21px;height:21px}.th-v473-form .th-dynamic-security__head strong,.th-v473-form .th-dynamic-security__head small{display:block}.th-v473-form .th-dynamic-security__head strong{color:#252a32;font-size:13px}.th-v473-form .th-dynamic-security__head small{margin-top:2px;color:#7d8692;font-size:10.5px}.th-v473-form .th-dynamic-security__body{display:grid;gap:7px}.th-v473-form .th-dynamic-security__label{margin:0;color:#303640;font-size:12px;font-weight:800}.th-v473-form .th-dynamic-security__answer-row{display:flex}.th-v473-form .th-dynamic-security__answer-row input{height:45px;border:1px solid #d9dde4;border-radius:7px 0 0 7px;padding:0 12px;flex:1}.th-v473-form .th-dynamic-security__refresh{width:45px;border:1px solid #d9dde4;border-left:0;border-radius:0 7px 7px 0;background:#f7f8f9;color:#4c5561;cursor:pointer}.th-v473-form .th-dynamic-security__message{margin:0;color:#8b94a0;font-size:10px}

/* Submit */
.th-v473-submit-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:24px;padding:22px 24px;border:1px solid var(--th473-line);background:#fff;box-shadow:0 20px 52px -44px rgba(17,18,22,.4)}.th-v473-assessment-demo-onshore .th-v473-submit-bar{border-radius:4px}.th-v473-assessment-demo-offshore .th-v473-submit-bar{border-radius:18px}.th-v473-submit-copy{display:flex;align-items:center;gap:12px}.th-v473-submit-copy svg{width:24px;height:24px;color:var(--th473-red)}.th-v473-submit-copy strong,.th-v473-submit-copy small{display:block}.th-v473-submit-copy strong{color:#252a32;font-size:12px}.th-v473-submit-copy small{margin-top:3px;color:#8b939e;font-size:10px}.th-v473-submit{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-width:270px;height:54px;border:0;background:var(--th473-red);color:#fff;font:800 13px/1 var(--th-head);cursor:pointer;box-shadow:0 14px 28px -20px rgba(239,32,40,.9);transition:.18s}.th-v473-assessment-demo-onshore .th-v473-submit{border-radius:4px}.th-v473-assessment-demo-offshore .th-v473-submit{border-radius:999px}.th-v473-submit:hover{background:var(--th473-red-deep);transform:translateY(-1px)}

/* Calendar */
.th-v473-calendar{position:absolute;z-index:99999;width:290px;padding:12px;border:1px solid #dfe3e8;border-radius:12px;background:#fff;box-shadow:0 22px 55px rgba(17,18,22,.20);user-select:none}.th-v473-cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.th-v473-cal-head strong{color:#20252d;font-size:13px}.th-v473-cal-nav{display:flex;gap:5px}.th-v473-cal-nav button{width:30px;height:30px;border:1px solid #e1e4e9;border-radius:7px;background:#fff;cursor:pointer;color:#4d5662}.th-v473-cal-week,.th-v473-cal-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.th-v473-cal-week span{text-align:center;color:#929aa5;font-size:9px;font-weight:800;padding:4px 0}.th-v473-cal-day{height:34px;border:0;background:transparent;border-radius:7px;color:#3e4651;font-size:11px;cursor:pointer}.th-v473-cal-day:hover{background:#fff0f0;color:var(--th473-red)}.th-v473-cal-day.is-muted{color:#c0c5cc}.th-v473-cal-day.is-selected{background:var(--th473-red);color:#fff;font-weight:800}

@media(max-width:1180px){.th-v473-hero-grid,.th-v473-offshore-hero-shell{grid-template-columns:1fr 390px;gap:45px}.th-v473-grid-5{grid-template-columns:repeat(2,minmax(0,1fr))}.th-v473-grid-5 .th-v473-field:last-child{grid-column:span 2}.th-v473-section-nav{overflow-x:auto;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:minmax(145px,1fr)}.th-v473-business-grid.is-onshore{grid-template-columns:repeat(4,1fr)}.th-v473-business-grid.is-offshore{grid-template-columns:repeat(3,1fr)}}
@media(max-width:920px){.th-v473-hero-onshore,.th-v473-hero-offshore{padding:62px 0}.th-v473-hero-offshore{padding-bottom:116px}.th-v473-hero-grid,.th-v473-offshore-hero-shell{grid-template-columns:1fr}.th-v473-onshore-summary,.th-v473-offshore-highlights{max-width:620px}.th-v473-assessment-demo-onshore .th-v473-form-section{grid-template-columns:1fr}.th-v473-assessment-demo-onshore .th-v473-section-head{padding:22px 24px}.th-v473-assessment-demo-onshore .th-v473-section-head p{margin:6px 0 0}.th-v473-assessment-demo-onshore .th-v473-section-line{display:none}.th-v473-assessment-demo-onshore .th-v473-section-icon{margin-bottom:12px}.th-v473-grid-3,.th-v473-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.th-v473-span-3,.th-v473-span-4{grid-column:span 2}.th-v473-form .th-dynamic-security{grid-template-columns:1fr}.th-v473-section-nav{top:72px}.admin-bar .th-v473-section-nav{top:118px}}
@media(max-width:680px){.th-v473-hero-onshore,.th-v473-hero-offshore{padding:46px 0 50px}.th-v473-hero-offshore{padding-bottom:104px}.th-v473-hero h1{font-size:clamp(40px,12vw,58px)}.th-v473-hero-copy>p{font-size:16px}.th-v473-form-stage{padding:42px 0 68px}.th-v473-assessment-demo-offshore .th-v473-form-stage{padding-top:0}.th-v473-form-top{align-items:flex-start;flex-direction:column}.th-v473-assessment-demo-offshore .th-v473-form-top{padding:24px 20px}.th-v473-grid-2,.th-v473-grid-3,.th-v473-grid-4,.th-v473-grid-5{grid-template-columns:1fr}.th-v473-span-2,.th-v473-span-3,.th-v473-span-4,.th-v473-grid-5 .th-v473-field:last-child{grid-column:auto}.th-v473-assessment-demo-onshore .th-v473-section-body,.th-v473-assessment-demo-offshore .th-v473-section-body{padding:22px 18px}.th-v473-business-grid.is-onshore,.th-v473-business-grid.is-offshore{grid-template-columns:repeat(2,1fr)}.th-v473-submit-bar{align-items:stretch;flex-direction:column}.th-v473-submit{width:100%;min-width:0}.th-v473-secure-note{width:100%}.th-v473-section-nav{margin-left:-22px;margin-right:-22px;border-radius:0!important;border-left:0;border-right:0}.th-v473-calendar{width:min(290px,calc(100vw - 24px))}}
@media(max-width:440px){.th-v473-assessment-demo-onshore .th-v473-section-head,.th-v473-assessment-demo-offshore .th-v473-section-head{padding:20px}.th-v473-assessment-demo-onshore .th-v473-section-body,.th-v473-assessment-demo-offshore .th-v473-section-body{padding:20px 14px}.th-v473-gender{flex-direction:column}.th-v473-gender span{justify-content:center}.th-v473-consent{padding:14px}.th-v473-form-top h2{font-size:28px}}

/* v474 demo-only dynamic child rows */
.th-v474-child-list{display:grid;gap:16px}.th-v474-child-row{padding:16px 0 0;border-top:1px solid #edf0f3}.th-v474-child-row:first-child{padding-top:0;border-top:0}

/* v475 demo-only data automation */
.th-v475-address-status{margin-top:2px;padding:9px 11px;border:1px solid #e3e7ec;border-radius:8px;background:#f8fafb;color:#697382;font-size:10.5px;line-height:1.45}
.th-v475-address-status.is-ready{border-color:#cfe9da;background:#f2fbf6;color:#276442}.th-v475-address-status.is-warning{border-color:#f4d7aa;background:#fff9ef;color:#8a5b12}.th-v475-address-status.is-error{border-color:#f4c8ca;background:#fff5f5;color:#9c2d33}
.th-v473-assessment-demo-onshore [data-th-v475-au-state-field][hidden]{display:none!important}
.th-v473-field select[data-th-v475-country],.th-v473-field select[data-th-v475-au-state]{cursor:pointer;background-image:linear-gradient(45deg,transparent 50%,#68717d 50%),linear-gradient(135deg,#68717d 50%,transparent 50%);background-position:calc(100% - 17px) calc(50% - 2px),calc(100% - 12px) calc(50% - 2px);background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-right:34px;appearance:none}

/* v477 demo-only date picker: stable navigation + direct month/year selection. */
.th-v473-calendar{--th473-red:#ef2028;--th473-red-deep:#d9151d;width:320px;padding:14px;overscroll-behavior:contain}
.th-v473-cal-head{gap:10px;margin-bottom:11px}
.th-v473-cal-jump{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:7px;min-width:0;flex:1}
.th-v473-cal-jump select{width:100%;height:34px;min-height:34px;margin:0;padding:0 28px 0 9px;border:1px solid #dfe3e8;border-radius:7px;background:#fff;color:#20252d;font:700 11px/1.2 inherit;cursor:pointer;outline:none}
.th-v473-cal-jump select:focus{border-color:#ef2028;box-shadow:0 0 0 2px rgba(239,32,40,.10)}
.th-v473-cal-nav{flex:0 0 auto}
.th-v473-cal-nav button:hover{border-color:#ef2028;color:#ef2028;background:#fff4f4}
.th-v473-cal-day.is-selected{background:#ef2028!important;color:#fff!important;font-weight:800}
.th-v473-cal-day.is-selected:hover{background:#d9151d!important;color:#fff!important}
@media(max-width:680px){.th-v473-calendar{width:min(320px,calc(100vw - 20px));padding:12px}.th-v473-cal-jump{grid-template-columns:minmax(0,1fr) 84px}.th-v473-cal-jump select{font-size:10.5px}}

/* v481 demo-only CV upload: displayed in Other Details and attached to staff email only. */
.th-v481-cv-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;margin-top:19px}
.th-v481-cv-field input[type="file"]{display:flex;align-items:center;min-height:49px;height:auto;padding:7px 9px;cursor:pointer}
.th-v481-cv-field input[type="file"]::file-selector-button{height:33px;margin:-1px 12px -1px 0;padding:0 14px;border:0;border-radius:5px;background:#111318;color:#fff;font:800 10.5px/1 var(--th-head);cursor:pointer}
.th-v473-assessment-demo-offshore .th-v481-cv-field input[type="file"]::file-selector-button{border-radius:8px;background:#ef2028}
.th-v481-cv-field small{display:block;margin-top:6px;color:#7c8591;font-size:10.5px;line-height:1.4}
.th-v660-grant-row{grid-template-columns:1fr}.th-v660-grant-field{width:100%}

/* v668: restore the clean file-control look while keeping the v667 uploaded/replacement state. */
.th-v667-grant-picker{display:flex;align-items:center;gap:12px;min-height:49px;padding:7px 9px;border:1px solid #d8dee7;border-radius:7px;background:#fff;overflow:hidden}
.th-v667-grant-input{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.th-v660-grant-field .th-v667-grant-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;height:33px!important;min-width:112px!important;margin:0!important;padding:0 14px!important;border:0!important;border-radius:5px!important;background:#ef2028!important;color:#fff!important;font-family:var(--th-head)!important;font-size:10.5px!important;font-weight:800!important;line-height:1!important;text-decoration:none!important;cursor:pointer!important;box-shadow:none!important;transition:background .18s ease,transform .18s ease!important}
.th-v660-grant-field .th-v667-grant-button:hover{background:#d9151d!important;color:#fff!important}
.th-v660-grant-field .th-v667-grant-button:active{transform:translateY(1px)}
.th-v660-grant-field .th-v667-grant-button:focus-visible{outline:3px solid rgba(239,32,40,.20)!important;outline-offset:2px}
.th-v667-grant-filename{display:block;min-width:0;padding:0;color:#5f6978;font-size:13px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.th-v667-grant-filename.is-uploaded{color:#176b3a;font-weight:700}
@media(max-width:680px){.th-v667-grant-picker{gap:9px;padding:7px}.th-v660-grant-field .th-v667-grant-button{min-width:104px!important;padding:0 12px!important}.th-v667-grant-filename{font-size:12px;white-space:nowrap}}
@media(max-width:680px){.th-v481-cv-row{grid-template-columns:1fr}.th-v481-cv-field input[type="file"]{font-size:11px}}

/* v488 final assessment refinements */
.th-v473-hero-copy>.th-v473-eyebrow:first-child{margin-top:0}
.th-v488-friend-reference[hidden]{display:none!important}

/* v490: retain entered assessment data and clearly flag missing/invalid fields. */
.th-v490-validation-summary{
 margin:0 0 22px;
 padding:16px 18px;
 border:2px solid #dc2626;
 border-radius:12px;
 background:#fff5f5;
 color:#7f1d1d;
 display:flex;
 flex-direction:column;
 gap:4px;
}
.th-v490-validation-summary[hidden]{display:none!important;}
.th-v490-validation-summary strong{font-size:16px;line-height:1.35;color:#991b1b;}
.th-v490-validation-summary span{font-size:14px;line-height:1.5;color:#7f1d1d;}
.th-v490-invalid input:not([type="radio"]):not([type="checkbox"]),
.th-v490-invalid select,
.th-v490-invalid textarea{
 border-color:#dc2626!important;
 box-shadow:0 0 0 3px rgba(220,38,38,.10)!important;
 background:#fffafa!important;
}
.th-v490-invalid .th-v473-gender,
.th-v490-invalid.th-v473-business-grid,
.th-v490-invalid .th-v473-consent-check,
.th-v490-invalid.th-v473-consent{
 outline:2px solid #dc2626;
 outline-offset:3px;
 border-radius:10px;
}
.th-v490-invalid .th-v473-state span{border-color:#dc2626!important;}
.th-v490-field-error{
 margin-top:7px;
 color:#b91c1c;
 font-size:13px;
 font-weight:700;
 line-height:1.35;
}
.th-v473-business-grid > .th-v490-field-error{grid-column:1/-1;}
@media (max-width:767px){
 .th-v490-validation-summary{margin-bottom:16px;padding:14px 15px;}
}
/* v587: one-click submit lock for onshore/offshore assessment forms. */
.th-v473-submit.is-submitting,.th-v473-submit:disabled{cursor:wait!important;transform:none!important;opacity:.88;background:var(--th473-red)!important;box-shadow:none!important;pointer-events:none}
.th-v587-submit-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.42);border-top-color:#fff;border-radius:50%;animation:th-v587-submit-spin .75s linear infinite;flex:0 0 16px}
@keyframes th-v587-submit-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.th-v587-submit-spinner{animation:none;border-color:#fff}}

/* v588: make the exact incomplete assessment section obvious after restore or failed validation. */
.th-v473-form-section.th-v588-section-invalid{border-color:#ef4444!important;box-shadow:0 0 0 2px rgba(220,38,38,.08),0 14px 34px rgba(127,29,29,.08)!important}
.th-v473-form-section.th-v588-section-invalid .th-v473-section-head{background:#fff7f7!important}
.th-v473-section-nav a.th-v588-nav-invalid{background:#fff1f2!important;color:#b91c1c!important;box-shadow:inset 0 -3px 0 #dc2626}
.th-v473-section-nav a.th-v588-nav-invalid span{background:#dc2626!important;color:#fff!important}
.th-dynamic-security.th-v490-invalid{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.10)!important;background:#fffafa!important}
.th-v481-cv-field.th-v490-invalid{border-radius:10px;padding:8px;background:#fffafa}
