:root{font-family:"Segoe UI",Arial,Helvetica,sans-serif;--bg:#f5f8fa;--paper:#fff;--text:#172f3d;--muted:#687e89;--border:#e3ebef;--teal:#00a99d;--navy:#092d42;--side:#071f30;--sideText:#b5ced6;--soft:#eff8f7;--shadow:0 14px 45px rgba(12,48,67,.05);color-scheme:light}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);line-height:1.9}button,input{font:inherit}button{cursor:pointer}a{color:inherit}.app{min-height:100vh}.sidebar{position:fixed;right:0;top:0;bottom:0;width:316px;background:var(--side);color:#fff;display:flex;flex-direction:column;z-index:20;box-shadow:-6px 0 30px #071b2917}.brand{padding:26px 20px 20px;display:flex;gap:12px;align-items:center;border-bottom:1px solid #ffffff13}.brandmark{width:46px;height:46px;border-radius:14px;color:white;font-size:30px;font-weight:900;display:grid;place-items:center;background:linear-gradient(140deg,#04b4a9,#0c728b);position:relative;line-height:1}.brandmark span{display:none}.brand strong{font-size:15px;letter-spacing:-.5px;display:block}.brand em{font-style:normal;color:#37ddcc}.brand small{font-size:11px;color:#95adbb;display:block}.side-search{margin:22px 16px 14px;position:relative}.side-search span{position:absolute;right:12px;top:6px;color:#7fa0af;font-size:26px}.side-search input{width:100%;background:#ffffff0d;border:1px solid #ffffff20;color:white;padding:11px 37px 11px 32px;border-radius:11px;outline:0;font-size:13px}.side-search input:focus{border-color:#17c2b5}.side-search input::placeholder{color:#96acb8}.side-search kbd{position:absolute;left:10px;top:9px;color:#79909a;font-size:12px;border:1px solid #556b76;padding:0 6px;border-radius:5px}.side-tabs{display:flex;gap:4px;margin:0 16px;background:#ffffff0b;padding:4px;border-radius:11px}.side-tabs button{border:0;background:transparent;color:#b1c2ce;flex:1;padding:9px 4px;border-radius:8px;font-size:12px;font-weight:700}.side-tabs button.active{background:#0e5261;color:white}.side-count{margin:15px 23px 6px;color:#678c9a;font-size:11px}.nav-list{overflow:auto;flex:1;padding:4px 10px 28px;scrollbar-width:thin;scrollbar-color:#225064 transparent}.nav-item{display:flex;align-items:flex-start;gap:9px;width:100%;text-align:right;color:var(--sideText);background:none;border:0;padding:11px 12px;border-radius:9px;font-size:12.7px;line-height:1.6;margin:2px 0}.nav-item:hover{background:#ffffff0b;color:#fff}.nav-item.active{background:#0a746e33;color:#53e2cf;border-right:3px solid #2fd5c0}.num{color:#5c9caa;font-size:11px;flex:none;min-width:23px}.nav-item.active .num{color:#4de0ca}.read-dot{margin-right:auto;margin-top:5px;color:#35c9aa;font-size:12px}.side-bottom{padding:15px 19px;background:#ffffff08;font-size:12px;color:#91a9b7;border-top:1px solid #ffffff12}.side-bottom small{display:block;margin-right:16px;font-size:10px}.dot{display:inline-block;width:7px;height:7px;background:#13bdae;border-radius:50%;margin-left:7px}.main{margin-right:316px;min-width:0}.topbar{height:75px;padding:0 clamp(20px,4vw,68px);background:var(--paper);border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:10px}.topbar-start,.toolbar{display:flex;align-items:center;gap:12px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{color:#a2b1b9;margin:0 7px}.top-button,.quiet-btn,.icon-btn{background:transparent;border:1px solid var(--border);border-radius:10px;padding:8px 12px;color:var(--text);font-size:12px}.icon-btn{font-size:19px;padding:4px 10px}.top-button:hover,.quiet-btn:hover,.icon-btn:hover{border-color:var(--teal);color:var(--teal)}.menu-btn,.close-menu{display:none}.hero{margin:30px clamp(20px,4vw,68px) 22px;border-radius:19px;background:linear-gradient(118deg,#082c42 10%,#0b4353 62%,#007e82 100%);color:white;min-height:282px;position:relative;overflow:hidden;display:flex;align-items:center;padding:38px 45px}.hero-glow{position:absolute;width:330px;height:330px;left:18%;top:-170px;background:#00beac4a;filter:blur(95px)}.hero-content{position:relative;z-index:1;max-width:670px}.eyebrow{font:700 10px Arial;letter-spacing:2px;color:#48d8c8;margin-bottom:10px}.hero h1{line-height:1.5;font-size:clamp(23px,3vw,37px);margin:0 0 9px}.hero h1 span{color:#5fe5d5}.hero p{color:#b7d2da;font-size:13px;max-width:550px;margin:0}.hero-stats{display:flex;gap:36px;margin-top:21px}.hero-stats div{display:flex;flex-direction:column;line-height:1.5}.hero-stats strong{font-size:23px;direction:ltr;text-align:right}.hero-stats span{font-size:11px;color:#a4c3cf}.hero-shape{position:absolute;left:-13px;bottom:-77px;width:275px;color:#2bd8c026;transform:rotate(-10deg)}.notice,.workspace{margin-right:clamp(20px,4vw,68px);margin-left:clamp(20px,4vw,68px)}.notice{display:flex;align-items:flex-start;gap:13px;background:var(--soft);border:1px solid #cceae4;border-radius:13px;padding:15px 18px}.notice-ico{color:#048d86;font-size:25px;line-height:1.3}.notice strong{color:#007f7a;font-size:13px}.notice p{margin:2px 0 0;color:#426773;font-size:12px;line-height:2}.workspace{margin-top:24px;background:var(--paper);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}.article-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:19px 30px;border-bottom:1px solid var(--border);flex-wrap:wrap}.pill{display:inline-block;background:var(--soft);border-radius:7px;padding:3px 11px;color:#05877f;font-size:11px;font-weight:700}.article-label{font-size:11px;color:var(--muted);margin-top:3px}.read-actions{display:flex;gap:7px;flex-wrap:wrap}.quiet-btn{font-size:11px}.article{max-width:940px;margin:auto;padding:35px 45px 50px;min-height:470px}.article h1{font-size:clamp(24px,3vw,35px);line-height:1.55;color:var(--navy);margin:0 0 25px}.article h2{font-size:18px;margin:37px 0 12px;padding-bottom:8px;border-bottom:1px solid var(--border);color:var(--navy)}.article h2:before{content:'';display:inline-block;width:6px;height:19px;background:var(--teal);border-radius:4px;margin-left:10px;vertical-align:-4px}.article p{font-size:14px;color:var(--text);margin:0 0 14px;line-height:2.15;overflow-wrap:anywhere}.article .step{padding:10px 17px 10px 10px;border-right:3px solid var(--teal);background:var(--soft);border-radius:0 9px 9px 0;margin-bottom:12px}.article .compact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:20px}.article .info-card{background:var(--soft);padding:19px;border:1px solid var(--border);border-radius:12px}.article .info-card strong{color:#087f7a;display:block;font-size:13px;margin-bottom:8px}.article .info-card p{font-size:13px;margin:0}.article .alert{background:#f0f8f6;border:1px solid #c9e9e1;border-radius:11px;padding:15px 17px;margin:12px 0 25px;color:#1b5e59;font-size:13px}.article .table-wrap{width:100%;overflow:auto;margin:18px 0 28px;border:1px solid var(--border);border-radius:11px}.article table{width:100%;border-collapse:collapse;font-size:12px;min-width:420px}.article td{border-bottom:1px solid var(--border);padding:9px 13px;vertical-align:top;line-height:1.8}.article tr:first-child td{font-weight:700;background:var(--soft);color:#0a6665}.article tr:last-child td{border-bottom:0}.bottom-nav{border-top:1px solid var(--border);display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:20px 30px}.next-card{padding:14px 16px;text-align:right;border:1px solid var(--border);border-radius:11px;background:var(--paper);display:flex;flex-direction:column;gap:4px}.next-card:hover{border-color:var(--teal)}.next-card span{color:var(--muted);font-size:11px}.next-card strong{font-size:12px;font-weight:600;color:var(--navy)}.next-card:disabled{opacity:.3;cursor:default}.footer{display:flex;justify-content:space-between;gap:15px;margin:22px clamp(20px,4vw,68px) 40px;color:var(--muted);font-size:11px;flex-wrap:wrap}.toast{position:fixed;left:22px;bottom:22px;background:#074a4b;color:white;padding:10px 18px;border-radius:10px;font-size:12px;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none;z-index:50}.toast.show{opacity:1;transform:translateY(0)}.scrim{display:none}.empty{color:var(--muted);padding:20px 10px;font-size:12px}.close-menu{margin-right:auto}
[data-theme="dark"]{--bg:#081925;--paper:#102737;--text:#dae9ee;--muted:#94abb7;--border:#284251;--navy:#e3f5f5;--soft:#133b3c;--shadow:none;color-scheme:dark}[data-theme="dark"] .notice{border-color:#236363}[data-theme="dark"] .notice p{color:#a2cac8}[data-theme="dark"] .notice strong{color:#55d8c7}[data-theme="dark"] .article .alert{background:#123a3c;color:#ade6d5;border-color:#20645d}[data-theme="dark"] .article tr:first-child td{color:#5cddcc}
@media(max-width:1100px){.sidebar{width:280px}.main{margin-right:280px}.hero{padding:31px}.hero-shape{width:180px}.article{padding:30px}}
@media(max-width:850px){.sidebar{transform:translateX(105%);transition:transform .25s;width:min(330px,88vw)}.sidebar.open{transform:translateX(0)}.main{margin-right:0}.menu-btn,.close-menu{display:block}.scrim.open{display:block;position:fixed;inset:0;background:#061b2a9c;z-index:18}.topbar{height:63px}.hero{min-height:238px;margin-top:17px}.hero-shape{width:175px;opacity:.65}.article{padding:28px 25px}.notice,.workspace{margin-left:18px;margin-right:18px}.footer{margin-left:18px;margin-right:18px}}
@media(max-width:520px){.topbar{padding:0 16px}.top-button span{display:none}.hero{margin:14px 14px 16px;padding:29px 21px;min-height:250px}.hero p{font-size:12px}.hero-stats{gap:18px}.hero-stats strong{font-size:20px}.hero-shape{left:-50px;bottom:-50px}.notice,.workspace{margin-left:14px;margin-right:14px}.notice{padding:12px}.article-meta{padding:14px 18px}.article{padding:23px 17px}.article h2{font-size:16px}.article p{font-size:13px}.article .compact-grid{grid-template-columns:1fr}.bottom-nav{padding:14px;gap:7px}.next-card{padding:10px}.footer{margin:20px 14px}.breadcrumb{font-size:10px}}
@media print{@page{size:A4;margin:17mm}body{background:white;color:black}.sidebar,.topbar,.hero,.notice,.article-meta,.bottom-nav,.footer,.toast,.scrim{display:none!important}.main{margin:0}.workspace{border:0;box-shadow:none;margin:0}.article{padding:0;max-width:none}.article h1{font-size:23px}.article h2{break-after:avoid}.article p,.article tr{break-inside:avoid}.table-wrap{overflow:visible!important}}

/* Western-style font: Segoe UI (Windows), Arial fallback, Arabic content stays RTL. */
body,button,input,textarea,select{font-family:"Segoe UI",Arial,Helvetica,sans-serif;}
body{font-weight:400;line-height:1.85;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
.brand strong,.hero h1,.article h1,.article h2,.next-card strong{font-family:"Segoe UI",Arial,Helvetica,sans-serif;font-weight:700;letter-spacing:0;}
.article p{font-size:15px;line-height:2.05;}
.article h1{font-weight:700;line-height:1.65;}
.article h2{font-weight:600;line-height:1.8;}
.nav-item{font-size:13px;line-height:1.75;font-weight:500;}
.article td{font-size:13px;line-height:1.9;}
.brand strong{font-size:16px;}
.notice p{font-size:13px;}
@media(max-width:520px){.article p{font-size:14px;line-height:2}.article td{font-size:12px;}}

/* Western modern typographic system */
:root{font-family:"Segoe UI",Arial,Helvetica,sans-serif;}
body,button,input,textarea,select{font-family:"Segoe UI",Arial,Helvetica,sans-serif;}
.article h1,.article h2,.brand strong,.hero h1{font-family:"Segoe UI",Arial,Helvetica,sans-serif;letter-spacing:-.01em;}
.article p{line-height:2;}

/* Bilingual layout: native reading direction per language. */
html[dir="ltr"] .sidebar{right:auto;left:0;box-shadow:6px 0 30px #071b2917}
html[dir="ltr"] .main{margin-right:0;margin-left:316px}
html[dir="ltr"] .side-search span{right:auto;left:12px}
html[dir="ltr"] .side-search input{padding:11px 32px 11px 37px}
html[dir="ltr"] .side-search kbd{left:auto;right:10px}
html[dir="ltr"] .nav-item{text-align:left}
html[dir="ltr"] .nav-item.active{border-right:none;border-left:3px solid #2fd5c0}
html[dir="ltr"] .read-dot{margin-right:0;margin-left:auto}
html[dir="ltr"] .side-bottom small{margin-right:0;margin-left:16px}
html[dir="ltr"] .dot{margin-left:0;margin-right:7px}
html[dir="ltr"] .close-menu{margin-right:0;margin-left:auto}
html[dir="ltr"] .hero-shape{left:auto;right:-13px}
html[dir="ltr"] .hero-stats strong{text-align:left}
html[dir="ltr"] .article h2:before{margin-left:0;margin-right:10px}
html[dir="ltr"] .article .step{border-right:none;border-left:3px solid var(--teal);padding:10px 10px 10px 17px;border-radius:9px 0 0 9px}
html[dir="ltr"] .next-card{text-align:left}
html[dir="ltr"] .article{text-align:left}
.lang-button{font-weight:750;color:var(--teal);min-width:76px}
html[dir="ltr"] body{line-height:1.72}
html[dir="ltr"] .article p{line-height:1.85}
html[dir="ltr"] .article h1{line-height:1.3}
@media(max-width:1100px){html[dir="ltr"] .main{margin-left:280px}}
@media(max-width:850px){html[dir="ltr"] .main{margin-left:0}html[dir="ltr"] .sidebar{transform:translateX(-105%)}html[dir="ltr"] .sidebar.open{transform:translateX(0)}}
@media print{html[dir="ltr"] .main{margin-left:0}}
