
:root{--navy:#0b2947;--navy2:#123b61;--teal:#0e8c90;--teal-dark:#0a6b75;--bg:#edf3f8;--panel:#fff;--line:#dce5ed;--ink:#20354d;--muted:#77879a;--green:#15966d;--red:#c84e5c;--shadow:0 5px 25px rgba(21,55,88,.065)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;direction:rtl;color:var(--ink);background:var(--bg);font-family:'Vazirmatn','Tahoma','Arial',sans-serif;font-size:13px;line-height:1.9}button,input,select{font:inherit}button{cursor:pointer}button:disabled,select:disabled,input:disabled{opacity:.52;cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:24px;line-height:1.5}h2{font-size:16px}h3{font-size:14px}p{line-height:2}small,.small{font-size:11px}.muted{color:var(--muted)}.mono{direction:ltr;font-family:Consolas,monospace;unicode-bidi:plaintext;text-align:right}input:not([type=hidden]),select{width:100%;height:43px;background:#fff;border:1px solid #dce5ee;border-radius:10px;color:var(--ink);padding:0 13px;outline:none;transition:border-color .15s,box-shadow .15s}input:focus,select:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(14,140,144,.1)}label{display:block;font-weight:600;font-size:12px;color:#36536c}label>input,label>select{display:block;margin-top:7px;font-weight:400}.button{min-height:40px;border-radius:10px;padding:9px 19px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;border:1px solid transparent;font-size:12px;transition:transform .15s,background .15s,box-shadow .15s}.button:not(:disabled):hover{transform:translateY(-1px)}.button.primary{background:var(--navy);color:#fff;box-shadow:0 4px 12px rgba(13,49,79,.13)}.button.primary:hover{background:#134365}.button.secondary{background:#fff;color:var(--navy);border-color:#dbe5ef}.button.full{width:100%}.button.linkish{padding:5px 8px;color:var(--teal-dark);background:transparent;border:0;min-height:24px}.alert-error,.alert-info{border-radius:11px;padding:12px 15px;line-height:1.9;margin:14px 0;color:#a83d47;background:#fff2f3;border:1px solid #f5d2d6}.alert-info{color:#236581;background:#eaf6fb;border-color:#c9e8f5}
/* login faithful split: photograph at left, form at right */
body.auth-page{background:#fff}.login-split{min-height:100vh;display:grid;grid-template-columns:49% 51%;direction:rtl}.login-form-side{display:flex;justify-content:center;align-items:center;background:#fff;padding:45px 9vw 45px 6vw;min-width:0}.login-form-wrapper{width:100%;max-width:435px}.login-brand{display:flex;align-items:center;justify-content:center;margin:0 0 28px}.login-brand img{display:block;width:205px;max-height:150px;object-fit:contain}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2.1px;color:var(--teal);direction:ltr;display:block;text-align:right;margin-bottom:9px}.login-form-wrapper h1{font-size:27px;margin:0 0 6px;color:var(--navy);font-weight:800}.login-form-wrapper .muted{margin:0 0 29px;font-size:12px}.auth-form{display:flex;flex-direction:column;gap:6px}.auth-form label{margin-top:8px;margin-bottom:0;font-size:12px}.auth-form input{height:48px;margin:2px 0 10px;border-radius:10px;background:#fafcfe}.auth-form .button{margin-top:13px;height:50px;background:var(--navy)}.password-field{position:relative}.password-field input{padding-left:55px}.password-toggle{position:absolute;left:7px;top:7px;width:35px;height:35px;border:0;border-radius:8px;background:#eef3f7;color:var(--navy)}.login-bottom{margin-top:33px;padding-top:18px;border-top:1px solid #eef1f4;display:flex;gap:12px;justify-content:space-between;align-items:center;color:#8795a3;font-size:10px}.secure-indicator{color:#187f75}.login-photo-side{position:relative;background:linear-gradient(0deg,rgba(5,29,48,.62),rgba(5,29,48,.06) 65%),url('../img/building.png') center/cover no-repeat;min-height:100vh}.login-photo-overlay{position:absolute;bottom:8%;right:9%;left:8%;color:#fff}.login-caption-kicker{direction:ltr;text-align:right;letter-spacing:3px;font-size:10px;font-weight:700;color:#b4e9e6;margin-bottom:12px}.login-quote{font-size:22px;line-height:2.3;font-weight:700;max-width:640px;text-align:center;margin:0 auto;text-shadow:0 3px 25px rgba(0,0,0,.55)}.setup-logo{height:115px;max-width:220px;object-fit:contain;margin:0 0 20px}.login-note{margin-top:15px;color:var(--muted);font-size:11px}
/* application shell */
.app-root{min-height:100vh}.topbar{height:67px;position:sticky;top:0;z-index:60;background:#fff;box-shadow:0 2px 14px rgba(26,54,84,.055);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 25px;border-bottom:1px solid #e8edf2}.topbar-right,.topbar-left{display:flex;align-items:center;gap:16px}.topbar-right strong{font-family:Arial,sans-serif;font-size:16px;letter-spacing:.5px;color:var(--navy)}.topbar-right strong span{color:var(--teal)}.topbar-right small{display:block;color:#8998a7;font-size:9px;line-height:1.5}.app-mark{width:34px;height:34px;display:grid;place-items:center;background:#e3f6f4;border-radius:11px;font-size:20px;color:var(--teal)}.environment-pill,.release-tag{border:1px solid #d6e9e6;background:#eff9f7;color:#36847e;padding:4px 12px;border-radius:50px;font-size:10px;white-space:nowrap}.pulse{display:inline-block;width:6px;height:6px;background:var(--teal);border-radius:50%;margin-left:4px}.user-badge{display:flex;align-items:center;gap:9px}.avatar{width:36px;height:36px;border-radius:11px;background:#dfeef2;color:var(--navy);display:grid;place-items:center;font-size:17px;font-weight:800}.user-badge b{font-size:11px;display:block;line-height:1.5}.user-badge small{font-size:10px;color:#8b98a9;display:block;line-height:1.4}.logout-button{border:1px solid #e4e9ef;background:#fff;color:#69839a;border-radius:9px;padding:7px 11px;font-size:11px}.logout-button:hover{color:#bd4953;background:#fff6f6}.app-columns{display:flex;align-items:stretch;min-height:calc(100vh - 67px)}.sidebar{background:#fff;width:252px;min-width:252px;border-left:1px solid var(--line);display:flex;flex-direction:column;min-height:calc(100vh - 67px);position:sticky;top:67px;height:calc(100vh - 67px)}.sidebar-brand{display:flex;align-items:center;flex-direction:column;padding:24px 12px 17px;border-bottom:1px solid #eef2f5}.sidebar-brand img{width:156px;height:108px;object-fit:contain}.sidebar-tagline{font-family:Arial,sans-serif;color:#a1b0ba;letter-spacing:2px;font-size:8px}.nav-group-title{color:#a3adba;font-weight:700;margin:24px 25px 7px;font-size:10px}.sidebar nav{display:flex;flex-direction:column;gap:4px;padding:0 10px;overflow:auto}.nav-link{min-height:42px;border-radius:10px;padding:9px 12px;display:flex;align-items:center;gap:13px;color:#667b8e;font-size:12px;font-weight:600;position:relative;transition:background .15s}.nav-link:hover{background:#f4f8fb;color:#184566}.nav-link.active{color:#0c6173;background:linear-gradient(90deg,#e6f5f4,#eef6fc);font-weight:800}.nav-icon{font-family:'Segoe UI Symbol',sans-serif;display:grid;place-items:center;font-size:21px;width:25px;color:#8ba4b7}.nav-link.active .nav-icon{color:var(--teal)}.nav-current{position:absolute;right:0;width:3px;height:23px;background:var(--teal);border-radius:3px}.sidebar-foot{margin-top:auto;border-top:1px solid #eef2f5;padding:15px 25px;color:#9cabb7;font-size:10px;direction:ltr;text-align:center}.sidebar-foot small{display:block;font-size:9px}.workspace{min-width:0;width:100%;padding:28px 36px 14px;max-width:1650px;margin:0 auto}.page-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.breadcrumb{display:flex;align-items:center;gap:9px;color:#99a6b3;font-size:10px;margin-bottom:5px}.breadcrumb .separator{color:#d2dce4}.page-header h1{margin-bottom:3px;color:#163953;font-size:23px}.page-header p{font-size:12px;color:#8495a4;margin:0}.page-message{margin:0 0 18px}.notice{display:flex;align-items:start;gap:13px;border:1px solid #dce9ef;background:linear-gradient(90deg,#f7fbfd,#fff);padding:14px 18px;border-radius:13px;margin:0 0 22px;box-shadow:0 2px 9px rgba(26,54,84,.02)}.notice-icon{font-size:21px;color:var(--teal);line-height:1.4}.notice b{color:#204963;font-size:12px}.notice p{margin:2px 0 0;color:#7a8c9a;font-size:11px}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:26px}.stat-card{background:#fff;border:1px solid #e5ecf1;border-radius:14px;padding:20px 22px;box-shadow:var(--shadow);min-width:0}.stat-head{font-size:12px;color:#73899c;display:flex;align-items:center;justify-content:space-between}.stat-head span{font-size:23px;color:#b1d1d6}.stat-number{font-size:34px;font-weight:800;line-height:1.5;margin:7px 0;color:var(--navy);font-variant-numeric:tabular-nums}.stat-unknown{color:#b0c0cc}.stat-hint{color:#a0acb9;font-size:10px}.section-heading,.split-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:21px 0 15px}.section-heading h2,.split-head h2{margin:0;color:#20405c;font-size:16px}.section-heading p{font-size:11px;color:#93a3b1;margin:0}.section-counter{border-radius:20px;color:#5a8799;background:#e7f1f6;padding:4px 13px;font-size:10px;white-space:nowrap}.fund-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:16px}.fund-card{background:#fff;border:1px solid #e1eaf0;border-radius:14px;padding:18px 19px;transition:transform .16s,box-shadow .16s,border-color .16s}.fund-card:hover{transform:translateY(-3px);box-shadow:0 8px 23px rgba(26,54,84,.1);border-color:#91bec5}.fund-card-top,.fund-card-bottom{display:flex;align-items:center;justify-content:space-between}.fund-icon{font-size:24px;color:var(--teal);background:#e9f5f4;border-radius:11px;width:42px;height:42px;display:grid;place-items:center}.subtle-pill{background:#edfaf4;color:#319070;font-size:10px;padding:2px 9px;border-radius:20px}.fund-card h3{font-size:15px;margin:19px 0 5px;color:var(--navy)}.fund-card p{font-size:10px;color:#a7b4c0}.fund-card-bottom{border-top:1px solid #edf1f5;margin-top:20px;padding-top:11px;color:var(--teal-dark);font-size:11px;font-weight:700}.empty-state{border:1px dashed #cad9e2;background:#fbfdfe;text-align:center;border-radius:15px;padding:55px 20px;color:#7b8d9d}.empty-state h3{color:#547085;margin-bottom:3px}.empty-state p{font-size:11px;max-width:500px;margin:0 auto 13px}.empty-state.compact{padding:35px}.empty-icon{font-size:35px;color:#a9c0cb;margin-bottom:6px}.content-section{margin-bottom:20px}.panel{background:#fff;border:1px solid #e1eaf0;border-radius:14px;padding:23px 24px;margin:16px 0 22px;box-shadow:var(--shadow)}.panel h2{color:#23465f;margin:0 0 15px}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:13px;margin-bottom:22px}.form-row label{min-width:0}.file-drop{padding:23px;background:#f5f9fc;border:2px dashed #d5e0ea;border-radius:12px;text-align:center;color:#748a9d;margin:10px 0 20px}.checklist-wire{padding:0 8px}.checklist-wire div{border-bottom:1px solid #eef2f4;padding:10px 0;display:flex;align-items:center;gap:12px;color:#95a6b2}.table-wrap{max-width:100%;overflow-x:auto}.table-wrap table{border-collapse:collapse;text-align:right;width:100%;min-width:570px}.table-wrap th{font-weight:700;color:#577086;background:#f3f7fa;border-bottom:1px solid #e0e8ee;padding:11px 13px;font-size:11px;white-space:nowrap}.table-wrap td{border-bottom:1px solid #eef1f4;padding:11px 13px;font-size:11px;color:#566d7c}.table-wrap tr:last-child td{border-bottom:0}.table-empty{text-align:center;color:#9cadb8!important;padding:35px!important}.stage-pill{border-radius:40px;padding:4px 11px;font-size:10px;color:#a07a4e;background:#faf3e5}.status-pill{border-radius:40px;padding:4px 10px;font-size:10px}.status-pill.ok{color:#2a916e;background:#eaf9f1}.status-pill.off{color:#b3545d;background:#fceff1}.tabbar,.sub-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap;border-bottom:1px solid #dfe7ed;margin:3px 0 19px;padding:0 1px}.tab,.subtab{border:0;background:none;border-bottom:2px solid transparent;padding:10px 18px 11px;font-size:12px;color:#8395a4;font-weight:600}.tab.active,.subtab.active{border-bottom-color:var(--teal);color:var(--navy);font-weight:800}.tab-count{margin-right:5px;font-size:10px;background:#eef3f7;padding:2px 6px;border-radius:6px}.sub-tabs{border-bottom:none;background:#f6f9fb;border-radius:10px;padding:4px;margin-bottom:20px}.subtab{border:0;font-size:11px;padding:7px 16px}.subtab.active{background:#fff;border-radius:7px;color:var(--teal-dark);box-shadow:0 1px 6px rgba(20,60,90,.08)}.library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:20px}.book-card{display:flex;gap:24px;background:#fff;border:1px solid #e6edf2;border-radius:14px;padding:23px;min-width:0}.book-cover{height:220px;width:137px;min-width:137px;background:linear-gradient(140deg,#0e2e4e,#17616a);position:relative;color:#fff;box-shadow:inset 10px 0 10px rgba(0,0,0,.2),6px 7px 12px rgba(13,40,50,.17);border-radius:3px 10px 10px 3px;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;padding:8px}.book-spine{width:8px;background:rgba(0,0,0,.19);position:absolute;right:2px;top:0;bottom:0}.book-cover span{font-size:28px;color:#8ce0cf}.book-cover strong{font-size:12px}.book-cover small{font-family:Arial,sans-serif;font-size:8px;letter-spacing:1px;margin-top:16px;color:#b3d7de}.book-description{flex:1;min-width:0}.book-description h3{color:var(--navy)}.book-description p{font-size:11px;color:#91a1af}.book-chapter{display:flex;gap:8px;border-bottom:1px solid #eff2f5;padding:8px 0;font-size:10px}.book-chapter b{color:var(--teal)}.book-chapter span{color:#698094}.inline-form{display:flex;gap:11px;align-items:end;flex-wrap:wrap;padding:13px;background:#f8fbfc;border:1px solid #e8edf1;border-radius:11px;margin:12px 0 19px}.inline-form label{flex:1 1 155px;min-width:125px}.inline-form .button{margin-bottom:1px}.roles-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.roles-grid>div{border:1px solid #e9eef2;background:#fbfdfe;border-radius:11px;padding:17px}.roles-grid h3{font-size:12px;color:var(--navy)}.roles-grid p{color:#8295a4;font-size:11px}.workspace-footer{padding:25px 4px 15px;border-top:1px solid #e5edf2;color:#a0acb6;font-size:10px;display:flex;gap:15px;justify-content:space-between;margin-top:30px}.mobile-menu{display:none}.icon-button{border:0;background:#edf4f8;padding:8px;border-radius:9px}
@media(max-width:1200px){.sidebar{width:220px;min-width:220px}.workspace{padding:26px 22px}.login-form-side{padding:42px 7vw}}
@media(max-width:850px){.topbar{padding:0 12px}.environment-pill{display:none}.sidebar{position:fixed;z-index:55;right:0;top:67px;transform:translateX(110%);transition:transform .2s;box-shadow:0 8px 25px rgba(18,40,50,.15)}.sidebar.open{transform:translateX(0)}.mobile-menu{display:block}.workspace{padding:24px 16px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.login-split{grid-template-columns:1fr}.login-photo-side{display:none}.login-form-side{min-height:100vh;padding:45px 25px}.roles-grid{grid-template-columns:1fr}.release-tag{display:none}}
@media(max-width:560px){.stat-grid{grid-template-columns:1fr}.topbar-left{gap:5px}.user-badge b{font-size:10px}.user-badge small,.topbar-right small{display:none}.page-header h1{font-size:19px}.panel{padding:15px}.library-grid{grid-template-columns:1fr}.book-card{gap:15px}.book-cover{width:110px;min-width:110px;height:175px}.workspace-footer{flex-direction:column;gap:2px}.tab{padding:9px}}

/* =============================================================
   GAS-faithful visual skin (V1.1)
   Visual-only migration: does not alter Python auth or data logic.
   ============================================================= */
:root{--navy:#0b2947;--navy2:#123b61;--teal:#12a4ac;--bg:#edf3f8;--line:#dce4ed}
body.gas-application{background:#edf3f8;font-family:'Vazirmatn',Tahoma,Arial,sans-serif;font-size:12px}
.gas-app-root{min-height:100vh;display:flex;flex-direction:column}
.gas-topbar{position:relative;top:auto;flex:none;width:100%;height:56px;min-height:56px;background:linear-gradient(110deg,#0b2947 0%,#123b61 58%,#0b2947 100%);color:#fff;padding:0 24px;border:0;border-bottom:1px solid rgba(255,255,255,.10);box-shadow:0 1px 8px rgba(5,25,45,.16);overflow:hidden;isolation:isolate}
.gas-topbar:after{content:"";position:absolute;width:58%;height:110px;right:4%;top:-58px;border-radius:50%;background:rgba(255,255,255,.055);transform:rotate(-7deg);box-shadow:130px 28px 0 -8px rgba(255,255,255,.035),270px 5px 0 -18px rgba(255,255,255,.045);pointer-events:none;z-index:-1}
.gas-topbar-brand{display:flex;flex-direction:column;line-height:1.5;text-align:right}
.gas-topbar-brand strong{font-size:17px;color:#fff;font-weight:800;direction:ltr;text-align:right}
.gas-topbar-brand small{font-size:10px;color:rgba(255,255,255,.64)}
.gas-topbar-left{display:flex;align-items:center;gap:11px;font-size:10px;font-weight:700;color:rgba(255,255,255,.73)}
.gas-topbar-divider{color:rgba(255,255,255,.36)}
.gas-app-columns{flex:1;min-height:calc(100vh - 56px);align-items:stretch;direction:rtl}
.gas-sidebar{position:relative;top:auto;align-self:stretch;height:auto;min-height:calc(100vh - 56px);width:207px;min-width:207px;background:linear-gradient(180deg,#0b2947 0%,#102f52 58%,#0a2743 100%);border-left:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.82);padding:0 10px 12px;overflow:hidden;isolation:isolate}
.gas-sidebar:after{content:"";position:absolute;width:360px;height:150px;left:-105px;bottom:35px;border-radius:55% 45% 0 0;border-top:2px solid rgba(255,255,255,.075);transform:rotate(-18deg);box-shadow:90px 22px 0 -1px rgba(255,255,255,.035);pointer-events:none;z-index:-1}
.gas-sidebar-brand{display:flex;justify-content:center;align-items:center;min-height:138px;padding:12px 8px;border-bottom:1px solid rgba(255,255,255,.10)}
.gas-sidebar-brand img{width:137px;height:105px;object-fit:contain;filter:brightness(0) invert(1);opacity:.97}
.gas-sidebar-user{padding:13px 11px 12px;border-bottom:1px solid rgba(255,255,255,.09);margin-bottom:8px;display:flex;flex-direction:column;gap:5px}
.gas-sidebar-user strong{color:#fff;font-size:11px;font-weight:700}
.gas-sidebar-user small{color:rgba(255,255,255,.62);font-size:9px}
.gas-sidebar-user form{margin-top:10px}
.gas-logout{height:32px;width:100%;border:1px solid rgba(255,255,255,.20);background:rgba(255,255,255,.045);color:#f0f6fb;font-size:10px;border-radius:7px;font-weight:600}
.gas-logout:hover{background:rgba(255,255,255,.12)}
.gas-sidebar nav.gas-nav{padding:0;gap:2px;display:flex;flex-direction:column;overflow:auto}
.gas-sidebar .nav-link{display:flex;min-height:44px;margin:2px 0;padding:11px 10px;gap:10px;border-radius:7px;font-size:11px;font-weight:600;color:rgba(255,255,255,.82)}
.gas-sidebar .nav-link:hover{color:#fff;background:rgba(255,255,255,.07)}
.gas-sidebar .nav-link.active{background:linear-gradient(90deg,#1a527f,#1d5d91);color:#fff;box-shadow:inset -3px 0 0 #45b8d8}
.gas-sidebar .nav-icon{display:grid;place-items:center;font-size:17px;width:22px;color:rgba(255,255,255,.88)}
.gas-sidebar .nav-link.active .nav-icon{color:#fff}
.gas-sidebar-foot{position:relative;margin-top:auto;border-top:1px solid rgba(255,255,255,.09);padding:14px 8px;color:rgba(255,255,255,.65);display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:9px}
.gas-sidebar-foot small{color:rgba(255,255,255,.4);font-size:8px}
.gas-workspace{flex:1;width:auto;max-width:1500px;margin:0;padding:24px 24px 35px;min-height:calc(100vh - 56px);background:linear-gradient(180deg,#edf3f8,#f3f6f9);position:relative}
.gas-workspace .gas-page-header{margin:0 0 20px}
.gas-workspace .page-header h1{font-size:22px;color:#163654}
.gas-workspace .release-tag{border-radius:7px;background:#fff;border-color:#e0e7ef;color:#8291a1}
/* The GAS dashboard's headings, status banner and five-column fund cards */
.gas-dashboard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:1px 0 3px}
.gas-dashboard-heading h1{margin:0;font-size:22px;color:#173b60;font-weight:800;line-height:1.5}
.gas-dashboard-heading p{margin:3px 0;color:#7b8c9f;font-size:11px}
.gas-period-button{display:inline-flex;align-items:center;background:#fff;border:1px solid #e0e7ef;border-radius:7px;padding:7px 12px;color:#8291a1;font-size:10px;white-space:nowrap}
.gas-period-button:hover{color:#225a7d}
.gas-dashboard-mini-legend{display:flex;align-items:center;gap:15px;color:#718497;font-size:9px;margin:8px 0 18px}
.gas-dashboard-mini-legend span{display:flex;align-items:center;gap:5px}
.gas-legend-dot{width:8px;height:8px;border-radius:50%;display:inline-block;background:#afb9c4}
.gas-legend-dot.ok{background:#20a36a}.gas-legend-dot.overdue{background:#e84b55}
.gas-maturity-banner{min-height:116px;border:1px solid #b9e3d2;border-radius:11px;padding:12px 16px;margin:0 0 11px;background:linear-gradient(90deg,#f1fbf5,#edfbf4);box-shadow:0 2px 10px rgba(26,54,84,.035)}
.gas-maturity-title{display:flex;align-items:center;gap:8px;color:#168451;font-size:12px;font-weight:800;border-bottom:1px solid #dcefe2;padding-bottom:9px}
.gas-maturity-shield{font-size:17px;color:#168451}
.gas-maturity-badge{font-size:9px;font-weight:700;padding:4px 8px;border-radius:8px;background:#dff6e8;color:#188052;margin-right:auto}
.gas-maturity-content{padding:12px 3px 2px;text-align:right}
.gas-maturity-content strong{color:#168451;font-size:13px}
.gas-maturity-content p{font-size:10px;color:#728c80;margin:5px 0 0}
.gas-dash-data-note{font-size:9px;color:#8192a1;margin:2px 2px 14px}
.gas-fund-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.gas-fund-card{position:relative;display:block;min-width:0;background:#fff;border:1px solid #dfe6ee;border-radius:10px;overflow:hidden;box-shadow:0 2px 10px rgba(26,54,84,.05);transition:transform .16s,box-shadow .16s,border-color .16s}
.gas-fund-card:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(26,54,84,.10);border-color:#b8cadb}
.gas-fund-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;padding:11px 11px 10px;border-bottom:1px solid #edf1f5}
.gas-fund-card-head strong{font-size:16px;font-weight:800;color:var(--fund-accent);line-height:1.3;overflow-wrap:anywhere}
.gas-stage-pill{display:inline-block;white-space:nowrap;font-size:9px;font-weight:700;padding:3px 7px;border-radius:6px}
.gas-stage-pill.unknown{background:#edf1f5;color:#68798c}
.gas-fund-stage{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:0 10px;padding:9px 0 8px;border-bottom:1px solid #f0f3f6}
.gas-fund-stage:last-of-type{border-bottom:0}
.gas-fund-stage>span:first-child{font-size:9px;color:#728397}
.gas-fund-accent{height:3px;width:100%;background:var(--fund-accent)}
.gas-dash-empty{background:#fff;border:1px dashed #cbd8e5;border-radius:10px;padding:48px 20px;text-align:center;color:#7b8b9d}
.gas-dash-empty-icon{color:#6a9cb5;font-size:29px}.gas-dash-empty h2{color:#234963;margin:5px 0;font-size:15px}.gas-dash-empty p{font-size:11px;max-width:650px;margin:0 auto 20px}
/* GAS login: whole-page photograph, small floating white card on right */
body.gas-login{background:#073752;color:#173b60}
.gas-login-screen{width:100%;min-height:100vh;position:relative;isolation:isolate;background:#064567 url('../img/building.png') center center/cover no-repeat;overflow:hidden;display:flex;align-items:center}
.gas-login-screen:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,33,57,.02) 0%,rgba(3,46,71,.015) 53%,rgba(0,31,48,.20) 100%);pointer-events:none;z-index:-1}
.gas-login-layout{width:100%;display:flex;justify-content:flex-start;direction:rtl;padding:44px clamp(30px,13.6vw,270px) 35px 28px}
.gas-login-right{width:374px;max-width:100%;display:flex;flex-direction:column;align-items:center;gap:17px}
.gas-login-card{width:100%;padding:27px 27px 24px;background:#fff;border-radius:17px;box-shadow:0 20px 48px rgba(0,24,45,.2);text-align:center;color:#163b55}
.gas-login-logo{display:flex;justify-content:center;align-items:center;height:78px;margin-bottom:11px}
.gas-login-logo img{width:123px;max-height:85px;object-fit:contain}
.gas-login-card h1{font-size:19px;color:#0b2947;font-weight:800;margin:4px 0 4px}
.gas-login-lead{font-size:10px;color:#8a98a8;margin:0 0 20px;line-height:1.8}
.gas-login-form{display:flex;flex-direction:column;gap:10px}
.gas-login-input-wrap{position:relative;display:flex;align-items:center;width:100%;height:42px;margin:0;color:#758ca3}
.gas-login-input-wrap input{height:42px!important;margin:0!important;width:100%;background:#f4f8fc;border:1px solid #d6e0eb;border-radius:7px;padding:0 35px 0 36px;text-align:right;font-weight:500;font-size:11px;direction:rtl}
.gas-login-input-wrap:first-child input{background:#e9f1fc}
.gas-login-input-wrap input:focus{outline:none;box-shadow:0 0 0 3px rgba(18,130,159,.09);border-color:#65a1ba}
.gas-login-input-wrap input::placeholder{color:#8d9baa;font-size:10px}
.gas-field-icon{position:absolute;left:12px;z-index:1;color:#607f9a;font-size:15px;pointer-events:none}
.gas-lock{font-size:12px}
.gas-pass-eye{position:absolute;left:8px;background:transparent;border:0;font-size:12px;color:#627e96;min-width:25px;height:30px;cursor:pointer}
.gas-login-input-wrap:has(.gas-pass-eye) .gas-field-icon{right:9px;left:auto}
.gas-login-submit{border:0;border-radius:7px;background:#075569;color:#fff;min-height:43px;font-weight:800;font-size:11px;box-shadow:0 5px 10px rgba(0,51,69,.11);margin-top:2px}
.gas-login-submit:hover{background:#086b7c}
.gas-login-help{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:9px;color:#9eabb9;margin-top:10px}
.gas-login-reset-note{font-size:9px;color:#0b7890}
.gas-login-divider{height:1px;background:#e5edf3;margin:15px 0 12px}
.gas-login-tiny{font-size:8px;color:#9cabb5;line-height:1.7;margin:0}
.gas-floating-quote{color:#fff;font-size:14px;font-weight:800;text-align:center;line-height:2.2;text-shadow:0 2px 10px rgba(0,0,0,.50);margin:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1800px){.gas-login-layout{padding-right:clamp(240px,13.6vw,350px)}}
@media(max-width:1250px){.gas-fund-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.gas-login-layout{padding-right:9vw}.gas-sidebar{width:196px;min-width:196px}}
@media(max-width:980px){.gas-fund-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gas-workspace{padding:20px 16px}.gas-login-layout{padding-right:5vw}.gas-login-right{width:370px}}
@media(max-width:700px){.gas-topbar{height:56px;padding:0 13px}.gas-topbar-left{display:none}.gas-sidebar{position:fixed;z-index:75;right:0;top:56px;height:calc(100vh - 56px);width:220px;min-width:220px;display:flex;transform:translateX(102%);transition:transform .2s}.gas-sidebar.open{transform:translateX(0)}.gas-workspace{max-width:none;min-height:calc(100vh - 56px)}.gas-fund-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gas-login-screen{background-position:38% center}.gas-login-layout{justify-content:center;padding:20px 13px}.gas-login-right{width:min(100%,375px)}.gas-login-card{padding:23px 22px}.gas-floating-quote{font-size:12px}.gas-dashboard-heading h1{font-size:18px}}
@media(max-width:460px){.gas-fund-grid{grid-template-columns:1fr}.gas-dashboard-mini-legend{flex-wrap:wrap}.gas-login-screen{min-height:100dvh}.gas-topbar-brand small{display:none}}

/* -------------------------------------------------------------------------
   GAS watermark fidelity: the original Mofid symbol alone, no lettering.
   Positioned behind the page content, never overlaying cards or inputs.
   Only affects internal pages (.gas-workspace); login is unchanged.
   ------------------------------------------------------------------------- */
.gas-workspace {
  background-color:#edf3f8;
  background-image:
    url('../img/watermark-symbol.png'),
    linear-gradient(180deg,#edf3f8,#f3f6f9);
  background-position: 58% 47%, center center;
  background-size: clamp(260px, 28vw, 365px) auto, cover;
  background-repeat: no-repeat, no-repeat;
}
@media(max-width:700px){
  .gas-workspace{background-size:min(62vw, 325px) auto,cover;background-position:center 44%,center center}
}

/* AI Assistant — scoped preview, no API/network dependency */
.cc-ai-nav{display:block}.cc-ai-nav>summary{cursor:pointer;list-style:none}.cc-ai-nav>summary::-webkit-details-marker{display:none}
.cc-ai-chevron{margin-right:auto;color:#9ab2c0}.cc-ai-subnav{display:block;margin:0 30px 7px 4px;padding:9px 12px;border-radius:9px;color:#7790a2;font-size:10px;line-height:2;background:#f7fafb}
.cc-ai-subnav:hover,.cc-ai-subnav.active{background:#e9f6f6;color:#0d6b79;font-weight:800}
.cc-ai{direction:rtl;display:grid;gap:16px}.cc-ai-panel{background:#fff;border:1px solid #dce6ed;border-radius:13px;padding:20px;box-shadow:0 3px 17px rgba(21,55,88,.045)}
.cc-ai-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cc-ai-top h2{margin:0;font-size:16px;color:#153f59}.cc-ai-top p{font-size:11px;color:#7c93a2;margin:3px 0 0}
.cc-ai-badge{border-radius:20px;padding:5px 12px;background:#fff5e4;color:#976d2d;font-size:10px;font-weight:800}
.cc-ai-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:17px}.cc-ai-fields label{min-width:0}.cc-ai-fields select,.cc-ai-fields input{margin-top:6px}
.cc-ai-muted{font-size:11px;color:#7a91a1;line-height:2}.cc-ai-step{display:flex;gap:11px;align-items:start;padding:11px;border:1px solid #eaf0f3;border-radius:9px;margin-top:9px}.cc-ai-step-index{width:27px;height:27px;border-radius:8px;background:#e7f5f5;color:#207d8a;display:grid;place-items:center;font-weight:800;flex:none}
.cc-ai-tablewrap{overflow:auto;margin-top:15px;border:1px solid #e1eaf0;border-radius:9px}.cc-ai-table{border-collapse:collapse;width:100%;min-width:730px;font-size:11px}.cc-ai-table th{background:#f0f6f8;color:#486c81;text-align:right;padding:11px}.cc-ai-table td{padding:12px;border-top:1px solid #edf2f5;color:#6b8191}.cc-ai-table td:last-child{color:#a1adba}
.cc-ai-blocked{padding:13px 16px;border-right:3px solid #e6bc65;background:#fffaf0;border-radius:8px;color:#87682c;font-size:11px}
@media(max-width:850px){.cc-ai-fields{grid-template-columns:1fr}.cc-ai-panel{padding:14px}}

/* One common return link for all auditor workbench sections. */
.cc-workbench-return{margin:0 0 18px;display:flex;align-items:center;position:relative;z-index:1}.cc-workbench-return a{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border:1px solid #d5e5ed;border-radius:11px;background:rgba(255,255,255,.9);color:#206c80;font-size:12px;font-weight:700;text-decoration:none;box-shadow:0 3px 10px #18465f06}.cc-workbench-return a:hover{background:#eaf5f8}.cc-workbench-return a:focus-visible{outline:2px solid #25879b;outline-offset:3px}

.cc-audit-nav-badge{margin-inline-start:auto;min-width:22px;padding:2px 6px;border-radius:20px;background:#ed789b;color:#fff;text-align:center;font-size:11px;line-height:1.6;font-weight:700}
