/* AgeLens V2: soft surfaces, legible forms, a report that stays in view. */
.estimator-v2 { --report-warm:#b76c4d; --report-sage:#7da88e; }
.estimator-v2 .page-shell { max-width:1440px; }
.estimator-v2 main { padding-bottom:16px; }
.estimator-v2 .intro-row { padding:42px 0 28px; align-items:center; }
.estimator-v2 h1 { max-width:780px; font-size:clamp(27px,3.1vw,43px); line-height:1.15; letter-spacing:-.045em; }
.estimator-v2 .intro-copy { max-width:640px; line-height:1.65; margin-top:13px; font-size:14px; }
.estimator-v2 .extended-switch { flex-shrink:0; }
.sample-strip { display:flex; align-items:center; justify-content:space-between; gap:22px; padding:18px 22px; margin-bottom:24px; background:linear-gradient(110deg,#eef3df,#f7f8ee); border:1px solid #dce5c9; border-radius:17px; }
.sample-strip>div:first-child { display:flex; align-items:center; flex-wrap:wrap; gap:6px 10px; font-size:13px; }
.sample-strip>div:first-child>span:last-child { color:var(--muted); }
.sample-spark { color:#5a7545; font-size:23px; }
.sample-actions { display:flex; flex-shrink:0; gap:8px; }
.sample-button { display:inline-flex; align-items:center; justify-content:center; gap:18px; padding:11px 16px; color:#f5f7ea; background:#204d3d; border:1px solid #204d3d; border-radius:10px; font-size:12px; font-weight:650; transition:transform .2s,box-shadow .2s; }
.sample-button:hover { transform:translateY(-2px); box-shadow:0 5px 12px #204d3d1c; }
.sample-button.secondary { background:transparent; border-color:#ccd7bb; color:#3c5940; font-weight:550; }
.sample-button:disabled { opacity:.55; cursor:wait; }
.estimator-v2 .workspace-grid { grid-template-columns:minmax(0,1.13fr) minmax(370px,.87fr); gap:26px; align-items:start; }
.input-workspace,.report-workspace { min-width:0; }
.input-workspace { border:1px solid #dfe5da; border-radius:22px; background:white; box-shadow:0 14px 35px #1c342008; overflow:hidden; }
.input-tabs { display:flex; gap:5px; padding:7px; background:#edf0e8; }
.input-tabs button { flex:1; display:flex; align-items:center; justify-content:center; gap:9px; min-height:46px; border:0; border-radius:13px; color:#6b7b6e; background:transparent; font-size:13px; font-weight:650; }
.input-tabs button.selected { background:white; color:#254c37; box-shadow:0 2px 8px #263e2420; }
.tiny-badge { font-size:9px; padding:3px 5px; border-radius:4px; color:#4d652b; background:#e6edcc; }
.upload-panel { position:relative; display:flex; align-items:center; flex-direction:column; text-align:center; padding:48px 32px 28px; min-height:600px; overflow:hidden; background:radial-gradient(ellipse at top,#f4f7e7,transparent 60%); }
.upload-icon { display:grid; place-items:center; width:78px; height:88px; font-size:43px; border:1px solid #d1ddc2; color:#31553c; background:linear-gradient(140deg,white,#e5eddb); border-radius:17px; box-shadow:0 12px 25px #58754314; margin-bottom:27px; transform:rotate(-5deg); }
.upload-panel h2 { max-width:380px; margin:3px 0 8px; font-size:28px; line-height:1.2; letter-spacing:-.04em; font-weight:650; }
.upload-panel>p:not(.eyebrow) { max-width:380px; color:#7a8678; font-size:13px; line-height:1.7; }
.upload-picker { display:block; width:100%; max-width:380px; padding:20px; margin-top:12px; border:1px dashed #a8bc97; border-radius:13px; background:#fbfdf7; color:#375d3a; font-size:13px; font-weight:600; cursor:pointer; }
.upload-picker:hover { background:#f0f5e4; }
.upload-picker input { display:block; max-width:100%; margin:11px auto 0; font-size:11px; font-weight:400; color:#7b8776; }
.upload-picker input::file-selector-button { border:0; background:#e8efdd; color:#42633d; border-radius:6px; padding:7px 9px; margin-right:10px; cursor:pointer; }
.upload-consent { max-width:390px; display:flex; gap:9px; align-items:flex-start; margin:15px 0 18px; text-align:left; font-size:11px; color:#778371; line-height:1.6; }
.upload-consent input { accent-color:#2e6241; flex-shrink:0; margin-top:3px; }
.upload-consent[hidden] { display:none; }
.upload-panel .submit-button { width:100%; max-width:380px; }
.upload-panel .upload-privacy { font-size:12px !important; margin:14px 0 3px; }
.privacy-link { font-size:11px; color:#536b45; text-underline-offset:3px; }
.upload-demo { width:100%; margin-top:22px; border-top:1px solid #e9eddf; padding-top:13px; }
.upload-demo p { color:#87917e; font-size:11px; line-height:1.6; margin:0 0 7px; }
.text-button { border:0; padding:4px 0; background:transparent; color:#3d6647; text-decoration:underline; text-underline-offset:4px; font-size:11px; font-weight:600; }
.file-name { margin:6px 0 0; overflow-wrap:anywhere; }
.scan-progress { margin:16px 0 0; color:#3f6943; font-size:12px; }
.scan-line { display:block; position:absolute; left:0; right:0; top:0; height:2px; background:#8aaf5a; box-shadow:0 8px 20px #7eab4780; animation:scan-report 2.4s ease-in-out infinite; pointer-events:none; }
@keyframes scan-report { 0%{top:10%;opacity:0} 15%,85%{opacity:1} 100%{top:90%;opacity:0} }
.estimator-v2 .form-card { padding:25px 24px; border:0; border-radius:0; box-shadow:none; max-height:calc(100vh - 90px); overflow-y:auto; scrollbar-width:thin; scrollbar-color:#b9c7b5 transparent; }
.estimator-v2 .field-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 15px; }
.estimator-v2 .field-age { grid-column:span 2; max-width:calc((100% - 15px)/2); }
.estimator-v2 .field { position:relative; }
.estimator-v2 .field label { padding-right:20px; font-size:11px; line-height:1.45; min-height:31px; }
.estimator-v2 .input-shell { height:47px; border-radius:10px; }
.estimator-v2 .input-shell input { font-size:14px; }
.estimator-v2 .input-shell select { display:block; height:45px; min-height:45px; padding:0 20px 0 8px; line-height:45px; font-size:10px; border-radius:0; -webkit-appearance:none; appearance:none; background-image:url("data:image/svg+xml,%3Csvg width='8' height='5' viewBox='0 0 8 5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 3 3 3-3' fill='none' stroke='%23748570'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 7px center; }
.estimator-v2 .history-grid { grid-template-columns:1fr; }
.estimator-v2 .history-field { min-height:45px; }
.estimator-v2 .history-field>span { font-size:11px; }
.estimator-v2 .history-field select { min-width:95px; width:95px; font-size:11px; }
.estimator-v2 .form-heading p { max-width:250px; line-height:1.5; }
.estimator-v2 .count-pill { display:none; }
.estimator-v2 .submit-row { position:sticky; bottom:-25px; margin:25px -24px -25px; padding:18px 24px; background:#ffffffed; backdrop-filter:blur(8px); z-index:3; flex-direction:column; gap:10px; }
.estimator-v2 .submit-button { min-height:47px; font-size:13px; }
.estimator-v2 .submit-row .submit-button { width:100%; }
.submit-hint { margin:0; font-size:10px; color:#8b9586; }
.marker-hint { position:static; margin-top:4px; }
.marker-hint summary { position:absolute; top:0; right:0; list-style:none; cursor:help; color:#8c9c80; font-size:13px; }
.marker-hint summary::-webkit-details-marker { display:none; }
.marker-hint p { margin:5px 0 0; padding:9px 10px; background:#f0f5e9; border:1px solid #e0e9d5; border-radius:8px; color:#6c7c60; font-size:10px; line-height:1.7; }
.ai-filled .input-shell { background:#f1f8e8; border-color:#91b76d; box-shadow:0 0 0 3px #c8e3ab40; }
.estimator-v2 [aria-invalid="true"] { background:#fff4ee; }
.error-summary { margin:0 0 20px; padding:16px 20px; border:1px solid #e7bba6; border-radius:12px; background:#fff3ec; color:#9b4932; font-size:13px; line-height:1.6; scroll-margin-top:20px; }
.error-summary:focus { outline:3px solid #e4b49560; }
.status-banner { margin:0 0 18px; padding:13px 18px; border:1px solid #d4dfc5; background:#f2f7e8; border-radius:11px; font-size:12px; line-height:1.6; color:#577344; scroll-margin-top:20px; }
.status-banner[data-kind="sample"] { background:#faf2df; border-color:#e9dbb6; color:#846c3e; }
.status-banner ul { margin:7px 0 0; padding-left:18px; }
.report-workspace { position:sticky; top:20px; max-height:calc(100vh - 40px); overflow-y:auto; padding-right:3px; padding-bottom:2px; scrollbar-width:thin; scrollbar-color:#c4d0bb transparent; scroll-margin-top:20px; }
.estimator-v2 .result-card { position:relative; top:auto; border-radius:22px; padding:28px; min-height:330px; box-shadow:0 12px 35px #173f341c; }
.estimator-v2 .result-main { margin:25px 0 20px; }
.estimator-v2 .result-main h2 { font-size:12px; }
.estimator-v2 .age-display>span { font-size:84px; font-weight:450; line-height:1.05; letter-spacing:-.065em; }
.estimator-v2 .is-empty .age-display>span { font-family:Georgia,serif; font-size:50px; font-weight:300; letter-spacing:0; opacity:.55; }
.estimator-v2 .age-display { min-height:82px; align-items:center; }
.estimator-v2 .age-display small { align-self:flex-end; padding-bottom:12px; }
.estimator-v2 .result-foot { margin-top:20px; }
.estimator-v2 .result-foot .mini-stat { padding:10px 12px; }
.estimator-v2 .classification { line-height:1.5; }
.report-origin { font-size:9px; letter-spacing:.08em; padding:7px 10px; border:1px solid #dfda9d50; background:#dfe8a81c; border-radius:6px; color:#e3e9b9; position:relative; margin-bottom:0; }
.age-gap-gauge { position:relative; z-index:1; margin-top:24px; }
.gauge-heading { display:flex; justify-content:space-between; color:#c6d6bf; font-size:10px; margin-bottom:11px; }
.gauge-track { position:relative; height:7px; border-radius:999px; background:linear-gradient(90deg,#cbe7a7,#d9e2b5 45%,#bccbb4 50%,#d6b99b 70%,#bf805d); }
.gauge-track:after { content:""; position:absolute; left:50%; top:-4px; height:15px; width:1px; background:#eff6df70; }
#gaugeNeedle { display:block; position:absolute; top:-5px; width:17px; height:17px; border:3px solid #f2f7e6; border-radius:50%; background:#244835; transform:translateX(-50%); box-shadow:0 1px 6px #0004; transition:left .6s ease; z-index:1; }
.gauge-labels { display:flex; justify-content:space-between; color:#adc2ab; font-size:8px; margin-top:10px; }
.age-gap-gauge>p { color:#9eb69f; font-size:9px; line-height:1.6; margin:11px 0 0; }
.report-details { display:flex; flex-direction:column; gap:16px; margin-top:16px; }
.deep-card { border:1px solid #e0e5d8; border-radius:20px; padding:23px; background:#fff; overflow:hidden; }
.deep-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.deep-heading .eyebrow { font-size:8px; letter-spacing:.13em; color:#8a997b; }
.deep-card h3 { margin:0; color:#2b4935; font-size:21px; line-height:1.25; letter-spacing:-.035em; font-weight:620; }
.deep-card>p,.share-panel>div>p { color:#8a9481; font-size:11px; line-height:1.7; }
.pro-chip { padding:5px 8px; border-radius:5px; background:#edf1df; color:#6c7e49; font-size:8px; letter-spacing:.09em; font-weight:700; }
.pro-preview { background:linear-gradient(140deg,#fdfef9,#f0f4e6); }
.pro-access-banner { display:flex; align-items:center; flex-wrap:wrap; gap:8px 18px; margin-bottom:16px; padding:16px 22px; border:1px solid #cedbb6; border-radius:14px; background:#eaf1d7; color:#365335; font-size:14px; line-height:1.6; }
.pro-access-banner[hidden] { display:none; }
.pro-access-banner strong { font-size:16px; }
.pro-available .pro-benefits { padding-left:20px; color:#526746; font-size:14px; line-height:1.8; margin:20px 0; }
.pro-available .pro-chip { font-size:10px; letter-spacing:0; white-space:normal; text-align:center; }
.pro-preview .preview-bars { display:flex; flex-direction:column; align-items:center; gap:9px; margin:22px 0 10px; filter:blur(4px); opacity:.55; user-select:none; }
.preview-bars span { display:block; height:11px; border-radius:5px; background:#9bb58b; }
.preview-bars span:nth-child(2) { background:#d5aa86; }
.pro-preview-caption { text-align:center; color:#91a080; font-size:9px; margin-bottom:18px; }
.unlock-button { display:flex; align-items:center; justify-content:center; gap:20px; width:100%; min-height:44px; border:1px solid #cedbb6; border-radius:10px; background:#e0eabf; color:#365335; font-size:12px; font-weight:650; cursor:pointer; }
.unlock-button:hover { background:#d6e4ae; }
.pro-demo-note { text-align:center; margin:10px 0 0; font-size:10px !important; }
.attribution-list { display:flex; flex-direction:column; gap:17px; margin-top:20px; }
.attribution-label { display:flex; justify-content:space-between; align-items:baseline; gap:10px; font-size:11px; color:#607653; }
.attribution-label strong { flex-shrink:0; font-size:12px; }
.tone-warm { color:#b87951; }.tone-green { color:#507d56; }
.impact-track { height:10px; position:relative; margin:7px 0; background:#f2f4ec; border-radius:5px; }
.impact-zero { position:absolute; height:16px; top:-3px; left:50%; width:1px; background:#b4c0aa; }
.impact-track i { display:block; position:absolute; height:10px; border-radius:4px; min-width:1px; transition:width .6s ease; }
.impact-track .positive { background:#d6a27d; border-top-left-radius:0; border-bottom-left-radius:0; }
.impact-track .negative { background:#94b783; border-top-right-radius:0; border-bottom-right-radius:0; }
.attribution-row>small { font-size:9px; color:#9ba48f; }
.report-footnote { padding-top:13px; border-top:1px solid #edf0e5; margin-top:18px; font-size:9px !important; line-height:1.7 !important; color:#9aA38e !important; }
.simulation-result { display:flex; flex-direction:column; align-items:center; gap:5px; margin:18px 0; padding:20px; border:1px solid #e3e9d7; border-radius:14px; background:radial-gradient(ellipse,#f5f8ec,#fcfdf8); }
.simulation-result>span { font-size:10px; color:#849371; }
.simulation-result strong { font-size:40px; font-weight:550; color:#395a38; font-variant-numeric:tabular-nums; letter-spacing:-.04em; }
.simulation-result strong small { font-size:12px; font-weight:400; letter-spacing:0; }
.sliders { display:flex; flex-direction:column; gap:20px; margin:23px 0; }
.whatif-slider>span { display:flex; justify-content:space-between; gap:8px; font-size:11px; color:#60764f; }
.whatif-slider output { color:#425f3a; font-size:11px; font-weight:650; flex-shrink:0; }
.whatif-slider input { width:100%; accent-color:#5b8250; height:5px; margin:14px 0 0; cursor:pointer; }
.action-plan { display:flex; flex-direction:column; gap:19px; margin-top:23px; }
.action-item { display:flex; align-items:start; gap:12px; }
.action-item>span { font-size:11px; color:#98aa83; background:#f0f5e8; border-radius:8px; padding:8px; }
.action-item h4 { font-size:12px; margin:1px 0 6px; color:#546d44; line-height:1.5; font-weight:600; }
.action-item p { font-size:11px; color:#8b967e; line-height:1.7; margin:0; }
.share-panel h3 { font-size:20px; }
.share-privacy { display:flex; align-items:start; gap:7px; font-size:10px; line-height:1.5; color:#879579; margin:15px 0; }
.share-privacy input { accent-color:#557c46; margin-top:1px; }
#shareStatus { font-size:10px; }
.inline-error { font-size:11px; color:#ae6846; line-height:1.6; }
.pro-dialog { width:min(460px,calc(100vw - 28px)); max-height:calc(100dvh - 36px); overflow:auto; padding:35px; border:1px solid #e4e9d8; border-radius:24px; color:#2a4933; background:radial-gradient(ellipse at top right,#edf3d9,#fff 70%); box-shadow:0 25px 90px #152f2040; }
.pro-dialog::backdrop { background:#152e285c; backdrop-filter:blur(5px); }
.dialog-close { position:absolute; top:14px; right:16px; border:0; color:#8c9a7c; background:transparent; font-size:27px; padding:0 5px; }
.pro-dialog h2 { font-size:32px; line-height:1.15; letter-spacing:-.05em; font-weight:600; margin:14px 0; max-width:340px; }
.pro-description { color:#8b997d; font-size:13px; line-height:1.6; }
.pro-price { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px 12px; margin-top:25px; font-size:48px; letter-spacing:-.05em; }
.pro-price-current { font-weight:550; line-height:1.1; }
.pro-price-regular { font-size:24px; font-weight:400; letter-spacing:-.02em; color:#8a987a; text-decoration-thickness:1px; }
.pro-price span { font-size:12px; letter-spacing:0; color:#8a987a; }
.pro-price .pro-price-currency { font-size:14px; color:#75866a; }
.pro-preview-price { margin-top:20px; font-size:40px; }
.pro-preview-price .pro-price-regular { font-size:22px; }
.pro-benefits { padding:0; margin:23px 0; list-style:none; }
.pro-benefits li { display:flex; gap:9px; align-items:center; padding:8px 0; color:#647d51; font-size:12px; line-height:1.5; }
.pro-benefits li:before { content:"✓"; color:#75985e; }
.pro-dialog .submit-button { width:100%; }
.checkout-status { font-size:11px; color:#9b7444; line-height:1.7; }
.pro-footnote { font-size:10px; line-height:1.7; color:#9aa58b; }
.estimator-v2 button:focus-visible,.estimator-v2 summary:focus-visible { outline:3px solid #8fb470; outline-offset:3px; }
.estimator-v2 .footer a { color:#627d50; }
@media(min-width:981px) and (max-width:1150px) { .estimator-v2 .page-shell{width:calc(100% - 40px)} .estimator-v2 .workspace-grid{gap:18px;grid-template-columns:minmax(0,1fr) minmax(340px,.9fr)} .sample-strip{flex-wrap:wrap;gap:12px} .estimator-v2 .topbar-actions{gap:8px} .estimator-v2 .brand-name>span{display:none} .estimator-v2 .nav-link{padding:8px 9px} }
@media(max-width:980px) {
 .sample-strip{flex-direction:column;align-items:flex-start;gap:13px}.sample-actions{width:100%}.sample-button{flex:1}
 .estimator-v2 .workspace-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.85fr);gap:18px}.estimator-v2 .form-card{padding:20px 16px}.estimator-v2 .field-grid{gap:15px 10px}.estimator-v2 .field label{font-size:10px}
 .estimator-v2 .submit-row{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}.estimator-v2 .result-card{padding:23px}.deep-card{padding:19px}.deep-card h3{font-size:19px}.upload-panel{padding:38px 20px 23px}.upload-panel h2{font-size:25px}.estimator-v2 .intro-row{align-items:flex-start;flex-direction:column;gap:15px}.estimator-v2 .extended-switch{align-self:flex-start}
}
@media(max-width:740px) {
 .estimator-v2 .workspace-grid{grid-template-columns:1fr}.report-workspace{position:static;max-height:none;overflow:visible;padding-right:0}.estimator-v2 .form-card{max-height:none;overflow:visible}.estimator-v2 .result-card{grid-row:auto}.estimator-v2 .submit-row{position:static}
 .estimator-v2 .intro-row{padding-top:28px}.estimator-v2 h1{font-size:34px;max-width:530px}.estimator-v2 .intro-copy{font-size:13px}.estimator-v2 .page-shell{width:calc(100% - 28px)}.sample-strip{padding:16px}.sample-strip>div:first-child{font-size:12px}.sample-actions{flex-wrap:wrap}.sample-button{min-width:150px;font-size:11px;padding:11px}
 .upload-panel{min-height:530px}.input-workspace{border-radius:17px}.estimator-v2 .form-card{padding:22px 18px}.estimator-v2 .field-grid{gap:19px 12px}.estimator-v2 .field label{font-size:11px;min-height:32px}.estimator-v2 .input-shell{height:46px}.estimator-v2 .input-shell select{height:44px;min-height:44px;line-height:44px;font-size:9px;max-width:80px;padding-left:7px}.estimator-v2 .input-shell input{font-size:14px}.estimator-v2 .submit-row{margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px}.deep-card{padding:23px}.estimator-v2 .result-card{padding:28px}.report-details{gap:14px}.pro-dialog{padding:29px}.pro-dialog h2{font-size:29px}
}
@media(prefers-reduced-motion:reduce) { .scan-line{animation:none;top:45%}.sample-button:hover{transform:none}.gauge-track span,.impact-track i{transition:none} }

.action-ai { border-top:1px solid #e7eddc; margin-top:20px; padding-top:4px; }
.action-source { font-size:10px !important; color:#7e956b !important; }
.action-ai .unlock-button:disabled { opacity:.6; cursor:wait; }
