/* Extranet GA — GA 2.0 visual vocabulary, v1. No visibility/access/navigation rules.
   Load AFTER legacy styles. Scope is opt-in on body.ga-executive-v1.ga-executive-v1.
   Sources: GA 2.0 client/src/styles.css, Dashboard.css, AppLayout.jsx. */
body.ga-executive-v1.ga-executive-v1 {
  --gx-bg:#f4f7fb; --gx-panel:#fff; --gx-soft:#f8fafc; --gx-soft-2:#eef3f8;
  --gx-text:#111827; --gx-muted:#64748b; --gx-line:#d5dee9;
  --gx-blue:#2563eb; --gx-blue-soft:#eff6ff; --gx-nav:#0b1220;
  --gx-success:#16834a; --gx-danger:#c43d3d; --gx-warning:#b7791f;
  --gx-shadow:0 6px 18px rgb(15 23 42 / 7%); --gx-radius:18px;
  --bg:var(--gx-bg); --bg-2:var(--gx-soft); --panel:var(--gx-panel);
  --panel-2:var(--gx-soft); --panel-3:var(--gx-soft-2); --border:var(--gx-line);
  --border-strong:#bfcbd9; --text:var(--gx-text); --text-2:var(--gx-muted);
  --text-3:var(--gx-muted); --accent:var(--gx-blue); --accent-soft:var(--gx-blue-soft);
  --success:var(--gx-success); --danger:var(--gx-danger); --warning:var(--gx-warning);
  --radius:18px; --radius-sm:11px; --shadow:var(--gx-shadow);
  --ga-canvas:var(--gx-bg); --ga-surface:var(--gx-panel); --ga-surface-soft:var(--gx-soft);
  --ga-border:var(--gx-line); --ga-border-soft:var(--gx-line);
  --ga-text:var(--gx-text); --ga-text-2:var(--gx-muted); --ga-text-3:var(--gx-muted);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  background:var(--gx-bg)!important; color:var(--gx-text)!important;
  font-size:14px; line-height:1.5; color-scheme:light;
}
/* The existing theme toggle is preserved. Light is the migrated default;
   the optional dark preference keeps the same spacing/component vocabulary. */
