/* تنفيذ V7.6 — one brand layer after V7.5; keep pale work surfaces. */
:root{
 --v7-blue:#165bca;--v7-blue-dark:#104694;--v7-blue-wash:#edf4ff;
 --v7-text:#102b54;--v7-secondary:#57708e;--v7-background:#f5f8fe;
 --v74-nav-bg:#101b35;--v75-active-ink:#122b55;
 --ps-primary:#165bca;--ps-primary-hover:#104694;--ps-text:#102b54;
 --tanfeeth-gold:#d7ab44;
}
body.v74-shell header.ps-app-navbar .ps-brand-mark{background:#fff!important;border:1px solid #c9daf5!important;border-radius:11px!important;}
body.v74-shell header.ps-app-navbar .ps-brand-mark img{object-fit:contain!important;}
body.v74-shell header.ps-app-navbar .ps-brand>span:last-child{font-weight:800!important;font-size:19px!important;}
body.v74-shell header.ps-app-navbar .ps-brand-sub{font-weight:500!important;font-size:10px!important;color:#c6d9f7!important;}
body.v74-shell:not(.top-nav)>.sidebar{background:var(--v74-nav-bg)!important;}
body.v74-shell .v7-nav-intro{border-bottom:1px solid rgba(255,255,255,.08);}
body.v74-shell .v76-dashboard-link{min-height:51px!important;margin:12px 0 17px!important;font-size:14px!important;border:1px solid rgba(255,255,255,.12)!important;}
body.v74-shell .v76-dashboard-link.active,body.v74-shell .v76-dashboard-link:hover{background:#fff!important;border-color:#fff!important;color:var(--v75-active-ink)!important;}
body.v74-shell .v76-dashboard-link.active .v7-menu-symbol,body.v74-shell .v76-dashboard-link:hover .v7-menu-symbol{color:var(--v75-active-ink)!important;}
body.v74-shell .v7-nav-link.active{box-shadow:inset -3px 0 var(--tanfeeth-gold),0 6px 14px rgba(0,0,0,.15)!important;}
body.v74-shell .v7-nav-link:hover{background:#fff!important;}
.v5-dash-new,.v5-dash-period button.active,.v7-modal-footer button.v7-primary-action{background:#165bca!important;border-color:#165bca!important;}
.v7-role-dot,.v5-dash-trend-col i,.v5-dash-rail i{background:#165bca!important;}
.ps-login .system-name{color:#104694!important;justify-content:flex-start;flex-wrap:wrap;}
.ps-login .system-name img{width:55px;height:55px;object-fit:contain;}
/* Quick-access links and responsive administrator editor */
.v76-quick-bar{display:flex!important;align-items:center;flex-wrap:wrap!important;gap:9px;margin:4px 0 24px!important;}
.v76-quick-buttons{display:flex;gap:8px;flex-wrap:wrap;min-width:0;}
.v76-quick-buttons a{background:#fff;border:1px solid #dce7f6;border-radius:10px;color:#1556ae!important;padding:9px 13px;min-height:39px;text-decoration:none;display:inline-flex;align-items:center;}
.v76-quick-buttons a:hover{background:#eef4ff;box-shadow:0 4px 12px #112e5c12;}
.v76-quick-manage{background:#f5f9ff;border:1px solid #b9cef4;border-radius:10px;color:#1959b3;min-height:39px;font:inherit;padding:8px 13px;font-size:12px;font-weight:700;cursor:pointer;margin-inline-start:auto;}
.v76-quick-manage:hover{background:#e8f1ff;}
.v76-quick-overlay[hidden]{display:none!important;}
.v76-quick-overlay{position:fixed;inset:0;z-index:15000;background:rgba(11,28,58,.55);display:flex;align-items:center;justify-content:center;padding:14px;}
body.v76-modal-open{overflow:hidden!important;}
.v76-quick-dialog{width:min(850px,100%);max-height:92dvh;display:flex;flex-direction:column;overflow:hidden;border-radius:20px;background:#fff;border:1px solid #e2eaf7;box-shadow:0 25px 80px #06142b4f;font-family:'IBM Plex Sans Arabic',Tahoma,Arial,sans-serif;color:#18375e;}
.v76-quick-head,.v76-quick-foot{padding:16px 22px;background:#f8fbff;display:flex;align-items:center;justify-content:space-between;gap:16px;}
.v76-quick-head{border-bottom:1px solid #e2eaf5;}
.v76-quick-head h2{font-size:19px;margin:0;color:#133262;}
.v76-quick-head p{font-size:12px;margin:5px 0 0;color:#697d99;}
.v76-quick-head button{background:#fff;border:1px solid #cedbed;border-radius:9px;min-width:36px;height:36px;font-size:25px;color:#16335d;cursor:pointer;}
.v76-quick-body{overflow-y:auto;min-height:0;padding:18px 22px;}
#v76QuickNotice{font-size:12px;color:#47698b;margin:0 0 14px;}
#v76QuickNotice.v76-error{color:#b52d3b;}
.v76-quick-inputs{display:grid;grid-template-columns:1fr 1.3fr 1.05fr auto;gap:10px;align-items:end;}
.v76-quick-inputs label{font-size:12px;font-weight:650;color:#355273;display:grid;gap:6px;min-width:0;}
.v76-quick-inputs input,.v76-quick-inputs select{width:100%;height:41px;min-width:0;border:1px solid #d5e0ef;border-radius:9px;padding:7px 9px;background:#fff;color:#203e6a;font:inherit;}
.v76-quick-primary{background:#165bca;color:#fff;border:1px solid #165bca;border-radius:9px;padding:9px 15px;min-height:41px;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap;}
.v76-quick-primary:hover{background:#104694;}
.v76-quick-primary:disabled{opacity:.6;cursor:wait;}
.v76-quick-list-head{margin:21px 0 11px;font-weight:700;font-size:13px;display:flex;justify-content:space-between;}
.v76-quick-list-head strong{color:#4968a5;}
.v76-quick-list{display:grid;gap:8px;}
.v76-quick-item{display:flex;align-items:center;gap:13px;justify-content:space-between;border:1px solid #dee7f4;background:#fbfdff;border-radius:11px;padding:10px 13px;}
.v76-quick-item strong,.v76-quick-item small{display:block;}
.v76-quick-item small{color:#687f9b;font-size:11px;}
.v76-item-tools{display:flex;gap:5px;}
.v76-item-tools button{width:32px;height:32px;border:1px solid #d6e2f2;background:#fff;border-radius:8px;cursor:pointer;color:#254a80;}
.v76-item-tools button:hover{background:#edf4ff;}
.v76-quick-empty{color:#8494ac;font-size:13px;}
.v76-quick-foot{border-top:1px solid #e2eaf5;justify-content:flex-end;}
#v76QuickCancel{min-height:41px;border:1px solid #d7e1ef;background:#fff;color:#244a7b;border-radius:9px;padding:9px 18px;cursor:pointer;}
@media(max-width:760px){.v76-quick-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.v76-quick-inputs>.v76-quick-primary{grid-column:1/-1}.v76-quick-dialog{max-height:96dvh}.v76-quick-head,.v76-quick-body,.v76-quick-foot{padding:14px;}}
@media(max-width:460px){.v76-quick-inputs{grid-template-columns:1fr}.v76-quick-head h2{font-size:16px}.v76-quick-item{align-items:flex-start}.v76-item-tools{flex:none}}
