@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');
:root{--ink:#153b3b;--muted:#718586;--teal:#0f766e;--line:#e5eeeb;--bg:#f7faf8;font-family:"IBM Plex Sans Arabic",Tahoma,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:inherit}button,input{font:inherit}.topbar{height:78px;max-width:1160px;padding:0 24px;margin:auto;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-size:20px;font-weight:700}.brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:var(--teal);color:white}.topbar nav{display:flex;gap:32px}.topbar nav a{color:#627778;text-decoration:none;font-size:14px}.share-btn{border:1px solid #dce9e5;background:white;border-radius:11px;padding:9px 16px;color:var(--teal);cursor:pointer}.hero{max-width:1160px;margin:25px auto 68px;padding:42px 58px;min-height:330px;border-radius:28px;background:linear-gradient(115deg,#eaf6f1,#f1f8f5 57%,#e3f2ed);display:flex;align-items:center;justify-content:space-between;overflow:hidden}.hero-copy{max-width:570px}.eyebrow{color:var(--teal);font-size:13px;font-weight:700}.hero h1{font-size:46px;line-height:1.35;margin:15px 0 12px}.hero h1 span{color:var(--teal)}.hero-copy>p{color:#657b79;line-height:1.9;font-size:15px;max-width:490px}.hero-points{display:flex;gap:22px;margin-top:22px;color:#55716d;font-size:13px}.hero-art{width:330px;height:260px;position:relative;display:grid;place-items:center}.orbit{position:absolute;width:270px;height:220px;border:1px solid #cce6dc;border-radius:50%;transform:rotate(-25deg)}.art-card{width:190px;height:205px;border-radius:24px;background:white;box-shadow:0 22px 55px #1b67591f;padding:23px;transform:rotate(5deg)}.art-icon{width:48px;height:48px;border-radius:16px;background:#e4f5ee;color:#15917c;display:grid;place-items:center;font-size:30px}.art-line{height:8px;width:112px;border-radius:9px;background:#dcebe6;margin:13px 0}.art-line.short{width:75px;background:#edf3f0}.art-meter{height:9px;background:#edf3f0;border-radius:10px;margin:20px 0 10px;overflow:hidden}.art-meter i{display:block;width:72%;height:100%;background:#35a88d}.art-card small{font-size:10px;color:#8a9d98}.spark{position:absolute;left:20px;top:25px;color:#8fcfbd;font-size:27px}.calculator-section,.info-section{max-width:1060px;margin:0 auto 82px;padding:0 24px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:23px}.section-heading h2,.info-heading h2{font-size:28px;margin:7px 0}.privacy-note{color:#81918f;font-size:12px}.calculator-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.input-card,.result-card{background:white;border:1px solid var(--line);border-radius:21px;box-shadow:0 18px 55px #194a440d;padding:28px}.field-row{margin-bottom:17px}.field-row label,.gender-field legend{display:flex;justify-content:space-between;font-size:14px;font-weight:700;margin-bottom:9px}.field-row label span,.field-row small,.gender-field small{font-size:11px;color:#92a19e;font-weight:400}.input-wrap{height:51px;border:1px solid #dfeae6;border-radius:11px;display:flex;align-items:center;padding:0 14px}.input-wrap:focus-within{border-color:#4eaa96;box-shadow:0 0 0 3px #e8f5f0}.input-wrap input{width:100%;border:0;outline:0;background:transparent;color:var(--ink);font-size:15px;direction:ltr;text-align:right}.input-wrap span{color:#8a9b97;font-size:12px}.field-row small{display:block;margin-top:6px}.gender-field{border:0;padding:0;margin:4px 0 15px}.gender-field legend{padding:0}.gender-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.gender-options label{cursor:pointer}.gender-options input{position:absolute;opacity:0}.gender-options span{height:48px;border:1px solid #e0eae6;border-radius:10px;display:grid;place-items:center;color:#70817e;font-size:13px}.gender-options input:checked+span{background:#edf8f4;border-color:#69b9a3;color:var(--teal);font-weight:700}.form-error{min-height:18px;color:#c34e4e;font-size:12px;margin:0 0 5px}.calculate-btn{width:100%;height:52px;border:0;border-radius:11px;background:var(--teal);color:white;font-weight:700;cursor:pointer}.calculate-btn:hover{background:#0b5f59}.calculate-btn b{margin-right:8px}.form-footnote{text-align:center;color:#9aa8a4;font-size:10px}.result-card{min-height:550px;display:flex;flex-direction:column;background:linear-gradient(150deg,#fff,#fbfdfc)}.result-empty{margin:auto;text-align:center;max-width:290px}.empty-illustration{width:110px;height:110px;margin:0 auto 20px;border-radius:32px;background:#eff8f4;display:grid;place-items:center;color:#7dbdaa;font-size:58px}.result-empty h3{font-size:17px;margin:0 0 8px}.result-empty p{font-size:12px;color:#8a9b97;line-height:1.9}.empty-mini{display:flex;justify-content:center;gap:7px;margin-top:25px}.empty-mini i{width:31px;height:5px;border-radius:5px;background:#e9f1ed}.result-content{width:100%;animation:appear .3s ease}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.result-topline{display:flex;justify-content:space-between;align-items:center;color:#81918e;font-size:12px}.status-pill{font-size:11px;font-weight:700;border-radius:30px;padding:7px 12px;background:#eaf6f0;color:#218064}.bmi-number{font-size:58px;font-weight:700;line-height:1.4;direction:ltr;text-align:right}.result-description{font-size:12px;color:#81918e;margin:0 0 25px}.scale-track{height:9px;border-radius:20px;display:flex;gap:3px;position:relative;direction:ltr}.scale-track i{height:100%;display:block;border-radius:20px}.under{width:22%;background:#72b9d2}.normal{width:28%;background:#65b991}.over{width:22%;background:#e8b65e}.obese{width:28%;background:#dc8580}.scale-track b{position:absolute;top:-5px;left:50%;width:4px;height:19px;border:2px solid white;background:#173e3a;border-radius:5px;transform:translateX(-50%)}.scale-labels{display:flex;justify-content:space-between;color:#9aa8a4;font-size:9px;margin:9px 0 22px}hr{border:0;border-top:1px solid #edf1ef;width:100%}.healthy-range{display:flex;justify-content:space-between;align-items:center;margin-top:13px}.healthy-range small{color:#81918e;font-size:12px}.healthy-range strong{display:block;font-size:24px;margin-top:6px;direction:ltr;text-align:right}.range-icon{width:42px;height:42px;display:grid;place-items:center;background:#eff8f4;color:var(--teal);font-size:27px;border-radius:13px}.difference-box{margin-top:16px;background:#f7faf8;border:1px solid #edf2ef;border-radius:11px;padding:11px 13px;font-size:12px;color:#617572;line-height:1.8}.difference-box strong{color:var(--ink)}.advice-box{display:flex;gap:11px;margin-top:17px;padding:14px;border-radius:12px;background:#f0f8f4}.advice-box>b{color:#21836c}.advice-box strong{font-size:12px}.advice-box p{font-size:11px;line-height:1.8;color:#6f8580;margin:4px 0}.reset-btn{margin-top:16px;background:white;border:1px solid #dce9e4;color:var(--teal);border-radius:10px;height:42px;cursor:pointer}.info-heading{text-align:center;max-width:620px;margin:0 auto 28px}.info-heading p{font-size:13px;color:#81918e;line-height:1.9}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.category-grid article{display:flex;gap:11px;background:white;border:1px solid var(--line);border-radius:14px;padding:16px 12px}.category-grid article>i{width:9px;height:9px;flex:none;border-radius:50%;margin-top:7px}.c-under{background:#72b9d2}.c-normal{background:#65b991}.c-over{background:#e8b65e}.c-obese{background:#dc8580}.category-grid strong{font-size:11px;color:#8b9a96}.category-grid h3{font-size:14px;margin:5px 0}.category-grid p{font-size:10px;line-height:1.8;color:#91a09c;margin:0}.notice{display:flex;gap:13px;background:#fff9ec;border:1px solid #f4e8c9;border-radius:13px;padding:16px 19px;margin-top:22px;color:#83765b}.notice>b{color:#c28d32;font-size:20px}.notice p{font-size:11px;line-height:2;margin:0}.notice strong{color:#735b2e}footer{border-top:1px solid #e8efec;padding:25px max(24px,calc((100% - 1110px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;color:#8b9a96;font-size:11px}footer p{margin:0}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);opacity:0;background:#173e3a;color:white;padding:11px 18px;border-radius:10px;font-size:12px;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:800px){.hero{margin:14px 16px 55px;padding:32px}.hero h1{font-size:38px}.hero-art{width:250px}.calculator-grid{gap:15px}.input-card,.result-card{padding:21px}.category-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.topbar{height:66px;padding:0 16px}.topbar nav{display:none}.hero{display:block;margin:10px 12px 48px;padding:27px 22px 12px;border-radius:21px}.hero h1{font-size:35px}.hero-copy>p{font-size:13px}.hero-points{gap:12px;flex-wrap:wrap;font-size:11px}.hero-art{height:155px;width:100%;transform:scale(.72);margin:0}.section-heading{align-items:flex-start;gap:8px}.section-heading h2,.info-heading h2{font-size:24px}.privacy-note{font-size:10px;max-width:130px;text-align:left}.calculator-grid{grid-template-columns:1fr}.result-card{min-height:460px}.calculator-section,.info-section{padding:0 16px}.category-grid{gap:9px}.category-grid article{padding:12px 9px}.category-grid h3{font-size:12px}.category-grid p{font-size:9px}.notice{padding:12px}.notice p{font-size:10px}footer{flex-wrap:wrap;justify-content:center;text-align:center;padding:22px 14px}footer p{width:100%;order:3}}
@media print{body{background:white}.topbar,.hero,.input-card,.info-section,footer,.reset-btn,.toast{display:none!important}.calculator-section{margin:0;padding:0}.section-heading{display:none}.calculator-grid{display:block}.result-card{border:0;box-shadow:none;min-height:0;padding:0}.result-empty{display:none!important}.result-content[hidden]{display:none!important}}
