/* Expense Center v6: presentation only. Existing receipt API and data remain unchanged. */
body.animus-expense-center-active .crm-topbar,
body.animus-expense-center-active .crm-nav-actions { display: none; }
body.animus-expense-center-active .crm-shell { max-width: none; min-height: 100vh; padding: 0; }
body.animus-expense-center-active #crmExpensesView { margin: 0; }
.expense-center { --ec-navy:#071a33; --ec-navy-2:#112b4c; --ec-gold:#c99a42; --ec-blue:#2563eb; --ec-bg:#f7f9fc; --ec-line:#e2e8f0; --ec-text:#172033; --ec-muted:#64748b; display:grid; grid-template-columns:232px minmax(0,1fr); min-height:100vh; background:var(--ec-bg); color:var(--ec-text); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.expense-sidebar { position:sticky; top:0; height:100vh; padding:22px 14px; background:var(--ec-navy); color:#f7f9fc; display:flex; flex-direction:column; }
.expense-brand { display:flex; align-items:center; gap:10px; padding:4px 9px 24px; font-size:17px; font-weight:850; }
.expense-brand img { width:38px; height:38px; object-fit:contain; border-radius:6px; background:#fff; }
.expense-brand small { display:block; margin-top:2px; color:#c6d0df; font-size:10px; font-weight:750; letter-spacing:.12em; text-transform:uppercase; }
.expense-side-label { margin:16px 10px 8px; color:#8fa1ba; font-size:10px; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.expense-side-button { display:flex; align-items:center; gap:11px; width:100%; margin:2px 0; padding:11px 12px; border:0; border-radius:8px; color:#c6d0df; background:transparent; cursor:pointer; text-align:left; font-size:14px; font-weight:700; }
.expense-side-button:hover,.expense-side-button.active { color:#fff; background:var(--ec-navy-2); }
.expense-side-button.active { box-shadow:inset 3px 0 0 var(--ec-gold); }.expense-side-button.active .expense-side-icon { color:var(--ec-gold); }
.expense-side-icon { display:grid; place-items:center; width:18px; font-size:16px; }.expense-side-account { margin-top:auto; padding:18px 10px 5px; border-top:1px solid rgba(198,208,223,.16); color:#c6d0df; font-size:12px; line-height:1.5; }.expense-side-account strong { display:block; color:#fff; font-size:13px; }
.expense-main { min-width:0; padding:28px 30px 36px; }.expense-header { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; }.expense-breadcrumb { margin:0 0 8px; color:var(--ec-muted); font-size:13px; }.expense-title { margin:0; font-size:32px; line-height:1.1; letter-spacing:0; }.expense-header-actions,.expense-toolbar { display:flex; align-items:center; gap:9px; }
.expense-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:40px; padding:0 13px; border:1px solid #d8e0eb; border-radius:8px; color:#34445e; background:#fff; cursor:pointer; font:inherit; font-size:13px; font-weight:800; }.expense-button.primary { border-color:var(--ec-blue); color:#fff; background:var(--ec-blue); }.expense-button.danger { border-color:#fecaca; color:#dc2626; }.expense-button.small { min-height:32px; padding:0 10px; font-size:12px; }
.expense-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; margin-top:28px; }.expense-kpis-three { grid-template-columns:repeat(3,minmax(0,1fr)); }.expense-kpi { position:relative; min-height:125px; padding:18px; border:1px solid var(--ec-line); border-radius:11px; background:#fff; box-shadow:0 1px 2px rgba(15,23,42,.04); text-align:left; }.expense-kpi-button { width:100%; cursor:pointer; font:inherit; }.expense-kpi-button:hover { border-color:#9ec5ff; background:#fbfdff; }.expense-kpi-label { color:var(--ec-muted); font-size:12px; font-weight:850; letter-spacing:.03em; text-transform:uppercase; }.expense-kpi-value { margin:13px 0 9px; color:#1e293b; font-size:28px; font-weight:850; }.expense-kpi-note { color:var(--ec-muted); font-size:12px; font-weight:650; }.expense-kpi-mark { position:absolute; top:17px; right:17px; width:31px; height:31px; display:grid; place-items:center; border-radius:50%; color:#6381ad; background:#eef4fc; font-weight:900; }
.expense-tabs { display:flex; gap:28px; margin-top:30px; border-bottom:1px solid var(--ec-line); }.expense-tab { padding:0 0 13px; border:0; border-bottom:2px solid transparent; color:var(--ec-muted); background:transparent; cursor:pointer; font:inherit; font-size:13px; font-weight:800; }.expense-tab.active { border-color:var(--ec-blue); color:var(--ec-blue); }
.expense-workspace { display:grid; grid-template-columns:minmax(620px,1fr) 346px; gap:20px; margin-top:18px; }.expense-workspace-single { grid-template-columns:minmax(0,1fr); }.expense-table-card,.expense-drawer { overflow:hidden; border:1px solid var(--ec-line); border-radius:11px; background:#fff; box-shadow:0 1px 2px rgba(15,23,42,.04); }.expense-toolbar { flex-wrap:wrap; padding:14px; border-bottom:1px solid var(--ec-line); }.expense-search { flex:1 1 180px; min-width:180px; height:39px; padding:0 12px; border:1px solid #d8e0eb; border-radius:8px; color:var(--ec-text); background:#fff; font:inherit; font-size:13px; }.expense-select { height:39px; max-width:145px; padding:0 9px; border:1px solid #d8e0eb; border-radius:8px; color:#40516a; background:#fff; font:inherit; font-size:12px; }.expense-count { margin-left:auto; color:var(--ec-muted); font-size:12px; white-space:nowrap; }
.expense-table { width:100%; min-width:820px; table-layout:fixed; border-collapse:collapse; }.expense-table-card { overflow:auto; }.expense-table thead { background:#fbfcfe; }.expense-table th { position:relative; padding:12px 11px; color:#718198; text-align:left; font-size:10px; font-weight:850; letter-spacing:.06em; text-transform:uppercase; }.expense-table th > span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.expense-table td { height:72px; padding:10px 11px; border-top:1px solid #edf0f4; color:#34445e; font-size:13px; }.expense-file-table th:first-child,.expense-file-table td:first-child { padding-right:3px; text-align:center; }.expense-file-table th:nth-child(2),.expense-file-table td:nth-child(2) { padding-left:3px; }.expense-file-table th:nth-child(3),.expense-file-table td:nth-child(3),.expense-file-table th:nth-child(5),.expense-file-table td:nth-child(5),.expense-file-table th:last-child,.expense-file-table td:last-child { white-space:nowrap; }.expense-table tr.selected { background:#f7faff; box-shadow:inset 3px 0 0 var(--ec-blue); }.expense-table tr:hover { background:#fbfdff; }.expense-column-resizer { position:absolute; top:7px; right:-4px; z-index:2; width:10px; height:calc(100% - 14px); padding:0; border:0; border-radius:999px; background:transparent; cursor:col-resize; }.expense-column-resizer::after { position:absolute; top:0; right:4px; width:2px; height:100%; content:""; border-radius:999px; background:#d5deea; opacity:.85; }.expense-column-resizer:hover::after,.expense-column-resizing .expense-column-resizer::after { background:#2563eb; opacity:1; }.expense-column-resizing { cursor:col-resize!important; user-select:none; }.expense-date-inline { width:118px; height:34px; padding:0 7px; border:1px solid #d8e0eb; border-radius:7px; color:#34445e; background:#fff; font:inherit; font-size:12px; font-weight:750; }.expense-date-readable { display:none; margin-top:4px; color:#7b8aa0; font-size:10px; font-weight:750; }.expense-check { width:15px; height:15px; accent-color:var(--ec-blue); }.expense-thumb { width:39px; height:48px; overflow:hidden; display:grid; place-items:center; border:1px solid #dce4ee; border-radius:6px; color:#a2afc1; background:linear-gradient(135deg,#fff 0 70%,#edf3f9 70%); font-size:17px; }.expense-thumb-button { padding:0; cursor:pointer; }.expense-thumb img { width:100%; height:100%; object-fit:cover; }.expense-name-button { display:grid; gap:4px; max-width:100%; padding:0; border:0; color:inherit; background:transparent; cursor:pointer; text-align:left; font:inherit; }.expense-name-button strong { overflow:hidden; color:#29364a; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }.expense-name-button small { overflow:hidden; color:#7b8aa0; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }.expense-amount { color:#233553; font-weight:850; }.expense-status { display:inline-block; padding:5px 8px; border-radius:999px; color:#1d4e89; background:#dbeafe; font-size:11px; font-weight:850; }.expense-status.manual { color:#475569; background:#e8edf3; }.expense-substatus { display:block; margin-top:4px; color:#8592a3; font-size:10px; font-weight:650; }.expense-icon-action { width:32px; height:32px; margin-left:4px; border:1px solid #dce4ee; border-radius:7px; color:#526783; background:#fff; cursor:pointer; font-size:15px; }.expense-icon-action:hover { border-color:#8ab5ff; color:#1d5fbd; background:#f5f9ff; }.expense-empty { padding:45px 18px; color:#8493a7; text-align:center; font-size:13px; }
.expense-drawer { position:sticky; top:20px; align-self:start; min-height:620px; padding:20px; }.expense-drawer-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }.expense-drawer h2 { margin:0; font-size:17px; }.expense-close { width:30px; height:30px; border:0; border-radius:6px; color:#66758b; background:#f3f6fa; cursor:pointer; font-size:18px; }.expense-drawer-status { margin-top:17px; }.expense-drawer-status small { display:block; margin:6px 0 0; color:#64748b; font-size:11px; font-weight:700; }.expense-preview { height:145px; overflow:hidden; display:grid; place-items:center; margin:18px 0; border:1px dashed #cbd7e5; border-radius:8px; color:#8a9bb0; background:#fbfcfe; font-size:12px; font-weight:700; }.expense-preview img { width:100%; height:100%; object-fit:contain; background:#fff; }.expense-drawer-vendor { margin:0; font-size:17px; font-weight:850; }.expense-drawer-meta { margin:5px 0 0; color:var(--ec-muted); font-size:12px; }.expense-detail-section { margin-top:20px; padding-top:18px; border-top:1px solid #edf0f4; }.expense-detail-section h3 { margin:0; font-size:14px; }.expense-section-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }.expense-link-button { padding:0; border:0; color:var(--ec-blue); background:transparent; cursor:pointer; font:inherit; font-size:12px; font-weight:850; }.expense-details { display:grid; gap:10px; margin-top:13px; }.expense-detail { display:flex; justify-content:space-between; gap:15px; color:var(--ec-muted); font-size:12px; }.expense-detail b { color:#27364d; font-weight:750; text-align:right; }.expense-detail-editor { display:grid; grid-template-columns:1fr; gap:8px; margin-top:12px; }.expense-detail-editor label { display:grid; gap:4px; color:var(--ec-muted); font-size:11px; font-weight:750; }.expense-detail-editor input,.expense-detail-editor select,.expense-detail-editor textarea { width:100%; min-height:36px; padding:8px; border:1px solid #d8e0eb; border-radius:7px; color:var(--ec-text); background:#fff; font:inherit; font-size:12px; }.expense-detail-editor textarea { min-height:80px; resize:vertical; }.expense-item { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid #edf0f4; color:#40516a; font-size:12px; }.expense-item b { color:#29364a; white-space:nowrap; }.expense-item-name { flex:1; overflow-wrap:anywhere; }.expense-item-add { padding:3px 6px; border:1px solid #d8e0eb; border-radius:5px; color:var(--ec-blue); background:#fff; cursor:pointer; font-size:10px; font-weight:800; }.expense-drawer-actions { display:grid; grid-template-columns:auto 1fr 1.25fr; gap:8px; margin-top:18px; }.expense-drawer-actions .expense-button { min-width:0; padding:0 8px; font-size:12px; }
.expense-preview-button { position:relative; width:100%; padding:0; cursor:zoom-in; }.expense-preview-button span { position:absolute; right:8px; bottom:8px; padding:4px 6px; border-radius:5px; color:#fff; background:rgba(15,23,42,.72); font-size:10px; font-weight:800; opacity:0; transition:opacity .16s ease; }.expense-preview-button:hover span,.expense-preview-button:focus-visible span { opacity:1; }.expense-image-preview-backdrop { position:fixed; z-index:120; inset:0; display:grid; place-items:center; padding:28px; background:rgba(7,26,51,.76); cursor:zoom-out; }.expense-image-preview-modal { position:relative; display:grid; width:min(94vw,1100px); max-height:92vh; place-items:center; padding:18px; border:1px solid rgba(255,255,255,.24); border-radius:12px; background:#fff; box-shadow:0 28px 75px rgba(0,0,0,.42); cursor:default; }.expense-image-preview-modal img { display:block; max-width:100%; max-height:calc(92vh - 36px); object-fit:contain; }.expense-image-preview-close { position:absolute; top:-13px; right:-13px; display:grid; width:32px; height:32px; place-items:center; border:2px solid #fff; border-radius:50%; color:#fff; background:#172033; cursor:pointer; font-size:21px; line-height:1; }
.expense-pdf-preview { position:relative; display:block; height:380px; overflow:hidden; border-style:solid; background:#f8fafc; }.expense-pdf-preview object { display:block; width:100%; height:100%; border:0; background:#fff; }.expense-pdf-open { position:absolute; right:10px; bottom:10px; display:inline-flex; align-items:center; min-height:30px; padding:0 10px; border-radius:7px; color:#fff; background:#2563eb; box-shadow:0 2px 6px rgba(37,99,235,.28); font-size:11px; font-weight:800; text-decoration:none; }.expense-pdf-open:hover { background:#1d4ed8; }
.expense-detail-backdrop { position:fixed; z-index:110; inset:0; display:grid; place-items:center; padding:24px; background:rgba(7,26,51,.48); }.expense-detail-modal { width:min(780px,96vw); max-height:88vh; overflow:auto; border-radius:12px; background:#fff; box-shadow:0 28px 76px rgba(7,26,51,.28); }.expense-detail-modal .expense-drawer { position:static; min-height:0; border:0; border-radius:0; box-shadow:none; }.expense-detail-modal .expense-detail-editor { grid-template-columns:repeat(2,minmax(0,1fr)); }.expense-detail-modal .expense-detail-editor label:first-child,.expense-detail-modal .expense-detail-editor label:last-child { grid-column:1/-1; }
.expense-processing { display:grid; gap:8px; margin-top:18px; }.expense-processing-row { display:flex; align-items:center; gap:9px; color:#9aa7b7; font-size:12px; font-weight:700; }.expense-processing-row.active { color:var(--ec-blue); }.expense-processing-row.done { color:#15803d; }.expense-dot { width:8px; height:8px; border-radius:50%; background:#d5dde8; }.expense-processing-row.active .expense-dot { background:var(--ec-blue); animation:expense-pulse 1s infinite; }.expense-processing-row.done .expense-dot { background:#22c55e; }@keyframes expense-pulse { 50% { transform:scale(1.6); opacity:.5; } }
.expense-import-backdrop { position:fixed; inset:0; z-index:130; display:grid; place-items:center; padding:24px; background:rgba(7,26,51,.42); }.expense-import-modal { width:min(680px,100%); max-height:min(82vh,730px); overflow:auto; padding:22px; border-radius:12px; background:#fff; box-shadow:0 22px 70px rgba(7,26,51,.26); }.expense-import-row { display:grid; grid-template-columns:22px minmax(0,1fr); gap:10px; margin:10px 0; padding:11px; border:1px solid var(--ec-line); border-radius:8px; background:#fbfcfe; }.expense-import-row span { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }.expense-import-row strong { grid-column:1/-1; font-size:12px; }.expense-import-row input:not([type=checkbox]) { min-width:0; padding:7px; border:1px solid #d8e0eb; border-radius:6px; font:inherit; font-size:12px; }.expense-import-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:14px; }
.expense-drawer-actions { grid-template-columns:auto 1fr; }.expense-database-modal { width:min(850px,100%); }.expense-database-search { width:100%; height:39px; margin:12px 0 4px; padding:0 11px; border:1px solid #d8e0eb; border-radius:8px; color:var(--ec-text); background:#fff; font:inherit; font-size:13px; }.expense-import-row strong { color:#40516a; }.expense-database-row strong { color:#718198; }
.expense-section-actions { display:flex; align-items:center; gap:8px; }.expense-file-table th:last-child,.expense-file-table td:last-child { width:104px; white-space:nowrap; }.expense-detail-modal .expense-drawer-actions { position:sticky; bottom:0; z-index:2; margin:18px -20px -20px; padding:12px 20px 20px; border-top:1px solid #edf0f4; background:#fff; }.expense-detail-modal .expense-drawer-actions .primary { min-height:42px; font-size:13px; }
.expense-import-modal .expense-import-actions { position:sticky; bottom:-22px; z-index:2; margin:14px -22px -22px; padding:12px 22px 18px; border-top:1px solid #edf0f4; background:#fff; }
#expenseSave { border-color:#2563eb; color:#fff; background:#2563eb; }#expenseSave:hover { border-color:#1d4ed8; background:#1d4ed8; }.expense-detail-modal .expense-drawer-actions { grid-template-columns:88px 88px; justify-content:end; }.expense-detail-modal .expense-drawer-actions .expense-button { width:88px; min-width:88px; }
#expenseEditToggle { border-color:#2563eb; color:#fff; background:#2563eb; }#expenseEditToggle:hover { border-color:#1d4ed8; color:#fff; background:#1d4ed8; }
#expenseImportAll,.expense-item-add { border-color:#2563eb!important; color:#fff!important; background:#2563eb!important; }.expense-item-add { padding:4px 7px; border-radius:999px; }.expense-item-add:hover,#expenseImportAll:hover { border-color:#1d4ed8!important; background:#1d4ed8!important; }
#expenseImportAll { min-height:32px; padding:0 11px; border-radius:999px; font-size:11px; white-space:nowrap; }.expense-item-add { display:none; }
#expenseImportModal [data-expense-import-submit] { border-color:#2563eb!important; color:#fff!important; background:#2563eb!important; }#expenseImportModal [data-expense-import-submit]:hover { border-color:#1d4ed8!important; background:#1d4ed8!important; }
.expense-home-workspace { margin-top:18px; }.expense-home-card { overflow:hidden; border:1px solid var(--ec-line); border-radius:11px; background:#fff; box-shadow:0 1px 2px rgba(15,23,42,.04); }.expense-home-card.expense-empty { display:grid; gap:8px; min-height:170px; place-content:center; text-align:center; }.expense-home-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:20px; border-bottom:1px solid var(--ec-line); }.expense-home-card-head h2 { margin:0; color:#1d2d47; font-size:17px; }.expense-home-card-head p { margin:6px 0 0; color:var(--ec-muted); font-size:12px; }.expense-home-card-head > span { padding:5px 9px; border-radius:999px; color:#1d4e89; background:#dbeafe; font-size:11px; font-weight:850; white-space:nowrap; }.expense-file-ledger-list { display:grid; }.expense-file-ledger { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:12px; width:100%; padding:15px 20px; border:0; border-bottom:1px solid #edf0f4; color:inherit; background:#fff; cursor:pointer; text-align:left; font:inherit; }.expense-file-ledger:last-child { border-bottom:0; }.expense-file-ledger:hover { background:#f8fbff; }.expense-file-ledger-avatar { display:grid; width:38px; height:38px; place-items:center; border-radius:10px; color:#1e57c8; background:#e9f1ff; font-size:13px; font-weight:900; }.expense-file-ledger-copy { min-width:0; }.expense-file-ledger-copy strong { display:block; overflow:hidden; color:#263852; font-size:13px; font-weight:850; text-overflow:ellipsis; white-space:nowrap; }.expense-file-ledger-copy small,.expense-file-ledger-total small { display:block; margin-top:4px; color:#7b8aa0; font-size:11px; font-weight:650; }.expense-file-ledger-total { color:#0b4b99; font-size:15px; font-weight:900; text-align:right; }.expense-file-ledger-total small { color:#2563eb; font-weight:800; }
.expense-company-launch { display:flex; align-items:center; justify-content:space-between; gap:22px; margin-bottom:18px; padding:20px; border:1px solid #cbdcf7; border-radius:11px; background:#fff; box-shadow:0 1px 2px rgba(15,23,42,.04); }.expense-company-eyebrow { margin:0 0 5px; color:#2563eb; font-size:11px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }.expense-company-launch h2 { margin:0; color:#1d2d47; font-size:18px; }.expense-company-launch p:not(.expense-company-eyebrow) { margin:6px 0 0; color:#64748b; font-size:12px; }.expense-company-launch-actions { display:flex; align-items:center; gap:12px; color:#47617f; font-size:12px; font-weight:800; white-space:nowrap; }
.expense-image-library { overflow:hidden; border:1px solid var(--ec-line); border-radius:11px; background:#fff; box-shadow:0 1px 2px rgba(15,23,42,.04); }.expense-library-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:20px; border-bottom:1px solid var(--ec-line); }.expense-library-head h2 { margin:0; color:#1d2d47; font-size:17px; }.expense-library-head p { margin:6px 0 0; color:var(--ec-muted); font-size:12px; }.expense-image-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr)); gap:14px; padding:18px; }.expense-image-card { display:grid; overflow:hidden; min-width:0; padding:0; border:1px solid #dce4ee; border-radius:9px; color:#29364a; background:#fff; cursor:pointer; text-align:left; font:inherit; transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease; }.expense-image-card:hover { border-color:#7baaf9; box-shadow:0 6px 14px rgba(37,99,235,.10); transform:translateY(-1px); }.expense-image-card img { width:100%; height:160px; object-fit:cover; background:#f8fafc; }.expense-image-card span { display:grid; gap:4px; padding:11px; }.expense-image-card strong { overflow:hidden; color:#263852; font-size:13px; font-weight:850; text-overflow:ellipsis; white-space:nowrap; }.expense-image-card small { overflow:hidden; color:#718198; font-size:11px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width:1120px) { .expense-center { grid-template-columns:210px minmax(0,1fr); }.expense-main { padding:22px; }.expense-workspace { grid-template-columns:minmax(520px,1fr) 315px; }.expense-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }.expense-select:nth-of-type(n+3) { display:none; } }
@media (max-width:640px) { .expense-company-launch { align-items:flex-start; flex-direction:column; }.expense-company-launch-actions { width:100%; justify-content:space-between; }.expense-company-launch-actions .expense-button { flex:1; } }

/* The CRM already has the ANIMUS global sidebar. Keep Expenses as page content only. */
body.animus-unified-ui .expense-center { grid-template-columns:minmax(0,1fr); min-height:auto; }
body.animus-unified-ui .expense-sidebar { display:none; }
body.animus-unified-ui .expense-main { padding:0 0 36px; }

/* Dark theme: keep the expense workflow fully inside the ANIMUS dark shell. */
body.animus-dark-theme .expense-center {
  --ec-bg:#111827;
  --ec-line:#334155;
  --ec-text:#eef4fb;
  --ec-muted:#b6c3d4;
  background:#111827;
  color:#eef4fb;
}
body.animus-dark-theme .expense-main,
body.animus-dark-theme #crmExpensesView {
  background:#111827!important;
  color:#eef4fb!important;
}
body.animus-dark-theme .expense-kpi,
body.animus-dark-theme .expense-table-card,
body.animus-dark-theme .expense-drawer,
body.animus-dark-theme .expense-home-card,
body.animus-dark-theme .expense-company-launch,
body.animus-dark-theme .expense-image-library,
body.animus-dark-theme .expense-detail-modal,
body.animus-dark-theme .expense-import-modal {
  background:#172234!important;
  border-color:#334155!important;
  color:#eef4fb!important;
  box-shadow:0 1px 2px rgba(0,0,0,.18)!important;
}
body.animus-dark-theme .expense-toolbar,
body.animus-dark-theme .expense-library-head,
body.animus-dark-theme .expense-home-card-head,
body.animus-dark-theme .expense-detail-section,
body.animus-dark-theme .expense-detail-modal .expense-drawer-actions,
body.animus-dark-theme .expense-import-modal .expense-import-actions {
  border-color:#334155!important;
  background:#172234!important;
}
body.animus-dark-theme .expense-table thead,
body.animus-dark-theme .expense-table tr,
body.animus-dark-theme .expense-file-ledger,
body.animus-dark-theme .expense-image-card,
body.animus-dark-theme .expense-image-list-row,
body.animus-dark-theme .expense-preview,
body.animus-dark-theme .expense-pdf-preview,
body.animus-dark-theme .expense-import-row {
  background:#111a28!important;
  border-color:#334155!important;
  color:#eef4fb!important;
}
body.animus-dark-theme .expense-table td {
  border-top-color:#334155!important;
  color:#eef4fb!important;
}
body.animus-dark-theme .expense-table tr.selected {
  background:#1f3555!important;
  box-shadow:inset 3px 0 0 #60a5fa!important;
}
body.animus-dark-theme .expense-table tr:hover,
body.animus-dark-theme .expense-file-ledger:hover,
body.animus-dark-theme .expense-image-card:hover,
body.animus-dark-theme .expense-image-list-row:hover {
  background:#1d2d44!important;
  color:#f8fbff!important;
}
body.animus-dark-theme .expense-title,
body.animus-dark-theme .expense-kpi-value,
body.animus-dark-theme .expense-home-card-head h2,
body.animus-dark-theme .expense-company-launch h2,
body.animus-dark-theme .expense-library-head h2,
body.animus-dark-theme .expense-name-button strong,
body.animus-dark-theme .expense-file-ledger-copy strong,
body.animus-dark-theme .expense-image-card strong,
body.animus-dark-theme .expense-detail b,
body.animus-dark-theme .expense-item b,
body.animus-dark-theme .expense-drawer-vendor,
body.animus-dark-theme .expense-import-row strong {
  color:#f8fbff!important;
}
body.animus-dark-theme .expense-breadcrumb,
body.animus-dark-theme .expense-kpi-label,
body.animus-dark-theme .expense-kpi-note,
body.animus-dark-theme .expense-count,
body.animus-dark-theme .expense-table th,
body.animus-dark-theme .expense-name-button small,
body.animus-dark-theme .expense-drawer-meta,
body.animus-dark-theme .expense-detail,
body.animus-dark-theme .expense-detail-editor label,
body.animus-dark-theme .expense-file-ledger-copy small,
body.animus-dark-theme .expense-file-ledger-total small,
body.animus-dark-theme .expense-image-card small,
body.animus-dark-theme .expense-library-head p,
body.animus-dark-theme .expense-home-card-head p,
body.animus-dark-theme .expense-company-launch p:not(.expense-company-eyebrow),
body.animus-dark-theme .expense-empty {
  color:#b6c3d4!important;
}
body.animus-dark-theme .expense-search,
body.animus-dark-theme .expense-select,
body.animus-dark-theme .expense-date-inline,
body.animus-dark-theme .expense-detail-editor input,
body.animus-dark-theme .expense-detail-editor select,
body.animus-dark-theme .expense-detail-editor textarea,
body.animus-dark-theme .expense-database-search,
body.animus-dark-theme .expense-import-row input:not([type=checkbox]),
body.animus-dark-theme .expense-button:not(.primary) {
  background:#111827!important;
  border-color:#3b4b63!important;
  color:#dbeafe!important;
}
body.animus-dark-theme .expense-button.primary,
body.animus-dark-theme #expenseSave,
body.animus-dark-theme #expenseEditToggle,
body.animus-dark-theme #expenseImportAll,
body.animus-dark-theme #expenseImportModal [data-expense-import-submit] {
  background:#2563eb!important;
  border-color:#2563eb!important;
  color:#fff!important;
}
body.animus-dark-theme .expense-button.danger {
  border-color:#7f1d1d!important;
  color:#fca5a5!important;
}
body.animus-dark-theme .expense-thumb,
body.animus-dark-theme .expense-preview img,
body.animus-dark-theme .expense-pdf-preview object {
  background:#0b1422!important;
  border-color:#334155!important;
}
