/* V.01 Build 20260910-0100 */
.login-stage{position:relative}.login-emblem{position:absolute;z-index:6;top:20px;left:50%;transform:translateX(-50%);width:82px;height:82px;border-radius:50%;padding:5px;background:#071b27d9;border:2px solid #e1bd65;box-shadow:0 10px 34px #000b,0 0 0 6px #d9b85b22}.login-emblem img{width:100%;height:100%;border-radius:50%;object-fit:cover}.login-scene-top{background-position:center 58%;filter:saturate(1.08) contrast(1.04)}.login-scene-top:after{background:linear-gradient(180deg,#07172522 18%,#cb7d2447 72%,#071d28d4),radial-gradient(circle at 67% 46%,#ffb03b66,transparent 36%)}.login-card{background:linear-gradient(145deg,#06212bdb,#071822d9),url('assets/login-regions.webp') center/cover no-repeat!important;background-blend-mode:multiply;box-shadow:0 22px 55px #000b,inset 0 1px #ffffff2e}.login-card:before{display:none!important}.login-scene-bottom{filter:saturate(1.15);background-position:center 55%}.login-scene-bottom:after{background:linear-gradient(180deg,#09251db0,#124d2b42 40%,#061923d6),linear-gradient(90deg,#154b2b44,#0000)}
.sidebar-identity{display:grid;grid-template-columns:92px 1fr;align-items:center;gap:6px;padding:9px 10px 6px;background:linear-gradient(120deg,#0c2c39e8,#071b26f2),url('assets/sudan-landmarks.webp') center/cover no-repeat;border-bottom:2px solid #8f703b}.sidebar-identity .brand{min-height:82px!important;padding:6px!important;background:none!important;border:0!important}.sidebar-identity .brand img{width:66px!important;height:66px!important}.sidebar-identity .sidebar-userbox{margin:0!important;min-width:0;padding:9px!important;background:#071a23b8!important}.sidebar-identity .sidebar-system-name{font-size:12px;margin-bottom:5px}.sidebar-identity #clock{font-size:9px}.topbar-actions{min-width:44px}
.app .sidebar{transform:translateX(105%)!important;width:min(296px,88vw)!important;z-index:70}.app .sidebar.open{transform:translateX(0)!important}.app .main{margin-right:0!important;width:100%!important}.app .icon-btn{display:grid!important}.sidebar-backdrop.show{display:block!important;opacity:1!important;pointer-events:auto!important}
.system-select-native{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}.system-select-trigger{width:100%;min-height:45px;border:1px solid #3a6470;border-radius:8px;background:#0d2b37;color:#e8f0f0;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;text-align:right;cursor:pointer}.system-select-trigger b{color:#e4be63;font-size:18px}.system-choice-overlay{position:fixed;inset:0;z-index:130;background:#001018b8;backdrop-filter:blur(7px);display:grid;place-items:center;padding:15px}.system-choice-card{width:min(570px,100%);max-height:min(82dvh,700px);display:flex;flex-direction:column;border:1px solid #9d7d3f;border-radius:17px;background:linear-gradient(160deg,#143b49,#071c27);box-shadow:0 30px 90px #000c;overflow:hidden}.system-choice-head{display:grid;grid-template-columns:48px 1fr 38px;align-items:center;gap:11px;padding:13px 15px;border-bottom:1px solid #345c68;background:linear-gradient(90deg,#174454,#0b2632)}.system-choice-head img{width:46px;height:46px;border-radius:50%;border:2px solid #d8b45d}.system-choice-head strong{display:block;color:#fff;font-size:16px}.system-choice-head span{display:block;color:#e3c369;font-size:11px;margin-top:3px}.system-choice-head button{border:0;background:#09202b;color:#fff;border-radius:8px;font-size:21px;height:36px}.system-choice-search{margin:12px 13px 4px!important}.system-choice-list{overflow:auto;padding:9px}.system-choice-option{width:100%;min-height:49px;border:1px solid transparent;border-bottom-color:#31515a;background:transparent;color:#eef5f5;display:flex;align-items:center;justify-content:space-between;padding:10px 13px;text-align:right;font-size:15px}.system-choice-option i{width:18px;height:18px;border:2px solid #8da3a9;border-radius:50%}.system-choice-option.selected{background:#80662933;border-color:#a98945;border-radius:9px;color:#f3d782}.system-choice-option.selected i{border:5px solid #e5c369}
.rank-config-help{padding:11px 13px;margin-bottom:10px;border:1px solid #41626b;border-radius:9px;color:#c8d8da;background:#123744}.rank-config-wrap{overflow:auto}.rank-config-table{min-width:950px}.rank-config-table .rank-count{width:72px;text-align:center}.rank-config-table .rank-preview{max-width:70px;max-height:70px}.clear-rank{display:block;font-size:11px;margin-top:6px}.permissions-card{width:min(850px,96vw)!important;max-height:88dvh;overflow:auto}.permission-section{padding:12px;border:1px solid #315662;border-radius:10px;background:#0e303d}.permission-section>b{display:block;color:#e6c468;margin-bottom:10px}.permission-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.permission-grid label,.permission-print{display:flex!important;align-items:center;gap:7px;padding:8px;border-radius:7px;background:#123947;color:#dce9ea}.permission-grid input,.permission-print input{width:auto!important}.permissions-table-panel{margin-top:15px}.universal-page-tools,.forms-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:9px;margin:0 0 13px;padding:10px;border:1px solid #37616d;border-radius:11px;background:#103542}.forms-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.form-card{min-height:122px;display:grid;grid-template-columns:48px 1fr;gap:10px;align-items:center;padding:14px;border:1px solid #37616d;border-radius:12px;background:linear-gradient(145deg,#153e4c,#0d2d39);box-shadow:0 8px 20px #0003}.form-card>span{font-size:30px;color:#e2bd62}.form-card strong{display:block;color:#fff}.form-card small{display:block;color:#a8bec2;margin-top:5px}.form-card>button,.form-card>.row-actions{grid-column:1/-1}.files-search-directory{margin-top:15px}.client-builder-card{margin-top:16px;padding:18px;border:1px solid #9c7b3f;border-radius:14px;background:linear-gradient(145deg,#153e4c,#0b2632);box-shadow:0 12px 32px #0005}.client-builder-head{display:flex;align-items:center;gap:14px;margin-bottom:14px}.client-builder-head>span{width:58px;height:58px;display:grid;place-items:center;border-radius:12px;background:#8a6d2c;color:#fff;font-weight:900}.client-builder-head h3{margin:0 0 5px;color:#fff}.client-builder-head p{margin:0;color:#aec2c6;font-size:12px}.client-build-status{min-height:24px;color:#e6c368;font-size:12px}.print-mode-dialog .confirm-actions{display:grid;grid-template-columns:1fr 1fr 1fr}
@media(max-width:900px){.sidebar-identity{grid-template-columns:82px 1fr}.sidebar-identity .brand img{width:58px!important;height:58px!important}.universal-page-tools,.forms-toolbar{grid-template-columns:1fr 1fr}.universal-page-tools input,.forms-toolbar input{grid-column:1/-1}.forms-grid{grid-template-columns:1fr 1fr}.permission-grid{grid-template-columns:1fr 1fr}.login-emblem{width:68px;height:68px;top:14px}}
@media(max-width:520px){.forms-grid{grid-template-columns:1fr}.permission-grid{grid-template-columns:1fr}.print-mode-dialog .confirm-actions{grid-template-columns:1fr}.login-emblem{width:60px;height:60px;top:10px}.login-card{width:92vw}.universal-page-tools .btn{font-size:11px;padding:8px}.sidebar-identity{grid-template-columns:74px 1fr}}
.login-contact-icons{width:min(760px,100%);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:10px;padding:14px 0 4px;direction:rtl}
.login-contact-icons a{min-width:0;border:1px solid #d7b75ecc;border-radius:14px;background:linear-gradient(180deg,#113747e8,#082532f2);color:#f6e4ad;display:grid;place-items:center;align-content:center;gap:5px;padding:9px 5px;box-shadow:0 8px 22px #0004;text-decoration:none;cursor:pointer}
.login-contact-icons a[aria-disabled="true"]{cursor:default}.login-contact-icons a svg{width:26px;height:26px;fill:none;stroke:#55e8a9;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.login-contact-icons a b{font-size:11px;white-space:nowrap}.login-contact-icons a[data-login-link="facebook"] svg{fill:#3388ed;stroke:#3388ed}.login-contact-icons a[data-login-link="facebook"] svg path{fill:#fff;stroke:none}.login-contact-icons a[data-login-link="magazine"] svg{stroke:#e6bf5f}.login-contact-icons a[data-login-link="email"] svg{stroke:#43e0a2}.login-contact-icons a[data-login-link="whatsapp"] svg path:first-child{fill:#0e9e64;stroke:#55e8a9}.login-contact-icons a[data-login-link="whatsapp"] svg path:last-child{fill:#fff;stroke:#fff;stroke-width:.55}
.login-copyright{width:100%;padding:9px 8px 0;text-align:center;color:#b8c9cc;font-size:11px;direction:rtl}.login-copyright span{display:inline-grid;place-items:center;width:15px;height:15px;border:1px solid #d8bd72;border-radius:50%;color:#efd27c;font-size:9px;font-weight:900;margin:0 3px}
.login-developer-button{display:flex;align-items:center;justify-content:center;gap:7px;width:max-content;max-width:90%;margin:8px auto 0;padding:7px 14px;border:1px solid #9c7d42;border-radius:999px;background:#0d2d39;color:#e7c66e;text-decoration:none;font-size:10px}.login-developer-button[hidden]{display:none!important}.login-developer-button span{font-size:15px}.login-developer-button b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:520px){.login-contact-icons{gap:5px;padding:9px 8px 3px}.login-contact-icons a{padding:7px 2px;border-radius:10px}.login-contact-icons a svg{width:20px;height:20px}.login-contact-icons a b{font-size:9px}.login-copyright{font-size:9px;padding-top:7px}}

/* شاشة دخول واحدة فوق الصورة الوسطى، وثلاث لوحات متطابقة المقاس */
#loginView .login-stage{--login-panel-ratio:2/1;width:min(760px,100%);min-height:auto;display:grid;grid-template-rows:repeat(3,auto) auto;gap:0;align-content:start;justify-items:center;padding:56px 0 18px}
#loginView .login-scene{width:100%;height:auto!important;min-height:0!important;aspect-ratio:var(--login-panel-ratio);border:0;border-radius:0!important;box-shadow:none;overflow:hidden;background-size:cover;background-repeat:no-repeat}
#loginView .login-scene-top{position:relative;overflow:visible;background-position:center 58%}
#loginView .login-scene-top{border-radius:22px 22px 0 0!important;box-shadow:0 -12px 34px #0007}
#loginView .login-scene-top:before{content:"";position:absolute;inset:0;border-radius:22px 22px 0 0;background:linear-gradient(180deg,#06192316 0,#d7802529 60%,#082532b8 96%,#082532 100%);pointer-events:none;z-index:1}
#loginView .login-scene-top:after{border-radius:22px 22px 0 0;background:linear-gradient(180deg,transparent 62%,#082532c9 96%,#082532 100%)}
#loginView .login-emblem{position:absolute;z-index:8;top:0;left:50%;transform:translate(-50%,-54%);width:88px;height:88px;padding:5px;background:#071b27f2;border:2px solid #e1bd65;box-shadow:0 10px 34px #000b,0 0 0 6px #d9b85b22}
#loginView .login-scene-middle{display:grid;place-items:center;background-image:linear-gradient(90deg,#06192333,#0619230d,#06192333),url('assets/login-regions.webp');background-position:center;background-size:cover;position:relative}
#loginView .login-scene-middle:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#082532 0,#082532a8 4%,transparent 17%,transparent 82%,#082532ad 96%,#082532 100%);pointer-events:none;z-index:1}
#loginView .login-scene-middle:after{background:linear-gradient(180deg,#082532b8 0,transparent 16%,transparent 82%,#082532c7 100%)}
#loginView .login-card{z-index:3;width:min(430px,78%);max-height:92%;margin:0;padding:18px 22px 16px;border:1px solid #e0bd69;border-radius:18px!important;background:linear-gradient(145deg,#061c26dc,#071822e8)!important;background-image:none!important;box-shadow:0 22px 55px #0009,inset 0 1px #ffffff2e;overflow:auto}
#loginView .login-card h1{font-size:clamp(18px,3.2vw,25px);margin:0 0 4px}#loginView .login-card p{margin-bottom:9px}#loginView .login-card label{margin:6px 0;font-size:12px}#loginView .login-card input{margin-top:4px;padding:8px 10px}#loginView .login-card .primary{margin-top:7px;padding:9px}#loginView .login-card .msg{min-height:14px;margin-top:5px}
#loginView .login-scene-bottom{background-position:center 55%;border-radius:0 0 22px 22px!important;box-shadow:0 16px 34px #0007}
#loginView .login-scene-bottom:after{background:linear-gradient(180deg,#082532 0,#082532a8 5%,transparent 22%,transparent 76%,#06192382 100%);border-radius:0 0 22px 22px}
#loginView .login-contact-icons{margin-top:12px}
.login-links-settings{display:grid;gap:10px}.login-link-setting{display:grid;grid-template-columns:180px 1fr;gap:12px;align-items:center;padding:10px 12px;border:1px solid #477582;border-radius:10px;background:#123b48}.login-link-toggle{display:flex;align-items:center;gap:8px;color:#f2d47d}.login-link-toggle input{width:auto!important;margin:0}.login-link-setting label{margin:0;color:#dce9e9}
.settings-contact-launch{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:12px 14px;border:1px solid #b28d45;border-radius:12px;background:linear-gradient(135deg,#1c4b57,#11333f);color:#fff}.settings-contact-launch div{display:grid;gap:3px}.settings-contact-launch strong{color:#f0cc73}.settings-contact-launch small{color:#b7c9cc}.settings-contact-launch .btn{background:#b0893e;color:#fff;min-width:130px}
.developer-contact-setting{margin-top:12px;padding:13px;border:1px solid #9a7a3d;border-radius:11px;background:#0d303c}.developer-contact-setting h4{margin:0 0 8px;color:#efcf79}.developer-contact-setting>small{display:block;color:#aebfc2;margin-top:7px}
.universal-page-tools{grid-template-columns:minmax(220px,1fr) auto!important}.universal-pagination{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;padding:12px 8px;margin:0 0 10px;border-top:1px solid #416d79;background:#103743}.universal-pagination button{min-width:36px;height:36px;border:1px solid #527e89;border-radius:8px;background:#173f4c;color:#e6eeee;cursor:pointer}.universal-pagination button.active{background:#b98f3e;color:#fff;border-color:#e5c46f}.universal-pagination button:disabled{opacity:.4;cursor:not-allowed}.universal-pagination .page-numbers{display:flex;gap:5px;direction:ltr}.universal-pagination label{display:flex;align-items:center;gap:6px;margin:0 8px;color:#c7d7da;font-size:11px}.universal-pagination select{width:72px;margin:0;padding:7px}.page-print-options{width:min(470px,96vw)!important}.page-print-options .print-scope-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.page-print-options .print-scope-actions .btn{min-height:46px}
.universal-page-tools [data-universal-print]{min-width:118px;background:linear-gradient(135deg,#bb913e,#8b6929)!important;border:1px solid #e2c36e!important;color:#fff!important;font-weight:800}.universal-pagination>small{color:#afc5c8;font-size:10px}.universal-pagination .system-select-trigger{width:72px;min-height:36px;padding:6px 9px}.universal-pagination [data-row-select],table [data-row-select]{width:18px!important;height:18px!important;accent-color:#c69b43}.app .content>*{max-width:100%}.app .content table{width:100%}
@media(max-width:560px){.universal-pagination{gap:5px;padding:10px 4px}.universal-pagination button{min-width:32px;height:34px;padding:0 7px}.universal-pagination .page-numbers{max-width:100%;overflow-x:auto}.universal-pagination label{margin:0 3px}.universal-page-tools{grid-template-columns:1fr auto!important}.universal-page-tools input{grid-column:auto!important;min-width:0}.universal-page-tools [data-universal-print]{min-width:92px}}
@media(max-width:520px){#loginView .login-stage{width:100%;gap:0;padding:43px 8px 14px}#loginView .login-scene{width:100%;border-radius:0!important}#loginView .login-scene-top{border-radius:15px 15px 0 0!important}#loginView .login-scene-bottom{border-radius:0 0 15px 15px!important}#loginView .login-emblem{width:68px;height:68px}#loginView .login-card{width:84%;padding:12px 14px 10px;border-radius:14px!important}#loginView .login-card h1{font-size:17px}#loginView .login-card p{font-size:10px;margin-bottom:5px}#loginView .login-card label{font-size:10px;margin:3px 0}#loginView .login-card input{padding:6px 8px}#loginView .login-card .primary{padding:7px;margin-top:4px}.login-link-setting{grid-template-columns:1fr;gap:5px}}

/* خلفيات أوضح وأفتح مع الحفاظ على الهوية الداكنة */
.app{background:radial-gradient(circle at 38% -12%,#2b6070 0,#194756 35%,#103743 72%,#0b2d38 100%)!important}
.app .content:before{background:linear-gradient(#15465491,#103b48b8),url('assets/sudan-landmarks.webp') center/cover no-repeat!important;opacity:.82!important}
.app .panel,.app .stat,.app .quick-card,.app .state-card,.app .force-type-card,.app .settings-fold,.app .dev-card,.app .risk-orb,.app .cyber-stats>div{background:#174653f2!important;border-color:#477584!important}
.app .panel-body,.app .settings-fold-body{background:#143d49ec!important;border-color:#416f7d!important}
.command-panel{background:linear-gradient(155deg,#1a4c59,#143f4c)!important;border-color:#477887!important}
.command-panel-head{background:#1c505e!important;border-color:#4b7784!important}
.command-stat{background:linear-gradient(145deg,#215564,#184856)!important;border-color:#4b7885!important}
.command-quick button,.operation-links button,.mini-metrics div{background:#205462!important;border-color:#4c7b88!important}
.command-toolbar input,.command-toolbar select,.app input,.app select,.app textarea{background:#174653!important;border-color:#5c8793!important}

/* فلاتر موحدة بهوية النظام وزر قائمة ذهبي واضح */
.app #menuBtn{width:43px;height:43px;min-width:43px;display:grid!important;place-items:center;padding:0;border:1px solid #b99348!important;border-radius:10px;background:linear-gradient(145deg,#173d49,#0b2733)!important;color:#f2ca6e!important;font-size:27px!important;line-height:1;box-shadow:0 7px 18px #0006,inset 0 1px #ffffff14;text-shadow:0 1px 8px #d6a94755}
.app #menuBtn:active{transform:scale(.96);background:#1a4654!important}
.command-toolbar .system-select-trigger,.universal-page-tools .system-select-trigger{min-height:43px;direction:ltr;border:1px solid #e4bd61!important;background:linear-gradient(180deg,#f3cf78 0%,#d5a548 55%,#b9822f 100%)!important;color:#171811!important;box-shadow:inset 0 1px #fff7bf,0 5px 14px #0005;font-weight:900}
.command-toolbar .system-select-trigger span,.universal-page-tools .system-select-trigger span{direction:rtl;text-align:right;flex:1;padding:0 7px;font-size:14px}
.command-toolbar .system-select-trigger b,.universal-page-tools .system-select-trigger b{color:#17211c!important;font-size:21px}
.system-filter-icon{width:26px;height:26px;display:grid;place-items:center;flex:0 0 26px;color:#1a2923;font-style:normal;font-size:19px;line-height:1}
.system-choice-overlay{background:#02121bd9!important;backdrop-filter:blur(9px)!important}
.system-choice-card{border-color:#c19a4b!important;background:linear-gradient(165deg,#164250 0%,#0b2935 55%,#071c27 100%)!important;box-shadow:0 28px 85px #000d,0 0 0 1px #edc86c22!important}
.system-choice-head{min-height:58px;display:grid!important;grid-template-columns:34px 1fr 34px!important;direction:ltr;background:linear-gradient(180deg,#f3cf78 0%,#d5a548 58%,#b9822f 100%)!important;border-bottom:1px solid #efcb74!important;color:#152019!important;box-shadow:inset 0 1px #fff6bd}
.system-choice-head strong{direction:rtl;text-align:right;color:#172019!important;font-size:18px!important}
.system-choice-head .system-filter-icon{color:#172019!important}
.system-choice-head button{background:#21342b17!important;color:#152019!important;border:1px solid #614c222e!important;font-size:22px!important}
.system-choice-option{min-height:46px!important;border-bottom-color:#315661!important;color:#edf5f5!important}
.system-choice-option:hover{background:#1b485622!important}
.system-choice-option.selected{background:linear-gradient(90deg,#146077b8,#174c5bb8)!important;border-color:#378296!important;color:#fff3c9!important}
.system-choice-option.selected i{border-color:#f0c96e!important;box-shadow:0 0 0 4px #d7ad4e1f}
.command-toolbar.universal-page-tools{grid-template-columns:minmax(240px,1.3fr) repeat(3,minmax(140px,.7fr)) auto auto!important}
.command-toolbar [data-universal-print]{min-height:43px;align-self:stretch;margin:0!important;background:linear-gradient(180deg,#f1cd78,#c99738)!important;border:1px solid #f0cf7b!important;color:#1b1b13!important;font-weight:900}
html,body,.app,.login-view,.install-view,button,a,input,select,textarea,[contenteditable="true"]{touch-action:manipulation!important}
@media(max-width:900px){.app input,.app textarea,.login-view input{font-size:16px!important}.system-choice-overlay{align-items:end!important;padding:10px!important}.system-choice-card{width:100%!important;max-height:72dvh!important;border-radius:20px 20px 14px 14px!important}.system-choice-list{padding:7px 9px 12px!important}.system-choice-option{font-size:16px!important;padding:9px 12px!important}.system-choice-head{padding:11px 13px!important}.command-toolbar.universal-page-tools{grid-template-columns:1fr 1fr!important}.command-toolbar.universal-page-tools>:first-child{grid-column:1/-1}.command-toolbar .system-select-trigger span{font-size:13px}.command-toolbar [data-universal-print]{grid-column:auto}}
@media(max-width:520px){.command-toolbar.universal-page-tools{grid-template-columns:1fr!important}.command-toolbar.universal-page-tools>:first-child{grid-column:auto}}
.app .table th,.command-table th{background:#285d6c!important;border-color:#5a8692!important}
.app .table tbody tr:nth-child(even),.command-table tbody tr:nth-child(even){background:#194a57!important}

/* تثبيت مساحة العرض ومنع تمدد الصفحات خارج ارتفاع الشاشة */
.app .main{height:var(--app-height,100dvh)!important;max-height:var(--app-height,100dvh)!important;overflow:hidden!important}.app .content{height:0!important;flex:1 1 auto!important;min-height:0!important;max-height:100%!important;overflow-y:auto!important;overflow-x:hidden!important}.command-table-wrap,.force-table-wrap{max-height:min(56dvh,560px);overflow:auto!important}.command-table thead,.force-table thead{position:sticky;top:0;z-index:3}.file-number{display:inline-flex;direction:ltr;padding:5px 8px;border:1px solid #c39846;border-radius:7px;background:#0b2d39;color:#f0cd76;font-weight:900;letter-spacing:.4px;white-space:nowrap}

/* وضع دخول الإدارة ووضع المستخدم المبسط */
.login-mode-switch{position:fixed;z-index:30;top:max(10px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);display:flex;gap:4px;padding:4px;border:1px solid #97763c;border-radius:12px;background:#061923e8;box-shadow:0 9px 25px #0008;direction:rtl}.login-mode-switch button{min-height:35px;padding:7px 14px;border:0;border-radius:8px;background:transparent;color:#b9cbce;font-family:inherit;font-weight:800;cursor:pointer}.login-mode-switch button.active{background:linear-gradient(180deg,#efca72,#b98431);color:#172019}.login-view[data-login-mode="user"] .login-scene-top,.login-view[data-login-mode="user"] .login-scene-bottom{display:none!important}.login-view[data-login-mode="user"] .login-stage{width:min(520px,100%)!important;grid-template-rows:auto auto auto!important;align-content:center!important;min-height:100%!important;padding:76px 14px 24px!important}.login-view[data-login-mode="user"] .login-scene-middle{aspect-ratio:auto!important;min-height:360px!important;border-radius:22px!important;background:none!important;overflow:visible!important}.login-view[data-login-mode="user"] .login-scene-middle:before,.login-view[data-login-mode="user"] .login-scene-middle:after{display:none!important}.login-view[data-login-mode="user"] .login-card{width:min(430px,96%)!important;max-height:none!important;border-radius:19px!important;background:linear-gradient(150deg,#0b3341f4,#061923f8)!important}.login-view[data-login-mode="user"] .login-card p{display:none!important}.login-view.user-hide-title .login-card h1{display:none!important}.login-view.user-hide-contacts .login-contact-icons{display:none!important}.login-view.user-hide-copyright .login-copyright{display:none!important}.login-view[data-login-mode="user"] .login-developer-button{display:none!important}.login-view[data-login-mode="admin"] .login-developer-button{display:grid}.login-view[data-login-mode="admin"] .login-mode-switch{opacity:.95}

/* زر المطور وطبقة العرض الداخلي بدون إظهار رابط خارجي */
.login-developer-button{grid-template-columns:36px 1fr;grid-template-rows:auto auto;align-items:center;text-align:right;width:min(340px,92%)!important;margin:9px auto 0!important;padding:10px 13px!important;border:1px solid #c29a48!important;border-radius:12px!important;background:linear-gradient(145deg,#123e4b,#08232e)!important;color:#f1d17b!important;box-shadow:0 9px 24px #0006!important;font-family:inherit;cursor:pointer}.login-developer-button>span{grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(145deg,#e6bf63,#a8792c);color:#13221c!important;font-size:19px!important}.login-developer-button b{font-size:12px}.login-developer-button i{font-style:normal;color:#a8bdc1;font-size:9px}.public-content-overlay{position:fixed;inset:0;z-index:220;background:#020d14e8;backdrop-filter:blur(8px);padding:12px;display:grid;place-items:center}.public-content-shell{width:min(980px,100%);height:min(94dvh,900px);display:flex;flex-direction:column;border:1px solid #b68c3e;border-radius:18px;background:#071923;box-shadow:0 28px 90px #000d;overflow:hidden}.public-content-shell>header{flex:0 0 auto;min-height:67px;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:1px solid #80652f;background:linear-gradient(120deg,#123d4a,#071d28)}.public-content-shell>header>div{display:grid;grid-template-columns:42px 1fr;align-items:center;column-gap:10px}.public-content-shell>header>div>span{grid-row:1/3;width:40px;height:40px;display:grid;place-items:center;border:1px solid #c49a48;border-radius:11px;color:#efcb73;font-size:22px}.public-content-shell>header strong{color:#fff;font-size:17px}.public-content-shell>header small{color:#9eb4b9;font-size:10px}.public-content-shell>header button{width:40px;height:40px;border:1px solid #52717a;border-radius:10px;background:#0b2c38;color:#fff;font-size:25px}.developer-profile-overlay iframe{flex:1;width:100%;border:0;background:#fff}

/* المجلة: عنوان ونص ومعرض صور متعدد */
.magazine-shell{background:linear-gradient(160deg,#0a2b37,#061923)}.magazine-feed{flex:1;overflow:auto;padding:18px;display:grid;gap:17px;align-content:start}.magazine-post{border:1px solid #3e6874;border-radius:15px;background:linear-gradient(145deg,#164653,#0c2d39);overflow:hidden;box-shadow:0 12px 28px #0005}.magazine-copy{padding:18px}.magazine-copy time{display:inline-block;color:#efc96e;font-size:11px;margin-bottom:7px}.magazine-copy h2{margin:0 0 9px;color:#fff;font-size:21px}.magazine-copy p{margin:0;color:#d3e2e4;font-size:14px;line-height:1.9}.magazine-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:#071923}.magazine-gallery.count-1{grid-template-columns:1fr}.magazine-gallery.count-2{grid-template-columns:repeat(2,1fr)}.magazine-gallery button{height:260px;padding:0;border:0;background:#061923;cursor:pointer}.magazine-gallery img{width:100%;height:100%;display:block;object-fit:cover}.magazine-shell>footer{padding:12px;text-align:center;border-top:1px solid #385b65;color:#9db1b5;font-size:11px}.magazine-shell>footer span{display:inline-grid;place-items:center;width:15px;height:15px;border:1px solid #b99449;border-radius:50%;color:#e7c56c}.magazine-empty{padding:60px 20px;text-align:center;color:#a8bdc1}.magazine-image-viewer{position:absolute;inset:0;z-index:4;display:grid;place-items:center;padding:30px;background:#000e}.magazine-image-viewer img{max-width:94%;max-height:90%;object-fit:contain}.magazine-image-viewer button{position:absolute;top:18px;left:18px;width:44px;height:44px;border:1px solid #d3b15d;border-radius:50%;background:#061923;color:#fff;font-size:26px}.magazine-editor{display:grid;gap:12px;padding:14px;border:1px solid #477480;border-radius:12px;background:#103b47}.magazine-editor label{display:grid;gap:6px;color:#eef5f5;font-weight:700}.magazine-editor small{color:#a8bec2}.magazine-admin-list{display:grid;gap:8px;margin-top:13px}.magazine-admin-list article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border:1px solid #426d78;border-radius:10px;background:#0d303c}.magazine-admin-list article div{display:grid;gap:4px}.magazine-admin-list article strong{color:#fff}.magazine-admin-list article small{color:#a9bdc1}.login-view-options{display:grid;gap:9px}.login-view-options label{display:flex;align-items:center;gap:9px;padding:11px;border:1px solid #456f7a;border-radius:9px;background:#103844;color:#e8f0f0}.login-view-options input{width:auto!important;margin:0!important;accent-color:#c69a45}

@media(max-width:700px){.public-content-overlay{padding:0}.public-content-shell{height:var(--app-height,100dvh);border-radius:0;border-inline:0}.magazine-feed{padding:10px}.magazine-copy{padding:14px}.magazine-copy h2{font-size:18px}.magazine-gallery{grid-template-columns:1fr!important}.magazine-gallery button{height:230px}.login-mode-switch{top:max(7px,env(safe-area-inset-top))}.command-table-wrap,.force-table-wrap{max-height:52dvh}}

/* مركز النماذج: بطاقات الاستمارات والشهادات وصور الرتب */
.forms-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:start}.forms-hub-card{min-width:0;border:1px solid #4d7782;border-radius:15px;background:linear-gradient(150deg,#1a4d59f5,#103743f5);box-shadow:0 12px 30px #0004;overflow:hidden;padding:15px}.forms-hub-card.rank-forms-card{grid-column:1/-1}.forms-hub-head{display:grid;grid-template-columns:52px 1fr;gap:11px;align-items:center;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #527986}.forms-hub-head>span{width:48px;height:48px;display:grid;place-items:center;border:1px solid #c69b48;border-radius:12px;background:#0b2c38;color:#e7c769;font-size:25px}.forms-hub-head strong{display:block;color:#fff;font-size:17px}.forms-hub-head small{display:block;color:#abc2c5;margin-top:4px}.forms-inner-fold{border:1px solid #426b77;border-radius:10px;background:#103844;margin-top:9px;overflow:hidden}.forms-inner-fold summary{cursor:pointer;padding:11px 13px;color:#f0cf78;font-weight:800}.forms-inner-body{padding:12px;border-top:1px solid #426b77}.forms-inner-body>.btn,.forms-open-button{width:100%;margin-bottom:11px}.forms-text-label{display:block;margin-top:9px}.forms-config-table{min-width:480px}.forms-custom-section{margin-top:18px}.forms-custom-section>h3{color:#f0cf78}.forms-base-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.forms-type-list{margin:12px 0 0;padding:0 18px 0 0;color:#d9e7e8;line-height:2}.rank-base-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.rank-base-grid>div{display:grid;place-items:center;gap:4px;padding:8px;border:1px solid #426b77;border-radius:9px;background:#0d303c}.rank-base-grid img{width:50px;height:50px;object-fit:contain}.rank-base-grid span{font-size:10px;color:#dce9ea}
@media(max-width:760px){.forms-hub-grid{grid-template-columns:1fr}.forms-hub-card.rank-forms-card{grid-column:auto}.rank-base-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* V.01 Build 20260910-0100 — شاشة ثابتة بلا تكبير + أوضاع الحساب */
html,body{width:100%!important;height:var(--app-height,100dvh)!important;max-height:var(--app-height,100dvh)!important;overflow:hidden!important;touch-action:pan-x pan-y!important;overscroll-behavior:none!important}
body{-webkit-text-size-adjust:100%!important;text-size-adjust:100%!important}
#appView.app{position:fixed!important;inset:0!important;width:100vw!important;height:var(--app-height,100dvh)!important;max-height:var(--app-height,100dvh)!important;min-height:0!important;overflow:hidden!important;touch-action:pan-x pan-y!important}
#appView.app *{touch-action:pan-x pan-y!important}
.app .main{width:100%!important;min-height:0!important;height:100%!important;max-height:100%!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
.app .topbar{flex:0 0 auto!important;touch-action:pan-x pan-y!important}
.app .content{height:auto!important;flex:1 1 0!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important}
.app button,.app a,.app input,.app select,.app textarea,.login-view button,.login-view a,.login-view input{touch-action:manipulation!important}
.topbar-motto{color:#ffd978!important;font-size:18px!important;line-height:1.3!important;font-weight:900!important;letter-spacing:.35px;text-shadow:0 2px 7px #000,0 0 13px #d69d36b8!important}
.account-mode-field{min-width:145px;margin:0!important;color:#d7e5e6!important;font-size:11px!important}.account-mode-field .system-select-trigger{min-height:40px;margin-top:4px;border-color:#c79c48;background:linear-gradient(145deg,#174251,#0c2d39)}
.view-only-banner{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:11px 13px;border:1px solid #c59a45;border-radius:10px;background:linear-gradient(90deg,#173d49,#102f3b);color:#d9e8e9}.view-only-banner b{color:#ffd578;white-space:nowrap}.view-only-banner span{font-size:12px;line-height:1.6}
.stopped-account-card{border-top-color:#b72c40!important;background:linear-gradient(155deg,#123844,#071f2a)!important;color:#edf5f5!important}.stopped-account-card .confirm-brand{border-color:#3b5f69!important}.stopped-account-card .confirm-brand strong{color:#ffced5!important}.stopped-account-card .confirm-brand span{color:#d9bd73!important}.stopped-account-card p{color:#e4eeee!important}.stopped-account-card p b{color:#ffd678}.stopped-whatsapp{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:linear-gradient(180deg,#20a76a,#0b7e4b)!important}
.sidebar-foot .btn,.sidebar-foot button{font-size:14px!important;font-weight:900!important}.magazine-shell>footer,.login-copyright{font-size:13px!important;font-weight:800!important;color:#e7ca78!important}
@media(max-width:900px){.topbar-motto{display:block!important;font-size:14px!important;max-width:150px;text-align:center}.view-only-banner{align-items:flex-start;flex-direction:column;gap:4px}}
@media(max-width:520px){.topbar-motto{font-size:12px!important;max-width:112px}.view-only-banner span{font-size:11px}.account-mode-field{min-width:126px}}


/* V.01 — فلاتر البيانات وصفحات 12 سجل ثابتة */
.command-toolbar .system-select-trigger{
  min-height:58px!important;
  border:1px solid #cda24e!important;
  border-radius:11px!important;
  background:linear-gradient(180deg,#f0c967 0%,#b9822e 100%)!important;
  color:#111d20!important;
  box-shadow:0 4px 12px #0004,inset 0 1px #fff8!important;
  font-size:16px!important;
  font-weight:900!important;
}
.command-toolbar .system-select-trigger .system-filter-icon{
  color:#16242a!important;
  font-size:24px!important;
  width:30px;
}
.command-toolbar .system-select-trigger b{
  color:#17262b!important;
  font-size:24px!important;
}
.command-toolbar .system-select-trigger span{
  color:#111d20!important;
  font-size:16px!important;
  font-weight:900!important;
  flex:1;
  text-align:center;
}
.command-toolbar{
  align-items:stretch!important;
}
.universal-pagination{
  min-height:48px;
  margin-top:8px;
  border:1px solid #3d6974;
  border-radius:10px;
  background:#0d303c;
}
.universal-pagination small{
  color:#d7c17d;
  font-weight:800;
  white-space:nowrap;
}
.command-table-wrap,.force-table-wrap{
  max-height:calc(var(--app-height,100dvh) - 250px)!important;
  overflow-y:hidden!important;
}
.command-table tbody tr,.app .table tbody tr{
  height:35px;
}
.command-table td,.app .table td{
  padding:5px 6px!important;
  line-height:1.15!important;
}
.command-table th,.app .table th{
  padding:7px 6px!important;
  line-height:1.15!important;
}
@media(max-width:900px){
  .command-toolbar .system-select-trigger{min-height:52px!important;font-size:14px!important}
  .command-toolbar .system-select-trigger span{font-size:14px!important}
  .command-table-wrap,.force-table-wrap{
    max-height:calc(var(--app-height,100dvh) - 245px)!important;
  }
}
@media(max-width:520px){
  .command-toolbar .system-select-trigger{min-height:48px!important}
  .command-toolbar .system-select-trigger span{font-size:13px!important}
  .command-table tbody tr,.app .table tbody tr{height:33px}
  .command-table td,.app .table td{padding:4px 5px!important;font-size:10px!important}
  .command-table th,.app .table th{padding:6px 5px!important;font-size:10px!important}
  .universal-pagination{
    flex-wrap:wrap!important;
    justify-content:center!important;
    gap:4px!important;
    padding:7px 4px!important;
  }
  .universal-pagination small{width:100%;text-align:center}
}

/* V.01 Build 2600 — تجربة موحدة Android / iPhone / Windows */
:root{--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px)}
html,body{width:100%;height:100%;min-height:100%;margin:0;overflow:hidden;overscroll-behavior:none;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{padding:0;box-sizing:border-box}
*,*:before,*:after{box-sizing:border-box}
.install-view,.login-view,.app{width:100%;height:var(--app-height,100dvh);min-height:var(--app-height,100dvh);max-height:100dvh}
.install-view{padding:max(18px,var(--safe-top)) max(18px,var(--safe-right)) max(18px,var(--safe-bottom)) max(18px,var(--safe-left))}
.install-card{max-height:calc(var(--app-height,100dvh) - 28px);overflow:auto;overscroll-behavior:contain}
.install-primary,.install-later,.btn,button,.nav-btn{min-height:42px}
.app .main{min-width:0;min-height:0;height:var(--app-height,100dvh);max-height:var(--app-height,100dvh)}
.app .content{min-width:0;min-height:0;height:0;flex:1 1 auto;max-height:100%;overflow-y:auto;overflow-x:hidden;padding-bottom:max(14px,var(--safe-bottom))}
.app .topbar{padding-top:max(0px,var(--safe-top));height:calc(64px + var(--safe-top));min-height:calc(64px + var(--safe-top))}
.app .sidebar{padding-bottom:max(10px,var(--safe-bottom))}
.app .panel-body,.app .command-table-wrap,.app .force-table-wrap{min-width:0;max-width:100%;overscroll-behavior:contain}
/* Keep operational tables compact: exactly 12 visible records per page. */
.app .table tbody tr,.app .command-table tbody tr{height:35px;max-height:35px}
.app .table td,.app .command-table td{height:35px;max-height:35px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.app .table th,.app .command-table th{height:36px}
.universal-pagination{position:relative;z-index:4;min-height:48px;margin:8px 0 max(10px,var(--safe-bottom));padding:6px 8px;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);touch-action:manipulation}
.universal-pagination button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.universal-pagination .page-numbers{scrollbar-width:none}
.universal-pagination .page-numbers::-webkit-scrollbar{display:none}
@media(min-width:901px){
  .app .content{padding:14px 18px 18px}
  .app .content>*{width:min(100%,1500px);margin-inline:auto}
  .app .sidebar{width:252px}
  .app .main{margin-right:252px}
  .install-card{width:min(500px,calc(100vw - 60px));padding:30px}
}
@media(min-width:1600px){
  .app .content{padding-inline:28px}
  .app .content>*{width:min(100%,1680px)}
}
@media(max-width:900px){
  .app .topbar{padding-inline:max(9px,var(--safe-left)) max(9px,var(--safe-right))}
  .app .content{padding-inline:12px}
  .app .table td,.app .command-table td{font-size:10px!important}
}
@media(max-width:560px){
  .install-card{width:min(430px,calc(100vw - 20px));padding:20px 16px;border-radius:18px}
  .install-brand img{width:52px;height:52px}
  .install-actions{grid-template-columns:1fr}
  .install-primary,.install-later{width:100%}
  .app .content{padding:10px 9px max(12px,var(--safe-bottom))}
  .app .table tbody tr,.app .command-table tbody tr{height:33px;max-height:33px}
  .app .table td,.app .command-table td{height:33px;max-height:33px;padding:4px 5px!important}
  .app .table th,.app .command-table th{height:34px;padding:5px!important}
  .universal-pagination{margin-top:7px;padding:6px 3px}
}
@media(max-width:380px){
  .install-card{padding:16px 12px}
  .install-card h1{font-size:18px}
  .install-card p{font-size:12px}
  .app .content{padding-inline:6px}
}
@media(orientation:landscape) and (max-height:600px){
  .install-card{padding:14px 20px}
  .install-status-icon{margin:10px auto;width:52px;height:52px}
  .install-progress{margin:9px 0}
  .install-actions{margin-top:10px}
  .login-stage{grid-template-rows:100px auto 100px}
}

/* V.01 Build 20260910 — فلاتر موحدة + ترقيم صفحات لكل الجداول الكبيرة */
.command-toolbar:not(.universal-page-tools){
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(220px,1.35fr) repeat(3,minmax(150px,.8fr)) auto auto!important;
  gap:9px!important;
  padding:10px!important;
  border:1px solid #8f703b!important;
  border-radius:13px!important;
  background:linear-gradient(145deg,#123b49ee,#082632f2)!important;
  box-shadow:inset 0 1px #ffffff18,0 8px 22px #0004!important;
}
.command-toolbar:not(.universal-page-tools) .system-select-trigger{
  min-height:46px!important;
  border:1px solid #dfb95e!important;
  border-radius:9px!important;
  background:linear-gradient(180deg,#f4d27e 0%,#d5a548 55%,#b9812e 100%)!important;
  box-shadow:inset 0 1px #fff9c7,0 4px 10px #0005!important;
}
.command-toolbar:not(.universal-page-tools) .system-filter-icon{font-size:21px!important;color:#17231f!important}
.command-toolbar:not(.universal-page-tools) .system-select-trigger span{font-size:15px!important;font-weight:900!important;color:#172019!important}
.command-toolbar:not(.universal-page-tools) input{min-height:46px!important;border-color:#c39a4d!important;border-radius:9px!important;background:#0b2c38!important;color:#fff!important}
.command-toolbar:not(.universal-page-tools) input::placeholder{color:#b7c8ca!important}
.universal-pagination .page-ellipsis{display:grid;place-items:center;min-width:18px;color:#d9bc69;font-weight:900}
@media(max-width:900px){
  .command-toolbar:not(.universal-page-tools){grid-template-columns:1fr 1fr!important}
  .command-toolbar:not(.universal-page-tools)>input:first-child{grid-column:1/-1}
}
@media(max-width:520px){
  .command-toolbar:not(.universal-page-tools){grid-template-columns:1fr!important}
  .command-toolbar:not(.universal-page-tools)>input:first-child{grid-column:auto}
  .command-toolbar:not(.universal-page-tools) .system-select-trigger{min-height:48px!important}
}
