:root{--profile-red:#ee252b;--profile-red-dark:#991417;--profile-black:#090a0c;--profile-paper:#f7f7f5;--profile-ink:#17191c;--profile-line:#e5e5e2}
html{scroll-behavior:smooth}body.profile-v18{background-color:#ececea;background-image:linear-gradient(30deg,#00000005 12%,transparent 12.5%,transparent 87%,#00000005 87.5%,#00000005),linear-gradient(150deg,#00000005 12%,transparent 12.5%,transparent 87%,#00000005 87.5%,#00000005),radial-gradient(circle at 30% 20%,#fff 0,transparent 35%);background-size:72px 125px,72px 125px,100% 100%;color:var(--profile-ink)}
.profile-site-header{height:74px;background:#070809;color:#fff;position:sticky;top:0;z-index:60;border-bottom:3px solid var(--profile-red);box-shadow:0 10px 30px #0003}.profile-header-inner{width:min(1100px,calc(100% - 34px));height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.profile-header-brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;font-weight:900;letter-spacing:-.2px}.profile-header-brand img,.profile-header-logo{width:43px;height:43px;border-radius:11px;background:#fff;object-fit:contain;padding:4px}.profile-header-logo{display:grid;place-items:center;background:var(--profile-red);color:#fff;font-size:23px}.profile-header-brand small{display:block;color:#aeb3b8;font-size:8px;letter-spacing:1.2px;margin-top:2px}.profile-header-nav{display:flex;align-items:center;gap:5px}.profile-header-nav a{color:#c8cbce;text-decoration:none;font-size:11px;font-weight:800;padding:10px 12px;border-radius:9px;transition:.2s}.profile-header-nav a:hover{background:#ffffff12;color:#fff}.profile-header-nav .header-alert{background:var(--profile-red);color:#fff}.profile-header-nav .header-lang{border:1px solid #ffffff2e;color:#fff}
body.profile-v18 .shell{width:min(1040px,calc(100% - 30px));min-height:auto;margin:34px auto 44px;background:transparent;box-shadow:none;overflow:visible}
body.profile-v18 .hero{min-height:292px;border-radius:28px;padding:24px 34px 30px;overflow:hidden;box-shadow:0 24px 70px #090a0c2e;background-color:#17191c;background-position:center;background-size:cover;border:1px solid #ffffff1e}
body.profile-v18 .hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#050607ee 0%,#111316c7 48%,#9814197a 100%)}body.profile-v18 .hero:after{background-image:linear-gradient(#ffffff0a 1px,transparent 1px),linear-gradient(90deg,#ffffff0a 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(90deg,#000,transparent)}
body.profile-v18 .hero .top{justify-content:flex-end}body.profile-v18 .hero .top .brand,body.profile-v18 .hero .lang{display:none}
body.profile-v18 .identity{display:grid;grid-template-columns:auto 1fr;grid-template-areas:'photo signal' 'photo label' 'photo name' 'photo update';align-items:end;column-gap:22px;width:min(720px,100%)}body.profile-v18 .patient-photo{grid-area:photo;width:122px;height:122px;border-radius:50%;margin:0;border:5px solid #fff;box-shadow:0 16px 36px #0008}body.profile-v18 .identity .signal{grid-area:signal;margin:0 0 9px}body.profile-v18 .identity>small{grid-area:label;color:#ff9da1;font-weight:900;letter-spacing:.7px}body.profile-v18 .identity h1{grid-area:name;font-size:35px;margin:3px 0}body.profile-v18 .identity p{grid-area:update;font-size:11px;color:#d4d7da}
body.profile-v18 .content{padding:28px 30px 32px;margin-top:18px;background:linear-gradient(145deg,var(--profile-red),var(--profile-red-dark));border-radius:28px;box-shadow:0 24px 70px #87111534;position:relative;overflow:hidden}body.profile-v18 .content:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 100% 0,#fff1,transparent 32%),linear-gradient(#ffffff07 1px,transparent 1px);background-size:auto,100% 38px;pointer-events:none}body.profile-v18 .content>*{position:relative;z-index:1}
body.profile-v18 .key-card{margin:0;background:#fff;border-radius:18px;padding:18px 20px;box-shadow:0 14px 35px #4d070f35;border:1px solid #fff;grid-template-columns:repeat(5,1fr)}body.profile-v18 .key{padding:11px 14px}body.profile-v18 .key small{font-size:9px;text-transform:uppercase;letter-spacing:.4px}body.profile-v18 .key b{font-size:16px}body.profile-v18 .blood{font-size:27px!important;color:var(--profile-red)!important}
body.profile-v18 .section{margin-top:20px}body.profile-v18 .section-title{color:#fff;font-size:13px;text-transform:uppercase;letter-spacing:.35px;margin-bottom:9px}body.profile-v18 .section-title span{background:#fff;color:var(--profile-red);box-shadow:0 7px 18px #5b070d30}
body.profile-v18 .grid{gap:10px}body.profile-v18 .medical{background:#fff;border:0;border-radius:14px;padding:15px 16px;box-shadow:0 10px 25px #5b070d20}body.profile-v18 .medical:before{width:5px;background:#17191c}body.profile-v18 .medical.allergy:before{background:var(--profile-red)}body.profile-v18 .medical small{font-size:9px;text-transform:uppercase;font-weight:800}body.profile-v18 .medical b{font-size:13px;line-height:1.5}
body.profile-v18 .doctor-note{background:#070809;border:1px solid #ffffff21;border-radius:15px;padding:17px 18px;box-shadow:0 12px 28px #5a070d38}body.profile-v18 .doctor-note small{color:#ff9da1;text-transform:uppercase;font-weight:900}
body.profile-v18 .critical-panel{background:#fff;border:0;border-radius:18px;padding:18px;box-shadow:0 12px 30px #5d080e25}body.profile-v18 .critical-head h2{color:#191b1e;font-size:14px;text-transform:uppercase}body.profile-v18 .critical-badge{background:#ffe8e9;color:#bd1e26}.critical-grid{gap:9px}body.profile-v18 .critical-item{background:#f7f7f5;border:1px solid #e7e7e4;border-inline-start:5px solid #17191c}body.profile-v18 .critical-item.danger{border-inline-start-color:var(--profile-red);background:#fff7f7}
body.profile-v18 .contact{border:0;border-radius:15px;padding:15px 16px;box-shadow:0 10px 25px #5b070d20}body.profile-v18 .contact-avatar{background:#17191c;color:#fff;width:46px;height:46px}body.profile-v18 .contact-info b{font-size:14px}body.profile-v18 .quick-call,body.profile-v18 .quick-wa{width:auto;min-width:108px;height:40px;padding:0 15px;font-size:11px;font-weight:900;display:flex;gap:6px}body.profile-v18 .quick-call:after{content:' CALL'}[dir=rtl] body.profile-v18 .quick-call:after{content:' اتصال'}body.profile-v18 .quick-wa:after{content:' WhatsApp'}
body.profile-v18 .sos-panel{background:#070809;border:1px solid #ffffff1c;border-radius:18px;padding:20px;box-shadow:0 15px 35px #5d080e42}body.profile-v18 .sos-panel:after{color:#ee252b22}body.profile-v18 .sos-panel p{color:#c9cdd0}body.profile-v18 .sos-btn{background:var(--profile-red);color:#fff;box-shadow:0 8px 22px #ee252b55}body.profile-v18 .map-btn{background:#fff;color:#16181b;border:0}
body.profile-v18 .privacy{color:#ffe7e8;margin-bottom:5px}body.profile-v18 .actions{position:static;transform:none;width:100%;margin:14px 0 0;background:#fff;border:0;border-radius:15px;padding:10px;grid-template-columns:1fr 1fr;box-shadow:0 12px 28px #5b070d24}body.profile-v18 .action{background:#f1f1ef;color:#1a1c1f}body.profile-v18 .action.primary{background:#070809;color:#fff}
.profile-anchor{position:relative;top:-95px}.profile-footer{background:#070809;color:#a8adb1;border-top:3px solid var(--profile-red);padding:36px 20px}.profile-footer-inner{width:min(1040px,100%);margin:auto}.profile-footer-top{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px;padding-bottom:25px;border-bottom:1px solid #ffffff12}.profile-footer-brand{display:flex;align-items:center;gap:12px;color:#fff;font-size:17px;font-weight:900}.profile-footer-brand img,.profile-footer-brand span{width:48px;height:48px;border-radius:12px;background:#fff;object-fit:contain;padding:5px}.profile-footer-brand span{display:grid;place-items:center;background:var(--profile-red);padding:0}.profile-footer-message{text-align:end;font-size:12px;line-height:1.7}.profile-footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-top:22px;font-size:10px}.profile-footer-links{display:flex;gap:18px}.profile-footer-links a{color:#d7d9da;text-decoration:none}
.confidential-modal{display:none;position:fixed;inset:0;background:#070809b8;backdrop-filter:blur(6px);z-index:120;align-items:center;justify-content:center;padding:18px}.confidential-modal.open{display:flex}.confidential-card{width:min(480px,100%);background:linear-gradient(145deg,#ff3036,#c71820);color:#fff;border-radius:20px;padding:24px;box-shadow:0 30px 90px #0008;position:relative;border:1px solid #ffffff2b}.confidential-card .shield{width:56px;height:56px;background:#fff;color:var(--profile-red);border-radius:16px;display:grid;place-items:center;font-size:28px;margin-bottom:14px}.confidential-card h2{font-size:20px;margin:0 0 9px}.confidential-card p{font-size:12px;line-height:1.7;color:#ffe8e9;margin:0}.confidential-card button{width:100%;margin-top:17px;border:0;background:#070809;color:#fff;border-radius:12px;padding:13px;font-weight:900;cursor:pointer}
@media(max-width:760px){.profile-site-header{height:64px}.profile-header-inner{width:calc(100% - 24px)}.profile-header-brand small{display:none}.profile-header-nav a:not(.header-alert):not(.header-lang){display:none}.profile-header-nav .header-alert{font-size:0;padding:10px}.profile-header-nav .header-alert:after{content:'SOS';font-size:11px}.profile-header-nav .header-lang{padding:9px 11px}body.profile-v18 .shell{width:100%;margin:0;background:#fff}body.profile-v18 .hero{border-radius:0;min-height:270px;padding:20px 18px 26px}body.profile-v18 .identity{grid-template-columns:auto 1fr;column-gap:14px}body.profile-v18 .patient-photo{width:88px;height:88px;border-width:4px}body.profile-v18 .identity h1{font-size:25px}body.profile-v18 .content{margin:0;padding:18px 14px 100px;border-radius:0;box-shadow:none}body.profile-v18 .key-card{grid-template-columns:1fr 1fr;padding:13px}body.profile-v18 .key:first-child{grid-column:1/-1}body.profile-v18 .grid,.critical-grid{grid-template-columns:1fr}body.profile-v18 .quick-call,body.profile-v18 .quick-wa{min-width:45px;width:45px;padding:0;font-size:17px}body.profile-v18 .quick-call:after,body.profile-v18 .quick-wa:after{display:none}body.profile-v18 .actions{position:fixed;left:10px;right:10px;bottom:10px;width:auto;margin:0;z-index:50;border:1px solid #e1e1df}.profile-footer{padding-bottom:90px}.profile-footer-top{grid-template-columns:1fr}.profile-footer-message{text-align:start}.profile-footer-bottom{display:grid}.profile-footer-links{flex-wrap:wrap}}
@media(max-width:390px){body.profile-v18 .identity{display:block}body.profile-v18 .patient-photo{margin-bottom:12px}body.profile-v18 .identity .signal{margin-bottom:10px}.profile-header-brand{font-size:13px}.profile-header-brand img,.profile-header-logo{width:38px;height:38px}}
