/* CalcResults Health section. Namespaced to avoid changing existing calculator styles. */
.health-site{padding:22px 0 42px;background:linear-gradient(180deg,#f7fbff 0,#fff 340px);color:#14284a}
.health-site .container{max-width:1240px}
.health-crumb{margin:0 0 16px;color:#637894;font-size:13px}
.health-crumb a{color:#1764cf;text-decoration:none}
.health-crumb a:hover{text-decoration:underline}
.health-hero{position:relative;overflow:hidden;display:flex;align-items:center;min-height:190px;padding:28px 34px;border:1px solid #d4e4fb;border-radius:18px;background:#0b376d url('/assets/homepage/health-calculators.jpg') center 47%/cover no-repeat;box-shadow:0 8px 24px rgba(27,80,145,.1)}
.health-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,38,83,.92) 0%,rgba(7,57,112,.77) 48%,rgba(7,57,112,.04) 100%)}
.health-hero-copy{position:relative;z-index:1;max-width:680px;color:#fff}
.health-hero h1{margin:0 0 8px;color:#fff;font-size:clamp(30px,4vw,44px);line-height:1.08;letter-spacing:-1.2px}
.health-hero p{margin:0 0 13px;color:#f1f7ff;font-size:17px;line-height:1.5}
.health-trust-points{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0;padding:0;list-style:none;color:#fff;font-size:13px;font-weight:700}
.health-trust-points li:before{content:"✓";display:inline-grid;place-items:center;width:18px;height:18px;margin-right:6px;border-radius:50%;background:#20a84b;color:white;font-size:12px}
.health-section{margin-top:25px}
.health-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 14px}
.health-section-heading h2{margin:0;color:#10264b;font-size:clamp(22px,2.8vw,29px);letter-spacing:-.5px}
.health-section-heading p{max-width:760px;margin:5px 0 0;color:#5d7190;font-size:14px;line-height:1.5}
.health-panel{border:1px solid #d8e5f5;border-radius:16px;background:#fff;box-shadow:0 6px 20px rgba(30,77,135,.055)}
.health-dashboard{display:grid;grid-template-columns:minmax(285px,.78fr) minmax(0,1.22fr);gap:16px;align-items:start}
.health-dashboard-form{padding:18px}
.health-dashboard-form h2{margin:0 0 5px;font-size:21px;color:#10264b}
.health-dashboard-form>p{margin:0 0 14px;color:#5d7190;font-size:13px;line-height:1.5}
.health-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.health-field{display:flex;flex-direction:column;gap:5px;min-width:0}
.health-field-wide{grid-column:1/-1}
.health-field label,.health-height-field legend{color:#1d3457;font-size:13px;font-weight:750}
.health-field input,.health-field select,.health-height-field input,.health-height-field select{width:100%;min-width:0;min-height:42px;padding:9px 10px;border:1px solid #cbd9e9;border-radius:9px;background:#fff;color:#172b4b;font:inherit;font-size:14px}
.health-field input:focus,.health-field select:focus,.health-height-field input:focus,.health-height-field select:focus{outline:3px solid rgba(33,126,231,.16);border-color:#3d8ce9}
.health-height-field{min-width:0;margin:0;padding:0;border:0}
.health-height-field legend{margin-bottom:6px;padding:0}
.health-height-unit{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}
.health-height-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.health-height-pair>div,.health-height-metric{display:flex;flex-direction:column;gap:5px}
.health-height-pair label,.health-height-metric label{font-size:12px;color:#61738c;font-weight:650}
.health-height-metric[hidden],.health-height-pair[hidden]{display:none!important}
.health-input-unit-row{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:7px}
.health-field-hint,.health-input-note{color:#71829a;font-size:11px;line-height:1.45}
.health-input-note{grid-column:1/-1;margin-top:0}
.health-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}
.health-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 17px;border:1px solid #0d67d7;border-radius:10px;background:linear-gradient(135deg,#0877e8,#0759c7);color:#fff;font-size:14px;font-weight:800;text-decoration:none;cursor:pointer;box-shadow:0 4px 10px rgba(9,91,197,.13)}
.health-button:hover{filter:brightness(1.04)}
.health-button.secondary{border-color:#c9dcf8;background:#f4f8ff;color:#135bb1;box-shadow:none}
.health-error{margin:12px 0 0;padding:10px 12px;border:1px solid #f1c5c5;border-radius:9px;background:#fff5f5;color:#a02d2d;font-size:13px}
.health-input-policy{margin:12px 0 0;color:#6b7d94;font-size:11px;line-height:1.5}
.health-dashboard-output{min-height:280px;padding:18px}
.health-dashboard-output[hidden]{display:none}
.health-dashboard-placeholder{display:grid;place-items:center;min-height:250px;padding:24px;text-align:center;color:#6d7f98}
.health-dashboard-placeholder strong{display:block;margin-bottom:5px;color:#1b3459;font-size:17px}
.health-snapshot-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.health-snapshot-head h2{margin:3px 0 0;color:#142b50;font-size:21px}
.health-eyebrow{color:#126bd2;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.health-snapshot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.health-result-card{display:flex;flex-direction:column;gap:3px;min-width:0;padding:12px;border:1px solid #dce7f5;border-radius:11px;background:#f9fbff}
.health-result-card span{color:#586d88;font-size:11px;font-weight:750}
.health-result-card strong{color:#0c2c54;font-size:20px;line-height:1.2;overflow-wrap:anywhere}
.health-result-card small{color:#6c7f97;font-size:10px;line-height:1.4}
.health-bar-chart{display:grid;gap:9px;margin-top:16px;padding:14px;border:1px solid #e1eaf6;border-radius:12px;background:#fbfdff}
.health-bar-chart>div{display:grid;grid-template-columns:minmax(92px,.55fr) minmax(80px,1fr) auto;align-items:center;gap:8px}
.health-bar-chart span{color:#526985;font-size:11px;font-weight:700}
.health-bar-chart i{display:block;height:10px;border-radius:99px;background:linear-gradient(90deg,#45b949,#a8d93c)}
.health-bar-chart b{color:#213959;font-size:11px;font-variant-numeric:tabular-nums}
.health-whatif{margin-top:15px;padding:14px;border:1px solid #d7e5f7;border-radius:12px;background:linear-gradient(110deg,#f5faff,#eef6ff)}
.health-whatif h3{margin:0 0 4px;color:#17365f;font-size:16px}
.health-whatif p{margin:4px 0 8px;color:#61738c;font-size:12px}
.health-whatif label{display:flex;justify-content:space-between;gap:8px;color:#284567;font-size:12px;font-weight:700}
.health-whatif input[type=range]{width:100%;accent-color:#0875df}
.health-whatif p[aria-live]{margin:5px 0 0;color:#125caa;font-weight:750}
.health-tools-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.health-tool-card{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:15px;border:1px solid #dbe7f6;border-radius:13px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 4px 14px rgba(30,77,135,.04);transition:transform .15s,border-color .15s,box-shadow .15s}
.health-tool-card:hover{transform:translateY(-2px);border-color:#a9caff;box-shadow:0 8px 19px rgba(30,77,135,.09)}
.health-tool-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#eaf3ff;color:#075fca;font-size:23px}
.health-tool-copy{min-width:0}
.health-tool-copy h3{margin:0 0 4px;color:#14305a;font-size:15px;line-height:1.3}
.health-tool-copy p{margin:0;color:#60738e;font-size:12px;line-height:1.45}
.health-tool-copy span{display:inline-block;margin-top:8px;color:#075fca;font-size:11px;font-weight:800}
.health-feature-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:18px}
.health-feature{display:flex;gap:10px;align-items:flex-start;padding:13px;border:1px solid #d9e6f5;border-radius:12px;background:linear-gradient(130deg,#fff,#f5f9ff)}
.health-feature-icon{color:#0870d9;font-size:24px;line-height:1}
.health-feature b{display:block;color:#193455;font-size:13px}
.health-feature small{display:block;margin-top:3px;color:#647891;font-size:11px;line-height:1.4}
.health-disclaimer{margin:18px 0 0;padding:13px 15px;border:1px solid #e4e9f0;border-radius:10px;background:#fafcff;color:#5e7089;font-size:12px;line-height:1.55}
.health-tool-layout{display:grid;grid-template-columns:minmax(300px,.86fr) minmax(0,1.14fr);gap:16px;align-items:start;margin-top:17px}
.health-tool-form{padding:19px}
.health-tool-form h2,.health-tool-results h2{margin:0 0 6px;color:#142d53;font-size:21px}
.health-tool-form>p{margin:0 0 15px;color:#62758e;font-size:13px;line-height:1.5}
.health-tool-results{padding:19px;min-height:260px}
.health-result-ready{display:grid;place-items:center;min-height:215px;padding:20px;text-align:center;color:#70819a}
.health-result-ready strong{display:block;margin-bottom:5px;color:#203b60;font-size:17px}
.health-primary-result{display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px 12px;border:1px solid #d7e8f9;border-radius:13px;background:linear-gradient(135deg,#f5faff,#eaf5ff);text-align:center}
.health-primary-result span{color:#536d8a;font-size:13px;font-weight:750}
.health-primary-result strong{color:#0a2c55;font-size:clamp(26px,4vw,36px);line-height:1.15;letter-spacing:-.6px}
.health-primary-result b{color:#16702e;font-size:13px}
.health-gauge{position:relative;height:16px;margin:19px 5px 2px;border-radius:99px;background:linear-gradient(90deg,#1ca86e 0%,#5bc84d 28%,#f2cb32 55%,#f28e36 76%,#dc4d4d 100%)}
.health-gauge span{position:absolute;top:-7px;width:3px;height:30px;border-radius:3px;background:#132d51;box-shadow:0 0 0 3px #fff}
.health-gauge-labels{display:flex;justify-content:space-between;margin:0 3px 12px;color:#697b92;font-size:10px}
.health-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}
.health-table-wrap{margin-top:14px;overflow-x:auto}
.health-results-table{width:100%;border-collapse:collapse;font-size:13px}
.health-results-table th,.health-results-table td{padding:10px;border-bottom:1px solid #e5ecf5;text-align:left}
.health-results-table th{color:#435c7b;font-weight:750}
.health-results-table td{color:#1d385c;font-weight:800;font-variant-numeric:tabular-nums}
.health-result-explain{margin:13px 0 0;color:#61748d;font-size:12px;line-height:1.55}
.health-explain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:18px}
.health-explain-card{padding:16px;border:1px solid #dce7f5;border-radius:12px;background:#fff}
.health-explain-card h2,.health-explain-card h3{margin:0 0 7px;color:#173357;font-size:16px}
.health-explain-card p{margin:0;color:#5e718b;font-size:13px;line-height:1.6}
.health-source-list{margin-top:18px;padding:15px 17px;border:1px solid #e1e9f3;border-radius:12px;background:#fbfdff}
.health-source-list h2{margin:0 0 6px;color:#1a3558;font-size:16px}
.health-source-list p{margin:0 0 8px;color:#63758d;font-size:12px;line-height:1.5}
.health-source-list ul{margin:0;padding-left:20px;color:#29547f;font-size:12px;line-height:1.8}
.health-source-list a{color:#075fc7}
.health-related{margin-top:18px}
.health-related a{color:#075fc7;font-weight:750}
.health-inline-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding:14px 16px;border:1px solid #cddff7;border-radius:12px;background:#f4f9ff;text-decoration:none;color:#17385f}
.health-inline-card strong{display:block;font-size:14px}
.health-inline-card span{display:block;margin-top:2px;color:#5e7390;font-size:12px}
.health-inline-card b{color:#0865d3;white-space:nowrap}
.health-hidden{display:none!important}
@media(max-width:900px){.health-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.health-dashboard,.health-tool-layout{grid-template-columns:1fr}.health-feature-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.health-site{padding:14px 0 28px}.health-hero{min-height:190px;padding:22px 18px;border-radius:14px;background-position:center}.health-hero:before{background:linear-gradient(90deg,rgba(4,38,83,.94),rgba(7,57,112,.7))}.health-hero h1{font-size:30px}.health-hero p{font-size:14px}.health-trust-points{gap:7px 11px;font-size:11px}.health-section{margin-top:20px}.health-section-heading{display:block}.health-fields{grid-template-columns:1fr 1fr;gap:10px}.health-tool-form,.health-tool-results,.health-dashboard-form,.health-dashboard-output{padding:14px}.health-tools-grid{grid-template-columns:1fr;gap:9px}.health-tool-card{padding:12px}.health-feature-strip{grid-template-columns:1fr 1fr;gap:8px}.health-feature{padding:10px;gap:7px}.health-feature-icon{font-size:20px}.health-feature b{font-size:11px}.health-feature small{font-size:10px}.health-snapshot-grid,.health-result-grid{grid-template-columns:1fr 1fr}.health-result-card{padding:10px}.health-result-card strong{font-size:17px}.health-snapshot-head{align-items:flex-start}.health-snapshot-head h2{font-size:18px}.health-snapshot-head .health-button{font-size:10px;padding:8px}.health-bar-chart>div{grid-template-columns:85px minmax(60px,1fr) auto;gap:5px}.health-bar-chart span,.health-bar-chart b{font-size:9px}.health-inline-card{align-items:flex-start}.health-inline-card b{font-size:11px}}
@media(max-width:380px){.health-fields,.health-snapshot-grid,.health-result-grid,.health-feature-strip{grid-template-columns:1fr}.health-height-pair{grid-template-columns:1fr 1fr}.health-input-unit-row{grid-template-columns:minmax(0,1fr) 92px}}
@media print{body *{visibility:hidden!important}.health-site,.health-site *{visibility:visible!important}.health-site{position:absolute;left:0;top:0;width:100%;padding:0;background:#fff}.health-site header,.health-site .health-hero,.health-site .health-actions,.health-site .health-tool-form,.health-site .health-dashboard-form,.health-site .health-feature-strip,.health-site .health-inline-card{display:none!important}.health-site .health-tool-layout,.health-site .health-dashboard{display:block}.health-site .health-panel,.health-site .health-result-card{box-shadow:none;break-inside:avoid}.health-site .health-primary-result{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Health category art for the All Calculators directory. */
.directory-card[data-card-art="health"]::before{background-image:url('/assets/homepage/health-calculators.jpg');background-position:center;background-size:cover;opacity:.13}
body.health-body>header,body.health-body>footer{display:block}
@media print{body.health-body>header,body.health-body>footer{display:none!important}.health-site{background:#fff!important}.health-panel{box-shadow:none!important}}


/* Health dashboard redesign — structured to match the approved CalcResults reference. */
.health-dashboard-page .container{width:calc(100% - 24px);max-width:1512px}
.health-dashboard-page .health-crumb{margin-bottom:12px}
.health-dashboard-page .health-hero{min-height:164px;border-radius:0;background-position:center 48%;padding:24px 28px}
.health-dashboard-page .health-hero h1{font-size:clamp(34px,3.4vw,48px)}
.health-dashboard-page .health-hero p{font-size:18px;max-width:720px}
.health-tool-tabs{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:10px;margin:13px 0 16px;overflow-x:auto;padding:0 1px 3px;scrollbar-width:thin}
.health-tool-tab{display:flex;min-width:0;min-height:76px;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 6px;border:1px solid #cbd8e7;border-radius:13px;background:linear-gradient(180deg,#fff,#f6f9fc);color:#142d50;text-decoration:none;font-size:clamp(11px,.95vw,14px);font-weight:750;white-space:nowrap;box-shadow:0 2px 8px rgba(33,72,120,.035)}
.health-tool-tab span:first-child{font-size:28px;line-height:1.1}
.health-tool-tab:hover{border-color:#8cb9f4;transform:translateY(-1px)}
.health-tool-tab.is-active{border-color:#075fc7;background:linear-gradient(135deg,#0879df,#0758b9);color:#fff;box-shadow:0 6px 14px rgba(4,89,190,.19)}
.health-dashboard-grid{display:grid;grid-template-columns:minmax(290px,.88fr) minmax(430px,1.52fr) minmax(290px,1fr);gap:14px;align-items:stretch}
.health-dashboard-grid>.health-panel,.health-dashboard-side>.health-panel{min-width:0;border-radius:14px;box-shadow:0 4px 14px rgba(30,77,135,.055)}
.health-dashboard-form{padding:17px 18px}
.health-card-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}
.health-card-heading-icon{display:grid;place-items:center;flex:0 0 50px;height:50px;border-radius:13px;background:linear-gradient(145deg,#087be5,#0757bd);color:#fff;font-size:27px}
.health-card-heading h2{margin:0 0 3px;color:#101f39;font-size:23px;letter-spacing:-.6px}
.health-card-heading p{margin:0;color:#536b88;font-size:13px;line-height:1.45}
.health-dashboard-core-fields{grid-template-columns:1fr 1fr;gap:11px 12px}
.health-dashboard-core-fields .health-height-field,.health-dashboard-core-fields .health-input-note{grid-column:1/-1}
.health-dashboard-core-fields .health-height-unit{grid-template-columns:1fr;gap:3px}
.health-dashboard-core-fields .health-height-unit label{display:none}
.health-dashboard-core-fields .health-height-pair{grid-template-columns:1fr 1fr}
.health-dashboard-core-fields .health-height-metric{max-width:none}
.health-dashboard-core-fields .health-field input,.health-dashboard-core-fields .health-field select,.health-dashboard-core-fields .health-height-field input,.health-dashboard-core-fields .health-height-field select{min-height:40px}
.health-sex-note{margin:8px 0 0;color:#647790;font-size:10.5px;line-height:1.45}
.health-additional-settings{margin-top:12px;border-top:1px solid #e4ebf4;border-bottom:1px solid #e4ebf4;padding:9px 0;color:#244568}
.health-additional-settings summary{cursor:pointer;font-size:12px;font-weight:800;list-style:none}
.health-additional-settings summary::-webkit-details-marker{display:none}
.health-additional-settings summary:after{content:'+';float:right;color:#075fc9;font-size:18px;line-height:12px}
.health-additional-settings[open] summary:after{content:'−'}
.health-additional-settings .health-fields{margin-top:12px;grid-template-columns:1fr 1fr;gap:9px}
.health-additional-settings .health-input-note{grid-column:1/-1}
.health-calculate-button{width:100%;min-height:48px;font-size:16px}
.health-dashboard-form .health-actions{margin-top:14px}
.health-dashboard-form .health-actions .secondary{min-height:42px}
.health-dashboard-form .health-input-policy{font-size:10px}
.health-bmi-panel{padding:16px 17px;min-height:505px}
.health-panel-heading{display:flex;align-items:center;gap:11px;margin-bottom:12px;min-width:0}
.health-panel-heading-icon{flex:0 0 auto;color:#0d79d7;font-size:29px;line-height:1}
.health-panel-heading h2{margin:0;color:#142c50;font-size:22px;letter-spacing:-.5px}
.health-sample-badge{margin-left:auto;padding:5px 9px;border-radius:20px;background:#eef5ff;color:#175ca8;font-size:10px;font-weight:800;white-space:nowrap}
.health-bmi-visual{position:relative;display:grid;place-items:center;min-height:218px;margin:0 auto 4px;max-width:420px}
.health-bmi-gauge{width:min(100%,360px);height:auto;overflow:visible}
.health-bmi-score{position:absolute;left:0;right:0;bottom:13px;display:flex;align-items:center;flex-direction:column;gap:0;text-align:center;pointer-events:none}
.health-bmi-score span{color:#172d49;font-size:19px;font-weight:800}
.health-bmi-score strong{color:#071c34;font-size:clamp(36px,4vw,52px);font-weight:900;line-height:1.02;letter-spacing:-1.5px}
.health-bmi-score b{margin-top:5px;padding:7px 19px;border-radius:22px;background:#159d25;color:#fff;font-size:14px;line-height:1.1}
.health-range-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:6px}
.health-range-card{display:flex;align-items:center;gap:10px;min-width:0;padding:11px 12px;border:1px solid #d4e1f1;border-radius:11px;background:#fbfdff}
.health-range-card>span{color:#0c69c9;font-size:23px}
.health-range-card small{display:block;color:#455b78;font-size:10px;font-weight:750;line-height:1.3}
.health-range-card strong{display:block;margin-top:3px;color:#123359;font-size:17px;line-height:1.2;overflow-wrap:anywhere}
.health-range-card em{display:block;margin-top:3px;color:#75859a;font-size:9px;font-style:normal}
.health-bmi-whatif{margin-top:14px;padding:13px 14px;border:1px solid #d9e5f3;border-radius:12px;background:linear-gradient(110deg,#f5faff,#eef6ff)}
.health-whatif-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.health-whatif-head h3{margin:0;color:#142e52;font-size:17px}
.health-whatif-head p{margin:3px 0 0;color:#5d708a;font-size:11px}
.health-whatif-head>strong{padding:6px 10px;border:1px solid #c8d9ed;border-radius:8px;background:#fff;color:#18385e;font-size:13px;white-space:nowrap}
.health-range-label{display:block;margin-top:8px;color:#324c6c;font-size:11px;font-weight:750}
.health-bmi-whatif input[type=range]{width:100%;margin:7px 0 0;accent-color:#0780dc}
.health-bmi-whatif p[aria-live]{margin:0;color:#0c5ea9;font-size:11px;font-weight:800}
.health-dashboard-side{display:grid;grid-template-rows:auto 1fr;gap:14px;min-width:0}
.health-snapshot-panel,.health-next-panel{padding:15px 16px}
.health-snapshot-panel .health-panel-heading,.health-next-panel .health-panel-heading{margin-bottom:9px}
.health-snapshot-panel .health-panel-heading h2,.health-next-panel .health-panel-heading h2{font-size:19px}
.health-snapshot-list{display:grid;gap:8px}
.health-snapshot-row{display:grid;grid-template-columns:27px minmax(0,1fr);gap:8px;align-items:center;min-width:0}
.health-snapshot-icon{font-size:19px;text-align:center}
.health-snapshot-main{min-width:0}
.health-snapshot-label{display:flex;justify-content:space-between;align-items:baseline;gap:8px;min-width:0}
.health-snapshot-label b{color:#18324f;font-size:12px;min-width:0}
.health-snapshot-label strong{color:#0d1f36;font-size:12px;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.health-snapshot-track{height:7px;margin-top:3px;border-radius:10px;background:#e5edf7;overflow:hidden}
.health-snapshot-track i{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#7bcf39,#a4d931)}
.health-snapshot-main small{display:block;margin-top:2px;color:#73839a;font-size:9px;line-height:1.2}
.health-next-links{display:grid;gap:0}
.health-next-link{display:grid;grid-template-columns:20px minmax(0,1fr) 12px;align-items:center;gap:7px;padding:8px 0;border-bottom:1px solid #e8edf4;color:#172f4e;text-decoration:none;font-size:11px;line-height:1.3}
.health-next-link:hover{color:#075fc7}
.health-next-check{color:#17a34a;font-size:17px;font-weight:900}
.health-next-link b{color:#0763c7;font-size:19px;line-height:1}
.health-feature-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:17px}
.health-feature{min-width:0;align-items:center;min-height:84px;padding:13px 15px;text-align:left;color:inherit;font:inherit}
.health-feature-icon{flex:0 0 auto;font-size:30px;color:#0a79d6}
.health-feature b{font-size:14px}
.health-feature small{font-size:11px}
.health-feature-button{width:100%;border:1px solid #d9e6f5;border-radius:12px;background:linear-gradient(130deg,#fff,#f5f9ff);cursor:pointer}
.health-feature-button:hover{border-color:#9fc3ee;box-shadow:0 6px 15px rgba(30,77,135,.08)}
.health-dashboard-page .health-tools-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.health-dashboard-page .health-tool-card{min-height:100px}
.health-side-placeholder{color:#6d7f98;font-size:12px}
.health-print-note{font-size:10px;color:#6c7e95}
@media(max-width:1180px){.health-dashboard-grid{grid-template-columns:minmax(280px,.9fr) minmax(420px,1.4fr)}.health-dashboard-side{grid-column:1/-1;grid-template-columns:1fr 1fr}.health-dashboard-page .health-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.health-tool-tabs{grid-template-columns:repeat(10,minmax(110px,1fr))}}
@media(max-width:820px){.health-dashboard-grid{grid-template-columns:1fr}.health-dashboard-side{grid-column:auto;grid-template-columns:1fr 1fr}.health-bmi-panel{min-height:0}.health-dashboard-page .health-tools-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.health-dashboard-page .container{padding-left:12px;padding-right:12px}.health-dashboard-page .health-hero{min-height:160px;padding:20px 17px;border-radius:12px}.health-dashboard-page .health-hero h1{font-size:31px}.health-dashboard-page .health-hero p{font-size:14px}.health-tool-tabs{grid-template-columns:repeat(10,105px);gap:8px;margin:10px -1px 13px}.health-tool-tab{min-height:72px;font-size:11px}.health-tool-tab span:first-child{font-size:24px}.health-dashboard-grid{gap:11px}.health-dashboard-form,.health-bmi-panel,.health-snapshot-panel,.health-next-panel{padding:13px}.health-card-heading h2{font-size:20px}.health-bmi-visual{min-height:190px}.health-range-cards{grid-template-columns:1fr}.health-dashboard-side{grid-template-columns:1fr;gap:11px}.health-feature-strip{grid-template-columns:1fr 1fr;gap:8px}.health-feature{min-height:76px;padding:10px}.health-feature-icon{font-size:24px}.health-feature b{font-size:11px}.health-feature small{font-size:9.5px}.health-dashboard-page .health-tools-grid{grid-template-columns:1fr}}
@media(max-width:380px){.health-dashboard-core-fields{grid-template-columns:1fr 1fr}.health-additional-settings .health-fields{grid-template-columns:1fr}.health-sample-badge{font-size:9px;padding:4px 6px}.health-snapshot-label b,.health-snapshot-label strong{font-size:10px}}
@media print{.health-dashboard-page .health-crumb,.health-dashboard-page .health-hero,.health-dashboard-page .health-tool-tabs,.health-dashboard-page .health-dashboard-form,.health-dashboard-page .health-next-panel,.health-dashboard-page .health-feature-strip,.health-dashboard-page .health-section,.health-dashboard-page .health-disclaimer{display:none!important}.health-dashboard-page .health-dashboard-grid{display:grid!important;grid-template-columns:1fr 1fr!important}.health-dashboard-page .health-bmi-panel,.health-dashboard-page .health-snapshot-panel{display:block!important;box-shadow:none!important;border:0!important}.health-dashboard-page .health-dashboard-side{display:block!important}}
/* Long translated tool labels wrap inside the horizontal mobile tab strip. */
@media(max-width:600px){
  .health-tool-tab{white-space:normal;text-align:center;line-height:1.15;}
  .health-tool-tab span:last-child{max-width:100%;overflow-wrap:anywhere;}
}

.health-bmi-scale{display:flex;justify-content:space-between;gap:12px;max-width:420px;margin:-6px auto 10px;color:#5b6e86}
.health-bmi-scale span{display:flex;flex-direction:column;gap:1px;font-size:10px;line-height:1.2}
.health-bmi-scale span:last-child{text-align:right}
.health-bmi-scale b{color:#203d60;font-size:11px}
.health-bmi-scale small{font-size:9px}


/* Consistent detail-page layout: all Health tools use the approved BMI dashboard pattern. */
.health-tool-page .health-hero{min-height:164px;border-radius:0;background-position:center 48%;padding:24px 28px}
.health-tool-page .health-hero h1{font-size:clamp(34px,3.4vw,48px)}
.health-tool-page .health-hero p{font-size:18px;max-width:720px}
.health-tool-dashboard-grid{grid-template-columns:minmax(290px,.85fr) minmax(460px,1.5fr) minmax(300px,1fr);align-items:stretch;margin-top:0}
.health-tool-dashboard-grid .health-dashboard-form{min-width:0}
.health-tool-dashboard-grid .health-tool-result-panel{min-width:0;min-height:505px}
.health-tool-dashboard-grid .health-dashboard-side{min-width:0}
.health-tool-dashboard-grid .health-dashboard-core-fields .health-weight-field{grid-column:1/-1}
.health-tool-dashboard-grid .health-input-unit-row{grid-template-columns:minmax(0,1fr) 118px}
.health-tool-dashboard-grid .health-input-unit-row input{min-width:0;width:100%}
.health-tool-dashboard-grid .health-input-unit-row select{min-width:0;width:100%}
.health-tool-dashboard-grid .health-result-ready{min-height:300px}
.health-tool-dashboard-grid .health-panel-heading{margin-bottom:14px}
.health-tool-dashboard-grid .health-tool-result-panel .health-primary-result{min-height:116px}
.health-tool-snapshot-result{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid #d9e8f8;border-radius:11px;background:linear-gradient(135deg,#f1faec,#e6f7df)}
.health-tool-snapshot-result span{color:#557247;font-size:11px;font-weight:800}
.health-tool-snapshot-result strong{color:#154b22;font-size:20px;line-height:1.2;overflow-wrap:anywhere}
.health-tool-snapshot-result small{color:#5d7860;font-size:10px;line-height:1.4}
.health-tool-snapshot-subhead{margin:12px 0 6px;color:#193654;font-size:12px}
.health-tool-snapshot-items{display:grid;gap:0}
.health-tool-snapshot-items>div{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:7px 0;border-bottom:1px solid #e8eef5;font-size:11px;line-height:1.3}
.health-tool-snapshot-items b{color:#526983;font-weight:700}
.health-tool-snapshot-items span{text-align:right;color:#193654;font-weight:800;overflow-wrap:anywhere}
.health-tool-dashboard-grid .health-next-links{display:grid;gap:0}
.health-tool-dashboard-grid .health-next-link{padding:9px 0;font-size:11px}
.health-tool-dashboard-grid .health-next-link span:nth-child(2){min-width:0;overflow-wrap:anywhere}
.health-tool-page .health-feature-strip{margin:16px 0 20px}
.health-tool-page .health-feature-button{font:inherit;text-align:left}
.health-tool-page .health-feature-button b{color:#193455}
.health-tool-page .health-feature-button small{color:#647891}
.health-tool-page .health-explain-grid,.health-tool-page .health-section,.health-tool-page .health-source-list{margin-top:22px}
.health-weight-field{grid-column:1/-1}
.health-input-unit-row{grid-template-columns:minmax(0,1fr) 118px}
.health-input-unit-row input{min-width:0}
.health-gauge{background:linear-gradient(90deg,#e5b544 0%,#e5b544 46.25%,#68c94b 46.25%,#68c94b 62.5%,#efc13a 62.5%,#ee9636 75%,#db4b4b 75%,#db4b4b 100%)}
.health-snapshot-main small{max-width:230px}
@media(max-width:1180px){.health-tool-dashboard-grid{grid-template-columns:minmax(280px,.9fr) minmax(420px,1.4fr)}.health-tool-dashboard-grid .health-dashboard-side{grid-column:1/-1;grid-template-columns:1fr 1fr}.health-tool-dashboard-grid .health-tool-result-panel{min-height:0}}
@media(max-width:820px){.health-tool-dashboard-grid{grid-template-columns:1fr}.health-tool-dashboard-grid .health-dashboard-side{grid-column:auto;grid-template-columns:1fr 1fr}.health-tool-dashboard-grid .health-tool-result-panel{min-height:0}}
@media(max-width:600px){.health-tool-page .health-hero{min-height:160px;padding:20px 17px;border-radius:12px}.health-tool-page .health-hero h1{font-size:31px}.health-tool-page .health-hero p{font-size:14px}.health-tool-dashboard-grid{gap:11px}.health-tool-dashboard-grid .health-dashboard-form,.health-tool-dashboard-grid .health-bmi-panel,.health-tool-dashboard-grid .health-snapshot-panel,.health-tool-dashboard-grid .health-next-panel{padding:13px}.health-tool-dashboard-grid .health-dashboard-side{grid-template-columns:1fr}.health-tool-dashboard-grid .health-result-ready{min-height:180px}.health-tool-dashboard-grid .health-weight-field{grid-column:1/-1}.health-tool-page .health-feature-strip{grid-template-columns:1fr 1fr;gap:8px}.health-tool-page .health-feature{min-height:76px;padding:10px}.health-tool-page .health-feature-icon{font-size:24px}.health-tool-page .health-feature b{font-size:11px}.health-tool-page .health-feature small{font-size:9.5px}}
@media(max-width:380px){.health-tool-dashboard-grid .health-input-unit-row{grid-template-columns:minmax(0,1fr) 90px}.health-tool-dashboard-grid .health-dashboard-core-fields{grid-template-columns:1fr 1fr}.health-tool-dashboard-grid .health-weight-field{grid-column:1/-1}}
/* Sleep Schedule uses the same Health dashboard shell while retaining its original calculation engine. */
.health-tool-sleep-page .health-hero{margin-top:0}
.health-tool-sleep-page .health-tool-dashboard-grid .panel{border:0;box-shadow:none;background:transparent}
.health-tool-sleep-page .health-tool-dashboard-grid .health-sleep-form{padding:17px 18px;border:1px solid #d8e5f5;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(30,77,135,.055)}
.health-tool-sleep-page .health-tool-dashboard-grid .health-sleep-form .fields{display:grid;grid-template-columns:1fr;gap:11px}
.health-tool-sleep-page .health-tool-dashboard-grid .health-sleep-form .fields>div{min-width:0}
.health-tool-sleep-page .health-tool-dashboard-grid .health-sleep-form input,.health-tool-sleep-page .health-tool-dashboard-grid .health-sleep-form select{width:100%;min-height:42px}
.health-tool-sleep-page .health-tool-dashboard-grid .health-sleep-form .actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}
.health-tool-sleep-page .health-tool-dashboard-grid .health-sleep-form .btn{min-height:42px}
.health-tool-sleep-page .health-tool-dashboard-grid .health-tool-result-panel{padding:16px 17px;border:1px solid #d8e5f5;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(30,77,135,.055)}
.health-tool-sleep-page .content{margin-top:22px}
@media(max-width:600px){.health-tool-sleep-page .health-tool-dashboard-grid .health-sleep-form,.health-tool-sleep-page .health-tool-dashboard-grid .health-tool-result-panel{padding:13px}}


/* Sleep calculator narrow-screen select guard */
.health-tool-sleep-page .health-sleep-form .fields > div,
.health-tool-sleep-page .health-sleep-form .fields select,
.health-tool-sleep-page .health-sleep-form .fields input {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.health-tool-sleep-page .health-sleep-form .fields select,
.health-tool-sleep-page .health-sleep-form .fields input {
  width: 100%;
}

/* Keep horizontally scrollable calculator tabs from widening the document on mobile. */
@media(max-width:600px){
  .health-dashboard-page .container,
  .health-tool-sleep-page .container{overflow-x:clip;}
}


/* Shared Health Profile and interactive feature dialogs */
.health-shared-profile-note{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:10px 12px;border:1px solid #cfe1f7;border-radius:10px;background:#f2f8ff;color:#34516f;font-size:12px;line-height:1.45}
.health-shared-profile-note span{min-width:0}
.health-profile-clear{flex:0 0 auto;border:1px solid #b8d2f1;border-radius:8px;background:#fff;color:#075fba;padding:6px 9px;font:inherit;font-weight:700;cursor:pointer}
.health-profile-clear:hover{background:#e8f3ff}
.health-feature-link{color:inherit;text-decoration:none;cursor:pointer}
.health-feature-link:hover{border-color:#9fc3ee;box-shadow:0 6px 15px rgba(30,77,135,.08)}
.health-feature-link-note{color:#075fba!important;font-weight:700}
.health-modal-shell[hidden]{display:none!important}
.health-modal-shell{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px}
.health-modal-backdrop{position:absolute;inset:0;background:rgba(8,25,48,.58);backdrop-filter:blur(3px)}
.health-modal{position:relative;z-index:1;width:min(680px,100%);max-height:min(88vh,820px);overflow:auto;border:1px solid #d4e3f4;border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(5,30,65,.28);padding:22px}
.health-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid #e5edf7}
.health-modal-header h2{margin:0;color:#12345a;font-size:22px}
.health-modal-header p{margin:5px 0 0;color:#60758e;font-size:13px;line-height:1.5}
.health-modal-close{width:36px;height:36px;flex:0 0 36px;border:1px solid #d4e2f2;border-radius:50%;background:#f7faff;color:#244361;font-size:24px;line-height:1;cursor:pointer}
.health-modal-body{padding-top:16px}
.health-modal-controls{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:12px;align-items:end}
.health-modal-controls.goal-controls{grid-template-columns:minmax(220px,1fr)}
.health-modal-field label{display:block;margin-bottom:6px;color:#24415f;font-size:12px;font-weight:700}
.health-modal-field input,.health-modal-field select{width:100%;min-width:0;min-height:42px;border:1px solid #c8d7e8;border-radius:9px;background:#fff;color:#152f4d;padding:8px 10px;font:inherit}
.health-modal-input-unit{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:7px}
.health-comparison-table-wrap{overflow-x:auto;margin-top:16px;border:1px solid #dce7f4;border-radius:12px}
.health-comparison-table{width:100%;border-collapse:collapse;font-size:13px}
.health-comparison-table th,.health-comparison-table td{padding:11px 12px;border-bottom:1px solid #e8eff7;text-align:right;white-space:nowrap}
.health-comparison-table thead th{background:#f1f7ff;color:#24415f;font-weight:800}
.health-comparison-table th:first-child,.health-comparison-table td:first-child{text-align:left}
.health-comparison-table tbody tr:last-child th,.health-comparison-table tbody tr:last-child td{border-bottom:0}
.health-modal-note,.health-profile-needed,.health-modal-validation{margin:14px 0 0;padding:11px 12px;border-radius:10px;background:#f4f8fd;color:#536a83;font-size:12px;line-height:1.5}
.health-modal-validation{background:#fff7e8;color:#8b5c13}
.health-profile-needed{margin:0 0 14px}
.health-modal .health-button{display:inline-flex;text-decoration:none}
.health-goal-difference{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:13px;padding:12px 14px;border:1px solid #cfe1f7;border-radius:11px;background:#f3f9ff;color:#24415f}
.health-goal-difference strong{color:#08753d;font-size:20px}
.health-goal-difference small{flex-basis:100%;color:#657b93}
@media(max-width:650px){.health-modal{padding:16px;border-radius:14px}.health-modal-controls{grid-template-columns:1fr}.health-shared-profile-note{align-items:flex-start;flex-direction:column}.health-profile-clear{align-self:flex-start}}


/* Rich, calculator-specific result details shared across all Health calculators. */
.health-result-section{margin-top:16px;padding-top:13px;border-top:1px solid #e7eef7}
.health-result-section h3{margin:0 0 10px;color:#18375e;font-size:14px;font-weight:850;line-height:1.35}
.health-detail-bar-row{margin:9px 0;min-width:0}
.health-detail-bar-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:5px;color:#526982;font-size:11px;line-height:1.35}
.health-detail-bar-head span{min-width:0;overflow-wrap:anywhere}
.health-detail-bar-head strong{color:#17385f;text-align:right;font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}
.health-detail-bar-track{height:9px;overflow:hidden;border-radius:999px;background:#e9f0f8}
.health-detail-bar-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1684d5,#62b9e9)}
.health-detail-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.health-detail-stat{display:flex;flex-direction:column;gap:4px;min-width:0;padding:11px;border:1px solid #dce7f5;border-radius:10px;background:#f9fbff}
.health-detail-stat span{color:#5a6f88;font-size:10px;font-weight:800;line-height:1.35}
.health-detail-stat strong{color:#15385f;font-size:17px;font-weight:850;line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.health-detail-stat small{color:#667b94;font-size:10px;line-height:1.35}
.health-detail-bar-row.is-current{padding:8px 9px;border:1px solid #bcd9f7;border-radius:9px;background:#f1f8ff}
.health-macro-bar{display:flex;height:16px;overflow:hidden;border-radius:999px;background:#edf2f8}
.health-macro-bar span{display:block;height:100%}
.health-macro-bar .is-carbs{background:#2686d5}
.health-macro-bar .is-protein{background:#36a66d}
.health-macro-bar .is-fat{background:#e4a63c}
.health-macro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
.health-composition-bar{display:flex;height:22px;overflow:hidden;border-radius:999px;background:#e6eef7}
.health-composition-fat{background:#e5a23c}
.health-composition-lean{background:#2c91d2}
.health-composition-legend{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:8px;color:#536984;font-size:11px;font-weight:750}
.health-composition-legend span{display:flex;align-items:center;gap:6px}
.health-composition-legend i{display:inline-block;width:9px;height:9px;border-radius:50%}
.health-composition-legend .fat-dot{background:#e5a23c}.health-composition-legend .lean-dot{background:#2c91d2}
.health-reference-table{overflow:hidden;border:1px solid #e1eaf5;border-radius:10px}
.health-reference-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:9px 11px;border-top:1px solid #edf1f7;color:#536984;font-size:11px}
.health-reference-row:first-child{border-top:0}
.health-reference-row strong{color:#17385f;font-variant-numeric:tabular-nums}
.health-reference-row.is-current{background:#eef7ff;color:#0b5ea8;font-weight:800}
.health-reference-row.is-current strong{color:#0b5ea8}
.health-sleep-result .resultHeading{font-size:22px;font-weight:850;color:#15385f}
.health-sleep-result .value{font-size:clamp(30px,4vw,42px);font-weight:900;color:#086ac1;line-height:1.15}
.health-sleep-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:15px}
.health-sleep-option{padding:11px;border:1px solid #dce7f5;border-radius:10px;background:#f8fbff;text-align:center}
.health-sleep-option.is-selected{border-color:#7db9ed;background:#eef7ff;box-shadow:inset 0 0 0 1px #c7e1fa}
.health-sleep-option span{display:block;color:#5a708a;font-size:10px;font-weight:750}
.health-sleep-option strong{display:block;margin-top:5px;color:#15385f;font-size:18px;font-weight:850}
.health-sleep-option small{display:block;margin-top:3px;color:#687d96;font-size:10px}
.health-sleep-result .resultBreakdown{margin-top:14px}
@media(max-width:600px){.health-detail-stat-grid{grid-template-columns:1fr 1fr}.health-macro-grid{grid-template-columns:1fr 1fr}.health-sleep-options{grid-template-columns:1fr 1fr}}
@media(max-width:380px){.health-detail-stat-grid,.health-macro-grid,.health-sleep-options{grid-template-columns:1fr}.health-reference-row{font-size:10px}}

/* Respect the hidden attribute on form fields and result states. */
[hidden]{display:none!important}

/* Heart-rate zones use distinct colors to make intensity bands easier to scan. */
.health-zone-row.zone-1 .health-detail-bar-track i{background:#2c91d2}
.health-zone-row.zone-2 .health-detail-bar-track i{background:#3da96b}
.health-zone-row.zone-3 .health-detail-bar-track i{background:#d6b33a}
.health-zone-row.zone-4 .health-detail-bar-track i{background:#e58b34}
.health-zone-row.zone-5 .health-detail-bar-track i{background:#d85858}

/* Body-fat measurement validation: show the precise field requiring attention. */
.health-field-invalid input,
.health-field-invalid select {
  border-color: #d94848 !important;
  background: #fff8f8 !important;
  box-shadow: 0 0 0 2px rgba(217,72,72,.10);
}
.health-field-error {
  display: block;
  color: #ad2d2d;
  font-size: 11px;
  line-height: 1.4;
}
.health-measurement-note {
  grid-column: 1 / -1;
}

/* Responsive explanatory cards: readable full-width cards on phones. */
@media (min-width:601px) and (max-width:900px){
  .health-explain-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:600px){
  .health-explain-grid{grid-template-columns:minmax(0,1fr);gap:10px;}
  .health-explain-card{box-sizing:border-box;width:100%;min-width:0;padding:15px;}
  .health-explain-card h2{font-size:16px;line-height:1.35;overflow-wrap:break-word;word-break:normal;}
  .health-explain-card p{font-size:14px;line-height:1.6;overflow-wrap:break-word;word-break:normal;}
}

/* After a successful mobile calculation, align the complete result panel below the viewport edge. */
@media(max-width:760px){.health-tool-result-panel{scroll-margin-top:12px}}

/* Keep focused validation fields visible below the sticky site header. */
.health-field-invalid{scroll-margin-top:92px;}
.fields > div.health-field-invalid{scroll-margin-top:92px;}
