/* THE MONEY FIELD V7.05 — single responsive visual system, all routes.
   Intentional override of legacy section widths / old serif typography, no financial JS changes. */
:root{--mint:#C5F4DC;--mint-soft:#EAF8F0;--mint-ink:#19704F;--ink:#111716;--slate:#54635D;--paper:#F8F9F6;--line:#D9E1DC;--font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--gutter:clamp(18px,4vw,82px)}
html,body{width:100%;overflow-x:clip;font-family:var(--font)!important;-webkit-font-smoothing:antialiased}
body h1,body h2,body h3,body h4,body h5,body h6,
body .serif,body .life-header-card strong,body .life-form-title h2,
body .life-chart-head h2,body .life-assets-title,body .life-stat-grid strong,
body .life-tool-invite h2,body .life-report-action h3,body .report-document h2,
body .report-document h3,body .retire-form h2,body .retire-report h2,
body .retire-score-ring strong,body .report-kpi strong,body .stat strong,
body .tmf-v705-page-hero h1,body .tmf-v705-retirement-hero h1{font-family:var(--font)!important;font-style:normal!important;letter-spacing:-.055em!important;font-weight:850!important}
body input,body select,body textarea,body button,body label,body summary,body p,body small{font-family:var(--font)!important}
/* The homepage and Lifestyle Number both have edge-to-edge mint heroes; copy respects generous adaptive gutters. */
#home .tmf7-hero{margin:0!important;border-radius:0!important;width:100%!important;background:var(--mint)!important}
#home .tmf7-hero-grid{width:100%!important;max-width:1660px!important;padding:0 var(--gutter)!important}
#home .tmf7-hero-copy{padding-left:0!important}
#home .tmf7-hero-visual{min-width:0}
body:has(.tmf-site-header) .hero{margin:0!important;border-radius:0!important;width:100%!important;background:var(--mint)!important}
body:has(.tmf-site-header) .hero>.wrap{max-width:1600px!important;width:calc(100% - 2*var(--gutter))!important}
/* Full-width editorial page introductions. They are siblings of functional content so filters/forms stay untouched. */
.tmf-v705-page-hero{background:var(--mint)!important;width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important;border:0!important;border-radius:0!important;position:relative;overflow:hidden;isolation:isolate}
.tmf-v705-page-hero:after,.tmf-v705-retirement-hero:after{content:"";position:absolute;width:600px;height:600px;border:1.5px solid #76C7A1;border-radius:50%;right:-120px;top:-390px;opacity:.4;pointer-events:none;z-index:-1;box-shadow:0 0 0 58px #C5F4DC,0 0 0 60px #A8E6C6,0 0 0 125px #C5F4DC,0 0 0 127px #A8E6C6}
.tmf-v705-hero-inner{max-width:1660px;margin:0 auto;padding:clamp(66px,7vw,122px) var(--gutter) clamp(62px,7vw,105px)}
.tmf-v705-page-hero .eyebrow,.tmf-v705-retirement-hero .eyebrow{color:var(--mint-ink)!important;letter-spacing:.15em!important;font-size:11px!important;font-weight:870!important;text-transform:uppercase}
.tmf-v705-page-hero h1,.tmf-v705-retirement-hero h1{font-size:clamp(48px,6.9vw,105px)!important;line-height:1.01!important;max-width:1180px!important;color:var(--ink)!important;margin:19px 0 27px!important}
.tmf-v705-page-hero h1 em,.tmf-v705-retirement-hero h1 em{color:var(--mint-ink)!important;font-style:normal!important}
.tmf-v705-page-hero p,.tmf-v705-retirement-hero p.bodycopy{font-size:clamp(16px,1.7vw,21px)!important;line-height:1.55!important;color:#3E584D!important;max-width:760px!important;margin:0!important}
#journal .tmf-v705-page-content,#about .tmf-v705-page-content,#newsletter .tmf-v705-page-content,#check .tmf-v705-page-content,
#lifeplanner .life-page{max-width:1660px!important;width:calc(100% - 2*var(--gutter))!important;padding:clamp(40px,5vw,74px) 0 96px!important;margin:0 auto!important}
#check .tmf-v705-page-content{max-width:1660px!important}
#check .light-panel{max-width:1160px!important;margin-left:auto!important;margin-right:auto!important;padding:clamp(22px,3.3vw,44px)!important;border-radius:20px!important}
#journal .journal-search-wrap,#journal .filter-bar{max-width:1180px}
#journal #journal-list{width:100%!important}
/* Planner hero: preserve original explanatory card but make it part of one unified full-width hero. */
#lifeplanner .tmf-v705-hero-inner{padding-top:clamp(65px,7vw,110px);padding-bottom:clamp(60px,6vw,95px)}
#lifeplanner .life-header{margin:24px 0 0!important;grid-template-columns:minmax(0,1.45fr) minmax(250px,.55fr)!important;gap:clamp(18px,5vw,90px)!important}
#lifeplanner .life-header h1{font-size:clamp(48px,7vw,106px)!important;line-height:1.01!important;max-width:1050px!important;margin:0 0 22px!important}
#lifeplanner .life-header h1 em{color:var(--mint-ink)!important}
#lifeplanner .life-header .bodycopy{font-size:clamp(16px,1.65vw,21px)!important;max-width:780px!important;color:#3E584D!important}
#lifeplanner .life-header-card{align-self:center;min-height:240px!important;background:#E2F8EC!important;border:1px solid #91DAB5!important;padding:34px!important}
#lifeplanner .life-header-card strong{font-size:clamp(25px,3vw,38px)!important;color:#111716!important}
#lifeplanner .life-header-card span{color:#166848!important}
#lifeplanner .life-layout{grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:clamp(16px,2.4vw,34px)}
#lifeplanner .life-inputs,#lifeplanner .life-output{border-radius:20px!important;padding:clamp(20px,2.6vw,34px)!important;border:1px solid var(--line)!important}
#lifeplanner .life-form-title h2,#lifeplanner .life-chart-head h2{font-size:clamp(25px,2.3vw,37px)!important}
#lifeplanner .life-stat-grid strong{font-size:clamp(18px,2.15vw,32px)!important;overflow-wrap:anywhere}
#lifeplanner .life-report-action,#lifeplanner .life-report-action *{color:#fff}
#lifeplanner .life-report-action .life-download{background:var(--mint)!important;color:#111716!important}
#lifeplanner .life-report-action .life-download *{color:#111716!important}
#lifeplanner .life-header .eyebrow{color:var(--mint-ink)!important}
/* Retirement hero stays inside #retire-intro, so the existing quiz show/hide logic still controls it. */
#retirement-report .retire-page-wrap{max-width:1660px!important;width:calc(100% - 2*var(--gutter))!important;padding:0 0 95px!important;margin:0 auto!important}
#retirement-report #retire-intro{max-width:none!important;margin:0!important}
#retirement-report .tmf-v705-retirement-hero{position:relative;isolation:isolate;padding:clamp(67px,7vw,115px) 0 clamp(65px,7vw,104px);margin-bottom:clamp(28px,4vw,55px);max-width:none!important}
#retirement-report .tmf-v705-retirement-hero:before{content:"";position:absolute;inset:0 auto 0 50%;transform:translateX(-50%);width:100vw;background:var(--mint);z-index:-2}
#retirement-report .tmf-v705-retirement-hero:after{z-index:-1}
#retirement-report .tmf-v705-retirement-hero h1{font-size:clamp(49px,7vw,108px)!important}
#retirement-report .retire-preview{max-width:1180px!important;margin:25px auto!important}
#retirement-report .retire-intro-actions{max-width:1180px;margin:20px auto}
#retirement-report .retire-intro>p.small{max-width:1180px;margin:12px auto!important}
/* Make retirement questionnaire a generous, centred, readable experience instead of a 670px strip. */
#retirement-report #retire-form{max-width:1160px!important;width:100%!important;margin:60px auto 24px!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:24px!important;padding:clamp(24px,4.5vw,68px)!important;box-sizing:border-box}
#retirement-report #retire-form h2{font-size:clamp(33px,4vw,64px)!important;line-height:1.1!important;letter-spacing:-.055em!important;margin:26px 0 18px!important}
#retirement-report #retire-form .retire-progress{margin:18px 0 35px!important}
#retirement-report #retire-form .retire-opt{border-radius:14px!important;padding:clamp(16px,1.6vw,24px)!important}
#retirement-report .retire-question-description{font-size:16px!important}
#retirement-report .retire-custom-field{gap:12px!important}
#retirement-report .retire-custom-field input{min-width:0!important;flex:1}
#retirement-report .retire-form-footer{gap:16px!important;flex-wrap:wrap}
#retirement-report #retire-score-gate,#retirement-report #retire-report{max-width:1160px!important;width:100%!important;margin:35px auto!important}
/* Typography also covers original journal preview & consent cards. */
#home .tmf7-read-card,#home .tmf-insights-preview,#home .tmf-journal-feature h2,#home .tmf-journal-feature h3,
#retirement-report .report-email-cta h2,#retirement-report .retire-report h2,#retirement-report .retire-report h3{font-family:var(--font)!important;font-style:normal!important;letter-spacing:-.05em!important}
#home .tmf7-read-card{border-radius:18px!important}
#retirement-report .report-email-cta,#retirement-report .report-email-cta .report-email-signup-wrap{width:100%!important;max-width:none!important}
/* Fixed width layouts have a comfortable edge gutter, not arbitrary narrow islands. */
#about .grid3,#newsletter .light-panel,#retirement-report .retire-report,.page .page-top .grid3{max-width:1550px!important}
#home .tmf7-home .tmf7-learn,#home .tmf7-home .tmf7-tool-section{max-width:1660px!important;padding-left:var(--gutter)!important;padding-right:var(--gutter)!important}
#home .tmf7-tool-primary{background:var(--mint)!important}
/* Layout of standalone privacy document. */
body:has(.tmf-site-header) .policy{max-width:1200px!important;width:calc(100% - 2*var(--gutter))!important}
@media(max-width:1050px){#lifeplanner .life-layout{grid-template-columns:1fr!important}#retirement-report #retire-form{max-width:100%!important}}
@media(max-width:740px){
 :root{--gutter:clamp(16px,5vw,25px)}
 #home .tmf7-hero-grid{padding:0 var(--gutter)!important}
 #home .tmf7-hero-copy{padding-top:55px!important;padding-bottom:6px!important}
 #home .tmf7-hero h1{font-size:clamp(43px,10vw,65px)!important}
 #home .tmf7-hero-visual{padding-left:0!important;padding-right:0!important}
 .tmf-v705-page-hero h1,.tmf-v705-retirement-hero h1{font-size:clamp(44px,10vw,65px)!important}
 .tmf-v705-page-hero:after,.tmf-v705-retirement-hero:after{opacity:.24}
 #lifeplanner .life-header{grid-template-columns:1fr!important}
 #lifeplanner .life-header h1{font-size:clamp(45px,10vw,68px)!important}
 #lifeplanner .life-header-card{min-height:160px!important}
 #lifeplanner .life-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
 #lifeplanner .life-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #lifeplanner .life-stat-grid>div:last-child{grid-column:1/-1}
 #lifeplanner .life-stat-grid strong{font-size:clamp(20px,5vw,29px)!important}
 #retirement-report #retire-form{margin:24px auto!important;padding:24px 20px!important;border-radius:18px!important}
 #retirement-report #retire-form h2{font-size:clamp(31px,8vw,43px)!important}
 #retirement-report #retire-form .retire-opt{min-height:0!important}
 #retirement-report .retire-preview{padding:24px!important}
 #retirement-report .retire-form-footer .btn{min-width:0!important;flex:1}
 #retirement-report #retire-score-gate,#retirement-report #retire-report{min-width:0!important}
 body:has(.tmf-site-header) .hero>.wrap{width:calc(100% - 2*var(--gutter))!important}
 body:has(.tmf-site-header) .shell>.wrap,body:has(.tmf-site-header) .results.wrap{width:calc(100% - 2*var(--gutter))!important}
}
@media print{
 /* Print-only planner remains fully visible while using the modern type family and report palette. */
 #life-report-print,#life-report-print h1,#life-report-print h2,#life-report-print h3{font-family:Arial,Helvetica,sans-serif!important}
 #life-report-print h1{font-weight:850!important;letter-spacing:-.045em!important}
 #life-report-print .report-cover{background:#C5F4DC!important;padding:45px 30px!important;border:0!important;print-color-adjust:exact;-webkit-print-color-adjust:exact;page-break-after:always}
 #life-report-print .report-cover .report-kicker{color:#166848!important}
}
