:root{--navy:#081321;--navy2:#101f33;--gold:#d8a83e;--text:#eef3f8;--muted:#91a0b3;--line:rgba(255,255,255,.09);--card:rgba(16,31,51,.76);--shadow:0 18px 55px rgba(0,0,0,.22)}
*{box-sizing:border-box}.bv-auth-shell{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(circle at 20% 20%,rgba(216,168,62,.13),transparent 30%),linear-gradient(135deg,#06101d,#0b1727 55%,#101c2e);font-family:Inter,system-ui,sans-serif}.bv-auth-card{width:min(460px,100%);padding:42px;border:1px solid var(--line);background:linear-gradient(145deg,rgba(20,36,57,.92),rgba(7,17,29,.92));box-shadow:var(--shadow);border-radius:28px;color:var(--text);animation:bv-in .5s ease}.bv-brand{font-weight:900;letter-spacing:.14em;font-size:20px}.bv-brand span{color:var(--gold)}.bv-auth-card h1{font-size:34px;margin:34px 0 6px}.bv-auth-card p{color:var(--muted);margin:0 0 28px}.bv-auth-card input,.bv-auth-card select,.bv-admin input{width:100%;padding:14px 15px;border-radius:13px;border:1px solid var(--line);background:rgba(255,255,255,.045);color:inherit;margin-bottom:12px;outline:none}.bv-pass{position:relative}.bv-pass input{padding-right:48px}.bv-eye{position:absolute;right:8px;top:5px;border:0;background:transparent;color:#9eacbd;padding:10px}.bv-check{display:block;color:var(--muted);font-size:13px;margin:4px 0 18px}.bv-check input{width:auto;margin:0 7px 0 0}.bv-btn,.bv-actions a{display:inline-block;border:0;border-radius:13px;padding:13px 18px;background:linear-gradient(135deg,#e4bd64,#b9821e);color:#101722;font-weight:800;cursor:pointer;text-decoration:none;box-shadow:0 10px 30px rgba(216,168,62,.16)}#bv-login-msg,#bv-office-msg{margin-top:14px;font-size:13px}.bv-admin{font-family:Inter,system-ui,sans-serif;max-width:none;margin-left:0;padding:28px;color:#eaf0f6;background:linear-gradient(135deg,#07111f,#0d1b2c);min-height:calc(100vh - 32px);border-radius:20px}.bv-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.bv-kicker{color:var(--gold);font-weight:800;letter-spacing:.18em;font-size:11px}.bv-admin h1{color:#fff;font-size:32px}.bv-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.bv-kpi,.bv-panel{border:1px solid var(--line);background:var(--card);backdrop-filter:blur(16px);border-radius:22px;box-shadow:var(--shadow)}.bv-kpi{padding:22px;transition:.2s}.bv-kpi:hover{transform:translateY(-3px)}.bv-kpi small{color:var(--muted);font-weight:700;letter-spacing:.08em}.bv-kpi strong{display:block;font-size:28px;margin:14px 0 8px}.bv-kpi span{color:#8fa0b4;font-size:12px}.bv-kpi.gold{border-color:rgba(216,168,62,.35)}.bv-panel{padding:24px;margin-top:18px}.bv-panel h2{margin-top:0;color:#fff}.bv-panel p{color:#9daabc}.bv-actions{display:flex;gap:12px;flex-wrap:wrap}.bv-formgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.bv-tablewrap{overflow:auto}.bv-table{width:100%;border-collapse:collapse}.bv-table th,.bv-table td{padding:14px;border-bottom:1px solid var(--line);text-align:left}.bv-table th{color:#9eacbd;font-size:12px;text-transform:uppercase}.bv-status{padding:5px 9px;border-radius:999px;background:rgba(60,190,130,.12);color:#7ce0b2;font-size:12px}@keyframes bv-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@media(max-width:900px){.bv-grid{grid-template-columns:repeat(2,1fr)}.bv-formgrid{grid-template-columns:1fr}}@media(max-width:600px){.bv-grid{grid-template-columns:1fr}.bv-auth-card{padding:28px}.bv-admin{padding:18px}.bv-top{align-items:flex-start;gap:15px;flex-direction:column}}
.bv-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.bv-subtext{margin:4px 0 0!important}.bv-count{display:inline-flex;align-items:center;padding:7px 11px;border:1px solid var(--line);border-radius:999px;color:#9eacbd;font-size:12px;white-space:nowrap}.bv-row-actions{display:flex;gap:7px;flex-wrap:wrap}.bv-small-btn{border:1px solid var(--line);background:rgba(255,255,255,.055);color:#eaf0f6;border-radius:9px;padding:8px 10px;font-size:11px;font-weight:800;cursor:pointer}.bv-small-btn:hover{background:rgba(255,255,255,.1)}.bv-small-btn.danger{border-color:rgba(235,100,100,.3);color:#ffaaa8}.bv-small-btn.success{border-color:rgba(80,210,150,.3);color:#88e6bd}.bv-status.inactive{background:rgba(255,170,80,.12);color:#ffc47a}.bv-muted{color:#6f8095}.bv-empty{text-align:center;color:#8f9caf;padding:30px!important}.bv-modal{display:none;position:fixed;inset:0;z-index:100000;background:rgba(2,8,15,.75);backdrop-filter:blur(8px);align-items:center;justify-content:center;padding:20px}.bv-modal.is-open{display:flex}.bv-modal-card{width:min(720px,100%);background:#0d1b2c;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 30px 90px rgba(0,0,0,.5);color:#eef3f8}.bv-modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.bv-modal-head h2{margin:0}.bv-modal-close{border:0;background:transparent;color:#a9b5c4;font-size:28px;cursor:pointer}.bv-modal-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center;margin-top:10px}.bv-toast{position:fixed;right:25px;bottom:25px;z-index:100001;display:none;max-width:420px;padding:13px 17px;border-radius:12px;background:#10233a;color:#f0f5fa;border:1px solid var(--line);box-shadow:var(--shadow)}.bv-toast.show{display:block;animation:bv-in .25s ease}.bv-toast.error{border-color:rgba(235,100,100,.35);color:#ffb4b1}.bv-toast.success{border-color:rgba(80,210,150,.35);color:#9ae9c7}@media(max-width:1000px){.bv-table{min-width:900px}.bv-panel-head{flex-direction:column}}

.bv-formgrid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.bv-formgrid select,.bv-formgrid-4 select,.bv-panel textarea{width:100%;box-sizing:border-box;background:#19283a;border:1px solid #2a3b50;color:#fff;border-radius:12px;padding:12px 14px;min-height:46px}.bv-panel textarea{min-height:90px;margin:12px 0 14px;resize:vertical}.bv-subtext{opacity:.7}.bv-muted{opacity:.55;font-size:12px}.bv-status.inactive{background:rgba(255,95,95,.12);color:#ff9a9a}.bv-small-btn:disabled{opacity:.5;cursor:not-allowed}@media(max-width:900px){.bv-formgrid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.bv-formgrid-4{grid-template-columns:1fr}}

.bv-office-portal{max-width:1180px;margin:30px auto;padding:0 20px}.bv-portal-head{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:24px}.bv-portal-head h1{margin:4px 0;font-size:34px}.bv-portal-head p{margin:4px 0;color:#8f9bb3}.bv-portal-user{display:flex;align-items:center;gap:14px}.bv-portal-user a{padding:10px 14px;border-radius:10px;background:#171e2c;color:#fff;text-decoration:none;font-size:12px;font-weight:700}.bv-portal-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.bv-portal-card{padding:20px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.025);display:flex;flex-direction:column;gap:7px}.bv-portal-card b{font-size:17px}.bv-portal-card span{color:#8f9bb3;font-size:13px}.bv-portal-card em{font-style:normal;color:#d4a72c;font-size:11px;font-weight:700;text-transform:uppercase}.bv-login-note{max-width:760px;margin:60px auto;padding:25px;border-radius:16px;background:#121927;color:#dfe6f2}.bv-login-note a{color:#d4a72c}.bv-auth-card select,.bv-auth-card input[type=email],.bv-auth-card input[type=password]{box-sizing:border-box}
@media(max-width:800px){.bv-portal-actions{grid-template-columns:1fr}.bv-portal-head{align-items:flex-start;flex-direction:column}}

/* v1.5.2 Office Dashboard */
.bv-office-portal{max-width:1240px;margin:0 auto;padding:32px 24px 60px;color:#edf4fb}.bv-portal-head{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:24px}.bv-portal-heading h1{margin:5px 0 3px;font-size:36px;line-height:1.12;color:#f8fbff}.bv-portal-heading p{margin:0;color:#a9bbcf;font-size:13px}.bv-portal-heading p span{padding:0 7px;color:#59708a}.bv-kicker,.bv-section-label,.bv-hero-label{font-size:10px;letter-spacing:.16em;font-weight:800;color:#78b8ef}.bv-portal-user{display:flex;align-items:center;gap:11px;padding:9px 10px 9px 9px;border:1px solid rgba(133,171,207,.18);background:rgba(20,38,59,.78);border-radius:16px}.bv-user-avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#3b80bd,#204a72);color:#fff;font-weight:800}.bv-portal-user strong{display:block;font-size:13px;color:#f4f8fc}.bv-portal-user small{display:block;color:#8fa5bb;font-size:10px;margin-top:2px}.bv-logout-btn{margin-left:8px;padding:9px 12px;border-radius:10px;background:#172b42;color:#d9e5f0!important;text-decoration:none!important;font-size:11px;font-weight:800;text-transform:uppercase}.bv-office-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:27px 30px;margin-bottom:18px;border:1px solid rgba(92,153,206,.2);border-radius:22px;background:linear-gradient(115deg,rgba(29,61,92,.88),rgba(18,39,60,.88));box-shadow:0 20px 60px rgba(0,0,0,.13)}.bv-office-hero h2{font-size:25px;margin:6px 0 5px;color:#fff}.bv-office-hero p{max-width:670px;margin:0;color:#afc0d2;font-size:13px;line-height:1.7}.bv-secure-pill{padding:9px 13px;border:1px solid rgba(229,184,79,.25);background:rgba(229,184,79,.08);border-radius:999px;color:#e7c76e;font-size:11px;font-weight:800;white-space:nowrap}.bv-secure-pill i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#55d59c;box-shadow:0 0 10px #55d59c;margin-right:7px}.bv-office-kpis{grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.bv-office-kpis .bv-kpi{position:relative;overflow:hidden;min-height:132px;padding:21px;border:1px solid rgba(134,171,205,.15);background:linear-gradient(145deg,rgba(28,50,74,.9),rgba(18,34,52,.92));border-radius:18px}.bv-kpi-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(77,151,211,.13);color:#79bdf2;font-weight:900;margin-bottom:13px}.bv-office-kpis .bv-kpi small{display:block;color:#8fa7be;font-size:10px;text-transform:uppercase;letter-spacing:.1em}.bv-office-kpis .bv-kpi strong{display:block;color:#f8fbff;font-size:23px;margin-top:5px}.bv-office-kpis .bv-kpi em{display:block;font-style:normal;color:#7890a8;font-size:10px;margin-top:5px}.bv-operations-panel{padding:26px;margin-bottom:18px}.bv-panel-head h2{margin:5px 0 3px;color:#f6f9fd;font-size:21px}.bv-subtext{color:#8fa5bb;font-size:12px;line-height:1.6}.bv-portal-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:21px}.bv-portal-card{min-height:142px;padding:18px;border:1px solid rgba(130,169,204,.13);border-radius:16px;background:rgba(24,43,64,.68);transition:transform .2s ease,border-color .2s ease,background .2s ease}.bv-portal-card:hover{transform:translateY(-2px);border-color:rgba(100,177,236,.35);background:rgba(28,51,75,.9)}.bv-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.bv-module-icon{width:32px;height:32px;border-radius:9px;background:rgba(82,159,216,.12);position:relative}.bv-module-icon:after{content:"";position:absolute;inset:9px;border:2px solid #73b5e8;border-radius:4px}.bv-coming{font-size:9px;color:#d8b65c;text-transform:uppercase;letter-spacing:.08em}.bv-portal-card b{display:block;color:#f4f8fc;font-size:15px}.bv-portal-card>span{display:block;color:#91a7bd;font-size:11px;line-height:1.55;margin-top:5px}.bv-portal-card button{margin-top:13px;border:0;background:none;padding:0;color:#72b9ee;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.bv-office-bottom{display:grid;grid-template-columns:1.55fr .75fr;gap:18px}.bv-office-bottom .bv-panel{padding:25px}.bv-empty-state{min-height:145px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:6px;border:1px dashed rgba(123,161,195,.17);border-radius:15px;margin-top:18px}.bv-empty-icon{font-size:28px;color:#6687a5}.bv-empty-state strong{font-size:13px;color:#dbe7f2}.bv-empty-state span{font-size:11px;color:#7f96ac;max-width:360px;line-height:1.6}.bv-access-panel ul{list-style:none;padding:0;margin:19px 0 0}.bv-access-panel li{padding:11px 0;border-bottom:1px solid rgba(127,158,187,.1);font-size:11px;color:#9bb0c4}.bv-access-panel li span{display:inline-grid;place-items:center;width:19px;margin-right:7px;color:#62d3a0;font-weight:900}.bv-access-panel li:last-child span{color:#e28d8d}@media(max-width:900px){.bv-office-kpis{grid-template-columns:repeat(2,1fr)}.bv-portal-actions{grid-template-columns:repeat(2,1fr)}.bv-office-bottom{grid-template-columns:1fr}}@media(max-width:620px){.bv-office-portal{padding:20px 14px 40px}.bv-portal-head,.bv-office-hero{align-items:flex-start;flex-direction:column}.bv-portal-heading h1{font-size:29px}.bv-portal-user{width:100%;box-sizing:border-box}.bv-office-kpis{grid-template-columns:1fr 1fr}.bv-portal-actions{grid-template-columns:1fr}.bv-office-hero{padding:22px}.bv-secure-pill{align-self:flex-start}}

/* v1.5.3 Office transaction workspace */
.bv-office-workspace{margin-top:18px}.bv-workspace-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.bv-workspace-head h2{margin:5px 0;color:#f7fbff;font-size:20px}.bv-workspace-head p{margin:0;color:#8fa5bb;font-size:12px}.bv-entry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.bv-entry-chip{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border:1px solid rgba(130,169,204,.14);border-radius:13px;background:#172d44;color:#dce9f5;text-align:left;cursor:pointer}.bv-entry-chip:hover{border-color:rgba(100,177,236,.42);background:#1b3853}.bv-entry-chip b{color:#72b9ee;font-size:18px;font-weight:400}.bv-entry-form-wrap{margin-bottom:18px}.bv-entry-form{padding:20px;border:1px solid rgba(120,171,211,.18);border-radius:17px;background:#142b42}.bv-form-title{display:flex;justify-content:space-between;align-items:center;color:#f7fbff;margin-bottom:15px}.bv-close-entry{border:0;background:#203b56;color:#dce9f5;width:30px;height:30px;border-radius:9px;font-size:19px;cursor:pointer}.bv-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bv-form-grid label{color:#9fb3c7;font-size:11px;font-weight:700}.bv-form-grid input,.bv-form-grid textarea{box-sizing:border-box;width:100%;margin-top:6px;padding:11px 12px;border:1px solid rgba(133,171,207,.18);border-radius:10px;background:#1c354d;color:#f7fbff;outline:none}.bv-form-grid input:focus,.bv-form-grid textarea:focus{border-color:#5eabe0;box-shadow:0 0 0 3px rgba(94,171,224,.1)}.bv-form-wide{grid-column:1/-1}.bv-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:14px}.bv-submit-entry{border:0;border-radius:10px;padding:11px 15px;background:#e5b84f;color:#172333;font-size:10px;font-weight:900;cursor:pointer}.bv-submit-entry:disabled{opacity:.55}.bv-history{padding:21px;border:1px solid rgba(130,169,204,.13);border-radius:17px;background:#12273d}.bv-history .bv-panel-head{margin-bottom:13px}.bv-history h3{margin:5px 0;color:#f6f9fd}.bv-history-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:18px;padding:13px 0;border-bottom:1px solid rgba(127,158,187,.1)}.bv-history-row:last-child{border-bottom:0}.bv-history-row strong{display:block;color:#e8f0f8;font-size:12px}.bv-history-row small{display:block;color:#7f96ac;font-size:10px;margin-top:3px}.bv-history-row>b{color:#e6c56a;font-size:12px}.bv-status.pending{color:#e6c56a}.bv-status.approved{color:#64d3a0}.bv-status.rejected{color:#ec9191}.bv-entry-form-wrap[hidden]{display:none}.bv-entry-form-wrap{display:block}
@media(max-width:760px){.bv-entry-grid{grid-template-columns:1fr 1fr}.bv-form-grid{grid-template-columns:1fr}.bv-form-wide{grid-column:auto}.bv-workspace-head{align-items:flex-start;flex-direction:column}}
@media(max-width:500px){.bv-entry-grid{grid-template-columns:1fr}.bv-history-row{grid-template-columns:1fr auto}.bv-history-row .bv-status{grid-column:1/-1;justify-self:start}}


/* v1.5.9 Office Dashboard polish */
.bv-office-portal{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;max-width:1240px!important;margin:0 auto!important;padding:34px 28px 70px!important;color:#edf4fb!important}
.bv-office-portal button,.bv-office-portal input,.bv-office-portal select,.bv-office-portal textarea{font-family:inherit}
.bv-office-portal .bv-panel{border:1px solid rgba(132,171,207,.14);background:linear-gradient(145deg,rgba(18,38,59,.94),rgba(10,25,41,.94));border-radius:20px;box-shadow:0 18px 50px rgba(0,0,0,.14)}
.bv-office-portal .bv-portal-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px!important}
.bv-office-portal .bv-portal-card{min-height:158px!important;padding:19px!important}
.bv-office-portal .bv-portal-card button.bv-open-module{display:inline-flex!important;align-items:center;gap:7px;margin-top:14px!important;padding:9px 12px!important;border:1px solid rgba(114,185,238,.25)!important;border-radius:9px!important;background:rgba(74,145,201,.1)!important;color:#7fc5f5!important;cursor:pointer!important}
.bv-office-portal .bv-portal-card button.bv-open-module:hover{background:rgba(74,145,201,.2)!important;border-color:rgba(114,185,238,.45)!important}
.bv-office-portal .bv-office-kpis{display:grid!important}
@media(max-width:980px){.bv-office-portal .bv-portal-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.bv-office-portal{padding:22px 14px 50px!important}.bv-office-portal .bv-portal-actions{grid-template-columns:1fr!important}.bv-office-portal .bv-office-kpis{grid-template-columns:1fr 1fr!important}}

/* v1.6.0 Sales Entry module */
.bv-sales-fields[hidden],.bv-generic-fields[hidden]{display:none!important}
.bv-sales-lines{margin-top:15px;padding:15px;border:1px solid rgba(133,171,207,.13);border-radius:14px;background:rgba(8,23,38,.24)}
.bv-sales-lines-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;color:#dfeaf4;font-size:12px}
.bv-add-sale-line{border:1px solid rgba(114,185,238,.28);background:rgba(74,145,201,.1);color:#7fc5f5;border-radius:8px;padding:7px 10px;font-size:9px;font-weight:800;cursor:pointer}
.bv-sale-line{display:grid;grid-template-columns:minmax(220px,1.8fr) .75fr .95fr .9fr 34px;gap:8px;align-items:center;margin-top:8px}
.bv-sale-line select,.bv-sale-line input{box-sizing:border-box;width:100%;padding:10px 11px;border:1px solid rgba(133,171,207,.18);border-radius:9px;background:#1c354d;color:#f7fbff;outline:none;font-size:11px}
.bv-sale-line select:focus,.bv-sale-line input:focus{border-color:#5eabe0;box-shadow:0 0 0 3px rgba(94,171,224,.1)}
.bv-line-total{color:#e8c96f;font-size:11px;font-weight:800;text-align:right;white-space:nowrap}
.bv-remove-sale-line{width:30px;height:30px;border:1px solid rgba(236,145,145,.2);border-radius:8px;background:rgba(190,77,77,.08);color:#ed9c9c;cursor:pointer;font-size:17px;line-height:1}
.bv-sales-summary{display:flex;justify-content:flex-end;align-items:center;gap:22px;margin-top:14px;padding-top:13px;border-top:1px solid rgba(127,158,187,.1);color:#8fa5bb;font-size:11px}
.bv-sales-summary span,.bv-sales-summary strong{display:flex;gap:7px;align-items:center}
.bv-sales-summary b{color:#dce8f2}.bv-sales-summary strong{font-size:12px;color:#f3f7fb}.bv-sales-summary strong b{color:#e6c56a;font-size:15px}
.bv-sales-fields>label{display:block;margin-top:12px;color:#9fb3c7;font-size:11px;font-weight:700}
.bv-sales-fields>label textarea{box-sizing:border-box;width:100%;margin-top:6px;padding:11px 12px;border:1px solid rgba(133,171,207,.18);border-radius:10px;background:#1c354d;color:#f7fbff;outline:none}
@media(max-width:850px){.bv-sale-line{grid-template-columns:1.6fr .7fr .9fr .9fr 34px}.bv-sales-summary{flex-wrap:wrap;justify-content:flex-start}}
@media(max-width:650px){.bv-sale-line{grid-template-columns:1fr 1fr}.bv-sale-line select{grid-column:1/-1}.bv-line-total{text-align:left}.bv-remove-sale-line{justify-self:end}.bv-sales-summary{gap:12px}}

.bv-sales-due-module{margin-top:18px;padding:24px;border:1px solid rgba(130,169,204,.14);border-radius:18px;background:#12273d}.bv-module-head h2{margin:5px 0;color:#f7fbff;font-size:21px}.bv-module-head p{margin:0;color:#8fa5bb;font-size:12px}.bv-sales-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;margin-top:20px}.bv-sales-grid label{font-size:11px;color:#9fb3c7;font-weight:700}.bv-sales-grid input,.bv-sales-grid select,.bv-sales-grid textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid rgba(133,171,207,.18);border-radius:10px;background:#1c354d;color:#f7fbff;outline:none}.bv-sales-grid input:focus,.bv-sales-grid select:focus,.bv-sales-grid textarea:focus{border-color:#5eabe0}.bv-sales-wide{grid-column:1/-1}.bv-due-summary{display:flex;gap:25px;flex-wrap:wrap;margin-top:16px;padding:15px;border-radius:12px;background:#102237;color:#8fa5bb;font-size:11px}.bv-due-summary b{color:#edf5fc;margin-left:5px}.bv-due-summary strong,.bv-due-summary strong b{color:#e6c56a}.bv-sales-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:15px}.bv-sales-actions button{border:0;border-radius:10px;padding:11px 16px;background:#e5b84f;color:#172333;font-size:10px;font-weight:900;cursor:pointer}.bv-sales-actions span{font-size:11px;color:#8fa5bb}@media(max-width:700px){.bv-sales-grid{grid-template-columns:1fr}.bv-sales-wide{grid-column:auto}}

.bv-auto-approved-note{margin-top:14px;padding:10px 12px;border-radius:10px;background:rgba(87,185,126,.08);border:1px solid rgba(87,185,126,.18);color:#8fc9a5;font-size:11px}.bv-auto-approved-note b{color:#b8e6c5}

/* v1.6.3 — unified Sales Submission */
.bv-unified-sales{margin-top:18px;padding:24px;border:1px solid rgba(130,169,204,.14);border-radius:18px;background:#12273d}
.bv-unified-sales .bv-module-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}
.bv-unified-sales .bv-module-head h2{margin:5px 0;color:#f7fbff;font-size:22px}
.bv-unified-sales .bv-module-head p{margin:0;color:#8fa5bb;font-size:12px}
.bv-auto-approved-badge{padding:7px 10px;border-radius:999px;background:rgba(87,185,126,.1);border:1px solid rgba(87,185,126,.2);color:#91d3a8;font-size:9px;font-weight:900;white-space:nowrap}
.bv-sales-top-grid,.bv-sales-bottom-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-top:20px}
.bv-sales-bottom-grid{grid-template-columns:repeat(3,1fr)}
.bv-unified-sales label{font-size:11px;color:#9fb3c7;font-weight:700}
.bv-unified-sales input,.bv-unified-sales select{width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid rgba(133,171,207,.18);border-radius:10px;background:#1c354d;color:#f7fbff;outline:none}
.bv-unified-sales input:focus,.bv-unified-sales select:focus{border-color:#5eabe0}
.bv-sku-section{margin-top:20px;padding:15px;border-radius:14px;background:#102237;border:1px solid rgba(130,169,204,.1)}
.bv-sku-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.bv-sku-title strong{display:block;color:#edf5fc;font-size:13px}.bv-sku-title span{display:block;color:#7f95aa;font-size:10px;margin-top:3px}
#bv-add-sku{border:1px solid rgba(229,184,79,.3);background:rgba(229,184,79,.08);color:#e9c96e;border-radius:9px;padding:8px 11px;font-size:9px;font-weight:900;cursor:pointer}
.bv-sku-head,.bv-sku-row{display:grid;grid-template-columns:1.1fr 1.5fr .7fr 1fr 1fr 34px;gap:8px;align-items:center}
.bv-sku-head{padding:0 8px 7px;color:#71879c;font-size:9px;font-weight:800;text-transform:uppercase}
.bv-sku-row{padding:7px 0}.bv-sku-row input{margin:0;padding:9px 10px;font-size:11px}.bv-sku-row .line-total{color:#e9c96e;text-align:right;padding-right:8px;font-size:11px;font-weight:800}
.bv-remove-sku{width:30px;height:30px;border:0;border-radius:8px;background:rgba(224,91,91,.08);color:#df8585;cursor:pointer}
.bv-unified-summary{display:flex;justify-content:flex-end;gap:25px;flex-wrap:wrap;margin-top:16px;padding:15px;border-radius:12px;background:#102237}
.bv-unified-summary div{min-width:110px}.bv-unified-summary span{display:block;color:#7f95aa;font-size:9px}.bv-unified-summary b{display:block;color:#edf5fc;font-size:14px;margin-top:3px}.bv-unified-summary .due b{color:#e6c56a}
.bv-unified-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:15px}.bv-unified-actions span{font-size:11px;color:#8fa5bb}
.bv-unified-actions button{border:0;border-radius:10px;padding:12px 17px;background:#e5b84f;color:#172333;font-size:10px;font-weight:900;cursor:pointer}.bv-unified-actions button:disabled{opacity:.55}
@media(max-width:850px){.bv-sales-top-grid{grid-template-columns:repeat(2,1fr)}.bv-sales-bottom-grid{grid-template-columns:1fr 1fr}.bv-sku-head{display:none}.bv-sku-row{grid-template-columns:1fr 1fr}.bv-sku-row .line-total{grid-column:1}.bv-remove-sku{grid-column:2;justify-self:end}}
@media(max-width:560px){.bv-sales-top-grid,.bv-sales-bottom-grid{grid-template-columns:1fr}.bv-unified-sales .bv-module-head{flex-direction:column}.bv-sku-row{grid-template-columns:1fr}}

/* v1.6.4 Costing */
.bv-unified-costing{margin-top:18px;padding:24px;border:1px solid rgba(130,169,204,.14);border-radius:18px;background:#12273d}
.bv-unified-costing .bv-module-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}
.bv-unified-costing .bv-module-head h2{margin:5px 0;color:#f7fbff;font-size:22px}.bv-unified-costing .bv-module-head p{margin:0;color:#8fa5bb;font-size:12px}
.bv-costing-top{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:20px}.bv-unified-costing label{font-size:11px;color:#9fb3c7;font-weight:700}
.bv-unified-costing input{width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid rgba(133,171,207,.18);border-radius:10px;background:#1c354d;color:#f7fbff;outline:none}.bv-unified-costing input:focus{border-color:#5eabe0}
.bv-unified-costing .bv-sku-section{margin-top:20px}.bv-costing-note{margin-top:13px}.bv-costing-note label{display:block}.bv-costing-note input{display:block}
@media(max-width:700px){.bv-costing-top{grid-template-columns:1fr}}

/* v1.6.5 — one Sales screen */
.bv-unified-sales .bv-sales-bottom-grid{grid-template-columns:repeat(3,1fr)}
.bv-unified-sales .bv-unified-summary{border:1px solid rgba(229,184,79,.14)}
.bv-unified-sales .bv-unified-summary div:first-child b{color:#e9c96e}
@media(max-width:700px){.bv-unified-sales .bv-sales-bottom-grid{grid-template-columns:1fr}}
.bv-kpi-link{display:block;color:inherit;text-decoration:none;cursor:pointer}.bv-kpi-link:hover{color:inherit}.bv-kpi-link em{display:block;margin-top:10px;color:#e5bd60;font-size:10px;font-style:normal;font-weight:800;letter-spacing:.08em}.bv-kpi-link:hover{border-color:rgba(216,168,62,.42);transform:translateY(-3px)}

/* v1.6.9 — Net Running Balance cards */
.bv-net-ledger{margin-top:18px;padding:20px;border-radius:18px;background:#12273d;border:1px solid rgba(130,169,204,.14)}
.bv-net-head h2{margin:5px 0;color:#f7fbff;font-size:20px}.bv-net-head p{margin:0;color:#8fa5bb;font-size:11px}
.bv-net-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px}
.bv-net-card{display:block;text-decoration:none;padding:17px;border-radius:14px;background:#102237;border:1px solid color-mix(in srgb,var(--accent) 22%,transparent);box-shadow:inset 3px 0 0 var(--accent);transition:.18s}
.bv-net-card:hover{transform:translateY(-2px);background:#173049}.bv-net-card span{display:block;color:#9fb3c7;font-size:10px;font-weight:800}
.bv-net-card strong{display:block;color:#f4f8fb;font-size:22px;margin:8px 0}.bv-net-card small{color:var(--accent);font-size:9px;font-weight:800}
@media(max-width:800px){.bv-net-grid{grid-template-columns:1fr}}
/* v1.7.1 — release controls */
.bv-running-balance{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid rgba(91,169,226,.35);border-radius:14px;background:linear-gradient(135deg,rgba(40,91,126,.28),rgba(18,34,53,.7));box-shadow:0 10px 30px rgba(0,0,0,.12)}
.bv-running-balance span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;opacity:.72}.bv-running-balance strong{font-size:20px;color:#f2c15b}

/* v1.7.4 — Company Commission */
.bv-company-commission{margin-top:18px;padding:24px;border-radius:18px;background:#12273d;border:1px solid rgba(130,169,204,.14)}
.bv-company-commission .bv-module-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.bv-company-commission h2{margin:5px 0;color:#f7fbff;font-size:22px}.bv-company-commission p{margin:0;color:#8fa5bb;font-size:12px}
.bv-commission-top{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px}
.bv-company-commission label{font-size:11px;color:#9fb3c7;font-weight:700}.bv-company-commission input,.bv-company-commission select{width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid rgba(133,171,207,.18);border-radius:10px;background:#1c354d;color:#f7fbff}
.bv-commission-desc{display:block;margin-top:13px}.bv-commission-desc input{display:block}
@media(max-width:800px){.bv-commission-top{grid-template-columns:1fr 1fr}}@media(max-width:520px){.bv-commission-top{grid-template-columns:1fr}}

/* v1.7.5 — Assist Code Hold/Release */
.bv-assist-net{margin-top:18px;padding:24px;border-radius:18px;background:#12273d;border:1px solid rgba(130,169,204,.14)}
.bv-assist-net .bv-module-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.bv-assist-net h2{margin:5px 0;color:#f7fbff;font-size:22px}.bv-assist-net p{margin:0;color:#8fa5bb;font-size:12px}
.bv-assist-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px}
.bv-assist-grid-2{grid-template-columns:1fr 1fr;margin-top:13px}
.bv-assist-net label{font-size:11px;color:#9fb3c7;font-weight:700}
.bv-assist-net input,.bv-assist-net select{width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid rgba(133,171,207,.18);border-radius:10px;background:#1c354d;color:#f7fbff}
@media(max-width:800px){.bv-assist-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.bv-assist-grid,.bv-assist-grid-2{grid-template-columns:1fr}}

/* v1.7.6 — Employee Due/Release */
.bv-employee-net{margin-top:18px;padding:24px;border-radius:18px;background:#12273d;border:1px solid rgba(130,169,204,.14)}
.bv-employee-net .bv-module-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.bv-employee-net h2{margin:5px 0;color:#f7fbff;font-size:22px}.bv-employee-net p{margin:0;color:#8fa5bb;font-size:12px}
.bv-employee-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:20px}
.bv-employee-grid-2{grid-template-columns:1fr 1fr;margin-top:13px}
.bv-employee-net label{font-size:11px;color:#9fb3c7;font-weight:700}
.bv-employee-net input,.bv-employee-net select{width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid rgba(133,171,207,.18);border-radius:10px;background:#1c354d;color:#f7fbff}
@media(max-width:900px){.bv-employee-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.bv-employee-grid,.bv-employee-grid-2{grid-template-columns:1fr}}

/* v1.7.7 — SR Due/Release */
.bv-sr-net{margin-top:18px;padding:24px;border-radius:18px;background:#12273d;border:1px solid rgba(130,169,204,.14)}
.bv-sr-net .bv-module-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.bv-sr-net h2{margin:5px 0;color:#f7fbff;font-size:22px}.bv-sr-net p{margin:0;color:#8fa5bb;font-size:12px}
.bv-sr-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:20px}.bv-sr-grid-2{grid-template-columns:1fr 1fr;margin-top:13px}
.bv-sr-net label{font-size:11px;color:#9fb3c7;font-weight:700}.bv-sr-net input,.bv-sr-net select{width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid rgba(133,171,207,.18);border-radius:10px;background:#1c354d;color:#f7fbff}
.bv-sr-desc{display:block;margin-top:13px}.bv-sr-desc input{display:block}
@media(max-width:900px){.bv-sr-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.bv-sr-grid,.bv-sr-grid-2{grid-template-columns:1fr}}

/* v1.7.8 — Unified Sales */
.bv-unified-sales{margin-top:18px;padding:24px;border-radius:18px;background:#12273d;border:1px solid rgba(130,169,204,.14)}
.bv-unified-sales .bv-module-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.bv-unified-sales h2{margin:5px 0;color:#f7fbff;font-size:22px}.bv-unified-sales p{margin:0;color:#8fa5bb;font-size:12px}
.bv-sales-top{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px}
.bv-unified-sales label{font-size:11px;color:#9fb3c7;font-weight:700}
.bv-unified-sales input,.bv-unified-sales select{width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid rgba(133,171,207,.18);border-radius:10px;background:#1c354d;color:#f7fbff}
.bv-sales-items{margin-top:18px;border:1px solid rgba(133,171,207,.12);border-radius:14px;padding:14px}
.bv-sales-items-head{display:flex;justify-content:space-between;align-items:center;color:#eaf2f9;margin-bottom:10px}
.bv-add-sale-row{border:0;border-radius:8px;padding:8px 11px;background:#245a78;color:#fff;cursor:pointer}
.bv-sales-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 32px;gap:8px;align-items:center;margin-top:8px}
.bv-sales-row .bv-line-total{color:#d9edf9;font-size:12px;font-weight:700}.bv-sales-sku-select{min-width:0}.bv-sales-empty-sku{margin-top:10px;padding:10px 12px;border-radius:9px;background:rgba(202,157,52,.08);border:1px solid rgba(202,157,52,.22);color:#d9b45a;font-size:11px}
.bv-remove-sale-row{width:32px;height:32px;border:0;border-radius:8px;background:#59333b;color:#fff;cursor:pointer}
.bv-sales-money{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:16px;align-items:end}
.bv-sales-due{padding:11px 12px;border-radius:10px;background:#17344a;border-left:3px solid #73b77b}
.bv-sales-due span{display:block;color:#9fb3c7;font-size:10px}.bv-sales-due strong{display:block;color:#fff;font-size:20px;margin-top:5px}
.bv-sales-notes{display:block;margin-top:13px}
@media(max-width:900px){.bv-sales-top,.bv-sales-money{grid-template-columns:1fr 1fr}.bv-sales-row{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:520px){.bv-sales-top,.bv-sales-money{grid-template-columns:1fr}.bv-sales-row{grid-template-columns:1fr 1fr}}

/* v1.7.9 — Unified Costing */
.bv-unified-costing{margin-top:18px;padding:24px;border-radius:18px;background:#12273d;border:1px solid rgba(130,169,204,.14)}
.bv-unified-costing .bv-module-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.bv-unified-costing h2{margin:5px 0;color:#f7fbff;font-size:22px}.bv-unified-costing p{margin:0;color:#8fa5bb;font-size:12px}
.bv-costing-top{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px}.bv-unified-costing label{font-size:11px;color:#9fb3c7;font-weight:700}.bv-unified-costing input{width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid rgba(133,171,207,.18);border-radius:10px;background:#1c354d;color:#f7fbff}
.bv-costing-items{margin-top:18px;border:1px solid rgba(133,171,207,.12);border-radius:14px;padding:14px}.bv-costing-items-head{display:flex;justify-content:space-between;align-items:center;color:#eaf2f9;margin-bottom:10px}.bv-add-costing-row{border:0;border-radius:8px;padding:8px 11px;background:#245a78;color:#fff;cursor:pointer}
.bv-costing-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 32px;gap:8px;align-items:center;margin-top:8px}.bv-cost-line-total{color:#d9edf9;font-size:12px;font-weight:700}.bv-remove-costing-row{width:32px;height:32px;border:0;border-radius:8px;background:#59333b;color:#fff;cursor:pointer}
.bv-costing-money{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:16px;align-items:end}.bv-costing-due{padding:11px 12px;border-radius:10px;background:#17344a;border-left:3px solid #73b77b}.bv-costing-due span{display:block;color:#9fb3c7;font-size:10px}.bv-costing-due strong{display:block;color:#fff;font-size:20px;margin-top:5px}.bv-costing-notes{display:block;margin-top:13px}
@media(max-width:900px){.bv-costing-top,.bv-costing-money{grid-template-columns:1fr 1fr}.bv-costing-row{grid-template-columns:1fr 1fr}}@media(max-width:520px){.bv-costing-top,.bv-costing-money{grid-template-columns:1fr}.bv-costing-row{grid-template-columns:1fr 1fr}}

/* v1.8.0 — Unified Commission */
.bv-unified-commission{margin-top:18px;padding:24px;border-radius:18px;background:#12273d;border:1px solid rgba(130,169,204,.14)}
.bv-unified-commission .bv-module-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.bv-unified-commission h2{margin:5px 0;color:#f7fbff;font-size:22px}.bv-unified-commission p{margin:0;color:#8fa5bb;font-size:12px}
.bv-commission-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px}.bv-unified-commission label{font-size:11px;color:#9fb3c7;font-weight:700}.bv-unified-commission input,.bv-unified-commission select{width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid rgba(133,171,207,.18);border-radius:10px;background:#1c354d;color:#f7fbff}.bv-commission-desc{display:block;margin-top:13px}
@media(max-width:900px){.bv-commission-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.bv-commission-grid{grid-template-columns:1fr}}

/* v1.8.1 — Unified Assist Code Balance */
.bv-assist-net{margin-top:18px;padding:24px;border-radius:18px;background:#12273d;border:1px solid rgba(130,169,204,.14)}
.bv-assist-net .bv-module-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
.bv-assist-net h2{margin:5px 0;color:#f7fbff;font-size:22px}.bv-assist-net p{margin:0;color:#8fa5bb;font-size:12px}
.bv-assist-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:20px}.bv-assist-net label{font-size:11px;color:#9fb3c7;font-weight:700}
.bv-assist-net input,.bv-assist-net select{width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid rgba(133,171,207,.18);border-radius:10px;background:#1c354d;color:#f7fbff}
.bv-assist-desc{display:block;margin-top:13px}
@media(max-width:900px){.bv-assist-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.bv-assist-grid{grid-template-columns:1fr}}

/* v1.8.2 — Office Ledger */
.bv-office-ledger{margin-top:18px;padding:24px;border-radius:18px;background:#12273d;border:1px solid rgba(130,169,204,.14)}
.bv-office-ledger .bv-module-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.bv-office-ledger h2{margin:5px 0;color:#f7fbff;font-size:22px}.bv-office-ledger p{margin:0;color:#8fa5bb;font-size:12px}
#bv-print-ledger{border:0;border-radius:9px;padding:10px 14px;background:#2c6688;color:#fff;font-weight:700;cursor:pointer}.bv-ledger-overall{margin-top:18px;padding:18px;border-radius:14px;background:#17344a;display:flex;justify-content:space-between;align-items:center;color:#9fb3c7}.bv-ledger-overall strong{font-size:28px;color:#fff}
.bv-ledger-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}.bv-ledger-cards>div{padding:15px;border-radius:12px;background:#18344b;border:1px solid rgba(133,171,207,.12)}.bv-ledger-cards span,.bv-ledger-cards small{display:block;color:#91a7ba}.bv-ledger-cards strong{display:block;color:#fff;font-size:21px;margin:6px 0}
.bv-ledger-table-wrap{overflow:auto;margin-top:15px;border-radius:12px}.bv-ledger-table-wrap table{width:100%;border-collapse:collapse;color:#dce8f2;font-size:12px}.bv-ledger-table-wrap th,.bv-ledger-table-wrap td{padding:10px;border-bottom:1px solid rgba(133,171,207,.12);white-space:nowrap;text-align:left}.bv-ledger-table-wrap th{color:#9fb3c7;background:#17344a}
@media(max-width:900px){.bv-ledger-cards{grid-template-columns:1fr 1fr}}@media(max-width:520px){.bv-ledger-cards{grid-template-columns:1fr}.bv-office-ledger .bv-module-head{display:block}.bv-office-ledger #bv-print-ledger{margin-top:12px}}

/* v1.8.3 — Module Statements */
.bv-module-statements{margin-top:18px;padding:24px;border-radius:18px;background:#12273d;border:1px solid rgba(130,169,204,.14)}
.bv-module-statements h2{margin:5px 0;color:#f7fbff;font-size:22px}.bv-module-statements p{margin:0;color:#8fa5bb;font-size:12px}
.bv-statement-filter{display:grid;grid-template-columns:1.2fr 1fr 1fr auto auto;gap:10px;align-items:end;margin-top:18px}.bv-module-statements label{font-size:11px;color:#9fb3c7;font-weight:700}.bv-module-statements input,.bv-module-statements select{width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid rgba(133,171,207,.18);border-radius:10px;background:#1c354d;color:#f7fbff}
#bv-load-statement,#bv-print-statement{border:0;border-radius:9px;padding:11px 14px;background:#2c6688;color:#fff;font-weight:700;cursor:pointer;white-space:nowrap}
#bv-print-statement{background:#3c765f}.bv-statement-empty{margin-top:15px;padding:25px;border-radius:12px;background:#17344a;color:#9fb3c7;text-align:center}
.bv-statement-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px}.bv-statement-summary .card{padding:14px;border-radius:12px;background:#18344b;border:1px solid rgba(133,171,207,.12)}.bv-statement-summary small{display:block;color:#91a7ba}.bv-statement-summary strong{display:block;color:#fff;font-size:21px;margin-top:6px}.bv-statement-period{margin:12px 0;color:#91a7ba;font-size:11px}.bv-statement-table-wrap{overflow:auto}.bv-statement-table-wrap table{width:100%;border-collapse:collapse;color:#dce8f2;font-size:11px}.bv-statement-table-wrap th,.bv-statement-table-wrap td{padding:9px;border-bottom:1px solid rgba(133,171,207,.12);white-space:nowrap;text-align:left}.bv-statement-table-wrap th{background:#17344a;color:#9fb3c7}
@media(max-width:900px){.bv-statement-filter{grid-template-columns:1fr 1fr}.bv-statement-summary{grid-template-columns:1fr 1fr}}@media(max-width:520px){.bv-statement-filter{grid-template-columns:1fr}.bv-statement-summary{grid-template-columns:1fr}}

/* v1.8.4 — Employee & SR Running Due */
.bv-person-due{margin-top:18px;padding:24px;border-radius:18px;background:#12273d;border:1px solid rgba(130,169,204,.14)}
.bv-person-due h2{margin:5px 0;color:#f7fbff;font-size:22px}.bv-person-due p{margin:0;color:#8fa5bb;font-size:12px}
.bv-person-tabs{display:flex;gap:8px;margin-top:18px}.bv-person-tabs button{border:1px solid rgba(133,171,207,.18);background:#18344b;color:#9fb3c7;padding:9px 16px;border-radius:9px;font-weight:700;cursor:pointer}.bv-person-tabs button.active{background:#2c6688;color:#fff}
.bv-person-due-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.bv-person-due-summary>div{padding:15px;border-radius:12px;background:#18344b;border:1px solid rgba(133,171,207,.12)}.bv-person-due-summary span{display:block;color:#91a7ba;font-size:11px}.bv-person-due-summary strong{display:block;color:#fff;font-size:22px;margin-top:5px}
.bv-person-due-table-wrap{overflow:auto;margin-top:14px}.bv-person-due-table-wrap table{width:100%;border-collapse:collapse;color:#dce8f2;font-size:12px}.bv-person-due-table-wrap th,.bv-person-due-table-wrap td{padding:10px;border-bottom:1px solid rgba(133,171,207,.12);white-space:nowrap;text-align:left}.bv-person-due-table-wrap th{color:#9fb3c7;background:#17344a}.bv-person-pdf{border:0;border-radius:7px;padding:7px 10px;background:#3c765f;color:#fff;font-weight:700;cursor:pointer}
#bv-person-due-note{margin-top:9px;color:#91a7ba;font-size:11px}
@media(max-width:520px){.bv-person-due-summary{grid-template-columns:1fr}}
/* v1.8.5 — Executive Dashboard */
.bv-exec-dashboard{margin-top:18px;padding:24px;border-radius:20px;background:#10263b;border:1px solid rgba(130,169,204,.14);box-shadow:0 18px 45px rgba(0,0,0,.12)}
.bv-exec-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.bv-exec-head h2{margin:5px 0;color:#f7fbff;font-size:24px}.bv-exec-head p{margin:0;color:#8fa5bb;font-size:12px}.bv-exec-head button{border:1px solid rgba(133,171,207,.2);border-radius:9px;padding:10px 14px;background:#183b54;color:#fff;font-weight:700;cursor:pointer}.bv-exec-hero{margin-top:18px;padding:20px;border-radius:16px;background:#173b53;display:flex;justify-content:space-between;align-items:center}.bv-exec-hero span{display:block;color:#9bb0c3;font-size:11px;font-weight:700;letter-spacing:.08em}.bv-exec-hero strong{display:block;color:#fff;font-size:32px;margin-top:6px}.bv-exec-meta{text-align:right;color:#8fa5bb;font-size:11px}.bv-exec-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.bv-exec-card{padding:16px;border-radius:14px;background:#17344b;border:1px solid rgba(133,171,207,.12)}.bv-exec-card-title{color:#91a7ba;font-size:11px;font-weight:700}.bv-exec-card>strong{display:block;color:#fff;font-size:23px;margin:6px 0 12px}.bv-exec-card-meta{display:grid;gap:5px}.bv-exec-card-meta span{display:flex;justify-content:space-between;color:#8299ad;font-size:10px}.bv-exec-card-meta b{color:#dce8f2;font-weight:600}.bv-exec-footer{display:flex;justify-content:space-between;margin-top:13px;color:#70899e;font-size:10px}@media(max-width:900px){.bv-exec-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.bv-exec-head,.bv-exec-hero{display:block}.bv-exec-grid{grid-template-columns:1fr}.bv-exec-meta{text-align:left;margin-top:10px}}

/* v1.8.6 — CEO Executive Dashboard */
.bv-ceo-dashboard{max-width:1500px;margin:0 auto}
.bv-ceo-hero{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:30px;border:1px solid rgba(92,150,205,.25);border-radius:26px;background:radial-gradient(circle at 85% 20%,rgba(216,168,62,.16),transparent 28%),linear-gradient(135deg,#102842,#0b182a);box-shadow:0 24px 70px rgba(0,0,0,.22)}
.bv-ceo-hero h2{font-size:34px;margin:8px 0 8px;color:#fff}.bv-ceo-hero p{margin:0;color:#9fb2c9}.bv-ceo-hero-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.bv-ceo-highlight{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:15px;margin-top:16px}
.bv-ceo-highlight>div{padding:22px;border-radius:20px;border:1px solid var(--line);background:linear-gradient(145deg,rgba(18,39,63,.95),rgba(8,19,33,.92))}
.bv-ceo-highlight span,.bv-ceo-card-title{display:block;color:#91a6bd;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.bv-ceo-highlight strong{display:block;color:#fff;font-size:28px;margin:9px 0 5px}.bv-ceo-highlight small{color:#7f93aa}
.bv-ceo-section{margin-top:18px;padding:24px;border-radius:24px;border:1px solid var(--line);background:rgba(12,29,47,.76);box-shadow:var(--shadow)}
.bv-ceo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.bv-ceo-card{padding:20px;border-radius:19px;border:1px solid rgba(104,143,180,.2);background:linear-gradient(145deg,#142b44,#0e2034);transition:.2s}
.bv-ceo-card:hover{transform:translateY(-3px);border-color:rgba(216,168,62,.4)}
.bv-ceo-card-head{display:flex;justify-content:space-between;gap:8px;align-items:center}.bv-ceo-card>strong{display:block;font-size:27px;color:#fff;margin:14px 0}
.bv-ceo-card-lines{display:grid;gap:6px}.bv-ceo-card-lines span{display:flex;justify-content:space-between;color:#8ea0b4;font-size:12px}.bv-ceo-card-lines b{color:#dce5ee}.bv-ceo-card small{display:block;margin-top:12px;color:#70859d}
.bv-pdf-btn{border:1px solid rgba(216,168,62,.4);background:rgba(216,168,62,.09);color:#e8c36d;border-radius:8px;padding:6px 9px;font-size:10px;font-weight:800;cursor:pointer}
.bv-pdf-btn:hover{background:rgba(216,168,62,.18)}
.bv-ceo-office-table td small{display:block;color:#7489a0;margin-top:3px}.bv-ceo-office-table{min-width:1050px}
.bv-formula-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.bv-formula-grid>div{padding:15px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid var(--line)}.bv-formula-grid b{display:block;color:#fff;margin-bottom:6px}.bv-formula-grid span{font-size:12px;color:#8fa0b4}
.bv-ceo-footer{text-align:center;color:#64788e;font-size:11px;padding:18px}
@media(max-width:1100px){.bv-ceo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bv-ceo-highlight{grid-template-columns:1fr 1fr}.bv-ceo-highlight>div:first-child{grid-column:1/-1}.bv-formula-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.bv-ceo-hero{align-items:flex-start;flex-direction:column}.bv-ceo-hero h2{font-size:27px}.bv-ceo-hero-actions{justify-content:flex-start}.bv-ceo-highlight,.bv-ceo-grid{grid-template-columns:1fr}.bv-ceo-highlight>div:first-child{grid-column:auto}.bv-formula-grid{grid-template-columns:1fr}.bv-ceo-section{padding:16px}.bv-ceo-hero{padding:22px}.bv-ceo-office-table{min-width:1000px}}

.bv-due-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.bv-due-report{padding:18px;border:1px solid rgba(104,143,180,.2);border-radius:20px;background:linear-gradient(145deg,#10263e,#0b1c2e)}.bv-due-report h3{margin:5px 0;font-size:18px;color:#fff}.bv-due-report .bv-panel-head{margin-bottom:12px}.bv-due-report .bv-table{min-width:620px}@media(max-width:900px){.bv-due-grid{grid-template-columns:1fr}}
.bv-analytics-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;margin-top:16px}.bv-analytics-panel{padding:22px;border:1px solid var(--line);background:linear-gradient(145deg,rgba(18,39,63,.95),rgba(8,19,33,.92));border-radius:22px}.bv-trend{height:270px;display:grid;grid-template-columns:repeat(6,1fr);gap:12px;align-items:end;margin-top:18px}.bv-trend-col{height:100%;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:7px;min-width:0}.bv-trend-col>span{color:#8498ae;font-size:10px;white-space:nowrap}.bv-trend-value{font-size:10px;color:#aebed0;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.bv-trend-value.positive{color:#82e4b4}.bv-trend-value.negative{color:#ffaaa8}.bv-trend-bar{height:175px;width:100%;max-width:48px;border-radius:10px;background:rgba(255,255,255,.045);display:flex;align-items:end;overflow:hidden;border:1px solid rgba(255,255,255,.05)}.bv-trend-bar i{display:block;width:100%;border-radius:9px 9px 2px 2px;background:linear-gradient(180deg,#e4bd64,#b9821e)}.bv-trend-bar i.negative{background:linear-gradient(180deg,#d56b67,#8c3030)}.bv-activity{max-height:280px;overflow:auto}.bv-activity-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.bv-activity-row:last-child{border-bottom:0}.bv-activity-row div{min-width:0}.bv-activity-row b{display:block;color:#fff;font-size:12px}.bv-activity-row span{display:block;color:#8093a9;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bv-activity-row time{color:#7f92a8;font-size:10px;white-space:nowrap}.bv-activity-row strong{font-size:12px;white-space:nowrap}.bv-activity-row strong.in{color:#82e4b4}.bv-activity-row strong.out{color:#ffaaa8}@media(max-width:1100px){.bv-analytics-grid{grid-template-columns:1fr}}@media(max-width:700px){.bv-trend{gap:6px}.bv-trend-value{font-size:9px}.bv-activity-row{grid-template-columns:1fr auto}.bv-activity-row strong{grid-column:2;grid-row:1}.bv-activity-row time{grid-column:1;grid-row:2}}

/* v1.8.9 — Audit & Control Center */
.bv-audit-control{margin-top:18px;padding:24px;border-radius:20px;background:#10263b;border:1px solid rgba(130,169,204,.14);box-shadow:0 18px 45px rgba(0,0,0,.12)}
.bv-audit-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.bv-audit-head h2{margin:5px 0;color:#f7fbff;font-size:24px}.bv-audit-head p{margin:0;color:#8fa5bb;font-size:12px}.bv-audit-head button{border:1px solid rgba(133,171,207,.2);border-radius:9px;padding:10px 14px;background:#183b54;color:#fff;font-weight:700;cursor:pointer}
.bv-audit-health{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;margin-top:16px}.bv-audit-score,.bv-audit-count{padding:16px;border-radius:14px;background:#17344b;border:1px solid rgba(133,171,207,.12)}.bv-audit-score span,.bv-audit-count span{display:block;color:#91a7ba;font-size:10px;font-weight:700}.bv-audit-score strong{display:block;color:#fff;font-size:21px;margin:7px 0 2px}.bv-audit-score small{color:#718aa0}.bv-audit-count b{display:block;color:#fff;font-size:27px;margin-bottom:2px}.bv-audit-count.critical b{color:#ff8f8f}.bv-audit-count.warning b{color:#f5c978}
.bv-audit-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:13px}.bv-audit-check{display:flex;justify-content:space-between;align-items:center;padding:13px;border-radius:11px;background:#163148;border:1px solid rgba(133,171,207,.1)}.bv-audit-check b{display:block;color:#dce8f2;font-size:12px}.bv-audit-check small{display:block;color:#718aa0;font-size:10px;margin-top:3px}.bv-audit-check span{font-size:9px;font-weight:800;padding:5px 8px;border-radius:7px}.bv-audit-check .ok{background:#214b42;color:#8fe0be}.bv-audit-check .bad{background:#5b3030;color:#ffb0b0}
.bv-audit-issues{margin-top:14px}.bv-audit-issues-title{color:#dce8f2;font-weight:800;font-size:12px;margin-bottom:8px}.bv-audit-issue{display:flex;justify-content:space-between;gap:10px;padding:12px;border-radius:10px;margin-top:7px;background:#18344b;border-left:3px solid #e0ad50}.bv-audit-issue.critical{border-left-color:#e36b6b}.bv-audit-issue b{display:block;color:#fff;font-size:11px}.bv-audit-issue small{display:block;color:#8299ad;font-size:10px;margin-top:3px}.bv-audit-issue>span{font-size:9px;font-weight:800;color:#f2cc85}.bv-audit-issue.critical>span{color:#ff9d9d}.bv-audit-empty{padding:15px;border-radius:10px;background:#163c36;color:#8fe0be;font-size:11px}.bv-audit-foot{margin-top:12px;color:#627d94;font-size:10px}
@media(max-width:650px){.bv-audit-head{display:block}.bv-audit-head button{margin-top:12px}.bv-audit-health{grid-template-columns:1fr 1fr}.bv-audit-score{grid-column:1/-1}.bv-audit-grid{grid-template-columns:1fr}}

/* v1.8.10 — Backup & Recovery */
.bv-backup-center{margin-top:18px;padding:24px;border-radius:20px;background:#10263b;border:1px solid rgba(130,169,204,.14);box-shadow:0 18px 45px rgba(0,0,0,.12)}
.bv-backup-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.bv-backup-head h2{margin:5px 0;color:#f7fbff;font-size:24px}.bv-backup-head p{margin:0;color:#8fa5bb;font-size:12px}.bv-backup-head button{border:0;border-radius:9px;padding:11px 15px;background:#286a62;color:#fff;font-weight:800;cursor:pointer}.bv-backup-head button:disabled{opacity:.65}
.bv-backup-warning{margin-top:16px;padding:13px;border-radius:11px;background:#3f3420;border:1px solid rgba(245,201,120,.15);color:#d9bd83;font-size:11px;line-height:1.6}.bv-backup-warning b{color:#f5d38d}
.bv-backup-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:13px}.bv-backup-stats>div{padding:15px;border-radius:12px;background:#17344b}.bv-backup-stats span{display:block;color:#91a7ba;font-size:10px;font-weight:700}.bv-backup-stats strong{display:block;color:#fff;font-size:21px;margin-top:5px}
.bv-backup-list{margin-top:13px;padding:15px;border-radius:12px;background:#163148}.bv-backup-list-title{color:#dce8f2;font-weight:800;font-size:11px;margin-bottom:9px}.bv-backup-list span{display:inline-block;margin:3px;padding:5px 8px;border-radius:6px;background:#1e4058;color:#9fb3c7;font-size:9px}.bv-backup-list>div:last-child{color:#718aa0;font-size:10px}
#bv-backup-status{margin-top:10px;color:#8fe0be;font-size:11px}
@media(max-width:650px){.bv-backup-head{display:block}.bv-backup-head button{margin-top:12px}.bv-backup-stats{grid-template-columns:1fr}}

/* v1.8.11 — Premium Office UI Shell */
.bv-ui-shell{min-height:100vh;display:flex;background:#081827;color:#dbe7f2;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden}
.bv-sidebar{width:248px;min-width:248px;background:linear-gradient(180deg,#0b2032 0%,#081a2a 100%);border-right:1px solid rgba(160,190,215,.12);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:50}
.bv-brand{height:78px;padding:0 19px;display:flex;align-items:center;gap:11px;border-bottom:1px solid rgba(160,190,215,.09)}.bv-brand-mark{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#d5ad62,#9d7530);color:#091827;font-weight:900;box-shadow:0 8px 20px rgba(0,0,0,.18)}.bv-brand strong{display:block;color:#f6f8fa;font-size:12px;letter-spacing:.08em}.bv-brand span{display:block;color:#7f96aa;font-size:9px;letter-spacing:.14em;margin-top:3px}
.bv-side-nav{padding:14px 10px;display:grid;gap:4px;overflow:auto}.bv-nav-item{width:100%;display:flex;align-items:center;gap:11px;border:0;border-radius:10px;padding:11px 12px;background:transparent;color:#91a6b8;text-align:left;font-size:11px;font-weight:650;cursor:pointer;transition:.2s ease}.bv-nav-item:hover{background:rgba(85,126,158,.12);color:#e8f0f6}.bv-nav-item.active{background:linear-gradient(90deg,rgba(183,145,72,.20),rgba(62,106,139,.18));color:#fff;box-shadow:inset 3px 0 #d0a95f}.bv-nav-icon{width:19px;text-align:center;font-size:15px;color:#7691a7}.bv-nav-item.active .bv-nav-icon{color:#e0b96c}
.bv-side-bottom{margin-top:auto;padding:13px 11px;border-top:1px solid rgba(160,190,215,.09)}.bv-user-chip{display:flex;align-items:center;gap:9px;padding:9px;border-radius:10px;background:rgba(18,48,72,.65)}.bv-user-dot{width:8px;height:8px;border-radius:50%;background:#57c99c;box-shadow:0 0 0 4px rgba(87,201,156,.10)}.bv-user-chip b{display:block;color:#e6eef5;font-size:10px}.bv-user-chip small{display:block;color:#71889d;font-size:9px;margin-top:2px}.bv-logout{display:flex;align-items:center;gap:9px;margin-top:6px;padding:9px 11px;border-radius:9px;color:#8299ab;text-decoration:none;font-size:10px}.bv-logout:hover{background:rgba(201,91,91,.10);color:#f0a0a0}
.bv-main{flex:1;min-width:0;min-height:100vh;background:radial-gradient(circle at 75% 0%,rgba(39,78,105,.16),transparent 30%),#091b2a}.bv-topbar{height:78px;padding:0 27px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(160,190,215,.09);background:rgba(8,24,39,.88);backdrop-filter:blur(12px);position:sticky;top:0;z-index:30}.bv-top-left{display:flex;align-items:center;gap:13px}.bv-top-left h1{margin:3px 0 0;color:#f6f9fb;font-size:20px;letter-spacing:-.02em}.bv-eyebrow{color:#718ba0;font-size:8px;font-weight:800;letter-spacing:.16em}.bv-menu-toggle{display:none;border:0;background:#153249;color:#d9e7f2;border-radius:9px;padding:8px 10px}.bv-top-right{display:flex;align-items:center;gap:12px}.bv-live{font-size:9px;color:#8fdbb8;display:flex;align-items:center;gap:5px}.bv-live i{width:6px;height:6px;border-radius:50%;background:#5dd09f;box-shadow:0 0 10px rgba(93,208,159,.7)}.bv-date{color:#6f879a;font-size:9px}.bv-content{padding:23px 27px 40px;max-width:1500px;margin:auto}.bv-view{display:none;animation:bvFade .22s ease}.bv-view.active{display:block}@keyframes bvFade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.bv-mobile-close{display:none}
@media(max-width:900px){.bv-sidebar{position:fixed;left:-270px;transition:left .25s ease;box-shadow:20px 0 50px rgba(0,0,0,.3)}.bv-ui-shell.mobile-open .bv-sidebar{left:0}.bv-ui-shell.mobile-open .bv-shell-overlay{display:block}.bv-shell-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:40}.bv-menu-toggle{display:block}.bv-mobile-close{display:block;position:absolute;right:9px;top:20px;border:0;background:transparent;color:#7f95a7;font-size:22px}.bv-topbar{padding:0 17px}.bv-content{padding:17px 14px 30px}.bv-top-right .bv-date{display:none}}

/* v1.8.18 — True fullscreen Office UI + final spacing correction */
html,body{margin:0!important;padding:0!important;width:100%!important;min-width:100%!important;background:#050b18!important;overflow-x:hidden!important}
body:has(.bv-ui-shell){background:#050b18!important}
body:has(.bv-ui-shell) #page,
body:has(.bv-ui-shell) #content,
body:has(.bv-ui-shell) #primary,
body:has(.bv-ui-shell) #main,
body:has(.bv-ui-shell) .site,
body:has(.bv-ui-shell) .site-content,
body:has(.bv-ui-shell) .content-area,
body:has(.bv-ui-shell) .entry-content,
body:has(.bv-ui-shell) .ast-container,
body:has(.bv-ui-shell) .ast-row,
body:has(.bv-ui-shell) .elementor,
body:has(.bv-ui-shell) .elementor-section-wrap{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body:has(.bv-ui-shell) .site-header,
body:has(.bv-ui-shell) .site-footer,
body:has(.bv-ui-shell) .entry-header,
body:has(.bv-ui-shell) .comments-area{display:none!important}
body:has(.bv-ui-shell) .bv-ui-shell{margin:0!important;padding:0!important;width:100vw!important;max-width:none!important;min-height:100vh!important}

/* Sidebar */
.bv-ui-shell .bv-sidebar{
  width:280px!important;min-width:280px!important;flex:0 0 280px!important;
  position:fixed!important;left:0!important;top:0!important;bottom:0!important;height:100vh!important;
  padding:0!important;box-sizing:border-box!important;
  background:linear-gradient(180deg,#091b2c 0%,#071625 100%)!important;
  border-right:1px solid rgba(112,151,195,.16)!important;z-index:9999!important;
}
.bv-ui-shell .bv-brand{
  height:82px!important;padding:0 20px!important;gap:12px!important;
  box-sizing:border-box!important;display:flex!important;align-items:center!important;
}
.bv-ui-shell .bv-brand-mark{width:40px!important;height:40px!important;min-width:40px!important;border-radius:11px!important}
.bv-ui-shell .bv-brand strong{font-size:12px!important;letter-spacing:.07em!important}
.bv-ui-shell .bv-brand span{font-size:8px!important;letter-spacing:.15em!important;margin-top:4px!important}
.bv-ui-shell .bv-side-nav{padding:13px 10px!important;gap:4px!important}
.bv-ui-shell .bv-nav-item{
  min-height:44px!important;padding:10px 12px!important;border-radius:9px!important;
  gap:12px!important;font-size:11px!important;font-weight:700!important;
}
.bv-ui-shell .bv-nav-icon{width:20px!important;min-width:20px!important;font-size:14px!important}
.bv-ui-shell .bv-side-bottom{padding:12px 10px 16px!important}
.bv-ui-shell .bv-user-chip{padding:11px!important;border-radius:10px!important}
.bv-ui-shell .bv-user-chip b{font-size:10px!important}
.bv-ui-shell .bv-user-chip small{font-size:8px!important}
.bv-ui-shell .bv-logout{font-size:10px!important;padding:10px 11px!important}

/* Main area starts immediately after the fixed sidebar — no centered black frame */
.bv-ui-shell .bv-main{
  margin-left:280px!important;width:calc(100vw - 280px)!important;
  min-width:0!important;max-width:none!important;min-height:100vh!important;
  box-sizing:border-box!important;background:#081726!important;
}
.bv-ui-shell .bv-topbar{
  height:70px!important;padding:0 28px!important;box-sizing:border-box!important;
  position:sticky!important;top:0!important;z-index:100!important;
  background:rgba(7,19,32,.94)!important;border-bottom:1px solid rgba(118,153,191,.11)!important;
}
.bv-ui-shell .bv-top-left h1{font-size:21px!important}
.bv-ui-shell .bv-eyebrow{font-size:8px!important}
.bv-ui-shell .bv-content{
  width:100%!important;max-width:none!important;margin:0!important;
  padding:24px 28px 44px!important;box-sizing:border-box!important;
}

/* Prevent individual dashboard panels from creating an artificial narrow centered frame */
.bv-ui-shell .bv-view>.bv-dashboard,
.bv-ui-shell .bv-view>.bv-financial-dashboard,
.bv-ui-shell .bv-view>.bv-office-dashboard{
  width:100%!important;max-width:none!important;margin:0!important;
}

/* If an inner module uses a fixed max-width, let it breathe while preserving readable gutters */
.bv-ui-shell .bv-view>.bv-panel,
.bv-ui-shell .bv-view>.bv-office-portal{max-width:none!important;width:100%!important;box-sizing:border-box!important}

/* Mobile */
@media(max-width:900px){
  .bv-ui-shell .bv-sidebar{width:280px!important;min-width:280px!important;left:-285px!important;transition:left .22s ease!important}
  .bv-ui-shell.mobile-open .bv-sidebar{left:0!important}
  .bv-ui-shell .bv-main{margin-left:0!important;width:100vw!important}
  .bv-ui-shell .bv-topbar{padding:0 18px!important}
  .bv-ui-shell .bv-content{padding:18px 16px 35px!important}
}

/* v1.8.19 — Executive typography, navigation polish & dashboard density */
.bv-ui-shell{
  font-size:13px!important;
  color:#dce7f5!important;
}

/* Sidebar typography: larger and easier to scan */
.bv-ui-shell .bv-nav-item{
  min-height:48px!important;
  padding:11px 14px!important;
  gap:13px!important;
  font-size:12px!important;
  letter-spacing:.005em!important;
  color:#aebdd0!important;
}
.bv-ui-shell .bv-nav-item:hover{
  color:#f5f8ff!important;
  background:rgba(80,126,188,.15)!important;
}
.bv-ui-shell .bv-nav-item.active{
  color:#ffffff!important;
  background:linear-gradient(100deg,rgba(67,103,174,.38),rgba(55,81,139,.20))!important;
  box-shadow:inset 3px 0 #e0b24d,0 5px 18px rgba(0,0,0,.10)!important;
}
.bv-ui-shell .bv-nav-icon{
  width:22px!important;
  min-width:22px!important;
  font-size:15px!important;
  opacity:.95!important;
}

/* Brand / office identity */
.bv-ui-shell .bv-brand{
  height:88px!important;
  padding:0 19px!important;
}
.bv-ui-shell .bv-brand strong{font-size:13px!important}
.bv-ui-shell .bv-brand span{font-size:8px!important}

/* Bottom office card */
.bv-ui-shell .bv-user-chip{
  min-height:54px!important;
  display:flex!important;
  align-items:center!important;
  padding:11px 13px!important;
  background:linear-gradient(135deg,#102c43,#0d2439)!important;
  border:1px solid rgba(104,145,191,.10)!important;
}
.bv-ui-shell .bv-user-chip b{font-size:10px!important}
.bv-ui-shell .bv-user-chip small{font-size:8px!important;color:#8fa6bd!important}

/* Content: tighter top area, stronger executive hierarchy */
.bv-ui-shell .bv-content{
  padding:22px 28px 38px!important;
}
.bv-ui-shell .bv-content h1{
  letter-spacing:-.025em!important;
}
.bv-ui-shell .bv-content h2{
  letter-spacing:-.018em!important;
}

/* Financial dashboard cards — more compact without looking cramped */
.bv-ui-shell .bv-financial-card,
.bv-ui-shell .bv-metric-card,
.bv-ui-shell .bv-stat-card{
  min-height:150px!important;
}
.bv-ui-shell .bv-financial-card .amount,
.bv-ui-shell .bv-metric-card .amount,
.bv-ui-shell .bv-stat-card .amount{
  font-size:25px!important;
  font-weight:800!important;
}
.bv-ui-shell .bv-financial-card .label,
.bv-ui-shell .bv-metric-card .label,
.bv-ui-shell .bv-stat-card .label{
  font-size:10px!important;
  letter-spacing:.03em!important;
}
.bv-ui-shell .bv-financial-card small,
.bv-ui-shell .bv-metric-card small,
.bv-ui-shell .bv-stat-card small{
  font-size:9px!important;
}

/* Give the dashboard a more deliberate vertical rhythm */
.bv-ui-shell .bv-view{
  width:100%!important;
}
.bv-ui-shell .bv-view > *{
  box-sizing:border-box!important;
}

/* Buttons */
.bv-ui-shell button,
.bv-ui-shell .button,
.bv-ui-shell .bv-btn{
  font-size:11px!important;
  font-weight:750!important;
  letter-spacing:.01em!important;
}

/* Tables / form labels */
.bv-ui-shell th{
  font-size:10px!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}
.bv-ui-shell label{
  font-size:10px!important;
}

/* Keep the desktop layout edge-to-edge */
@media(min-width:901px){
  .bv-ui-shell .bv-main{
    width:calc(100vw - 280px)!important;
  }
}

/* v1.8.20 — Final Executive visual refinement */
.bv-ui-shell .bv-main{
  background:
    radial-gradient(900px 420px at 72% 0%,rgba(33,83,138,.09),transparent 62%),
    linear-gradient(135deg,#081725 0%,#071522 100%)!important;
}
.bv-ui-shell .bv-content{
  padding:24px 28px 46px!important;
}
.bv-ui-shell .bv-view{
  animation:bvFadeIn .28s ease-out both!important;
}
@keyframes bvFadeIn{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:none}
}

/* Dashboard frame */
.bv-ui-shell .bv-view > .bv-panel,
.bv-ui-shell .bv-view > .bv-dashboard,
.bv-ui-shell .bv-view > .bv-financial-dashboard,
.bv-ui-shell .bv-view > .bv-office-dashboard{
  border-color:rgba(115,155,199,.15)!important;
  box-shadow:0 18px 55px rgba(0,0,0,.13)!important;
}

/* Stronger metric hierarchy */
.bv-ui-shell .bv-financial-card,
.bv-ui-shell .bv-metric-card,
.bv-ui-shell .bv-stat-card{
  transition:transform .18s ease,background .18s ease,border-color .18s ease!important;
}
.bv-ui-shell .bv-financial-card:hover,
.bv-ui-shell .bv-metric-card:hover,
.bv-ui-shell .bv-stat-card:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(116,163,215,.25)!important;
  background:linear-gradient(145deg,#193b56,#17364f)!important;
}

/* Sidebar separation and premium active treatment */
.bv-ui-shell .bv-sidebar{
  box-shadow:12px 0 45px rgba(0,0,0,.12)!important;
}
.bv-ui-shell .bv-side-nav{
  padding-top:16px!important;
}
.bv-ui-shell .bv-nav-item{
  position:relative!important;
  transition:background .16s ease,color .16s ease,transform .16s ease!important;
}
.bv-ui-shell .bv-nav-item:hover{
  transform:translateX(2px)!important;
}
.bv-ui-shell .bv-nav-item.active:after{
  content:""!important;
  position:absolute!important;
  right:10px!important;
  width:5px!important;
  height:5px!important;
  border-radius:50%!important;
  background:#e1b34f!important;
  box-shadow:0 0 9px rgba(225,179,79,.55)!important;
}

/* Office identity */
.bv-ui-shell .bv-user-chip{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 8px 25px rgba(0,0,0,.08)!important;
}
.bv-ui-shell .bv-user-chip:before{
  box-shadow:0 0 8px rgba(70,225,167,.55)!important;
}

/* Cleaner scrollbar */
.bv-ui-shell *{
  scrollbar-width:thin!important;
  scrollbar-color:rgba(102,137,174,.35) transparent!important;
}
.bv-ui-shell *::-webkit-scrollbar{width:6px;height:6px}
.bv-ui-shell *::-webkit-scrollbar-track{background:transparent}
.bv-ui-shell *::-webkit-scrollbar-thumb{
  background:rgba(102,137,174,.35);
  border-radius:10px;
}

/* Better responsive spacing */
@media(min-width:1400px){
  .bv-ui-shell .bv-content{padding-left:30px!important;padding-right:30px!important}
}
@media(max-width:900px){
  .bv-ui-shell .bv-content{padding:18px 15px 35px!important}
}
/* v1.8.21 — Navigation state consistency */
.bv-ui-shell .bv-nav-item:focus,
.bv-ui-shell .bv-nav-item:focus-visible{
  outline:none!important;
  box-shadow:none!important;
  background:transparent!important;
}
.bv-ui-shell .bv-nav-item.active:focus,
.bv-ui-shell .bv-nav-item.active:focus-visible{
  background:linear-gradient(100deg,rgba(67,103,174,.38),rgba(55,81,139,.20))!important;
  color:#fff!important;
  box-shadow:inset 3px 0 #e0b24d,0 5px 18px rgba(0,0,0,.10)!important;
}
.bv-ui-shell .bv-nav-item:not(.active):hover{
  background:rgba(80,126,188,.13)!important;
  color:#f5f8ff!important;
}

/* v1.8.22 — Animated full-screen gradient background */
.bv-ui-shell,
.bv-ui-shell .bv-main{
  position:relative!important;
  isolation:isolate!important;
  background:#06121f!important;
}

/* Subtle moving ambient gradient — deliberately low contrast for readability */
.bv-ui-shell .bv-main:before{
  content:""!important;
  position:fixed!important;
  inset:-18%!important;
  z-index:-2!important;
  pointer-events:none!important;
  background:
    radial-gradient(38% 34% at 18% 18%,rgba(25,102,196,.18),transparent 70%),
    radial-gradient(34% 38% at 82% 20%,rgba(104,45,190,.14),transparent 72%),
    radial-gradient(40% 36% at 72% 82%,rgba(0,150,180,.12),transparent 72%),
    radial-gradient(30% 34% at 15% 82%,rgba(23,76,160,.12),transparent 70%);
  filter:blur(18px);
  transform:translate3d(0,0,0) scale(1.08);
  animation:bvAmbientGradient 18s ease-in-out infinite alternate;
}

.bv-ui-shell .bv-main:after{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:-1!important;
  pointer-events:none!important;
  opacity:.48!important;
  background:
    linear-gradient(115deg,transparent 0 35%,rgba(70,137,220,.035) 48%,transparent 61%),
    linear-gradient(245deg,transparent 0 42%,rgba(150,72,210,.03) 54%,transparent 67%);
  background-size:170% 170%,160% 160%;
  animation:bvGradientFlow 24s linear infinite;
}

@keyframes bvAmbientGradient{
  0%{
    transform:translate3d(-2%,0,0) scale(1.08);
  }
  50%{
    transform:translate3d(2%,-1.5%,0) scale(1.12);
  }
  100%{
    transform:translate3d(-1%,2%,0) scale(1.09);
  }
}

@keyframes bvGradientFlow{
  0%{background-position:0% 40%,100% 50%}
  50%{background-position:100% 60%,0% 40%}
  100%{background-position:0% 40%,100% 50%}
}

/* Gentle luminous sweep behind the dashboard */
.bv-ui-shell .bv-content:before{
  content:""!important;
  position:absolute!important;
  top:0!important;
  right:5%!important;
  width:42vw!important;
  height:28vw!important;
  max-width:680px!important;
  max-height:450px!important;
  pointer-events:none!important;
  z-index:-1!important;
  background:radial-gradient(ellipse at center,rgba(42,114,205,.075),transparent 68%);
  filter:blur(12px);
  animation:bvGlowDrift 15s ease-in-out infinite alternate;
}

@keyframes bvGlowDrift{
  from{transform:translate3d(3%,0,0) scale(.95);opacity:.65}
  to{transform:translate3d(-4%,4%,0) scale(1.08);opacity:1}
}

/* Preserve the crisp, dark cards above the animated background */
.bv-ui-shell .bv-financial-card,
.bv-ui-shell .bv-metric-card,
.bv-ui-shell .bv-stat-card,
.bv-ui-shell .bv-panel{
  backdrop-filter:blur(10px)!important;
}

/* Respect reduced-motion accessibility settings */
@media(prefers-reduced-motion:reduce){
  .bv-ui-shell .bv-main:before,
  .bv-ui-shell .bv-main:after,
  .bv-ui-shell .bv-content:before{
    animation:none!important;
  }
}

/* v1.8.24 — Logout/cache state feedback */
.bv-login-success{
  border:1px solid rgba(74,205,151,.22)!important;
  background:rgba(30,113,79,.16)!important;
  color:#9ae3c2!important;
  padding:10px 12px!important;
  border-radius:9px!important;
  margin:0 auto 12px!important;
  width:min(410px,calc(100% - 40px))!important;
  box-sizing:border-box!important;
  font-size:10px!important;
}

/* v1.8.26 — Office Login visual polish */
.bv-login-page{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 18% 20%, rgba(212,164,62,.10), transparent 32%),
    radial-gradient(circle at 82% 72%, rgba(42,126,190,.13), transparent 38%),
    linear-gradient(135deg,#06111d 0%,#0a1928 48%,#071321 100%);
}
.bv-login-page::before,
.bv-login-page::after{
  content:"";
  position:absolute;
  border-radius:50%;
  pointer-events:none;
  filter:blur(8px);
  opacity:.55;
  animation:bvLoginFloat 14s ease-in-out infinite alternate;
}
.bv-login-page::before{
  width:420px;height:420px;
  left:-150px;top:-120px;
  background:radial-gradient(circle,rgba(220,172,65,.12),transparent 68%);
}
.bv-login-page::after{
  width:520px;height:520px;
  right:-190px;bottom:-220px;
  background:radial-gradient(circle,rgba(37,129,201,.14),transparent 68%);
  animation-delay:-5s;
}
@keyframes bvLoginFloat{
  from{transform:translate3d(0,0,0) scale(1)}
  to{transform:translate3d(24px,-18px,0) scale(1.06)}
}
.bv-login-card{
  position:relative;
  z-index:2;
  width:min(440px,calc(100% - 36px));
  padding:38px 40px 40px;
  border:1px solid rgba(157,190,219,.18);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(18,39,60,.96),rgba(8,24,39,.96));
  box-shadow:0 28px 80px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter:blur(18px);
}
.bv-login-card h1,
.bv-login-card .bv-login-title{
  color:#f5f8fc!important;
  font-size:30px!important;
  line-height:1.15!important;
  font-weight:800!important;
  letter-spacing:-.02em!important;
  opacity:1!important;
  text-shadow:0 2px 18px rgba(0,0,0,.22);
}
.bv-login-card p,
.bv-login-card .bv-login-subtitle{
  color:#a9c0d8!important;
  opacity:1!important;
}
.bv-login-card label{
  color:#dce8f4!important;
  font-weight:600!important;
}
.bv-login-card input,
.bv-login-card select{
  color:#f3f7fb!important;
  background:rgba(24,43,62,.92)!important;
  border:1px solid rgba(150,183,211,.22)!important;
  border-radius:12px!important;
  min-height:48px!important;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.14);
}
.bv-login-card input::placeholder{color:#8fa7bd!important;opacity:1!important}
.bv-login-card input:focus,
.bv-login-card select:focus{
  border-color:rgba(221,174,65,.75)!important;
  box-shadow:0 0 0 3px rgba(221,174,65,.10)!important;
  outline:none!important;
}
.bv-login-card button,
.bv-login-card input[type="submit"]{
  min-height:48px!important;
  border:0!important;
  border-radius:12px!important;
  font-weight:800!important;
  letter-spacing:.02em;
  background:linear-gradient(135deg,#e3b94e,#c99228)!important;
  color:#101a25!important;
  box-shadow:0 10px 26px rgba(201,146,40,.18);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.bv-login-card button:hover,
.bv-login-card input[type="submit"]:hover{
  transform:translateY(-1px);
  filter:brightness(1.05);
  box-shadow:0 14px 32px rgba(201,146,40,.24);
}
.bv-login-card a{color:#75b9f2!important}
.bv-login-card hr{border-color:rgba(157,190,219,.12)!important}
@media(max-width:600px){
  .bv-login-card{padding:30px 22px 28px;border-radius:20px}
  .bv-login-card h1,.bv-login-card .bv-login-title{font-size:26px!important}
}

/* v1.8.27 — Correct selectors + true full-viewport Office Login */
.bv-auth-shell{
  width:100vw!important;
  max-width:none!important;
  min-height:100vh!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding:36px 20px!important;
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate;
  background:
    radial-gradient(circle at 14% 18%,rgba(220,174,67,.12),transparent 30%),
    radial-gradient(circle at 86% 78%,rgba(40,126,194,.13),transparent 36%),
    linear-gradient(135deg,#07111d 0%,#0a1928 52%,#071321 100%)!important;
}
.bv-auth-shell::before,.bv-auth-shell::after{
  content:"";
  position:absolute;
  z-index:-1;
  border-radius:50%;
  pointer-events:none;
  filter:blur(8px);
  animation:bv-auth-orbit 16s ease-in-out infinite alternate;
}
.bv-auth-shell::before{
  width:460px;height:460px;
  left:-180px;top:-170px;
  background:radial-gradient(circle,rgba(221,174,65,.12),transparent 68%);
}
.bv-auth-shell::after{
  width:560px;height:560px;
  right:-220px;bottom:-270px;
  background:radial-gradient(circle,rgba(37,130,202,.14),transparent 68%);
  animation-delay:-6s;
}
@keyframes bv-auth-orbit{
  from{transform:translate3d(0,0,0) scale(1)}
  to{transform:translate3d(26px,-18px,0) scale(1.07)}
}
.bv-auth-card{
  position:relative!important;
  z-index:2;
  width:min(460px,calc(100vw - 40px))!important;
  padding:42px!important;
  border:1px solid rgba(159,192,220,.20)!important;
  border-radius:26px!important;
  background:linear-gradient(145deg,rgba(18,39,60,.97),rgba(7,19,32,.97))!important;
  box-shadow:0 30px 90px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.04)!important;
  color:#f4f7fb!important;
}
.bv-auth-card .bv-brand{
  color:#f7f9fc!important;
  opacity:1!important;
}
.bv-auth-card .bv-brand span{
  color:#d9ad45!important;
  opacity:1!important;
}
.bv-auth-card h1{
  color:#f5f8fc!important;
  opacity:1!important;
  font-size:34px!important;
  font-weight:800!important;
  letter-spacing:-.02em!important;
  text-shadow:0 2px 18px rgba(0,0,0,.25);
}
.bv-auth-card>p{
  color:#b3c7db!important;
  opacity:1!important;
}
.bv-auth-card select,
.bv-auth-card input[type=email],
.bv-auth-card input[type=password]{
  color:#f4f7fb!important;
  background:rgba(24,43,62,.94)!important;
  border:1px solid rgba(151,185,214,.23)!important;
}
.bv-auth-card select:focus,
.bv-auth-card input[type=email]:focus,
.bv-auth-card input[type=password]:focus{
  border-color:rgba(222,176,69,.78)!important;
  box-shadow:0 0 0 3px rgba(222,176,69,.10)!important;
}
.bv-auth-card input::placeholder{color:#91a8bd!important;opacity:1!important}
.bv-auth-card .bv-check{color:#b2c4d6!important}
.bv-auth-card .bv-btn{
  color:#101722!important;
  background:linear-gradient(135deg,#e6bd59,#c99129)!important;
}
.bv-login-note{
  position:relative!important;
  z-index:3;
  color:#d9f4e7!important;
  background:rgba(15,67,55,.30)!important;
  border:1px solid rgba(71,198,157,.25)!important;
}
@media(max-width:600px){
  .bv-auth-shell{padding:22px 16px!important}
  .bv-auth-card{width:min(460px,calc(100vw - 32px))!important;padding:30px 24px!important}
  .bv-auth-card h1{font-size:28px!important}
}

/* v1.8.28 — Fix native select vertical clipping */
.bv-auth-card select{
  display:block!important;
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  padding:0 42px 0 14px!important;
  margin:0!important;
  font-family:inherit!important;
  font-size:15px!important;
  font-weight:500!important;
  line-height:normal!important;
  text-align:left!important;
  vertical-align:middle!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  -webkit-appearance:auto!important;
  appearance:auto!important;
}
.bv-auth-card select option{
  color:#f4f7fb!important;
  background:#12283c!important;
  font-size:15px!important;
  line-height:normal!important;
}

/* v1.8.30 — Admin entry + Office Master */
.bv-admin-entry-link{
  position:fixed!important;right:22px!important;bottom:18px!important;z-index:50!important;
}
.bv-admin-entry-link a{
  display:inline-block!important;padding:9px 13px!important;border-radius:10px!important;
  background:rgba(10,29,45,.86)!important;border:1px solid rgba(130,168,198,.20)!important;
  color:#9fc3df!important;font-size:10px!important;font-weight:800!important;text-decoration:none!important;
  backdrop-filter:blur(10px)!important;
}
.bv-office-master{padding:2px}
.bv-office-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:20px;border-radius:15px;background:rgba(12,37,57,.78);
  border:1px solid rgba(92,141,181,.15)
}
.bv-office-eyebrow{font-size:8px;letter-spacing:.16em;color:#70a9d6;font-weight:900}
.bv-office-toolbar h3{margin:5px 0 4px;font-size:20px;color:#f1f6fb}
.bv-office-toolbar p{margin:0;color:#7894aa;font-size:10px}
.bv-office-add,.bv-office-save{
  border:0;border-radius:10px;padding:11px 15px;font-size:10px;font-weight:900;cursor:pointer;
  background:linear-gradient(135deg,#e1b650,#c48e30);color:#09141e;
}
.bv-office-form-wrap{margin-top:12px;padding:18px;border-radius:15px;background:#0b2235;border:1px solid rgba(92,141,181,.15)}
.bv-office-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.bv-office-grid label{display:block;color:#9eb5c9;font-size:9px;font-weight:800}
.bv-office-grid input,.bv-office-grid select{
  width:100%;box-sizing:border-box;margin-top:5px;padding:11px 12px;border-radius:9px;
  border:1px solid #25465b;background:#102d43;color:#fff;outline:none
}
.bv-office-actions{display:flex;gap:9px;margin-top:14px}
.bv-office-cancel{border:1px solid #294a60;border-radius:10px;padding:10px 14px;background:transparent;color:#9bb1c3;cursor:pointer}
.bv-office-msg{margin-top:10px;font-size:10px}
.bv-office-info{color:#e4c36c}
.bv-office-empty{
  margin-top:12px;padding:44px 20px;text-align:center;border-radius:15px;
  background:rgba(10,29,45,.72);border:1px dashed rgba(111,153,184,.18)
}
.bv-office-empty-icon{font-size:30px;color:#d8ad49;margin-bottom:8px}
.bv-office-empty strong{font-size:15px;color:#dce9f3}
.bv-office-empty p{max-width:480px;margin:8px auto 0;color:#718ba0;font-size:10px;line-height:1.6}
@media(max-width:650px){
  .bv-office-toolbar{align-items:flex-start;flex-direction:column}
  .bv-office-grid{grid-template-columns:1fr}
  .bv-admin-entry-link{right:12px;bottom:12px}
}

/* v1.8.51 — Dedicated Sales History */
.bv-sales-history-page{margin-top:18px}.bv-sales-history-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:25px 26px;border:1px solid rgba(130,169,204,.14);border-radius:18px;background:linear-gradient(135deg,#122e45,#10273c)}.bv-sales-history-hero h2{margin:5px 0;color:#f7fbff;font-size:23px}.bv-sales-history-hero p{margin:0;color:#8fa5bb;font-size:12px}.bv-history-new-sale,.bv-sales-history-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;border-radius:10px;font-size:10px;font-weight:900;letter-spacing:.03em}.bv-history-new-sale{padding:11px 15px;background:#e5b84f;color:#172333!important}.bv-sales-history-link-wrap{margin-left:auto}.bv-sales-history-link{padding:8px 11px;background:rgba(229,184,79,.08);border:1px solid rgba(229,184,79,.25);color:#e9c96e!important;white-space:nowrap}.bv-sales-history-filters{display:grid;grid-template-columns:1fr 1fr 1.25fr 1.6fr auto;gap:11px;align-items:end;margin-top:14px;padding:16px;border:1px solid rgba(130,169,204,.1);border-radius:15px;background:#102237}.bv-sales-history-filters label{display:block;color:#9fb3c7;font-size:10px;font-weight:800}.bv-sales-history-filters input,.bv-sales-history-filters select{width:100%;box-sizing:border-box;margin-top:6px;padding:10px 11px;border:1px solid rgba(133,171,207,.18);border-radius:9px;background:#1c354d;color:#f7fbff;outline:none;min-height:40px}.bv-sales-history-filters input:focus,.bv-sales-history-filters select:focus{border-color:#5eabe0}.bv-sales-history-filters .filter-actions{display:flex;gap:7px}.bv-sales-history-filters button,.bv-sales-history-filters .filter-actions a{height:40px;padding:0 13px;border-radius:9px;border:0;font-size:9px;font-weight:900;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.bv-sales-history-filters button{background:#e5b84f;color:#172333}.bv-sales-history-filters .filter-actions a{background:#1a3047;color:#a9bbce;border:1px solid rgba(133,171,207,.14)}.bv-sales-history-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}.bv-sales-history-kpis>div{padding:17px 18px;border:1px solid rgba(130,169,204,.12);border-radius:14px;background:#122b42;box-shadow:0 12px 30px rgba(0,0,0,.08)}.bv-sales-history-kpis span{display:block;color:#7892a8;font-size:9px;font-weight:900;letter-spacing:.08em}.bv-sales-history-kpis strong{display:block;margin-top:7px;color:#f4f8fc;font-size:20px}.bv-sales-history-kpis small{display:block;margin-top:4px;color:#7890a4;font-size:9px}.bv-sales-history-kpis .due{border-left:3px solid #d8aa42}.bv-sales-history-kpis .due strong{color:#e8c667}.bv-sales-history-panel{margin-top:14px;padding:20px;border:1px solid rgba(130,169,204,.14);border-radius:18px;background:#102237}.bv-sales-history-panel .bv-panel-head{margin-bottom:15px}.bv-sales-history-panel h3{margin:5px 0 3px;color:#f7fbff;font-size:18px}.bv-sales-history-table-wrap{overflow:auto}.bv-sales-history-table{width:100%;min-width:1000px;border-collapse:separate;border-spacing:0}.bv-sales-history-table th,.bv-sales-history-table td{padding:12px 11px;border-bottom:1px solid rgba(130,169,204,.11);text-align:left;vertical-align:middle}.bv-sales-history-table th{color:#728aa0;font-size:9px;letter-spacing:.07em;font-weight:900}.bv-sales-history-table td{color:#c8d5e1;font-size:11px}.bv-sales-history-table td b{color:#f3f7fb}.bv-sales-history-table td small{display:block;margin-top:3px;color:#6f879b;font-size:8px}.bv-sales-history-table .sale-summary-row:hover{background:rgba(82,128,176,.06)}.bv-sales-history-table .due-cell{color:#e7c566;font-weight:800}.bv-item-count{display:inline-flex;padding:5px 8px;border-radius:999px;background:rgba(87,185,126,.08);border:1px solid rgba(87,185,126,.15);color:#8fd0a8;font-size:9px;font-weight:800}.bv-history-view{padding:7px 10px;border:1px solid rgba(130,169,204,.2);border-radius:8px;background:#172f46;color:#dbe8f2;font-size:9px;font-weight:900;cursor:pointer}.bv-history-view:hover{background:#21445f}.bv-sales-history-table .empty{padding:35px;text-align:center;color:#8298aa}.bv-sale-detail{padding:16px;border:1px solid rgba(130,169,204,.11);border-radius:12px;background:rgba(8,20,33,.38)}.bv-sale-detail-head{display:grid;grid-template-columns:1.6fr repeat(3,auto);gap:15px;align-items:center;padding-bottom:13px;border-bottom:1px solid rgba(130,169,204,.1)}.bv-sale-detail-head span{display:block;color:#728aa0;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.bv-sale-detail-head strong{display:block;color:#f2f7fb;font-size:12px;margin-top:4px}.bv-sale-detail-head>div:not(:first-child){text-align:right}.bv-sale-detail-head b{display:block;color:#e9c96e;font-size:13px;margin-top:4px}.bv-sale-items-grid{margin-top:12px}.bv-sale-items-grid>div{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:10px;align-items:center;padding:9px 8px;border-bottom:1px solid rgba(130,169,204,.08)}.bv-sale-items-grid .head{padding-top:0;color:#70889e;font-size:8px;font-weight:900;letter-spacing:.06em}.bv-sale-items-grid>div:not(.head){color:#c5d2df;font-size:10px}.bv-sale-items-grid small{display:block;color:#687f94;font-size:8px;margin-top:3px}.bv-sale-items-grid>div:not(.head)>span:not(:first-child){text-align:right}.bv-history-no-items{padding:15px;color:#8498aa;font-size:10px}.bv-sale-detail-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.bv-sale-detail-meta span{padding:8px 10px;border-radius:8px;background:#132b41;color:#9fb2c5;font-size:9px}.bv-sale-detail-meta b{display:block;color:#70889e;font-size:8px;margin-bottom:3px;text-transform:uppercase}.bv-sales-history-empty{margin-top:18px;padding:30px;border-radius:16px;background:#12273d;border:1px solid rgba(130,169,204,.14);text-align:center;color:#f0f5fa}.bv-sales-history-empty span{display:block;color:#8fa5bb;font-size:11px;margin-top:7px}.sale-detail-row[hidden]{display:none}
@media(max-width:950px){.bv-sales-history-filters{grid-template-columns:1fr 1fr}.bv-sales-history-filters .search{grid-column:1/-1}.bv-sales-history-filters .filter-actions{grid-column:1/-1}.bv-sales-history-kpis{grid-template-columns:1fr 1fr}.bv-sale-detail-head{grid-template-columns:1fr 1fr}.bv-sale-detail-head>div:not(:first-child){text-align:left}}@media(max-width:600px){.bv-sales-history-hero{flex-direction:column}.bv-sales-history-filters{grid-template-columns:1fr}.bv-sales-history-filters .search,.bv-sales-history-filters .filter-actions{grid-column:auto}.bv-sales-history-kpis{grid-template-columns:1fr}.bv-sales-history-link-wrap{margin-left:0}.bv-sale-items-grid>div{grid-template-columns:1.5fr 1fr 1fr 1fr}}

/* v1.8.52 — Costing submission/history polish */
.bv-costing-history-link-wrap{float:right}.bv-costing-history-link{display:inline-flex;padding:8px 11px;border-radius:9px;background:rgba(229,184,79,.08);border:1px solid rgba(229,184,79,.25);color:#e9c96e!important;text-decoration:none!important;font-size:9px;font-weight:900}.bv-costing-items-head>div span{display:block;color:#71899f;font-size:9px;margin-top:4px}.bv-unified-costing select{width:100%;box-sizing:border-box;margin-top:6px;padding:11px 12px;border:1px solid rgba(133,171,207,.18);border-radius:10px;background:#1c354d;color:#f7fbff;outline:none}.bv-unified-costing select:focus{border-color:#5eabe0}.bv-costing-row{grid-template-columns:2fr 1fr 1fr 1fr 34px!important}.bv-costing-row-head{margin-top:4px!important;color:#70889e;font-size:8px;font-weight:900;letter-spacing:.06em}.bv-costing-row-head span:not(:first-child){text-align:right}.bv-costing-row-head span:last-child{text-align:center}.bv-unified-costing input[readonly]{opacity:.92;cursor:not-allowed}.bv-costing-history-page{margin-top:18px}.bv-costing-history-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:25px 26px;border:1px solid rgba(130,169,204,.14);border-radius:18px;background:linear-gradient(135deg,#122e45,#10273c)}.bv-costing-history-hero h2{margin:5px 0;color:#f7fbff;font-size:23px}.bv-costing-history-hero p{margin:0;color:#8fa5bb;font-size:12px}.bv-history-new-cost{padding:11px 15px;border-radius:10px;background:#e5b84f;color:#172333!important;text-decoration:none!important;font-size:10px;font-weight:900}.bv-costing-history-filters{display:grid;grid-template-columns:1fr 1fr 1.25fr 1.6fr auto;gap:11px;align-items:end;margin-top:14px;padding:16px;border:1px solid rgba(130,169,204,.1);border-radius:15px;background:#102237}.bv-costing-history-filters label{color:#9fb3c7;font-size:10px;font-weight:800}.bv-costing-history-filters input,.bv-costing-history-filters select{width:100%;box-sizing:border-box;margin-top:6px;padding:10px 11px;border:1px solid rgba(133,171,207,.18);border-radius:9px;background:#1c354d;color:#f7fbff;outline:none;min-height:40px}.bv-costing-history-filters .filter-actions{display:flex;gap:7px}.bv-costing-history-filters button,.bv-costing-history-filters a{height:40px;padding:0 13px;border-radius:9px;border:0;font-size:9px;font-weight:900;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.bv-costing-history-filters button{background:#e5b84f;color:#172333}.bv-costing-history-filters a{background:#1a3047;color:#a9bbce;border:1px solid rgba(133,171,207,.14)}.bv-costing-history-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}.bv-costing-history-kpis>div{padding:17px 18px;border:1px solid rgba(130,169,204,.12);border-radius:14px;background:#122b42}.bv-costing-history-kpis span{display:block;color:#7892a8;font-size:9px;font-weight:900;letter-spacing:.08em}.bv-costing-history-kpis strong{display:block;margin-top:7px;color:#f4f8fc;font-size:20px}.bv-costing-history-kpis small{display:block;margin-top:4px;color:#7890a4;font-size:9px}.bv-costing-history-kpis .due{border-left:3px solid #d8aa42}.bv-costing-history-kpis .due strong{color:#e8c667}.bv-costing-history-panel{margin-top:14px;padding:20px;border:1px solid rgba(130,169,204,.14);border-radius:18px;background:#102237}.bv-costing-history-panel h3{margin:5px 0 3px;color:#f7fbff;font-size:18px}.bv-costing-history-table-wrap{overflow:auto}.bv-costing-history-table{width:100%;min-width:1000px;border-collapse:separate;border-spacing:0}.bv-costing-history-table th,.bv-costing-history-table td{padding:12px 11px;border-bottom:1px solid rgba(130,169,204,.11);text-align:left;vertical-align:middle}.bv-costing-history-table th{color:#728aa0;font-size:9px;letter-spacing:.07em;font-weight:900}.bv-costing-history-table td{color:#c8d5e1;font-size:11px}.bv-costing-history-table td b{color:#f3f7fb}.bv-costing-history-table td small{display:block;margin-top:3px;color:#6f879b;font-size:8px}.bv-costing-history-table .due-cell{color:#e7c566;font-weight:800}.bv-cost-history-view{padding:7px 10px;border:1px solid rgba(130,169,204,.2);border-radius:8px;background:#172f46;color:#dbe8f2;font-size:9px;font-weight:900;cursor:pointer}.bv-cost-detail{padding:16px;border:1px solid rgba(130,169,204,.11);border-radius:12px;background:rgba(8,20,33,.38)}.bv-cost-detail-head{display:grid;grid-template-columns:1.6fr repeat(3,auto);gap:15px;align-items:center;padding-bottom:13px;border-bottom:1px solid rgba(130,169,204,.1)}.bv-cost-detail-head span,.bv-cost-detail-meta b{display:block;color:#728aa0;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.bv-cost-detail-head strong{display:block;color:#f2f7fb;font-size:12px;margin-top:4px}.bv-cost-detail-head>div:not(:first-child){text-align:right}.bv-cost-detail-head b{display:block;color:#e9c96e;font-size:13px;margin-top:4px}.bv-cost-items-grid{margin-top:12px}.bv-cost-items-grid>div{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:10px;align-items:center;padding:9px 8px;border-bottom:1px solid rgba(130,169,204,.08)}.bv-cost-items-grid .head{color:#70889e;font-size:8px;font-weight:900;letter-spacing:.06em}.bv-cost-items-grid>div:not(.head){color:#c5d2df;font-size:10px}.bv-cost-items-grid small{display:block;color:#687f94;font-size:8px;margin-top:3px}.bv-cost-items-grid>div:not(.head)>span:not(:first-child){text-align:right}.bv-cost-detail-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.bv-cost-detail-meta span{padding:8px 10px;border-radius:8px;background:#132b41;color:#9fb2c5;font-size:9px}.cost-detail-row[hidden]{display:none}.bv-costing-history-empty{margin-top:18px;padding:30px;border-radius:16px;background:#12273d;border:1px solid rgba(130,169,204,.14);text-align:center;color:#f0f5fa}.bv-costing-history-empty span{display:block;color:#8fa5bb;font-size:11px;margin-top:7px}@media(max-width:950px){.bv-costing-history-filters{grid-template-columns:1fr 1fr}.bv-costing-history-filters .search,.bv-costing-history-filters .filter-actions{grid-column:1/-1}.bv-costing-history-kpis{grid-template-columns:1fr 1fr}.bv-cost-detail-head{grid-template-columns:1fr 1fr}}@media(max-width:600px){.bv-costing-history-hero{flex-direction:column}.bv-costing-history-filters{grid-template-columns:1fr}.bv-costing-history-filters .search,.bv-costing-history-filters .filter-actions{grid-column:auto}.bv-costing-history-kpis{grid-template-columns:1fr}.bv-costing-history-link-wrap{float:none;margin-bottom:8px}.bv-cost-items-grid>div{grid-template-columns:1.5fr 1fr 1fr 1fr}}
/* v1.8.53 — Office Expense Costing */
.bv-office-expense-top{grid-template-columns:repeat(3,minmax(0,1fr));}
.bv-office-expense-top label:nth-child(3)[hidden]{display:none!important;}
.bv-costing-description{display:block;margin:14px 0;}
.bv-office-expense-money{margin-top:14px;}

/* v1.8.54 — Office Costing direct-cost presentation */
.bv-office-expense-top{grid-template-columns:1fr 1.35fr 1fr!important;align-items:end;}
.bv-office-expense-top label{min-width:0;}
.bv-office-expense-top select#bv-cost-category{display:block;width:100%!important;min-height:44px;height:44px!important;box-sizing:border-box;padding:0 38px 0 13px!important;margin-top:6px!important;border:1px solid rgba(133,171,207,.28)!important;border-radius:10px!important;background:#1c354d!important;color:#f7fbff!important;outline:none!important;font-size:12px!important;font-weight:600!important;line-height:44px!important;appearance:auto!important;-webkit-appearance:auto!important;}
.bv-office-expense-top select#bv-cost-category option{background:#1c354d;color:#f7fbff;font-size:12px;}
.bv-office-expense-top select#bv-cost-category:focus{border-color:#5eabe0!important;box-shadow:0 0 0 2px rgba(94,171,224,.10);}
.bv-direct-cost-row{display:block!important;margin-top:14px!important;}
.bv-direct-cost-row input{min-height:44px;font-size:14px;font-weight:800;}
.bv-direct-cost-note{min-height:44px;padding:10px 13px;border:1px solid rgba(133,171,207,.12);border-radius:10px;background:rgba(28,53,77,.55);}
.bv-direct-cost-note span{display:block;color:#718ba0;font-size:8px;font-weight:900;letter-spacing:.08em;}
.bv-direct-cost-note strong{display:block;margin-top:3px;color:#e8c667;font-size:11px;}
.bv-direct-cost-note small{display:block;margin-top:2px;color:#7f96aa;font-size:9px;}
@media(max-width:700px){.bv-office-expense-top{grid-template-columns:1fr!important;}}

/* v1.8.56 — Costing UI cleanup: Cost Amount only */
.bv-unified-costing .bv-direct-cost-row{display:block!important;grid-template-columns:none!important;max-width:420px;}
.bv-unified-costing .bv-direct-cost-row>label{display:block;width:100%;} 
.bv-unified-costing #bv-cost-category{font-size:12px!important;font-weight:600!important;}
.bv-unified-costing #bv-cost-category option{background:#1c354d!important;color:#f7fbff!important;}

/* v1.8.61 — Costing history refresh controls */
.bv-history-refresh{display:inline-flex;align-items:center;justify-content:center;margin-right:8px;padding:10px 14px;border:1px solid rgba(255,255,255,.16);border-radius:10px;text-decoration:none;font-weight:700;font-size:12px;color:inherit;background:rgba(255,255,255,.04)}

/* v1.8.94 monthly dashboard analytics */
.bv-monthly-performance{margin-top:18px;border:1px solid rgba(255,255,255,.10);border-radius:16px;padding:18px;background:rgba(18,48,73,.55)}
.bv-monthly-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.bv-monthly-head h3{margin:4px 0 4px}.bv-monthly-head p{margin:0;color:#91a8bc}.bv-monthly-head form{display:flex;gap:8px;align-items:center}.bv-monthly-head input{min-height:40px;border:1px solid #34536c;border-radius:10px;background:#17364f;color:#fff;padding:0 10px}.bv-monthly-head button{min-height:40px;border:0;border-radius:10px;padding:0 14px;background:#e5b63d;color:#081522;font-weight:800}.bv-monthly-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.bv-monthly-grid>div{padding:14px;border-radius:12px;background:#163650;border:1px solid rgba(255,255,255,.07)}.bv-monthly-grid span{display:block;font-size:10px;letter-spacing:1px;color:#83a1b8;font-weight:800}.bv-monthly-grid strong{display:block;margin-top:8px;font-size:18px;color:#f4f7fa}.bv-monthly-note{margin-top:12px;font-size:11px;color:#8ea5b8}@media(max-width:900px){.bv-monthly-head{flex-direction:column;align-items:flex-start}.bv-monthly-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.bv-financial-date-filter{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 20px;margin:16px 0;border:1px solid rgba(20,35,60,.10);border-radius:16px;background:#fff}.bv-financial-date-filter form{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.bv-financial-date-filter label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:700;text-transform:uppercase}.bv-financial-date-filter input{min-height:40px}.bv-financial-date-filter button,.bv-financial-date-filter a{min-height:40px;padding:0 14px;border-radius:9px;border:1px solid rgba(20,35,60,.12);display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700}.bv-financial-date-filter button{cursor:pointer}.bv-financial-date-filter strong{font-size:20px;display:block;margin-top:4px}@media(max-width:700px){.bv-financial-date-filter{align-items:stretch;flex-direction:column}.bv-financial-date-filter form{align-items:stretch}.bv-financial-date-filter label{flex:1}.bv-financial-date-filter button,.bv-financial-date-filter a{flex:1}}

/* v1.8.99 — Financial Dashboard compact visual refinement */
.bv-exec-dashboard{--bv-navy:#102b43;--bv-panel:#153b56;--bv-panel-2:#12344d;--bv-gold:#d7ad3f;--bv-text:#f4f7fa;--bv-muted:#91a8ba;}
.bv-exec-head{margin-bottom:10px}
.bv-exec-head h2{font-size:22px;line-height:1.15;margin:4px 0;color:var(--bv-text)}
.bv-exec-head p{font-size:11px}
.bv-exec-head button{padding:7px 11px;border-radius:8px;background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.10);font-size:11px}
.bv-financial-date-filter{margin:10px 0;padding:10px 12px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:var(--bv-panel-2);box-shadow:none;gap:12px}
.bv-financial-date-filter .bv-section-label{font-size:9px;color:#8da5b8;letter-spacing:.09em}
.bv-financial-date-filter strong{font-size:14px;margin-top:2px;color:var(--bv-text)}
.bv-financial-date-filter form{gap:6px}
.bv-financial-date-filter label{gap:3px;font-size:9px;color:#8fa6b8}
.bv-financial-date-filter input{height:32px;min-height:32px;padding:0 8px;border:1px solid rgba(255,255,255,.10);border-radius:7px;background:#0f2d45;color:#fff;font-size:11px}
.bv-financial-date-filter button,.bv-financial-date-filter a{height:32px;min-height:32px;padding:0 10px;border-radius:7px;font-size:10px}
.bv-financial-date-filter button{background:var(--bv-gold);color:#102033;border-color:transparent}
.bv-financial-date-filter a{background:rgba(255,255,255,.045);color:#d9e5ee;border-color:rgba(255,255,255,.10)}
.bv-exec-hero{margin-top:10px;padding:13px 15px;border-radius:11px;background:linear-gradient(135deg,#173f5b,#12344d);border:1px solid rgba(255,255,255,.07)}
.bv-exec-hero strong{font-size:25px;margin-top:3px}
.bv-exec-hero span{font-size:9px}
.bv-exec-meta{font-size:10px}
.bv-exec-grid{gap:8px;margin-top:9px}
.bv-exec-card{padding:11px 12px;border-radius:10px;background:#14364f;border-color:rgba(255,255,255,.07)}
.bv-exec-card-title{font-size:9px}
.bv-exec-card>strong{font-size:18px;margin:4px 0 8px}
.bv-exec-card-meta{gap:3px}
.bv-exec-card-meta span{font-size:9px}
.bv-monthly-performance{margin-top:11px;border-radius:11px;padding:12px;background:rgba(18,52,77,.72);border-color:rgba(255,255,255,.07)}
.bv-monthly-head{margin-bottom:9px;gap:10px}
.bv-monthly-head h3{font-size:16px;margin:3px 0}
.bv-monthly-head p{font-size:10px}
.bv-monthly-head input{min-height:32px;height:32px;border-radius:7px;font-size:11px}
.bv-monthly-head button{min-height:32px;height:32px;border-radius:7px;padding:0 10px;font-size:10px}
.bv-monthly-grid{gap:7px}
.bv-monthly-grid>div{padding:10px;border-radius:9px}
.bv-monthly-grid span{font-size:8px}
.bv-monthly-grid strong{margin-top:5px;font-size:15px}
.bv-monthly-note{margin-top:8px;font-size:9px}
.bv-exec-footer{margin-top:9px;font-size:9px}
@media(max-width:700px){.bv-financial-date-filter{padding:10px;gap:9px}.bv-financial-date-filter form{gap:6px}.bv-financial-date-filter label{min-width:120px}.bv-financial-date-filter button,.bv-financial-date-filter a{flex:0 0 auto}.bv-exec-hero{padding:12px}.bv-exec-meta{text-align:left;margin-top:6px}}
/* v1.9.3 Salary Management */
.bv-salary-toolbar{display:flex;gap:16px;align-items:flex-end;justify-content:space-between;margin:18px 0}.bv-salary-toolbar form{display:flex;gap:10px;align-items:flex-end}.bv-salary-toolbar label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:700;letter-spacing:.06em}.bv-salary-toolbar input,.bv-salary-table input,.bv-salary-table select{box-sizing:border-box;border:1px solid rgba(148,163,184,.24);border-radius:9px;background:rgba(255,255,255,.05);color:inherit;padding:9px 10px;min-height:38px}.bv-salary-toolbar button,.bv-salary-form button{border:0;border-radius:9px;padding:10px 14px;font-weight:800;cursor:pointer}.bv-salary-kpis{display:flex;gap:10px}.bv-salary-kpis>div{min-width:130px;padding:11px 13px;border-radius:11px;background:rgba(255,255,255,.045);border:1px solid rgba(148,163,184,.16)}.bv-salary-kpis span{display:block;font-size:10px;opacity:.7;font-weight:800;letter-spacing:.08em}.bv-salary-kpis strong{display:block;margin-top:4px;font-size:16px}.bv-salary-notice{margin:12px 0;padding:11px 14px;border-radius:10px;background:rgba(34,197,94,.10);border:1px solid rgba(34,197,94,.22)}.bv-salary-panel{border:1px solid rgba(148,163,184,.16);border-radius:14px;overflow:hidden;background:rgba(255,255,255,.025)}.bv-salary-table-wrap{overflow:auto}.bv-salary-table{width:100%;border-collapse:collapse;min-width:1050px}.bv-salary-table th,.bv-salary-table td{padding:11px 12px;border-top:1px solid rgba(148,163,184,.11);text-align:left;vertical-align:middle}.bv-salary-table th{font-size:10px;letter-spacing:.07em;opacity:.7}.bv-salary-table td strong{display:block}.bv-salary-table td small{display:block;opacity:.58;margin-top:3px}.bv-salary-num{width:110px}.bv-salary-status{min-width:95px}.bv-salary-table td:nth-child(8) input{width:150px}.bv-salary-table .bv-salary-net{white-space:nowrap}.bv-salary-page .bv-unified-actions{margin-top:14px}.bv-salary-page .bv-panel-head{padding:16px}.bv-salary-page .empty{text-align:center;padding:28px;opacity:.65}@media(max-width:900px){.bv-salary-toolbar{display:block}.bv-salary-toolbar form{margin-bottom:12px}.bv-salary-kpis{overflow:auto}.bv-salary-kpis>div{min-width:115px}.bv-salary-table{min-width:1000px}}

/* v1.9.7 — Company Part Stack layout correction + cache bump */
.bv-company-stack-dashboard-body{display:grid!important;grid-template-columns:150px minmax(0,1fr)!important;gap:8px!important;align-items:stretch!important;}
.bv-stack-dashboard-details{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;min-width:0!important;}
.bv-stack-dashboard-details>div{min-width:0!important;}

/* v1.9.6 — Executive Dashboard + Company Part Stack visual polish */
.bv-exec-dashboard{margin-top:10px!important;padding:18px!important;border-radius:16px!important;background:#0d263b!important;border:1px solid rgba(112,160,196,.16)!important;box-shadow:0 12px 30px rgba(0,0,0,.12)!important}
.bv-exec-head{margin-bottom:8px!important}.bv-exec-head h2{font-size:20px!important}.bv-exec-head p{font-size:10px!important}.bv-exec-head button{padding:6px 10px!important;font-size:9px!important}
.bv-financial-date-filter{margin:8px 0!important;padding:9px 11px!important;border-radius:10px!important;background:#12344d!important}
.bv-exec-hero{margin-top:8px!important;padding:11px 13px!important;border-radius:10px!important}.bv-exec-hero strong{font-size:22px!important}
.bv-exec-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin-top:7px!important}.bv-exec-card{padding:10px 11px!important;border-radius:9px!important;min-height:0!important}.bv-exec-card-title{font-size:8px!important}.bv-exec-card>strong{font-size:17px!important;margin:3px 0 6px!important}.bv-exec-card-meta{gap:2px!important}.bv-exec-card-meta span{font-size:8px!important}
.bv-company-stack-dashboard{margin-top:9px!important;padding:10px 11px!important;border-radius:11px!important;background:linear-gradient(135deg,#102e47,#0c2438)!important;border:1px solid rgba(224,182,83,.20)!important;box-shadow:none!important}
.bv-company-stack-dashboard-head{min-height:30px!important;gap:10px!important}.bv-company-stack-dashboard-head>div{gap:7px!important}.bv-company-stack-dashboard-head .bv-section-label{font-size:7px!important;color:#63b0e7!important}.bv-company-stack-dashboard-head h3{font-size:13px!important;color:#f1f6fa!important}.bv-company-stack-dashboard-head a{padding:6px 9px!important;font-size:7px!important;background:rgba(224,182,83,.07)!important}
.bv-company-stack-dashboard-body{grid-template-columns:150px 1fr!important;gap:7px!important;margin-top:7px!important}.bv-stack-dashboard-total{min-height:50px!important;padding:8px 10px!important;border-radius:8px!important;background:linear-gradient(135deg,rgba(224,182,83,.12),rgba(224,182,83,.035))!important}.bv-stack-dashboard-total span{font-size:6px!important}.bv-stack-dashboard-total strong{font-size:16px!important;margin-top:3px!important}
.bv-stack-dashboard-details{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}.bv-stack-dashboard-details>div{min-height:50px!important;padding:7px 8px!important;border-radius:8px!important;background:rgba(18,55,80,.68)!important}.bv-stack-dashboard-details span{font-size:7px!important;color:#82a4ba!important}.bv-stack-dashboard-details b{font-size:8px!important;margin-top:3px!important}
.bv-monthly-performance{margin-top:9px!important;padding:11px!important;border-radius:10px!important}.bv-monthly-head{margin-bottom:7px!important}.bv-monthly-head h3{font-size:14px!important}.bv-monthly-head p{font-size:9px!important}.bv-monthly-grid{gap:6px!important}.bv-monthly-grid>div{padding:8px!important;border-radius:8px!important}.bv-monthly-grid strong{font-size:14px!important}
@media(max-width:1050px){.bv-company-stack-dashboard-body{grid-template-columns:1fr!important}.bv-stack-dashboard-details{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:800px){.bv-exec-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bv-stack-dashboard-details{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.bv-exec-dashboard{padding:12px!important}.bv-exec-grid{grid-template-columns:1fr!important}.bv-stack-dashboard-details{grid-template-columns:1fr 1fr!important}.bv-company-stack-dashboard-head{align-items:flex-start!important}}


/* v1.9.8 — Executive dashboard / Company Part Stack premium compact refinement
   Keeps all existing data, routes and database tables backward-compatible. */
.bv-exec-dashboard{
  --bv-bg:#091d2e;--bv-panel:#102f47;--bv-panel2:#123852;--bv-gold:#e2b84f;
  --bv-blue:#65b6e8;--bv-text:#eef5f9;--bv-muted:#7894a8;
  background:linear-gradient(180deg,#0a2134 0%,#0a1f31 100%)!important;
  border:1px solid rgba(103,165,205,.18)!important;
  box-shadow:0 18px 45px rgba(0,0,0,.16)!important;
}
.bv-exec-head{padding:0 2px 2px!important}
.bv-exec-head h2{font-size:21px!important;letter-spacing:-.02em!important}
.bv-exec-head p{color:#88a1b3!important}
.bv-financial-date-filter{
  background:linear-gradient(90deg,#102f47,#113750)!important;
  border:1px solid rgba(102,164,203,.16)!important;
}
.bv-exec-hero{
  background:linear-gradient(100deg,#123a57 0%,#153f5c 55%,#12344d 100%)!important;
  border:1px solid rgba(101,182,232,.14)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.025)!important;
}
.bv-exec-hero strong{font-size:24px!important;letter-spacing:-.02em!important}
.bv-exec-grid{gap:8px!important}
.bv-exec-card{
  background:linear-gradient(145deg,#123650,#143b56)!important;
  border:1px solid rgba(101,182,232,.12)!important;
  box-shadow:none!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease!important;
}
.bv-exec-card:hover{transform:translateY(-1px);border-color:rgba(101,182,232,.25)!important;background:#153e59!important}
.bv-exec-card-title{color:#a9bfce!important;font-weight:800!important}
.bv-exec-card>strong{color:#f4f8fb!important}
.bv-exec-card-meta span{color:#7592a6!important}
.bv-exec-card-meta b{color:#d8e5ed!important}

/* Company Part Stack dashboard: compact, information-dense executive card. */
.bv-company-stack-dashboard{
  margin-top:10px!important;padding:12px 13px!important;border-radius:13px!important;
  background:linear-gradient(135deg,#0e2a40 0%,#102f47 52%,#0c263a 100%)!important;
  border:1px solid rgba(226,184,79,.24)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.025),0 8px 24px rgba(0,0,0,.08)!important;
}
.bv-company-stack-dashboard-head{align-items:center!important;min-height:0!important}
.bv-company-stack-dashboard-head h3{font-size:14px!important;margin:3px 0!important;color:#f3f7fa!important}
.bv-company-stack-dashboard-head p{font-size:8px!important;color:#7896a9!important}
.bv-company-stack-dashboard-head .bv-section-label{font-size:7px!important;color:#6bb9e9!important}
.bv-company-stack-dashboard-head a{
  padding:6px 9px!important;border-radius:7px!important;font-size:7px!important;
  color:#e6bd55!important;background:rgba(226,184,79,.08)!important;
  border:1px solid rgba(226,184,79,.22)!important;
}
.bv-company-stack-dashboard-body{
  display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;gap:8px!important;
  margin-top:9px!important;align-items:stretch!important;
}
.bv-stack-dashboard-total{
  min-height:54px!important;padding:9px 11px!important;border-radius:9px!important;
  background:linear-gradient(145deg,rgba(226,184,79,.14),rgba(226,184,79,.035))!important;
  border:1px solid rgba(226,184,79,.14)!important;
}
.bv-stack-dashboard-total span{font-size:6px!important;color:#bd9c4e!important;letter-spacing:.14em!important}
.bv-stack-dashboard-total strong{font-size:18px!important;line-height:1!important;margin-top:5px!important;color:#fff!important}
.bv-stack-dashboard-details{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
.bv-stack-dashboard-details>div{
  min-height:54px!important;padding:8px 9px!important;border-radius:9px!important;
  background:rgba(18,55,80,.62)!important;border:1px solid rgba(101,165,203,.10)!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;gap:3px!important;
}
.bv-stack-dashboard-details>div:hover{background:rgba(22,64,91,.78)!important;border-color:rgba(101,182,232,.17)!important}
.bv-stack-dashboard-details span{font-size:7px!important;color:#7f9aac!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bv-stack-dashboard-details b{font-size:9px!important;color:#e5edf2!important;line-height:1.15!important;text-align:left!important}

/* Monthly panel: remove the legacy dark-on-dark heading and keep it compact. */
.bv-monthly-performance{
  background:linear-gradient(135deg,#102f47,#0f2c43)!important;
  border:1px solid rgba(101,165,203,.13)!important;
  padding:12px!important;border-radius:12px!important;
}
.bv-monthly-head h3{color:#eaf2f7!important;font-size:14px!important}
.bv-monthly-head p{color:#7895a8!important}
.bv-monthly-grid>div{background:rgba(19,58,84,.76)!important;border-color:rgba(101,165,203,.10)!important}
.bv-monthly-grid strong{color:#f2f7fa!important}
.bv-monthly-note{color:#7e99ab!important}

@media(max-width:1050px){
  .bv-company-stack-dashboard-body{grid-template-columns:1fr!important}
  .bv-stack-dashboard-details{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:800px){
  .bv-exec-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .bv-stack-dashboard-details{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .bv-exec-dashboard{padding:12px!important}
  .bv-exec-grid{grid-template-columns:1fr!important}
  .bv-stack-dashboard-details{grid-template-columns:1fr 1fr!important}
  .bv-company-stack-dashboard-head{align-items:flex-start!important}
}


/* v1.10.0 — Company Part Stack: larger, clearer executive typography */
.bv-company-stack-dashboard{
  margin-top:7px!important;
  padding:11px 13px!important;
  border-radius:12px!important;
}
.bv-company-stack-dashboard-head{
  min-height:34px!important;
  gap:12px!important;
}
.bv-company-stack-dashboard-head>div{gap:9px!important}
.bv-company-stack-dashboard-head .bv-section-label{
  font-size:9px!important;
  letter-spacing:.14em!important;
}
.bv-company-stack-dashboard-head h3{
  font-size:18px!important;
  line-height:1.1!important;
}
.bv-company-stack-dashboard-head a{
  padding:7px 10px!important;
  font-size:9px!important;
}
.bv-company-stack-dashboard-body{
  grid-template-columns:190px minmax(0,1fr)!important;
  gap:8px!important;
  margin-top:6px!important;
}
.bv-stack-dashboard-total{
  min-height:62px!important;
  padding:10px 12px!important;
  border-radius:9px!important;
}
.bv-stack-dashboard-total span{
  font-size:8px!important;
  letter-spacing:.13em!important;
}
.bv-stack-dashboard-total strong{
  font-size:24px!important;
  line-height:1!important;
  margin-top:6px!important;
}
.bv-stack-dashboard-details{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
}
.bv-stack-dashboard-details>div{
  min-height:62px!important;
  padding:9px 10px!important;
  border-radius:9px!important;
  gap:5px!important;
}
.bv-stack-dashboard-details span{
  font-size:10px!important;
  line-height:1.15!important;
  color:#9ab1c0!important;
  white-space:normal!important;
}
.bv-stack-dashboard-details b{
  font-size:14px!important;
  line-height:1.15!important;
  color:#f0f6fa!important;
}
@media(max-width:1050px){
  .bv-company-stack-dashboard-body{grid-template-columns:190px minmax(0,1fr)!important}
}
@media(max-width:800px){
  .bv-company-stack-dashboard-body{grid-template-columns:1fr!important}
  .bv-stack-dashboard-details{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .bv-stack-dashboard-details{grid-template-columns:1fr 1fr!important}
  .bv-company-stack-dashboard-head h3{font-size:16px!important}
}


/* v1.12.0 — Company Part Stack page: premium compact executive UI.
   UI-only refinement. No data/schema changes. */
.bv-company-stack-page{
  --cps-bg:#071a2b;
  --cps-panel:#0f2d45;
  --cps-panel-2:#123750;
  --cps-panel-3:#10263b;
  --cps-border:rgba(108,169,210,.16);
  --cps-border-strong:rgba(226,184,79,.28);
  --cps-gold:#e3bb58;
  --cps-blue:#66b8e9;
  --cps-text:#f1f6fa;
  --cps-muted:#8ea7b9;
  --cps-soft:#6f899d;
  color:var(--cps-text);
  margin-top:10px;
  max-width:100%;
}
.bv-company-stack-page *{box-sizing:border-box}
.bv-company-stack-page button,
.bv-company-stack-page input,
.bv-company-stack-page select,
.bv-company-stack-page textarea{font-family:inherit}

/* Hero */
.bv-company-stack-page .bv-stack-head{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:18px!important;
  margin:0 0 10px!important;
  padding:18px 20px!important;
  border:1px solid var(--cps-border)!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#0f2d45 0%,#102f47 58%,#0b2438 100%)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.10)!important;
}
.bv-company-stack-page .bv-stack-head h2{
  margin:4px 0 3px!important;color:var(--cps-text)!important;
  font-size:22px!important;line-height:1.1!important;letter-spacing:-.02em!important;
}
.bv-company-stack-page .bv-stack-head p{
  margin:0!important;color:var(--cps-muted)!important;font-size:10px!important;line-height:1.45!important;
}
.bv-company-stack-page .bv-stack-head .bv-section-label,
.bv-company-stack-page .bv-panel-head .bv-section-label,
.bv-company-stack-page .bv-stack-action-card>div span,
.bv-company-stack-page .bv-faulty-toolbar span{
  color:var(--cps-blue)!important;font-size:8px!important;font-weight:900!important;
  letter-spacing:.13em!important;text-transform:uppercase!important;
}
.bv-company-stack-page .bv-stack-total{
  min-width:190px!important;padding:12px 15px!important;border-radius:11px!important;
  border:1px solid rgba(226,184,79,.20)!important;
  background:linear-gradient(145deg,rgba(226,184,79,.13),rgba(226,184,79,.035))!important;
  text-align:right!important;
}
.bv-company-stack-page .bv-stack-total span{display:block;color:#c6a557!important;font-size:7px!important;font-weight:900!important;letter-spacing:.13em!important}
.bv-company-stack-page .bv-stack-total strong{display:block;margin-top:4px!important;color:#fff!important;font-size:22px!important;line-height:1!important}
.bv-company-stack-page .bv-stack-total small{display:block;margin-top:4px!important;color:#7992a5!important;font-size:8px!important}

/* Notices */
.bv-company-stack-page .bv-stack-notice{
  margin:0 0 10px!important;padding:10px 13px!important;border-radius:9px!important;
  border:1px solid rgba(90,195,142,.18)!important;background:rgba(40,125,88,.10)!important;
  color:#a8dfc3!important;font-size:10px!important;font-weight:700!important;
}
.bv-company-stack-page .bv-stack-notice.is-error{border-color:rgba(231,111,111,.22)!important;background:rgba(160,50,50,.10)!important;color:#f1aaaa!important}

/* Summary */
.bv-company-stack-page .bv-stack-summary-grid{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin:0 0 10px!important;
}
.bv-company-stack-page .bv-stack-summary-grid>div{
  min-width:0!important;min-height:72px!important;padding:12px 13px!important;
  border:1px solid var(--cps-border)!important;border-radius:11px!important;
  background:linear-gradient(145deg,#123650,#102f47)!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;
  transition:transform .16s ease,border-color .16s ease,background .16s ease!important;
}
.bv-company-stack-page .bv-stack-summary-grid>div:hover{transform:translateY(-1px);border-color:rgba(101,182,232,.28)!important;background:#143b56!important}
.bv-company-stack-page .bv-stack-summary-grid span{display:block!important;color:#8fa7b8!important;font-size:8px!important;font-weight:900!important;letter-spacing:.08em!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bv-company-stack-page .bv-stack-summary-grid strong{display:block!important;margin-top:6px!important;color:#f4f8fb!important;font-size:18px!important;line-height:1!important}
.bv-company-stack-page .bv-stack-summary-grid small{display:block!important;margin-top:5px!important;color:#718a9d!important;font-size:8px!important;line-height:1.25!important}
.bv-company-stack-page .bv-stack-summary-grid .faulty{border-color:rgba(226,154,83,.17)!important;background:linear-gradient(145deg,#17364b,#102d43)!important}

/* Quick actions */
.bv-company-stack-page .bv-stack-action-grid{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin:0 0 10px!important;
}
.bv-company-stack-page .bv-stack-action-card{
  min-width:0!important;position:relative!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;column-gap:10px!important;align-items:start!important;
  padding:12px!important;border:1px solid var(--cps-border)!important;border-radius:11px!important;
  background:rgba(15,45,69,.86)!important;box-shadow:none!important;
  transition:transform .16s ease,border-color .16s ease,background .16s ease!important;
}
.bv-company-stack-page .bv-stack-action-card:hover{transform:translateY(-1px);border-color:rgba(101,182,232,.25)!important;background:#123750!important}
.bv-company-stack-page .bv-stack-action-icon{
  width:34px!important;height:34px!important;border-radius:10px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  background:rgba(101,182,232,.10)!important;border:1px solid rgba(101,182,232,.14)!important;color:#72c2ee!important;font-size:14px!important;font-weight:900!important;
  grid-row:1/3!important;
}
.bv-company-stack-page .bv-stack-action-card:nth-child(1) .bv-stack-action-icon{color:#c69cf3!important;background:rgba(166,111,231,.10)!important;border-color:rgba(166,111,231,.15)!important}
.bv-company-stack-page .bv-stack-action-card:nth-child(2) .bv-stack-action-icon{color:#67d0ae!important;background:rgba(72,187,143,.10)!important;border-color:rgba(72,187,143,.15)!important}
.bv-company-stack-page .bv-stack-action-card:nth-child(3) .bv-stack-action-icon{color:#e8a16a!important;background:rgba(224,139,77,.10)!important;border-color:rgba(224,139,77,.15)!important}
.bv-company-stack-page .bv-stack-action-card:nth-child(4) .bv-stack-action-icon{color:#75b9e7!important}
.bv-company-stack-page .bv-stack-action-card h3{margin:3px 0 3px!important;color:#edf4f8!important;font-size:13px!important;line-height:1.15!important}
.bv-company-stack-page .bv-stack-action-card p{margin:0!important;color:#7894a7!important;font-size:8px!important;line-height:1.35!important}
.bv-company-stack-page .bv-stack-action-card>button{
  grid-column:2!important;margin-top:9px!important;justify-self:start!important;height:29px!important;padding:0 10px!important;
  border:1px solid rgba(226,184,79,.24)!important;border-radius:7px!important;background:rgba(226,184,79,.09)!important;
  color:#e8c35f!important;font-size:8px!important;font-weight:900!important;cursor:pointer!important;
  transition:background .16s ease,border-color .16s ease,transform .16s ease!important;
}
.bv-company-stack-page .bv-stack-action-card>button:hover{background:rgba(226,184,79,.17)!important;border-color:rgba(226,184,79,.38)!important;transform:translateY(-1px)}

/* Register */
.bv-company-stack-page .bv-stack-panel{
  margin-top:0!important;padding:14px!important;border:1px solid var(--cps-border)!important;border-radius:13px!important;
  background:linear-gradient(145deg,#0f2c43,#0d263b)!important;overflow:hidden!important;
}
.bv-company-stack-page .bv-panel-head{
  display:flex!important;justify-content:space-between!important;align-items:center!important;gap:14px!important;
  margin-bottom:10px!important;padding-bottom:10px!important;border-bottom:1px solid rgba(108,169,210,.10)!important;
}
.bv-company-stack-page .bv-panel-head h3{margin:3px 0!important;color:#f1f6fa!important;font-size:16px!important}
.bv-company-stack-page .bv-panel-head .bv-subtext{margin:0!important;color:#718b9f!important;font-size:8px!important;line-height:1.35!important}
.bv-company-stack-page .bv-panel-head form{display:flex!important;align-items:end!important;gap:7px!important;flex:0 0 auto!important}
.bv-company-stack-page .bv-panel-head label{display:flex!important;flex-direction:column!important;gap:3px!important;color:#7893a7!important;font-size:7px!important;font-weight:900!important;letter-spacing:.08em!important}
.bv-company-stack-page .bv-panel-head input{
  width:135px!important;height:31px!important;padding:0 8px!important;border:1px solid rgba(108,169,210,.15)!important;border-radius:7px!important;
  background:#102f47!important;color:#edf4f8!important;font-size:9px!important;outline:none!important;
}
.bv-company-stack-page .bv-panel-head button{
  height:31px!important;padding:0 11px!important;border:0!important;border-radius:7px!important;background:#e2b84f!important;color:#142436!important;font-size:8px!important;font-weight:900!important;cursor:pointer!important;
}
.bv-company-stack-page .bv-stack-table-wrap{overflow:auto!important}
.bv-company-stack-page .bv-stack-table{width:100%!important;min-width:780px!important;border-collapse:separate!important;border-spacing:0!important}
.bv-company-stack-page .bv-stack-table th{
  padding:8px 9px!important;border-bottom:1px solid rgba(108,169,210,.14)!important;color:#7691a5!important;
  font-size:7px!important;font-weight:900!important;letter-spacing:.08em!important;text-align:left!important;white-space:nowrap!important;
}
.bv-company-stack-page .bv-stack-table td{
  padding:10px 9px!important;border-bottom:1px solid rgba(108,169,210,.08)!important;color:#b9cad6!important;font-size:9px!important;vertical-align:middle!important;
}
.bv-company-stack-page .bv-stack-table tbody tr:hover td{background:rgba(18,55,80,.32)!important}
.bv-company-stack-page .bv-stack-table td b{color:#edf4f8!important}
.bv-company-stack-page .bv-stack-cat{display:inline-flex!important;align-items:center!important;gap:6px!important;white-space:nowrap!important}
.bv-company-stack-page .bv-stack-cat i{font-style:normal!important;color:#e3bb58!important}
.bv-company-stack-page .bv-stack-mini-lines{display:flex!important;flex-direction:column!important;gap:2px!important;margin-top:4px!important;color:#718a9d!important;font-size:7px!important}
.bv-company-stack-page .bv-stack-table td small{display:block!important;margin-top:3px!important;color:#6f899d!important;font-size:7px!important}
.bv-company-stack-page .bv-stack-status{display:inline-flex!important;padding:4px 7px!important;border-radius:999px!important;font-size:6px!important;font-weight:900!important;letter-spacing:.06em!important}
.bv-company-stack-page .bv-stack-status.held{background:rgba(75,191,139,.10)!important;border:1px solid rgba(75,191,139,.18)!important;color:#8ed8b5!important}
.bv-company-stack-page .bv-stack-status.released{background:rgba(120,145,165,.10)!important;border:1px solid rgba(120,145,165,.16)!important;color:#9aabba!important}
.bv-company-stack-page .bv-stack-release{height:26px!important;padding:0 8px!important;border:1px solid rgba(226,184,79,.22)!important;border-radius:7px!important;background:rgba(226,184,79,.08)!important;color:#e4bf5b!important;font-size:7px!important;font-weight:900!important;cursor:pointer!important}
.bv-company-stack-page .bv-stack-view-only{color:#718a9c!important;font-size:7px!important;font-weight:800!important}
.bv-company-stack-page .empty{text-align:center!important;padding:28px 12px!important;color:#7893a6!important}

/* Modal */
.bv-stack-modal[hidden]{display:none!important}
.bv-stack-modal{position:fixed!important;inset:0!important;z-index:99999!important;display:grid!important;place-items:center!important;padding:18px!important}
.bv-stack-modal-backdrop{position:absolute!important;inset:0!important;background:rgba(3,12,22,.78)!important;backdrop-filter:blur(5px)!important}
.bv-stack-modal-card{
  position:relative!important;width:min(720px,100%)!important;max-height:calc(100vh - 36px)!important;overflow:auto!important;
  padding:18px!important;border:1px solid rgba(101,182,232,.18)!important;border-radius:14px!important;
  background:linear-gradient(145deg,#102f47,#0b2539)!important;box-shadow:0 24px 70px rgba(0,0,0,.38)!important;
  animation:bvCpsModalIn .16s ease-out!important;
}
@keyframes bvCpsModalIn{from{opacity:0;transform:translateY(6px) scale(.99)}to{opacity:1;transform:none}}
.bv-company-stack-page .bv-stack-modal-card h3{margin:4px 0!important;color:#f3f7fa!important;font-size:20px!important}
.bv-stack-modal-head>span{color:#66b8e9!important;font-size:8px!important;font-weight:900!important;letter-spacing:.13em!important}
.bv-stack-modal-head p{margin:0 0 14px!important;color:#7894a7!important;font-size:9px!important}
.bv-stack-modal-close{position:absolute!important;top:10px!important;right:10px!important;width:30px!important;height:30px!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:8px!important;background:rgba(255,255,255,.04)!important;color:#b8c9d5!important;font-size:18px!important;cursor:pointer!important}
.bv-company-stack-page .bv-stack-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.bv-company-stack-page .bv-stack-form-grid label{display:flex!important;flex-direction:column!important;gap:5px!important;color:#9bb0bf!important;font-size:8px!important;font-weight:800!important}
.bv-company-stack-page .bv-stack-form-grid input,.bv-company-stack-page .bv-stack-form-grid textarea{
  width:100%!important;min-height:38px!important;padding:8px 10px!important;border:1px solid rgba(108,169,210,.15)!important;border-radius:8px!important;
  background:#0d2940!important;color:#eef5f9!important;outline:none!important;font-size:10px!important;
}
.bv-company-stack-page .bv-stack-form-grid textarea{resize:vertical!important;min-height:78px!important}
.bv-company-stack-page .bv-stack-form-grid label:nth-child(4),.bv-company-stack-page .bv-stack-form-grid label:nth-child(5){grid-column:1/-1!important}
.bv-company-stack-page .bv-faulty-fields{margin-top:12px!important;padding:12px!important;border:1px solid rgba(108,169,210,.12)!important;border-radius:10px!important;background:rgba(7,24,38,.28)!important}
.bv-company-stack-page .bv-faulty-toolbar{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;margin-bottom:9px!important}
.bv-company-stack-page .bv-faulty-toolbar p{margin:3px 0 0!important;color:#708b9e!important;font-size:8px!important}
.bv-company-stack-page .bv-faulty-toolbar button{height:29px!important;padding:0 10px!important;border:1px solid rgba(101,182,232,.20)!important;border-radius:7px!important;background:rgba(101,182,232,.08)!important;color:#79c3ec!important;font-size:8px!important;font-weight:900!important;cursor:pointer!important}
.bv-company-stack-page .bv-faulty-head,.bv-company-stack-page .bv-faulty-row{display:grid!important;grid-template-columns:1.8fr 1fr 1fr 1fr 28px!important;gap:7px!important;align-items:center!important}
.bv-company-stack-page .bv-faulty-head{padding:0 2px 5px!important;color:#718a9e!important;font-size:7px!important;font-weight:900!important;letter-spacing:.07em!important}
.bv-company-stack-page .bv-faulty-row{padding:7px 0!important;border-top:1px solid rgba(108,169,210,.07)!important}
.bv-company-stack-page .bv-faulty-row select,.bv-company-stack-page .bv-faulty-row input{width:100%!important;height:34px!important;padding:0 8px!important;border:1px solid rgba(108,169,210,.13)!important;border-radius:7px!important;background:#0e2c43!important;color:#eef5f9!important;font-size:9px!important;outline:none!important}
.bv-company-stack-page .bv-faulty-code,.bv-company-stack-page .bv-faulty-price{color:#a8bbc7!important;font-size:8px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.bv-company-stack-page .bv-remove-faulty{width:28px!important;height:28px!important;border:1px solid rgba(232,111,111,.16)!important;border-radius:7px!important;background:rgba(232,111,111,.06)!important;color:#e8a4a4!important;font-size:14px!important;cursor:pointer!important}
.bv-company-stack-page .bv-stack-form-actions{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;margin-top:14px!important;padding-top:12px!important;border-top:1px solid rgba(108,169,210,.10)!important}
.bv-company-stack-page .bv-stack-form-actions span{color:#6f899d!important;font-size:8px!important}
.bv-company-stack-page .bv-stack-form-actions button{height:34px!important;padding:0 14px!important;border:0!important;border-radius:8px!important;background:#e2b84f!important;color:#142436!important;font-size:8px!important;font-weight:900!important;cursor:pointer!important}
.bv-stack-modal-open{overflow:hidden!important}

@media(max-width:980px){
  .bv-company-stack-page .bv-stack-summary-grid,.bv-company-stack-page .bv-stack-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  .bv-company-stack-page .bv-stack-head{align-items:flex-start!important;flex-direction:column!important}
  .bv-company-stack-page .bv-stack-total{width:100%!important;text-align:left!important}
  .bv-company-stack-page .bv-panel-head{align-items:flex-start!important;flex-direction:column!important}
  .bv-company-stack-page .bv-panel-head form{width:100%!important}
  .bv-company-stack-page .bv-panel-head input{flex:1!important;width:auto!important}
}
@media(max-width:560px){
  .bv-company-stack-page .bv-stack-summary-grid,.bv-company-stack-page .bv-stack-action-grid{grid-template-columns:1fr!important}
  .bv-company-stack-page .bv-stack-head{padding:15px!important}
  .bv-company-stack-page .bv-stack-form-grid{grid-template-columns:1fr!important}
  .bv-company-stack-page .bv-stack-form-grid label:nth-child(4),.bv-company-stack-page .bv-stack-form-grid label:nth-child(5){grid-column:auto!important}
  .bv-company-stack-page .bv-faulty-head{display:none!important}
  .bv-company-stack-page .bv-faulty-row{grid-template-columns:1fr 1fr 28px!important}
  .bv-company-stack-page .bv-faulty-row select{grid-column:1/-1!important}
  .bv-company-stack-page .bv-faulty-code{display:none!important}
}
/* v1.14.0 - Company Part Stack release info, clickable VIEW and report UI */
.bv-company-stack-page .bv-stack-panel-actions{display:flex;gap:8px;align-items:center}
.bv-company-stack-page .bv-stack-pdf,.bv-company-stack-page .bv-stack-view{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 10px;border-radius:7px;text-decoration:none;font-size:8px;font-weight:900;cursor:pointer}
.bv-company-stack-page .bv-stack-pdf{background:#e2b84f;color:#112436;border:1px solid #e2b84f}.bv-company-stack-page .bv-stack-view{background:rgba(101,182,232,.08);color:#86c9ef;border:1px solid rgba(101,182,232,.22)}
.bv-company-stack-page .bv-stack-row-actions{display:flex;align-items:center;gap:6px}.bv-company-stack-page .bv-stack-row-actions form{margin:0}
.bv-company-stack-page .bv-faulty-release-line{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:14px;align-items:center;padding:11px 0;border-bottom:1px solid rgba(108,169,210,.10)}
.bv-company-stack-page .bv-faulty-release-line strong{display:block;color:#edf5f9;font-size:11px}.bv-company-stack-page .bv-faulty-release-line small{display:block;margin-top:4px;color:#7894a7;font-size:8px}.bv-company-stack-page .bv-faulty-release-line label{display:flex;flex-direction:column;gap:5px;color:#a9bdca;font-size:8px;font-weight:800}.bv-company-stack-page .bv-faulty-release-line input{height:36px;padding:0 9px;border:1px solid rgba(108,169,210,.18);border-radius:8px;background:#0b263c;color:#f1f6fa}
.bv-company-stack-page .bv-stack-view-card{width:min(700px,100%)}.bv-company-stack-page .bv-view-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.bv-company-stack-page .bv-view-grid>div,.bv-company-stack-page .bv-view-note,.bv-company-stack-page .bv-release-history>div{padding:10px;border-radius:9px;background:rgba(18,55,80,.66);border:1px solid rgba(101,182,232,.11)}.bv-company-stack-page .bv-view-grid span,.bv-company-stack-page .bv-view-note span{display:block;color:#7f99aa;font-size:8px;font-weight:800}.bv-company-stack-page .bv-view-grid b,.bv-company-stack-page .bv-view-note b{display:block;margin-top:5px;color:#eef5f9;font-size:11px}.bv-company-stack-page .bv-view-note{margin-top:8px}.bv-company-stack-page .bv-view-note p{margin:7px 0 0;color:#8ea7b7;font-size:9px}.bv-company-stack-page .bv-stack-view-card h4{margin:14px 0 7px;color:#e5bd59;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.bv-company-stack-page .bv-release-history{display:grid;gap:6px}.bv-company-stack-page .bv-release-history>div{display:flex;justify-content:space-between;gap:12px}.bv-company-stack-page .bv-release-history b{color:#edf5f9;font-size:9px}.bv-company-stack-page .bv-release-history span{color:#8ca5b5;font-size:8px;text-align:right}
@media(max-width:700px){.bv-company-stack-page .bv-view-grid{grid-template-columns:repeat(2,1fr)}.bv-company-stack-page .bv-faulty-release-line{grid-template-columns:1fr}.bv-company-stack-page .bv-release-history>div{display:block}.bv-company-stack-page .bv-release-history span{display:block;text-align:left;margin-top:4px}}
/* v1.15.0 — Month-End Commission / ROI posting */
.bv-month-commission-page{display:flex;flex-direction:column;gap:12px}.bv-month-commission-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 18px;border:1px solid rgba(104,169,211,.15);border-radius:14px;background:linear-gradient(135deg,#102f47,#0c263a)}.bv-month-commission-hero h2{margin:4px 0;color:#f3f8fb;font-size:22px}.bv-month-commission-hero p{margin:0;color:#829eaf;font-size:9px}.bv-mc-total{min-width:180px;padding:11px 13px;border:1px solid rgba(226,184,79,.18);border-radius:10px;background:rgba(226,184,79,.07)}.bv-mc-total span{display:block;color:#b99a51;font-size:7px;font-weight:900;letter-spacing:.13em}.bv-mc-total strong{display:block;margin-top:5px;color:#fff;font-size:21px}.bv-mc-grid{display:grid;grid-template-columns:330px minmax(0,1fr);gap:12px}.bv-mc-form,.bv-mc-register{padding:15px;border:1px solid rgba(104,169,211,.14);border-radius:13px;background:linear-gradient(145deg,#102f47,#0d293f)}.bv-mc-form{display:flex;flex-direction:column;gap:10px}.bv-mc-form label{display:flex;flex-direction:column;gap:5px;color:#9eb4c2;font-size:8px;font-weight:800}.bv-mc-form input,.bv-mc-form textarea{width:100%;padding:9px 10px;border:1px solid rgba(104,169,211,.18);border-radius:8px;background:#0a2438;color:#f0f6fa;font-size:10px;outline:none}.bv-mc-form textarea{resize:vertical}.bv-mc-form>button{height:38px;border:0;border-radius:8px;background:#e2b84f;color:#132536;font-size:9px;font-weight:950;cursor:pointer}.bv-mc-form>small{color:#708d9f;font-size:7px;line-height:1.4}.bv-mc-register table{width:100%;border-collapse:collapse}.bv-mc-register th{padding:8px;color:#6f8ea2;font-size:7px;text-align:left;border-bottom:1px solid rgba(104,169,211,.12)}.bv-mc-register td{padding:10px 8px;color:#cbd9e2;font-size:8px;border-bottom:1px solid rgba(104,169,211,.08);vertical-align:middle}.bv-mc-register td strong{color:#f3f7fa;font-size:10px}.bv-mc-register td:last-child{display:flex;align-items:center;gap:5px}.bv-mc-register td:last-child form{margin:0}.bv-mc-edit,.bv-mc-register td button{display:inline-flex;padding:5px 7px;border:1px solid rgba(104,169,211,.18);border-radius:6px;background:rgba(104,169,211,.05);color:#8ec9eb;text-decoration:none;font-size:7px;font-weight:900;cursor:pointer}.bv-mc-register td button{color:#e0a3a3;border-color:rgba(224,120,120,.18)}.bv-mc-roi{display:inline-flex;padding:4px 6px;border-radius:999px;background:rgba(91,190,139,.10);color:#79d7a7;font-size:7px;font-weight:900}.bv-month-commission-page .empty{text-align:center!important;color:#728e9f!important;padding:25px!important}@media(max-width:900px){.bv-mc-grid{grid-template-columns:1fr}.bv-month-commission-hero{align-items:flex-start;flex-direction:column}.bv-mc-total{width:100%}}@media(max-width:560px){.bv-month-commission-hero,.bv-mc-form,.bv-mc-register{padding:12px}.bv-mc-register{overflow-x:auto}.bv-mc-register table{min-width:650px}}

/* v1.15.1 — Actual vs After Retail Commission */
.bv-month-commission-page .bv-mc-deduct-note{display:inline-block!important;margin-left:6px!important;color:#d9b457!important;font-size:7px!important;font-weight:800!important}
.bv-month-commission-page #bv-mc-net[readonly]{background:rgba(226,184,79,.07)!important;border-color:rgba(226,184,79,.24)!important;color:#f1c85e!important;font-weight:900!important;cursor:not-allowed!important}
.bv-month-commission-page .bv-mc-net-amount{color:#f0c65d!important}
.bv-month-commission-page .bv-mc-row-note{display:block!important;margin-top:3px!important;color:#7894a7!important;font-size:7px!important;text-transform:uppercase!important;letter-spacing:.08em!important}

/* v1.15.2 — Multiple Commission In lines -> Actual Commission */
.bv-month-commission-page .bv-mc-lines-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:2px;padding-top:4px}.bv-month-commission-page .bv-mc-lines-head span{display:block;color:#9eb4c2;font-size:8px;font-weight:900}.bv-month-commission-page .bv-mc-lines-head small{display:block;margin-top:3px;color:#6f8c9e;font-size:7px}.bv-month-commission-page #bv-mc-add-line{padding:6px 8px;border:1px solid rgba(104,169,211,.20);border-radius:7px;background:rgba(104,169,211,.07);color:#8fcbed;font-size:7px;font-weight:900;cursor:pointer}.bv-month-commission-page #bv-mc-lines{display:flex;flex-direction:column;gap:6px}.bv-month-commission-page .bv-mc-line{display:grid;grid-template-columns:minmax(0,1fr) 110px 28px;gap:6px}.bv-month-commission-page .bv-mc-line input{min-width:0}.bv-month-commission-page .bv-mc-remove{border:1px solid rgba(224,120,120,.18);border-radius:7px;background:rgba(224,120,120,.06);color:#e3a1a1;font-size:15px;cursor:pointer}.bv-month-commission-page .bv-mc-calc{display:grid;grid-template-columns:1fr 1fr;gap:7px}.bv-month-commission-page .bv-mc-calc>div{padding:10px;border:1px solid rgba(104,169,211,.13);border-radius:9px;background:rgba(10,36,56,.58)}.bv-month-commission-page .bv-mc-calc>div.actual{border-color:rgba(226,184,79,.22);background:rgba(226,184,79,.06)}.bv-month-commission-page .bv-mc-calc span{display:block;color:#7997aa;font-size:7px;font-weight:900;letter-spacing:.08em}.bv-month-commission-page .bv-mc-calc strong{display:block;margin-top:5px;color:#f3f8fb;font-size:15px}.bv-month-commission-page .bv-mc-calc .actual strong{color:#f0c65d}.bv-month-commission-page .bv-mc-calc small{display:block;margin-top:3px;color:#688598;font-size:6px;line-height:1.35}@media(max-width:560px){.bv-month-commission-page .bv-mc-line{grid-template-columns:1fr 90px 28px}.bv-month-commission-page .bv-mc-calc{grid-template-columns:1fr}}

/* v1.15.3 — Month-End Commission visual readability + compact spacing */
.bv-month-commission-page{gap:9px!important;color:#eaf2f7!important}
.bv-month-commission-page .bv-section-label{color:#6fc2f0!important;font-size:8px!important;font-weight:950!important;letter-spacing:.14em!important}
.bv-month-commission-hero{padding:13px 15px!important;gap:12px!important;border-color:rgba(111,194,240,.20)!important;background:linear-gradient(135deg,#123752,#0d2a40)!important}
.bv-month-commission-hero h2{margin:3px 0!important;color:#fff!important;font-size:20px!important;line-height:1.1!important}
.bv-month-commission-hero p{color:#a8bfcd!important;font-size:9px!important;line-height:1.4!important;max-width:680px!important}
.bv-mc-total{min-width:170px!important;padding:9px 12px!important;background:rgba(226,184,79,.09)!important;border-color:rgba(226,184,79,.25)!important}
.bv-mc-total span{color:#e0bd67!important;font-size:8px!important}.bv-mc-total strong{margin-top:4px!important;color:#fff!important;font-size:20px!important}
.bv-mc-grid{grid-template-columns:360px minmax(0,1fr)!important;gap:9px!important;align-items:start!important}
.bv-mc-form,.bv-mc-register{padding:12px!important;border-color:rgba(111,194,240,.18)!important;background:linear-gradient(145deg,#12344d,#0d293f)!important;box-shadow:0 8px 22px rgba(0,0,0,.07)!important}
.bv-mc-form{gap:7px!important}
.bv-mc-form label{gap:4px!important;color:#c2d2dc!important;font-size:9px!important;font-weight:850!important}
.bv-mc-form input,.bv-mc-form textarea{min-height:36px!important;padding:8px 10px!important;border-color:rgba(111,194,240,.25)!important;background:#0a2235!important;color:#f7fbfd!important;font-size:10px!important}
.bv-mc-form input::placeholder,.bv-mc-form textarea::placeholder{color:#708b9d!important;opacity:1!important}
.bv-mc-form input:focus,.bv-mc-form textarea:focus{border-color:rgba(111,194,240,.60)!important;box-shadow:0 0 0 3px rgba(111,194,240,.07)!important}
.bv-mc-form textarea{min-height:58px!important;max-height:95px!important}
.bv-mc-form>button{height:36px!important;margin-top:1px!important;background:#e2b84f!important;color:#102334!important;font-size:9px!important}
.bv-mc-form>small{color:#9bb0bd!important;font-size:7px!important;margin-top:-2px!important}
.bv-month-commission-page .bv-mc-lines-head{margin-top:0!important;padding-top:1px!important}.bv-month-commission-page .bv-mc-lines-head span{color:#d5e2e9!important;font-size:9px!important}.bv-month-commission-page .bv-mc-lines-head small{color:#91a9b8!important;font-size:7px!important}
.bv-month-commission-page #bv-mc-add-line{padding:6px 9px!important;border-color:rgba(111,194,240,.30)!important;background:rgba(111,194,240,.10)!important;color:#a9dcf7!important;font-size:8px!important}
.bv-month-commission-page #bv-mc-lines{gap:5px!important}.bv-month-commission-page .bv-mc-line{grid-template-columns:minmax(0,1fr) 120px 30px!important;gap:5px!important}
.bv-month-commission-page .bv-mc-remove{color:#ffb1b1!important;background:rgba(224,120,120,.09)!important;border-color:rgba(224,120,120,.28)!important}
.bv-month-commission-page .bv-mc-calc{gap:6px!important}.bv-month-commission-page .bv-mc-calc>div{padding:8px 9px!important;background:rgba(7,28,44,.48)!important}.bv-month-commission-page .bv-mc-calc>div.actual{background:rgba(226,184,79,.085)!important;border-color:rgba(226,184,79,.28)!important}
.bv-month-commission-page .bv-mc-calc span{color:#a9bdc9!important;font-size:8px!important}.bv-month-commission-page .bv-mc-calc strong{margin-top:3px!important;color:#fff!important;font-size:17px!important}.bv-month-commission-page .bv-mc-calc .actual strong{color:#f5cf70!important}.bv-month-commission-page .bv-mc-calc small{margin-top:2px!important;color:#8da5b4!important;font-size:7px!important}
.bv-mc-register .bv-panel-head{margin-bottom:5px!important}.bv-mc-register .bv-panel-head h3{margin:3px 0!important;color:#f5f9fb!important;font-size:15px!important}.bv-mc-register .bv-subtext{margin:0!important;color:#94aebd!important;font-size:8px!important}.bv-mc-register .bv-count{color:#b6cad6!important;font-size:8px!important}
.bv-mc-register th{padding:7px 7px!important;color:#9eb6c5!important;font-size:8px!important;background:rgba(7,28,44,.28)!important}.bv-mc-register td{padding:8px 7px!important;color:#dce7ed!important;font-size:9px!important}.bv-mc-register td strong{color:#fff!important;font-size:11px!important}.bv-month-commission-page .bv-mc-row-note{color:#93aab8!important;font-size:7px!important}.bv-month-commission-page .bv-mc-net-amount{color:#f5cf70!important}.bv-mc-roi{color:#8ce1b4!important;background:rgba(91,190,139,.13)!important;font-size:8px!important}.bv-mc-edit{color:#a7ddf8!important}.bv-mc-register td button{color:#ffaaaa!important}
.bv-month-commission-page .empty{color:#9bb0bd!important;padding:18px!important}
@media(max-width:1000px){.bv-mc-grid{grid-template-columns:330px minmax(0,1fr)!important}}
@media(max-width:900px){.bv-mc-grid{grid-template-columns:1fr!important}.bv-month-commission-hero{align-items:flex-start!important}.bv-mc-total{width:100%!important}}
@media(max-width:560px){.bv-month-commission-hero,.bv-mc-form,.bv-mc-register{padding:10px!important}.bv-month-commission-page .bv-mc-line{grid-template-columns:1fr 95px 30px!important}.bv-month-commission-page .bv-mc-calc{grid-template-columns:1fr!important}}

/* v1.15.4 — compact Month-End Commission posting panel */
.bv-month-commission-page{gap:8px!important}
.bv-month-commission-page .bv-mc-form{gap:5px!important;padding:10px 11px!important}
.bv-month-commission-page .bv-mc-form>.bv-panel-head{margin:0 0 1px!important;padding:0!important;min-height:0!important}
.bv-month-commission-page .bv-mc-form>.bv-panel-head h3{margin:2px 0!important;font-size:14px!important;line-height:1.1!important}
.bv-month-commission-page .bv-mc-form>.bv-panel-head .bv-subtext{margin:0!important;font-size:7px!important;line-height:1.25!important}
.bv-month-commission-page .bv-mc-lines-head{margin:0!important;padding:0!important;min-height:27px!important}
.bv-month-commission-page #bv-mc-lines{gap:4px!important}
.bv-month-commission-page .bv-mc-line{min-height:34px!important}
.bv-month-commission-page .bv-mc-calc{margin:0!important}
.bv-month-commission-page .bv-mc-calc>div{padding:7px 9px!important}
.bv-month-commission-page .bv-mc-form textarea{min-height:48px!important}
/* v1.17.0 — Management Report */
.bv-mr-page{display:grid;gap:12px}.bv-mr-hero{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px;border-radius:15px;background:linear-gradient(135deg,#102f47,#0c2539);border:1px solid rgba(224,182,83,.18)}.bv-mr-hero h2{margin:4px 0;color:#f4f8fb;font-size:22px}.bv-mr-hero p{margin:0;color:#7f9aae;font-size:10px}.bv-mr-hero>a{padding:9px 12px;border-radius:9px;background:#e2b84f;color:#102131;text-decoration:none;font-size:9px;font-weight:900}.bv-mr-filter{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding:11px;border-radius:11px;background:#102f47;border:1px solid rgba(101,165,203,.13)}.bv-mr-filter label{display:flex;flex-direction:column;gap:4px;color:#8da6b8;font-size:8px;font-weight:800}.bv-mr-filter input{height:34px;padding:0 9px;border:1px solid #2b4d65;border-radius:8px;background:#0b263c;color:#fff}.bv-mr-filter button{height:34px;padding:0 12px;border:0;border-radius:8px;background:#e2b84f;color:#112233;font-size:8px;font-weight:900}.bv-mr-filter>span{align-self:center;color:#607f94;font-size:8px}.bv-mr-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.bv-mr-kpis>div{padding:12px;border-radius:11px;background:linear-gradient(145deg,#123650,#143b56);border:1px solid rgba(101,182,232,.11)}.bv-mr-kpis span{display:block;color:#8ca6b8;font-size:8px;font-weight:900;letter-spacing:.08em}.bv-mr-kpis strong{display:block;margin:5px 0 2px;color:#f2f7fa;font-size:18px}.bv-mr-kpis small{color:#738ea1;font-size:8px}.bv-mr-panels{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bv-mr-panels>section{padding:14px;border-radius:13px;background:#102f47;border:1px solid rgba(101,165,203,.12)}.bv-mr-line{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid rgba(101,165,203,.09);color:#829caf;font-size:9px}.bv-mr-line:last-child{border-bottom:0}.bv-mr-line b{color:#e8f0f5;font-size:10px}.bv-mr-foot{padding:9px 12px;border-radius:9px;background:rgba(18,52,77,.58);color:#708b9e;font-size:8px;text-align:right}@media(max-width:850px){.bv-mr-kpis{grid-template-columns:repeat(2,1fr)}.bv-mr-panels{grid-template-columns:1fr}}@media(max-width:560px){.bv-mr-hero{align-items:flex-start;flex-direction:column}.bv-mr-kpis{grid-template-columns:1fr}}


/* v1.18.0 — Persistent Light/Dark Theme System */
.bv-theme-toggle{height:34px;padding:0 10px;border-radius:9px;border:1px solid rgba(120,160,195,.18);background:#122f46;color:#dce8ef;display:inline-flex;align-items:center;gap:6px;font-size:9px;font-weight:800;cursor:pointer;transition:.18s ease}.bv-theme-toggle:hover{border-color:rgba(226,184,79,.35);transform:translateY(-1px)}.bv-theme-icon{font-size:13px;line-height:1}.bv-theme-label{letter-spacing:.03em}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)){color-scheme:dark}
.bv-ui-shell[data-theme="light"]{color-scheme:light;--bv-light-bg:#eef3f7;--bv-light-panel:#ffffff;--bv-light-panel2:#f6f9fb;--bv-light-text:#173047;--bv-light-muted:#667d90;--bv-light-line:#dbe5ec;--bv-light-gold:#b98924}
.bv-ui-shell[data-theme="light"] .bv-sidebar{background:linear-gradient(180deg,#f8fafc 0%,#edf3f7 100%)!important;border-right-color:#d6e1e8!important;box-shadow:10px 0 30px rgba(30,58,80,.05)!important}
.bv-ui-shell[data-theme="light"] .bv-brand{border-bottom-color:#dce6ed!important}.bv-ui-shell[data-theme="light"] .bv-brand strong{color:#173047!important}.bv-ui-shell[data-theme="light"] .bv-brand span{color:#718699!important}.bv-ui-shell[data-theme="light"] .bv-brand-mark{background:linear-gradient(135deg,#d6a947,#b97f17)!important;color:#fff!important;box-shadow:0 7px 18px rgba(185,127,23,.15)!important}
.bv-ui-shell[data-theme="light"] .bv-nav-item{color:#536d80!important}.bv-ui-shell[data-theme="light"] .bv-nav-item:hover{background:#e8f0f5!important;color:#173047!important}.bv-ui-shell[data-theme="light"] .bv-nav-item.active{background:linear-gradient(90deg,#fff8e9,#f4ead1)!important;color:#6d4c0d!important;border-color:#ead7a4!important}.bv-ui-shell[data-theme="light"] .bv-nav-icon{color:#6f8798!important}.bv-ui-shell[data-theme="light"] .bv-nav-item.active .bv-nav-icon{color:#b98924!important}
.bv-ui-shell[data-theme="light"] .bv-side-bottom{border-top-color:#d9e4eb!important}.bv-ui-shell[data-theme="light"] .bv-user-chip{background:#fff!important;border-color:#dbe5ec!important}.bv-ui-shell[data-theme="light"] .bv-user-chip b{color:#243d51!important}.bv-ui-shell[data-theme="light"] .bv-user-chip small,.bv-ui-shell[data-theme="light"] .bv-logout{color:#718698!important}
.bv-ui-shell[data-theme="light"] .bv-main{background:radial-gradient(circle at 75% 0%,rgba(84,148,188,.09),transparent 30%),#edf3f7!important}.bv-ui-shell[data-theme="light"] .bv-topbar{background:rgba(255,255,255,.94)!important;border-bottom-color:#dbe5ec!important;box-shadow:0 4px 20px rgba(37,66,88,.04)!important}.bv-ui-shell[data-theme="light"] .bv-top-left h1{color:#173047!important}.bv-ui-shell[data-theme="light"] .bv-eyebrow,.bv-ui-shell[data-theme="light"] .bv-date{color:#6f8596!important}.bv-ui-shell[data-theme="light"] .bv-menu-toggle{background:#e8f0f5!important;color:#28465d!important}.bv-ui-shell[data-theme="light"] .bv-theme-toggle{background:#f7fafc!important;color:#29475d!important;border-color:#d7e3ea!important}
.bv-ui-shell[data-theme="light"] .bv-exec-dashboard,.bv-ui-shell[data-theme="light"] .bv-monthly-performance,.bv-ui-shell[data-theme="light"] .bv-company-stack-dashboard,.bv-ui-shell[data-theme="light"] .bv-audit-control,.bv-ui-shell[data-theme="light"] .bv-backup-center,.bv-ui-shell[data-theme="light"] .bv-management-report,.bv-ui-shell[data-theme="light"] .bv-roi-dashboard,.bv-ui-shell[data-theme="light"] .bv-company-stack-page,.bv-ui-shell[data-theme="light"] .bv-salary-page,.bv-ui-shell[data-theme="light"] .bv-module-shell,.bv-ui-shell[data-theme="light"] .bv-panel{background:#fff!important;border-color:#dce6ed!important;color:#173047!important;box-shadow:0 10px 30px rgba(35,67,91,.06)!important}
.bv-ui-shell[data-theme="light"] .bv-exec-hero,.bv-ui-shell[data-theme="light"] .bv-financial-date-filter,.bv-ui-shell[data-theme="light"] .bv-exec-card,.bv-ui-shell[data-theme="light"] .bv-monthly-grid>div,.bv-ui-shell[data-theme="light"] .bv-stack-dashboard-total,.bv-ui-shell[data-theme="light"] .bv-stack-dashboard-details>div,.bv-ui-shell[data-theme="light"] .bv-audit-score,.bv-ui-shell[data-theme="light"] .bv-audit-count,.bv-ui-shell[data-theme="light"] .bv-audit-check,.bv-ui-shell[data-theme="light"] .bv-audit-issue,.bv-ui-shell[data-theme="light"] .bv-salary-kpis>div{background:#f5f8fa!important;border-color:#dce6ed!important;box-shadow:none!important}
.bv-ui-shell[data-theme="light"] h1,.bv-ui-shell[data-theme="light"] h2,.bv-ui-shell[data-theme="light"] h3,.bv-ui-shell[data-theme="light"] h4,.bv-ui-shell[data-theme="light"] strong,.bv-ui-shell[data-theme="light"] b{color:#173047!important}.bv-ui-shell[data-theme="light"] p,.bv-ui-shell[data-theme="light"] small,.bv-ui-shell[data-theme="light"] .bv-subtext,.bv-ui-shell[data-theme="light"] .bv-muted,.bv-ui-shell[data-theme="light"] .bv-monthly-note,.bv-ui-shell[data-theme="light"] .bv-exec-card-meta span{color:#6b8192!important}.bv-ui-shell[data-theme="light"] .bv-section-label,.bv-ui-shell[data-theme="light"] .bv-kicker{color:#9a7425!important}
.bv-ui-shell[data-theme="light"] input,.bv-ui-shell[data-theme="light"] select,.bv-ui-shell[data-theme="light"] textarea{background:#fff!important;color:#173047!important;border-color:#cfdce5!important}.bv-ui-shell[data-theme="light"] input::placeholder,.bv-ui-shell[data-theme="light"] textarea::placeholder{color:#91a2af!important}.bv-ui-shell[data-theme="light"] input:focus,.bv-ui-shell[data-theme="light"] select:focus,.bv-ui-shell[data-theme="light"] textarea:focus{border-color:#8ab6d0!important;box-shadow:0 0 0 3px rgba(85,148,187,.10)!important}
.bv-ui-shell[data-theme="light"] table{background:#fff!important}.bv-ui-shell[data-theme="light"] th{color:#60788a!important;border-color:#dce6ed!important;background:#f7fafc!important}.bv-ui-shell[data-theme="light"] td{color:#29475d!important;border-color:#e2eaf0!important}.bv-ui-shell[data-theme="light"] tr:hover td{background:#f8fbfd!important}.bv-ui-shell[data-theme="light"] .bv-stack-table td,.bv-ui-shell[data-theme="light"] .bv-salary-table td{color:#29475d!important}
.bv-ui-shell[data-theme="light"] .bv-stack-status.held{color:#7a5a16!important;background:#fff5da!important;border-color:#ecd69c!important}.bv-ui-shell[data-theme="light"] .bv-stack-status.released{color:#2d7356!important;background:#eaf7f0!important;border-color:#b8dfca!important}.bv-ui-shell[data-theme="light"] .bv-live{color:#39815f!important}.bv-ui-shell[data-theme="light"] .bv-live i{background:#4cb184!important}
.bv-ui-shell[data-theme="light"] .bv-stack-modal-card{background:#fff!important;border-color:#dce6ed!important}.bv-ui-shell[data-theme="light"] .bv-stack-modal .bv-stack-form-grid input,.bv-ui-shell[data-theme="light"] .bv-stack-modal .bv-stack-form-grid textarea,.bv-ui-shell[data-theme="light"] .bv-stack-modal .bv-faulty-row select,.bv-ui-shell[data-theme="light"] .bv-stack-modal .bv-faulty-row input{background:#f8fbfd!important;color:#173047!important;border-color:#d5e1e8!important}.bv-ui-shell[data-theme="light"] .bv-stack-modal .bv-stack-modal-head h3{color:#173047!important}.bv-ui-shell[data-theme="light"] .bv-stack-modal .bv-stack-modal-head p,.bv-ui-shell[data-theme="light"] .bv-stack-modal .bv-stack-form-grid label{color:#6b8192!important}
@media(max-width:900px){.bv-ui-shell[data-theme="light"] .bv-sidebar{box-shadow:20px 0 50px rgba(35,67,91,.15)!important}}


/* v1.18.1 — make Appearance switch visible in the actual Office sidebar */
.bv-sidebar-theme{margin:10px 12px 12px;padding:9px;border:1px solid rgba(117,166,201,.14);border-radius:10px;background:rgba(12,38,57,.72)}
.bv-sidebar-theme>span{display:block;margin:0 0 6px 2px;color:#68869b;font-size:7px;font-weight:900;letter-spacing:.15em}
.bv-sidebar-theme .bv-theme-toggle{width:100%;height:34px;justify-content:flex-start;padding:0 10px;border:1px solid rgba(226,184,79,.24);background:linear-gradient(135deg,#153c58,#102e45);color:#edf5f9;box-shadow:inset 0 1px rgba(255,255,255,.025)}
.bv-sidebar-theme .bv-theme-toggle:hover{background:#17435f;border-color:rgba(226,184,79,.42)}
.bv-sidebar-theme .bv-theme-icon{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:rgba(226,184,79,.10);color:#e5bc5a}
.bv-sidebar-theme .bv-theme-label{font-size:9px;font-weight:850;letter-spacing:.02em}
.bv-ui-shell[data-theme="light"] .bv-sidebar-theme{background:#f7fafc!important;border-color:#dce6ed!important}
.bv-ui-shell[data-theme="light"] .bv-sidebar-theme>span{color:#7890a0!important}
.bv-ui-shell[data-theme="light"] .bv-sidebar-theme .bv-theme-toggle{background:#fff!important;color:#173047!important;border-color:#d7e1e8!important}
.bv-ui-shell[data-theme="light"] .bv-sidebar-theme .bv-theme-icon{background:#fff5d9!important;color:#9a741d!important}


/* v1.18.2 — explicit Appearance options */
.bv-sidebar-theme{margin:10px 12px 12px!important;padding:9px!important;border:1px solid rgba(117,166,201,.14)!important;border-radius:10px!important;background:rgba(12,38,57,.72)!important}
.bv-sidebar-theme>span{display:block!important;margin:0 0 7px 2px!important;color:#68869b!important;font-size:7px!important;font-weight:900!important;letter-spacing:.15em!important}
.bv-theme-options{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}
.bv-theme-choice{min-height:34px!important;padding:0 8px!important;border:1px solid rgba(117,166,201,.16)!important;border-radius:8px!important;background:#102e45!important;color:#b9cbd7!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;font-size:8px!important;font-weight:850!important;cursor:pointer!important;transition:.18s ease!important}
.bv-theme-choice:hover{border-color:rgba(226,184,79,.35)!important;transform:translateY(-1px)!important}
.bv-theme-choice.active{background:linear-gradient(135deg,#173f5b,#12344d)!important;color:#fff!important;border-color:rgba(226,184,79,.42)!important;box-shadow:inset 0 1px rgba(255,255,255,.035)!important}
.bv-theme-choice .bv-theme-icon{display:grid!important;place-items:center!important;width:19px!important;height:19px!important;border-radius:6px!important;background:rgba(226,184,79,.10)!important;color:#e5bc5a!important;font-size:12px!important}
.bv-ui-shell[data-theme="light"] .bv-sidebar-theme{background:#f7fafc!important;border-color:#dce6ed!important}
.bv-ui-shell[data-theme="light"] .bv-sidebar-theme>span{color:#7890a0!important}
.bv-ui-shell[data-theme="light"] .bv-theme-choice{background:#eef4f8!important;color:#61798a!important;border-color:#d7e1e8!important}
.bv-ui-shell[data-theme="light"] .bv-theme-choice.active{background:#fff!important;color:#173047!important;border-color:#d5b45f!important;box-shadow:0 4px 12px rgba(55,83,102,.06)!important}
.bv-ui-shell[data-theme="light"] .bv-theme-choice .bv-theme-icon{background:#fff5d9!important;color:#9a741d!important}


/* v1.18.3 — Light by default + single Dark Mode switch */
html,body{background:#edf3f7!important}
.bv-ui-shell:not([data-theme]),.bv-ui-shell[data-theme="light"]{color-scheme:light}
.bv-theme-switch-wrap{margin:10px 12px 12px!important;padding:9px!important;border:1px solid #dce6ed!important;border-radius:10px!important;background:#f7fafc!important}
.bv-theme-switch-wrap>span{display:block!important;margin:0 0 7px 2px!important;color:#7890a0!important;font-size:7px!important;font-weight:900!important;letter-spacing:.15em!important}
.bv-dark-switch{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-height:42px!important;padding:7px 9px!important;border:1px solid #d7e1e8!important;border-radius:9px!important;background:#fff!important;cursor:pointer!important;user-select:none!important}
.bv-dark-switch-copy{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important}
.bv-dark-switch-copy b{color:#173047!important;font-size:9px!important;font-weight:850!important;line-height:1.15!important}
.bv-dark-switch-copy small{color:#8194a2!important;font-size:7px!important;line-height:1.2!important}
.bv-dark-switch input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:auto!important}
.bv-dark-switch-track{position:relative!important;display:block!important;flex:0 0 34px!important;width:34px!important;height:19px!important;border-radius:999px!important;background:#cbd7df!important;box-shadow:inset 0 0 0 1px rgba(43,72,92,.08)!important;transition:.2s ease!important}
.bv-dark-switch-track em{position:absolute!important;left:3px!important;top:3px!important;width:13px!important;height:13px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 2px 5px rgba(26,48,64,.18)!important;transition:.2s ease!important}
.bv-dark-switch input:checked + .bv-dark-switch-track{background:#d5ad4b!important}
.bv-dark-switch input:checked + .bv-dark-switch-track em{transform:translateX(15px)!important;background:#102d43!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-theme-switch-wrap{background:rgba(12,38,57,.72)!important;border-color:rgba(117,166,201,.14)!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-theme-switch-wrap>span{color:#68869b!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-dark-switch{background:#102e45!important;border-color:rgba(117,166,201,.16)!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-dark-switch-copy b{color:#edf5f9!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-dark-switch-copy small{color:#7894a7!important}


/* v1.18.4 — hard dark-mode restoration layer */
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)),.bv-ui-shell.bv-dark-mode{color-scheme:dark!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-sidebar{background:linear-gradient(180deg,#0b2438 0%,#081c2c 100%)!important;border-right-color:rgba(105,154,188,.16)!important;box-shadow:10px 0 30px rgba(0,0,0,.14)!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-main{background:radial-gradient(circle at 75% 0%,rgba(37,106,151,.13),transparent 30%),#081827!important;color:#eaf2f7!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-topbar{background:rgba(9,29,45,.96)!important;border-bottom-color:rgba(105,154,188,.14)!important;box-shadow:0 4px 20px rgba(0,0,0,.10)!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-top-left h1,:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) h1,:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) h2,:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) h3,:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) h4{color:#eef5f9!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-eyebrow,:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-date,:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) p,:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) small{color:#829bad!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-nav-item{color:#91a9b9!important}:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-nav-item:hover{background:rgba(35,78,107,.45)!important;color:#eef5f9!important}:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-nav-item.active{background:linear-gradient(90deg,rgba(226,184,79,.16),rgba(226,184,79,.05))!important;color:#f0c866!important;border-color:rgba(226,184,79,.22)!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) input,:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) select,:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) textarea{background:#0d2a40!important;color:#eef5f9!important;border-color:rgba(110,164,200,.22)!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) table{background:transparent!important}:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) th{background:#0e2b42!important;color:#8ea8ba!important;border-color:rgba(104,155,190,.14)!important}:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) td{color:#dbe7ee!important;border-color:rgba(104,155,190,.10)!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-theme-switch-wrap{background:rgba(12,38,57,.72)!important;border-color:rgba(117,166,201,.14)!important}:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-dark-switch-copy b{color:#edf5f9!important}:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-dark-switch-copy small{color:#7894a7!important}


/* v1.18.5 — dark-mode switch reliability */
html[data-bv-theme="dark"],body[data-bv-theme="dark"]{background:#081827!important;color-scheme:dark!important}
html[data-bv-theme="light"],body[data-bv-theme="light"]{background:#edf3f7!important;color-scheme:light!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)){background:#081827!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-content{background:#081827!important}
\n\n/* v1.18.6 — CSS-native Dark Mode fallback. The checkbox alone can switch the ERP. */
html:has(.bv-ui-shell [data-bv-dark-switch]:checked),
body:has(.bv-ui-shell [data-bv-dark-switch]:checked){background:#081827!important;color-scheme:dark!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked){background:#081827!important;color-scheme:dark!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-main,
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-content{background:#081827!important}


/* ========================================================================== 
   v1.19.0 — FINAL DUAL-THEME CONTRAST SYSTEM
   Light is default. Dark Mode is opt-in. This layer intentionally sits last
   so module-specific legacy rules cannot make text invisible in either mode.
   ========================================================================== */

/* ---------- Shared readability ---------- */
.bv-ui-shell .bv-content,
.bv-ui-shell .bv-content *{box-sizing:border-box}
.bv-ui-shell .bv-content a{transition:color .16s ease,border-color .16s ease,background .16s ease}

/* ---------- LIGHT MODE: default + explicit ---------- */
.bv-ui-shell:not([data-theme="dark"]),
.bv-ui-shell[data-theme="light"],
.bv-ui-shell.bv-light-mode{
  --bv-t-bg:#eef4f8;
  --bv-t-surface:#ffffff;
  --bv-t-surface-2:#f6f9fb;
  --bv-t-surface-3:#edf3f7;
  --bv-t-border:#d7e3eb;
  --bv-t-text:#17334a;
  --bv-t-heading:#102b42;
  --bv-t-muted:#647c8e;
  --bv-t-soft:#8196a6;
  --bv-t-gold:#b78218;
  --bv-t-blue:#2c74a4;
  color-scheme:light;
}
.bv-ui-shell[data-theme="light"] .bv-main,
.bv-ui-shell.bv-light-mode .bv-main{background:radial-gradient(circle at 80% 0%,rgba(71,139,183,.10),transparent 30%),var(--bv-t-bg)!important;color:var(--bv-t-text)!important}
.bv-ui-shell[data-theme="light"] .bv-content,
.bv-ui-shell.bv-light-mode .bv-content{color:var(--bv-t-text)!important}

/* Major light surfaces */
.bv-ui-shell[data-theme="light"] .bv-content :is(
  .bv-exec-dashboard,.bv-exec-hero,.bv-financial-date-filter,.bv-exec-card,
  .bv-company-stack-dashboard,.bv-stack-dashboard-total,.bv-stack-dashboard-details>div,
  .bv-monthly-performance,.bv-monthly-grid>div,.bv-company-stack-page,.bv-stack-panel,
  .bv-stack-action-card,.bv-stack-summary-grid>div,.bv-month-commission-page,.bv-month-commission-hero,
  .bv-mc-grid,.bv-mc-register,.bv-mc-calc,.bv-mc-total,.bv-roi-dashboard,.bv-roi-page,
  .bv-management-report,.bv-mr-page,.bv-mr-hero,.bv-mr-kpis>div,.bv-mr-panels>div,
  .bv-salary-page,.bv-salary-panel,.bv-salary-kpis>div,.bv-ledger-page,.bv-ledger-overall,
  .bv-ledger-kpis>div,.bv-costing-history-page,.bv-costing-history-hero,.bv-costing-history-panel,
  .bv-costing-history-kpis>div,.bv-unified-costing,.bv-unified-sales,.bv-module-statements,
  .bv-office-ledger,.bv-net-ledger,.bv-net-card,.bv-panel,.bv-portal-card,.bv-entry-form-wrap,
  .bv-audit-control,.bv-audit-check,.bv-audit-score,.bv-audit-count,.bv-backup-center,
  .bv-company-commission,.bv-due-report,.bv-analytics-panel
){background:var(--bv-t-surface)!important;border-color:var(--bv-t-border)!important;color:var(--bv-t-text)!important;box-shadow:0 8px 24px rgba(24,58,82,.055)!important}

/* Secondary light cards */
.bv-ui-shell[data-theme="light"] .bv-content :is(
  .bv-exec-card,.bv-monthly-grid>div,.bv-stack-dashboard-details>div,.bv-stack-dashboard-total,
  .bv-stack-summary-grid>div,.bv-mc-calc,.bv-salary-kpis>div,.bv-ledger-kpis>div,.bv-costing-history-kpis>div,
  .bv-net-card,.bv-kpi,.bv-entry-chip
){background:var(--bv-t-surface-2)!important}

/* Light typography — force readable contrast */
.bv-ui-shell[data-theme="light"] .bv-content :is(h1,h2,h3,h4,h5,h6),
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-exec-card>strong,.bv-stack-dashboard-total strong,.bv-stack-dashboard-details b,.bv-monthly-grid strong,.bv-mc-net-amount,.bv-mc-total strong,.bv-kpi strong,.bv-net-card strong,.bv-ledger-overall strong){color:var(--bv-t-heading)!important;text-shadow:none!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(p,small,label,.bv-muted,.bv-subtext,.bv-exec-card-meta span,.bv-monthly-note,.bv-exec-footer,.bv-mr-line span,.bv-mc-row-note){color:var(--bv-t-muted)!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-section-label,.bv-kicker,.bv-eyebrow,.bv-hero-label){color:#9a6d13!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-exec-card-title,.bv-stack-dashboard-details span,.bv-mc-lines-head,.bv-monthly-grid span){color:#537188!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(strong,b){text-shadow:none!important}

/* Light inputs / tables / modals */
.bv-ui-shell[data-theme="light"] .bv-content :is(input,select,textarea){background:#fff!important;color:#18364d!important;border-color:#cbd9e3!important;-webkit-text-fill-color:#18364d!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(input,textarea)::placeholder{color:#8fa1ad!important;opacity:1!important}
.bv-ui-shell[data-theme="light"] .bv-content table{background:#fff!important;color:#29485e!important}
.bv-ui-shell[data-theme="light"] .bv-content th{background:#f1f5f8!important;color:#536f82!important;border-color:#d7e3eb!important}
.bv-ui-shell[data-theme="light"] .bv-content td{background:#fff!important;color:#29485e!important;border-color:#dfe8ee!important}
.bv-ui-shell[data-theme="light"] .bv-content tr:hover td{background:#f8fbfd!important}
.bv-ui-shell[data-theme="light"] .bv-stack-modal-card,
.bv-ui-shell[data-theme="light"] .bv-modal-card{background:#fff!important;color:#17334a!important;border-color:#d4e0e8!important}
.bv-ui-shell[data-theme="light"] .bv-stack-modal :is(h2,h3,h4,label,strong,b),
.bv-ui-shell[data-theme="light"] .bv-modal :is(h2,h3,h4,label,strong,b){color:#17334a!important}
.bv-ui-shell[data-theme="light"] .bv-stack-modal :is(p,small,span),
.bv-ui-shell[data-theme="light"] .bv-modal :is(p,small,span){color:#687f90!important}

/* ---------- DARK MODE: explicit attribute/class, no :has dependency ---------- */
.bv-ui-shell[data-theme="dark"],
.bv-ui-shell.bv-dark-mode{
  --bv-t-bg:#071927;
  --bv-t-surface:#0d273b;
  --bv-t-surface-2:#102f47;
  --bv-t-surface-3:#133850;
  --bv-t-border:rgba(113,163,198,.18);
  --bv-t-text:#dce9f1;
  --bv-t-heading:#f3f8fb;
  --bv-t-muted:#91a8b8;
  --bv-t-soft:#7892a5;
  --bv-t-gold:#e1b64c;
  --bv-t-blue:#71bce9;
  color-scheme:dark!important;
  background:#071927!important;
}
.bv-ui-shell[data-theme="dark"] .bv-main,
.bv-ui-shell.bv-dark-mode .bv-main{background:radial-gradient(circle at 78% 0%,rgba(39,107,151,.14),transparent 31%),var(--bv-t-bg)!important;color:var(--bv-t-text)!important}
.bv-ui-shell[data-theme="dark"] .bv-content,
.bv-ui-shell.bv-dark-mode .bv-content{background:transparent!important;color:var(--bv-t-text)!important}

/* Major dark surfaces — this is the layer missing in v1.18.6 */
.bv-ui-shell[data-theme="dark"] .bv-content :is(
  .bv-exec-dashboard,.bv-exec-hero,.bv-financial-date-filter,.bv-exec-card,
  .bv-company-stack-dashboard,.bv-stack-dashboard-total,.bv-stack-dashboard-details>div,
  .bv-monthly-performance,.bv-monthly-grid>div,.bv-company-stack-page,.bv-stack-panel,
  .bv-stack-action-card,.bv-stack-summary-grid>div,.bv-month-commission-page,.bv-month-commission-hero,
  .bv-mc-grid,.bv-mc-register,.bv-mc-calc,.bv-mc-total,.bv-roi-dashboard,.bv-roi-page,
  .bv-management-report,.bv-mr-page,.bv-mr-hero,.bv-mr-kpis>div,.bv-mr-panels>div,
  .bv-salary-page,.bv-salary-panel,.bv-salary-kpis>div,.bv-ledger-page,.bv-ledger-overall,
  .bv-ledger-kpis>div,.bv-costing-history-page,.bv-costing-history-hero,.bv-costing-history-panel,
  .bv-costing-history-kpis>div,.bv-unified-costing,.bv-unified-sales,.bv-module-statements,
  .bv-office-ledger,.bv-net-ledger,.bv-net-card,.bv-panel,.bv-portal-card,.bv-entry-form-wrap,
  .bv-audit-control,.bv-audit-check,.bv-audit-score,.bv-audit-count,.bv-backup-center,
  .bv-company-commission,.bv-due-report,.bv-analytics-panel
){background:linear-gradient(145deg,var(--bv-t-surface),#0b2234)!important;border-color:var(--bv-t-border)!important;color:var(--bv-t-text)!important;box-shadow:0 9px 28px rgba(0,0,0,.11)!important}

/* Dark card hierarchy */
.bv-ui-shell[data-theme="dark"] .bv-content :is(
  .bv-exec-hero,.bv-financial-date-filter,.bv-exec-card,.bv-monthly-grid>div,
  .bv-stack-dashboard-details>div,.bv-stack-dashboard-total,.bv-stack-summary-grid>div,
  .bv-mc-calc,.bv-salary-kpis>div,.bv-ledger-kpis>div,.bv-costing-history-kpis>div,
  .bv-net-card,.bv-kpi,.bv-entry-chip
){background:linear-gradient(145deg,#102f47,#0e2b42)!important;border-color:rgba(113,163,198,.16)!important}
.bv-ui-shell[data-theme="dark"] .bv-content .bv-exec-hero{background:linear-gradient(100deg,#113a56,#12334c)!important}

/* Dark typography — every important text token gets explicit contrast */
.bv-ui-shell[data-theme="dark"] .bv-content :is(h1,h2,h3,h4,h5,h6),
.bv-ui-shell.bv-dark-mode .bv-content :is(h1,h2,h3,h4,h5,h6){color:var(--bv-t-heading)!important;text-shadow:none!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-exec-card>strong,.bv-stack-dashboard-total strong,.bv-stack-dashboard-details b,.bv-monthly-grid strong,.bv-mc-net-amount,.bv-mc-total strong,.bv-kpi strong,.bv-net-card strong,.bv-ledger-overall strong),
.bv-ui-shell.bv-dark-mode .bv-content :is(.bv-exec-card>strong,.bv-stack-dashboard-total strong,.bv-stack-dashboard-details b,.bv-monthly-grid strong,.bv-mc-net-amount,.bv-mc-total strong,.bv-kpi strong,.bv-net-card strong,.bv-ledger-overall strong){color:#f5f9fb!important;text-shadow:none!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(p,small,label,.bv-muted,.bv-subtext,.bv-exec-card-meta span,.bv-monthly-note,.bv-exec-footer,.bv-mr-line span,.bv-mc-row-note){color:var(--bv-t-muted)!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-section-label,.bv-kicker,.bv-eyebrow,.bv-hero-label){color:var(--bv-t-gold)!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-exec-card-title,.bv-stack-dashboard-details span,.bv-mc-lines-head,.bv-monthly-grid span){color:#91b2c7!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(strong,b){text-shadow:none!important}

/* Dark inputs / tables / modals */
.bv-ui-shell[data-theme="dark"] .bv-content :is(input,select,textarea){background:#0a2437!important;color:#eef5f9!important;border-color:rgba(119,171,207,.23)!important;-webkit-text-fill-color:#eef5f9!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(input,textarea)::placeholder{color:#7e98aa!important;opacity:1!important}
.bv-ui-shell[data-theme="dark"] .bv-content option{background:#0d2a40!important;color:#eef5f9!important}
.bv-ui-shell[data-theme="dark"] .bv-content table{background:transparent!important;color:#dbe7ee!important}
.bv-ui-shell[data-theme="dark"] .bv-content th{background:#0b263b!important;color:#97afbf!important;border-color:rgba(113,163,198,.16)!important}
.bv-ui-shell[data-theme="dark"] .bv-content td{background:rgba(13,40,60,.55)!important;color:#dbe7ee!important;border-color:rgba(113,163,198,.11)!important}
.bv-ui-shell[data-theme="dark"] .bv-content tr:hover td{background:#12334b!important}
.bv-ui-shell[data-theme="dark"] .bv-stack-modal-card,
.bv-ui-shell[data-theme="dark"] .bv-modal-card{background:#0d2a40!important;color:#eaf2f7!important;border-color:rgba(113,163,198,.22)!important}
.bv-ui-shell[data-theme="dark"] .bv-stack-modal :is(h2,h3,h4,label,strong,b),
.bv-ui-shell[data-theme="dark"] .bv-modal :is(h2,h3,h4,label,strong,b){color:#eef5f9!important}
.bv-ui-shell[data-theme="dark"] .bv-stack-modal :is(p,small,span),
.bv-ui-shell[data-theme="dark"] .bv-modal :is(p,small,span){color:#91a8b8!important}

/* Status / controls must remain intentionally colored in both modes */
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-stack-status.held,.bv-status-held){color:#f0cf76!important;background:rgba(225,182,76,.12)!important;border-color:rgba(225,182,76,.25)!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-stack-status.released,.bv-status-released,.success){color:#9de0bd!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-stack-status.held,.bv-status-held){color:#765817!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-stack-status.released,.bv-status-released,.success){color:#287150!important}

/* Sidebar readability in both modes */
.bv-ui-shell[data-theme="light"] .bv-sidebar{background:linear-gradient(180deg,#f9fbfc,#edf3f7)!important;color:#17334a!important}
.bv-ui-shell[data-theme="light"] .bv-brand strong,.bv-ui-shell[data-theme="light"] .bv-dark-switch-copy b{color:#17334a!important}
.bv-ui-shell[data-theme="light"] .bv-brand span,.bv-ui-shell[data-theme="light"] .bv-dark-switch-copy small{color:#6f8595!important}
.bv-ui-shell[data-theme="dark"] .bv-sidebar{background:linear-gradient(180deg,#0a2235,#071a29)!important;color:#eaf2f7!important}
.bv-ui-shell[data-theme="dark"] .bv-brand strong,.bv-ui-shell[data-theme="dark"] .bv-dark-switch-copy b{color:#eef5f9!important}
.bv-ui-shell[data-theme="dark"] .bv-brand span,.bv-ui-shell[data-theme="dark"] .bv-dark-switch-copy small{color:#7894a7!important}

/* Switch itself */
.bv-ui-shell[data-theme="light"] .bv-dark-switch{background:#fff!important;border-color:#d5e1e8!important}
.bv-ui-shell[data-theme="dark"] .bv-dark-switch{background:#0e2d44!important;border-color:rgba(113,163,198,.18)!important}

/* Prevent legacy near-black text from surviving in dark cards */
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-company-stack-dashboard,.bv-monthly-performance,.bv-exec-dashboard,.bv-mc-register,.bv-mc-grid,.bv-roi-dashboard,.bv-mr-page) :is(h1,h2,h3,h4,strong,b){color:#f2f7fa!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-company-stack-dashboard,.bv-monthly-performance,.bv-exec-dashboard,.bv-mc-register,.bv-mc-grid,.bv-roi-dashboard,.bv-mr-page) :is(p,small,span,label){color:#90a8b8!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-company-stack-dashboard,.bv-monthly-performance,.bv-exec-dashboard,.bv-mc-register,.bv-mc-grid,.bv-roi-dashboard,.bv-mr-page) :is(.bv-section-label,.bv-kicker){color:#e1b64c!important}

/* Light mode same protection against near-white legacy headings */
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-company-stack-dashboard,.bv-monthly-performance,.bv-exec-dashboard,.bv-mc-register,.bv-mc-grid,.bv-roi-dashboard,.bv-mr-page) :is(h1,h2,h3,h4,strong,b){color:#132f46!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-company-stack-dashboard,.bv-monthly-performance,.bv-exec-dashboard,.bv-mc-register,.bv-mc-grid,.bv-roi-dashboard,.bv-mr-page) :is(p,small,span,label){color:#647c8e!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-company-stack-dashboard,.bv-monthly-performance,.bv-exec-dashboard,.bv-mc-register,.bv-mc-grid,.bv-roi-dashboard,.bv-mr-page) :is(.bv-section-label,.bv-kicker){color:#9a6d13!important}

@media(max-width:760px){
  .bv-ui-shell[data-theme="dark"] .bv-content,
  .bv-ui-shell[data-theme="light"] .bv-content{color:inherit!important}
}


/* v1.19.1 — Theme state sync hardening.
   The checkbox itself can now drive the entire dark theme even if cached/external JS fails. */
.bv-ui-shell:has([data-bv-dark-switch]:checked){
  --bv-t-bg:#071927;--bv-t-surface:#0d273b;--bv-t-surface-2:#102f47;--bv-t-surface-3:#133850;
  --bv-t-border:rgba(113,163,198,.18);--bv-t-text:#dce9f1;--bv-t-heading:#f3f8fb;
  --bv-t-muted:#91a8b8;--bv-t-soft:#7892a5;--bv-t-gold:#e1b64c;--bv-t-blue:#71bce9;
  color-scheme:dark!important;background:#071927!important;color:#dce9f1!important;
}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-sidebar{background:linear-gradient(180deg,#0a2235,#071a29)!important;color:#eaf2f7!important;border-right-color:rgba(113,163,198,.16)!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-brand strong,
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-dark-switch-copy b{color:#eef5f9!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-brand span,
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-dark-switch-copy small{color:#8fa7b8!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-main{background:radial-gradient(circle at 78% 0%,rgba(39,107,151,.14),transparent 31%),#071927!important;color:#dce9f1!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-content{background:transparent!important;color:#dce9f1!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-content :is(
 .bv-exec-dashboard,.bv-exec-hero,.bv-financial-date-filter,.bv-exec-card,.bv-company-stack-dashboard,
 .bv-stack-dashboard-total,.bv-stack-dashboard-details>div,.bv-monthly-performance,.bv-monthly-grid>div,
 .bv-company-stack-page,.bv-stack-panel,.bv-stack-action-card,.bv-stack-summary-grid>div,
 .bv-month-commission-page,.bv-month-commission-hero,.bv-mc-grid,.bv-mc-register,.bv-mc-calc,.bv-mc-total,
 .bv-roi-dashboard,.bv-roi-page,.bv-management-report,.bv-mr-page,.bv-mr-hero,.bv-mr-kpis>div,.bv-mr-panels>div,
 .bv-salary-page,.bv-salary-panel,.bv-salary-kpis>div,.bv-ledger-page,.bv-ledger-overall,.bv-ledger-kpis>div,
 .bv-costing-history-page,.bv-costing-history-hero,.bv-costing-history-panel,.bv-costing-history-kpis>div,
 .bv-unified-costing,.bv-unified-sales,.bv-module-statements,.bv-office-ledger,.bv-net-ledger,.bv-net-card,
 .bv-panel,.bv-portal-card,.bv-entry-form-wrap,.bv-audit-control,.bv-audit-check,.bv-audit-score,.bv-audit-count,
 .bv-backup-center,.bv-company-commission,.bv-due-report,.bv-analytics-panel
){background:linear-gradient(145deg,#0d273b,#0b2234)!important;border-color:rgba(113,163,198,.18)!important;color:#dce9f1!important;box-shadow:0 9px 28px rgba(0,0,0,.11)!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-content :is(.bv-exec-hero,.bv-financial-date-filter,.bv-exec-card,.bv-monthly-grid>div,.bv-stack-dashboard-details>div,.bv-stack-dashboard-total,.bv-stack-summary-grid>div,.bv-mc-calc,.bv-salary-kpis>div,.bv-ledger-kpis>div,.bv-costing-history-kpis>div,.bv-net-card,.bv-kpi,.bv-entry-chip){background:linear-gradient(145deg,#102f47,#0e2b42)!important;border-color:rgba(113,163,198,.16)!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-content :is(h1,h2,h3,h4,h5,h6,strong,b){color:#f3f8fb!important;text-shadow:none!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-content :is(p,small,label,.bv-muted,.bv-subtext,.bv-exec-card-meta span,.bv-monthly-note,.bv-exec-footer,.bv-mr-line span,.bv-mc-row-note){color:#91a8b8!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-content :is(.bv-section-label,.bv-kicker,.bv-eyebrow,.bv-hero-label){color:#e1b64c!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-content :is(.bv-exec-card-title,.bv-stack-dashboard-details span,.bv-mc-lines-head,.bv-monthly-grid span){color:#91b2c7!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-content :is(input,select,textarea){background:#0a2437!important;color:#eef5f9!important;border-color:rgba(119,171,207,.23)!important;-webkit-text-fill-color:#eef5f9!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-content :is(input,textarea)::placeholder{color:#8aa1b1!important;opacity:1!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-content option{background:#0d2a40!important;color:#eef5f9!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-content table{background:transparent!important;color:#dbe7ee!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-content th{background:#0b263b!important;color:#a7bcc9!important;border-color:rgba(113,163,198,.16)!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-content td{background:rgba(13,40,60,.55)!important;color:#dbe7ee!important;border-color:rgba(113,163,198,.11)!important}
.bv-ui-shell:has([data-bv-dark-switch]:checked) .bv-dark-switch{background:#0e2d44!important;border-color:rgba(113,163,198,.18)!important}

/* Light-mode contrast guardrails: no pale/white text on light cards. */
.bv-ui-shell:not(:has([data-bv-dark-switch]:checked)) .bv-content :is(h1,h2,h3,h4,h5,h6,strong,b){color:#173047!important;text-shadow:none!important}
.bv-ui-shell:not(:has([data-bv-dark-switch]:checked)) .bv-content :is(p,small,label,.bv-muted,.bv-subtext,.bv-exec-card-meta span,.bv-monthly-note,.bv-exec-footer,.bv-mr-line span,.bv-mc-row-note){color:#647c8e!important}
.bv-ui-shell:not(:has([data-bv-dark-switch]:checked)) .bv-content :is(.bv-section-label,.bv-kicker,.bv-eyebrow,.bv-hero-label){color:#9a6d13!important}
.bv-ui-shell:not(:has([data-bv-dark-switch]:checked)) .bv-content :is(input,select,textarea){color:#173047!important;-webkit-text-fill-color:#173047!important}
\n/* v1.19.2 — persistent server-side Dark Mode switch */
.bv-dark-switch{text-decoration:none!important;cursor:pointer!important}
.bv-dark-switch.is-on .bv-dark-switch-track{background:#d9aa3e!important;border-color:#d9aa3e!important}
.bv-dark-switch.is-on .bv-dark-switch-track em{transform:translateX(16px)!important;background:#0d2a40!important}
.bv-ui-shell[data-theme="light"] .bv-dark-switch:not(.is-on) .bv-dark-switch-track{background:#d9e3ea!important;border-color:#cbd8e1!important}
.bv-ui-shell[data-theme="light"] .bv-dark-switch:not(.is-on) .bv-dark-switch-track em{transform:translateX(0)!important;background:#fff!important}

/* v1.19.3 — Dark mode contrast hardening */
.bv-ui-shell[data-theme="dark"] .bv-exec-dashboard,
.bv-ui-shell.bv-dark-mode .bv-exec-dashboard{color:#dce9f1!important}
.bv-ui-shell[data-theme="dark"] .bv-exec-dashboard :is(h1,h2,h3,h4,h5,h6),
.bv-ui-shell.bv-dark-mode .bv-exec-dashboard :is(h1,h2,h3,h4,h5,h6){color:#f4f8fb!important;-webkit-text-fill-color:#f4f8fb!important}
.bv-ui-shell[data-theme="dark"] .bv-exec-dashboard :is(.bv-exec-hero strong,.bv-exec-card>strong,.bv-exec-card-meta b,.bv-monthly-grid strong,.bv-stack-dashboard-total strong,.bv-stack-dashboard-details b),
.bv-ui-shell.bv-dark-mode .bv-exec-dashboard :is(.bv-exec-hero strong,.bv-exec-card>strong,.bv-exec-card-meta b,.bv-monthly-grid strong,.bv-stack-dashboard-total strong,.bv-stack-dashboard-details b){color:#f7fbfd!important;-webkit-text-fill-color:#f7fbfd!important;opacity:1!important}
.bv-ui-shell[data-theme="dark"] .bv-exec-dashboard :is(p,small,.bv-exec-meta,.bv-exec-footer,.bv-monthly-note,.bv-monthly-head p,.bv-company-stack-dashboard-head p),
.bv-ui-shell.bv-dark-mode .bv-exec-dashboard :is(p,small,.bv-exec-meta,.bv-exec-footer,.bv-monthly-note,.bv-monthly-head p,.bv-company-stack-dashboard-head p){color:#a7bdcb!important;-webkit-text-fill-color:#a7bdcb!important;opacity:1!important}
.bv-ui-shell[data-theme="dark"] .bv-exec-dashboard :is(.bv-exec-card-title,.bv-exec-card-meta span,.bv-stack-dashboard-details span,.bv-monthly-grid span,.bv-exec-hero span),
.bv-ui-shell.bv-dark-mode .bv-exec-dashboard :is(.bv-exec-card-title,.bv-exec-card-meta span,.bv-stack-dashboard-details span,.bv-monthly-grid span,.bv-exec-hero span){color:#9db7c8!important;-webkit-text-fill-color:#9db7c8!important;opacity:1!important}
.bv-ui-shell[data-theme="dark"] .bv-exec-dashboard :is(.bv-section-label,.bv-kicker,.bv-eyebrow),
.bv-ui-shell.bv-dark-mode .bv-exec-dashboard :is(.bv-section-label,.bv-kicker,.bv-eyebrow){color:#e1b64c!important;-webkit-text-fill-color:#e1b64c!important;opacity:1!important}
.bv-ui-shell[data-theme="dark"] .bv-exec-dashboard :is(input,select,textarea),
.bv-ui-shell.bv-dark-mode .bv-exec-dashboard :is(input,select,textarea){color:#f1f6f9!important;-webkit-text-fill-color:#f1f6f9!important;background:#0a2437!important;opacity:1!important}
/* Generic safety net for module text that inherited old light-theme ink colors */
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-company-stack-dashboard,.bv-monthly-performance,.bv-financial-date-filter,.bv-exec-hero,.bv-exec-card) :is(strong,b){color:#f5f9fb!important;-webkit-text-fill-color:#f5f9fb!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-company-stack-dashboard,.bv-monthly-performance,.bv-financial-date-filter,.bv-exec-hero,.bv-exec-card) :is(p,small,label){color:#9fb6c5!important;-webkit-text-fill-color:#9fb6c5!important}

/* v1.19.4 — Financial dashboard KPI typography/readability */
.bv-exec-dashboard .bv-exec-card-title{font-size:14px!important;font-weight:800!important;line-height:1.25!important;letter-spacing:.01em!important;margin-bottom:9px!important}
.bv-exec-dashboard .bv-exec-card>strong{font-size:23px!important;font-weight:800!important;line-height:1.1!important;display:block!important;margin-bottom:12px!important}
.bv-exec-dashboard .bv-exec-card-meta{gap:6px!important}
.bv-exec-dashboard .bv-exec-card-meta span{font-size:12px!important;line-height:1.35!important}
.bv-exec-dashboard .bv-exec-card-meta b{font-size:12px!important;font-weight:800!important}
.bv-exec-dashboard .bv-exec-hero>div>span{font-size:13px!important;font-weight:800!important;letter-spacing:.04em!important}
.bv-exec-dashboard .bv-exec-hero strong{font-size:30px!important;line-height:1.1!important}
.bv-exec-dashboard .bv-monthly-grid>div>span{font-size:12px!important;font-weight:800!important;letter-spacing:.045em!important}
.bv-exec-dashboard .bv-monthly-grid>div>strong{font-size:20px!important;line-height:1.15!important}
.bv-company-stack-dashboard .bv-stack-dashboard-details span{font-size:12px!important;font-weight:700!important}
.bv-company-stack-dashboard .bv-stack-dashboard-details b{font-size:15px!important;font-weight:800!important}
@media(max-width:900px){
 .bv-exec-dashboard .bv-exec-card-title{font-size:13px!important}
 .bv-exec-dashboard .bv-exec-card>strong{font-size:20px!important}
}

/* v1.21.0 — Ledger/Dashboard reconciliation */
.bv-ledger-date-filter{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:10px 0 12px;padding:10px 12px;border:1px solid rgba(91,128,158,.18);border-radius:10px;background:var(--bv-card,#fff)}
.bv-ledger-date-filter label{display:flex;flex-direction:column;gap:4px;font-size:10px;font-weight:800}.bv-ledger-date-filter input{height:36px;padding:0 10px;border-radius:8px;border:1px solid rgba(91,128,158,.25);background:var(--bv-card,#fff);color:inherit}.bv-ledger-date-filter button,.bv-ledger-date-filter a{height:36px;display:inline-flex;align-items:center;padding:0 13px;border-radius:8px;border:0;text-decoration:none;font-size:10px;font-weight:900}.bv-ledger-date-filter button{background:#d9b14b;color:#172638}.bv-ledger-date-filter a{background:rgba(72,126,166,.10);color:inherit}
.bv-ledger-recon{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 12px}.bv-ledger-recon>div{padding:13px 14px;border:1px solid rgba(91,128,158,.16);border-radius:11px;background:var(--bv-card,#fff)}.bv-ledger-recon span,.bv-ledger-recon small{display:block}.bv-ledger-recon span{font-size:10px;font-weight:900;letter-spacing:.05em}.bv-ledger-recon strong{display:block;margin:5px 0;font-size:20px;line-height:1.1}.bv-ledger-recon small{font-size:9px;opacity:.72}.bv-ledger-recon .is-ok{color:#1c9b68}
[data-theme=dark] .bv-ledger-date-filter,[data-theme=dark] .bv-ledger-recon>div,.bv-theme-dark .bv-ledger-date-filter,.bv-theme-dark .bv-ledger-recon>div{background:#0e2639!important;color:#edf5f9!important;border-color:rgba(122,171,205,.18)!important}[data-theme=dark] .bv-ledger-date-filter input,.bv-theme-dark .bv-ledger-date-filter input{background:#102d43!important;color:#f4f8fb!important}
@media(max-width:720px){.bv-ledger-recon{grid-template-columns:1fr}}

/* v1.21.1 — make Sales Due explicit and readable */
.bv-exec-dashboard .bv-sales-due-highlight{margin-top:5px!important;padding:6px 8px!important;border-radius:7px!important;background:rgba(210,154,54,.12)!important;border:1px solid rgba(210,154,54,.24)!important;font-size:11px!important;font-weight:800!important}
.bv-exec-dashboard .bv-sales-due-highlight b{font-size:13px!important;font-weight:900!important;color:inherit!important}
[data-theme="dark"] .bv-exec-dashboard .bv-sales-due-highlight,.bv-theme-dark .bv-exec-dashboard .bv-sales-due-highlight{color:#f2cf78!important;background:rgba(226,184,79,.12)!important;border-color:rgba(226,184,79,.28)!important}
[data-theme="light"] .bv-exec-dashboard .bv-sales-due-highlight,.bv-theme-light .bv-exec-dashboard .bv-sales-due-highlight{color:#6b4a00!important;background:#fff8e5!important;border-color:#e8c66d!important}

/* ============================================================
 * v1.22.0 — DARK GLASSMORPHISM DESIGN SYSTEM
 * Visual-only layer. No business logic or database changes.
 * ============================================================ */
.bv-ui-shell[data-theme="dark"],
.bv-ui-shell.bv-dark-mode{
  --bv-glass-bg:rgba(14,43,64,.58);
  --bv-glass-bg-strong:rgba(13,40,60,.76);
  --bv-glass-bg-soft:rgba(20,54,78,.42);
  --bv-glass-line:rgba(154,207,237,.15);
  --bv-glass-line-hot:rgba(226,184,79,.25);
  --bv-glass-highlight:rgba(255,255,255,.055);
  --bv-glass-shadow:0 18px 48px rgba(0,0,0,.22);
  --bv-glass-shadow-soft:0 10px 28px rgba(0,0,0,.14);
  --bv-glass-text:#f4f9fc;
  --bv-glass-muted:#9fb5c4;
  --bv-glass-gold:#efc45d;
  --bv-glass-blue:#78c9f4;
  background:#061722!important;
  color:#e8f1f6!important;
}

html[data-bv-theme="dark"],body[data-bv-theme="dark"]{
  background:
    radial-gradient(circle at 12% 8%,rgba(37,116,161,.20),transparent 29%),
    radial-gradient(circle at 86% 2%,rgba(64,87,181,.14),transparent 31%),
    radial-gradient(circle at 72% 78%,rgba(16,122,132,.10),transparent 35%),
    #061722!important;
  background-attachment:fixed!important;
}

.bv-ui-shell[data-theme="dark"] .bv-main,
.bv-ui-shell.bv-dark-mode .bv-main{
  position:relative!important;
  background:
    radial-gradient(circle at 78% 0%,rgba(56,126,172,.17),transparent 27%),
    radial-gradient(circle at 18% 38%,rgba(39,107,151,.09),transparent 32%),
    linear-gradient(145deg,#071a28 0%,#082032 48%,#061724 100%)!important;
}
.bv-ui-shell[data-theme="dark"] .bv-main:before,
.bv-ui-shell.bv-dark-mode .bv-main:before{
  content:"";position:fixed;inset:0 0 0 248px;pointer-events:none;z-index:0;
  background:linear-gradient(115deg,rgba(255,255,255,.018),transparent 25%,rgba(255,255,255,.01) 58%,transparent 78%);
}
.bv-ui-shell[data-theme="dark"] .bv-topbar,
.bv-ui-shell.bv-dark-mode .bv-topbar{
  background:rgba(6,25,39,.56)!important;
  border-bottom:1px solid rgba(152,203,233,.13)!important;
  -webkit-backdrop-filter:blur(20px) saturate(135%)!important;
  backdrop-filter:blur(20px) saturate(135%)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.11)!important;
}
.bv-ui-shell[data-theme="dark"] .bv-content,
.bv-ui-shell.bv-dark-mode .bv-content{position:relative!important;z-index:1!important;background:transparent!important}

/* Sidebar glass */
.bv-ui-shell[data-theme="dark"] .bv-sidebar,
.bv-ui-shell.bv-dark-mode .bv-sidebar{
  background:linear-gradient(180deg,rgba(7,30,46,.88),rgba(6,24,37,.82))!important;
  border-right:1px solid rgba(152,203,233,.14)!important;
  -webkit-backdrop-filter:blur(24px) saturate(130%)!important;
  backdrop-filter:blur(24px) saturate(130%)!important;
  box-shadow:18px 0 55px rgba(0,0,0,.19)!important;
}
.bv-ui-shell[data-theme="dark"] .bv-brand,
.bv-ui-shell.bv-dark-mode .bv-brand{border-bottom-color:rgba(152,203,233,.11)!important;background:rgba(255,255,255,.012)!important}
.bv-ui-shell[data-theme="dark"] .bv-brand-mark,
.bv-ui-shell.bv-dark-mode .bv-brand-mark{
  background:linear-gradient(145deg,#f0c45c,#b98122)!important;
  box-shadow:0 8px 22px rgba(225,177,63,.18),inset 0 1px rgba(255,255,255,.25)!important;
}
.bv-ui-shell[data-theme="dark"] .bv-sidebar-theme,
.bv-ui-shell.bv-dark-mode .bv-sidebar-theme,
.bv-ui-shell[data-theme="dark"] .bv-user-chip,
.bv-ui-shell.bv-dark-mode .bv-user-chip{
  background:rgba(22,57,79,.38)!important;
  border:1px solid rgba(159,208,236,.14)!important;
  -webkit-backdrop-filter:blur(16px)!important;backdrop-filter:blur(16px)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.04)!important;
}
.bv-ui-shell[data-theme="dark"] .bv-dark-switch,
.bv-ui-shell.bv-dark-mode .bv-dark-switch{
  background:rgba(19,57,80,.50)!important;border:1px solid rgba(226,184,79,.22)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.04)!important;
}
.bv-ui-shell[data-theme="dark"] .bv-nav-item,
.bv-ui-shell.bv-dark-mode .bv-nav-item{border:1px solid transparent!important;border-radius:11px!important}
.bv-ui-shell[data-theme="dark"] .bv-nav-item:hover,
.bv-ui-shell.bv-dark-mode .bv-nav-item:hover{
  background:rgba(30,73,99,.42)!important;border-color:rgba(153,205,235,.10)!important;
  -webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;
}
.bv-ui-shell[data-theme="dark"] .bv-nav-item.active,
.bv-ui-shell.bv-dark-mode .bv-nav-item.active{
  background:linear-gradient(105deg,rgba(226,184,79,.19),rgba(38,82,109,.32))!important;
  border:1px solid rgba(226,184,79,.20)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.04),0 8px 24px rgba(0,0,0,.09)!important;
  -webkit-backdrop-filter:blur(14px)!important;backdrop-filter:blur(14px)!important;
}

/* Shared glass surfaces across all office modules */
.bv-ui-shell[data-theme="dark"] .bv-content :is(
  .bv-exec-dashboard,.bv-exec-hero,.bv-financial-date-filter,.bv-exec-card,.bv-company-stack-dashboard,
  .bv-stack-dashboard-total,.bv-stack-dashboard-details>div,.bv-monthly-performance,.bv-monthly-grid>div,
  .bv-office-ledger,.bv-ledger-page,.bv-ledger-kpis>div,.bv-ledger-cards>div,.bv-ledger-recon,
  .bv-net-ledger,.bv-net-card,.bv-panel,.bv-portal-card,.bv-entry-form-wrap,.bv-entry-form,
  .bv-company-stack-page>.bv-module-head,.bv-stack-summary-grid>div,.bv-stack-action-card,.bv-stack-panel,
  .bv-costing-history-hero,.bv-costing-history-filters,.bv-costing-history-kpis>div,.bv-costing-history-panel,
  .bv-unified-costing,.bv-unified-sales,.bv-module-statements,.bv-history,.bv-due-report,
  .bv-month-commission-hero,.bv-mc-form,.bv-mc-calc,.bv-mc-register,.bv-mc-total,
  .bv-roi-page,.bv-roi-hero,.bv-roi-kpis>div,.bv-roi-panel,.bv-roi-breakdown>div,
  .bv-mr-page,.bv-mr-hero,.bv-mr-filter,.bv-mr-kpis>div,.bv-mr-panels>div,
  .bv-salary-page,.bv-salary-hero,.bv-salary-panel,.bv-salary-kpis>div,
  .bv-assist-net,.bv-employee-net,.bv-person-due,.bv-backup-center,.bv-backup-head,.bv-backup-stats>div,.bv-backup-list,
  .bv-ceo-card,.bv-ceo-section,.bv-analytics-panel,.bv-kpi,.bv-grid>div
){
  background:linear-gradient(145deg,rgba(20,57,80,.58),rgba(9,35,53,.46))!important;
  border:1px solid var(--bv-glass-line)!important;
  box-shadow:inset 0 1px var(--bv-glass-highlight),var(--bv-glass-shadow-soft)!important;
  -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;
}

/* Hero / major containers stronger glass */
.bv-ui-shell[data-theme="dark"] .bv-content :is(
 .bv-exec-dashboard,.bv-office-ledger,.bv-company-stack-page>.bv-module-head,.bv-costing-history-hero,
 .bv-month-commission-hero,.bv-mr-hero,.bv-roi-hero,.bv-salary-hero
){
  background:linear-gradient(135deg,rgba(21,59,83,.70),rgba(9,34,51,.56))!important;
  border-color:rgba(154,207,237,.18)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.06),0 20px 52px rgba(0,0,0,.18)!important;
}

/* KPI cards: subtle depth and hover */
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-exec-card,.bv-kpi,.bv-net-card,.bv-ledger-cards>div,.bv-monthly-grid>div,.bv-stack-dashboard-details>div,.bv-mr-kpis>div,.bv-roi-kpis>div,.bv-salary-kpis>div){
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease!important;
}
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-exec-card,.bv-kpi,.bv-net-card,.bv-ledger-cards>div,.bv-monthly-grid>div,.bv-stack-dashboard-details>div,.bv-mr-kpis>div,.bv-roi-kpis>div,.bv-salary-kpis>div):hover{
  transform:translateY(-2px)!important;
  background:linear-gradient(145deg,rgba(27,70,96,.69),rgba(13,44,64,.58))!important;
  border-color:rgba(126,199,239,.24)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.07),0 16px 34px rgba(0,0,0,.16)!important;
}

/* Golden special surfaces */
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-stack-dashboard-total,.bv-ledger-recon,.bv-auto-approved-badge){
  background:linear-gradient(135deg,rgba(226,184,79,.16),rgba(226,184,79,.045))!important;
  border-color:var(--bv-glass-line-hot)!important;
}

/* Forms become frosted */
.bv-ui-shell[data-theme="dark"] .bv-content :is(input,select,textarea){
  background:rgba(5,27,42,.58)!important;
  border:1px solid rgba(145,198,230,.20)!important;
  color:#f1f7fa!important;
  -webkit-text-fill-color:#f1f7fa!important;
  box-shadow:inset 0 1px rgba(255,255,255,.035)!important;
  -webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;
}
.bv-ui-shell[data-theme="dark"] .bv-content :is(input,select,textarea):focus{
  border-color:rgba(119,204,247,.55)!important;
  box-shadow:0 0 0 3px rgba(84,180,229,.10),inset 0 1px rgba(255,255,255,.05)!important;
  outline:none!important;
}
.bv-ui-shell[data-theme="dark"] .bv-content :is(input,textarea)::placeholder{color:#7f9cad!important;opacity:1!important}

/* Buttons */
.bv-ui-shell[data-theme="dark"] .bv-content :is(button,.bv-btn,a.bv-btn,.bv-history-refresh,.bv-history-new-cost,.bv-history-new-sale,.bv-stack-release,.bv-cost-history-view,.bv-history-view){
  box-shadow:inset 0 1px rgba(255,255,255,.10),0 8px 20px rgba(0,0,0,.10)!important;
}
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-history-refresh,.bv-history-new-cost,.bv-history-new-sale,.bv-stack-release,.bv-cost-history-view,.bv-history-view){
  background:rgba(24,63,88,.58)!important;
  border-color:rgba(150,204,236,.18)!important;
  -webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;
}

/* Tables: glass rows instead of flat fills */
.bv-ui-shell[data-theme="dark"] .bv-content table{background:transparent!important;border-collapse:separate!important;border-spacing:0!important}
.bv-ui-shell[data-theme="dark"] .bv-content thead th{
  background:rgba(8,31,47,.66)!important;color:#a7bfce!important;border-color:rgba(145,198,230,.14)!important;
  -webkit-backdrop-filter:blur(12px)!important;backdrop-filter:blur(12px)!important;
}
.bv-ui-shell[data-theme="dark"] .bv-content tbody td{
  background:rgba(14,43,63,.36)!important;color:#e2edf3!important;border-color:rgba(145,198,230,.085)!important;
}
.bv-ui-shell[data-theme="dark"] .bv-content tbody tr:hover td{background:rgba(28,68,92,.54)!important}

/* Modals */
.bv-ui-shell[data-theme="dark"] :is(.bv-modal-card,.bv-stack-modal-card){
  background:linear-gradient(145deg,rgba(17,53,76,.86),rgba(7,30,47,.80))!important;
  border:1px solid rgba(155,208,238,.20)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.07),0 30px 90px rgba(0,0,0,.42)!important;
  -webkit-backdrop-filter:blur(26px) saturate(140%)!important;backdrop-filter:blur(26px) saturate(140%)!important;
}
.bv-ui-shell[data-theme="dark"] :is(.bv-modal,.bv-stack-modal) .bv-stack-modal-backdrop,
.bv-ui-shell[data-theme="dark"] .bv-modal-backdrop{background:rgba(1,10,17,.58)!important;-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important}

/* Typography contrast guardrails */
.bv-ui-shell[data-theme="dark"] .bv-content :is(h1,h2,h3,h4,h5,h6,.bv-exec-card>strong,.bv-kpi strong,.bv-net-card strong,.bv-mc-net-amount,.bv-mc-total strong,.bv-stack-dashboard-total strong,.bv-stack-dashboard-details b,.bv-monthly-grid strong){color:var(--bv-glass-text)!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(p,small,label,.bv-muted,.bv-subtext,.bv-monthly-note,.bv-exec-footer,.bv-exec-card-meta span){color:var(--bv-glass-muted)!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-section-label,.bv-kicker,.bv-eyebrow,.bv-hero-label){color:var(--bv-glass-gold)!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-exec-card-title,.bv-stack-dashboard-details span,.bv-monthly-grid span){color:#a9c2d1!important}

/* Thin glass scrollbars */
.bv-ui-shell[data-theme="dark"] *{scrollbar-color:rgba(124,179,211,.36) transparent;scrollbar-width:thin}
.bv-ui-shell[data-theme="dark"] *::-webkit-scrollbar{width:7px;height:7px}
.bv-ui-shell[data-theme="dark"] *::-webkit-scrollbar-track{background:transparent}
.bv-ui-shell[data-theme="dark"] *::-webkit-scrollbar-thumb{background:rgba(124,179,211,.28);border-radius:999px}

@media(max-width:900px){
 .bv-ui-shell[data-theme="dark"] .bv-main:before{inset:0!important}
 .bv-ui-shell[data-theme="dark"] .bv-sidebar{background:rgba(7,29,44,.94)!important;-webkit-backdrop-filter:blur(24px)!important;backdrop-filter:blur(24px)!important}
 .bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-exec-card,.bv-kpi,.bv-net-card,.bv-panel,.bv-stack-action-card){-webkit-backdrop-filter:blur(14px) saturate(125%)!important;backdrop-filter:blur(14px) saturate(125%)!important}
}


/* v1.23.0 — Statement Center finalization */
.bv-module-statements .bv-module-head{margin-bottom:10px!important}
.bv-module-statements .bv-statement-filter{margin-top:12px!important}
.bv-module-statements .bv-statement-summary .card{min-height:72px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
.bv-module-statements .bv-statement-summary small{font-size:10px!important;font-weight:800!important;letter-spacing:.04em!important}
.bv-module-statements .bv-statement-summary strong{font-size:20px!important}
.bv-module-statements .bv-statement-table-wrap table{min-width:760px!important}
.bv-module-statements .bv-statement-table-wrap th{font-size:9px!important;font-weight:900!important;letter-spacing:.04em!important}
.bv-module-statements .bv-statement-table-wrap td{font-size:10px!important;line-height:1.35!important}
[data-theme="dark"] .bv-module-statements .bv-statement-table-wrap td,
.bv-theme-dark .bv-module-statements .bv-statement-table-wrap td{color:#e6eef4!important}
[data-theme="light"] .bv-module-statements .bv-statement-table-wrap td,
.bv-theme-light .bv-module-statements .bv-statement-table-wrap td{color:#18324a!important}


/* v1.24.0 — Admin-only Management Report */
.bv-web-admin-shell .bv-mr-admin-page{margin:0!important}.bv-web-admin-shell .bv-mr-filter{display:flex!important;align-items:flex-end!important;gap:10px!important;flex-wrap:wrap!important}.bv-web-admin-shell .bv-mr-filter label{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:150px!important}.bv-web-admin-shell .bv-mr-filter select,.bv-web-admin-shell .bv-mr-filter input{min-height:38px!important;border-radius:9px!important;padding:0 10px!important}.bv-web-admin-shell .bv-mr-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}@media(max-width:900px){.bv-web-admin-shell .bv-mr-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:560px){.bv-web-admin-shell .bv-mr-kpis{grid-template-columns:1fr!important}.bv-web-admin-shell .bv-mr-filter label{width:100%!important}.bv-web-admin-shell .bv-mr-filter select,.bv-web-admin-shell .bv-mr-filter input{width:100%!important}}

/* v1.25.0 — Head Office Management Report */
.bv-web-admin-shell .bv-mr-v125{display:grid!important;gap:12px!important}
.bv-web-admin-shell .bv-mr-v125 .bv-mr-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.bv-web-admin-shell .bv-mr-v125 .bv-mr-hero-actions>span{font-size:9px;color:#82a0b3;font-weight:800}
.bv-web-admin-shell .bv-mr-v125 .bv-mr-hero-actions>a{padding:9px 12px;border-radius:9px;background:#e2b84f;color:#102131!important;text-decoration:none;font-size:9px;font-weight:950}
.bv-web-admin-shell .bv-mr-v125 .bv-mr-filter select{height:38px;padding:0 10px;border:1px solid #2b4d65;border-radius:9px;background:#0b263c;color:#f4f8fb;min-width:220px}
.bv-web-admin-shell .bv-mr-v125 .bv-mr-exec-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.bv-web-admin-shell .bv-mr-v125 .bv-mr-exec-strip>div{padding:10px 12px;border-radius:10px;background:linear-gradient(145deg,#102f47,#123650);border:1px solid rgba(101,182,232,.11)}
.bv-web-admin-shell .bv-mr-v125 .bv-mr-exec-strip span{display:block;color:#7f9caf;font-size:8px;font-weight:900;letter-spacing:.09em}
.bv-web-admin-shell .bv-mr-v125 .bv-mr-exec-strip strong{display:block;margin-top:4px;color:#f2f7fa;font-size:15px}
.bv-web-admin-shell .bv-mr-v125 .bv-mr-kpis strong.negative,.bv-web-admin-shell .bv-mr-v125 td.negative{color:#ff8e8e!important}
.bv-web-admin-shell .bv-mr-v125 .bv-mr-office-compare{padding:14px;border-radius:13px;background:#102f47;border:1px solid rgba(101,165,203,.12)}
.bv-web-admin-shell .bv-mr-v125 .bv-mr-office-compare .bv-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}
.bv-web-admin-shell .bv-mr-v125 .bv-mr-office-compare .bv-count{padding:5px 8px;border-radius:999px;border:1px solid rgba(101,165,203,.16);color:#8fa8b9;font-size:8px}
.bv-web-admin-shell .bv-mr-v125 .bv-tablewrap{overflow:auto}
.bv-web-admin-shell .bv-mr-v125 table{width:100%;min-width:1180px;border-collapse:collapse}
.bv-web-admin-shell .bv-mr-v125 th{padding:9px 8px;background:#0a263b;color:#8fa8b9;font-size:7px;letter-spacing:.07em;text-align:left;border:1px solid rgba(101,165,203,.12)}
.bv-web-admin-shell .bv-mr-v125 td{padding:9px 8px;color:#dce8ef;font-size:9px;border:1px solid rgba(101,165,203,.10);white-space:nowrap}
.bv-web-admin-shell .bv-mr-v125 td:first-child{white-space:normal;min-width:160px}.bv-web-admin-shell .bv-mr-v125 td small{display:block;margin-top:3px;color:#718da0;font-size:7px}
.bv-web-admin-shell .bv-mr-v125 .bv-mr-status{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:7px;font-weight:900;letter-spacing:.06em}.bv-web-admin-shell .bv-mr-v125 .bv-mr-status.active{background:rgba(49,196,141,.12);color:#79e0b8;border:1px solid rgba(49,196,141,.18)}.bv-web-admin-shell .bv-mr-v125 .bv-mr-status.inactive{background:rgba(255,116,116,.10);color:#ff9a9a;border:1px solid rgba(255,116,116,.16)}
@media(max-width:950px){.bv-web-admin-shell .bv-mr-v125 .bv-mr-exec-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.bv-web-admin-shell .bv-mr-v125 .bv-mr-exec-strip{grid-template-columns:1fr 1fr}.bv-web-admin-shell .bv-mr-v125 .bv-mr-hero-actions{justify-content:flex-start}.bv-web-admin-shell .bv-mr-v125 .bv-mr-filter select{min-width:0;width:100%}}


/* v1.29.3 — Fixed Admin Sidebar + Day Wise History clean start */
@media (min-width:901px){
  html:has(.bv-web-admin-shell),
  body:has(.bv-web-admin-shell){
    height:100%!important;
    overflow:hidden!important;
  }
  .bv-web-admin-shell{
    height:100vh!important;
    min-height:100vh!important;
    overflow:hidden!important;
  }
  .bv-web-admin-shell aside{
    position:relative!important;
    top:auto!important;left:auto!important;
    height:100vh!important;
    max-height:100vh!important;
    overflow:hidden!important;
    flex:0 0 280px!important;
  }
  .bv-web-admin-shell aside nav{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    scrollbar-width:thin;
  }
  .bv-web-admin-shell main{
    height:100vh!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
  }
}
.bv-web-admin-shell .bv-admin-page[data-page="dayhistory"] .bv-admin-module-body{
  margin-top:0!important;
}


/* v1.29.13 — Office Management clean start */
.bv-office-list-head-clean{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.bv-office-connected-count{margin:0!important;font-size:15px!important;font-weight:700!important;line-height:1.5;color:var(--bv-text,#eaf2ff)!important}
[data-theme="light"] .bv-office-connected-count,body.bv-light .bv-office-connected-count{color:#172033!important}
@media(max-width:700px){.bv-office-list-head-clean{align-items:stretch}.bv-office-list-head-clean .bv-office-add{width:100%}}

/* v1.29.14 — Live Office Activity / Presence */
.bv-live-office-activity{margin-top:24px;border:1px solid var(--bv-border,rgba(148,163,184,.22));border-radius:18px;padding:20px;background:var(--bv-card,#102538);color:var(--bv-text,#f8fafc)}
.bv-live-office-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.bv-live-office-head span{font-size:11px;font-weight:800;letter-spacing:.13em;color:#60a5fa}.bv-live-office-head h3{margin:5px 0 4px;font-size:21px;color:inherit}.bv-live-office-head p{margin:0;color:var(--bv-muted,#a7b3c5);font-size:13px}.bv-live-legend{display:flex;gap:12px;flex-wrap:wrap}.bv-live-legend b{font-size:12px;color:var(--bv-muted,#cbd5e1);display:flex;align-items:center;gap:6px}.bv-live-legend i,.bv-live-status:before{width:8px;height:8px;border-radius:50%;display:inline-block;content:""}.bv-live-legend .active,.bv-live-status.active:before{background:#22c55e}.bv-live-legend .recent,.bv-live-status.recent:before{background:#f59e0b}.bv-live-legend .offline,.bv-live-status.offline:before{background:#94a3b8}
.bv-presence-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin-bottom:18px}.bv-presence-card{border:1px solid var(--bv-border,rgba(148,163,184,.2));border-radius:14px;padding:15px;background:color-mix(in srgb,var(--bv-card,#102538) 92%,white 8%)}.bv-presence-card.active{box-shadow:inset 3px 0 #22c55e}.bv-presence-card.recent{box-shadow:inset 3px 0 #f59e0b}.bv-presence-card.offline{box-shadow:inset 3px 0 #64748b}.bv-presence-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.bv-presence-top strong{font-size:15px}.bv-presence-top span{font-size:11px;font-weight:800;text-transform:uppercase}.bv-presence-card>small{display:block;margin-top:3px;color:var(--bv-muted,#94a3b8)}.bv-presence-card dl{margin:12px 0 0;display:grid;gap:8px}.bv-presence-card dl div{display:flex;justify-content:space-between;gap:12px}.bv-presence-card dt{font-size:11px;color:var(--bv-muted,#94a3b8)}.bv-presence-card dd{margin:0;font-size:11px;font-weight:700;text-align:right;color:inherit}.bv-presence-card a,.bv-activity-table a{color:#60a5fa;text-decoration:none}
.bv-live-table-wrap{border:1px solid var(--bv-border,rgba(148,163,184,.18));border-radius:14px;overflow:hidden}.bv-live-table-title{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;background:rgba(59,130,246,.1)}.bv-live-table-title strong{font-size:14px}.bv-live-table-title span{font-size:11px;color:var(--bv-muted,#94a3b8)}.bv-activity-table td small{display:block;margin-top:3px;color:var(--bv-muted,#94a3b8);font-size:10px}.bv-live-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800}.bv-live-empty{padding:22px;text-align:center;color:var(--bv-muted,#94a3b8)}.bv-live-note{margin-top:12px;font-size:11px;line-height:1.55;color:var(--bv-muted,#94a3b8)}
.bv-network-identity{display:grid;grid-template-columns:minmax(260px,1fr) minmax(180px,260px) auto auto;gap:12px;align-items:end;margin:14px 0 18px;padding:14px 16px;border:1px solid var(--bv-border,rgba(148,163,184,.2));border-radius:14px;background:rgba(59,130,246,.07)}.bv-network-identity>div span{display:block;font-size:10px;font-weight:900;letter-spacing:.12em;color:#60a5fa}.bv-network-identity>div strong{display:block;font-size:14px;margin:2px 0}.bv-network-identity>div small{display:block;color:var(--bv-muted,#94a3b8);font-size:11px}.bv-network-identity label{font-size:11px;font-weight:800}.bv-network-identity input{display:block;width:100%;margin-top:5px}.bv-network-identity button{min-height:42px;border:0;border-radius:9px;padding:0 16px;background:#2563eb;color:#fff;font-weight:800;cursor:pointer}.bv-network-state{align-self:center;font-size:11px;font-weight:800;color:var(--bv-muted,#94a3b8)}.bv-network-state.ok{color:#22c55e}.bv-network-state.bad{color:#ef4444}
@media(max-width:900px){.bv-network-identity{grid-template-columns:1fr}.bv-live-office-head{flex-direction:column}.bv-activity-table{min-width:1050px}}
[data-bv-theme="light"] .bv-live-office-activity,.bv-admin-shell.light .bv-live-office-activity{background:#fff;color:#0f172a}.bv-admin-shell.light .bv-presence-card,[data-bv-theme="light"] .bv-presence-card{background:#f8fafc}.bv-admin-shell.light .bv-live-table-title,[data-bv-theme="light"] .bv-live-table-title{background:#eff6ff}.bv-admin-shell.light .bv-network-identity,[data-bv-theme="light"] .bv-network-identity{background:#eff6ff}

/* v1.29.15 — Office Activity theme-safe contrast */
.bv-ui-shell[data-theme="dark"] .bv-live-office-activity{background:#102538!important;color:#f8fafc!important;border-color:#29465d!important;box-shadow:0 12px 32px rgba(0,0,0,.16)!important}
.bv-ui-shell[data-theme="dark"] .bv-live-office-head h3,.bv-ui-shell[data-theme="dark"] .bv-live-office-head strong,.bv-ui-shell[data-theme="dark"] .bv-presence-top strong,.bv-ui-shell[data-theme="dark"] .bv-live-table-title strong{color:#f8fafc!important}
.bv-ui-shell[data-theme="dark"] .bv-live-office-head p,.bv-ui-shell[data-theme="dark"] .bv-live-legend b,.bv-ui-shell[data-theme="dark"] .bv-presence-card>small,.bv-ui-shell[data-theme="dark"] .bv-presence-card dt,.bv-ui-shell[data-theme="dark"] .bv-live-table-title span,.bv-ui-shell[data-theme="dark"] .bv-live-note,.bv-ui-shell[data-theme="dark"] .bv-live-empty,.bv-ui-shell[data-theme="dark"] .bv-activity-table td small{color:#a9bdcc!important}
.bv-ui-shell[data-theme="dark"] .bv-presence-card{background:#132d42!important;color:#f3f8fb!important;border-color:#31516a!important}
.bv-ui-shell[data-theme="dark"] .bv-presence-card dd{color:#f8fafc!important}.bv-ui-shell[data-theme="dark"] .bv-presence-top span{color:#dce8f0!important}
.bv-ui-shell[data-theme="dark"] .bv-live-table-wrap{background:#102b40!important;border-color:#31516a!important}.bv-ui-shell[data-theme="dark"] .bv-live-table-title{background:#173b58!important;color:#f8fafc!important;border-bottom:1px solid #31516a!important}
.bv-ui-shell[data-theme="dark"] .bv-activity-table{background:#102b40!important}.bv-ui-shell[data-theme="dark"] .bv-activity-table th{background:#173b58!important;color:#dbeafe!important;border-color:#42627a!important;font-weight:800!important}.bv-ui-shell[data-theme="dark"] .bv-activity-table td{background:#102b40!important;color:#eef6fb!important;border-color:#31516a!important}.bv-ui-shell[data-theme="dark"] .bv-activity-table tr:hover td{background:#16364f!important}
.bv-ui-shell[data-theme="dark"] .bv-live-empty{background:#102b40!important}.bv-ui-shell[data-theme="dark"] .bv-presence-card a,.bv-ui-shell[data-theme="dark"] .bv-activity-table a{color:#7cc4ff!important}
.bv-ui-shell[data-theme="light"] .bv-live-office-activity{background:#fff!important;color:#173047!important;border-color:#dce6ed!important;box-shadow:0 10px 30px rgba(35,67,91,.06)!important}
.bv-ui-shell[data-theme="light"] .bv-presence-card{background:#f7fafc!important;color:#173047!important;border-color:#d8e4eb!important}.bv-ui-shell[data-theme="light"] .bv-live-table-wrap{background:#fff!important;border-color:#d8e4eb!important}.bv-ui-shell[data-theme="light"] .bv-live-table-title{background:#eaf4fb!important;color:#173047!important}.bv-ui-shell[data-theme="light"] .bv-activity-table{background:#fff!important}.bv-ui-shell[data-theme="light"] .bv-activity-table th{background:#eaf4fb!important;color:#35566d!important;border-color:#d5e2ea!important;font-weight:800!important}.bv-ui-shell[data-theme="light"] .bv-activity-table td{background:#fff!important;color:#29475d!important;border-color:#e0e9ef!important}.bv-ui-shell[data-theme="light"] .bv-activity-table tr:hover td{background:#f4f9fc!important}.bv-ui-shell[data-theme="light"] .bv-live-empty{background:#fff!important;color:#718698!important}


/* v1.29.18 — Admin Office Activity outer-theme fix
   Public Admin uses .bv-web-admin-shell (not .bv-ui-shell). Previous global
   [data-bv-theme="light"] rules could therefore paint this block white even
   while the Admin Control shell itself is dark. Scope the component to the
   actual admin shell and keep an explicit light hook for future/admin light UI. */
.bv-web-admin-shell .bv-live-office-activity{
  background:#0f2a3f!important;
  color:#f3f8fb!important;
  border-color:#2b4a61!important;
  box-shadow:0 12px 32px rgba(0,0,0,.16)!important;
}
.bv-web-admin-shell .bv-live-office-head h3,
.bv-web-admin-shell .bv-live-office-head strong,
.bv-web-admin-shell .bv-presence-top strong,
.bv-web-admin-shell .bv-live-table-title strong{color:#f8fafc!important}
.bv-web-admin-shell .bv-live-office-head p,
.bv-web-admin-shell .bv-live-legend b,
.bv-web-admin-shell .bv-presence-card>small,
.bv-web-admin-shell .bv-presence-card dt,
.bv-web-admin-shell .bv-live-table-title span,
.bv-web-admin-shell .bv-live-note,
.bv-web-admin-shell .bv-live-empty,
.bv-web-admin-shell .bv-activity-table td small{color:#a9bdcc!important}
.bv-web-admin-shell .bv-presence-card{background:#132f46!important;color:#f3f8fb!important;border-color:#31516a!important}
.bv-web-admin-shell .bv-presence-card dd,
.bv-web-admin-shell .bv-presence-top span{color:#f8fafc!important}
.bv-web-admin-shell .bv-live-table-wrap{background:#102b40!important;border-color:#31516a!important}
.bv-web-admin-shell .bv-live-table-title{background:#173b58!important;color:#f8fafc!important;border-bottom:1px solid #31516a!important}
.bv-web-admin-shell .bv-activity-table{background:#102b40!important}
.bv-web-admin-shell .bv-activity-table th{background:#173b58!important;color:#dbeafe!important;border-color:#42627a!important;font-weight:800!important}
.bv-web-admin-shell .bv-activity-table td{background:#102b40!important;color:#eef6fb!important;border-color:#31516a!important}
.bv-web-admin-shell .bv-activity-table tr:hover td{background:#16364f!important}
.bv-web-admin-shell .bv-live-empty{background:#102b40!important;color:#a9bdcc!important}
.bv-web-admin-shell .bv-presence-card a,
.bv-web-admin-shell .bv-activity-table a{color:#7cc4ff!important}

/* Explicit light hook: if Admin Control later receives a light class/theme,
   the same component remains readable without hard-coded dark leakage. */
.bv-web-admin-shell.light .bv-live-office-activity,
.bv-web-admin-shell[data-theme="light"] .bv-live-office-activity{
  background:#ffffff!important;color:#173047!important;border-color:#dce6ed!important;
  box-shadow:0 10px 30px rgba(35,67,91,.06)!important;
}
.bv-web-admin-shell.light .bv-presence-card,
.bv-web-admin-shell[data-theme="light"] .bv-presence-card{background:#f7fafc!important;color:#173047!important;border-color:#d8e4eb!important}
.bv-web-admin-shell.light .bv-live-table-wrap,
.bv-web-admin-shell[data-theme="light"] .bv-live-table-wrap{background:#fff!important;border-color:#d8e4eb!important}
.bv-web-admin-shell.light .bv-live-table-title,
.bv-web-admin-shell[data-theme="light"] .bv-live-table-title{background:#eaf4fb!important;color:#173047!important}
.bv-web-admin-shell.light .bv-activity-table th,
.bv-web-admin-shell[data-theme="light"] .bv-activity-table th{background:#eaf4fb!important;color:#35566d!important;border-color:#d5e2ea!important}
.bv-web-admin-shell.light .bv-activity-table td,
.bv-web-admin-shell[data-theme="light"] .bv-activity-table td{background:#fff!important;color:#29475d!important;border-color:#e0e9ef!important}

/* v1.29.19 — Premium branded Office Login */
.bv-auth-shell{
  position:relative!important;overflow:hidden!important;isolation:isolate!important;
  background:
    radial-gradient(ellipse at 18% 78%,rgba(0,110,255,.24),transparent 35%),
    radial-gradient(ellipse at 84% 16%,rgba(29,104,255,.15),transparent 31%),
    linear-gradient(145deg,#020817 0%,#04142e 47%,#06112a 100%)!important;
}
.bv-auth-shell:before,.bv-auth-shell:after{content:""!important;position:absolute!important;pointer-events:none!important;z-index:0!important;opacity:.9!important;filter:none!important;animation:none!important}
.bv-auth-shell:before{width:110vw!important;height:55vh!important;left:-18vw!important;top:58%!important;background:repeating-radial-gradient(ellipse at 20% 50%,transparent 0 22px,rgba(24,121,255,.12) 23px 24px,transparent 25px 42px)!important;transform:rotate(-10deg)!important}
.bv-auth-shell:after{width:52vw!important;height:52vw!important;right:-18vw!important;top:-22vw!important;border-radius:50%!important;background:radial-gradient(circle,rgba(27,107,255,.15),transparent 64%)!important}
.bv-auth-card{background:linear-gradient(145deg,rgba(7,25,55,.76),rgba(3,12,31,.72))!important;border:1px solid rgba(65,139,255,.38)!important;box-shadow:0 34px 100px rgba(0,0,0,.52),inset 0 1px 0 rgba(255,255,255,.08),0 0 42px rgba(0,91,255,.08)!important;backdrop-filter:blur(24px) saturate(135%)!important;-webkit-backdrop-filter:blur(24px) saturate(135%)!important}
.bv-login-logo{display:flex!important;justify-content:center!important;align-items:center!important;margin:0 auto 24px!important;min-height:104px!important}
.bv-login-logo img{display:block!important;width:auto!important;height:auto!important;max-width:220px!important;max-height:112px!important;object-fit:contain!important;filter:drop-shadow(0 10px 22px rgba(0,0,0,.28))!important}
.bv-auth-card h1{text-align:center!important;margin:5px 0 7px!important;font-size:30px!important}
.bv-auth-card>p{text-align:center!important;margin-bottom:26px!important}
@media(max-width:600px){.bv-login-logo{min-height:82px!important;margin-bottom:18px!important}.bv-login-logo img{max-width:185px!important;max-height:88px!important}.bv-auth-card h1{font-size:26px!important}}


/* v1.29.20 — Premium Login finishing pass */
.bv-auth-shell{
  min-height:100svh!important;
  padding:clamp(22px,4vw,54px)!important;
  background:
    radial-gradient(circle at 52% 38%,rgba(24,104,255,.20),transparent 26%),
    radial-gradient(circle at 16% 84%,rgba(0,105,255,.18),transparent 31%),
    radial-gradient(circle at 88% 10%,rgba(16,74,196,.15),transparent 29%),
    linear-gradient(145deg,#020817 0%,#041126 48%,#071b3b 100%)!important;
}
.bv-auth-shell:before{
  width:118vw!important;height:68vh!important;left:-25vw!important;top:56%!important;
  background:repeating-radial-gradient(ellipse at 22% 45%,transparent 0 25px,rgba(30,126,255,.13) 26px 27px,transparent 28px 50px)!important;
  transform:rotate(-8deg)!important;opacity:.95!important;
}
.bv-auth-shell:after{
  width:70vw!important;height:70vw!important;right:-29vw!important;top:-30vw!important;
  background:radial-gradient(circle,rgba(33,111,255,.22),rgba(18,70,180,.07) 38%,transparent 68%)!important;
}
.bv-auth-card{
  width:min(520px,100%)!important;
  padding:42px 40px 40px!important;
  border-radius:28px!important;
  background:linear-gradient(145deg,rgba(8,27,59,.72),rgba(3,13,32,.68))!important;
  border:1px solid rgba(86,154,255,.42)!important;
  box-shadow:0 42px 120px rgba(0,0,0,.56),inset 0 1px 0 rgba(255,255,255,.09),0 0 70px rgba(12,99,255,.13)!important;
  backdrop-filter:blur(30px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(30px) saturate(145%)!important;
}
.bv-login-logo{min-height:126px!important;margin:0 auto 20px!important;position:relative!important}
.bv-login-logo:before{content:"";position:absolute;width:245px;height:116px;border-radius:999px;background:radial-gradient(ellipse,rgba(42,132,255,.12),transparent 70%);filter:blur(8px);pointer-events:none}
.bv-login-logo img{
  position:relative!important;z-index:1!important;
  max-width:285px!important;max-height:132px!important;
  filter:brightness(1.42) contrast(1.10) saturate(1.12) drop-shadow(0 14px 28px rgba(0,0,0,.38)) drop-shadow(0 0 16px rgba(54,130,255,.12))!important;
}
.bv-auth-card h1{font-size:32px!important;letter-spacing:-.02em!important;margin:6px 0 8px!important;color:#f8fbff!important}
.bv-auth-card>p{font-size:14px!important;line-height:1.55!important;color:#a9bfd2!important;margin-bottom:28px!important}
.bv-auth-card select,.bv-auth-card input[type=email],.bv-auth-card input[type=password]{
  min-height:52px!important;padding:0 16px!important;border-radius:13px!important;
  background:rgba(25,53,80,.82)!important;border:1px solid rgba(121,171,218,.22)!important;
  font-size:14px!important;color:#f4f9fc!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
}
.bv-auth-card select:focus,.bv-auth-card input[type=email]:focus,.bv-auth-card input[type=password]:focus{border-color:rgba(69,146,255,.70)!important;box-shadow:0 0 0 3px rgba(37,122,255,.11)!important}
.bv-auth-card .bv-check{font-size:13px!important;margin:7px 0 20px!important;color:#b7c8d6!important}
.bv-auth-card .bv-btn{min-height:48px!important;padding:0 22px!important;border-radius:13px!important;font-size:14px!important;letter-spacing:.02em!important;box-shadow:0 14px 34px rgba(221,169,48,.18)!important}
.bv-admin-entry-link{right:22px!important;bottom:22px!important;z-index:20!important}
.bv-admin-entry-link a{
  display:inline-flex!important;align-items:center!important;gap:7px!important;
  padding:10px 14px!important;border-radius:12px!important;
  background:rgba(8,28,52,.66)!important;color:#dcecff!important;
  border:1px solid rgba(93,151,209,.24)!important;
  box-shadow:0 12px 36px rgba(0,0,0,.25)!important;
  backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;
  font-size:11px!important;font-weight:800!important;text-decoration:none!important;
}
.bv-admin-entry-link a:hover{background:rgba(19,55,91,.78)!important;border-color:rgba(104,173,245,.42)!important;transform:translateY(-1px)}
@media(max-width:600px){
  .bv-auth-shell{padding:18px 14px!important;place-items:center!important}
  .bv-auth-card{width:min(430px,calc(100vw - 28px))!important;padding:30px 24px 28px!important;border-radius:23px!important}
  .bv-login-logo{min-height:100px!important;margin-bottom:15px!important}
  .bv-login-logo img{max-width:235px!important;max-height:104px!important}
  .bv-auth-card h1{font-size:28px!important}
  .bv-auth-card>p{font-size:13px!important;margin-bottom:22px!important}
  .bv-auth-card select,.bv-auth-card input[type=email],.bv-auth-card input[type=password]{min-height:48px!important;font-size:13px!important}
  .bv-admin-entry-link{right:12px!important;bottom:12px!important}
  .bv-admin-entry-link a{padding:9px 12px!important;font-size:10px!important}
}

/* v1.30.0 — Stock Control */
.bv-stock-control-page{display:grid;gap:12px;color:var(--bv-text,#eaf3f8)}
.bv-stock-hero,.bv-stock-panel{border:1px solid rgba(115,174,211,.17);background:rgba(13,43,64,.72);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-radius:14px}
.bv-stock-hero{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 17px}.bv-stock-hero h2{margin:3px 0 4px;font-size:20px}.bv-stock-hero p{margin:0;color:#8fa7b8;font-size:10px}.bv-stock-open,.bv-stock-actions button{border:1px solid rgba(226,184,79,.32);background:#e2b84f;color:#132335;font-weight:900;border-radius:8px;padding:9px 13px;cursor:pointer;font-size:9px}
.bv-stock-notice{padding:9px 12px;border-radius:9px;border:1px solid rgba(53,211,153,.25);background:rgba(16,185,129,.08);color:#a7f3d0;font-size:9px;font-weight:800}.bv-stock-notice.is-error{border-color:rgba(248,113,113,.25);background:rgba(239,68,68,.08);color:#fecaca}
.bv-stock-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.bv-stock-kpis>div{padding:12px;border:1px solid rgba(115,174,211,.14);background:rgba(17,54,78,.67);border-radius:11px}.bv-stock-kpis span{display:block;color:#8da9bb;font-size:8px;font-weight:850;letter-spacing:.1em}.bv-stock-kpis strong{display:block;margin-top:5px;color:#f5f9fb;font-size:18px;line-height:1}
.bv-stock-panel{padding:13px}.bv-stock-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px}.bv-stock-panel-head h3{margin:2px 0 0;font-size:14px}.bv-stock-panel-head>span{font-size:8px;color:#83a0b3}.bv-stock-table-wrap{overflow:auto}.bv-stock-table{width:100%;border-collapse:collapse;min-width:760px}.bv-stock-table th{padding:8px 9px;text-align:left;color:#829dae;font-size:7px;letter-spacing:.08em;border-bottom:1px solid rgba(115,174,211,.15)}.bv-stock-table td{padding:9px;color:#dce8ef;font-size:9px;border-bottom:1px solid rgba(115,174,211,.09)}.bv-stock-table td b,.bv-stock-table td strong{color:#f5f9fb}.bv-stock-table td small{display:block;margin-top:3px;color:#7592a5;font-size:7px}.bv-stock-table .empty{text-align:center;padding:24px;color:#7f9aab}.bv-stock-status{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:7px;font-weight:900}.bv-stock-status.ok{background:rgba(16,185,129,.12);color:#86efac}.bv-stock-status.empty{background:rgba(239,68,68,.11);color:#fca5a5}
.bv-stock-modal[hidden]{display:none!important}.bv-stock-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:18px}.bv-stock-backdrop{position:absolute;inset:0;background:rgba(2,10,20,.72);backdrop-filter:blur(8px)}.bv-stock-modal-card{position:relative;width:min(680px,100%);padding:18px;border-radius:15px;border:1px solid rgba(115,174,211,.22);background:linear-gradient(145deg,rgba(11,34,52,.97),rgba(8,27,42,.96));box-shadow:0 28px 80px rgba(0,0,0,.38);color:#edf5f9}.bv-stock-modal-card h3{margin:4px 0;font-size:18px}.bv-stock-modal-card p{margin:0 0 14px;color:#8da5b5;font-size:9px}.bv-stock-close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#b9cad5;font-size:22px;cursor:pointer}.bv-stock-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bv-stock-form-grid label{display:grid;gap:5px;color:#a7bac7;font-size:8px;font-weight:850}.bv-stock-form-grid .wide{grid-column:1/-1}.bv-stock-form-grid input,.bv-stock-form-grid select,.bv-stock-form-grid textarea{width:100%;min-height:39px;padding:8px 10px;border-radius:8px;border:1px solid rgba(115,174,211,.18);background:#0c2940;color:#edf5f9;font-size:10px}.bv-stock-form-grid textarea{min-height:72px;resize:vertical}.bv-stock-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:13px;padding-top:12px;border-top:1px solid rgba(115,174,211,.1)}.bv-stock-actions span{color:#7895a8;font-size:8px}
[data-bv-theme="light"] .bv-stock-control-page,.bv-light-mode .bv-stock-control-page{color:#17324c}.bv-light-mode .bv-stock-hero,.bv-light-mode .bv-stock-panel,[data-bv-theme="light"] .bv-stock-hero,[data-bv-theme="light"] .bv-stock-panel{background:rgba(255,255,255,.88);border-color:#d7e3eb}.bv-light-mode .bv-stock-kpis>div,[data-bv-theme="light"] .bv-stock-kpis>div{background:#fff;border-color:#dbe6ed}.bv-light-mode .bv-stock-kpis strong,[data-bv-theme="light"] .bv-stock-kpis strong,.bv-light-mode .bv-stock-table td b,.bv-light-mode .bv-stock-table td strong,[data-bv-theme="light"] .bv-stock-table td b,[data-bv-theme="light"] .bv-stock-table td strong{color:#16324b}.bv-light-mode .bv-stock-table td,[data-bv-theme="light"] .bv-stock-table td{color:#334e63}
@media(max-width:850px){.bv-stock-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.bv-stock-hero{align-items:flex-start;flex-direction:column}}@media(max-width:560px){.bv-stock-kpis{grid-template-columns:1fr 1fr}.bv-stock-form-grid{grid-template-columns:1fr}.bv-stock-form-grid .wide{grid-column:auto}.bv-stock-actions{align-items:stretch;flex-direction:column}.bv-stock-actions button{width:100%}}

/* v1.30.1 — simplified stock control */
.bv-stock-datebar{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:10px 0;padding:11px 13px;border:1px solid rgba(113,169,207,.16);border-radius:12px;background:rgba(15,47,70,.54)}
.bv-stock-datebar>div span{display:block;font-size:8px;font-weight:900;letter-spacing:.12em;color:#7fa3ba}.bv-stock-datebar>div strong{display:block;margin-top:4px;font-size:15px;color:#eef6fa}
.bv-stock-datebar form{display:flex;align-items:end;gap:7px;flex-wrap:wrap}.bv-stock-datebar label{font-size:8px;font-weight:800;color:#8da8b9}.bv-stock-datebar input{display:block;margin-top:4px;height:34px;padding:0 9px;border:1px solid rgba(113,169,207,.18);border-radius:8px;background:#0d2a40;color:#edf5f9}.bv-stock-datebar button,.bv-stock-datebar a{height:34px;display:inline-flex;align-items:center;padding:0 10px;border-radius:8px;border:1px solid rgba(113,169,207,.18);background:#173b54;color:#dfeaf0;text-decoration:none;font-size:8px;font-weight:900}.bv-stock-datebar button{background:#e2b84f;color:#152335;border-color:#e2b84f}
.bv-stock-simple-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:9px}.bv-stock-simple-kpis>div{padding:12px 14px;border-radius:11px;border:1px solid rgba(113,169,207,.14);background:rgba(18,54,79,.62)}.bv-stock-simple-kpis span{display:block;font-size:8px;font-weight:900;letter-spacing:.1em;color:#86a7ba}.bv-stock-simple-kpis strong{display:block;margin-top:5px;font-size:20px;color:#f3f8fb}
.bv-stock-simple-table th:nth-child(2),.bv-stock-simple-table th:nth-child(3),.bv-stock-simple-table td:nth-child(2),.bv-stock-simple-table td:nth-child(3){text-align:right}.bv-stock-simple-table td strong,.bv-stock-simple-table td b{font-size:13px}.bv-stock-simple-table .is-negative{color:#ff8e8e!important}
body:not([data-theme="dark"]) .bv-stock-datebar{background:#fff;border-color:#d9e4ec}body:not([data-theme="dark"]) .bv-stock-datebar>div strong,body:not([data-theme="dark"]) .bv-stock-simple-kpis strong{color:#15304b}body:not([data-theme="dark"]) .bv-stock-datebar input{background:#fff;color:#16324b;border-color:#d3e0e9}body:not([data-theme="dark"]) .bv-stock-datebar a{background:#f5f8fb;color:#27455f;border-color:#d5e1e9}body:not([data-theme="dark"]) .bv-stock-simple-kpis>div{background:#fff;border-color:#d9e4ec}
@media(max-width:700px){.bv-stock-datebar{align-items:stretch;flex-direction:column}.bv-stock-datebar form{align-items:stretch}.bv-stock-datebar label{flex:1 1 100%}.bv-stock-datebar input{width:100%}.bv-stock-simple-kpis{grid-template-columns:1fr 1fr}}
/* v1.30.2 — Stock In History */
.bv-stock-history-panel{padding:13px!important}
.bv-stock-history-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:10px}
.bv-stock-history-head h3{margin:2px 0 2px;font-size:15px}.bv-stock-history-head p{margin:0;color:#839fb1;font-size:8px}
.bv-stock-history-actions{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.bv-stock-history-actions form{display:flex;align-items:end;gap:7px;flex-wrap:wrap}.bv-stock-history-actions label{font-size:8px;font-weight:800;color:#89a4b5}.bv-stock-history-actions input{display:block;margin-top:4px;height:34px;padding:0 9px;border:1px solid rgba(113,169,207,.18);border-radius:8px;background:#0d2a40;color:#edf5f9}.bv-stock-history-actions button,.bv-stock-history-pdf{height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0 11px;border-radius:8px;font-size:8px;font-weight:900;text-decoration:none;cursor:pointer}.bv-stock-history-actions button{border:1px solid #e2b84f;background:#e2b84f;color:#142437}.bv-stock-history-pdf{border:1px solid rgba(84,199,139,.34);background:rgba(32,154,104,.16);color:#a7f3d0}
.bv-stock-history-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:10px}.bv-stock-history-kpis>div{padding:10px 11px;border:1px solid rgba(113,169,207,.13);border-radius:9px;background:rgba(17,53,77,.58)}.bv-stock-history-kpis span{display:block;color:#83a2b5;font-size:7px;font-weight:900;letter-spacing:.1em}.bv-stock-history-kpis strong{display:block;margin-top:4px;color:#f3f8fb;font-size:15px}
.bv-stock-history-table{min-width:980px!important}.bv-stock-history-table th:nth-child(3),.bv-stock-history-table th:nth-child(4),.bv-stock-history-table th:nth-child(5),.bv-stock-history-table td:nth-child(3),.bv-stock-history-table td:nth-child(4),.bv-stock-history-table td:nth-child(5){text-align:right}.bv-stock-history-table td:nth-child(3) strong,.bv-stock-history-table td:nth-child(5) b{font-size:11px}
body:not([data-theme="dark"]) .bv-stock-history-actions input{background:#fff;color:#16324b;border-color:#d3e0e9}body:not([data-theme="dark"]) .bv-stock-history-kpis>div{background:#fff;border-color:#d9e4ec}body:not([data-theme="dark"]) .bv-stock-history-kpis strong{color:#15304b}body:not([data-theme="dark"]) .bv-stock-history-head p{color:#617b8e}
@media(max-width:800px){.bv-stock-history-head{align-items:stretch;flex-direction:column}.bv-stock-history-actions{align-items:stretch}.bv-stock-history-actions form{width:100%;align-items:stretch}.bv-stock-history-actions label{flex:1 1 140px}.bv-stock-history-actions input{width:100%}.bv-stock-history-pdf{flex:1 1 130px}.bv-stock-history-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.bv-stock-history-kpis{grid-template-columns:1fr 1fr}.bv-stock-history-kpis>div:last-child{grid-column:1/-1}.bv-stock-history-actions form{display:grid;grid-template-columns:1fr 1fr}.bv-stock-history-actions form button{grid-column:1/-1}.bv-stock-history-pdf{width:100%}}

/* v1.30.4 — Stock Control dark-mode readability fix */
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-table tbody td,
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-table tbody td b,
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-table tbody td strong{color:#f2f7fb!important;opacity:1!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-table tbody td small{color:#9db5c5!important;opacity:1!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-table thead th{color:#b7cad7!important;opacity:1!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-simple-table td:nth-child(2) strong,
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-simple-table td:nth-child(3) b,
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-history-table td:nth-child(3) strong,
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-history-table td:nth-child(4),
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-history-table td:nth-child(5) b{color:#ffffff!important;font-weight:800!important;text-shadow:0 1px 10px rgba(255,255,255,.04)}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-table tbody tr:hover td{background:rgba(77,143,184,.08)!important}


/* v1.30.5 — Stock Control dark glass KPI/date cards */
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-datebar{
  background:linear-gradient(145deg,rgba(15,48,71,.82),rgba(9,34,52,.76))!important;
  border-color:rgba(123,181,218,.20)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 10px 30px rgba(0,0,0,.10)!important;
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)
}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-datebar>div strong{color:#f5f9fc!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-datebar input{
  background:rgba(8,35,54,.90)!important;color:#eaf3f8!important;border-color:rgba(123,181,218,.22)!important
}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-datebar a{
  background:rgba(24,61,86,.78)!important;color:#e4eef4!important;border-color:rgba(123,181,218,.20)!important
}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-simple-kpis>div,
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-history-kpis>div{
  background:linear-gradient(145deg,rgba(18,55,80,.84),rgba(12,42,63,.76))!important;
  border-color:rgba(123,181,218,.18)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 24px rgba(0,0,0,.08)!important;
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)
}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-simple-kpis span,
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-history-kpis span{color:#91afc1!important}
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-simple-kpis strong,
:is(.bv-ui-shell[data-theme="dark"],.bv-ui-shell.bv-dark-mode,.bv-ui-shell:has([data-bv-dark-switch]:checked)) .bv-stock-control-page .bv-stock-history-kpis strong{color:#f7fbfd!important;opacity:1!important}


/* v1.30.8 — Current Stock total row */
.bv-stock-control-page .bv-stock-total-row td{font-weight:900!important;border-top:1px solid rgba(226,184,79,.28)!important;background:rgba(226,184,79,.07)!important;}
.bv-stock-control-page .bv-stock-total-row td:first-child strong{color:#e2b84f!important;letter-spacing:.06em!important;}
.bv-stock-control-page .bv-stock-total-row td:nth-child(2) strong,.bv-stock-control-page .bv-stock-total-row td:nth-child(3) strong{font-size:14px!important;color:inherit!important;}
body[data-theme="light"] .bv-stock-control-page .bv-stock-total-row td,.bv-theme-light .bv-stock-control-page .bv-stock-total-row td{background:#fff8e6!important;border-top-color:#e6c66d!important;color:#102a43!important;}
body[data-theme="dark"] .bv-stock-control-page .bv-stock-total-row td,.bv-theme-dark .bv-stock-control-page .bv-stock-total-row td{background:rgba(226,184,79,.09)!important;color:#f3f7fa!important;}


/* v1.30.9 — Distinct Current Stock TOTAL row */
.bv-stock-control-page .bv-stock-total-row td{background:linear-gradient(135deg,#b88722,#e2b84f)!important;border-top:2px solid #f2d27b!important;border-bottom:1px solid #9b711c!important;color:#14283a!important;box-shadow:inset 0 1px rgba(255,255,255,.28)!important;}
.bv-stock-control-page .bv-stock-total-row td strong,.bv-stock-control-page .bv-stock-total-row td b,.bv-stock-control-page .bv-stock-total-row td small{color:#14283a!important;-webkit-text-fill-color:#14283a!important;}
.bv-stock-control-page .bv-stock-total-row td:first-child strong{color:#14283a!important;-webkit-text-fill-color:#14283a!important;font-weight:950!important;}
.bv-stock-control-page .bv-stock-total-row td small{opacity:.72!important;}


/* v1.30.10 — definitive TOTAL row highlight + one-time stock notice release */
.bv-stock-control-page .bv-stock-simple-table tbody tr.bv-stock-total-row > td{
  background:linear-gradient(135deg,#f0c44f 0%,#dca72f 100%)!important;
  border-top:2px solid #ffe18b!important;
  border-bottom:1px solid #9d741b!important;
  color:#10283b!important;
  opacity:1!important;
}
.bv-stock-control-page .bv-stock-simple-table tbody tr.bv-stock-total-row > td *,
.bv-stock-control-page .bv-stock-simple-table tbody tr.bv-stock-total-row > td strong,
.bv-stock-control-page .bv-stock-simple-table tbody tr.bv-stock-total-row > td b,
.bv-stock-control-page .bv-stock-simple-table tbody tr.bv-stock-total-row > td small{
  color:#10283b!important;
  -webkit-text-fill-color:#10283b!important;
  opacity:1!important;
  text-shadow:none!important;
}
.bv-stock-control-page .bv-stock-simple-table tbody tr.bv-stock-total-row > td:first-child strong{
  font-weight:950!important;
  letter-spacing:.07em!important;
}
.bv-stock-control-page .bv-stock-simple-table tbody tr.bv-stock-total-row:hover > td{
  background:linear-gradient(135deg,#f4cc62 0%,#e0ad39 100%)!important;
}

/* v1.30.11 — Admin scheduled login notification */
.bv-notice-admin{display:grid;gap:18px}.bv-notice-admin-alert{padding:12px 15px;border-radius:12px;font-weight:800}.bv-notice-admin-alert.success{background:rgba(31,169,113,.12);border:1px solid rgba(31,169,113,.32);color:#7be2b5}.bv-notice-admin-alert.error{background:rgba(218,73,73,.12);border:1px solid rgba(218,73,73,.3);color:#ffaaaa}.bv-notice-statusbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bv-notice-statusbar>div,.bv-notice-form,.bv-notice-preview{background:rgba(15,48,71,.62);border:1px solid rgba(125,184,218,.18);border-radius:16px;padding:18px}.bv-notice-statusbar span,.bv-notice-preview>span{display:block;font-size:10px;font-weight:900;letter-spacing:.11em;color:#8eafc2;margin-bottom:7px}.bv-notice-statusbar strong{font-size:16px;color:#f4f8fb}.bv-notice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.bv-notice-field{display:grid;gap:8px}.bv-notice-field-wide{grid-column:1/-1}.bv-notice-field>span{font-size:12px;font-weight:900;color:#bcd0dc}.bv-notice-field input,.bv-notice-field textarea{width:100%;box-sizing:border-box;background:rgba(6,31,48,.78);color:#eef6fa;border:1px solid rgba(139,193,225,.22);border-radius:11px;padding:12px 13px;outline:none}.bv-notice-field textarea{resize:vertical;min-height:120px}.bv-notice-field small{color:#7998aa}.bv-notice-actions{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.bv-notice-toggle{display:flex;align-items:center;gap:10px;cursor:pointer}.bv-notice-toggle input{position:absolute;opacity:0;pointer-events:none}.bv-notice-toggle span{width:42px;height:23px;border-radius:999px;background:#365469;position:relative;transition:.2s}.bv-notice-toggle span:after{content:"";position:absolute;width:17px;height:17px;border-radius:50%;background:#fff;top:3px;left:3px;transition:.2s}.bv-notice-toggle input:checked+span{background:#d9ab38}.bv-notice-toggle input:checked+span:after{left:22px}.bv-notice-toggle b{color:#e7f0f5;font-size:12px}.bv-notice-save{border:0;border-radius:10px;padding:12px 18px;background:linear-gradient(135deg,#efc653,#d9a62e);color:#10283b;font-weight:950;cursor:pointer}.bv-notice-preview>div{border-left:3px solid #dfb23d;padding:6px 0 6px 14px}.bv-notice-preview b{color:#f7fbfd;font-size:17px}.bv-notice-preview p{color:#a9c0ce;line-height:1.65;margin:8px 0 0}
.bv-login-notice-overlay{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(2,14,24,.76);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);animation:bvNoticeFade .18s ease both}.bv-login-notice-overlay.is-closing{opacity:0;transition:opacity .18s ease}.bv-login-notice-card{width:min(540px,100%);background:linear-gradient(145deg,#11344d,#09273b);border:1px solid rgba(141,198,230,.25);border-radius:22px;padding:30px;text-align:center;box-shadow:0 28px 80px rgba(0,0,0,.42)}.bv-login-notice-mark{width:54px;height:54px;border-radius:16px;margin:0 auto 16px;display:grid;place-items:center;background:linear-gradient(135deg,#efc653,#d9a62e);color:#10283b;font-size:28px;font-weight:950}.bv-login-notice-eyebrow{display:block;color:#ddb343;font-size:10px;font-weight:950;letter-spacing:.14em;margin-bottom:8px}.bv-login-notice-card h2{margin:0;color:#f6fafc;font-size:25px;line-height:1.2}.bv-login-notice-message{margin:14px auto 22px;color:#b8ccd8;line-height:1.7;font-size:14px;max-width:460px}.bv-login-notice-close{border:0;border-radius:11px;padding:12px 22px;background:linear-gradient(135deg,#efc653,#d9a62e);color:#10283b;font-weight:950;cursor:pointer}.bv-login-notice-close:focus{outline:2px solid #fff;outline-offset:3px}@keyframes bvNoticeFade{from{opacity:0}to{opacity:1}}@media(max-width:700px){.bv-notice-statusbar,.bv-notice-grid{grid-template-columns:1fr}.bv-notice-field-wide{grid-column:auto}.bv-login-notice-card{padding:24px 18px}}


/* ============================================================
 * v1.30.14 — ROI DASHBOARD FRONTEND FIX
 * IMPORTANT: Office portal loads assets/css/app.css. Previous
 * v1.30.13 ROI rules were accidentally placed only in assets/app.css.
 * This block is now in the stylesheet actually used by Office users.
 * ============================================================ */
.bv-ui-shell .bv-content .bv-roi-page{font-family:inherit!important}
.bv-ui-shell .bv-content .bv-roi-page a{text-decoration:none!important}
/* ============================================================
 * v1.30.14 — ROI DASHBOARD LAYOUT RECOVERY (FRONTEND)
 * Scoped visual fix only; ROI calculations/data remain unchanged.
 * ============================================================ */
.bv-content .bv-roi-page{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important;width:100%!important;max-width:none!important;color:#eaf2f7!important}
.bv-content .bv-roi-page *{box-sizing:border-box}
.bv-content .bv-roi-hero{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:22px!important;padding:22px 24px!important;border-radius:16px!important;min-height:112px!important}
.bv-content .bv-roi-hero>div{min-width:0!important;flex:1 1 auto!important}
.bv-content .bv-roi-hero h2{margin:5px 0 7px!important;font-size:28px!important;line-height:1.12!important;font-weight:850!important;letter-spacing:-.025em!important}
.bv-content .bv-roi-hero p{margin:0!important;font-size:12px!important;line-height:1.5!important;max-width:700px!important}
.bv-content .bv-roi-page .bv-section-label{display:block!important;font-size:10px!important;line-height:1.2!important;font-weight:900!important;letter-spacing:.14em!important;color:#e4b53f!important}
.bv-content .bv-roi-pdf{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:0 16px!important;border-radius:10px!important;font-size:10px!important;font-weight:900!important;letter-spacing:.035em!important;white-space:nowrap!important}

.bv-content .bv-roi-filter{display:grid!important;grid-template-columns:minmax(170px,.85fr) 28px minmax(170px,1fr) minmax(170px,1fr) auto auto!important;align-items:end!important;gap:10px!important;padding:15px!important;border-radius:14px!important;width:100%!important}
.bv-content .bv-roi-filter label{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;font-size:10px!important;font-weight:850!important;line-height:1.2!important}
.bv-content .bv-roi-filter input{display:block!important;width:100%!important;min-width:0!important;height:42px!important;padding:0 12px!important;border-radius:9px!important;font-size:12px!important;line-height:42px!important}
.bv-content .bv-roi-filter button,.bv-content .bv-roi-filter>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:42px!important;min-width:86px!important;padding:0 15px!important;border-radius:9px!important;font-size:10px!important;font-weight:900!important;white-space:nowrap!important}
.bv-content .bv-roi-or{display:flex!important;align-items:center!important;justify-content:center!important;height:42px!important;padding:0!important;color:#7f9aad!important;font-size:9px!important;font-weight:900!important}

.bv-content .bv-roi-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
.bv-content .bv-roi-kpis>div{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;min-height:118px!important;padding:17px 18px!important;border-radius:14px!important}
.bv-content .bv-roi-kpis span{font-size:10px!important;line-height:1.2!important;font-weight:900!important;letter-spacing:.09em!important}
.bv-content .bv-roi-kpis strong{display:block!important;margin-top:10px!important;font-size:25px!important;line-height:1.08!important;font-weight:900!important;letter-spacing:-.02em!important;overflow-wrap:anywhere!important}
.bv-content .bv-roi-kpis small{display:block!important;margin-top:8px!important;font-size:9px!important;line-height:1.35!important}

.bv-content .bv-roi-breakdown{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
.bv-content .bv-roi-breakdown>div,.bv-content .bv-roi-register{min-width:0!important;padding:18px!important;border-radius:15px!important}
.bv-content .bv-roi-page .bv-panel-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:14px!important;margin:0 0 12px!important}
.bv-content .bv-roi-page .bv-panel-head h3{margin:5px 0 0!important;font-size:19px!important;line-height:1.2!important;font-weight:850!important;letter-spacing:-.015em!important}
.bv-content .bv-roi-break-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;min-height:48px!important;padding:12px 4px!important;font-size:11px!important;line-height:1.35!important}
.bv-content .bv-roi-break-row b{font-size:12px!important;white-space:nowrap!important}
.bv-content .bv-roi-breakdown .empty{display:flex!important;align-items:center!important;justify-content:center!important;min-height:76px!important;margin:8px 0 0!important;padding:14px!important;border:1px dashed rgba(125,183,216,.18)!important;border-radius:10px!important;font-size:10px!important;text-align:center!important}

.bv-content .bv-roi-register .bv-count{display:inline-flex!important;align-items:center!important;min-height:28px!important;padding:0 10px!important;border:1px solid rgba(125,183,216,.16)!important;border-radius:999px!important;font-size:9px!important;white-space:nowrap!important}
.bv-content .bv-roi-register .bv-subtext{margin:6px 0 0!important;font-size:9px!important;line-height:1.3!important}
.bv-content .bv-roi-register .bv-tablewrap{width:100%!important;overflow-x:auto!important;border:1px solid rgba(125,183,216,.13)!important;border-radius:11px!important}
.bv-content .bv-roi-register table{width:100%!important;min-width:920px!important;border-collapse:collapse!important;table-layout:auto!important}
.bv-content .bv-roi-register th{padding:12px 13px!important;font-size:9px!important;line-height:1.2!important;font-weight:900!important;letter-spacing:.035em!important;white-space:nowrap!important}
.bv-content .bv-roi-register td{padding:13px!important;font-size:10px!important;line-height:1.35!important;vertical-align:middle!important}
.bv-content .bv-roi-source{padding:6px 9px!important;border-radius:7px!important;font-size:9px!important;line-height:1.2!important;white-space:nowrap!important}
.bv-content .bv-roi-view{min-width:68px!important;height:32px!important;padding:0 10px!important;border-radius:7px!important;font-size:9px!important;font-weight:900!important}
.bv-content .bv-roi-detail td>div{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;padding:4px!important}
.bv-content .bv-roi-detail span{gap:5px!important;font-size:10px!important}
.bv-content .bv-roi-detail b{font-size:8px!important}

/* Light-mode parity */
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-page{color:#173047!important}
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-hero,
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-filter,
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-kpis>div,
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-breakdown>div,
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-register{background:#fff!important;border:1px solid #dce6ed!important;box-shadow:0 10px 28px rgba(35,67,91,.065)!important}
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-filter input{background:#f7fafc!important;border-color:#d7e3eb!important;color:#173047!important}
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-register .bv-tablewrap{border-color:#dce6ed!important}
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-register th{background:#f5f8fa!important;color:#60798b!important;border-bottom:1px solid #dce6ed!important}
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-register td{color:#344e61!important;border-bottom:1px solid #e8eef2!important}
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-break-row{border-top-color:#e8eef2!important;color:#526d80!important}
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-breakdown .empty{color:#6c8494!important;border-color:#dbe7ee!important}

@media(max-width:1180px){
 .bv-content .bv-roi-filter{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .bv-content .bv-roi-or{display:none!important}
 .bv-content .bv-roi-filter button,.bv-content .bv-roi-filter>a{width:100%!important}
}
@media(max-width:900px){
 .bv-content .bv-roi-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .bv-content .bv-roi-breakdown{grid-template-columns:1fr!important}
 .bv-content .bv-roi-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
 .bv-content .bv-roi-page{gap:12px!important}
 .bv-content .bv-roi-hero{align-items:flex-start!important;flex-direction:column!important;padding:18px!important;min-height:0!important}
 .bv-content .bv-roi-hero h2{font-size:24px!important}
 .bv-content .bv-roi-pdf{width:100%!important}
 .bv-content .bv-roi-filter{grid-template-columns:1fr!important;padding:12px!important}
 .bv-content .bv-roi-kpis{grid-template-columns:1fr!important}
 .bv-content .bv-roi-kpis>div{min-height:102px!important}
 .bv-content .bv-roi-breakdown>div,.bv-content .bv-roi-register{padding:14px!important}
 .bv-content .bv-roi-detail td>div{grid-template-columns:1fr 1fr!important}
}


/* ============================================================
 * v1.30.15 — ROI DASHBOARD HARD-SCOPED FRONTEND REBUILD
 * Pure UI rebuild; no financial calculation changes.
 * ============================================================ */
.bv-ui-shell .bv-content .bv-roi-v1315{display:grid!important;gap:18px!important;padding:4px 2px 28px!important;width:100%!important;max-width:none!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-hero,
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter,
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis>div,
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-breakdown>div,
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register{background:linear-gradient(145deg,rgba(15,48,71,.98),rgba(8,31,48,.98))!important;border:1px solid rgba(107,170,207,.22)!important;box-shadow:0 12px 35px rgba(0,0,0,.14)!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-hero{min-height:132px!important;padding:25px 26px!important;border-radius:18px!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-hero h2{font-size:30px!important;color:#f7fbff!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-hero p{font-size:12px!important;color:#91aabd!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-pdf{background:rgba(5,112,205,.12)!important;border:1px solid rgba(35,143,230,.35)!important;color:#42a8ff!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-pdf:hover{background:#0877d7!important;color:#fff!important}

.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter{grid-template-columns:minmax(190px,.9fr) 32px minmax(190px,1fr) minmax(190px,1fr) auto auto!important;padding:18px!important;border-radius:15px!important;gap:12px!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter label{color:#9bb0bf!important;font-size:10px!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter input{height:44px!important;background:#081f31!important;border:1px solid rgba(111,173,209,.25)!important;color:#f4f8fb!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter button{height:44px!important;background:linear-gradient(135deg,#087be0,#0769c0)!important;border:1px solid #1688ef!important;color:#fff!important;box-shadow:0 8px 22px rgba(0,105,209,.24)!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter>a{height:44px!important;background:#102f47!important;border:1px solid rgba(111,173,209,.24)!important;color:#c9d9e5!important}

.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis{gap:14px!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis>div{position:relative!important;overflow:hidden!important;min-height:140px!important;border-radius:16px!important;padding:21px 22px!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis>div:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:#1cd39a;opacity:.9}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis>div:nth-child(2):after{background:#ff4d7d}.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis>div:nth-child(3):after{background:#3b9cff}.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis>div:nth-child(4):after{background:#f0bd3d}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis span{color:#d9e5ec!important;font-size:10px!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis strong{font-size:27px!important;color:#20dda0!important;text-shadow:0 0 20px rgba(32,221,160,.12)!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis>div:nth-child(2) strong{color:#ff557f!important}.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis>div:nth-child(3) strong{color:#429fff!important}.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis>div:nth-child(4) strong{color:#f4c444!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis small{color:#8199aa!important;font-size:10px!important}

.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-breakdown{gap:14px!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-breakdown>div{border-radius:16px!important;padding:0 0 16px!important;overflow:hidden!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-breakdown .bv-panel-head{padding:18px 20px 13px!important;margin:0!important;border-bottom:1px solid rgba(111,173,209,.14)!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-breakdown .bv-panel-head h3{font-size:18px!important;color:#f7fbff!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-break-labels{display:grid!important;grid-template-columns:1fr auto!important;gap:15px!important;padding:10px 20px!important;color:#8299aa!important;font-size:8px!important;font-weight:900!important;letter-spacing:.08em!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-break-row{margin:0 20px!important;padding:13px 0!important;border-top:1px solid rgba(111,173,209,.10)!important;color:#dbe7ee!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-break-row b{color:#fff!important;font-size:12px!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-breakdown .empty{margin:12px 20px!important;min-height:88px!important;background:rgba(5,23,36,.26)!important;color:#7f96a7!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-total{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;margin:12px 20px 0!important;padding:14px 15px!important;border-radius:10px!important;font-size:10px!important;font-weight:900!important;letter-spacing:.04em!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-total.income{background:rgba(10,145,105,.16)!important;border:1px solid rgba(24,214,157,.24)!important;color:#56e2b2!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-total.expense{background:rgba(180,38,80,.14)!important;border:1px solid rgba(255,78,126,.22)!important;color:#ff6b91!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-total b{color:inherit!important;font-size:13px!important}

.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register{border-radius:16px!important;padding:18px 20px!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register .bv-panel-head{margin-bottom:14px!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register .bv-panel-head h3{font-size:20px!important;color:#f7fbff!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register .bv-count{background:#0b263b!important;color:#c4d4df!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register .bv-tablewrap{background:#0a2437!important;border-color:rgba(112,174,210,.18)!important;overflow:auto!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register table{min-width:980px!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register th{height:40px!important;background:#092033!important;color:#91a8b8!important;border-bottom:1px solid rgba(112,174,210,.18)!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register td{height:54px!important;color:#dce8ef!important;border-bottom:1px solid rgba(112,174,210,.11)!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register td:nth-child(4){color:#e7f2f8!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register .positive{color:#23df9e!important}.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register .negative{color:#ff607f!important}
.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-view{background:linear-gradient(135deg,#087be0,#0769c0)!important;border:1px solid #1688ef!important;color:#fff!important}

/* Light mode */
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-v1315 .bv-roi-hero,
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-v1315 .bv-roi-filter,
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-v1315 .bv-roi-kpis>div,
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-v1315 .bv-roi-breakdown>div,
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-v1315 .bv-roi-register{background:#fff!important;border-color:#d9e5ec!important;box-shadow:0 10px 26px rgba(34,65,87,.07)!important}
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-v1315 .bv-roi-hero h2,.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-v1315 .bv-roi-breakdown .bv-panel-head h3,.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-v1315 .bv-roi-register .bv-panel-head h3{color:#173147!important}
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-v1315 .bv-roi-filter input{background:#f7fafc!important;color:#173147!important;border-color:#d6e3eb!important}
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-v1315 .bv-roi-break-row{color:#38566a!important;border-color:#e7eef3!important}.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-v1315 .bv-roi-break-row b{color:#173147!important}
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-v1315 .bv-roi-register .bv-tablewrap{background:#fff!important;border-color:#d9e5ec!important}.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-v1315 .bv-roi-register th{background:#f5f8fa!important;color:#60798b!important}.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-v1315 .bv-roi-register td{color:#324f63!important;border-color:#e8eef2!important}

@media(max-width:1180px){.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter{grid-template-columns:repeat(3,minmax(0,1fr))!important}.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-or{display:none!important}.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter button,.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter>a{width:100%!important}}
@media(max-width:900px){.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-breakdown{grid-template-columns:1fr!important}.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.bv-ui-shell .bv-content .bv-roi-v1315{gap:12px!important}.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-hero{min-height:0!important;padding:19px!important}.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-hero h2{font-size:25px!important}.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter{grid-template-columns:1fr!important;padding:13px!important}.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis{grid-template-columns:1fr!important}.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis>div{min-height:112px!important}.bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register{padding:14px!important}}


/* v1.30.16 — Office User ROI breakdown aligned with Admin ROI breakdown */
.bv-roi-v1315 .bv-roi-adminlike-breakdown{
  border:1px solid rgba(103,177,214,.25)!important;
  background:linear-gradient(145deg,rgba(16,54,76,.92),rgba(10,39,57,.96))!important;
  border-radius:16px!important;padding:18px!important;overflow:hidden!important;
}
.bv-roi-v1315 .bv-roi-adminlike-breakdown .bv-panel-head{margin-bottom:14px!important}
.bv-roi-v1315 .bv-roi-adminlike-breakdown h3{margin:4px 0 3px!important;font-size:18px!important}
.bv-roi-v1315 .bv-roi-adminlike-head,.bv-roi-v1315 .bv-roi-adminlike-line,.bv-roi-v1315 .bv-roi-adminlike-group{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(150px,260px)!important;gap:18px!important;align-items:center!important;
}
.bv-roi-v1315 .bv-roi-adminlike-head{padding:10px 14px!important;border-radius:10px 10px 0 0!important;background:rgba(8,33,50,.62)!important;border:1px solid rgba(125,183,216,.15)!important;font-size:10px!important;font-weight:900!important;letter-spacing:.08em!important;color:#91a9ba!important}
.bv-roi-v1315 .bv-roi-adminlike-head span:last-child,.bv-roi-v1315 .bv-roi-adminlike-line>*:last-child,.bv-roi-v1315 .bv-roi-adminlike-group>*:last-child{text-align:right!important}
.bv-roi-v1315 .bv-roi-adminlike-group{padding:13px 14px!important;border-left:1px solid rgba(125,183,216,.15)!important;border-right:1px solid rgba(125,183,216,.15)!important;background:rgba(27,73,96,.32)!important;color:#d9e7ef!important}
.bv-roi-v1315 .bv-roi-adminlike-group b{font-size:12px!important}.bv-roi-v1315 .bv-roi-adminlike-group span{font-size:10px!important;color:#8299aa!important}
.bv-roi-v1315 .bv-roi-adminlike-group.cost{margin-top:8px!important;border-top:1px solid rgba(255,91,139,.15)!important}
.bv-roi-v1315 .bv-roi-adminlike-line{padding:13px 14px!important;border:1px solid rgba(125,183,216,.12)!important;border-top:0!important;background:rgba(7,31,47,.24)!important;font-size:12px!important}
.bv-roi-v1315 .bv-roi-adminlike-line.child{padding-left:28px!important}.bv-roi-v1315 .bv-roi-adminlike-line.child span{color:#c4d3dc!important}
.bv-roi-v1315 .bv-roi-adminlike-line b{font-weight:900!important;color:#eef7fb!important}.bv-roi-v1315 .bv-roi-adminlike-line.muted{color:#71899a!important}
.bv-roi-v1315 .bv-roi-adminlike-line.subtotal{margin-top:6px!important;border-top:1px solid!important;border-radius:10px!important;font-weight:900!important}
.bv-roi-v1315 .bv-roi-adminlike-line.subtotal.income{background:rgba(16,185,129,.10)!important;border-color:rgba(16,185,129,.34)!important}.bv-roi-v1315 .bv-roi-adminlike-line.subtotal.income b{color:#35e0b3!important}
.bv-roi-v1315 .bv-roi-adminlike-line.subtotal.expense{background:rgba(244,63,94,.10)!important;border-color:rgba(244,63,94,.32)!important}.bv-roi-v1315 .bv-roi-adminlike-line.subtotal.expense b{color:#ff6b92!important}
.bv-roi-v1315 .bv-roi-adminlike-line.net{margin-top:10px!important;border-radius:10px!important;border-top:1px solid rgba(59,130,246,.38)!important;background:rgba(37,99,235,.12)!important;font-size:14px!important}
.bv-roi-v1315 .bv-roi-adminlike-line.margin{border-radius:10px!important;margin-top:6px!important;background:rgba(245,183,46,.08)!important;border-top:1px solid rgba(245,183,46,.28)!important}
.bv-roi-v1315 .bv-roi-adminlike-line .positive{color:#35e0b3!important}.bv-roi-v1315 .bv-roi-adminlike-line .negative{color:#ff6b92!important}
.bv-ui-shell[data-theme="light"] .bv-roi-v1315 .bv-roi-adminlike-breakdown{background:#fff!important;border-color:#d7e4eb!important}
.bv-ui-shell[data-theme="light"] .bv-roi-v1315 .bv-roi-adminlike-head{background:#edf4f7!important;border-color:#d7e4eb!important;color:#536b7c!important}
.bv-ui-shell[data-theme="light"] .bv-roi-v1315 .bv-roi-adminlike-group{background:#f6f9fb!important;border-color:#dfe9ee!important;color:#18364a!important}
.bv-ui-shell[data-theme="light"] .bv-roi-v1315 .bv-roi-adminlike-line{background:#fff!important;border-color:#e4edf2!important;color:#274659!important}
.bv-ui-shell[data-theme="light"] .bv-roi-v1315 .bv-roi-adminlike-line.child span{color:#35566b!important}.bv-ui-shell[data-theme="light"] .bv-roi-v1315 .bv-roi-adminlike-line b{color:#18364a!important}
@media(max-width:650px){.bv-roi-v1315 .bv-roi-adminlike-head,.bv-roi-v1315 .bv-roi-adminlike-line,.bv-roi-v1315 .bv-roi-adminlike-group{grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important}.bv-roi-v1315 .bv-roi-adminlike-breakdown{padding:14px!important}.bv-roi-v1315 .bv-roi-adminlike-line.child{padding-left:18px!important}}
\n\n/* v1.30.17 — Office ROI breakdown mirrors Admin month-wise ROI table */\n.bv-roi-v1315 .bv-roi-admin-table-card{background:linear-gradient(145deg,rgba(15,48,71,.98),rgba(8,31,48,.98));border:1px solid rgba(107,170,207,.22);border-radius:16px;padding:18px;overflow:hidden}\n.bv-roi-v1315 .bv-roi-admin-table-card .bv-panel-head{margin:0 0 14px}.bv-roi-v1315 .bv-roi-admin-table-card h3{margin:4px 0 0;color:#f7fbff;font-size:20px}\n.bv-roi-v1315 .bv-roi-admin-table-wrap{overflow:auto;border-radius:0}.bv-roi-v1315 .bv-roi-admin-table{width:100%;border-collapse:collapse;min-width:760px}\n.bv-roi-v1315 .bv-roi-admin-table th,.bv-roi-v1315 .bv-roi-admin-table td{padding:14px 12px;border:1px solid rgba(137,181,207,.34);text-align:right;color:#eef6fb;vertical-align:middle}\n.bv-roi-v1315 .bv-roi-admin-table th:first-child,.bv-roi-v1315 .bv-roi-admin-table td:first-child{text-align:left;width:36%}\n.bv-roi-v1315 .bv-roi-admin-table thead th{background:#123247!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:13px;font-weight:900;letter-spacing:.03em}\n.bv-roi-v1315 .bv-roi-admin-table thead th:first-child{background:linear-gradient(135deg,#2879ea,#14a7df)!important}\n.bv-roi-v1315 .bv-roi-admin-table thead th.bv-total-head{background:linear-gradient(135deg,#15933f,#22b94f)!important}\n.bv-roi-v1315 .bv-roi-admin-table th small,.bv-roi-v1315 .bv-roi-admin-table td small{display:block;margin-top:4px;font-size:10px;color:#a9bdca!important;-webkit-text-fill-color:#a9bdca!important;font-weight:700}\n.bv-roi-v1315 .bv-roi-admin-table td{background:rgba(10,35,52,.72)!important;font-size:13px}.bv-roi-v1315 .bv-roi-admin-table td b{color:#fff!important;-webkit-text-fill-color:#fff!important}\n.bv-roi-v1315 .bv-roi-admin-table tr:nth-child(even) td{background:rgba(14,43,62,.76)!important}.bv-roi-v1315 .bv-roi-admin-table .positive{color:#2ae2a4!important;-webkit-text-fill-color:#2ae2a4!important}.bv-roi-v1315 .bv-roi-admin-table .negative{color:#ff6688!important;-webkit-text-fill-color:#ff6688!important}\n.bv-roi-v1315 .bv-roi-admin-table .bv-net-row td{background:rgba(31,84,120,.34)!important}.bv-roi-v1315 .bv-roi-admin-table .bv-margin-row td{background:rgba(31,84,120,.24)!important}\n.bv-ui-shell[data-theme="light"] .bv-roi-v1315 .bv-roi-admin-table-card{background:#fff;border-color:#d7e4eb}.bv-ui-shell[data-theme="light"] .bv-roi-v1315 .bv-roi-admin-table-card h3{color:#173147}.bv-ui-shell[data-theme="light"] .bv-roi-v1315 .bv-roi-admin-table td{background:#fff!important;color:#23465b;border-color:#cddde6}.bv-ui-shell[data-theme="light"] .bv-roi-v1315 .bv-roi-admin-table tr:nth-child(even) td{background:#f7fafc!important}.bv-ui-shell[data-theme="light"] .bv-roi-v1315 .bv-roi-admin-table td b{color:#173147!important;-webkit-text-fill-color:#173147!important}.bv-ui-shell[data-theme="light"] .bv-roi-v1315 .bv-roi-admin-table td small{color:#6b8494!important;-webkit-text-fill-color:#6b8494!important}\n@media(max-width:700px){.bv-roi-v1315 .bv-roi-admin-table-card{padding:13px}.bv-roi-v1315 .bv-roi-admin-table{min-width:680px}}\n

/* ========================================================================== */
/* v1.30.18 — OFFICE PORTAL COMPLETE LIGHT/DARK READABILITY + UI POLISH     */
/* Scoped to .bv-ui-shell so the WordPress/Admin portal is not redesigned.    */
/* ========================================================================== */

/* --- Shared typography: never allow module copy to disappear --- */
.bv-ui-shell .bv-content,
.bv-ui-shell .bv-content .bv-view{font-weight:500}
.bv-ui-shell .bv-content h1,
.bv-ui-shell .bv-content h2,
.bv-ui-shell .bv-content h3,
.bv-ui-shell .bv-content h4,
.bv-ui-shell .bv-content h5,
.bv-ui-shell .bv-content h6{line-height:1.25}
.bv-ui-shell .bv-content label{font-weight:700}
.bv-ui-shell .bv-content small,
.bv-ui-shell .bv-content .bv-muted,
.bv-ui-shell .bv-content .bv-subtext{opacity:1!important}

/* --- LIGHT MODE: hard contrast normalization across every Office module --- */
.bv-ui-shell[data-theme="light"] .bv-content,
.bv-ui-shell.bv-light-mode .bv-content{color:#18364d!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(h1,h2,h3,h4,h5,h6,strong,b),
.bv-ui-shell.bv-light-mode .bv-content :is(h1,h2,h3,h4,h5,h6,strong,b){color:#102d44!important;-webkit-text-fill-color:#102d44!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(p,span,div,label,li,dd,dt),
.bv-ui-shell.bv-light-mode .bv-content :is(p,span,div,label,li,dd,dt){text-shadow:none}
.bv-ui-shell[data-theme="light"] .bv-content :is(p,label,li,dd,dt),
.bv-ui-shell.bv-light-mode .bv-content :is(p,label,li,dd,dt){color:#39576d}
.bv-ui-shell[data-theme="light"] .bv-content :is(small,.bv-muted,.bv-subtext,.bv-monthly-note,.bv-exec-footer,.bv-mc-row-note),
.bv-ui-shell.bv-light-mode .bv-content :is(small,.bv-muted,.bv-subtext,.bv-monthly-note,.bv-exec-footer,.bv-mc-row-note){color:#617b8e!important;-webkit-text-fill-color:#617b8e!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-section-label,.bv-kicker,.bv-eyebrow,.bv-hero-label),
.bv-ui-shell.bv-light-mode .bv-content :is(.bv-section-label,.bv-kicker,.bv-eyebrow,.bv-hero-label){color:#9b6b08!important;-webkit-text-fill-color:#9b6b08!important}

/* Light mode surfaces */
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-panel,.bv-module-shell,.bv-exec-dashboard,.bv-monthly-performance,.bv-company-stack-dashboard,.bv-company-stack-page,.bv-audit-control,.bv-backup-center,.bv-management-report,.bv-roi-dashboard,.bv-roi-page,.bv-salary-page,.bv-ledger-page,.bv-office-ledger,.bv-person-due,.bv-net-ledger,.bv-costing-history-page,.bv-month-commission-page,.bv-mc-register,.bv-mr-page),
.bv-ui-shell.bv-light-mode .bv-content :is(.bv-panel,.bv-module-shell,.bv-exec-dashboard,.bv-monthly-performance,.bv-company-stack-dashboard,.bv-company-stack-page,.bv-audit-control,.bv-backup-center,.bv-management-report,.bv-roi-dashboard,.bv-roi-page,.bv-salary-page,.bv-ledger-page,.bv-office-ledger,.bv-person-due,.bv-net-ledger,.bv-costing-history-page,.bv-month-commission-page,.bv-mc-register,.bv-mr-page){background:#fff!important;color:#18364d!important;border-color:#cfdee8!important;box-shadow:0 10px 28px rgba(35,69,94,.07)!important}

/* Light mode cards become subtly colorful instead of flat white */
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-kpi,.bv-exec-card,.bv-net-card,.bv-ledger-kpis>div,.bv-costing-history-kpis>div,.bv-salary-kpis>div,.bv-monthly-grid>div,.bv-dwh-kpis>div,.bv-office-kpis>div,.bv-person-due-summary>div){
  background:linear-gradient(145deg,#ffffff 0%,#f5f9fc 100%)!important;
  border:1px solid #d5e3ec!important;
  box-shadow:0 8px 22px rgba(25,66,95,.06)!important;
}
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-kpi,.bv-exec-card,.bv-net-card):nth-child(4n+1){border-bottom:3px solid #16b981!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-kpi,.bv-exec-card,.bv-net-card):nth-child(4n+2){border-bottom:3px solid #f04472!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-kpi,.bv-exec-card,.bv-net-card):nth-child(4n+3){border-bottom:3px solid #2d8cff!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-kpi,.bv-exec-card,.bv-net-card):nth-child(4n+4){border-bottom:3px solid #d7a319!important}

/* --- DARK MODE: equally explicit readable contrast --- */
.bv-ui-shell[data-theme="dark"] .bv-content,
.bv-ui-shell.bv-dark-mode .bv-content{color:#dce9f0!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(h1,h2,h3,h4,h5,h6,strong,b),
.bv-ui-shell.bv-dark-mode .bv-content :is(h1,h2,h3,h4,h5,h6,strong,b){color:#f3f8fb!important;-webkit-text-fill-color:#f3f8fb!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(p,label,li,dd,dt),
.bv-ui-shell.bv-dark-mode .bv-content :is(p,label,li,dd,dt){color:#c3d4de}
.bv-ui-shell[data-theme="dark"] .bv-content :is(small,.bv-muted,.bv-subtext,.bv-monthly-note,.bv-exec-footer,.bv-mc-row-note),
.bv-ui-shell.bv-dark-mode .bv-content :is(small,.bv-muted,.bv-subtext,.bv-monthly-note,.bv-exec-footer,.bv-mc-row-note){color:#91aabd!important;-webkit-text-fill-color:#91aabd!important;opacity:1!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-section-label,.bv-kicker,.bv-eyebrow,.bv-hero-label),
.bv-ui-shell.bv-dark-mode .bv-content :is(.bv-section-label,.bv-kicker,.bv-eyebrow,.bv-hero-label){color:#efbd42!important;-webkit-text-fill-color:#efbd42!important}

/* --- Form controls: high contrast in both themes --- */
.bv-ui-shell .bv-content :is(input,select,textarea,button){font:inherit}
.bv-ui-shell .bv-content :is(input,select,textarea){min-height:42px;border-radius:9px!important;outline:none}
.bv-ui-shell[data-theme="light"] .bv-content :is(input,select,textarea),
.bv-ui-shell.bv-light-mode .bv-content :is(input,select,textarea){background:#fff!important;color:#16364e!important;-webkit-text-fill-color:#16364e!important;border:1px solid #bfcfda!important;caret-color:#16364e!important;color-scheme:light!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(input,textarea)::placeholder,
.bv-ui-shell.bv-light-mode .bv-content :is(input,textarea)::placeholder{color:#71899a!important;-webkit-text-fill-color:#71899a!important;opacity:1!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(input,select,textarea),
.bv-ui-shell.bv-dark-mode .bv-content :is(input,select,textarea){background:#0a2639!important;color:#edf5f9!important;-webkit-text-fill-color:#edf5f9!important;border:1px solid rgba(126,174,205,.30)!important;caret-color:#edf5f9!important;color-scheme:dark!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(input,textarea)::placeholder,
.bv-ui-shell.bv-dark-mode .bv-content :is(input,textarea)::placeholder{color:#91a9ba!important;-webkit-text-fill-color:#91a9ba!important;opacity:1!important}
.bv-ui-shell .bv-content select option{opacity:1!important}
.bv-ui-shell[data-theme="light"] .bv-content select option{background:#fff!important;color:#16364e!important}
.bv-ui-shell[data-theme="dark"] .bv-content select option{background:#0a2639!important;color:#edf5f9!important}

/* --- Date / month controls: fixes invisible values + calendar icon --- */
.bv-ui-shell .bv-content input[type="date"],
.bv-ui-shell .bv-content input[type="month"],
.bv-ui-shell .bv-content input[type="datetime-local"],
.bv-ui-shell .bv-content input[type="time"]{font-weight:700!important;letter-spacing:.01em!important;opacity:1!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(input[type="date"],input[type="month"],input[type="datetime-local"],input[type="time"]){color:#173a53!important;-webkit-text-fill-color:#173a53!important;background:#fff!important;color-scheme:light!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(input[type="date"],input[type="month"],input[type="datetime-local"],input[type="time"]){color:#f0f7fb!important;-webkit-text-fill-color:#f0f7fb!important;background:#0a2639!important;color-scheme:dark!important}
.bv-ui-shell[data-theme="light"] .bv-content input::-webkit-datetime-edit,
.bv-ui-shell[data-theme="light"] .bv-content input::-webkit-datetime-edit-fields-wrapper,
.bv-ui-shell[data-theme="light"] .bv-content input::-webkit-datetime-edit-text,
.bv-ui-shell[data-theme="light"] .bv-content input::-webkit-datetime-edit-month-field,
.bv-ui-shell[data-theme="light"] .bv-content input::-webkit-datetime-edit-day-field,
.bv-ui-shell[data-theme="light"] .bv-content input::-webkit-datetime-edit-year-field{color:#173a53!important;-webkit-text-fill-color:#173a53!important;opacity:1!important}
.bv-ui-shell[data-theme="dark"] .bv-content input::-webkit-datetime-edit,
.bv-ui-shell[data-theme="dark"] .bv-content input::-webkit-datetime-edit-fields-wrapper,
.bv-ui-shell[data-theme="dark"] .bv-content input::-webkit-datetime-edit-text,
.bv-ui-shell[data-theme="dark"] .bv-content input::-webkit-datetime-edit-month-field,
.bv-ui-shell[data-theme="dark"] .bv-content input::-webkit-datetime-edit-day-field,
.bv-ui-shell[data-theme="dark"] .bv-content input::-webkit-datetime-edit-year-field{color:#f0f7fb!important;-webkit-text-fill-color:#f0f7fb!important;opacity:1!important}
.bv-ui-shell[data-theme="light"] .bv-content input::-webkit-calendar-picker-indicator{filter:none!important;opacity:.78!important;cursor:pointer}
.bv-ui-shell[data-theme="dark"] .bv-content input::-webkit-calendar-picker-indicator{filter:invert(1) brightness(1.35)!important;opacity:.9!important;cursor:pointer}

/* --- Tables: readable in every Office Portal module --- */
.bv-ui-shell .bv-content table{border-collapse:separate;border-spacing:0;width:100%}
.bv-ui-shell .bv-content th{font-weight:800!important;letter-spacing:.025em}
.bv-ui-shell .bv-content td{font-weight:550}
.bv-ui-shell[data-theme="light"] .bv-content table{background:#fff!important;border-color:#cedde6!important}
.bv-ui-shell[data-theme="light"] .bv-content th{background:linear-gradient(180deg,#eef5f9,#e8f0f5)!important;color:#35566c!important;-webkit-text-fill-color:#35566c!important;border-color:#cbdbe5!important}
.bv-ui-shell[data-theme="light"] .bv-content td{background:#fff!important;color:#1f4158!important;-webkit-text-fill-color:#1f4158!important;border-color:#dae5ec!important}
.bv-ui-shell[data-theme="light"] .bv-content tr:nth-child(even) td{background:#f8fbfd!important}
.bv-ui-shell[data-theme="light"] .bv-content tr:hover td{background:#eef7fb!important}
.bv-ui-shell[data-theme="dark"] .bv-content th{background:#0a263a!important;color:#b8cfdd!important;-webkit-text-fill-color:#b8cfdd!important;border-color:rgba(128,173,203,.22)!important}
.bv-ui-shell[data-theme="dark"] .bv-content td{background:rgba(13,43,63,.72)!important;color:#e2edf3!important;-webkit-text-fill-color:#e2edf3!important;border-color:rgba(128,173,203,.14)!important}
.bv-ui-shell[data-theme="dark"] .bv-content tr:nth-child(even) td{background:rgba(15,48,70,.82)!important}
.bv-ui-shell[data-theme="dark"] .bv-content tr:hover td{background:#143b55!important}

/* Keep semantic money/status colors visible after universal table rules */
.bv-ui-shell .bv-content :is(.success,.bv-live,.bv-costing-money,.bv-mc-net-amount,.bv-salary-net,.bv-running-balance,.bv-line-total){-webkit-text-fill-color:currentColor!important}
.bv-ui-shell .bv-content :is(.is-error,.error,.bv-deduction){-webkit-text-fill-color:currentColor!important}

/* --- Colorful professional action buttons --- */
.bv-ui-shell .bv-content :is(.bv-btn,button[type="submit"],.button,.bv-pdf-btn,.bv-costing-filter-btn,.bv-history-refresh,.bv-open-module,.bv-roi-view,.bv-roi-pdf){
  border-radius:9px!important;font-weight:800!important;letter-spacing:.015em!important;text-decoration:none!important;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease!important
}
.bv-ui-shell .bv-content :is(.bv-btn,button[type="submit"],.bv-costing-filter-btn,.bv-history-refresh,.bv-open-module,.bv-roi-view){background:linear-gradient(135deg,#1479d5,#0b68bf)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #2789df!important;box-shadow:0 7px 18px rgba(20,121,213,.18)!important}
.bv-ui-shell .bv-content :is(.bv-pdf-btn,.bv-roi-pdf,.bv-backup-download){background:linear-gradient(135deg,#167f62,#0d684f)!important;color:#eafff7!important;-webkit-text-fill-color:#eafff7!important;border:1px solid #2a9c79!important}
.bv-ui-shell .bv-content :is(.bv-btn,button[type="submit"],.button,.bv-pdf-btn,.bv-costing-filter-btn,.bv-history-refresh,.bv-open-module,.bv-roi-view,.bv-roi-pdf):hover{transform:translateY(-1px);filter:brightness(1.06);box-shadow:0 9px 22px rgba(20,70,105,.18)!important}

/* --- Professional panel headers / interior accents --- */
.bv-ui-shell .bv-content :is(.bv-panel-head,.bv-module-head,.bv-cost-detail-head,.bv-sale-detail-head,.bv-net-head,.bv-company-stack-dashboard-head,.bv-cost-head){border-bottom-color:rgba(102,154,190,.18)!important}
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-panel-head,.bv-module-head,.bv-cost-detail-head,.bv-sale-detail-head,.bv-net-head,.bv-company-stack-dashboard-head,.bv-cost-head){background:linear-gradient(90deg,#f3f8fb,#fff)!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-panel-head,.bv-module-head,.bv-cost-detail-head,.bv-sale-detail-head,.bv-net-head,.bv-company-stack-dashboard-head,.bv-cost-head){background:linear-gradient(90deg,rgba(18,58,83,.72),rgba(10,38,57,.20))!important}

/* --- Notices / empty states / chips --- */
.bv-ui-shell[data-theme="light"] .bv-content :is(.bv-empty,.bv-empty-state,.bv-live-empty,.bv-history-no-items){color:#5d788b!important;background:#f7fafc!important;border-color:#d5e2ea!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is(.bv-empty,.bv-empty-state,.bv-live-empty,.bv-history-no-items){color:#9fb6c5!important;background:rgba(10,38,57,.58)!important;border-color:rgba(112,165,200,.18)!important}

/* --- ROI Office breakdown specific: preserve business colors + contrast --- */
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-mw-table .bv-roi-mw-line :is(strong,b,span),
.bv-ui-shell[data-theme="light"] .bv-content .bv-roi-admin-table :is(strong,b){-webkit-text-fill-color:currentColor!important}
.bv-ui-shell[data-theme="dark"] .bv-content .bv-roi-mw-table .bv-roi-mw-line :is(strong,b,span),
.bv-ui-shell[data-theme="dark"] .bv-content .bv-roi-admin-table :is(strong,b){-webkit-text-fill-color:currentColor!important}

/* --- Sidebar/topbar readability in both modes --- */
.bv-ui-shell[data-theme="light"] .bv-nav-item{color:#47677d!important;-webkit-text-fill-color:#47677d!important}
.bv-ui-shell[data-theme="light"] .bv-nav-item.active{color:#684a0b!important;-webkit-text-fill-color:#684a0b!important;font-weight:800}
.bv-ui-shell[data-theme="dark"] .bv-nav-item{color:#a9c0ce!important;-webkit-text-fill-color:#a9c0ce!important}
.bv-ui-shell[data-theme="dark"] .bv-nav-item.active{color:#f2c452!important;-webkit-text-fill-color:#f2c452!important;font-weight:800}
.bv-ui-shell[data-theme="light"] .bv-topbar :is(h1,.bv-eyebrow,.bv-date){opacity:1!important}
.bv-ui-shell[data-theme="dark"] .bv-topbar :is(h1,.bv-eyebrow,.bv-date){opacity:1!important}

/* --- Mobile resilience --- */
@media(max-width:760px){
  .bv-ui-shell .bv-content :is(input,select,textarea,button,.bv-btn){font-size:14px!important}
  .bv-ui-shell .bv-content :is(input[type="date"],input[type="month"],input[type="datetime-local"]){min-width:0!important;width:100%!important}
  .bv-ui-shell .bv-content table{font-size:12px}
  .bv-ui-shell .bv-content th,.bv-ui-shell .bv-content td{padding:10px 9px!important}
}


/* ==========================================================
   v1.30.19 — OFFICE PORTAL FINAL THEME READABILITY LAYER
   Scoped to Office Portal only. Admin screens are untouched.
   ========================================================== */

/* Native controls — readable values, placeholders and calendar icons in BOTH theme mechanisms */
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content :is(input,select,textarea){
  color:#17364d!important;-webkit-text-fill-color:#17364d!important;background:#f8fbfd!important;border-color:#bcd0dc!important;opacity:1!important;color-scheme:light!important
}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content :is(input,select,textarea){
  color:#f1f7fa!important;-webkit-text-fill-color:#f1f7fa!important;background:#09283c!important;border-color:#31556d!important;opacity:1!important;color-scheme:dark!important
}
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content :is(input,textarea)::placeholder{color:#647f91!important;-webkit-text-fill-color:#647f91!important;opacity:1!important}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content :is(input,textarea)::placeholder{color:#a9bdc9!important;-webkit-text-fill-color:#a9bdc9!important;opacity:1!important}
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content :is(input[type=date],input[type=month],input[type=datetime-local],input[type=time])::-webkit-datetime-edit,
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content :is(input[type=date],input[type=month],input[type=datetime-local],input[type=time])::-webkit-datetime-edit-fields-wrapper,
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content :is(input[type=date],input[type=month],input[type=datetime-local],input[type=time])::-webkit-datetime-edit-text,
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content :is(input[type=date],input[type=month],input[type=datetime-local],input[type=time])::-webkit-datetime-edit-month-field,
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content :is(input[type=date],input[type=month],input[type=datetime-local],input[type=time])::-webkit-datetime-edit-day-field,
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content :is(input[type=date],input[type=month],input[type=datetime-local],input[type=time])::-webkit-datetime-edit-year-field{color:#17364d!important;-webkit-text-fill-color:#17364d!important;opacity:1!important}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content :is(input[type=date],input[type=month],input[type=datetime-local],input[type=time])::-webkit-datetime-edit,
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content :is(input[type=date],input[type=month],input[type=datetime-local],input[type=time])::-webkit-datetime-edit-fields-wrapper,
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content :is(input[type=date],input[type=month],input[type=datetime-local],input[type=time])::-webkit-datetime-edit-text,
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content :is(input[type=date],input[type=month],input[type=datetime-local],input[type=time])::-webkit-datetime-edit-month-field,
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content :is(input[type=date],input[type=month],input[type=datetime-local],input[type=time])::-webkit-datetime-edit-day-field,
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content :is(input[type=date],input[type=month],input[type=datetime-local],input[type=time])::-webkit-datetime-edit-year-field{color:#f1f7fa!important;-webkit-text-fill-color:#f1f7fa!important;opacity:1!important}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content input::-webkit-calendar-picker-indicator{filter:invert(1) brightness(1.55)!important;opacity:1!important}
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content input::-webkit-calendar-picker-indicator{filter:none!important;opacity:.8!important}

/* Universal Office Portal text contrast without changing semantic colors */
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content :is(h1,h2,h3,h4,h5,h6,label,legend,.bv-title,.bv-card-title){color:#15344b!important;-webkit-text-fill-color:#15344b!important}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content :is(h1,h2,h3,h4,h5,h6,label,legend,.bv-title,.bv-card-title){color:#f4f8fb!important;-webkit-text-fill-color:#f4f8fb!important}
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content :is(.bv-subtext,.bv-muted,.muted,small,.hint,.description){color:#58758a!important;-webkit-text-fill-color:#58758a!important;opacity:1!important}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content :is(.bv-subtext,.bv-muted,.muted,small,.hint,.description){color:#a8bdca!important;-webkit-text-fill-color:#a8bdca!important;opacity:1!important}

/* ROI Breakdown — hard contrast fix. This intentionally wins over legacy table rules. */
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content .bv-roi-admin-table-card{background:#fff!important;border:1px solid #c9dbe6!important}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content .bv-roi-admin-table-card{background:#0b2a3e!important;border:1px solid #28506a!important}
.bv-ui-shell .bv-content .bv-roi-admin-table{width:100%!important;border-collapse:collapse!important}
.bv-ui-shell .bv-content .bv-roi-admin-table th,.bv-ui-shell .bv-content .bv-roi-admin-table td{padding:14px 16px!important;vertical-align:middle!important}
.bv-ui-shell .bv-content .bv-roi-admin-table th:nth-child(n+2),.bv-ui-shell .bv-content .bv-roi-admin-table td:nth-child(n+2){text-align:right!important}
.bv-ui-shell .bv-content .bv-roi-office-name{display:block!important;font-size:12px!important;font-weight:900!important;line-height:1.2!important}
.bv-ui-shell .bv-content .bv-roi-office-code{display:block!important;margin-top:4px!important;font-size:9px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:.04em!important}
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content .bv-roi-admin-table thead th{background:#eaf2f7!important;color:#34566d!important;-webkit-text-fill-color:#34566d!important;border:1px solid #c5d7e2!important}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content .bv-roi-admin-table thead th{background:#092337!important;color:#c4d8e4!important;-webkit-text-fill-color:#c4d8e4!important;border:1px solid #31546b!important}
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content .bv-roi-admin-table tbody td{background:#fff!important;color:#17364d!important;-webkit-text-fill-color:#17364d!important;border:1px solid #d3e0e8!important}
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content .bv-roi-admin-table tbody tr:nth-child(even) td{background:#f6f9fb!important}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content .bv-roi-admin-table tbody td{background:#0d3047!important;color:#edf5f9!important;-webkit-text-fill-color:#edf5f9!important;border:1px solid #294c63!important}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content .bv-roi-admin-table tbody tr:nth-child(even) td{background:#10364e!important}
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content .bv-roi-admin-table tbody td :is(b,strong){color:#17364d!important;-webkit-text-fill-color:#17364d!important;opacity:1!important}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content .bv-roi-admin-table tbody td :is(b,strong){color:#f4f9fc!important;-webkit-text-fill-color:#f4f9fc!important;opacity:1!important}
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content .bv-roi-admin-table tbody td small{color:#58778b!important;-webkit-text-fill-color:#58778b!important;opacity:1!important}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content .bv-roi-admin-table tbody td small{color:#abc0cd!important;-webkit-text-fill-color:#abc0cd!important;opacity:1!important}
/* business highlight rows */
.bv-ui-shell .bv-content .bv-roi-admin-table .bv-net-row td{background:rgba(27,124,211,.13)!important}
.bv-ui-shell .bv-content .bv-roi-admin-table .bv-margin-row td{background:rgba(224,174,48,.13)!important}
.bv-ui-shell .bv-content .bv-roi-admin-table .positive{color:#18c98c!important;-webkit-text-fill-color:#18c98c!important}
.bv-ui-shell .bv-content .bv-roi-admin-table .negative{color:#ff547d!important;-webkit-text-fill-color:#ff547d!important}
.bv-ui-shell .bv-content .bv-roi-admin-table .bv-margin-row :is(b,strong){color:#d59d12!important;-webkit-text-fill-color:#d59d12!important}

/* ROI KPI labels stay visible; amounts keep their semantic accent */
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content .bv-roi-kpis span{color:#4d6d82!important;-webkit-text-fill-color:#4d6d82!important;opacity:1!important}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content .bv-roi-kpis span{color:#c0d2dd!important;-webkit-text-fill-color:#c0d2dd!important;opacity:1!important}
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content .bv-roi-kpis small{color:#5d788a!important;-webkit-text-fill-color:#5d788a!important}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content .bv-roi-kpis small{color:#9fb5c3!important;-webkit-text-fill-color:#9fb5c3!important}

/* Office portal tables outside ROI — reliable body text in both modes */
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content table:not(.bv-roi-admin-table) tbody td{color:#1a3b52!important;-webkit-text-fill-color:#1a3b52!important}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content table:not(.bv-roi-admin-table) tbody td{color:#e7f0f5!important;-webkit-text-fill-color:#e7f0f5!important}

/* Premium but restrained inner cards */
.bv-ui-shell:is([data-theme="light"],.bv-light-mode) .bv-content :is(.bv-card,.bv-panel,.bv-stat-card,.bv-summary-card){border-color:#cbdce6!important;box-shadow:0 8px 24px rgba(24,65,91,.06)!important}
.bv-ui-shell:is([data-theme="dark"],.bv-dark-mode) .bv-content :is(.bv-card,.bv-panel,.bv-stat-card,.bv-summary-card){border-color:#294e66!important;box-shadow:0 10px 26px rgba(0,0,0,.12)!important}


/* v1.30.22 — Office Dashboard category / running-cost / stack-history redesign */
.bv-office-dashboard-v2 .bv-exec-head>div{display:flex!important;align-items:center!important}.bv-office-dashboard-v2 .bv-exec-head h2{margin:0!important}
.bv-office-dashboard-v2 .bv-dashboard-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.bv-office-dashboard-v2 .bv-dashboard-section-head h3{margin:3px 0 0;font-size:17px}.bv-office-dashboard-v2 .bv-dashboard-section-head p{margin:4px 0 0;font-size:11px;opacity:.74}.bv-office-dashboard-v2 .bv-period-chip{padding:7px 11px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}
.bv-category-performance{margin-top:14px;padding:15px;border:1px solid rgba(128,154,176,.18);border-radius:16px;background:rgba(255,255,255,.025)}.bv-category-performance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bv-category-card{position:relative;overflow:hidden;padding:14px;border-radius:14px;border:1px solid rgba(76,165,224,.18);background:linear-gradient(145deg,rgba(21,61,87,.86),rgba(11,39,59,.76));box-shadow:0 8px 25px rgba(0,0,0,.08)}.bv-category-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(#5cbef5,#e4bd55)}.bv-category-card-head>span,.bv-category-metrics span{font-size:8px;font-weight:800;letter-spacing:.08em;opacity:.68}.bv-category-card-head h4{margin:4px 0 12px;font-size:15px}.bv-category-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px}.bv-category-metrics>div{padding:9px;border-radius:10px;background:rgba(255,255,255,.045)}.bv-category-metrics strong{display:block;margin-top:4px;font-size:12px}.bv-category-metrics>div:nth-child(2) strong{color:#58d49b}.bv-category-metrics>div:nth-child(3) strong{color:#f0b85b}.bv-category-metrics>div:nth-child(4) strong{color:#66bdf2}.bv-category-progress{height:5px;margin-top:11px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.bv-category-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#51c995,#63bff0,#e0b453)}
.bv-running-cost-card{margin-top:12px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:15px 16px;border-radius:15px;text-decoration:none!important;border:1px solid rgba(230,177,66,.24);background:linear-gradient(135deg,rgba(126,83,15,.18),rgba(17,48,69,.86));transition:.18s ease}.bv-running-cost-card:hover{transform:translateY(-1px);border-color:rgba(230,177,66,.45)}.bv-running-cost-card h3{margin:3px 0;font-size:16px}.bv-running-cost-card p{margin:0;font-size:10px;opacity:.72}.bv-running-cost-value{text-align:right}.bv-running-cost-value strong{display:block;font-size:21px;color:#f1c45d}.bv-running-cost-value small{font-size:9px;opacity:.7}.bv-running-cost-card>b{font-size:9px;letter-spacing:.07em;padding:8px 10px;border-radius:9px;background:rgba(228,183,77,.11);color:#e7bd59}
.bv-stack-history-dashboard{margin-top:12px;padding:15px;border-radius:16px;border:1px solid rgba(109,154,184,.17);background:rgba(255,255,255,.022)}.bv-stack-history-dashboard .bv-dashboard-section-head a{padding:7px 10px;border-radius:9px;text-decoration:none!important;font-size:9px;font-weight:800}.bv-stack-history-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.bv-stack-history-summary>div{padding:10px;border-radius:10px;background:rgba(255,255,255,.04)}.bv-stack-history-summary span{display:block;font-size:8px;opacity:.66}.bv-stack-history-summary strong{display:block;margin-top:4px;font-size:12px}.bv-stack-history-list{display:grid;gap:6px}.bv-stack-history-list>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border-radius:10px;text-decoration:none!important;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.045)}.bv-stack-history-list>a:hover{background:rgba(255,255,255,.055)}.bv-stack-history-list>a>div:first-child{display:grid;grid-template-columns:82px 150px minmax(0,1fr);align-items:center;gap:10px;min-width:0}.bv-stack-history-list span,.bv-stack-history-list small{font-size:9px;opacity:.7}.bv-stack-history-list strong{font-size:10px}.bv-stack-history-list small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bv-stack-history-side{display:flex;align-items:center;gap:10px;white-space:nowrap}.bv-stack-history-side b{font-size:10px}.bv-stack-history-side em{font-style:normal;font-size:7px;font-weight:900;padding:4px 7px;border-radius:999px}.bv-stack-history-side em.held{background:rgba(239,177,71,.13);color:#efbd58}.bv-stack-history-side em.released{background:rgba(76,206,146,.12);color:#58d39c}.bv-dashboard-empty{grid-column:1/-1;padding:18px;border-radius:11px;text-align:center;font-size:10px;opacity:.7;background:rgba(255,255,255,.025)}
.bv-ui-shell.bv-light-mode .bv-category-performance,.bv-ui-shell.bv-light-mode .bv-stack-history-dashboard{background:#fff;border-color:#dfe7ed}.bv-ui-shell.bv-light-mode .bv-category-card{background:linear-gradient(145deg,#f7fbfe,#eef5f9);border-color:#d8e8f2;color:#163248}.bv-ui-shell.bv-light-mode .bv-category-metrics>div,.bv-ui-shell.bv-light-mode .bv-stack-history-summary>div,.bv-ui-shell.bv-light-mode .bv-stack-history-list>a{background:#f4f8fa;color:#17364c}.bv-ui-shell.bv-light-mode .bv-running-cost-card{background:linear-gradient(135deg,#fff9e9,#f4f9fc);color:#18374d}.bv-ui-shell.bv-light-mode .bv-category-progress{background:#dce7ed}.bv-ui-shell.bv-light-mode .bv-dashboard-section-head p,.bv-ui-shell.bv-light-mode .bv-running-cost-card p,.bv-ui-shell.bv-light-mode .bv-running-cost-value small,.bv-ui-shell.bv-light-mode .bv-stack-history-list span,.bv-ui-shell.bv-light-mode .bv-stack-history-list small{color:#647b8b;opacity:1}
@media(max-width:1000px){.bv-category-performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bv-stack-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.bv-category-performance-grid{grid-template-columns:1fr}.bv-running-cost-card{grid-template-columns:1fr;gap:8px}.bv-running-cost-value{text-align:left}.bv-stack-history-list>a>div:first-child{grid-template-columns:1fr;gap:3px}.bv-stack-history-list>a{align-items:flex-start}.bv-stack-history-summary{grid-template-columns:1fr 1fr}.bv-office-dashboard-v2 .bv-dashboard-section-head{align-items:flex-start}.bv-period-chip{margin-top:2px}}


/* v1.30.23 — compact premium Office Dashboard category performance */
.bv-office-dashboard-v2 .bv-dashboard-compact-head{margin-bottom:14px!important}
.bv-office-dashboard-v2 .bv-category-performance{padding:16px!important;border-radius:18px!important}
.bv-office-dashboard-v2 .bv-dashboard-section-head{margin-bottom:12px!important}
.bv-office-dashboard-v2 .bv-dashboard-section-head h3{font-size:18px!important;margin:2px 0!important}
.bv-office-dashboard-v2 .bv-category-performance-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(245px,1fr))!important;gap:12px!important}
.bv-office-dashboard-v2 .bv-category-card{padding:14px!important;border-radius:16px!important;min-height:0!important;position:relative!important;overflow:hidden!important;box-shadow:0 10px 28px rgba(2,12,27,.14)!important}
.bv-office-dashboard-v2 .bv-category-card:before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,#d7a62a,#3bc6a4,#5b8cff);opacity:.9}
.bv-office-dashboard-v2 .bv-category-card-head{margin-bottom:10px!important}
.bv-office-dashboard-v2 .bv-category-card-head h4{font-size:17px!important;margin:2px 0 0!important}
.bv-office-dashboard-v2 .bv-category-metrics{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
.bv-office-dashboard-v2 .bv-category-metrics>div{padding:9px 10px!important;border-radius:11px!important;min-width:0!important}
.bv-office-dashboard-v2 .bv-category-metrics span{font-size:9px!important;letter-spacing:.07em!important}
.bv-office-dashboard-v2 .bv-category-metrics strong{font-size:14px!important;line-height:1.25!important;margin-top:3px!important}
.bv-office-dashboard-v2 .bv-category-metrics .bv-category-per-day{grid-column:1/-1!important;background:linear-gradient(135deg,rgba(215,166,42,.16),rgba(91,140,255,.10))!important;border:1px solid rgba(215,166,42,.28)!important}
.bv-office-dashboard-v2 .bv-category-per-day strong{font-size:18px!important}
.bv-office-dashboard-v2 .bv-category-per-day small{display:block;margin-top:3px;font-size:10px;opacity:.78}
.bv-office-dashboard-v2 .bv-category-progress{height:5px!important;margin-top:10px!important}
@media(max-width:680px){.bv-office-dashboard-v2 .bv-category-performance-grid{grid-template-columns:1fr!important}.bv-office-dashboard-v2 .bv-category-metrics{grid-template-columns:1fr 1fr!important}}

/* v1.30.53 — Stock Lifting + Live Stock premium flow */
.bv-stock-flow-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.bv-stock-flow-kpis>div{padding:13px 14px;border:1px solid rgba(113,169,207,.16);border-radius:12px;background:rgba(17,53,77,.62);box-shadow:inset 0 1px rgba(255,255,255,.025)}
.bv-stock-flow-kpis span{display:block;color:#8eaabc;font-size:7.5px;font-weight:900;letter-spacing:.11em}.bv-stock-flow-kpis strong{display:block;margin-top:6px;color:#f5f9fc;font-size:20px;line-height:1}.bv-stock-flow-kpis small{display:block;margin-top:6px;color:#7895a8;font-size:7.5px}
.bv-stock-flow-kpis .lifting{border-color:rgba(48,201,145,.27);background:linear-gradient(145deg,rgba(17,53,77,.72),rgba(20,88,72,.3))}.bv-stock-flow-kpis .lifting strong,.bv-stock-flow-table .is-lifting{color:#6ee7b7!important}.bv-stock-flow-kpis .sales{border-color:rgba(248,113,113,.23)}.bv-stock-flow-kpis .sales strong,.bv-stock-flow-table .is-sales{color:#fda4af!important}.bv-stock-flow-kpis .live{border-color:rgba(226,184,79,.34);background:linear-gradient(145deg,rgba(17,53,77,.72),rgba(120,88,24,.28))}.bv-stock-flow-kpis .live strong{color:#f4cc66}
.bv-stock-flow-table{min-width:990px!important}.bv-stock-flow-table th:not(:first-child),.bv-stock-flow-table td:not(:first-child){text-align:right}.bv-stock-flow-table td:nth-child(2),.bv-stock-flow-table td:nth-child(3),.bv-stock-flow-table td:nth-child(4),.bv-stock-flow-table td:nth-child(5){font-variant-numeric:tabular-nums}.bv-stock-flow-table td:nth-child(5) strong{font-size:13px}
body:not([data-theme="dark"]) .bv-stock-flow-kpis>div,[data-bv-theme="light"] .bv-stock-flow-kpis>div,.bv-light-mode .bv-stock-flow-kpis>div{background:#fff;border-color:#d9e4ec}body:not([data-theme="dark"]) .bv-stock-flow-kpis strong,[data-bv-theme="light"] .bv-stock-flow-kpis strong,.bv-light-mode .bv-stock-flow-kpis strong{color:#15304b}body:not([data-theme="dark"]) .bv-stock-flow-kpis .lifting{background:#f2fbf7;border-color:#bfe8d7}body:not([data-theme="dark"]) .bv-stock-flow-kpis .sales{background:#fff7f7;border-color:#f2cccc}body:not([data-theme="dark"]) .bv-stock-flow-kpis .live{background:#fff9e9;border-color:#ead28e}body:not([data-theme="dark"]) .bv-stock-flow-kpis .live strong{color:#8b6415}
@media(max-width:900px){.bv-stock-flow-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.bv-stock-flow-kpis{grid-template-columns:1fr}}

/* ============================================================
 * v1.30.55 — TRUE GLOBAL LIGHT/DARK THEME + CONSOLIDATED MODALS
 * Final cascade layer. Visual only; no business/data logic.
 * ============================================================ */
.bv-ui-shell[data-theme="light"],.bv-web-admin-shell[data-theme="light"]{
  --bv-g-bg:#edf3f7;--bv-g-surface:#ffffff;--bv-g-surface2:#f6f9fb;--bv-g-surface3:#eef4f8;
  --bv-g-text:#17334a;--bv-g-muted:#667f91;--bv-g-line:#d5e2ea;--bv-g-heading:#102c43;--bv-g-input:#ffffff;
  color-scheme:light!important;
}
.bv-ui-shell[data-theme="dark"],.bv-web-admin-shell[data-theme="dark"]{
  --bv-g-bg:#071a29;--bv-g-surface:#0d2639;--bv-g-surface2:#102d43;--bv-g-surface3:#14364e;
  --bv-g-text:#e8f1f6;--bv-g-muted:#9eb2c1;--bv-g-line:rgba(128,177,210,.20);--bv-g-heading:#f4f8fb;--bv-g-input:#0a2437;
  color-scheme:dark!important;
}
/* Office canvas */
.bv-ui-shell[data-theme="light"] .bv-main{background:radial-gradient(circle at 75% 0%,rgba(84,148,188,.08),transparent 32%),var(--bv-g-bg)!important}
.bv-ui-shell[data-theme="dark"] .bv-main{background:radial-gradient(circle at 75% 0%,rgba(42,117,165,.13),transparent 32%),var(--bv-g-bg)!important}
.bv-ui-shell .bv-content{color:var(--bv-g-text)!important}
/* Generic module surfaces — intentionally broad to neutralize old hard-coded module colors. */
.bv-ui-shell .bv-content :is(.bv-panel,.bv-module-shell,.bv-module-head,.bv-sales-top,.bv-sales-items,.bv-unified-sales,.bv-unified-costing,.bv-costing-top,.bv-costing-items,.bv-sales-history-page,.bv-sales-history-hero,.bv-sales-history-filters,.bv-sales-history-panel,.bv-costing-history-page,.bv-costing-history-hero,.bv-costing-history-filters,.bv-costing-history-panel,.bv-roi-page,.bv-roi-hero,.bv-roi-filter,.bv-roi-register,.bv-roi-breakdown>div,.bv-month-commission-page,.bv-month-commission-hero,.bv-mc-form,.bv-mc-register,.bv-office-ledger,.bv-ledger-page,.bv-person-due,.bv-net-ledger,.bv-salary-page,.bv-company-stack-page,.bv-company-stack-dashboard,.bv-management-report,.bv-investment-checker,.bv-banking-cash,.bv-cash-panel,.bv-backup-center,.bv-audit-control,.bv-exec-dashboard,.bv-monthly-performance,.bv-statement-page,.bv-sr-stock-panel,.bv-sr-stock-issue-card,.bv-stock-control,.bv-stock-panel){
  background:var(--bv-g-surface)!important;color:var(--bv-g-text)!important;border-color:var(--bv-g-line)!important;box-shadow:0 10px 28px rgba(4,20,32,.08)!important;
}
.bv-ui-shell .bv-content :is(.bv-kpi,.bv-exec-card,.bv-net-card,.bv-ledger-kpis>div,.bv-costing-history-kpis>div,.bv-sales-history-kpis>div,.bv-salary-kpis>div,.bv-monthly-grid>div,.bv-dwh-kpis>div,.bv-office-kpis>div,.bv-person-due-summary>div,.bv-mc-calc>div,.bv-cost-history-summary>div,.bv-stock-kpi,.bv-sr-stock-kpi){background:var(--bv-g-surface2)!important;color:var(--bv-g-text)!important;border-color:var(--bv-g-line)!important}
.bv-ui-shell .bv-content :is(h1,h2,h3,h4,h5,h6,strong,b){color:var(--bv-g-heading)!important;text-shadow:none!important}
.bv-ui-shell .bv-content :is(p,small,label,legend,.bv-subtext,.bv-muted,.bv-note,.bv-help,.bv-description,.bv-mc-row-note){color:var(--bv-g-muted)!important}
.bv-ui-shell .bv-content :is(input,select,textarea){background:var(--bv-g-input)!important;color:var(--bv-g-text)!important;-webkit-text-fill-color:var(--bv-g-text)!important;border-color:var(--bv-g-line)!important}
.bv-ui-shell .bv-content :is(input,textarea)::placeholder{color:var(--bv-g-muted)!important;opacity:.8!important}
.bv-ui-shell[data-theme="dark"] .bv-content option{background:#0b2639!important;color:#edf5f9!important}
.bv-ui-shell .bv-content table{background:var(--bv-g-surface)!important;color:var(--bv-g-text)!important}
.bv-ui-shell .bv-content th{background:var(--bv-g-surface2)!important;color:var(--bv-g-muted)!important;border-color:var(--bv-g-line)!important}
.bv-ui-shell .bv-content td{background:var(--bv-g-surface)!important;color:var(--bv-g-text)!important;border-color:var(--bv-g-line)!important}
.bv-ui-shell .bv-content tr:hover td{background:var(--bv-g-surface2)!important}
/* Keep action buttons accented, but ensure labels are readable. */
.bv-ui-shell .bv-content :is(button,.bv-btn,.bv-small-btn,a[class*="btn"],a[class*="link"]){-webkit-text-fill-color:currentColor}
/* Premium Sales History modal inside Sales */
.bv-sales-history-link{cursor:pointer!important;border:1px solid rgba(229,184,79,.38)!important;border-radius:9px!important;padding:9px 12px!important;background:rgba(229,184,79,.10)!important;color:#c99528!important;font-size:9px!important;font-weight:900!important;text-decoration:none!important}
.bv-sales-history-modal{position:fixed!important;inset:0!important;z-index:999999!important;display:none!important}
.bv-sales-history-modal.is-open{display:block!important}
.bv-sales-history-backdrop{position:absolute!important;inset:0!important;background:rgba(2,10,17,.78)!important;backdrop-filter:blur(6px)!important}
.bv-sales-history-dialog{position:relative!important;width:min(1220px,95vw)!important;max-height:90vh!important;margin:5vh auto!important;background:var(--bv-g-surface)!important;color:var(--bv-g-text)!important;border:1px solid var(--bv-g-line)!important;border-radius:20px!important;box-shadow:0 32px 100px rgba(0,0,0,.42)!important;overflow:hidden!important}
.bv-sales-history-modal-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:16px 19px!important;background:linear-gradient(135deg,#123a58,#1e557f)!important;color:#fff!important}
.bv-sales-history-modal-head span{display:block!important;color:#b8d9ef!important;font-size:8px!important;letter-spacing:1.1px!important;font-weight:900!important}
.bv-sales-history-modal-head h3{margin:3px 0!important;color:#fff!important;font-size:19px!important}
.bv-sales-history-modal-head p{margin:0!important;color:#c9dcea!important;font-size:10px!important}
.bv-sales-history-modal-head button{border:0!important;border-radius:10px!important;width:36px!important;height:36px!important;background:#e5b84f!important;color:#132536!important;font-size:21px!important;cursor:pointer!important}
.bv-sales-history-modal-scroll{max-height:calc(90vh - 82px)!important;overflow:auto!important;padding:16px!important;background:var(--bv-g-bg)!important}
.bv-sales-history-page.is-embedded{margin:0!important}.bv-sales-history-page.is-embedded .bv-sales-history-hero{padding:17px 18px!important}.bv-sales-history-page.is-embedded .bv-sales-history-hero h2{font-size:20px!important}
/* Admin theme switch */
.bv-admin-theme-control{margin-left:auto!important}.bv-admin-theme-switch{display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:36px!important;padding:0 11px!important;border:1px solid var(--bv-g-line)!important;border-radius:10px!important;background:var(--bv-g-surface2)!important;color:var(--bv-g-text)!important;text-decoration:none!important;font-size:10px!important}.bv-admin-theme-switch span{font-size:14px!important}.bv-admin-theme-switch b{color:var(--bv-g-text)!important}
/* Admin global surfaces */
.bv-web-admin-shell[data-theme="light"]{background:var(--bv-g-bg)!important;color:var(--bv-g-text)!important}.bv-web-admin-shell[data-theme="dark"]{background:var(--bv-g-bg)!important;color:var(--bv-g-text)!important}
.bv-web-admin-shell[data-theme="light"]>aside{background:linear-gradient(180deg,#f8fbfd,#edf3f7)!important;border-color:var(--bv-g-line)!important}.bv-web-admin-shell[data-theme="dark"]>aside{background:linear-gradient(180deg,#0a2235,#071a29)!important;border-color:var(--bv-g-line)!important}
.bv-web-admin-shell>main,.bv-web-admin-shell>main>section{background:var(--bv-g-bg)!important;color:var(--bv-g-text)!important}.bv-web-admin-shell>main>header{background:var(--bv-g-surface)!important;border-color:var(--bv-g-line)!important;color:var(--bv-g-text)!important}
.bv-web-admin-shell :is(.bv-admin-page,.bv-admin-module-body,.bv-admin-hero,.bv-panel,.bv-module-shell,.bv-exec-dashboard,.bv-roi-page,.bv-banking-cash,.bv-cash-panel,.bv-investment-checker,.bv-day-wise-history,.bv-management-report,.bv-backup-center,.bv-system-settings,.bv-office-master,.bv-office-list,.bv-admin-placeholder){color:var(--bv-g-text)!important;border-color:var(--bv-g-line)!important}
.bv-web-admin-shell :is(.bv-admin-hero,.bv-panel,.bv-module-shell,.bv-roi-page,.bv-banking-cash,.bv-cash-panel,.bv-investment-checker,.bv-day-wise-history,.bv-management-report,.bv-backup-center,.bv-system-settings,.bv-office-master,.bv-office-list,.bv-admin-placeholder){background:var(--bv-g-surface)!important}
.bv-web-admin-shell :is(h1,h2,h3,h4,h5,h6,strong,b){color:var(--bv-g-heading)!important;text-shadow:none!important}.bv-web-admin-shell :is(p,small,label,legend,.bv-subtext,.bv-muted,.bv-note){color:var(--bv-g-muted)!important}
.bv-web-admin-shell :is(input,select,textarea){background:var(--bv-g-input)!important;color:var(--bv-g-text)!important;-webkit-text-fill-color:var(--bv-g-text)!important;border-color:var(--bv-g-line)!important}.bv-web-admin-shell[data-theme="dark"] option{background:#0b2639!important;color:#edf5f9!important}
.bv-web-admin-shell table{background:var(--bv-g-surface)!important;color:var(--bv-g-text)!important}.bv-web-admin-shell th{background:var(--bv-g-surface2)!important;color:var(--bv-g-muted)!important;border-color:var(--bv-g-line)!important}.bv-web-admin-shell td{background:var(--bv-g-surface)!important;color:var(--bv-g-text)!important;border-color:var(--bv-g-line)!important}.bv-web-admin-shell tr:hover td{background:var(--bv-g-surface2)!important}
.bv-web-admin-shell[data-theme="light"] aside nav button{color:#536d80!important}.bv-web-admin-shell[data-theme="dark"] aside nav button{color:#a9bdcb!important}.bv-web-admin-shell aside nav button.active{color:#f0c96c!important;background:rgba(229,184,79,.12)!important}
@media(max-width:760px){.bv-sales-history-dialog{width:96vw!important;margin:2vh auto!important;max-height:96vh!important}.bv-sales-history-modal-scroll{max-height:calc(96vh - 92px)!important;padding:10px!important}.bv-admin-theme-switch b{display:none!important}}
/* v1.30.55 final generic surface catch-all for legacy module-specific hard-coded colors */
.bv-ui-shell .bv-content :is([class*="-card"],[class*="-panel"],[class*="-register"],[class*="-summary"]>div,[class*="-kpis"]>div){border-color:var(--bv-g-line)!important}
.bv-ui-shell[data-theme="light"] .bv-content :is([class*="-card"],[class*="-panel"],[class*="-register"]){background-color:var(--bv-g-surface)!important;color:var(--bv-g-text)!important}
.bv-ui-shell[data-theme="dark"] .bv-content :is([class*="-card"],[class*="-panel"],[class*="-register"]){background-color:var(--bv-g-surface)!important;color:var(--bv-g-text)!important}
.bv-web-admin-shell :is([class*="-card"],[class*="-panel"],[class*="-register"],[class*="-kpi"]){border-color:var(--bv-g-line)!important}
.bv-web-admin-shell[data-theme="light"] :is([class*="-card"],[class*="-panel"],[class*="-register"]){background-color:var(--bv-g-surface)!important;color:var(--bv-g-text)!important}
.bv-web-admin-shell[data-theme="dark"] :is([class*="-card"],[class*="-panel"],[class*="-register"]){background-color:var(--bv-g-surface)!important;color:var(--bv-g-text)!important}

/* v1.30.56 — Financial Dashboard month selector */
.bv-fin-month-tools{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.bv-fin-month-tools label{display:grid;gap:5px;font-size:10px;font-weight:800;letter-spacing:.08em;color:var(--bv-muted,#64748b)}.bv-fin-month-tools input[type=month]{min-height:40px;border:1px solid var(--bv-border,rgba(148,163,184,.3));border-radius:11px;padding:7px 11px;background:var(--bv-card,#fff);color:var(--bv-text,#0f172a);font:inherit}.bv-fin-month-summary{margin:14px 0}.bv-fin-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.bv-fin-summary-grid article{padding:14px;border-radius:14px;border:1px solid var(--bv-border,rgba(148,163,184,.25));background:var(--bv-card,#fff);box-shadow:0 8px 22px rgba(15,23,42,.05)}.bv-fin-summary-grid span{display:block;font-size:9px;font-weight:900;letter-spacing:.08em;color:var(--bv-muted,#64748b);margin-bottom:7px}.bv-fin-summary-grid strong{font-size:17px;color:var(--bv-text,#0f172a)}
html[data-bv-theme="dark"] .bv-fin-month-tools input[type=month],body.bv-dark-mode .bv-fin-month-tools input[type=month],.bv-app[data-theme="dark"] .bv-fin-month-tools input[type=month]{background:#101827!important;color:#e5edf8!important;border-color:#2b3b52!important;color-scheme:dark}.bv-app[data-theme="dark"] .bv-fin-summary-grid article,html[data-bv-theme="dark"] .bv-fin-summary-grid article,body.bv-dark-mode .bv-fin-summary-grid article{background:#101827!important;border-color:#25364d!important}.bv-app[data-theme="dark"] .bv-fin-summary-grid strong,html[data-bv-theme="dark"] .bv-fin-summary-grid strong,body.bv-dark-mode .bv-fin-summary-grid strong{color:#f8fafc!important}.bv-app[data-theme="dark"] .bv-fin-summary-grid span,html[data-bv-theme="dark"] .bv-fin-summary-grid span,body.bv-dark-mode .bv-fin-summary-grid span{color:#9fb0c6!important}
@media(max-width:1100px){.bv-fin-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:680px){.bv-fin-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bv-fin-month-tools{width:100%}.bv-fin-month-tools label{flex:1}.bv-fin-month-tools input[type=month]{width:100%}}

/* =========================================================
   v1.30.57 — SINGLE PREMIUM NEOMORPHISM UI
   One appearance only: no light/dark variants.
   Applies to Office Portal + Admin Control + module popups.
   ========================================================= */
:root,
html[data-bv-theme="neo"],body[data-bv-theme="neo"]{
  --bv-neo-bg:#e7edf5;
  --bv-neo-surface:#e7edf5;
  --bv-neo-surface-2:#eef3f9;
  --bv-neo-text:#19324a;
  --bv-neo-muted:#6d7f91;
  --bv-neo-accent:#245f88;
  --bv-neo-accent-2:#2f789f;
  --bv-neo-gold:#a87418;
  --bv-neo-green:#28785f;
  --bv-neo-red:#a74747;
  --bv-neo-line:rgba(70,92,115,.16);
  --bv-neo-shadow-dark:rgba(154,170,188,.58);
  --bv-neo-shadow-light:rgba(255,255,255,.96);
  --bv-neo-raised:10px 10px 24px var(--bv-neo-shadow-dark),-10px -10px 24px var(--bv-neo-shadow-light);
  --bv-neo-soft:6px 6px 15px rgba(154,170,188,.46),-6px -6px 15px rgba(255,255,255,.92);
  --bv-neo-inset:inset 4px 4px 9px rgba(154,170,188,.43),inset -4px -4px 9px rgba(255,255,255,.9);
}
html[data-bv-theme="neo"],body[data-bv-theme="neo"],
.bv-ui-shell[data-theme="neo"],.bv-admin-shell[data-theme="neo"]{background:var(--bv-neo-bg)!important;color:var(--bv-neo-text)!important;color-scheme:light!important}
body[data-bv-theme="neo"] .bv-ui-shell *,body[data-bv-theme="neo"] .bv-admin-shell *{box-sizing:border-box}

/* Main shell */
.bv-ui-shell[data-theme="neo"] .bv-sidebar,.bv-admin-shell[data-theme="neo"]>aside{
  background:var(--bv-neo-bg)!important;border-color:transparent!important;
  box-shadow:8px 0 22px rgba(154,170,188,.34),-4px 0 12px rgba(255,255,255,.7)!important;
}
.bv-ui-shell[data-theme="neo"] .bv-main,.bv-admin-shell[data-theme="neo"]>main,
.bv-ui-shell[data-theme="neo"] .bv-content,.bv-admin-shell[data-theme="neo"]>main>section{background:var(--bv-neo-bg)!important;color:var(--bv-neo-text)!important}
.bv-ui-shell[data-theme="neo"] .bv-topbar,.bv-admin-shell[data-theme="neo"]>main>header{
  background:rgba(231,237,245,.94)!important;border:0!important;box-shadow:0 8px 22px rgba(154,170,188,.24)!important;color:var(--bv-neo-text)!important;backdrop-filter:blur(12px)
}

/* Navigation */
.bv-ui-shell[data-theme="neo"] .bv-nav-item,.bv-admin-shell[data-theme="neo"] aside nav button{
  background:transparent!important;color:#607487!important;border:1px solid transparent!important;box-shadow:none!important;border-radius:14px!important
}
.bv-ui-shell[data-theme="neo"] .bv-nav-item:hover,.bv-admin-shell[data-theme="neo"] aside nav button:hover{
  background:var(--bv-neo-bg)!important;color:var(--bv-neo-accent)!important;box-shadow:var(--bv-neo-soft)!important
}
.bv-ui-shell[data-theme="neo"] .bv-nav-item.active,.bv-admin-shell[data-theme="neo"] aside nav button.active{
  background:var(--bv-neo-bg)!important;color:var(--bv-neo-accent)!important;border-color:rgba(255,255,255,.55)!important;box-shadow:var(--bv-neo-inset)!important
}
.bv-ui-shell[data-theme="neo"] .bv-brand-mark,.bv-admin-shell[data-theme="neo"] .bv-admin-brand>b{
  background:var(--bv-neo-bg)!important;color:var(--bv-neo-accent)!important;box-shadow:var(--bv-neo-soft)!important;border:1px solid rgba(255,255,255,.7)!important
}

/* Typography visibility */
.bv-ui-shell[data-theme="neo"] h1,.bv-ui-shell[data-theme="neo"] h2,.bv-ui-shell[data-theme="neo"] h3,.bv-ui-shell[data-theme="neo"] h4,.bv-ui-shell[data-theme="neo"] h5,
.bv-admin-shell[data-theme="neo"] h1,.bv-admin-shell[data-theme="neo"] h2,.bv-admin-shell[data-theme="neo"] h3,.bv-admin-shell[data-theme="neo"] h4,.bv-admin-shell[data-theme="neo"] h5,
.bv-ui-shell[data-theme="neo"] strong,.bv-ui-shell[data-theme="neo"] b,.bv-admin-shell[data-theme="neo"] strong,.bv-admin-shell[data-theme="neo"] b{color:var(--bv-neo-text)!important}
.bv-ui-shell[data-theme="neo"] p,.bv-ui-shell[data-theme="neo"] small,.bv-ui-shell[data-theme="neo"] label,.bv-ui-shell[data-theme="neo"] span,
.bv-admin-shell[data-theme="neo"] p,.bv-admin-shell[data-theme="neo"] small,.bv-admin-shell[data-theme="neo"] label,.bv-admin-shell[data-theme="neo"] span{border-color:var(--bv-neo-line);text-shadow:none}
.bv-ui-shell[data-theme="neo"] .bv-subtext,.bv-ui-shell[data-theme="neo"] .muted,.bv-ui-shell[data-theme="neo"] [class*="muted"],
.bv-admin-shell[data-theme="neo"] .bv-subtext,.bv-admin-shell[data-theme="neo"] .muted,.bv-admin-shell[data-theme="neo"] [class*="muted"]{color:var(--bv-neo-muted)!important}

/* Raised surfaces — cards, panels, KPI blocks, modal/dialog shells */
.bv-ui-shell[data-theme="neo"] :is(.bv-panel,.bv-card,.bv-kpi,.bv-metric,.bv-summary-card,.bv-dashboard-card,.bv-category-card,.bv-portal-card,.bv-cash-metric,.bv-support-live-card,.bv-sr-stock-card,.bv-sr-stock-launch,.bv-ledger-recon>div,.bv-stack-history-summary>div,.bv-fin-summary-grid>article,.bv-cost-reimburse-panel,.bv-investment-checker,.bv-admin-placeholder),
.bv-admin-shell[data-theme="neo"] :is(.bv-panel,.bv-card,.bv-kpi,.bv-metric,.bv-summary-card,.bv-dashboard-card,.bv-category-card,.bv-cash-metric,.bv-support-live-card,.bv-sr-stock-card,.bv-sr-stock-launch,.bv-admin-hero,.bv-admin-placeholder,.bv-settings-card){
  background:var(--bv-neo-bg)!important;color:var(--bv-neo-text)!important;border:1px solid rgba(255,255,255,.58)!important;box-shadow:var(--bv-neo-raised)!important;border-radius:18px!important
}
/* Catch module-specific card/panel names without flattening structural wrappers */
.bv-ui-shell[data-theme="neo"] [class*="-card"]:not(.bv-modal-card):not(.bv-cost-history-dialog),
.bv-ui-shell[data-theme="neo"] [class*="-panel"]:not(.bv-panel-head),
.bv-admin-shell[data-theme="neo"] [class*="-card"]:not(.bv-modal-card),
.bv-admin-shell[data-theme="neo"] [class*="-panel"]:not(.bv-panel-head){background:var(--bv-neo-bg)!important;color:var(--bv-neo-text)!important;border-color:rgba(255,255,255,.56)!important}

/* Forms = inset Neomorphism */
.bv-ui-shell[data-theme="neo"] input,.bv-ui-shell[data-theme="neo"] select,.bv-ui-shell[data-theme="neo"] textarea,
.bv-admin-shell[data-theme="neo"] input,.bv-admin-shell[data-theme="neo"] select,.bv-admin-shell[data-theme="neo"] textarea{
  background:var(--bv-neo-bg)!important;color:var(--bv-neo-text)!important;-webkit-text-fill-color:var(--bv-neo-text)!important;border:1px solid rgba(255,255,255,.65)!important;box-shadow:var(--bv-neo-inset)!important;border-radius:12px!important;outline:none!important
}
.bv-ui-shell[data-theme="neo"] input::placeholder,.bv-ui-shell[data-theme="neo"] textarea::placeholder,
.bv-admin-shell[data-theme="neo"] input::placeholder,.bv-admin-shell[data-theme="neo"] textarea::placeholder{color:#8796a5!important;-webkit-text-fill-color:#8796a5!important;opacity:1}
.bv-ui-shell[data-theme="neo"] input:focus,.bv-ui-shell[data-theme="neo"] select:focus,.bv-ui-shell[data-theme="neo"] textarea:focus,
.bv-admin-shell[data-theme="neo"] input:focus,.bv-admin-shell[data-theme="neo"] select:focus,.bv-admin-shell[data-theme="neo"] textarea:focus{border-color:rgba(36,95,136,.35)!important;box-shadow:inset 5px 5px 11px rgba(154,170,188,.48),inset -5px -5px 11px rgba(255,255,255,.94),0 0 0 3px rgba(36,95,136,.08)!important}

/* Buttons */
.bv-ui-shell[data-theme="neo"] :is(button,.bv-btn,.bv-small-btn,.button,.button-primary,a.bv-btn,a.bv-small-btn),
.bv-admin-shell[data-theme="neo"] :is(button,.bv-btn,.bv-small-btn,.button,.button-primary,a.bv-btn,a.bv-small-btn){
  background:var(--bv-neo-bg)!important;color:var(--bv-neo-accent)!important;-webkit-text-fill-color:var(--bv-neo-accent)!important;border:1px solid rgba(255,255,255,.7)!important;box-shadow:var(--bv-neo-soft)!important;border-radius:12px!important;text-decoration:none!important
}
.bv-ui-shell[data-theme="neo"] :is(button,.bv-btn,.bv-small-btn,.button,.button-primary,a.bv-btn,a.bv-small-btn):hover,
.bv-admin-shell[data-theme="neo"] :is(button,.bv-btn,.bv-small-btn,.button,.button-primary,a.bv-btn,a.bv-small-btn):hover{box-shadow:3px 3px 8px rgba(154,170,188,.5),-3px -3px 8px rgba(255,255,255,.95)!important;transform:translateY(-1px)}
.bv-ui-shell[data-theme="neo"] :is(button,.bv-btn,.bv-small-btn,.button,.button-primary,a.bv-btn,a.bv-small-btn):active,
.bv-admin-shell[data-theme="neo"] :is(button,.bv-btn,.bv-small-btn,.button,.button-primary,a.bv-btn,a.bv-small-btn):active{box-shadow:var(--bv-neo-inset)!important;transform:none}

/* Tables */
.bv-ui-shell[data-theme="neo"] table,.bv-admin-shell[data-theme="neo"] table{background:transparent!important;color:var(--bv-neo-text)!important;border-color:transparent!important}
.bv-ui-shell[data-theme="neo"] thead th,.bv-admin-shell[data-theme="neo"] thead th{
  background:#dce5ef!important;color:#294760!important;-webkit-text-fill-color:#294760!important;border-color:rgba(112,132,151,.15)!important
}
.bv-ui-shell[data-theme="neo"] tbody td,.bv-admin-shell[data-theme="neo"] tbody td{
  background:rgba(238,243,249,.48)!important;color:#324c63!important;-webkit-text-fill-color:#324c63!important;border-color:rgba(112,132,151,.13)!important
}
.bv-ui-shell[data-theme="neo"] tbody tr:nth-child(even) td,.bv-admin-shell[data-theme="neo"] tbody tr:nth-child(even) td{background:rgba(224,232,241,.5)!important}
.bv-ui-shell[data-theme="neo"] .bv-tablewrap,.bv-admin-shell[data-theme="neo"] .bv-tablewrap,
.bv-ui-shell[data-theme="neo"] [class*="table-wrap"],.bv-admin-shell[data-theme="neo"] [class*="table-wrap"]{background:var(--bv-neo-bg)!important;border:1px solid rgba(255,255,255,.62)!important;box-shadow:var(--bv-neo-soft)!important;border-radius:16px!important;overflow:auto}

/* Modal / popup */
.bv-ui-shell[data-theme="neo"] :is(.bv-modal-card,.bv-cost-history-dialog,.bv-sales-history-dialog,.bv-statement-card),
.bv-admin-shell[data-theme="neo"] :is(.bv-modal-card,.bv-cost-history-dialog,.bv-sales-history-dialog,.bv-statement-card){background:var(--bv-neo-bg)!important;color:var(--bv-neo-text)!important;border:1px solid rgba(255,255,255,.72)!important;box-shadow:18px 18px 45px rgba(108,126,145,.45),-12px -12px 34px rgba(255,255,255,.9)!important;border-radius:22px!important}
.bv-ui-shell[data-theme="neo"] :is(.bv-modal-head,.bv-cost-history-head,.bv-sales-history-head),
.bv-admin-shell[data-theme="neo"] :is(.bv-modal-head,.bv-cost-history-head,.bv-sales-history-head){background:var(--bv-neo-bg)!important;color:var(--bv-neo-text)!important;border-bottom:1px solid rgba(255,255,255,.65)!important;box-shadow:0 8px 18px rgba(154,170,188,.22)!important}
.bv-ui-shell[data-theme="neo"] :is(.bv-modal-backdrop,.bv-cost-history-backdrop,.bv-sales-history-backdrop),
.bv-admin-shell[data-theme="neo"] :is(.bv-modal-backdrop,.bv-cost-history-backdrop,.bv-sales-history-backdrop){background:rgba(57,71,86,.36)!important;backdrop-filter:blur(7px)!important}

/* Chips / labels */
.bv-ui-shell[data-theme="neo"] :is(.bv-section-label,.bv-period-chip,.bv-live,.bv-panel-title>span,.bv-coming),
.bv-admin-shell[data-theme="neo"] :is(.bv-section-label,.bv-period-chip,.bv-live,.bv-panel-title>span,.bv-coming){background:var(--bv-neo-bg)!important;color:var(--bv-neo-accent)!important;border:1px solid rgba(255,255,255,.65)!important;box-shadow:3px 3px 8px rgba(154,170,188,.38),-3px -3px 8px rgba(255,255,255,.9)!important}

/* Preserve semantic status visibility */
.bv-ui-shell[data-theme="neo"] :is(.negative,.danger,.overdue,.rejected),.bv-admin-shell[data-theme="neo"] :is(.negative,.danger,.overdue,.rejected){color:var(--bv-neo-red)!important;-webkit-text-fill-color:var(--bv-neo-red)!important}
.bv-ui-shell[data-theme="neo"] :is(.positive,.success,.approved,.is-ok,.good),.bv-admin-shell[data-theme="neo"] :is(.positive,.success,.approved,.is-ok,.good){color:var(--bv-neo-green)!important;-webkit-text-fill-color:var(--bv-neo-green)!important}
.bv-ui-shell[data-theme="neo"] :is(.warning,.held,.pending),.bv-admin-shell[data-theme="neo"] :is(.warning,.held,.pending){color:var(--bv-neo-gold)!important;-webkit-text-fill-color:var(--bv-neo-gold)!important}

/* Financial dashboard: month selector remains, redundant calculation cards removed in PHP */
.bv-ui-shell[data-theme="neo"] .bv-fin-month-tools{background:var(--bv-neo-bg)!important;border:1px solid rgba(255,255,255,.64)!important;box-shadow:var(--bv-neo-soft)!important;border-radius:16px!important;padding:8px 10px!important}
.bv-ui-shell[data-theme="neo"] .bv-fin-month-summary{display:none!important}

/* Disable any legacy appearance controls if stale markup is cached */
.bv-theme-switch-wrap,.bv-dark-switch,.bv-admin-theme-control,.bv-admin-theme-switch{display:none!important}

/* Old hard-coded dark module shells are neutralized in the fixed neo theme */
[data-theme="neo"] :is(.bv-cash-module,.bv-investment-checker,.bv-costing-wrap,.bv-sales-wrap,.bv-stock-control,.bv-roi-dashboard,.bv-ledger-wrap,.bv-statements-wrap,.bv-assist-wrap,.bv-month-commission,.bv-salary-wrap,.bv-person-due){--bg:var(--bv-neo-bg)!important;--card:var(--bv-neo-bg)!important;--card2:var(--bv-neo-surface-2)!important;--text:var(--bv-neo-text)!important;--mut:var(--bv-neo-muted)!important;--line:var(--bv-neo-line)!important;background:var(--bv-neo-bg)!important;color:var(--bv-neo-text)!important}

@media(max-width:900px){
  .bv-ui-shell[data-theme="neo"] .bv-sidebar,.bv-admin-shell[data-theme="neo"]>aside{box-shadow:8px 0 22px rgba(119,137,156,.4)!important}
  .bv-ui-shell[data-theme="neo"] :is(.bv-panel,.bv-card,.bv-kpi,.bv-category-card),.bv-admin-shell[data-theme="neo"] :is(.bv-panel,.bv-card,.bv-kpi){box-shadow:6px 6px 14px rgba(154,170,188,.42),-6px -6px 14px rgba(255,255,255,.92)!important}
}


/* ============================================================
 * v1.30.60 — ACTUAL SINGLE-MODE NEO LIGHT HARD FIX
 * Forces all previously hard-coded navy/dark office/admin surfaces
 * into the fixed light Neomorphism visual system.
 * ============================================================ */
.bv-ui-shell[data-theme="neo"],.bv-admin-shell[data-theme="neo"],.bv-web-admin-shell[data-theme="neo"]{
  --bv-neo-bg:#edf3f8;--bv-neo-surface:#f4f8fb;--bv-neo-surface-2:#e7eef5;--bv-neo-text:#17334a;--bv-neo-heading:#102b42;--bv-neo-muted:#667f91;--bv-neo-line:#cfdae4;--bv-neo-accent:#176cc1;--bv-neo-gold:#b67b14;
  color-scheme:light!important;
}
html[data-bv-theme="neo"],body[data-bv-theme="neo"]{background:#edf3f8!important;color:#17334a!important;color-scheme:light!important}
.bv-ui-shell[data-theme="neo"] .bv-main,.bv-ui-shell[data-theme="neo"] .bv-content{background:radial-gradient(circle at 78% 0%,rgba(120,170,205,.10),transparent 34%),#edf3f8!important;color:#17334a!important}
.bv-ui-shell[data-theme="neo"] .bv-sidebar{background:linear-gradient(180deg,#f7fafc,#e8eff5)!important;color:#17334a!important;border-color:#d3dee7!important}

/* Exact legacy dark modules reported in screenshots */
.bv-ui-shell[data-theme="neo"] .bv-assist-net,
.bv-ui-shell[data-theme="neo"] .bv-sales-due-module,
.bv-ui-shell[data-theme="neo"] .bv-unified-commission,
.bv-ui-shell[data-theme="neo"] .bv-unified-costing,
.bv-ui-shell[data-theme="neo"] .bv-unified-sales,
.bv-ui-shell[data-theme="neo"] .bv-office-ledger,
.bv-ui-shell[data-theme="neo"] .bv-investment-checker,
.bv-ui-shell[data-theme="neo"] .bv-cash-module{background:#edf3f8!important;color:#17334a!important;border-color:#d3dee7!important;box-shadow:8px 8px 20px rgba(159,176,193,.38),-8px -8px 20px rgba(255,255,255,.92)!important}

.bv-ui-shell[data-theme="neo"] .bv-assist-net .bv-module-head,
.bv-ui-shell[data-theme="neo"] .bv-unified-sales .bv-module-head,
.bv-ui-shell[data-theme="neo"] .bv-unified-costing .bv-module-head,
.bv-ui-shell[data-theme="neo"] .bv-office-ledger .bv-module-head,
.bv-ui-shell[data-theme="neo"] .bv-module-statements .bv-module-head{background:#f4f8fb!important;color:#17334a!important;border:1px solid #d5e0e8!important;box-shadow:5px 5px 12px rgba(159,176,193,.30),-5px -5px 12px rgba(255,255,255,.95)!important}
.bv-ui-shell[data-theme="neo"] :is(.bv-assist-net,.bv-unified-sales,.bv-unified-costing,.bv-office-ledger,.bv-module-statements) :is(h1,h2,h3,h4,strong,b){color:#102b42!important;-webkit-text-fill-color:#102b42!important}
.bv-ui-shell[data-theme="neo"] :is(.bv-assist-net,.bv-unified-sales,.bv-unified-costing,.bv-office-ledger,.bv-module-statements) :is(p,small,label,span){color:#657f92!important;-webkit-text-fill-color:#657f92!important}

/* Inputs/selects inside old dark modules */
.bv-ui-shell[data-theme="neo"] :is(.bv-assist-net,.bv-unified-sales,.bv-unified-costing,.bv-office-ledger,.bv-sales-due-module,.bv-cash-module) :is(input,select,textarea){background:#edf3f8!important;color:#17334a!important;-webkit-text-fill-color:#17334a!important;border:1px solid #d1dce5!important;box-shadow:inset 4px 4px 9px rgba(159,176,193,.32),inset -4px -4px 9px rgba(255,255,255,.95)!important}
.bv-ui-shell[data-theme="neo"] :is(.bv-assist-net,.bv-unified-sales,.bv-unified-costing,.bv-office-ledger,.bv-sales-due-module,.bv-cash-module) :is(input,textarea)::placeholder{color:#7d91a2!important;-webkit-text-fill-color:#7d91a2!important;opacity:1!important}

/* Office Ledger cards */
.bv-ui-shell[data-theme="neo"] .bv-ledger-cards>div,
.bv-ui-shell[data-theme="neo"] .bv-ledger-recon>div,
.bv-ui-shell[data-theme="neo"] .bv-ledger-date-filter{background:#edf3f8!important;color:#17334a!important;border:1px solid #d4dee7!important;box-shadow:6px 6px 14px rgba(159,176,193,.34),-6px -6px 14px rgba(255,255,255,.94)!important}
.bv-ui-shell[data-theme="neo"] .bv-ledger-cards strong,.bv-ui-shell[data-theme="neo"] .bv-ledger-recon strong{color:#16344d!important;-webkit-text-fill-color:#16344d!important}
.bv-ui-shell[data-theme="neo"] .bv-ledger-cards :is(span,small),.bv-ui-shell[data-theme="neo"] .bv-ledger-recon :is(span,small){color:#657f92!important;-webkit-text-fill-color:#657f92!important}

/* Sales Auto Due */
.bv-ui-shell[data-theme="neo"] .bv-sales-due{background:#edf3f8!important;color:#17334a!important;border:1px solid #d3dee7!important;border-left:4px solid #6fb58a!important;box-shadow:inset 4px 4px 9px rgba(159,176,193,.30),inset -4px -4px 9px rgba(255,255,255,.92)!important}
.bv-ui-shell[data-theme="neo"] .bv-sales-due span{color:#688196!important;-webkit-text-fill-color:#688196!important}.bv-ui-shell[data-theme="neo"] .bv-sales-due strong{color:#17334a!important;-webkit-text-fill-color:#17334a!important}

/* Investment checker special dark KPI */
.bv-ui-shell[data-theme="neo"] .bv-investment-checker{--iv-bg:#edf3f8!important;--iv-card:#edf3f8!important;--iv-card2:#f4f8fb!important;--iv-text:#17334a!important;--iv-muted:#667f91!important;--iv-line:#d2dde6!important}
.bv-ui-shell[data-theme="neo"] .bv-inv-kpi.available{background:#edf3f8!important;border:1px solid #d2dde6!important;box-shadow:6px 6px 14px rgba(159,176,193,.34),-6px -6px 14px rgba(255,255,255,.94)!important}
.bv-ui-shell[data-theme="neo"] .bv-inv-kpi.available *{color:#17334a!important;-webkit-text-fill-color:#17334a!important}
.bv-ui-shell[data-theme="neo"] .bv-inv-kpi,.bv-ui-shell[data-theme="neo"] .bv-inv-component-grid>div,.bv-ui-shell[data-theme="neo"] .bv-inv-deduct-grid>div{background:#edf3f8!important;border-color:#d2dde6!important;box-shadow:5px 5px 12px rgba(159,176,193,.30),-5px -5px 12px rgba(255,255,255,.92)!important}

/* Banking total card and any legacy primary card */
.bv-ui-shell[data-theme="neo"] .bv-cash-module{--bg:#edf3f8!important;--card:#edf3f8!important;--card2:#f4f8fb!important;--text:#17334a!important;--mut:#667f91!important;--line:#d2dde6!important;--accent:#176cc1!important;--accent2:#1a7581!important}
.bv-ui-shell[data-theme="neo"] .bv-cash-metric.is-total,.bv-ui-shell[data-theme="neo"] .bv-kpi.primary{background:#edf3f8!important;border:1px solid #d2dde6!important;box-shadow:6px 6px 14px rgba(159,176,193,.34),-6px -6px 14px rgba(255,255,255,.94)!important}
.bv-ui-shell[data-theme="neo"] .bv-cash-metric.is-total *,.bv-ui-shell[data-theme="neo"] .bv-kpi.primary *{color:#17334a!important;-webkit-text-fill-color:#17334a!important}

/* Broad final safety net: neutralize navy surfaces while preserving semantic accent buttons */
.bv-ui-shell[data-theme="neo"] .bv-content :is(.bv-ledger-cards>div,.bv-net-card,.bv-exec-card,.bv-monthly-grid>div,.bv-stack-dashboard-details>div,.bv-mr-kpis>div,.bv-roi-kpis>div,.bv-salary-kpis>div,.bv-stock-flow-kpis>div){background:#edf3f8!important;color:#17334a!important;border-color:#d2dde6!important;box-shadow:5px 5px 12px rgba(159,176,193,.30),-5px -5px 12px rgba(255,255,255,.92)!important}
.bv-ui-shell[data-theme="neo"] .bv-content :is(.bv-ledger-cards>div,.bv-net-card,.bv-exec-card,.bv-monthly-grid>div,.bv-stack-dashboard-details>div,.bv-mr-kpis>div,.bv-roi-kpis>div,.bv-salary-kpis>div,.bv-stock-flow-kpis>div) :is(strong,b,h3,h4){color:#17334a!important;-webkit-text-fill-color:#17334a!important}
.bv-ui-shell[data-theme="neo"] .bv-content :is(.bv-ledger-cards>div,.bv-net-card,.bv-exec-card,.bv-monthly-grid>div,.bv-stack-dashboard-details>div,.bv-mr-kpis>div,.bv-roi-kpis>div,.bv-salary-kpis>div,.bv-stock-flow-kpis>div) :is(span,small,p){color:#667f91!important;-webkit-text-fill-color:#667f91!important}

/* Admin fixed neo mode */
.bv-admin-shell[data-theme="neo"],.bv-web-admin-shell[data-theme="neo"]{background:#edf3f8!important;color:#17334a!important}
.bv-admin-shell[data-theme="neo"] :is(.bv-admin-card,.bv-admin-panel-card,.bv-panel,.bv-card,.bv-kpi,.bv-cash-metric,.bv-admin-hero),
.bv-web-admin-shell[data-theme="neo"] :is(.bv-admin-card,.bv-admin-panel-card,.bv-panel,.bv-card,.bv-kpi,.bv-cash-metric,.bv-admin-hero){background:#edf3f8!important;color:#17334a!important;border-color:#d2dde6!important;box-shadow:6px 6px 14px rgba(159,176,193,.34),-6px -6px 14px rgba(255,255,255,.94)!important}
.bv-admin-shell[data-theme="neo"] :is(h1,h2,h3,h4,strong,b),.bv-web-admin-shell[data-theme="neo"] :is(h1,h2,h3,h4,strong,b){color:#17334a!important;-webkit-text-fill-color:#17334a!important}
.bv-admin-shell[data-theme="neo"] :is(p,small,label,span),.bv-web-admin-shell[data-theme="neo"] :is(p,small,label,span){color:#667f91!important}

/* v1.30.61 — CLEAN CONTENT MODE: remove decorative page/section headers */
.bv-office-portal .bv-module-head > div > .bv-section-label,
.bv-office-portal .bv-module-head > div > h1,
.bv-office-portal .bv-module-head > div > h2,
.bv-office-portal .bv-module-head > div > h3,
.bv-office-portal .bv-module-head > div > p,
.bv-office-portal .bv-module-head > .bv-auto-approved-badge,
.bv-office-portal .bv-stock-hero > div,
.bv-office-portal .bv-month-commission-hero > div,
.bv-office-portal .bv-roi-hero > div,
.bv-office-portal .bv-costing-history-hero > div,
.bv-office-portal .bv-panel-head,
.bv-office-portal .bv-sales-items-head > div:first-child,
.bv-office-portal .bv-stock-panel-head > div:first-child,
.bv-office-portal .bv-stock-history-head > div:first-child,
.bv-office-portal .bv-cash-card-head > div,
.bv-office-portal .bv-cash-table-title > div,
.bv-office-portal .bv-ledger-head > div,
.bv-office-portal .bv-net-head,
.bv-office-portal .bv-salary-head > div,
.bv-office-portal .bv-backup-head > div,
.bv-office-portal .bv-module-statements .bv-module-head,
.bv-office-portal .bv-mc-form > .bv-panel-head,
.bv-office-portal .bv-mc-register > .bv-panel-head {display:none!important;}

/* collapse the empty header spacing but keep useful action buttons */
.bv-office-portal .bv-module-head,
.bv-office-portal .bv-stock-hero,
.bv-office-portal .bv-month-commission-hero,
.bv-office-portal .bv-roi-hero,
.bv-office-portal .bv-costing-history-hero,
.bv-office-portal .bv-stock-panel-head,
.bv-office-portal .bv-stock-history-head,
.bv-office-portal .bv-cash-card-head,
.bv-office-portal .bv-cash-table-title {min-height:0!important;margin-top:0!important;padding-top:0!important;}
.bv-office-portal .bv-module-head:has(.bv-costing-history-link-wrap){justify-content:flex-end!important;}
.bv-office-portal .bv-module-head .bv-costing-history-link-wrap{display:block!important;margin:0 0 10px!important;}

/* Admin: remove decorative hero/title rows, keep controls and data */
.bv-admin-wrap .bv-admin-hero,
.bv-admin-wrap .bv-module-head,
.bv-admin-wrap > .bv-panel-head,
.bv-admin-wrap .bv-panel > .bv-panel-head:not(.bv-modal-head),
.bv-admin-wrap .bv-admin-panel-card > .bv-panel-title {display:none!important;}

/* v1.30.62 — true content-header removal + Commission Received row alignment */
.bv-headerless-action{margin:0 0 14px!important;float:none!important;display:flex!important;justify-content:flex-end!important;align-items:center!important}
.bv-month-commission-page .bv-mc-total-headerless{margin:0 0 12px auto!important;max-width:260px!important}
.bv-month-commission-page .bv-mc-line{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(120px,180px) 34px!important;gap:8px!important;align-items:center!important;width:100%!important;min-height:0!important}
.bv-month-commission-page .bv-mc-line input{width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0!important}
.bv-month-commission-page .bv-mc-remove{width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;padding:0!important;margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;align-self:center!important;box-sizing:border-box!important}
@media(max-width:560px){.bv-month-commission-page .bv-mc-line{grid-template-columns:minmax(0,1fr) 100px 32px!important}.bv-month-commission-page .bv-mc-remove{width:32px!important;height:32px!important;min-width:32px!important;max-width:32px!important}}


/* v1.30.63 — final headerless + ROI filter neomorphic light hard fix */
.bv-roi-page .bv-roi-filter,
.bv-roi-page .bv-roi-filter label,
.bv-roi-page .bv-roi-filter input,
.bv-roi-page .bv-roi-filter select,
.bv-roi-page .bv-roi-filter a,
.bv-roi-page .bv-roi-filter button{
  background:#e9eef5 !important;color:#26364a !important;border-color:#d6dee8 !important;
}
.bv-roi-page .bv-roi-filter{box-shadow:10px 10px 22px rgba(163,177,198,.42),-10px -10px 22px rgba(255,255,255,.9)!important;border-radius:18px!important}
.bv-roi-page .bv-roi-filter input{box-shadow:inset 4px 4px 8px rgba(163,177,198,.32),inset -4px -4px 8px rgba(255,255,255,.88)!important}
.bv-roi-top-actions,.bv-compact-action-row{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:0 0 14px}
.bv-stack-total-standalone{margin:0 0 16px auto;max-width:280px}
/* Never resurrect removed page-title/header rows through legacy theme rules. */
.bv-office-shell .bv-module-head:empty,.bv-office-shell .bv-net-head:empty{display:none!important}


/* v1.30.64 — final requested light neomorphism surface cleanup */
.bv-stock-actions-headerless{display:flex!important;justify-content:flex-end!important;align-items:center!important;margin:0 0 14px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}

/* Costing: date/category/reference and all selectors are light + readable */
.bv-office-portal .bv-unified-costing :is(.bv-costing-top,.bv-office-expense-top),
.bv-office-portal .bv-unified-costing :is(label,input,select,textarea),
.bv-office-shell .bv-unified-costing :is(.bv-costing-top,.bv-office-expense-top),
.bv-office-shell .bv-unified-costing :is(label,input,select,textarea){color:#26364a!important;-webkit-text-fill-color:#26364a!important}
.bv-office-portal .bv-unified-costing :is(input,select,textarea),.bv-office-shell .bv-unified-costing :is(input,select,textarea){background:#e9eef5!important;border:1px solid #d4dde7!important;box-shadow:inset 4px 4px 8px rgba(163,177,198,.28),inset -4px -4px 8px rgba(255,255,255,.9)!important}
.bv-office-portal .bv-unified-costing option,.bv-office-shell .bv-unified-costing option{background:#f5f8fb!important;color:#26364a!important}

/* ROI filter: override the older v1.30.15 dark !important rules with stronger scope */
.bv-ui-shell[data-theme="neo"] .bv-content .bv-roi-v1315 .bv-roi-filter,
.bv-office-portal .bv-roi-v1315 .bv-roi-filter,.bv-office-shell .bv-roi-v1315 .bv-roi-filter{background:#e9eef5!important;border:1px solid #d4dde7!important;color:#26364a!important;box-shadow:10px 10px 22px rgba(163,177,198,.40),-10px -10px 22px rgba(255,255,255,.92)!important}
.bv-ui-shell[data-theme="neo"] .bv-content .bv-roi-v1315 .bv-roi-filter label,.bv-office-portal .bv-roi-v1315 .bv-roi-filter label,.bv-office-shell .bv-roi-v1315 .bv-roi-filter label{color:#53677a!important;-webkit-text-fill-color:#53677a!important}
.bv-ui-shell[data-theme="neo"] .bv-content .bv-roi-v1315 .bv-roi-filter input,.bv-office-portal .bv-roi-v1315 .bv-roi-filter input,.bv-office-shell .bv-roi-v1315 .bv-roi-filter input{background:#edf2f7!important;color:#26364a!important;-webkit-text-fill-color:#26364a!important;border:1px solid #d4dde7!important;box-shadow:inset 4px 4px 8px rgba(163,177,198,.30),inset -4px -4px 8px rgba(255,255,255,.9)!important;color-scheme:light!important}
.bv-ui-shell[data-theme="neo"] .bv-content .bv-roi-v1315 .bv-roi-filter>a,.bv-office-portal .bv-roi-v1315 .bv-roi-filter>a,.bv-office-shell .bv-roi-v1315 .bv-roi-filter>a{background:#e9eef5!important;color:#26364a!important;-webkit-text-fill-color:#26364a!important;border:1px solid #d4dde7!important;box-shadow:5px 5px 11px rgba(163,177,198,.34),-5px -5px 11px rgba(255,255,255,.9)!important}

/* Company Part Stack: summary + action cards */
.bv-office-portal :is(.bv-stack-summary-grid>div,.bv-stack-action-card,.bv-stack-panel,.bv-company-stack-dashboard),
.bv-office-shell :is(.bv-stack-summary-grid>div,.bv-stack-action-card,.bv-stack-panel,.bv-company-stack-dashboard){background:#e9eef5!important;color:#26364a!important;border:1px solid #d4dde7!important;box-shadow:7px 7px 16px rgba(163,177,198,.35),-7px -7px 16px rgba(255,255,255,.92)!important}
.bv-office-portal :is(.bv-stack-summary-grid>div,.bv-stack-action-card,.bv-stack-panel) :is(h2,h3,h4,strong,b),.bv-office-shell :is(.bv-stack-summary-grid>div,.bv-stack-action-card,.bv-stack-panel) :is(h2,h3,h4,strong,b){color:#26364a!important;-webkit-text-fill-color:#26364a!important}
.bv-office-portal :is(.bv-stack-summary-grid>div,.bv-stack-action-card,.bv-stack-panel) :is(span,small,p,label),.bv-office-shell :is(.bv-stack-summary-grid>div,.bv-stack-action-card,.bv-stack-panel) :is(span,small,p,label){color:#607487!important;-webkit-text-fill-color:#607487!important}

/* Statements: complete light neomorphism, including AJAX-rendered result */
.bv-office-portal .bv-module-statements,.bv-office-shell .bv-module-statements,
.bv-office-portal :is(.bv-statement-filter,.bv-statement-document,.bv-statement-empty,.bv-statement-summary .card,.bv-statement-table-wrap),
.bv-office-shell :is(.bv-statement-filter,.bv-statement-document,.bv-statement-empty,.bv-statement-summary .card,.bv-statement-table-wrap){background:#e9eef5!important;color:#26364a!important;border-color:#d4dde7!important;box-shadow:7px 7px 16px rgba(163,177,198,.34),-7px -7px 16px rgba(255,255,255,.92)!important}
.bv-office-portal .bv-module-statements :is(label,p,small,span),.bv-office-shell .bv-module-statements :is(label,p,small,span){color:#607487!important;-webkit-text-fill-color:#607487!important}
.bv-office-portal .bv-module-statements :is(h2,h3,h4,strong,b,td),.bv-office-shell .bv-module-statements :is(h2,h3,h4,strong,b,td){color:#26364a!important;-webkit-text-fill-color:#26364a!important}
.bv-office-portal .bv-module-statements :is(input,select),.bv-office-shell .bv-module-statements :is(input,select){background:#edf2f7!important;color:#26364a!important;-webkit-text-fill-color:#26364a!important;border:1px solid #d4dde7!important;box-shadow:inset 4px 4px 8px rgba(163,177,198,.28),inset -4px -4px 8px rgba(255,255,255,.9)!important;color-scheme:light!important}
.bv-office-portal .bv-module-statements option,.bv-office-shell .bv-module-statements option{background:#f5f8fb!important;color:#26364a!important}
.bv-office-portal .bv-module-statements th,.bv-office-shell .bv-module-statements th{background:#dde6ee!important;color:#526a7e!important;-webkit-text-fill-color:#526a7e!important;border-color:#ccd8e2!important}
.bv-office-portal .bv-module-statements td,.bv-office-shell .bv-module-statements td{background:#edf2f7!important;border-color:#d8e1e9!important}

/* v1.30.65 — Statements true runtime light-neomorphism hard fix.
   Intentionally parent/theme independent so legacy dark selectors cannot win. */
html body .bv-module-statements,
html body .bv-module-statements .bv-statement-filter,
html body .bv-module-statements #bv-statement-result,
html body .bv-module-statements .bv-statement-document,
html body .bv-module-statements .bv-statement-empty,
html body .bv-module-statements .bv-statement-summary .card,
html body .bv-module-statements .bv-statement-table-wrap {
  background:#e9eef5!important;
  color:#26364a!important;
  border-color:#d4dde7!important;
  background-image:none!important;
}
html body .bv-module-statements {
  padding:18px!important;border:1px solid #d4dde7!important;border-radius:20px!important;
  box-shadow:10px 10px 24px rgba(163,177,198,.38),-10px -10px 24px rgba(255,255,255,.94)!important;
}
html body .bv-module-statements .bv-statement-filter,
html body .bv-module-statements .bv-statement-document,
html body .bv-module-statements .bv-statement-empty,
html body .bv-module-statements .bv-statement-summary .card,
html body .bv-module-statements .bv-statement-table-wrap {
  border:1px solid #d4dde7!important;
  box-shadow:6px 6px 14px rgba(163,177,198,.32),-6px -6px 14px rgba(255,255,255,.92)!important;
}
html body .bv-module-statements :is(label,p,small,span,.bv-statement-period){color:#607487!important;-webkit-text-fill-color:#607487!important}
html body .bv-module-statements :is(h1,h2,h3,h4,strong,b,td){color:#26364a!important;-webkit-text-fill-color:#26364a!important}
html body .bv-module-statements :is(input,select){background:#edf2f7!important;background-image:none!important;color:#26364a!important;-webkit-text-fill-color:#26364a!important;border:1px solid #cbd7e1!important;box-shadow:inset 4px 4px 8px rgba(163,177,198,.28),inset -4px -4px 8px rgba(255,255,255,.92)!important;color-scheme:light!important}
html body .bv-module-statements option{background:#f7f9fb!important;color:#26364a!important}
html body .bv-module-statements table{background:#edf2f7!important;color:#26364a!important}
html body .bv-module-statements th{background:#dde6ee!important;color:#405a70!important;-webkit-text-fill-color:#405a70!important;border-color:#c9d5df!important}
html body .bv-module-statements td{background:#edf2f7!important;color:#26364a!important;-webkit-text-fill-color:#26364a!important;border-color:#d4dde7!important}
html body .bv-module-statements #bv-load-statement,
html body .bv-module-statements #bv-print-statement{background:#e9eef5!important;background-image:none!important;color:#1765a5!important;-webkit-text-fill-color:#1765a5!important;border:1px solid #d2dce5!important;box-shadow:5px 5px 11px rgba(163,177,198,.36),-5px -5px 11px rgba(255,255,255,.95)!important}


/* v1.30.66 — exact Cost Category + Office Session light-neomorphism hard fix */
html body .bv-unified-costing select#bv-cost-category,
html body .bv-office-expense-top select#bv-cost-category,
html body #bv-cost-category {
  background:#edf2f7!important;
  background-image:none!important;
  color:#26364a!important;
  -webkit-text-fill-color:#26364a!important;
  border:1px solid #cbd7e1!important;
  box-shadow:inset 4px 4px 8px rgba(163,177,198,.28),inset -4px -4px 8px rgba(255,255,255,.92)!important;
  color-scheme:light!important;
}
html body .bv-unified-costing select#bv-cost-category option,
html body .bv-office-expense-top select#bv-cost-category option,
html body #bv-cost-category option {
  background:#f7f9fb!important;
  color:#26364a!important;
  -webkit-text-fill-color:#26364a!important;
}
html body .bv-unified-costing select#bv-cost-category:focus,
html body .bv-office-expense-top select#bv-cost-category:focus,
html body #bv-cost-category:focus {
  border-color:#9fb8cc!important;
  box-shadow:inset 3px 3px 7px rgba(163,177,198,.28),inset -3px -3px 7px rgba(255,255,255,.94),0 0 0 3px rgba(23,101,165,.08)!important;
}
html body .bv-ui-shell .bv-side-bottom,
html body .bv-office-shell .bv-side-bottom {
  background:transparent!important;
  border-top:1px solid #d9e3eb!important;
}
html body .bv-ui-shell .bv-user-chip,
html body .bv-office-shell .bv-user-chip {
  background:#e9eef5!important;
  background-image:none!important;
  color:#26364a!important;
  border:1px solid #d4dde7!important;
  box-shadow:5px 5px 12px rgba(163,177,198,.32),-5px -5px 12px rgba(255,255,255,.92)!important;
}
html body .bv-ui-shell .bv-user-chip b,
html body .bv-office-shell .bv-user-chip b {
  color:#26364a!important;
  -webkit-text-fill-color:#26364a!important;
}
html body .bv-ui-shell .bv-user-chip small,
html body .bv-office-shell .bv-user-chip small {
  color:#718698!important;
  -webkit-text-fill-color:#718698!important;
}
html body .bv-ui-shell .bv-logout,
html body .bv-office-shell .bv-logout {
  color:#718698!important;
}


/* v1.30.70 — Premium office sidebar + office identity */
html body .bv-ui-shell[data-theme="neo"] .bv-sidebar{
  width:276px!important;min-width:276px!important;
  background:linear-gradient(180deg,#f7fafc 0%,#eef4f8 52%,#e7eff5 100%)!important;
  border-right:1px solid rgba(150,170,190,.34)!important;
  box-shadow:10px 0 34px rgba(92,112,133,.13)!important;
  padding:0!important;
}
html body .bv-ui-shell .bv-office-identity{
  min-height:82px!important;padding:14px 12px!important;margin:0!important;
  display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;
  background:rgba(246,250,253,.84)!important;border:0!important;border-bottom:1px solid rgba(160,179,195,.28)!important;
  box-shadow:0 8px 20px rgba(111,132,151,.08)!important;backdrop-filter:blur(10px)!important;
}
html body .bv-ui-shell .bv-office-identity .bv-brand-mark{
  width:42px!important;height:42px!important;border-radius:14px!important;
  background:linear-gradient(145deg,#ffffff,#e3ebf2)!important;color:#1570ba!important;
  box-shadow:7px 7px 14px rgba(166,181,194,.42),-6px -6px 14px rgba(255,255,255,.92)!important;
  display:grid!important;place-items:center!important;font-size:18px!important;font-weight:900!important;letter-spacing:.02em!important;
}
html body .bv-ui-shell .bv-office-brand-copy{min-width:0!important;line-height:1.18!important}
html body .bv-ui-shell .bv-office-brand-copy strong{
  display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  color:#18364c!important;font-size:12px!important;font-weight:900!important;letter-spacing:.035em!important;text-transform:uppercase!important;
}
html body .bv-ui-shell .bv-office-brand-copy span{
  display:block!important;margin-top:5px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  color:#7890a3!important;font-size:7px!important;font-weight:750!important;letter-spacing:.035em!important;text-transform:none!important;
}
html body .bv-ui-shell .bv-top-logout{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;height:31px!important;padding:0 9px!important;
  border:1px solid rgba(197,105,105,.16)!important;border-radius:10px!important;background:linear-gradient(145deg,#f7fafc,#e8eef3)!important;
  color:#a35c5c!important;text-decoration:none!important;font-size:8px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.04em!important;
  box-shadow:4px 4px 9px rgba(166,181,194,.36),-4px -4px 9px rgba(255,255,255,.9)!important;
  transition:transform .18s ease,box-shadow .18s ease,color .18s ease!important;
}
html body .bv-ui-shell .bv-top-logout:hover{transform:translateY(-1px)!important;color:#8e4242!important;box-shadow:6px 6px 11px rgba(166,181,194,.4),-5px -5px 11px rgba(255,255,255,.95)!important}
html body .bv-ui-shell .bv-side-nav{padding:13px 10px 18px!important;overflow-y:auto!important;scrollbar-width:thin!important;scrollbar-color:#b7c8d6 transparent!important}
html body .bv-ui-shell .bv-side-nav::-webkit-scrollbar{width:5px!important}html body .bv-ui-shell .bv-side-nav::-webkit-scrollbar-thumb{background:#b7c8d6!important;border-radius:20px!important}
html body .bv-ui-shell .bv-nav-item{
  min-height:46px!important;margin:3px 0!important;padding:7px 10px!important;border:1px solid transparent!important;border-radius:14px!important;
  color:#5b7285!important;font-size:11px!important;font-weight:800!important;gap:10px!important;
  transition:transform .16s ease,box-shadow .18s ease,background .18s ease,color .18s ease!important;
}
html body .bv-ui-shell .bv-nav-item .bv-nav-icon{
  width:28px!important;height:28px!important;min-width:28px!important;border-radius:9px!important;display:grid!important;place-items:center!important;
  background:linear-gradient(145deg,#f7fbfe,#e4edf4)!important;color:#6a879b!important;
  box-shadow:3px 3px 7px rgba(169,184,197,.30),-3px -3px 7px rgba(255,255,255,.8)!important;font-size:11px!important;
}
html body .bv-ui-shell .bv-nav-item:hover{transform:translateX(2px)!important;background:rgba(247,250,252,.78)!important;color:#234d69!important;box-shadow:4px 4px 10px rgba(167,182,195,.22),-3px -3px 9px rgba(255,255,255,.72)!important}
html body .bv-ui-shell .bv-nav-item.active{
  background:linear-gradient(145deg,#f8fbfd,#e5edf3)!important;color:#116bb2!important;border-color:rgba(255,255,255,.82)!important;
  box-shadow:7px 7px 15px rgba(160,177,191,.40),-6px -6px 15px rgba(255,255,255,.95)!important;
}
html body .bv-ui-shell .bv-nav-item.active:before{content:""!important;width:3px!important;height:22px!important;border-radius:99px!important;background:linear-gradient(#e7b43f,#d89c19)!important;position:absolute!important;left:0!important}
html body .bv-ui-shell .bv-nav-item.active .bv-nav-icon{color:#0e75c2!important;background:linear-gradient(145deg,#fff,#e8f0f6)!important;box-shadow:inset 1px 1px 2px rgba(167,183,197,.22),4px 4px 8px rgba(166,182,195,.24),-4px -4px 8px #fff!important}
html body .bv-ui-shell .bv-side-bottom{display:none!important}
@media(max-width:900px){html body .bv-ui-shell[data-theme="neo"] .bv-sidebar{width:276px!important;min-width:276px!important;left:-286px!important}.bv-ui-shell.mobile-open .bv-sidebar{left:0!important}}

/* =========================================================
   v1.30.71 — PREMIUM EXECUTIVE NEO UI / UX REFINEMENT
   Single light mode. Higher contrast, cleaner hierarchy,
   restrained blue + gold accents, premium raised surfaces.
   ========================================================= */
:root{
  --bv71-bg:#edf3f8;--bv71-surface:#f7fafc;--bv71-surface2:#eef4f8;
  --bv71-ink:#17364d;--bv71-muted:#657f92;--bv71-line:#d4e0e9;
  --bv71-blue:#126fba;--bv71-blue2:#2f91d5;--bv71-gold:#d7a32d;
  --bv71-shadow:10px 10px 24px rgba(150,169,184,.28),-9px -9px 22px rgba(255,255,255,.92);
  --bv71-soft:6px 6px 15px rgba(153,171,186,.24),-6px -6px 15px rgba(255,255,255,.88);
}
html body .bv-ui-shell{background:linear-gradient(135deg,#eef4f8 0%,#f7fafc 46%,#e9f2f7 100%)!important;color:var(--bv71-ink)!important}
html body .bv-ui-shell .bv-main,html body .bv-ui-shell .bv-content{background:transparent!important}
html body .bv-ui-shell .bv-sidebar{background:rgba(244,248,251,.94)!important;border-right:1px solid rgba(190,207,219,.72)!important;box-shadow:10px 0 28px rgba(103,130,151,.10)!important;backdrop-filter:blur(16px)!important}
html body .bv-ui-shell .bv-office-identity{background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(234,241,246,.94))!important;box-shadow:0 10px 25px rgba(115,140,159,.10)!important}
html body .bv-ui-shell .bv-office-identity .bv-brand-mark{background:linear-gradient(145deg,#ffffff,#e5edf3)!important;color:var(--bv71-blue)!important;box-shadow:6px 6px 14px rgba(154,174,190,.34),-6px -6px 14px #fff!important}
html body .bv-ui-shell .bv-office-brand-copy strong{color:#15354d!important;font-size:13px!important;letter-spacing:.055em!important}
html body .bv-ui-shell .bv-office-brand-copy span{color:#71899a!important;font-size:7.5px!important}
html body .bv-ui-shell .bv-top-logout{background:linear-gradient(145deg,#fff,#edf2f6)!important;color:#a34f55!important;border:1px solid #ead9dc!important;box-shadow:4px 4px 10px rgba(160,176,188,.25),-4px -4px 10px #fff!important}
html body .bv-ui-shell .bv-nav-item{color:#526d80!important;font-size:11.2px!important;border-radius:13px!important}
html body .bv-ui-shell .bv-nav-item .bv-nav-icon{background:linear-gradient(145deg,#fff,#e6eef4)!important;color:#628399!important;box-shadow:4px 4px 9px rgba(156,175,190,.24),-4px -4px 9px #fff!important}
html body .bv-ui-shell .bv-nav-item:hover{color:#174d72!important;background:rgba(255,255,255,.62)!important;transform:translateX(3px)!important}
html body .bv-ui-shell .bv-nav-item.active{background:linear-gradient(145deg,#ffffff,#e8f0f5)!important;color:#086db8!important;border:1px solid rgba(255,255,255,.95)!important;box-shadow:7px 7px 16px rgba(151,171,187,.34),-7px -7px 16px #fff!important}
html body .bv-ui-shell .bv-nav-item.active:before{width:4px!important;height:24px!important;background:linear-gradient(180deg,#f0c75b,#cf9217)!important;box-shadow:0 2px 7px rgba(210,154,30,.30)!important}

/* Main executive canvas */
html body .bv-ui-shell .bv-card,html body .bv-ui-shell .bv-panel,html body .bv-ui-shell .bv-section,
html body .bv-ui-shell .bv-dashboard-card,html body .bv-ui-shell .bv-stat-card,html body .bv-ui-shell .bv-kpi,
html body .bv-ui-shell .bv-table-wrap,html body .bv-ui-shell .bv-form-card{
  background:linear-gradient(145deg,#f9fbfd,#edf3f7)!important;border:1px solid rgba(255,255,255,.9)!important;
  box-shadow:var(--bv71-soft)!important;color:var(--bv71-ink)!important;
}
html body .bv-ui-shell h1,html body .bv-ui-shell h2,html body .bv-ui-shell h3,html body .bv-ui-shell h4{color:#183950!important;letter-spacing:-.015em!important}
html body .bv-ui-shell .muted,html body .bv-ui-shell .bv-muted,html body .bv-ui-shell small{color:#698295!important}
html body .bv-ui-shell input,html body .bv-ui-shell select,html body .bv-ui-shell textarea{
  background:#f7fafc!important;color:#183950!important;border:1px solid #ccdae5!important;border-radius:11px!important;
  box-shadow:inset 3px 3px 7px rgba(160,179,194,.18),inset -3px -3px 7px rgba(255,255,255,.9)!important;
}
html body .bv-ui-shell input:focus,html body .bv-ui-shell select:focus,html body .bv-ui-shell textarea:focus{border-color:#78b5df!important;box-shadow:inset 2px 2px 6px rgba(151,174,191,.18),0 0 0 3px rgba(25,125,194,.10)!important;outline:none!important}
html body .bv-ui-shell button,html body .bv-ui-shell .button,html body .bv-ui-shell .bv-btn{border-radius:11px!important;font-weight:800!important;letter-spacing:.01em!important;transition:.18s ease!important}
html body .bv-ui-shell .bv-btn-primary,html body .bv-ui-shell button[type="submit"]{background:linear-gradient(145deg,#2789ce,#0d6eb5)!important;color:#fff!important;border:1px solid #0d6eb5!important;box-shadow:5px 5px 12px rgba(67,122,160,.25),-3px -3px 9px rgba(255,255,255,.6)!important}
html body .bv-ui-shell .bv-btn-primary:hover,html body .bv-ui-shell button[type="submit"]:hover{transform:translateY(-1px)!important;filter:saturate(1.08)!important}

/* Dashboard visual hierarchy */
html body .bv-ui-shell .bv-dashboard-shell,html body .bv-ui-shell .bv-financial-dashboard{border-color:#cad9e4!important;background:rgba(247,250,252,.62)!important;box-shadow:var(--bv71-shadow)!important}
html body .bv-ui-shell [class*="category"] [class*="card"],html body .bv-ui-shell [class*="performance"] [class*="card"]{background:linear-gradient(145deg,#f9fbfd,#edf3f7)!important;border:1px solid #d7e3eb!important;box-shadow:7px 7px 17px rgba(152,171,186,.24),-7px -7px 17px #fff!important}
html body .bv-ui-shell [class*="category"] [class*="card"]:hover,html body .bv-ui-shell [class*="performance"] [class*="card"]:hover{transform:translateY(-2px)!important;box-shadow:10px 10px 21px rgba(149,169,185,.28),-8px -8px 20px #fff!important}
html body .bv-ui-shell [class*="need"]{color:#355b74!important}

/* Premium tables */
html body .bv-ui-shell table{border-collapse:separate!important;border-spacing:0!important;background:#f8fbfd!important;border:1px solid #d3e0e9!important;border-radius:12px!important;overflow:hidden!important}
html body .bv-ui-shell table thead th{background:linear-gradient(180deg,#e5eef5,#dce8f0)!important;color:#294d66!important;border-color:#c9d8e3!important;font-weight:900!important;letter-spacing:.025em!important}
html body .bv-ui-shell table tbody td{background:rgba(249,251,253,.94)!important;color:#29485e!important;border-color:#dde7ee!important}
html body .bv-ui-shell table tbody tr:nth-child(even) td{background:#f1f6f9!important}
html body .bv-ui-shell table tbody tr:hover td{background:#eaf3f9!important}

/* Accent chips / labels: refined, not washed out */
html body .bv-ui-shell .badge,html body .bv-ui-shell .pill,html body .bv-ui-shell [class*="badge"]{box-shadow:3px 3px 8px rgba(158,176,190,.20),-3px -3px 8px #fff!important}
html body .bv-ui-shell .bv-eyebrow,html body .bv-ui-shell [class*="eyebrow"]{color:#a87412!important;font-weight:900!important;letter-spacing:.12em!important}

/* Keep all formerly dark surfaces in the single light language */
html body .bv-ui-shell [style*="background:#0"],html body .bv-ui-shell [style*="background: #0"],
html body .bv-ui-shell [style*="background:#1"],html body .bv-ui-shell [style*="background: #1"]{color:var(--bv71-ink)!important}

/* v1.30.72 — Dashboard target setter */
.bv-fin-month-tools{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.bv-target-open{border:1px solid rgba(202,151,33,.32)!important;background:linear-gradient(145deg,#fffaf0,#edf4fb)!important;color:#7d5b08!important;box-shadow:7px 7px 16px rgba(121,145,168,.18),-7px -7px 16px rgba(255,255,255,.92)!important;font-weight:800!important;letter-spacing:.03em}.bv-target-open:hover{transform:translateY(-1px);box-shadow:9px 9px 20px rgba(121,145,168,.22),-8px -8px 18px rgba(255,255,255,.95)!important}.bv-target-saved{margin:0 0 14px;padding:10px 14px;border:1px solid rgba(44,158,110,.18);border-radius:14px;background:#eefaf4;color:#23724f;font-size:12px;font-weight:800;box-shadow:inset 2px 2px 5px rgba(128,149,169,.08),inset -2px -2px 5px #fff}
body.bv-target-modal-open{overflow:hidden}.bv-target-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(30,50,70,.22);backdrop-filter:blur(7px)}.bv-target-modal.is-open{display:flex}.bv-target-dialog{width:min(760px,96vw);max-height:88vh;overflow:auto;border:1px solid rgba(77,111,139,.18);border-radius:26px;background:#eef5fb;color:#173650;box-shadow:24px 24px 54px rgba(76,101,124,.28),-16px -16px 40px rgba(255,255,255,.9)}.bv-target-dialog-head{display:flex;justify-content:space-between;gap:18px;padding:24px 26px 18px;border-bottom:1px solid rgba(92,124,151,.14)}.bv-target-dialog-head span{font-size:10px;font-weight:900;letter-spacing:.15em;color:#9b710d}.bv-target-dialog-head h3{margin:5px 0 4px;font-size:24px;color:#15344e}.bv-target-dialog-head p{margin:0;color:#678097;font-size:12px;line-height:1.55}.bv-target-close{width:38px;height:38px;min-width:38px;border:0;border-radius:13px;background:#edf4fa;color:#7f4960;font-size:24px;line-height:1;box-shadow:6px 6px 13px rgba(109,135,158,.18),-6px -6px 13px #fff;cursor:pointer}.bv-target-form{padding:20px 26px 26px}.bv-target-month{margin-bottom:14px}.bv-target-month label,.bv-target-row label{display:flex;flex-direction:column;gap:6px;font-size:10px;font-weight:900;letter-spacing:.09em;color:#61798f}.bv-target-month input,.bv-target-row input[type=number]{height:42px;border:1px solid rgba(92,124,151,.16)!important;border-radius:13px!important;background:#edf4fa!important;color:#173650!important;padding:0 13px!important;box-shadow:inset 4px 4px 9px rgba(122,147,169,.13),inset -4px -4px 9px #fff!important;outline:none}.bv-target-rows{display:grid;gap:10px}.bv-target-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(190px,240px);gap:18px;align-items:center;padding:14px 16px;border:1px solid rgba(91,125,154,.14);border-radius:17px;background:#eef5fb;box-shadow:6px 6px 15px rgba(115,139,160,.14),-6px -6px 15px rgba(255,255,255,.9)}.bv-target-row>div{display:flex;flex-direction:column;gap:4px}.bv-target-row>div span{font-size:9px;font-weight:900;letter-spacing:.12em;color:#8095a8}.bv-target-row>div strong{font-size:14px;color:#173650}.bv-target-note{margin-top:14px;padding:10px 12px;border-radius:12px;background:#f7f1df;color:#765b14;font-size:11px}.bv-target-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.bv-target-actions button{height:42px;padding:0 18px;border:0;border-radius:13px;background:linear-gradient(135deg,#176fc3,#0d8fc8);color:#fff;font-size:11px;font-weight:900;letter-spacing:.05em;box-shadow:7px 7px 16px rgba(80,117,149,.22),-5px -5px 12px #fff;cursor:pointer}.bv-target-actions .secondary{width:auto;min-width:88px;background:#edf4fa!important;color:#60788e!important;font-size:11px}.bv-target-empty{padding:18px;text-align:center;border:1px dashed rgba(91,125,154,.3);border-radius:16px;color:#71879b;background:rgba(255,255,255,.35)}
@media(max-width:700px){.bv-target-dialog-head,.bv-target-form{padding-left:16px;padding-right:16px}.bv-target-row{grid-template-columns:1fr}.bv-fin-month-tools{align-items:stretch}.bv-target-open{width:100%}}


/* v1.30.73 — Compact refresh action below Logout */
html body .bv-ui-shell .bv-top-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;min-width:58px!important}
html body .bv-ui-shell .bv-top-actions .bv-top-logout{margin:0!important;width:auto!important;box-sizing:border-box!important}
html body .bv-ui-shell .bv-top-refresh{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:28px!important;padding:0 7px!important;border:1px solid #d5e2eb!important;border-radius:9px!important;background:linear-gradient(145deg,#f8fbfd,#e7eef4)!important;color:#176ba9!important;font:900 7px/1 Inter,ui-sans-serif,system-ui,sans-serif!important;text-transform:uppercase!important;letter-spacing:.025em!important;cursor:pointer!important;box-shadow:3px 3px 8px rgba(166,181,194,.30),-3px -3px 8px rgba(255,255,255,.92)!important;transition:transform .16s ease,box-shadow .16s ease!important;white-space:nowrap!important}
html body .bv-ui-shell .bv-top-refresh:hover{transform:translateY(-1px)!important;box-shadow:5px 5px 10px rgba(166,181,194,.35),-4px -4px 10px #fff!important;color:#0c5d99!important}

/* v1.30.77 — TRUE DARK PREMIUM OFFICE SIDEBAR HARD OVERRIDE */
html body .bv-ui-shell .bv-sidebar,
html body .bv-office-shell .bv-sidebar{
  background:linear-gradient(180deg,#0d2a49 0%,#0a2340 52%,#081d36 100%)!important;
  border-right:1px solid rgba(74,130,181,.28)!important;
  box-shadow:14px 0 38px rgba(4,24,43,.28)!important;
  color:#eaf5ff!important;
}
html body .bv-ui-shell .bv-office-identity,
html body .bv-office-shell .bv-office-identity{
  background:linear-gradient(180deg,rgba(18,54,91,.98),rgba(10,39,70,.98))!important;
  border-bottom:1px solid rgba(104,160,208,.18)!important;
  box-shadow:0 10px 24px rgba(3,20,37,.24)!important;
}
html body .bv-ui-shell .bv-office-identity .bv-brand-mark,
html body .bv-office-shell .bv-office-identity .bv-brand-mark{
  background:linear-gradient(145deg,#ffffff,#e8f3fb)!important;
  color:#176fbd!important;
  box-shadow:0 8px 20px rgba(0,0,0,.24),inset 0 0 0 1px rgba(255,255,255,.75)!important;
}
html body .bv-ui-shell .bv-office-brand-copy strong,
html body .bv-office-shell .bv-office-brand-copy strong{color:#ffffff!important;-webkit-text-fill-color:#ffffff!important}
html body .bv-ui-shell .bv-office-brand-copy span,
html body .bv-office-shell .bv-office-brand-copy span{color:#a8c2d8!important;-webkit-text-fill-color:#a8c2d8!important}
html body .bv-ui-shell .bv-top-actions .bv-top-logout,
html body .bv-office-shell .bv-top-actions .bv-top-logout{
  background:linear-gradient(145deg,#183f67,#102f50)!important;
  color:#ffb7b7!important;-webkit-text-fill-color:#ffb7b7!important;
  border:1px solid rgba(255,129,129,.22)!important;
  box-shadow:4px 4px 10px rgba(2,16,29,.40),-2px -2px 7px rgba(51,91,128,.24)!important;
}
html body .bv-ui-shell .bv-top-refresh,
html body .bv-office-shell .bv-top-refresh{
  background:linear-gradient(145deg,#17436f,#0e3154)!important;
  color:#8fd0ff!important;-webkit-text-fill-color:#8fd0ff!important;
  border:1px solid rgba(92,164,222,.24)!important;
  box-shadow:4px 4px 10px rgba(2,16,29,.38),-2px -2px 7px rgba(51,91,128,.22)!important;
}
html body .bv-ui-shell .bv-side-nav,
html body .bv-office-shell .bv-side-nav{scrollbar-color:#315f86 transparent!important}
html body .bv-ui-shell .bv-side-nav::-webkit-scrollbar-thumb,
html body .bv-office-shell .bv-side-nav::-webkit-scrollbar-thumb{background:#315f86!important}
html body .bv-ui-shell .bv-nav-item,
html body .bv-office-shell .bv-nav-item{
  color:#c3d8e9!important;-webkit-text-fill-color:#c3d8e9!important;
  background:transparent!important;border-color:transparent!important;
  box-shadow:none!important;
}
html body .bv-ui-shell .bv-nav-item .bv-nav-icon,
html body .bv-office-shell .bv-nav-item .bv-nav-icon{
  background:linear-gradient(145deg,#194a78,#10365d)!important;
  color:#cbe7fa!important;-webkit-text-fill-color:#cbe7fa!important;
  border:1px solid rgba(107,164,211,.12)!important;
  box-shadow:4px 4px 9px rgba(2,17,31,.38),-2px -2px 6px rgba(45,85,121,.22)!important;
}
html body .bv-ui-shell .bv-nav-item:hover,
html body .bv-office-shell .bv-nav-item:hover{
  background:linear-gradient(90deg,rgba(26,78,126,.72),rgba(18,60,101,.56))!important;
  color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
  transform:translateX(3px)!important;
  box-shadow:inset 0 0 0 1px rgba(115,181,235,.10),0 7px 16px rgba(2,18,33,.18)!important;
}
html body .bv-ui-shell .bv-nav-item.active,
html body .bv-office-shell .bv-nav-item.active{
  background:linear-gradient(135deg,#0e7eea 0%,#1466c8 55%,#1758aa 100%)!important;
  color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
  border:1px solid rgba(95,178,255,.42)!important;
  box-shadow:0 9px 22px rgba(5,78,151,.42),inset 0 1px 0 rgba(255,255,255,.18)!important;
}
html body .bv-ui-shell .bv-nav-item.active .bv-nav-icon,
html body .bv-office-shell .bv-nav-item.active .bv-nav-icon{
  background:rgba(255,255,255,.12)!important;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.15)!important;
}
html body .bv-ui-shell .bv-nav-item.active:before,
html body .bv-office-shell .bv-nav-item.active:before{
  background:linear-gradient(180deg,#ffd764,#f0ae18)!important;
  box-shadow:0 0 12px rgba(246,187,46,.55)!important;
}
html body .bv-ui-shell .bv-nav-item.active:after,
html body .bv-office-shell .bv-nav-item.active:after{background:#ffd64f!important;box-shadow:0 0 8px rgba(255,214,79,.75)!important}
html body .bv-ui-shell .bv-sidebar a,
html body .bv-office-shell .bv-sidebar a{ text-decoration:none!important }
html body .bv-ui-shell .bv-sidebar .bv-side-bottom,
html body .bv-office-shell .bv-sidebar .bv-side-bottom{
  background:linear-gradient(180deg,rgba(8,29,53,0),#081d36 35%)!important;
  border-top:1px solid rgba(88,143,189,.16)!important;
}
html body .bv-ui-shell .bv-sidebar .bv-user-chip,
html body .bv-office-shell .bv-sidebar .bv-user-chip{
  background:linear-gradient(145deg,#123b64,#0b2a49)!important;
  color:#eaf5ff!important;border:1px solid rgba(105,164,211,.16)!important;
  box-shadow:6px 6px 14px rgba(2,17,31,.40),-2px -2px 7px rgba(49,89,125,.18)!important;
}
html body .bv-ui-shell .bv-sidebar .bv-user-chip b,
html body .bv-office-shell .bv-sidebar .bv-user-chip b{color:#ffffff!important;-webkit-text-fill-color:#ffffff!important}
html body .bv-ui-shell .bv-sidebar .bv-user-chip small,
html body .bv-office-shell .bv-sidebar .bv-user-chip small{color:#9db9cf!important;-webkit-text-fill-color:#9db9cf!important}

/* v1.30.78 — Reference-matched deep navy sidebar with subtle mountain footer */
html body .bv-ui-shell .bv-sidebar,
html body .bv-office-shell .bv-sidebar{
  position:fixed!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#0b2749 0%,#0a2444 52%,#081e3a 100%)!important;
  border-right:1px solid rgba(112,168,218,.20)!important;
  box-shadow:14px 0 38px rgba(7,30,55,.22)!important;
  color:#dcecff!important;
}
html body .bv-ui-shell .bv-sidebar::before,
html body .bv-office-shell .bv-sidebar::before{
  content:""!important;
  position:absolute!important;
  left:-18%!important;
  right:-16%!important;
  bottom:-18px!important;
  height:122px!important;
  z-index:0!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(13,69,132,.18),rgba(8,48,98,.72))!important;
  clip-path:polygon(0 72%,14% 58%,28% 69%,43% 38%,57% 59%,72% 26%,86% 54%,100% 34%,100% 100%,0 100%)!important;
  filter:drop-shadow(0 -8px 18px rgba(20,84,151,.10))!important;
}
html body .bv-ui-shell .bv-sidebar::after,
html body .bv-office-shell .bv-sidebar::after{
  content:""!important;
  position:absolute!important;
  left:-8%!important;
  right:-24%!important;
  bottom:-28px!important;
  height:104px!important;
  z-index:0!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(17,80,155,.25),rgba(6,36,76,.88))!important;
  clip-path:polygon(0 79%,18% 62%,34% 76%,51% 48%,67% 69%,83% 40%,100% 61%,100% 100%,0 100%)!important;
}
html body .bv-ui-shell .bv-office-identity,
html body .bv-office-shell .bv-office-identity,
html body .bv-ui-shell .bv-side-nav,
html body .bv-office-shell .bv-side-nav,
html body .bv-ui-shell .bv-side-bottom,
html body .bv-office-shell .bv-side-bottom{
  position:relative!important;
  z-index:2!important;
}
html body .bv-ui-shell .bv-side-nav,
html body .bv-office-shell .bv-side-nav{
  flex:1 1 auto!important;
  min-height:0!important;
  padding:18px 14px 116px!important;
  background:transparent!important;
  display:grid!important;
  align-content:start!important;
  gap:7px!important;
}
html body .bv-ui-shell .bv-office-identity,
html body .bv-office-shell .bv-office-identity{
  background:linear-gradient(180deg,rgba(15,48,83,.98),rgba(10,37,68,.96))!important;
  border-bottom:1px solid rgba(130,181,225,.14)!important;
  box-shadow:0 9px 22px rgba(1,16,31,.18)!important;
}
html body .bv-ui-shell .bv-nav-item,
html body .bv-office-shell .bv-nav-item{
  min-height:46px!important;
  padding:9px 10px!important;
  border-radius:12px!important;
  color:#b9cee2!important;
  -webkit-text-fill-color:#b9cee2!important;
  background:transparent!important;
  border:1px solid transparent!important;
  box-shadow:none!important;
  font-weight:750!important;
}
html body .bv-ui-shell .bv-nav-item .bv-nav-icon,
html body .bv-office-shell .bv-nav-item .bv-nav-icon{
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,#153c68,#0d2c50)!important;
  color:#d9efff!important;
  -webkit-text-fill-color:#d9efff!important;
  border:1px solid rgba(119,174,220,.12)!important;
  box-shadow:0 5px 11px rgba(0,15,31,.28),inset 0 1px 0 rgba(255,255,255,.04)!important;
}
html body .bv-ui-shell .bv-nav-item:hover,
html body .bv-office-shell .bv-nav-item:hover{
  background:linear-gradient(90deg,rgba(29,76,124,.55),rgba(21,61,104,.34))!important;
  color:#f6fbff!important;
  -webkit-text-fill-color:#f6fbff!important;
  transform:translateX(2px)!important;
}
html body .bv-ui-shell .bv-nav-item.active,
html body .bv-office-shell .bv-nav-item.active{
  background:linear-gradient(100deg,#166fe0 0%,#1261c7 58%,#0f53ad 100%)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border:1px solid rgba(104,182,255,.34)!important;
  box-shadow:0 9px 21px rgba(3,76,158,.34),inset 0 1px 0 rgba(255,255,255,.16)!important;
}
html body .bv-ui-shell .bv-nav-item.active .bv-nav-icon,
html body .bv-office-shell .bv-nav-item.active .bv-nav-icon{
  background:linear-gradient(180deg,#2d8fff,#1774df)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:rgba(255,255,255,.16)!important;
  box-shadow:0 5px 12px rgba(0,53,125,.25),inset 0 1px 0 rgba(255,255,255,.20)!important;
}
html body .bv-ui-shell .bv-nav-item.active:before,
html body .bv-office-shell .bv-nav-item.active:before{
  content:""!important;
  position:absolute!important;
  left:-2px!important;
  top:9px!important;
  width:4px!important;
  height:28px!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#ffd85d,#f0ad14)!important;
  box-shadow:0 0 11px rgba(247,186,34,.62)!important;
}
html body .bv-ui-shell .bv-nav-item.active:after,
html body .bv-office-shell .bv-nav-item.active:after{
  content:""!important;
  margin-left:auto!important;
  width:6px!important;
  height:6px!important;
  border-radius:50%!important;
  background:#ffd24a!important;
  box-shadow:0 0 8px rgba(255,210,74,.7)!important;
}
html body .bv-ui-shell .bv-side-bottom,
html body .bv-office-shell .bv-side-bottom{
  margin-top:auto!important;
  padding:8px 14px 12px!important;
  background:transparent!important;
  border-top:0!important;
  color:#819eb8!important;
}
html body .bv-ui-shell .bv-sidebar .bv-user-chip,
html body .bv-office-shell .bv-sidebar .bv-user-chip{
  background:rgba(10,40,75,.56)!important;
  border:1px solid rgba(109,163,210,.12)!important;
  color:#ddecfb!important;
  box-shadow:0 5px 14px rgba(0,18,38,.18)!important;
}
html body .bv-ui-shell .bv-sidebar .bv-user-chip b,
html body .bv-office-shell .bv-sidebar .bv-user-chip b{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .bv-ui-shell .bv-sidebar .bv-user-chip small,
html body .bv-office-shell .bv-sidebar .bv-user-chip small{color:#8eabc5!important;-webkit-text-fill-color:#8eabc5!important}

/* v1.30.79 — hard-lock complete sidebar canvas dark; prevents neo/light surface from painting menu region */
html body .bv-ui-shell aside.bv-sidebar{background:linear-gradient(180deg,#0b2749 0%,#0a2444 52%,#081e3a 100%)!important;background-color:#0a2444!important;}
html body .bv-ui-shell aside.bv-sidebar nav.bv-side-nav{background:transparent!important;background-color:transparent!important;}
html body .bv-ui-shell aside.bv-sidebar nav.bv-side-nav>a.bv-nav-item{color:#b9cee2!important;-webkit-text-fill-color:#b9cee2!important;}
html body .bv-ui-shell aside.bv-sidebar nav.bv-side-nav>a.bv-nav-item.active{color:#fff!important;-webkit-text-fill-color:#fff!important;background:linear-gradient(100deg,#166fe0 0%,#1261c7 58%,#0f53ad 100%)!important;}


/* v1.30.80 — Dashboard achievement percentage card fill */
.bv-office-dashboard-v2 .bv-achievement-fill-card{
  isolation:isolate!important;
  position:relative!important;
  overflow:hidden!important;
  background:linear-gradient(145deg,#f8fbfe,#edf4f9)!important;
}
.bv-office-dashboard-v2 .bv-achievement-fill-card>.bv-achievement-fill{
  position:absolute!important;
  z-index:-1!important;
  left:0!important;
  top:0!important;
  bottom:0!important;
  width:var(--bv-ach-fill,0%)!important;
  border-radius:inherit 0 0 inherit!important;
  background:linear-gradient(135deg,rgba(34,197,94,.30),rgba(16,185,129,.20))!important;
  box-shadow:inset -1px 0 0 rgba(21,128,61,.18)!important;
  transition:width .55s cubic-bezier(.2,.8,.2,1)!important;
  pointer-events:none!important;
}
.bv-office-dashboard-v2 .bv-achievement-fill-card:not(.bv-no-target):after{
  content:attr(style);
  display:none!important;
}
.bv-office-dashboard-v2 .bv-achievement-fill-card .bv-category-card-head,
.bv-office-dashboard-v2 .bv-achievement-fill-card .bv-category-metrics,
.bv-office-dashboard-v2 .bv-achievement-fill-card .bv-category-progress{
  position:relative!important;
  z-index:2!important;
}
.bv-office-dashboard-v2 .bv-achievement-fill-card .bv-category-metrics>div{
  background:rgba(255,255,255,.52)!important;
  backdrop-filter:blur(2px)!important;
}
.bv-office-dashboard-v2 .bv-achievement-fill-card .bv-category-card-head{
  background:rgba(255,255,255,.40)!important;
  border-radius:10px!important;
  padding:7px 9px!important;
}
.bv-office-dashboard-v2 .bv-achievement-fill-card .bv-category-card-head h4,
.bv-office-dashboard-v2 .bv-achievement-fill-card .bv-category-metrics strong{
  color:#102a43!important;
}
.bv-office-dashboard-v2 .bv-achievement-fill-card .bv-category-progress{
  height:7px!important;
  background:rgba(15,23,42,.08)!important;
  box-shadow:inset 1px 1px 3px rgba(15,23,42,.10)!important;
}
.bv-office-dashboard-v2 .bv-achievement-fill-card .bv-category-progress i{
  background:linear-gradient(90deg,#22c55e,#10b981)!important;
  box-shadow:0 0 10px rgba(34,197,94,.30)!important;
}
.bv-office-dashboard-v2 .bv-achievement-fill-card.bv-no-target>.bv-achievement-fill{width:0!important}

/* v1.30.81 — Company Part Stack complete light-neomorphism + active-nav refinement */
html body .bv-company-stack-page,
html body .bv-company-stack-page .bv-stack-total,
html body .bv-company-stack-page .bv-stack-summary-grid>div,
html body .bv-company-stack-page .bv-stack-action-card,
html body .bv-company-stack-page .bv-stack-panel,
html body .bv-company-stack-page .bv-stack-table-wrap,
html body .bv-company-stack-page .bv-stack-modal-card,
html body .bv-company-stack-page .bv-view-grid>div,
html body .bv-company-stack-page .bv-view-note,
html body .bv-company-stack-page .bv-release-history>div,
html body .bv-company-stack-page .bv-faulty-release-line {
  background:#edf3f8!important;
  background-image:none!important;
  color:#18324a!important;
  border-color:#d6e0e8!important;
  box-shadow:7px 7px 16px rgba(163,177,198,.30),-7px -7px 16px rgba(255,255,255,.94)!important;
}
html body .bv-company-stack-page{padding:18px!important;border-radius:20px!important}
html body .bv-company-stack-page :is(h1,h2,h3,h4,strong,b){color:#17324a!important;-webkit-text-fill-color:#17324a!important}
html body .bv-company-stack-page :is(span,small,p,label,.empty){color:#61788d!important;-webkit-text-fill-color:#61788d!important}
html body .bv-company-stack-page :is(input,select,textarea){
  background:#f2f6fa!important;background-image:none!important;color:#203a52!important;-webkit-text-fill-color:#203a52!important;
  border:1px solid #cbd8e3!important;box-shadow:inset 4px 4px 8px rgba(163,177,198,.25),inset -4px -4px 8px rgba(255,255,255,.94)!important;color-scheme:light!important;
}
html body .bv-company-stack-page option{background:#f7fafc!important;color:#203a52!important}
html body .bv-company-stack-page table{background:#edf3f8!important;color:#203a52!important}
html body .bv-company-stack-page th{background:#dfe9f1!important;color:#405d75!important;-webkit-text-fill-color:#405d75!important;border-color:#cbd8e3!important}
html body .bv-company-stack-page td{background:#f2f6fa!important;color:#203a52!important;-webkit-text-fill-color:#203a52!important;border-color:#d6e0e8!important}
html body .bv-company-stack-page .bv-stack-action-icon{background:#e6eef5!important;color:#1769aa!important;-webkit-text-fill-color:#1769aa!important;box-shadow:inset 2px 2px 5px rgba(163,177,198,.22),inset -2px -2px 5px rgba(255,255,255,.9)!important}
html body .bv-company-stack-page :is(.bv-stack-action-card button,.bv-stack-pdf,.bv-stack-view,.bv-stack-release,.bv-stack-form-actions button,#bv-add-faulty-row){background:linear-gradient(135deg,#1681df,#0966bd)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:0!important;box-shadow:0 7px 16px rgba(22,105,170,.22)!important}
html body .bv-company-stack-page .bv-stack-modal-backdrop{background:rgba(15,35,55,.32)!important;backdrop-filter:blur(3px)!important}
html body .bv-company-stack-page .bv-stack-modal-close{background:#edf3f8!important;color:#7a3140!important;-webkit-text-fill-color:#7a3140!important;border:1px solid #d6e0e8!important}
/* Keep Company Part Stack active menu consistent with the approved sidebar, not a flat oversized blue slab. */
html body .bv-ui-shell aside.bv-sidebar nav.bv-side-nav>a.bv-nav-item[href*="company-stack"].active,
html body .bv-ui-shell aside.bv-sidebar nav.bv-side-nav>a.bv-nav-item[data-module="company-stack"].active{
  background:linear-gradient(100deg,#1978e8 0%,#1264c9 58%,#0e54ae 100%)!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  box-shadow:0 8px 18px rgba(8,83,165,.30),inset 0 1px 0 rgba(255,255,255,.16)!important;
}


/* v1.30.82 — Active sidebar state + Faulty Product light card hard fix */
/* Navigation color is class-driven only. This prevents Dashboard keeping a stale
   blue inline background after SPA-style switching to another Office module. */
html body .bv-ui-shell aside.bv-sidebar nav.bv-side-nav > a.bv-nav-item:not(.active),
html body .bv-office-shell aside.bv-sidebar nav.bv-side-nav > a.bv-nav-item:not(.active){
  background:transparent!important;
  color:#b9cee2!important;
  -webkit-text-fill-color:#b9cee2!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
html body .bv-ui-shell aside.bv-sidebar nav.bv-side-nav > a.bv-nav-item.active,
html body .bv-office-shell aside.bv-sidebar nav.bv-side-nav > a.bv-nav-item.active{
  background:linear-gradient(100deg,#166fe0 0%,#1261c7 58%,#0f53ad 100%)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-color:rgba(104,182,255,.34)!important;
  box-shadow:0 9px 21px rgba(3,76,158,.34),inset 0 1px 0 rgba(255,255,255,.16)!important;
}
/* The legacy .faulty selector had higher specificity than the general v1.30.81
   light-card rule, so it could stay navy. Override that exact selector. */
html body .bv-company-stack-page .bv-stack-summary-grid > div.faulty,
html body .bv-company-stack-page .bv-stack-summary-grid .faulty{
  background:#edf3f8!important;
  background-image:none!important;
  color:#18324a!important;
  border:1px solid #d6e0e8!important;
  box-shadow:7px 7px 16px rgba(163,177,198,.30),-7px -7px 16px rgba(255,255,255,.94)!important;
}
html body .bv-company-stack-page .bv-stack-summary-grid > div.faulty span,
html body .bv-company-stack-page .bv-stack-summary-grid > div.faulty strong,
html body .bv-company-stack-page .bv-stack-summary-grid > div.faulty small{
  color:#18324a!important;
  -webkit-text-fill-color:#18324a!important;
}
html body .bv-company-stack-page .bv-stack-summary-grid > div.faulty small{color:#61788d!important;-webkit-text-fill-color:#61788d!important;}

/* v1.30.83 — ROI Dashboard true light-neomorphism readability hard fix */
html body .bv-ui-shell .bv-content .bv-roi-page.bv-roi-v1315{
  color:#17324a!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-top-actions{
  display:flex!important;justify-content:flex-end!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-pdf{
  background:linear-gradient(135deg,#1681df,#0966bd)!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  border:0!important;box-shadow:0 7px 16px rgba(22,105,170,.22)!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter{
  background:#edf3f8!important;background-image:none!important;
  border:1px solid #d5e0e8!important;border-radius:18px!important;
  box-shadow:7px 7px 16px rgba(163,177,198,.25),-7px -7px 16px rgba(255,255,255,.94)!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter label,
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-or{
  color:#5c7488!important;-webkit-text-fill-color:#5c7488!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter :is(input,select){
  background:#f3f7fa!important;background-image:none!important;
  color:#17324a!important;-webkit-text-fill-color:#17324a!important;
  border:1px solid #cbd9e4!important;color-scheme:light!important;
  box-shadow:inset 3px 3px 7px rgba(163,177,198,.22),inset -3px -3px 7px rgba(255,255,255,.95)!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter button{
  background:linear-gradient(135deg,#1681df,#0966bd)!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  border:0!important;box-shadow:0 6px 14px rgba(22,105,170,.22)!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-filter>a{
  background:#edf3f8!important;color:#17324a!important;-webkit-text-fill-color:#17324a!important;
  border:1px solid #d0dce6!important;
  box-shadow:5px 5px 12px rgba(163,177,198,.24),-5px -5px 12px rgba(255,255,255,.92)!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis>div{
  background:#edf3f8!important;background-image:none!important;
  color:#17324a!important;border:1px solid #d5e0e8!important;
  box-shadow:7px 7px 16px rgba(163,177,198,.25),-7px -7px 16px rgba(255,255,255,.94)!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis span,
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis small{
  color:#60798d!important;-webkit-text-fill-color:#60798d!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-kpis strong{
  color:#17324a!important;-webkit-text-fill-color:#17324a!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-admin-table-card{
  background:#edf3f8!important;background-image:none!important;
  color:#17324a!important;border:1px solid #d5e0e8!important;border-radius:18px!important;
  box-shadow:7px 7px 16px rgba(163,177,198,.24),-7px -7px 16px rgba(255,255,255,.94)!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-admin-table-card .bv-panel-head,
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-admin-table-card .bv-panel-head h3{
  color:#17324a!important;-webkit-text-fill-color:#17324a!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-admin-table-card .bv-section-label{
  color:#9a6d13!important;-webkit-text-fill-color:#9a6d13!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-admin-table-wrap{
  background:#eef4f8!important;border-radius:14px!important;overflow:auto!important;
  box-shadow:inset 3px 3px 7px rgba(163,177,198,.18),inset -3px -3px 7px rgba(255,255,255,.88)!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 table.bv-roi-admin-table{
  background:#eef4f8!important;color:#17324a!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 table.bv-roi-admin-table thead th{
  background:#dfe9f1!important;background-image:none!important;
  color:#36566f!important;-webkit-text-fill-color:#36566f!important;
  border:1px solid #c9d8e3!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 table.bv-roi-admin-table tbody td,
html body .bv-ui-shell .bv-content .bv-roi-v1315 table.bv-roi-admin-table tbody tr:nth-child(even) td{
  background:#f4f8fb!important;color:#17324a!important;-webkit-text-fill-color:#17324a!important;
  border:1px solid #d4e0e8!important;opacity:1!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 table.bv-roi-admin-table tbody tr:nth-child(even) td{
  background:#eaf1f6!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 table.bv-roi-admin-table tbody td :is(b,strong){
  color:#17324a!important;-webkit-text-fill-color:#17324a!important;opacity:1!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 table.bv-roi-admin-table tbody td small,
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-office-code{
  color:#617b90!important;-webkit-text-fill-color:#617b90!important;opacity:1!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-office-name{
  color:#17324a!important;-webkit-text-fill-color:#17324a!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 table.bv-roi-admin-table .bv-net-row td{
  background:#e5f1fb!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 table.bv-roi-admin-table .bv-margin-row td{
  background:#fff7df!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 table.bv-roi-admin-table .positive{
  color:#07875d!important;-webkit-text-fill-color:#07875d!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 table.bv-roi-admin-table .negative{
  color:#c83c5c!important;-webkit-text-fill-color:#c83c5c!important;
}

/* v1.30.84 — ROI Statement / Audit Trail light-neomorphism hard fix */
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register{
  background:#edf3f8!important;background-image:none!important;color:#17324a!important;
  border:1px solid #d5e0e8!important;border-radius:18px!important;
  box-shadow:7px 7px 16px rgba(163,177,198,.25),-7px -7px 16px rgba(255,255,255,.94)!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register .bv-panel-head,
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register .bv-panel-head h3{
  color:#17324a!important;-webkit-text-fill-color:#17324a!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register .bv-section-label{
  color:#9a6d13!important;-webkit-text-fill-color:#9a6d13!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register .bv-subtext,
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register .bv-count{
  color:#60798d!important;-webkit-text-fill-color:#60798d!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register .bv-count{
  background:#eef4f8!important;border:1px solid #cfdae4!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register .bv-tablewrap{
  background:#eef4f8!important;border:1px solid #d4e0e8!important;
  box-shadow:inset 3px 3px 7px rgba(163,177,198,.16),inset -3px -3px 7px rgba(255,255,255,.9)!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register table{background:#eef4f8!important;color:#17324a!important;}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register th{
  background:#dfe9f1!important;background-image:none!important;color:#36566f!important;-webkit-text-fill-color:#36566f!important;
  border-bottom:1px solid #c9d8e3!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register td{
  background:#f4f8fb!important;color:#17324a!important;-webkit-text-fill-color:#17324a!important;
  border-bottom:1px solid #d4e0e8!important;opacity:1!important;
}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register tbody tr:nth-child(even) td{background:#eaf1f6!important;}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register td.empty{color:#60798d!important;-webkit-text-fill-color:#60798d!important;}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register .positive{color:#07875d!important;-webkit-text-fill-color:#07875d!important;}
html body .bv-ui-shell .bv-content .bv-roi-v1315 .bv-roi-register .negative{color:#c83c5c!important;-webkit-text-fill-color:#c83c5c!important;}

/* v1.30.85 — SIM Promotion / DSO operational control */
.bv-sim-promo-page{display:grid;gap:18px;color:#15324d}
.bv-sim-promo-toolbar{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.bv-sim-promo-toolbar button{border:0;border-radius:13px;padding:11px 15px;font-weight:900;color:#fff;background:linear-gradient(135deg,#1688ff,#1764d8);box-shadow:0 8px 18px rgba(26,104,190,.22);cursor:pointer}
.bv-sim-promo-toolbar button:nth-child(3){background:#eef4f8;color:#1764c8;border:1px solid #d3e0e9;box-shadow:6px 6px 14px rgba(163,177,198,.22),-6px -6px 14px rgba(255,255,255,.9)}
.bv-sim-promo-note{display:flex;gap:14px;align-items:flex-start;padding:15px 18px;border-radius:16px;background:linear-gradient(135deg,#eef7ff,#f5f8fb);border:1px solid #d4e4f0;box-shadow:inset 2px 2px 6px rgba(163,177,198,.14),inset -2px -2px 6px #fff}
.bv-sim-promo-note strong{white-space:nowrap;color:#0d6bc9}.bv-sim-promo-note span{color:#587189;line-height:1.5}
.bv-sim-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.bv-sim-kpis>div{padding:17px;border-radius:17px;background:#edf3f8;border:1px solid #d9e3ea;box-shadow:7px 7px 16px rgba(163,177,198,.24),-7px -7px 16px rgba(255,255,255,.94)}
.bv-sim-kpis span{display:block;font-size:10px;font-weight:900;letter-spacing:.12em;color:#60798d}.bv-sim-kpis strong{display:block;margin-top:6px;font-size:23px;color:#17324a}.bv-sim-kpis small{display:block;margin-top:5px;color:#6e879a}
.bv-sim-field-stock-panel{border-color:#cdddea!important}
.bv-dso-admin .bv-panel{margin-bottom:18px}
.bv-dso-admin form{margin:0}
@media(max-width:1100px){.bv-sim-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.bv-sim-kpis{grid-template-columns:1fr}.bv-sim-promo-note{display:block}.bv-sim-promo-note strong{display:block;margin-bottom:6px}}


/* v1.30.86 — ADMIN NAV HARD CLICK FIX
   Admin navigation uses real links so every module remains reachable even if a
   third-party/runtime script fails. JS still enhances them into instant tabs. */
.bv-web-admin-shell aside{position:relative!important;z-index:50!important;pointer-events:auto!important}
.bv-web-admin-shell aside nav{position:relative!important;z-index:51!important;pointer-events:auto!important}
.bv-web-admin-shell aside nav .bv-admin-nav-link{
  display:flex!important;align-items:center!important;gap:7px!important;width:100%!important;box-sizing:border-box!important;
  padding:11px!important;border-radius:9px!important;text-align:left!important;text-decoration:none!important;cursor:pointer!important;
  pointer-events:auto!important;color:#536d80!important;background:transparent!important;font-size:10px!important;font-weight:800!important;
}
.bv-web-admin-shell aside nav .bv-admin-nav-link:hover{background:#e7eef4!important;color:#0b63bd!important}
.bv-web-admin-shell aside nav .bv-admin-nav-link.active{background:#e8eef5!important;color:#0b63bd!important;box-shadow:4px 4px 10px rgba(157,174,190,.28),-4px -4px 10px rgba(255,255,255,.92)!important}
.bv-web-admin-shell aside nav .bv-admin-nav-link .bv-admin-nav-dot{margin-left:0!important;color:#2e86de!important;font-size:7px!important}
.bv-web-admin-shell aside nav .bv-admin-nav-link.active .bv-admin-nav-dot{color:#e0b24d!important}

/* v1.30.100 — DSR issued-stock visibility in Sales */
.bv-ui-shell .bv-dsr-issued-stock-panel{margin:12px 0 18px;padding:14px 16px;border:1px solid #d5e2ec;border-radius:16px;background:#f7fbfe;color:#17344b;box-shadow:inset 3px 3px 8px rgba(54,79,99,.06),inset -3px -3px 8px #fff}.bv-ui-shell .bv-dsr-issued-stock-panel[hidden]{display:none!important}.bv-ui-shell .bv-dsr-issued-stock-panel .is-loading{font-weight:800;color:#607b90}.bv-ui-shell .bv-dsr-issued-stock-panel .is-empty{display:grid;gap:4px;padding:4px}.bv-ui-shell .bv-dsr-issued-stock-panel .is-empty strong{color:#a52c2c}.bv-ui-shell .bv-dsr-issued-stock-panel .is-empty span{font-size:12px;color:#607b90}.bv-ui-shell .bv-dsr-issued-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.bv-ui-shell .bv-dsr-issued-head div{display:grid;gap:2px}.bv-ui-shell .bv-dsr-issued-head span{font-size:10px;letter-spacing:.12em;font-weight:900;color:#b07a00}.bv-ui-shell .bv-dsr-issued-head strong{font-size:16px}.bv-ui-shell .bv-dsr-issued-head>b{font-size:13px;color:#0b6f53}.bv-ui-shell .bv-dsr-issued-table{overflow:auto}.bv-ui-shell .bv-dsr-issued-table table{width:100%;border-collapse:collapse}.bv-ui-shell .bv-dsr-issued-table th,.bv-ui-shell .bv-dsr-issued-table td{padding:9px 8px;border-bottom:1px solid #e2ebf2;text-align:left;font-size:12px}.bv-ui-shell .bv-dsr-issued-table th{font-size:10px;letter-spacing:.08em;color:#607b90}.bv-ui-shell .bv-sales-sku-select option:disabled{color:#a7b2ba}.bv-ui-shell .bv-person-tabs{display:flex;gap:8px;flex-wrap:wrap}.bv-ui-shell .bv-person-pdf{white-space:nowrap}

/* v1.30.106 — Assist Code SIM Sale */
.bv-assist-net .bv-assist-sim-sale{margin-top:24px;display:grid;gap:18px}
.bv-assist-sim-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.bv-assist-sim-summary>div,.bv-assist-sim-rule>div{padding:17px;border-radius:18px;background:#edf3f8;border:1px solid #d8e3eb;box-shadow:7px 7px 16px rgba(163,177,198,.22),-7px -7px 16px rgba(255,255,255,.92)}
.bv-assist-sim-summary span,.bv-assist-sim-rule span{display:block;font-size:11px;font-weight:900;letter-spacing:.08em;color:#6f8497}.bv-assist-sim-summary strong,.bv-assist-sim-rule b{display:block;margin-top:6px;font-size:22px;color:#15324d}.bv-assist-sim-summary small{display:block;margin-top:4px;color:#7890a4}
.bv-assist-sim-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:15px}.bv-assist-sim-form-grid label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#526c82}.bv-assist-sim-form-grid input,.bv-assist-sim-form-grid select,.bv-assist-sim-admin-card input{width:100%;box-sizing:border-box;border:1px solid #d4dfe7;border-radius:12px;background:#f6f9fb;color:#17324a;padding:11px 12px;outline:none}
.bv-assist-sim-calc{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:15px}.bv-assist-sim-calc>div{padding:12px 14px;border-radius:14px;background:#f3f7fa;border:1px solid #dce6ed}.bv-assist-sim-calc span{display:block;font-size:11px;font-weight:800;color:#70879b}.bv-assist-sim-calc b{display:block;margin-top:5px;color:#183a58}
.bv-sim-mini-actions{display:flex;gap:8px;align-items:center}.bv-sim-mini-actions button,.bv-assist-sim-admin-card button{border:0;border-radius:12px;padding:10px 14px;background:linear-gradient(135deg,#1688ff,#1764d8);color:#fff;font-weight:900;cursor:pointer}.bv-sim-mini-actions button:last-child{background:#eef4f8;color:#1764c8;border:1px solid #d3e0e9}
.bv-assist-sim-modal .bv-stack-modal-card{top:7vh !important;transform:none !important;margin:0 auto;max-height:86vh;overflow:auto}
.bv-modal-open{overflow:hidden!important}
.bv-assist-sim-admin{display:grid;gap:18px}.bv-assist-sim-admin-card{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;align-items:center;padding:24px;border-radius:22px;background:#edf3f8;border:1px solid #d9e3ea;box-shadow:8px 8px 18px rgba(163,177,198,.24),-8px -8px 18px rgba(255,255,255,.94)}.bv-assist-sim-admin-card small{font-weight:900;letter-spacing:.09em;color:#0d73d8}.bv-assist-sim-admin-card h3{margin:6px 0;font-size:26px;color:#15324d}.bv-assist-sim-admin-card p{margin:0;color:#667f94;line-height:1.55}.bv-assist-sim-admin-card form{display:grid;gap:10px}.bv-assist-sim-admin-card label{display:grid;gap:7px;font-weight:900;color:#48657d}.bv-assist-sim-rule{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media(max-width:950px){.bv-assist-sim-summary,.bv-assist-sim-form-grid,.bv-assist-sim-calc{grid-template-columns:repeat(2,minmax(0,1fr))}.bv-assist-sim-admin-card{grid-template-columns:1fr}.bv-assist-sim-rule{grid-template-columns:1fr}}
@media(max-width:620px){.bv-assist-sim-summary,.bv-assist-sim-form-grid,.bv-assist-sim-calc{grid-template-columns:1fr}.bv-sim-mini-actions{width:100%;flex-wrap:wrap}}

/* v1.30.109 — Company Part Stack release controls */
.bv-stack-summary-grid-five,.bv-stack-action-grid-five{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.bv-stack-summary-grid-five>div{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.bv-card-release-btn{margin-top:auto;border:0;border-radius:12px;padding:9px 12px;font-weight:800;font-size:11px;cursor:pointer;box-shadow:5px 5px 12px rgba(15,45,75,.12),-5px -5px 12px rgba(255,255,255,.72);background:#eef5fa;color:#0865c9}
.bv-card-release-btn:hover{transform:translateY(-1px)}
.bv-stack-modal-card select{width:100%;min-height:44px;border:0;border-radius:12px;background:#edf4f9;padding:0 12px;color:#18324e;box-shadow:inset 3px 3px 8px rgba(35,73,106,.10),inset -3px -3px 8px rgba(255,255,255,.75)}
@media(max-width:1250px){.bv-stack-summary-grid-five,.bv-stack-action-grid-five{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.bv-stack-summary-grid-five,.bv-stack-action-grid-five{grid-template-columns:1fr!important}}

/* v1.30.110 Company Part Stack unified premium control */
.bv-company-stack-page .bv-stack-master-card{
  margin:0 0 18px!important;padding:22px!important;border:1px solid #d4dde7!important;border-radius:20px!important;
  background:linear-gradient(145deg,#edf3f8,#e5ecf3)!important;
  box-shadow:10px 10px 22px rgba(163,177,198,.34),-10px -10px 22px rgba(255,255,255,.92)!important;
}
.bv-company-stack-page .bv-stack-master-top{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;flex-wrap:wrap}
.bv-company-stack-page .bv-stack-master-top h2{margin:5px 0 4px!important;font-size:22px!important;color:#22364b!important}
.bv-company-stack-page .bv-stack-master-top p{margin:0!important;color:#607487!important;font-size:11px!important}
.bv-company-stack-page .bv-stack-master-value{min-width:260px;text-align:right;padding:14px 16px;border-radius:16px;background:#e7eef5;box-shadow:inset 4px 4px 10px rgba(163,177,198,.25),inset -4px -4px 10px rgba(255,255,255,.9)}
.bv-company-stack-page .bv-stack-master-value span{display:block;font-size:9px!important;font-weight:900!important;letter-spacing:.11em;color:#667d91!important}
.bv-company-stack-page .bv-stack-master-value strong{display:block;margin-top:4px;font-size:28px!important;line-height:1;color:#183c5d!important}
.bv-company-stack-page .bv-stack-master-value small{display:block;margin-top:6px;font-size:8px!important;color:#73899c!important}
.bv-company-stack-page .bv-stack-master-breakdown{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:18px}
.bv-company-stack-page .bv-stack-master-breakdown>span{display:flex;flex-direction:column;gap:4px;padding:11px 12px;border-radius:13px;background:#e9eff5;border:1px solid #d9e2eb;box-shadow:4px 4px 10px rgba(163,177,198,.20),-4px -4px 10px rgba(255,255,255,.78);font-size:11px!important;color:#27425c!important}
.bv-company-stack-page .bv-stack-master-breakdown b{font-size:8px!important;letter-spacing:.06em;text-transform:uppercase;color:#668096!important}
.bv-company-stack-page .bv-stack-master-breakdown em{font-style:normal;font-size:8px;color:#7b8fa1}
.bv-company-stack-page .bv-stack-master-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.bv-company-stack-page .bv-stack-master-actions button,.bv-company-stack-page .bv-stack-master-actions .bv-stack-pdf{min-height:38px;padding:0 16px!important;border-radius:12px!important;font-size:10px!important;font-weight:900!important;letter-spacing:.02em!important;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none}
.bv-company-stack-page .bv-stack-master-actions button{border:0;background:linear-gradient(135deg,#1681df,#0966bd)!important;color:#fff!important;box-shadow:0 8px 18px rgba(22,105,170,.22)!important}
.bv-company-stack-page .bv-stack-master-actions .bv-stack-pdf{background:linear-gradient(135deg,#173f61,#0e2d48)!important;color:#fff!important;border:0!important;box-shadow:0 8px 18px rgba(14,45,72,.22)!important}
@media(max-width:1100px){.bv-company-stack-page .bv-stack-master-breakdown{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.bv-company-stack-page .bv-stack-master-breakdown{grid-template-columns:1fr 1fr}.bv-company-stack-page .bv-stack-master-value{width:100%;text-align:left}.bv-company-stack-page .bv-stack-master-actions>*{flex:1 1 100%}}

/* v1.30.115 Salary premium controls */
.bv-salary-pdf-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 16px;border-radius:12px;text-decoration:none!important;font-size:11px;font-weight:900;letter-spacing:.04em;background:linear-gradient(135deg,#0e74d8,#0759b3);color:#fff!important;box-shadow:0 8px 18px rgba(14,116,216,.20)}
.bv-salary-pdf-btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(14,116,216,.26)}
.bv-salary-designation{display:inline-flex;align-items:center;min-height:30px;padding:5px 10px;border-radius:999px;background:#edf3f8;border:1px solid #d2dde6;color:#28485f;font-size:11px;font-weight:800;white-space:nowrap}
.bv-salary-due-note{display:block!important;margin-top:5px!important;font-size:9px!important;font-weight:800;color:#b45309!important;opacity:1!important;white-space:nowrap}
.bv-salary-table{min-width:1360px}.bv-salary-table td:nth-child(9) input{width:145px}
@media(max-width:1100px){.bv-salary-toolbar{align-items:stretch;flex-wrap:wrap}.bv-salary-pdf-btn{order:2}.bv-salary-kpis{order:3;width:100%;overflow:auto}}
.bv-salary-status-readonly{display:inline-flex;padding:8px 12px;border-radius:999px;background:#eef3f8;box-shadow:inset 2px 2px 5px #d7dee6,inset -2px -2px 5px #fff;font-size:11px;font-weight:800;letter-spacing:.06em}.bv-salary-scan-upload{margin-top:22px;padding:22px;border-radius:22px;background:#edf2f7;box-shadow:8px 8px 18px #cbd2d9,-8px -8px 18px #fff}.bv-salary-scan-upload input[type=file]{display:block;width:100%;margin:14px 0;padding:14px;border-radius:14px;background:#f4f7fa}.bv-salary-scan-upload button{padding:12px 18px;border:0;border-radius:12px;font-weight:800;cursor:pointer}.bv-salary-approval-admin textarea{width:100%;min-height:80px;border:0;border-radius:14px;padding:14px;background:#edf2f7;box-shadow:inset 3px 3px 7px #d1d8df,inset -3px -3px 7px #fff}

/* v1.30.130 — Salary Basic is Admin-controlled */
.bv-salary-basic-admin{display:flex;flex-direction:column;gap:4px}.bv-salary-basic-admin .bv-basic[readonly]{background:#eef2f6!important;color:#0b1b30!important;font-weight:800;cursor:not-allowed;border-color:#d5dbe3!important}.bv-salary-basic-admin small{font-size:9px;line-height:1;color:#8a6a10;font-weight:800;letter-spacing:.45px}

/* v1.30.131 Admin salary approval compact cards */
.bv-salary-approval-admin>.bv-panel{padding:14px 18px!important;margin-bottom:10px!important;border-radius:16px!important;min-height:0!important}.bv-salary-approval-admin>.bv-panel>.bv-panel-head{min-height:0!important;padding:0!important;align-items:center!important}.bv-salary-approval-admin>.bv-panel>.bv-panel-head h3{font-size:18px!important;margin:3px 0!important}.bv-salary-approval-admin>.bv-panel>.bv-panel-head p{margin:3px 0 0!important;font-size:12px!important}.bv-salary-approval-admin>.bv-panel>.bv-panel-head .bv-small-btn{padding:8px 12px!important;min-height:32px!important}
