@font-face{font-family:Kooshoof;src:url(arabic.ttf) format('truetype');font-display:swap}*{box-sizing:border-box}html{font-size:15px}body{margin:0;background:#f3f6fa;color:#142e42;font-family:Kooshoof,Tahoma,Arial,sans-serif;line-height:1.7}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid #d7e1e9;background:#fff;color:#173549;border-radius:9px;padding:10px 17px;transition:.16s}button:hover{background:#eef5f7;border-color:#9ab6c4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #50c5b7;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}button.primary{background:#087f77;color:#fff;border-color:#087f77;font-weight:bold}button.primary:hover{background:#06655f}button.danger{color:#b73542;border-color:#edc5cb}button.text-button{border:0;background:none;padding:4px 8px;color:#087f77}input,select,textarea{width:100%;border:1px solid #d0dde6;border-radius:8px;padding:10px 12px;background:#fff;color:#142e42;min-width:0}input[type=checkbox]{width:18px;height:18px;accent-color:#087f77}input[type=color]{width:60px;padding:3px;height:42px}textarea{resize:vertical;min-height:95px}input:focus,textarea:focus,select:focus{border-color:#087f77;outline:2px solid #087f7720}label{display:block;font-size:14px;font-weight:bold;margin:0 0 17px}label input,label select,label textarea{margin-top:7px;font-weight:normal}small,.muted{font-size:13px;color:#667e8f}small{display:block;font-weight:normal;margin-top:5px}h1,h2,h3,p{margin-top:0}h1{font-size:26px;line-height:1.6;margin-bottom:12px}h2{font-size:20px}h3{font-size:16px}a{color:#087f77}.eyebrow{font-size:12px;font-weight:bold;color:#087f77;letter-spacing:.02em;margin-bottom:9px}.topbar{height:84px;display:flex;align-items:center;justify-content:space-between;padding:12px 28px;background:#fff;border-bottom:1px solid #dce5ee;gap:20px}.brand{display:flex;align-items:center;gap:20px}.brand img{width:162px;height:54px;object-fit:contain}.brand-title{border-right:1px solid #dce5ee;padding-right:20px}.brand-title strong{display:block;font-size:16px}.account{display:flex;align-items:center;gap:12px}.avatar{border-radius:50%;width:36px;height:36px;background:#e3f3ef;color:#087f77;display:grid;place-items:center;font-weight:bold}.shell{display:grid;grid-template-columns:200px minmax(0,1fr);min-height:calc(100vh - 84px)}.sidebar{padding:30px 16px;background:#122c42;color:#fff;display:flex;flex-direction:column;gap:8px}.sidebar button{text-align:right;border:0;background:none;color:#bdccd9;padding:12px}.sidebar button.active,.sidebar button:hover{background:#25465b;color:white}.sidebar .side-label{font-size:12px;color:#9db2c2;padding:0 12px 8px}.sidebar .side-footer{margin-top:auto;font-size:12px;color:#9db2c2;padding:26px 12px 0}.content{padding:26px 30px;min-width:0}.pagebar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px}.pagebar h1{font-size:22px;margin:0}.badge{padding:4px 10px;border-radius:6px;background:#e3f3ef;color:#087f77;font-size:12px}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.workspace{display:grid;grid-template-columns:minmax(340px,440px) minmax(0,1fr);gap:25px;align-items:start}.editor{background:#fff;border:1px solid #dce5ee;border-radius:14px;overflow:hidden}.step-track{display:flex;gap:6px;padding:20px 24px 0}.step-dot{height:5px;flex:1;border:0;padding:0;background:#e5edf2;border-radius:5px}.step-dot.done{background:#087f77}.step-dot.current{background:#122c42}.step-top{display:flex;justify-content:space-between;align-items:center;padding:18px 25px 0;color:#637a8c;font-size:12px}.step-content{padding:20px 25px;min-height:425px}.step-content h2{font-size:22px;margin-bottom:9px}.step-content>p{font-size:14px;color:#637a8c;margin-bottom:26px}.step-bottom{padding:18px 25px;border-top:1px solid #e7edf3;display:flex;justify-content:space-between;gap:12px}.choice{display:flex;align-items:center;gap:15px;width:100%;text-align:right;margin-bottom:12px;padding:16px;border-radius:10px}.choice.selected{border-color:#087f77;background:#effaf7;box-shadow:inset -3px 0 #087f77}.choice-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:9px;background:#edf3f6;font-size:22px}.choice strong{display:block;font-size:14px}.choice small{margin:2px 0 0}.choice .check{margin-right:auto;color:#087f77}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:15px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.toggle{display:flex;align-items:center;gap:10px;font-weight:normal}.toggle input{margin:0}.section{padding:18px 0;border-top:1px solid #e7edf3}.section:first-child{padding-top:0;border:0}.notice{padding:12px 14px;font-size:13px;background:#edf5fa;border:1px solid #d8e7f0;border-radius:9px;margin:14px 0}.notice.danger{background:#fff3f4;border-color:#efc9cd;color:#a22738}.notice.success{background:#eaf8f1;border-color:#bce3ce;color:#246f48}.chip{font-size:12px;padding:4px 8px;border-radius:5px;background:#edf3f6;display:inline-block}.preview-panel{min-width:0}.preview-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px;font-size:14px}.preview-head small{margin:0}.preview-stage{border:1px solid #dce5ee;border-radius:12px;background:#e6edf4;background-image:radial-gradient(#c8d4df 1px,transparent 1px);background-size:17px 17px;padding:25px 20px;min-height:610px;overflow:hidden}.paper-wrapper{margin:0 auto;position:relative}.report-page{background:#fff;color:#172a3a;box-shadow:0 8px 24px #233d5418;position:relative;overflow:hidden;font-family:Kooshoof,Tahoma,Arial,sans-serif;line-height:1.5}.report-header,.report-footer{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;align-items:center;white-space:pre-wrap;overflow-wrap:anywhere}.report-header{padding-bottom:18px;border-bottom:2px solid var(--report-color);margin-bottom:20px;min-height:90px}.report-title{text-align:center;font-size:1.35em;font-weight:bold;margin:0 0 18px}.report-header img{display:block;width:80px;height:68px;object-fit:contain;margin:0 auto 8px}.report-table{width:100%;border-collapse:collapse;table-layout:fixed}.report-table th,.report-table td{border:1px solid #a7b7c2;padding:5px 6px;overflow-wrap:anywhere;white-space:pre-wrap;vertical-align:middle}.report-table th{background:var(--report-color);color:white;font-weight:bold}.report-table tbody tr:nth-child(even){background:#f3f6f8}.report-table td{height:var(--row-height)}.report-signatures{display:grid;grid-template-columns:repeat(3,1fr);margin-top:22px;min-height:55px;white-space:pre-wrap;gap:15px}.report-footer{position:absolute;bottom:26px;right:var(--page-margin);left:var(--page-margin);border-top:1px solid #becbd4;padding-top:12px;font-size:.85em;min-height:30px}.report-footer .page-count{text-align:center}.preview-caption{text-align:center;margin-top:15px;font-size:12px;color:#60798b}.pager{display:flex;gap:12px;justify-content:center;margin-top:14px;align-items:center;font-size:12px}.pager button{padding:2px 12px}.col-card{border:1px solid #dce5ee;border-radius:10px;margin:12px 0;background:#fbfcfe}.col-card summary{padding:12px 14px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14px}.col-card .col-body{padding:0 14px 14px}.col-card label{margin-bottom:10px}.col-actions{display:flex;gap:8px;margin-top:10px}.col-actions button{font-size:12px;padding:5px 10px}.upload{display:block;text-align:center;border:1px dashed #a2b9c7;border-radius:10px;padding:20px;background:#f8fbfd;font-size:14px;color:#48687b}.upload input{font-size:12px;padding:5px;border:0;margin-top:10px}.logo-thumb{max-width:90px;max-height:65px;display:block;margin:10px auto}.table-wrap{overflow:auto;width:100%;margin-top:14px}table.data-table{width:100%;border-collapse:collapse;font-size:13px;background:#fff}.data-table th,.data-table td{padding:12px;border-bottom:1px solid #e0e7ee;text-align:right;white-space:nowrap}.data-table th{background:#f3f7fa;color:#4a687c}.data-table input{min-width:95px;padding:7px}.data-table .delete-row{padding:2px 8px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}.template-card,.panel{background:#fff;border:1px solid #dce5ee;border-radius:12px;padding:24px}.template-card h3{margin:14px 0 4px}.template-mini{height:110px;background:#edf3f7;border-radius:7px;display:grid;place-items:center;color:#668698;font-size:42px}.template-card .actions{margin-top:20px}.empty{padding:60px 20px;text-align:center;background:#fff;border:1px dashed #bdcdd8;border-radius:14px}.empty h2{margin:0 0 8px}.empty p{color:#657c8d}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.stat{background:#fff;border:1px solid #dce5ee;border-radius:12px;padding:20px}.stat strong{font-size:30px;display:block;color:#087f77}.stat span{font-size:13px}.tabbar{display:flex;gap:8px;margin-bottom:18px}.tabbar button.active{background:#122c42;color:white}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:#122c42;color:white;display:flex;flex-direction:column;justify-content:center;padding:70px}.auth-art h1{font-size:42px;max-width:440px}.auth-art p{color:#b6cbd9;max-width:400px}.auth-art .sample{background:#fff;color:#193c50;border-radius:10px;padding:28px;margin-top:32px;transform:rotate(-3deg);box-shadow:0 20px 60px #0003}.sample-grid{height:140px;margin-top:18px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 27px,#dce5ee 27px,#dce5ee 28px),repeating-linear-gradient(to left,transparent 0,transparent 24%,#dce5ee 24%,#dce5ee 25%);border:1px solid #dce5ee;border-top:20px solid #087f77}.auth-main{display:flex;align-items:center;justify-content:center;padding:35px}.auth-box{width:100%;max-width:390px}.auth-box img{width:210px;margin-bottom:35px}.wide{width:100%}.loading{padding:100px;text-align:center}.setup-body{background:#eaf0f6;padding:35px 15px}.setup-card{max-width:670px;margin:auto;padding:35px;background:white;border-radius:18px;border:1px solid #d2e0e9}.setup-logo{width:200px;display:block;margin:0 auto 20px}.setup-card footer{font-size:12px;text-align:center;color:#728698;margin-top:25px}.export-options{display:flex;gap:10px;margin-top:20px}.export-options button{flex:1}#toast{position:fixed;bottom:25px;left:25px;max-width:420px;background:#122c42;color:white;padding:14px 22px;box-shadow:0 6px 30px #0002;border-radius:10px;z-index:100;display:none;font-size:14px}#toast.show{display:block}#toast.error{background:#a33141}dialog{border:0;border-radius:14px;padding:28px;width:min(94vw,560px);max-height:90vh;overflow:auto;color:#142e42;font-family:inherit}dialog::backdrop{background:#0d2538a8}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.progress-track{height:8px;background:#e3ebf1;border-radius:5px;overflow:hidden;margin:15px 0}.progress-track div{background:#087f77;height:100%;transition:width .2s}.hidden,[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.export-stage{position:fixed;left:-12000px;top:0;z-index:-1}.export-stage .report-page{box-shadow:none}.mobile-preview{display:none}.mapping-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center;padding:7px 0}.mapping-row label{margin:0}.list-item{padding:12px 0;border-bottom:1px solid #e1e8ef;display:flex;justify-content:space-between;gap:10px}.batch-files{font-size:13px;max-height:230px;overflow:auto}.top-gap{margin-top:20px}.table-status{font-size:12px;color:#087f77}.w-fit{width:auto}.preview-error{color:#a22738;font-size:13px;margin:12px 0}.data-panel{margin-top:18px}.hint-list{font-size:13px;color:#60798b;padding-right:20px}.save-line{font-size:12px;color:#728698}.form-error{color:#ab3041;font-size:13px;min-height:22px}.number-badge{background:#eaf2f6;padding:2px 8px;border-radius:5px;font-size:12px}.header-position{text-align:center;padding:10px;background:#f0f5f8;border-radius:8px;margin-bottom:12px;font-size:13px}button svg{width:18px;height:18px;vertical-align:middle} .desktop-only{display:block}
@media(min-width:1500px){.workspace{grid-template-columns:470px minmax(0,1fr)}.content{padding:30px 40px}.preview-stage{padding:35px}}
@media(max-width:1150px){.shell{grid-template-columns:170px minmax(0,1fr)}.content{padding:22px 18px}.workspace{grid-template-columns:340px minmax(0,1fr);gap:18px}.step-content{padding:18px}.brand-title small{display:none}.sidebar{padding:24px 10px}.preview-stage{padding:20px 10px}}
@media(max-width:950px){.shell{display:block}.sidebar{flex-direction:row;padding:10px 14px;overflow-x:auto;gap:6px}.sidebar .side-label,.sidebar .side-footer{display:none}.sidebar button{white-space:nowrap;font-size:13px;padding:8px 12px}.workspace{grid-template-columns:minmax(310px,1fr) minmax(0,1fr)}.topbar{padding:10px 20px}.brand-title{display:none}.account .muted{display:none}}
@media(max-width:700px){.topbar{height:70px;padding:10px 15px}.brand img{width:140px;height:46px}.account{gap:5px}.account button{padding:6px 10px;font-size:12px}.avatar{display:none}.content{padding:20px 14px}.workspace{display:flex;flex-direction:column}.editor,.preview-panel{width:100%}.preview-stage{min-height:0;padding:20px}.pagebar{align-items:flex-start}.pagebar h1{font-size:19px}.pagebar .actions button{font-size:12px;padding:7px 9px}.step-content{min-height:300px;padding:22px}.grid3{grid-template-columns:1fr}.grid2{gap:10px}.auth-layout{display:block}.auth-art{display:none}.auth-main{min-height:100vh;padding:28px}.stats{gap:8px}.stat{padding:12px}.stat strong{font-size:24px}.stat span{font-size:12px}.panel{padding:17px}.setup-card{padding:23px}.desktop-only{display:none}h1{font-size:23px}#toast{left:15px;right:15px;bottom:15px}.report-page{font-size:14px}.step-content h2{font-size:21px}}
@media print{body>*:not(.print-area){display:none!important}.print-area{display:block}.report-page{box-shadow:none;page-break-after:always;margin:0}}
