/* M30 — Printable Arabic business checklists, independent of ERP runtime */
:root{font-family:"Readex Pro",Tahoma,"Segoe UI",sans-serif;color:#13294e;background:#f3f7fd;direction:rtl}
*{box-sizing:border-box}body{margin:0;line-height:1.8}a{color:#155bbb;text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #5297fb;outline-offset:3px}
.guide-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;background:#fff;border-bottom:1px solid #dce6f3;padding:1.1rem max(1.2rem,calc((100vw - 1120px)/2));box-shadow:0 8px 25px -22px #163b6e}
.guide-header__brand{font-size:1.25rem;font-weight:900;color:#0a2658}.guide-header__brand span{color:#1769e8}.guide-header__brand small{font-size:.7rem;color:#7489a9}
.guide-header nav{display:flex;gap:1.2rem;font-size:.8rem;font-weight:750}
.guide-main{max-width:1120px;margin:2rem auto 3.5rem;padding:0 1rem}
.guide-intro{background:linear-gradient(120deg,#0c2148,#12417f);color:white;border-radius:20px;padding:2.15rem clamp(1.2rem,4vw,3.2rem);margin-bottom:1.25rem}
.guide-intro__meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.6rem;font-size:.78rem;color:#a9ccff;font-weight:750}
.guide-intro h1{font-size:clamp(1.8rem,3.4vw,2.7rem);margin:1rem 0 .65rem;line-height:1.42;color:#fff}
.guide-intro>p{max-width:760px;color:#e1edff;font-size:.96rem;margin:0}
.guide-intro__actions{display:flex;gap:.65rem;flex-wrap:wrap;margin-top:1.35rem}
.guide-intro__actions button,.guide-intro__actions a{border:1px solid #aac6f8;background:#fff;border-radius:9px;padding:.65rem 1.15rem;font:inherit;font-weight:850;font-size:.82rem;color:#104a9d;cursor:pointer;text-decoration:none}
.guide-intro__actions a{background:transparent;color:#fff}
.guide-panel{background:#fff;border:1px solid #dee8f4;border-radius:16px;padding:1.55rem clamp(1rem,3vw,2rem);margin:1rem 0;box-shadow:0 15px 32px -33px #0a3367}
.guide-panel h2{color:#0b2c61;margin:0 0 1rem;font-size:1.4rem}
.guide-panel>p{color:#62718c;font-size:.88rem;margin:0 0 .8rem}
.guide-panel h3{font-size:1rem;color:#214a7e}
.guide-panel__2col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.guide-panel__2col>div{padding:1rem;background:#f5f9ff;border:1px solid #e2eafa;border-radius:11px}
.guide-panel__2col strong{display:block;color:#1555aa;font-size:.79rem}
.guide-panel__2col p{font-size:.86rem;margin:.4rem 0 0}
.guide-steps{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.5rem;padding:0;margin:0}
.guide-steps li{border:1px solid #dae7f6;border-radius:10px;background:#f6faff;padding:1rem;display:flex;flex-direction:column;gap:.45rem}
.guide-steps b{display:grid;place-items:center;width:31px;height:29px;border-radius:6px;background:#dceaff;color:#185fc8;font-size:.76rem}
.guide-steps strong{display:block;font-size:.82rem;color:#173a72;line-height:1.5}
.guide-steps small{font-size:.73rem;line-height:1.7;color:#5b708b}
.guide-table-wrap{max-width:100%}
.guide-check,.guide-evidence{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.82rem}
.guide-check thead,.guide-evidence thead{background:#e8f1ff;color:#144687}
.guide-check th,.guide-check td,.guide-evidence th,.guide-evidence td{border:1px solid #dae5f2;padding:.68rem .65rem;text-align:right;vertical-align:top;overflow-wrap:anywhere}
.guide-check th:first-child{width:7%}.guide-check th:nth-child(2){width:43%}
.guide-check td:nth-child(3),.guide-check td:nth-child(4){width:25%;min-height:2rem}
.guide-check__check{text-align:center!important}
.guide-check input{accent-color:#1768ed;width:18px;height:18px;cursor:pointer}
.guide-example{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:1rem 0;gap:.5rem}
.guide-example>div{padding:.95rem;background:#f4f8ff;border:1px solid #dae6f7;border-radius:10px}
.guide-example dt{color:#627793;font-size:.78rem}.guide-example dd{font-weight:850;color:#154687;margin:.4rem 0 0;font-size:.96rem}
.guide-caution{padding:.85rem 1rem;background:#f2f7ff;color:#48648a;border-right:3px solid #4587ea;font-size:.84rem}
.guide-risk{padding:.7rem 0;border-bottom:1px solid #e9eef5}.guide-risk:last-child{border:0}.guide-risk strong{color:#82510a;font-size:.84rem}.guide-risk p{font-size:.83rem;margin:.2rem 0;color:#5c6675}
.guide-approval__line{display:flex;align-items:center;gap:1rem;min-height:54px;border-bottom:1px solid #dde6f3;padding:.6rem 0;font-size:.81rem;color:#455879;flex-wrap:wrap}
.guide-approval__line span{flex:1;min-width:90px;min-height:24px;border-bottom:1px dotted #a4bbd7}
.guide-disclaimer{padding:1rem;background:#eef3fb;border:1px solid #e2eaf6;border-radius:10px;font-size:.75rem;color:#657a92;line-height:1.85}
.guide-footer{display:flex;justify-content:space-between;gap:1rem;padding:1rem 0;font-size:.76rem;color:#617b9c}
.guide-hub{max-width:1170px;margin:3.5rem auto;padding:0 1rem}
.guide-hub__eyebrow{color:#155ec7;font-size:.8rem;font-weight:850}
.guide-hub h1{font-size:clamp(2rem,4.5vw,4rem);margin:.4rem 0 1rem;color:#102957}
.guide-hub>p{max-width:780px;color:#5d7190}
.guide-hub__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:2rem 0}
.guide-hub__card{display:block;background:#fff;border:1px solid #dce8f6;padding:1.55rem;border-radius:15px;color:#102956}
.guide-hub__card:hover{box-shadow:0 13px 27px -25px #255bb4;border-color:#a6c5f0;text-decoration:none}
.guide-hub__card>span{font-size:.76rem;color:#236bd5;font-weight:850}
.guide-hub__card h2{font-size:1.21rem;margin:.5rem 0}
.guide-hub__card p{font-size:.84rem;line-height:1.75;color:#64748d}
.guide-hub__card strong{font-size:.78rem;color:#175ac3}
@media(max-width:790px){
 .guide-main{margin:1rem auto 2rem}
 .guide-panel__2col,.guide-example,.guide-hub__grid{grid-template-columns:1fr}
 .guide-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
 .guide-check,.guide-evidence{font-size:.72rem}
 .guide-check th,.guide-check td,.guide-evidence th,.guide-evidence td{padding:.45rem .3rem}
 .guide-header{padding:1rem}
}
@media(max-width:480px){
 .guide-header{align-items:flex-start;gap:.7rem;flex-wrap:wrap}
 .guide-header nav{font-size:.73rem}
 .guide-intro{padding:1.5rem 1rem}
 .guide-intro__actions>*{width:100%;text-align:center}
 .guide-steps{grid-template-columns:1fr}
 .guide-table-wrap{overflow-x:auto}
 .guide-check{min-width:590px}
 .guide-evidence{min-width:550px}
}
@media print{
 @page{size:A4;margin:13mm}
 :root{background:white;color:#111}
 body{font-family:Tahoma,"Segoe UI",sans-serif;background:#fff!important;font-size:9pt;line-height:1.45}
 .guide-header,.guide-intro__actions,.guide-footer,.guide-hub{display:none!important}
 .guide-main{margin:0;padding:0;max-width:none}
 .guide-intro{background:#fff!important;color:#111!important;border:0;border-bottom:2px solid #333;border-radius:0;padding:0 0 5mm;margin:0 0 5mm}
 .guide-intro h1,.guide-intro p,.guide-intro span{color:#111!important}
 .guide-intro h1{font-size:18pt}
 .guide-panel{border:1px solid #aaa;box-shadow:none!important;border-radius:0;margin:5mm 0;padding:4mm;break-inside:auto}
 .guide-panel h2{font-size:12pt;margin-bottom:3mm;color:#111}
 .guide-steps{grid-template-columns:repeat(5,minmax(0,1fr))}
 .guide-steps li,.guide-panel__2col>div,.guide-example>div{background:#fff!important;border-color:#aaa!important;break-inside:avoid}
 .guide-steps b,.guide-caution,.guide-disclaimer{background:white!important;color:#111}
 .guide-table-wrap{overflow:visible}
 .guide-check,.guide-evidence{min-width:0!important;font-size:8pt}
 .guide-check td,.guide-check th,.guide-evidence td,.guide-evidence th{border-color:#aaa;padding:3mm}
 .guide-check td{height:13mm}
 .guide-check input{accent-color:#000}
 .guide-approval__line{min-height:12mm}
 .guide-risk,.guide-example>div{break-inside:avoid}
 h2,h3{break-after:avoid}
 a{color:#111}
}