.ehrf-sc{--red:#c0392b;--red-d:#922b21;--red-l:#fdf2f1;--navy:#1a2a3a;--navy2:#22354a;--gold:#d4a017;--bg:#fff;--bg2:#f7f6f4;--t1:#1a1a18;--t2:#5f5e5a;--t3:#888780;--bd:rgba(0,0,0,.1);--bd2:rgba(0,0,0,.18)}
.ehrf-sc, .ehrf-sc *{box-sizing:border-box;margin:0;padding:0}
.ehrf-sc{background:#e8e6e0;color:var(--t1);font-family:"IBM Plex Sans Arabic","IBM Plex Sans",system-ui,sans-serif;padding:1.5rem 1rem}
.ehrf-sc[lang=ar]{font-family:"IBM Plex Sans Arabic","IBM Plex Sans",system-ui,sans-serif}
.ehrf-sc .wrap{max-width:980px;margin:0 auto;background:var(--bg);border-radius:16px;border:1px solid var(--bd);overflow:hidden}
.ehrf-sc .hdr{background:var(--navy);padding:1.5rem 1.75rem 1.25rem;color:#fff}
.ehrf-sc .top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:1rem}
.ehrf-sc .badge{background:var(--red);border-radius:5px;padding:4px 10px;font-size:11px;font-weight:800;letter-spacing:.07em}
.ehrf-sc .org{font-size:12px;color:rgba(255,255,255,.5);margin-inline-start:8px}
.ehrf-sc .btns{display:flex;gap:8px}
.ehrf-sc .pill{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);color:#fff;border-radius:20px;padding:6px 14px;font:600 12px/1 inherit;font-family:inherit;cursor:pointer;text-decoration:none}
.ehrf-sc .pill:hover{background:rgba(255,255,255,.16)}
.ehrf-sc h1{font-size:26px;font-weight:800;line-height:1.25;margin-bottom:6px}
.ehrf-sc h1 em{color:var(--gold);font-style:normal}
.ehrf-sc .sub{font-size:13px;color:rgba(255,255,255,.6);line-height:1.7;max-width:720px}
.ehrf-sc .status{background:var(--navy2);padding:9px 1.75rem;font-size:12px;color:var(--gold);line-height:1.6;display:flex;gap:14px;flex-wrap:wrap}
.ehrf-sc .body{padding:1.5rem 1.75rem}
.ehrf-sc .filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:12px}
.ehrf-sc .filters label{font-size:11px;font-weight:700;color:var(--t2);display:block;margin-bottom:4px}
.ehrf-sc .filters input,.ehrf-sc .filters select{width:100%;padding:8px 10px;border:1px solid var(--bd2);border-radius:8px;font:13px inherit;font-family:inherit;background:#fff;color:var(--t1)}
.ehrf-sc .filters input:focus,.ehrf-sc .filters select:focus{outline:none;border-color:var(--red)}
.ehrf-sc .row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:1.25rem}
.ehrf-sc .chk{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;cursor:pointer}
.ehrf-sc .btn{padding:8px 14px;border-radius:8px;border:1px solid var(--bd2);background:#fff;color:var(--t2);font:600 12px/1 inherit;font-family:inherit;cursor:pointer}
.ehrf-sc .btn.p{background:var(--red);border-color:var(--red);color:#fff}
.ehrf-sc .btn:hover{background:var(--bg2)}
.ehrf-sc .btn.p:hover{background:var(--red-d)}
.ehrf-sc .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:1.25rem}
.ehrf-sc .card{background:var(--bg2);border-radius:10px;padding:12px 14px}
.ehrf-sc .card .n{font-size:24px;font-weight:800}
.ehrf-sc .card .l{font-size:11px;color:var(--t2);font-weight:600;margin-top:2px}
.ehrf-sc .grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-bottom:1.25rem}
.ehrf-sc .box{border:1px solid var(--bd);border-radius:12px;padding:12px 14px}
.ehrf-sc .box h3{font-size:13px;font-weight:700;margin-bottom:10px}
.ehrf-sc .bars{display:flex;align-items:flex-end;gap:4px;height:110px}
.ehrf-sc .bar{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px;min-width:0}
.ehrf-sc .bar i{display:block;width:100%;background:#d9d7d0;border-radius:3px 3px 0 0;position:relative}
.ehrf-sc .bar i b{position:absolute;bottom:0;left:0;right:0;background:var(--red);border-radius:3px 3px 0 0}
.ehrf-sc .bar span{font-size:9px;color:var(--t3);white-space:nowrap}
.ehrf-sc .hb{display:flex;align-items:center;gap:8px;font-size:12px;margin-bottom:6px;cursor:pointer}
.ehrf-sc .hb:hover .hl{color:var(--red-d)}
.ehrf-sc .hl{width:96px;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ehrf-sc .ht{flex:1;background:#eceae4;height:8px;border-radius:4px;overflow:hidden}
.ehrf-sc .ht i{display:block;height:100%;background:var(--red);border-radius:4px}
.ehrf-sc .hn{width:30px;text-align:end;font-weight:700;color:var(--t2)}
.ehrf-sc .item{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--bd)}
.ehrf-sc .dot{width:8px;height:8px;border-radius:50%;background:var(--red);opacity:.55;flex-shrink:0;margin-top:7px}
.ehrf-sc .it{font-size:14px;font-weight:600;line-height:1.55}
.ehrf-sc .it a{color:var(--t1);text-decoration:none}
.ehrf-sc .it a:hover{text-decoration:underline;color:var(--red-d)}
.ehrf-sc .im{font-size:11px;color:var(--t3);margin-top:3px;display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.ehrf-sc .sm{font-size:12px;color:var(--t2);line-height:1.6;margin-top:4px}
.ehrf-sc .chip{display:inline-block;padding:1px 8px;border-radius:10px;font-size:10px;font-weight:700;background:var(--bg2);color:var(--t2);cursor:pointer}
.ehrf-sc .chip.r{background:var(--red-l);color:#7b241c}
.ehrf-sc .chip.c{background:#eef3f8;color:#254a6e}
.ehrf-sc .empty{padding:2rem 1rem;text-align:center;color:var(--t2);font-size:14px;line-height:1.8}
.ehrf-sc .empty code{background:var(--bg2);padding:2px 6px;border-radius:4px;font-size:12px;direction:ltr;unicode-bidi:isolate}
.ehrf-sc details{margin-top:1.25rem;border:1px solid var(--bd);border-radius:12px;padding:10px 14px}
.ehrf-sc summary{font-weight:700;font-size:13px;cursor:pointer}
.ehrf-sc table{width:100%;border-collapse:collapse;margin-top:10px;font-size:12px}
.ehrf-sc th,.ehrf-sc td{padding:6px 8px;border-bottom:1px solid var(--bd);text-align:start}
.ehrf-sc th{color:var(--t3);font-size:11px}
.ehrf-sc .ok{color:#1a5e34;font-weight:700}
.ehrf-sc .bad{color:#7b241c;font-weight:700}
.ehrf-sc .foot{font-size:11px;color:var(--t3);line-height:1.8;padding:1rem 1.75rem 1.5rem;border-top:1px solid var(--bd)}
@media(max-width:560px){.ehrf-sc .wrap{border-radius:12px}
.ehrf-sc .hdr,.ehrf-sc .body,.ehrf-sc .foot,.ehrf-sc .status{padding-inline:1rem}
.ehrf-sc h1{font-size:21px}}