html[data-ga-theme="dark"] body.ga-executive-v1.ga-executive-v1 {
  --gx-bg:#101827; --gx-panel:#182233; --gx-soft:#1c293d; --gx-soft-2:#233247;
  --gx-text:#edf2f8; --gx-muted:#b4c1d3; --gx-line:#36465d;
  --gx-blue:#60a5fa; --gx-blue-soft:#1e3557; color-scheme:dark;
}
body.ga-executive-v1.ga-executive-v1 :is(button,input,select,textarea){font-family:inherit!important}
body.ga-executive-v1.ga-executive-v1 :is(input,select,textarea,button,a):focus-visible{outline:2px solid #60a5fa!important;outline-offset:3px}
body.ga-executive-v1.ga-executive-v1 ::selection{background:#dbeafe;color:#111827}
body.ga-executive-v1.ga-executive-v1 ::-webkit-scrollbar-track{background:var(--gx-soft)}
body.ga-executive-v1.ga-executive-v1 ::-webkit-scrollbar-thumb{background:#a5b3c5;border:2px solid var(--gx-soft);border-radius:20px}

/* Shell: one width/padding contract for every page, no transforms on content. */
body.ga-executive-v1.ga-executive-v1 #appView>.main {
  margin-left:260px!important; padding:0 28px 36px!important;
  min-width:0!important; width:calc(100% - 260px)!important;
  max-width:none!important; background:var(--gx-bg)!important;
  background-image:none!important; color:var(--gx-text)!important;
}
body.ga-executive-v1.ga-executive-v1 #appView>.main::before,
body.ga-executive-v1.ga-executive-v1 #appView>.main::after{content:none!important}
body.ga-executive-v1.ga-executive-v1 #appView>.main>.page {
  width:100%!important; max-width:1600px!important; min-width:0!important;
  margin:0 auto!important; padding:24px 0!important; background:transparent!important;
  color:var(--gx-text)!important; box-sizing:border-box!important;
}
body.ga-executive-v1.ga-executive-v1 #appView>.sidebar {
  width:260px!important; padding:64px 16px 20px!important;
  background:linear-gradient(180deg,#0d1422,#070c15)!important;
  border-right:1px solid #ffffff15!important; box-shadow:none!important;
  color:#fff!important; overflow-y:auto; overflow-x:hidden;
}
body.ga-executive-v1.ga-executive-v1 #appView>.sidebar .brand {font-size:24px!important;padding:6px 12px 22px!important;color:#fff!important}
body.ga-executive-v1.ga-executive-v1 #appView>.sidebar :is(.nav,.commission-admin-menu-button) {
  min-height:44px!important; padding:11px 12px!important; gap:11px!important;
  border-radius:14px!important; border:1px solid transparent!important;
  background:transparent!important; color:#aeb8c7!important;
  font-size:13px!important; font-weight:600!important; box-shadow:none!important;
}
body.ga-executive-v1.ga-executive-v1 #appView>.sidebar .nav:hover{background:#172033!important;color:#fff!important;transform:none!important}
body.ga-executive-v1.ga-executive-v1 #appView>.sidebar .nav.active {
  background:linear-gradient(100deg,#2563eb33,#2563eb15)!important;
  color:#fff!important; border-color:#2563eb55!important; box-shadow:inset 3px 0 #2563eb!important;
}
body.ga-executive-v1.ga-executive-v1 #appView>.sidebar .nav.active::before{content:none!important}
body.ga-executive-v1.ga-executive-v1 #appView>.sidebar .nav-icon{width:18px!important;height:18px!important;color:inherit!important;background:transparent!important;box-shadow:none!important}
body.ga-executive-v1.ga-executive-v1 #appView>.sidebar .nav-icon svg{width:18px;height:18px}
body.ga-executive-v1.ga-executive-v1 #appView>.sidebar :is(.nav-label,.nav span){color:inherit!important}
body.ga-executive-v1.ga-executive-v1 #appView>.sidebar :is(.commission-admin-nav-title,.nav-group-title){color:#94a3b8!important;font-size:10px!important;letter-spacing:.08em}
body.ga-executive-v1.ga-executive-v1 #appView>.sidebar .logout {background:transparent!important;color:#aeb8c7!important;border:0!important;border-top:1px solid #ffffff15!important;border-radius:0!important;box-shadow:none!important}
body.ga-executive-v1.ga-executive-v1 #gaSidebarToggle{width:38px!important;height:38px!important;border-radius:11px!important;box-shadow:none!important;background:#172033!important;border-color:#ffffff22!important}
@media(min-width:769px){body.ga-executive-v1.ga-executive-v1:has(#appView>.sidebar.ga-sidebar-hidden) #appView>.main{margin-left:0!important;width:100%!important}}
body.ga-executive-v1.ga-executive-v1 #appView .topbar {
  height:76px!important; min-height:76px; padding:0 20px!important;
  background:var(--gx-panel)!important; border:0!important;border-bottom:1px solid var(--gx-line)!important;
  border-radius:0!important; box-shadow:none!important; color:var(--gx-text)!important;
  position:sticky; top:0; z-index:60; gap:14px;
}
body.ga-executive-v1.ga-executive-v1 #appView .topbar h2{font-size:18px!important;font-weight:800!important;color:var(--gx-text)!important;letter-spacing:-.3px!important}
body.ga-executive-v1.ga-executive-v1 #appView .topbar :is(small,.user-info){color:var(--gx-muted)!important;font-size:12px!important;letter-spacing:0!important}
body.ga-executive-v1.ga-executive-v1 :is(#gaThemeToggle,#gaAppInstallButton){background:var(--gx-panel)!important;color:var(--gx-text)!important;border:1px solid var(--gx-line)!important;box-shadow:var(--gx-shadow)!important;border-radius:11px!important}

/* Common executive surfaces; named module selectors avoid changing visibility. */
body.ga-executive-v1.ga-executive-v1 :is(.panel,.card,.metric,.finance-card,.finance-panel,.finance-kpi,.cex-panel,.cex-mini,.cex-kpi,.expense-card,.expense-panel,.expense-table-box,.ga-admin-card,.ga-admin-user-main-card,.ga-admin-user-list-card,.ga-user-module-selector,.ga-user-module-grid label,.ga-platform-card,.ga-social-card,.ga-post,.bank-import-card,.ag-goal,.ag-task,.ag-metrics>div,.ag-row) {
  background:var(--gx-panel)!important; color:var(--gx-text)!important;
  border:1px solid var(--gx-line)!important;border-radius:var(--gx-radius)!important;
  box-shadow:var(--gx-shadow)!important; background-image:none!important;
}
body.ga-executive-v1.ga-executive-v1 :is(.panel,.card,.finance-panel,.cex-panel,.expense-panel,.ga-admin-user-main-card){padding:20px!important}
body.ga-executive-v1.ga-executive-v1 :is(.metric,.cex-kpi,.expense-card,.finance-kpi,.ag-metrics>div){padding:18px!important}
body.ga-executive-v1.ga-executive-v1 :is(.panel,.card,.metric,.cex-kpi)::before,
body.ga-executive-v1.ga-executive-v1 :is(.panel,.card,.metric,.cex-kpi)::after{content:none!important}
body.ga-executive-v1.ga-executive-v1 :is(.panel,.card,.metric):hover{transform:none!important;box-shadow:var(--gx-shadow)!important}
body.ga-executive-v1.ga-executive-v1 :is(.cards,.cex-kpis,.expense-cards,.finance-grid,.dashboard-grid){gap:15px!important}
body.ga-executive-v1.ga-executive-v1 :is(.grid,.cex-bottom-grid,.ag-overview-grid){gap:18px!important}
body.ga-executive-v1.ga-executive-v1 :is(.metric strong,.cex-kpi strong,.expense-card strong,.finance-kpi strong){font-size:clamp(22px,2vw,28px)!important;font-weight:800!important;color:var(--gx-text)!important;letter-spacing:-.5px}
body.ga-executive-v1.ga-executive-v1 :is(.panel-head h3,.card h3,.cex-panel h3,.expense-panel h3){font-size:16px!important;color:var(--gx-text)!important}
body.ga-executive-v1.ga-executive-v1 :is(.panel p,.metric span,.card p,.cex-head p,.cex-kpi span,.cex-kpi small,.cex-panel p,.expense-header p,.expense-kicker,.ag-muted,.ag-empty,.ga-user-module-heading small){color:var(--gx-muted)!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-user-module-heading strong,.ga-user-module-grid label,.uc-form-header h3,.cex-head h2,.expense-header h1){color:var(--gx-text)!important}
body.ga-executive-v1.ga-executive-v1 :is(.cex-shell,.expense-shell,#adminContent,.ga-admin-user-main-layout,.ga-admin-user-list-layout,.finance-shell,.ga-social-shell) {
  width:100%!important; max-width:none!important; min-width:0!important;
  margin-left:0!important; margin-right:0!important; color:var(--gx-text)!important;
}
body.ga-executive-v1.ga-executive-v1 :is(.expense-shell,.finance-shell){padding:0!important}
body.ga-executive-v1.ga-executive-v1 #adminContent .ga-admin-user-main-layout{max-width:none!important;margin:0 0 24px!important}
body.ga-executive-v1.ga-executive-v1 #adminContent .ga-admin-user-main-card{padding:24px!important}
body.ga-executive-v1.ga-executive-v1 :is(#gaFinanceCenter,#gaAdminV1,.ga-admin-v1-head,.ga-access-dialog,.ga-reimb-dialog){color:var(--gx-text)!important;max-width:100%}
body.ga-executive-v1.ga-executive-v1 #gaFinanceCenter :is(.ga-finance-window,.ga-finance-content,.ga-finance-header){background:var(--gx-panel)!important;color:var(--gx-text)!important;border-color:var(--gx-line)!important;box-shadow:none!important;max-width:100%!important;width:100%!important}
body.ga-executive-v1.ga-executive-v1 #gaFinanceCenter .ga-finance-window{border-radius:18px!important;border:1px solid var(--gx-line)!important;margin:0!important}
body.ga-executive-v1.ga-executive-v1 #financePage #gaFinanceCenter{position:relative!important;inset:auto!important;height:auto!important;min-width:0!important;margin:0!important;padding:0!important}
body.ga-executive-v1.ga-executive-v1 #financePage #gaFinanceCenter .ga-finance-window{height:auto!important;max-height:none!important;min-width:0!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-finance-table-wrap,.ga-flow-scroll){overflow-x:auto!important;max-width:100%!important;border-radius:14px!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-finance-form,.ga-platform-modal){background:var(--gx-panel)!important;color:var(--gx-text)!important;border:1px solid var(--gx-line)!important;border-radius:18px!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 30px)!important;overflow:auto!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-finance-form,.ga-platform-modal) :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea){background:var(--gx-panel)!important;color:var(--gx-text)!important;border:1px solid var(--gx-line)!important;border-radius:11px!important;padding:11px 12px!important;max-width:100%}
body.ga-executive-v1.ga-executive-v1 :is(.ga-finance-form,.ga-platform-modal) :is(h2,h3,h4,label,strong,legend){color:var(--gx-text)!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-finance-form,.ga-platform-modal) :is(p,small){color:var(--gx-muted)!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-kpi,.ga-rep-card,.ga-process-card,.ga-asset-card,.ga-timeline-panel,.ga-flow-node,.ga-process-summary,.ga-empty-state){background:var(--gx-panel)!important;color:var(--gx-text)!important;border:1px solid var(--gx-line)!important;border-radius:18px!important;box-shadow:var(--gx-shadow)!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-kpi,.ga-rep-card,.ga-process-card,.ga-asset-card,.ga-flow-node) :is(h3,h4,strong){color:var(--gx-text)!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-kpi,.ga-rep-card,.ga-process-card,.ga-asset-card,.ga-flow-node,.ga-platform-hero) :is(p,small,span){color:var(--gx-muted)!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-next-action,.ga-kanban-column-head strong){background:var(--gx-soft-2)!important;color:var(--gx-text)!important}
body.ga-executive-v1.ga-executive-v1 .ga-platform-hero{background:var(--gx-soft)!important;color:var(--gx-text)!important;border-color:var(--gx-line)!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-finance-primary,.ga-primary-button){background:#2563eb!important;color:#fff!important;border-color:#2563eb!important;border-radius:11px!important}
body.ga-executive-v1.ga-executive-v1 .ga-secondary-button{background:var(--gx-panel)!important;color:var(--gx-text)!important;border:1px solid var(--gx-line)!important;border-radius:11px!important}
body.ga-executive-v1.ga-executive-v1 #gaFinanceCenter :is(.ga-finance-title,h2,h3,strong){color:var(--gx-text)!important}
body.ga-executive-v1.ga-executive-v1 #gaFinanceCenter .ga-finance-subtitle{color:var(--gx-muted)!important}
body.ga-executive-v1.ga-executive-v1 #gaFinanceCenter .ga-finance-menu{background:var(--gx-soft)!important;border-color:var(--gx-line)!important;gap:6px;overflow-x:auto}
body.ga-executive-v1.ga-executive-v1 #gaFinanceCenter .ga-finance-menu-item{background:transparent!important;color:var(--gx-muted)!important;border-color:transparent!important;border-radius:11px!important}
body.ga-executive-v1.ga-executive-v1 #gaFinanceCenter .ga-finance-menu-item.active{background:var(--gx-blue-soft)!important;color:var(--gx-blue)!important;border-color:var(--gx-blue)!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-admin-v1-card,.ga-admin-v1-section,.ga-reimbursement-group,.ga-reimb-employee,.ga-reimb-note,.ga-reimb-total-box,.ga-reimb-proof-box,.ga-fin-reimb-action){background:var(--gx-panel)!important;color:var(--gx-text)!important;border:1px solid var(--gx-line)!important;border-radius:18px!important;box-shadow:var(--gx-shadow)!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-admin-v1-card,.ga-admin-v1-section,.ga-reimbursement-group,.ga-reimb-dialog,.ga-access-dialog) :is(h2,h3,strong,label,legend){color:var(--gx-text)!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-admin-v1-head,.ga-admin-v1-card,.ga-admin-v1-section,.ga-reimbursement-group,.ga-reimb-dialog,.ga-access-dialog) :is(p,small,span){color:var(--gx-muted)!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-admin-v1-input,.ga-reimb-dialog input,.ga-reimb-dialog select,.ga-reimb-dialog textarea){background:var(--gx-panel)!important;color:var(--gx-text)!important;border:1px solid var(--gx-line)!important;border-radius:11px!important;padding:11px 12px!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-access-dialog,.ga-reimb-dialog){background:var(--gx-panel)!important;border:1px solid var(--gx-line)!important;border-radius:18px!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 30px)!important;overflow:auto!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-access-dialog button,.ga-reimb-dialog button){border-radius:11px!important;background:var(--gx-soft)!important;color:var(--gx-text)!important;border:1px solid var(--gx-line)!important;min-height:40px}
body.ga-executive-v1.ga-executive-v1 :is(.ga-access-save,.ga-reimb-confirm,.ga-reimb-pay-selected){background:#2563eb!important;color:#fff!important;border-color:#2563eb!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-admin-v1-scroll,.ga-access-table-scroll){overflow-x:auto!important;max-width:100%!important;border-radius:14px}
body.ga-executive-v1.ga-executive-v1 :is(.toolbar,.finance-toolbar,.expense-header,.cex-actions){gap:12px!important;flex-wrap:wrap}
body.ga-executive-v1.ga-executive-v1 :is(.hero,.ga-welcome-hero){
  min-height:180px!important; border-radius:22px!important; padding:28px 30px!important;
  background:linear-gradient(135deg,#111827,#1e40af)!important;
  color:#fff!important;border:0!important;box-shadow:var(--gx-shadow)!important;
}
body.ga-executive-v1.ga-executive-v1 :is(.hero,.ga-welcome-hero)::before,
body.ga-executive-v1.ga-executive-v1 :is(.hero,.ga-welcome-hero)::after{content:none!important}
body.ga-executive-v1.ga-executive-v1 :is(.hero,.ga-welcome-hero) :is(h1,h2,h3){color:#fff!important;font-size:28px!important}
body.ga-executive-v1.ga-executive-v1 :is(.hero,.ga-welcome-hero) :is(p,small){color:#cbd5e1!important}

/* Controls: do not set display, widths of checkbox/radio, or disabled states. */
body.ga-executive-v1.ga-executive-v1 :is(.page,.modal,.modal-content,.ag-dialog) :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="color"]),select,textarea),
body.ga-executive-v1.ga-executive-v1 #loginForm input {
  background:var(--gx-panel)!important;color:var(--gx-text)!important;
  border:1px solid var(--gx-line)!important;border-radius:11px!important;
  padding:11px 12px!important;min-height:42px;max-width:100%;box-sizing:border-box!important;
  box-shadow:none!important;color-scheme:inherit!important;font-size:13px!important;
}
body.ga-executive-v1.ga-executive-v1 input::placeholder,body.ga-executive-v1.ga-executive-v1 textarea::placeholder{color:var(--gx-muted)!important;opacity:1}
body.ga-executive-v1.ga-executive-v1 :is(input,select,textarea):focus{border-color:#60a5fa!important;box-shadow:0 0 0 3px #dbeafe!important}
body.ga-executive-v1.ga-executive-v1 :is(input[type="checkbox"],input[type="radio"],progress){accent-color:#2563eb}
body.ga-executive-v1.ga-executive-v1 :is(.page,.modal,.modal-content,.ag-dialog) button:not(.nav){
  border-radius:11px!important;padding:10px 14px;font-weight:700!important;
  background:var(--gx-panel);color:var(--gx-text);border-color:var(--gx-line)!important;
  box-shadow:none!important;letter-spacing:normal!important;
}
body.ga-executive-v1.ga-executive-v1 :is(.primary,.btn-primary,.expense-primary,.finance-primary,.ag-primary),
body.ga-executive-v1.ga-executive-v1 #loginForm button[type="submit"]{
  background:#2563eb!important;color:#fff!important;border-color:#2563eb!important;
  padding:11px 16px!important;border-radius:11px!important;box-shadow:0 3px 9px #2563eb18!important;
}
body.ga-executive-v1.ga-executive-v1 :is(.secondary,.btn-secondary,.expense-secondary){background:var(--gx-panel)!important;color:var(--gx-text)!important;border:1px solid var(--gx-line)!important}
body.ga-executive-v1.ga-executive-v1 :is(.danger,.btn-danger,.ag-error,.ag-late){color:var(--gx-danger)!important}
body.ga-executive-v1.ga-executive-v1 button:disabled{opacity:.55!important;cursor:not-allowed!important}
body.ga-executive-v1.ga-executive-v1 :is(.tabs,.cex-tabs,.ag-tabs,.finance-tabs){gap:6px!important}
body.ga-executive-v1.ga-executive-v1 :is(.tabs,.cex-tabs,.ag-tabs,.finance-tabs) button{background:var(--gx-panel)!important;color:var(--gx-muted)!important;border-color:var(--gx-line)!important}
body.ga-executive-v1.ga-executive-v1 :is(.tabs,.cex-tabs,.ag-tabs,.finance-tabs) button.active{background:var(--gx-blue-soft)!important;color:var(--gx-blue)!important;border-color:var(--gx-blue)!important}

/* Tables stay semantic tables; overflow belongs to their existing wrappers. */
body.ga-executive-v1.ga-executive-v1 :is(.table-wrap,.table-responsive,.cex-table-scroll,.ag-table-wrap,.expense-table-wrap,.finance-table-wrap){
  overflow-x:auto!important;max-width:100%!important;min-width:0!important;
  border-radius:14px!important;border:1px solid var(--gx-line)!important;background:var(--gx-panel)!important;
  -webkit-overflow-scrolling:touch;
}
body.ga-executive-v1.ga-executive-v1 .page table{width:100%;border-collapse:collapse!important;background:var(--gx-panel)!important;color:var(--gx-text)!important}
body.ga-executive-v1.ga-executive-v1 :is(.page,.modal,.ag-dialog) table :is(th,td){font-size:13px!important;padding:13px 12px!important;border-bottom:1px solid var(--gx-line)!important;color:var(--gx-text)!important;box-shadow:none!important}
body.ga-executive-v1.ga-executive-v1 :is(.page,.modal,.ag-dialog) table th{background:#15233c!important;color:#fff!important;font-size:11px!important;font-weight:800!important;letter-spacing:.04em!important}
body.ga-executive-v1.ga-executive-v1 :is(.page,.modal,.ag-dialog) table td{background:var(--gx-panel)!important}
body.ga-executive-v1.ga-executive-v1 :is(.page,.modal,.ag-dialog) table tr:hover td{background:var(--gx-soft)!important}
body.ga-executive-v1.ga-executive-v1 :is(.badge,.status,.pill){border-radius:999px!important;font-size:11px!important;padding:5px 9px!important;font-weight:750!important;background:var(--gx-soft-2);color:var(--gx-muted)}
body.ga-executive-v1.ga-executive-v1 :is(.badge,.status,.pill):is(.success,.approved,.paid,.ativo,.ativa,.paga,.concluido){background:#ecf8f1!important;color:#16834a!important}
body.ga-executive-v1.ga-executive-v1 :is(.badge,.status,.pill):is(.danger,.rejected,.overdue,.inativo,.cancelada){background:#fdf0f0!important;color:#c43d3d!important}
body.ga-executive-v1.ga-executive-v1 :is(.badge,.status,.pill):is(.warning,.pending,.pendente){background:#fff7e6!important;color:#b7791f!important}

/* Modals: presentation only, never open/close or visibility properties. */
body.ga-executive-v1.ga-executive-v1 :is(.modal-content,.modal-box,.modal-card,.ag-dialog,.expense-modal-content,.ga-admin-modal-content){
  background:var(--gx-panel)!important;color:var(--gx-text)!important;
  border:1px solid var(--gx-line)!important;border-radius:18px!important;
  box-shadow:0 20px 60px #0f172a26!important;max-width:calc(100vw - 32px)!important;
  max-height:calc(100dvh - 36px)!important;overflow:auto!important;padding:22px!important;color-scheme:inherit!important;
}
body.ga-executive-v1.ga-executive-v1 .ag-dialog::backdrop{background:#0f172a80}
body.ga-executive-v1.ga-executive-v1 :is(.modal-content,.modal-box,.ag-dialog) :is(h2,h3,label,legend){color:var(--gx-text)!important}
body.ga-executive-v1.ga-executive-v1 :is(.ag-dialog,.modal-content) fieldset{border:1px solid var(--gx-line)!important;border-radius:11px!important}

/* Agenda's own variables and surfaces; recurrence/permissions/layout preserved. */
body.ga-executive-v1.ga-executive-v1 #agendaPage {
  --ag-bg:var(--gx-bg);--ag-panel:var(--gx-panel);--ag-line:var(--gx-line);
  --ag-text:var(--gx-text);--ag-muted:var(--gx-muted);color-scheme:inherit!important;
}
body.ga-executive-v1.ga-executive-v1 #agendaPage :is(.ag-kanban>section,.ag-day-label){background:var(--gx-soft-2)!important;border-radius:14px}
body.ga-executive-v1.ga-executive-v1 #agendaPage .ag-day{background:var(--gx-panel)!important}
body.ga-executive-v1.ga-executive-v1 #agendaPage .ag-calendar{border-radius:14px!important}
body.ga-executive-v1.ga-executive-v1 #agendaPage .ag-day.today>time{background:#2563eb!important;color:#fff!important}
body.ga-executive-v1.ga-executive-v1 #agendaPage .ag-cal-item{background:var(--gx-blue-soft)!important;color:var(--gx-text)!important;border-radius:8px!important}
body.ga-executive-v1.ga-executive-v1 #agendaPage .ag-cal-item span{color:var(--gx-blue)!important}
body.ga-executive-v1.ga-executive-v1 :is(.ag-dialog a,.ag-dialog small,.ag-comment time){color:var(--gx-muted)!important}
body.ga-executive-v1.ga-executive-v1 :is(.ga-kanban-column,.representative-board-column,.kanban-column){background:var(--gx-soft-2)!important;border:1px solid var(--gx-line)!important;border-radius:14px!important}

/* Login keeps original logo, form IDs, autofill and submission. */
body.ga-executive-v1.ga-executive-v1 #loginView.login-wrap {
  background:linear-gradient(110deg,#0b1220 0%,#111e34 48%,#f4f7fb 48%,#f4f7fb 100%)!important;
  padding:30px!important;overflow-y:auto!important;
}
body.ga-executive-v1.ga-executive-v1 #loginView.login-wrap::before,
body.ga-executive-v1.ga-executive-v1 #loginView.login-wrap::after{content:none!important}
body.ga-executive-v1.ga-executive-v1 .ga-executive-login-brand{position:absolute;left:0;top:0;bottom:0;width:48%;padding:40px;display:flex;flex-direction:column;justify-content:center;text-align:center;color:#fff;pointer-events:none}
body.ga-executive-v1.ga-executive-v1 .ga-executive-login-brand strong{font-size:clamp(30px,3.5vw,48px);font-weight:800;letter-spacing:.025em}
body.ga-executive-v1.ga-executive-v1 .ga-executive-login-brand p{color:#c5cbd4;font-size:16px;margin-top:18px;line-height:1.7}
body.ga-executive-v1.ga-executive-v1 #loginView .login-card {
  width:min(430px,100%)!important;margin-left:48%!important;
  background:#fff!important;color:#111827!important;padding:34px!important;
  border:1px solid #e7ebf1!important;border-radius:20px!important;box-shadow:0 15px 40px #0f172a10!important;
  backdrop-filter:none!important;transform:none!important;
}
body.ga-executive-v1.ga-executive-v1 #loginView .login-card :is(h1,h2){color:#111827!important;font-size:28px!important;font-weight:800!important}
body.ga-executive-v1.ga-executive-v1 #loginView .login-card p{color:#64748b!important}
body.ga-executive-v1.ga-executive-v1 #loginView .brand{color:#111827!important;text-shadow:none!important}
body.ga-executive-v1.ga-executive-v1 #loginView .brand.ga-login-logo-box{background:#0b1220!important;border:0!important;border-radius:14px!important;width:180px!important;height:88px!important;min-height:0!important;padding:12px!important;margin:0 auto 22px!important;box-shadow:none!important}
body.ga-executive-v1.ga-executive-v1 #loginView .ga-login-logo{width:100%!important;height:100%!important;max-height:64px!important;object-fit:contain!important;filter:brightness(0) invert(1)!important;transform:none!important}
body.ga-executive-v1.ga-executive-v1 #loginView input{background:#fff!important;color:#111827!important;border-color:#dce2e9!important}
body.ga-executive-v1.ga-executive-v1.ga-login-active :is(#gaSidebarToggle,#gaThemeToggle,#gaAppInstallButton){visibility:hidden!important;pointer-events:none!important}

/* Preserve the existing mobile menu/permission guard rather than replacing it. */
body.ga-executive-v1.ga-executive-v1 #gaMobileTopNav{background:var(--gx-panel)!important;color:var(--gx-text)!important;border-color:var(--gx-line)!important;box-shadow:var(--gx-shadow)!important;min-height:60px}
body.ga-executive-v1.ga-executive-v1 #gaMobileTopNav :is(strong,small){color:var(--gx-text)!important}
body.ga-executive-v1.ga-executive-v1 #gaMobileMenuSheet{background:#0b1220!important;border-color:#ffffff22!important;border-radius:18px!important}
body.ga-executive-v1.ga-executive-v1 .ga-mobile-menu-item{background:#172033!important;color:#dfe8f5!important;border-color:#ffffff15!important;border-radius:14px!important}
body.ga-executive-v1.ga-executive-v1 .ga-mobile-menu-item.active{background:#2563eb33!important;border-color:#2563eb!important;color:#fff!important}
@media(max-width:1100px){
  body.ga-executive-v1.ga-executive-v1 #appView>.main{padding-left:20px!important;padding-right:20px!important}
  body.ga-executive-v1.ga-executive-v1 :is(.cex-kpis,.expense-cards){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ga-executive-v1.ga-executive-v1 :is(.cex-bottom-grid,.grid){grid-template-columns:1fr!important}
}
@media(max-width:768px){
  /* Hide the duplicate desktop shell only after the existing mobile menu exists.
     This never makes a denied/hidden menu visible or creates navigation. */
  body.ga-executive-v1.ga-executive-v1.ga-mobile-ui-v2:has(#gaMobileTopNav) #appView>.sidebar,
  body.ga-executive-v1.ga-executive-v1.ga-mobile-ui-v2:has(#gaMobileTopNav) #gaSidebarToggle{display:none!important}
  body.ga-executive-v1.ga-executive-v1 #appView>.main{margin-left:0!important;width:100%!important;padding:0 14px 24px!important}
  body.ga-executive-v1.ga-executive-v1 #appView>.main>.page{padding-top:16px!important;max-width:100%!important}
  body.ga-executive-v1.ga-executive-v1 #appView .topbar{height:66px!important;min-height:66px;padding:0 14px!important}
  body.ga-executive-v1.ga-executive-v1 :is(.hero,.ga-welcome-hero){padding:22px!important;min-height:150px!important}
  body.ga-executive-v1.ga-executive-v1 :is(.hero,.ga-welcome-hero) :is(h1,h2){font-size:24px!important}
  body.ga-executive-v1.ga-executive-v1 :is(.panel,.card,.cex-panel,.expense-panel,.ga-admin-user-main-card){padding:16px!important}
  body.ga-executive-v1.ga-executive-v1 :is(.page,.ag-dialog,.ga-finance-form,.ga-platform-modal,.ga-access-dialog,.ga-reimb-dialog) :is(input,select,textarea){font-size:16px!important}
  body.ga-executive-v1.ga-executive-v1 :is(.modal-content,.modal-box,.modal-card,.ag-dialog){max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;padding:16px!important}
  body.ga-executive-v1.ga-executive-v1 #loginView.login-wrap{background:#f4f7fb!important;padding:20px!important}
  body.ga-executive-v1.ga-executive-v1 #loginView .login-card{margin-left:0!important;padding:26px!important}
  body.ga-executive-v1.ga-executive-v1 #loginForm input{font-size:16px!important}
  body.ga-executive-v1.ga-executive-v1 .ga-executive-login-brand{display:none}
  body.ga-executive-v1.ga-executive-v1 :is(.ga-admin-v1-grid,.ga-admin-v1-row,.ga-reimb-form-grid){grid-template-columns:1fr!important}
  body.ga-executive-v1.ga-executive-v1 :is(.uc-form-grid,.expense-form-grid){grid-template-columns:1fr!important}
}
@media(max-width:480px){
  body.ga-executive-v1.ga-executive-v1 #appView>.main{padding-left:12px!important;padding-right:12px!important}
  body.ga-executive-v1.ga-executive-v1 :is(.cards,.cex-kpis,.expense-cards){grid-template-columns:1fr!important}
  body.ga-executive-v1.ga-executive-v1 :is(.metric,.cex-kpi,.expense-card){padding:16px!important}
}
@media(prefers-reduced-motion:reduce){body.ga-executive-v1.ga-executive-v1 :is(.card,.panel,.metric,.page,.sidebar,.login-card){animation:none!important;transition:none!important}}


