/* Good View Home & Lifestyle Fit — deliberately distinct from Care Level. */
body[data-tool="assessment"]{
  --hf-navy:#0d2c54;
  --hf-ink:#173149;
  --hf-muted:#53697d;
  --hf-line:#cdd9e2;
  --hf-blue:#edf5f9;
  --hf-peach:#fff2eb;
  --hf-green:#eef6f0;
  background:#f8fbfc!important;
  color:var(--hf-ink);
}
body[data-tool="assessment"] [hidden]{display:none!important}
body[data-tool="assessment"] .site-header{position:sticky!important;top:0!important;z-index:100!important;background:#fff!important;border-bottom:1px solid #d7e0e7!important;box-shadow:none!important}
body[data-tool="assessment"] .site-header .header-inner{width:min(1180px,calc(100% - 48px))!important;max-width:none!important;margin:auto!important;padding:10px 0!important;min-height:72px!important}
body[data-tool="assessment"] .site-header .logo{width:190px!important;max-height:49px!important}
body[data-tool="assessment"] .site-header .nav{gap:22px!important;font-size:15px!important}
body[data-tool="assessment"] .homefit-main{width:min(980px,calc(100% - 48px))!important;max-width:none!important;margin:0 auto!important;padding:28px 0 64px!important}
body[data-tool="assessment"] .homefit-intro{padding:3px 0 22px;border-bottom:1px solid #d9e2e8}
body[data-tool="assessment"] .homefit-intro .back-link{display:inline-flex;margin-bottom:15px;color:#566d81;font-size:15px;font-weight:700;text-decoration:none}
body[data-tool="assessment"] .homefit-kicker{margin:0 0 4px!important;color:#446678;font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
body[data-tool="assessment"] .homefit-intro h1{margin:0 0 10px;color:#142e46;font-family:var(--font-display);font-size:clamp(40px,5vw,57px);line-height:1.04;letter-spacing:-.035em}
body[data-tool="assessment"] .homefit-intro>p:not(.homefit-kicker){max-width:820px;margin:0;color:#53697d;font-size:19px;line-height:1.55}
body[data-tool="assessment"] .homefit-boundary{margin-top:15px;padding:12px 15px;border-left:4px solid #6b9b8d;background:#f0f7f4;color:#36574f;font-size:16px;line-height:1.45}
body[data-tool="assessment"] .homefit-boundary a{color:#174c43;font-weight:750}
body[data-tool="assessment"] .assessment-shell{margin-top:24px;padding:28px 30px 24px;border:1px solid var(--hf-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(17,48,71,.055)}
body[data-tool="assessment"] .assessment-top{display:flex;align-items:center;justify-content:space-between;gap:20px}
body[data-tool="assessment"] .assessment-top>div{display:flex;gap:13px;align-items:baseline}
body[data-tool="assessment"] .assessment-top .quick-label{color:#597083;font-size:14px;font-weight:800;text-transform:none;letter-spacing:0}
body[data-tool="assessment"] .assessment-top strong{color:#18354e;font-size:15px}
body[data-tool="assessment"] .progress-track{height:6px;margin:14px 0 27px;border-radius:99px;background:#e7edf2;overflow:hidden}
body[data-tool="assessment"] .progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#27667a,#f3a184);transition:width .2s ease}
body[data-tool="assessment"] .question-panel{max-width:820px}
body[data-tool="assessment"] .question-panel h2{margin:0 0 8px;color:#142e46;font-family:var(--font-display);font-size:clamp(31px,4vw,43px);line-height:1.1;letter-spacing:-.025em}
body[data-tool="assessment"] .question-help{max-width:760px;margin:0 0 22px;color:#5c7081;font-size:18px;line-height:1.55}
body[data-tool="assessment"] .homefit-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:820px}
body[data-tool="assessment"] .choice-button{min-height:70px;padding:15px 18px!important;border:2px solid #cbd8e2!important;border-radius:12px!important;background:#fff!important;color:#173149!important;text-align:left!important;font-size:18px!important;font-weight:700!important;line-height:1.35!important;box-shadow:none!important}
body[data-tool="assessment"] .choice-button:hover{border-color:#567c94!important;background:#f6fafc!important}
body[data-tool="assessment"] .choice-button.selected{border-color:#0d2c54!important;background:#edf4f9!important;box-shadow:inset 4px 0 0 #0d2c54!important}
body[data-tool="assessment"] .assessment-nav{display:flex;align-items:center;gap:18px;margin-top:24px}
body[data-tool="assessment"] .assessment-nav .btn{min-height:48px;padding:0 22px;font-size:16px}
body[data-tool="assessment"] .assessment-nav .text-button,body[data-tool="assessment"] #clear-draft{min-height:44px;color:#526b7e;font-size:15px;font-weight:700}
body[data-tool="assessment"] .local-save-note{margin:14px 0 0;color:#738391;font-size:14px}

body[data-tool="assessment"] .homefit-result{margin-top:24px;padding:30px;border:1px solid var(--hf-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(17,48,71,.055)}
body[data-tool="assessment"] .result-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;padding-bottom:23px;border-bottom:1px solid #dbe4ea}
body[data-tool="assessment"] .result-hero .quick-label{color:#567286;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
body[data-tool="assessment"] .result-hero h1{max-width:730px;margin:6px 0 9px;color:#142e46;font-family:var(--font-display);font-size:clamp(37px,4.7vw,54px);line-height:1.06;letter-spacing:-.03em}
body[data-tool="assessment"] .result-hero p{max-width:760px;margin:0;color:#53697d;font-size:18px;line-height:1.55}
body[data-tool="assessment"] .result-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
body[data-tool="assessment"] .result-actions .btn{min-height:48px;padding:0 16px;font-size:15px;white-space:nowrap}
body[data-tool="assessment"] .result-print-action{min-height:44px;padding:0 5px;color:#526b7e;font-size:14px;font-weight:700}
body[data-tool="assessment"] .homefit-snapshot{display:grid;grid-template-columns:repeat(3,1fr);margin:22px 0;border:1px solid #d5e0e7;border-radius:13px;overflow:hidden;background:#f7fafc}
body[data-tool="assessment"] .homefit-snapshot>div{padding:14px 17px}
body[data-tool="assessment"] .homefit-snapshot>div+div{border-left:1px solid #d5e0e7}
body[data-tool="assessment"] .homefit-snapshot span{display:block;margin-bottom:4px;color:#667a8a;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
body[data-tool="assessment"] .homefit-snapshot strong{display:block;color:#19364f;font-size:17px;line-height:1.35}
body[data-tool="assessment"] .homefit-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body[data-tool="assessment"] .homefit-result-grid article{padding:22px;border:1px solid #d7e1e7;border-radius:14px;background:#fff}
body[data-tool="assessment"] .homefit-result-grid article:first-child{background:#f6faf8}
body[data-tool="assessment"] .homefit-result-grid article:last-child{background:#f2f7fb}
body[data-tool="assessment"] .homefit-result-grid .quick-label,body[data-tool="assessment"] .homefit-check .quick-label{color:#5e7587;font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
body[data-tool="assessment"] .homefit-result-grid h2,body[data-tool="assessment"] .homefit-check h2{margin:4px 0 11px;color:#1a3851;font-family:var(--font-ui);font-size:21px;line-height:1.3}
body[data-tool="assessment"] .result-list>div{padding:11px 0;border-top:1px solid #dce5e9;color:#435d70;font-size:17px;line-height:1.5}
body[data-tool="assessment"] .result-list>div:first-child{border-top:0}
body[data-tool="assessment"] .result-options>div{color:#173d59;font-weight:750}
body[data-tool="assessment"] .homefit-check{display:grid;grid-template-columns:.8fr 1.2fr;gap:22px;align-items:start;margin-top:16px;padding:19px 21px;border:1px solid #e4d6ca;border-radius:14px;background:#fff8f3}
body[data-tool="assessment"] .homefit-check h2{margin-bottom:0}
body[data-tool="assessment"] .homefit-care-note{display:flex;gap:9px;margin-top:16px;padding:14px 17px;border-radius:12px;background:#eef5f8;color:#405c70;font-size:15px;line-height:1.5}
body[data-tool="assessment"] .homefit-care-note strong{color:#183d58;white-space:nowrap}
body[data-tool="assessment"] .homefit-care-note a{color:#0d2c54;font-weight:750}
body[data-tool="assessment"] .result-next-actions{margin-top:16px;padding:19px 21px;border:1px solid #d9e2e8;border-radius:14px;background:#fbfcfd}
body[data-tool="assessment"] .result-next-actions>.quick-label{color:#5e7587;font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
body[data-tool="assessment"] .result-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:9px}
body[data-tool="assessment"] .result-action-grid a{display:block;padding:14px 16px;border:1px solid #cfdce5;border-radius:11px;background:#fff;text-decoration:none}
body[data-tool="assessment"] .result-action-grid strong{display:block;color:#0d2c54;font-size:17px}
body[data-tool="assessment"] .result-action-grid span{display:block;margin-top:3px;color:#5a7083;font-size:14px;line-height:1.4}
body[data-tool="assessment"] .result-disclaimer{margin:15px 2px 0;color:#788793;font-size:13px;line-height:1.5}
body[data-tool="assessment"] .result-disclaimer p{margin:4px 0}
body[data-tool="assessment"] .result-reset-row{display:flex;justify-content:flex-end;margin-top:10px;padding-top:10px;border-top:1px solid #e3e9ed}
body[data-tool="assessment"] .result-reset-row .text-button{min-height:40px;color:#647887;font-size:13px}
body[data-tool="assessment"] .loading-panel,body[data-tool="assessment"] .error-panel{padding:36px;text-align:center}
body[data-tool="assessment"] .loading-panel strong{display:block;margin-top:12px;font-size:19px}
body[data-tool="assessment"] .loading-panel span{display:block;margin-top:5px;color:#647887}

@media(max-width:760px){
  body[data-tool="assessment"] .site-header .header-inner{width:calc(100% - 32px)!important;min-height:66px!important}
  body[data-tool="assessment"] .site-header .logo{width:160px!important}
  body[data-tool="assessment"] .site-header .nav a:not(.nav-signin){display:none}
  body[data-tool="assessment"] .homefit-main{width:calc(100% - 28px)!important;padding:20px 0 40px!important}
  body[data-tool="assessment"] .homefit-intro h1{font-size:40px}
  body[data-tool="assessment"] .homefit-intro>p:not(.homefit-kicker){font-size:18px}
  body[data-tool="assessment"] .assessment-shell,body[data-tool="assessment"] .homefit-result{padding:20px}
  body[data-tool="assessment"] .assessment-top{align-items:flex-start}
  body[data-tool="assessment"] .assessment-top>div{display:block}
  body[data-tool="assessment"] .assessment-top strong{display:block;margin-top:3px}
  body[data-tool="assessment"] .question-panel h2{font-size:32px}
  body[data-tool="assessment"] .question-help{font-size:17px}
  body[data-tool="assessment"] .homefit-choices{grid-template-columns:1fr}
  body[data-tool="assessment"] .choice-button{min-height:64px;font-size:17px!important}
  body[data-tool="assessment"] .result-hero{grid-template-columns:1fr}
  body[data-tool="assessment"] .result-actions{justify-content:flex-start}
  body[data-tool="assessment"] .homefit-snapshot{grid-template-columns:1fr}
  body[data-tool="assessment"] .homefit-snapshot>div+div{border-left:0;border-top:1px solid #d5e0e7}
  body[data-tool="assessment"] .homefit-result-grid{grid-template-columns:1fr}
  body[data-tool="assessment"] .homefit-check{grid-template-columns:1fr;gap:4px}
  body[data-tool="assessment"] .homefit-care-note{display:block}
  body[data-tool="assessment"] .homefit-care-note strong{display:block;margin-bottom:4px;white-space:normal}
  body[data-tool="assessment"] .result-action-grid{grid-template-columns:1fr}
}
@media print{
  body[data-tool="assessment"] .site-header,body[data-tool="assessment"] .assessment-nav,body[data-tool="assessment"] .result-actions,body[data-tool="assessment"] .result-reset-row{display:none!important}
  body[data-tool="assessment"] .homefit-main{width:100%!important;padding:0!important}
  body[data-tool="assessment"] .homefit-result{box-shadow:none;border:0;padding:0}
}