/* Shared ANIMUS desktop application shell. Business logic stays in the original CRM files. */
:root { --animus-navy:#071a33; --animus-navy-2:#112b4c; --animus-gold:#c99a42; --animus-bg:#f7f9fc; --animus-line:#e2e8f0; --animus-blue:#2563eb; }
body.animus-unified-ui { min-width:1080px; background:var(--animus-bg); }
.animus-global-sidebar { position:fixed; z-index:30; inset:0 auto 0 0; display:flex; width:232px; height:100vh; flex-direction:column; padding:22px 14px; color:#f7f9fc; background:var(--animus-navy); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.animus-global-brand { display:flex; align-items:center; gap:10px; padding:4px 8px 24px; color:var(--animus-gold); font-size:18px; font-weight:950; letter-spacing:.04em; }.animus-global-brand img { width:58px; height:42px; border-radius:7px; object-fit:cover; object-position:center; background:#050505; filter:drop-shadow(0 8px 18px rgba(0,0,0,.28)); }.animus-global-brand small { display:block; margin-top:2px; color:#f7f9fc; font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.animus-global-label { margin:16px 10px 8px; color:#8fa1ba; font-size:10px; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }.animus-global-nav { display:grid; gap:2px; }.animus-global-nav button { display:flex; align-items:center; gap:11px; width:100%; margin:0; padding:11px 12px; border:0; border-radius:8px; color:#c6d0df; background:transparent; cursor:pointer; text-align:left; font:inherit; font-size:14px; font-weight:700; }.animus-global-nav button:hover,.animus-global-nav button.active { color:#fff; background:var(--animus-navy-2); }.animus-global-nav button.active { box-shadow:inset 3px 0 0 var(--animus-gold); }.animus-global-nav button.active .animus-global-icon { color:var(--animus-gold); }.animus-global-icon { display:grid; width:18px; place-items:center; font-size:16px; }.animus-nav-item{display:grid;gap:2px}.animus-estimator-subnav{display:none;gap:3px;margin:3px 0 5px 29px}.animus-nav-item.estimator-open .animus-estimator-subnav{display:grid}.animus-estimator-subnav button{min-height:30px;padding:7px 9px;border-radius:7px;color:#c6d0df;font-size:12px;font-weight:700}.animus-estimator-subnav button:hover{background:#112b4c;color:#fff}.animus-global-nav [data-animus-shell-view="estimator"].active + .animus-estimator-subnav button[data-animus-estimator-action="legacy"]{color:#c6d0df;background:transparent;box-shadow:none}.animus-sidebar-footer{margin-top:auto;padding-top:16px;border-top:1px solid rgba(198,208,223,.16)}.animus-sidebar-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin:0 1px 13px}.animus-sidebar-search input{min-width:0;height:36px;padding:0 9px;border:1px solid rgba(198,208,223,.24);border-radius:7px;background:#0d2341;color:#fff;font:inherit;font-size:11px}.animus-sidebar-search input::placeholder{color:#9db0c9}.animus-sidebar-search button{height:36px;padding:0 10px;border:1px solid rgba(198,208,223,.24);border-radius:7px;background:#112b4c;color:#fff;font:inherit;font-size:11px;font-weight:800;cursor:pointer}.animus-account-wrap{position:relative}.animus-global-account{display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:6px 5px 0;border:0;background:transparent;color:#c6d0df;cursor:pointer;text-align:left;font:inherit;font-size:12px;line-height:1.35}.animus-account-avatar{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#fff;color:#071a33;font-size:11px;font-weight:900}.animus-global-account strong{display:block;overflow:hidden;color:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.animus-global-account b{color:#c6d0df;font-size:17px}.animus-account-menu{position:absolute;z-index:60;right:0;bottom:50px;display:grid;width:218px;gap:5px;padding:8px;border:1px solid rgba(198,208,223,.2);border-radius:9px;background:#fff;box-shadow:0 14px 35px rgba(0,0,0,.28)}.animus-account-menu-title{margin:1px 7px 4px;color:#64748b;font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.animus-account-menu .icon-button{width:100%;min-height:38px;border:0;border-radius:6px;background:#fff;color:#334155;text-align:left;font-size:12px;font-weight:750}.animus-account-menu .icon-button:hover{background:#eff6ff;color:#1d4ed8}
body.animus-unified-ui .crm-shell { width:auto; max-width:none; min-height:100vh; margin-left:232px; padding:0 30px 36px; }body.animus-unified-ui .crm-topbar { position:sticky; z-index:20; top:0; margin:0 -30px 20px; padding:15px 30px; border:0; border-bottom:1px solid var(--animus-line); border-radius:0; background:rgba(255,255,255,.94); box-shadow:none; backdrop-filter:blur(10px); }body.animus-unified-ui .crm-brand { display:none; }body.animus-unified-ui .crm-topbar::before { content:attr(data-animus-title); color:#172033; font-size:21px; font-weight:850; }body.animus-unified-ui .crm-header-search { display:flex;align-items:center;gap:8px;margin-left:auto; }body.animus-unified-ui .crm-header-search #crmSaveDemo{min-height:37px;padding:0 13px;border-radius:8px;background:var(--animus-blue);border-color:var(--animus-blue);color:#fff;font-weight:800}body.animus-unified-ui .crm-header-search .crm-save-status{font-size:11px}.crm-estimator-active .crm-command-grid{display:none}.crm-estimator-active .crm-command-panel{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.crm-estimator-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:15px 17px;border:1px solid var(--animus-line);border-radius:10px;background:#fff}.crm-estimator-toolbar p{margin:0 0 3px}.crm-estimator-toolbar strong{color:#172033;font-size:13px}.crm-estimator-toolbar>div:last-child{display:flex;gap:8px}.crm-estimator-toolbar .icon-button{margin:0}
body.animus-unified-ui .crm-nav-actions{display:none!important}
body.animus-unified-ui .crm-dashboard { gap:18px; margin-top:0; }body.animus-unified-ui .crm-topbar,.animus-shell-surface,body.animus-unified-ui .crm-command-panel,body.animus-unified-ui .crm-layout,body.animus-unified-ui .crm-file-header,body.animus-unified-ui .crm-attention-panel { border-color:var(--animus-line); background:#fff; box-shadow:0 1px 2px rgba(15,23,42,.04); }body.animus-unified-ui .crm-command-panel { padding:12px; }body.animus-unified-ui .crm-command-grid { gap:12px; }body.animus-unified-ui .crm-command-card { min-height:82px; border-color:var(--animus-line); border-radius:10px; background:#fff; box-shadow:none; }body.animus-unified-ui .crm-command-card.active { border-color:#a9c2e3; background:#f8fbff; }body.animus-unified-ui .crm-layout { grid-template-columns:minmax(205px,245px) minmax(0,1fr); gap:20px; padding:16px; }body.animus-unified-ui .crm-file-list-panel { padding-right:16px; border-right:1px solid var(--animus-line); }body.animus-unified-ui .crm-file-list button { border-color:var(--animus-line); border-radius:9px; box-shadow:none; }body.animus-unified-ui .crm-file-list button.active { border-color:#96b5dd; background:#f7faff; }body.animus-unified-ui .panel,body.animus-unified-ui .crm-detail-card,body.animus-unified-ui .crm-file-grid > section { border-color:var(--animus-line); border-radius:10px; background:#fff; box-shadow:0 1px 2px rgba(15,23,42,.04); }
body.animus-unified-ui .crm-dashboard { gap:18px; margin-top:0; }body.animus-unified-ui .crm-topbar,.animus-shell-surface,body.animus-unified-ui .crm-command-panel,body.animus-unified-ui .crm-layout,body.animus-unified-ui .crm-file-header,body.animus-unified-ui .crm-attention-panel { border-color:var(--animus-line); background:#fff; box-shadow:0 1px 2px rgba(15,23,42,.04); }body.animus-unified-ui .crm-command-panel { padding:12px; }body.animus-unified-ui .crm-command-grid { gap:12px; }body.animus-unified-ui .crm-command-card { min-height:82px; border-color:var(--animus-line); border-radius:10px; background:#fff; box-shadow:none; }body.animus-unified-ui .crm-command-card.active { border-color:#a9c2e3; background:#f8fbff; }body.animus-unified-ui .crm-layout { grid-template-columns:minmax(205px,245px) minmax(0,1fr); gap:20px; padding:16px; }body.animus-unified-ui .crm-file-list-panel { padding-right:16px; border-right:1px solid var(--animus-line); }body.animus-unified-ui .crm-file-list button { border-color:var(--animus-line); border-radius:9px; box-shadow:none; }body.animus-unified-ui .crm-file-list button.active { border-color:#96b5dd; background:#f7faff; }body.animus-unified-ui .panel,body.animus-unified-ui .crm-detail-card,body.animus-unified-ui .crm-file-grid > section { border-color:var(--animus-line); border-radius:10px; background:#fff; box-shadow:0 1px 2px rgba(15,23,42,.04); }.crm-supplement-summary{margin:5px 0 0;color:#64748b;font-size:11px;font-weight:700}
body.animus-unified-ui .crm-revenue-view { gap:18px; }body.animus-unified-ui .crm-revenue-hero { border-color:var(--animus-line); border-radius:11px; background:#fff; }body.animus-unified-ui .crm-revenue-summary-card,body.animus-unified-ui .crm-payroll-card,body.animus-unified-ui .crm-price-card { border-color:var(--animus-line); border-radius:10px; box-shadow:0 1px 2px rgba(15,23,42,.04); }body.animus-unified-ui input,body.animus-unified-ui select,body.animus-unified-ui textarea { border-color:#d8e0eb; }body.animus-unified-ui .primary-action { background:var(--animus-blue); border-color:var(--animus-blue); }body.animus-unified-ui .icon-button.active { background:#eff6ff; border-color:#b6d0f2; color:#1d4ed8; }
body.animus-unified-ui #crmPriceView .animus-price-layout{grid-template-columns:minmax(0,1fr)!important;gap:26px!important;padding:26px!important;background:#f7f9fc!important;border:0!important;box-shadow:none!important}
body.animus-unified-ui #crmPriceView .crm-revenue-hero{margin-bottom:18px!important;padding:20px 26px!important}
body.animus-unified-ui #crmPriceView .animus-price-entry,
body.animus-unified-ui #crmPriceView .animus-price-parts{padding:26px!important;border:1px solid var(--animus-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important}
body.animus-unified-ui #crmPriceView .animus-price-entry .panel-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;margin-bottom:22px!important}
body.animus-unified-ui #crmPriceView .animus-price-entry .field-grid.three{display:grid!important;grid-template-columns:minmax(260px,1fr) minmax(180px,1fr) minmax(180px,1fr)!important;gap:18px 22px!important}
body.animus-unified-ui #crmPriceView .animus-price-entry .wide{grid-column:1/-1!important}
body.animus-unified-ui #crmPriceView .crm-price-tools{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(230px,300px)!important;gap:16px!important;margin:16px 0 20px!important}
body.animus-unified-ui #crmPriceView .crm-price-list{display:grid!important;gap:14px!important}
body.animus-unified-ui #crmPriceView .crm-price-row{grid-template-columns:minmax(0,1fr) auto!important;min-height:94px!important;padding:18px 20px!important}
body.animus-unified-ui #crmPriceView .crm-price-row-editing{grid-template-columns:minmax(240px,1.4fr) 120px 105px minmax(150px,.8fr) minmax(180px,.9fr) auto auto!important}
@media (max-width:900px){body.animus-unified-ui #crmPriceView .animus-price-layout{padding:16px!important}body.animus-unified-ui #crmPriceView .animus-price-entry .panel-header{display:grid!important}body.animus-unified-ui #crmPriceView .animus-price-entry .field-grid.three,body.animus-unified-ui #crmPriceView .crm-price-tools,body.animus-unified-ui #crmPriceView .crm-price-row,body.animus-unified-ui #crmPriceView .crm-price-row-editing{grid-template-columns:1fr!important}}
body.animus-expense-center-active .animus-global-sidebar { display:none; }body.animus-expense-center-active.crm-body .crm-shell { margin-left:0; padding:0; }
body.animus-unified-ui.animus-expense-center-active .animus-global-sidebar{display:flex!important}body.animus-unified-ui.animus-expense-center-active.crm-body .crm-shell{margin-left:232px!important;padding:0 30px 36px!important}
@media (max-width:1120px){body.animus-unified-ui.animus-expense-center-active.crm-body .crm-shell{margin-left:76px!important}}
/* Single, permanent command row for every ANIMUS page. */
body.animus-unified-ui .crm-header-search { flex-wrap:nowrap; }body.animus-unified-ui .animus-topbar-search { display:flex; align-items:center; gap:8px; width:min(350px,29vw); height:40px; padding:0 11px; border:1px solid #dbe4ef; border-radius:9px; color:#718198; background:#fff; }body.animus-unified-ui .animus-topbar-search > span { font-size:18px; line-height:1; }body.animus-unified-ui .animus-topbar-search input { min-width:0; width:100%; height:38px; padding:0; border:0!important; outline:0; color:#1e293b; background:transparent!important; font:inherit; font-size:12px; }body.animus-unified-ui .animus-topbar-search-button { display:grid; width:40px; height:40px; place-items:center; padding:0; border:1px solid #dbe4ef; border-radius:9px; color:#174a9b; background:#fff; cursor:pointer; font-size:0; }body.animus-unified-ui .animus-topbar-search-button::before { content:"⌕"; font-size:21px; font-weight:800; }body.animus-unified-ui .animus-topbar-new { min-height:40px!important; padding:0 13px!important; border-radius:9px!important; color:#fff!important; background:var(--animus-blue)!important; border-color:var(--animus-blue)!important; font-size:12px!important; font-weight:800!important; }body.animus-unified-ui .crm-header-search #crmSaveDemo { min-height:40px; border-radius:9px; }body.animus-unified-ui .animus-topbar-notification { display:grid; width:40px; height:40px; place-items:center; padding:0; border:1px solid #dbe4ef; border-radius:9px; color:#174a9b; background:#fff; cursor:pointer; font-size:17px; }body.animus-unified-ui .animus-topbar-notification:hover,.animus-topbar-search-button:hover { border-color:#9dbbe3; background:#f5f9ff; }
/* Complete work-file intake panel. */
.animus-new-file-modal-backdrop { position:fixed; z-index:100; inset:0; display:grid; place-items:center; padding:24px; overflow:auto; background:rgba(7,26,51,.5); }.animus-new-file-modal { width:min(100%,940px); max-height:calc(100vh - 48px); overflow:auto; border:1px solid #dbe5ef; border-radius:12px; background:#f7f9fc; box-shadow:0 26px 70px rgba(7,26,51,.28); color:#132246; font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }.animus-new-file-modal header { position:sticky; z-index:2; top:0; display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:21px 24px 17px; border-bottom:1px solid #e2e8f0; background:#fff; }.animus-new-file-modal header p { margin:0 0 4px; color:#2563eb; font-size:10px; font-weight:850; letter-spacing:.12em; }.animus-new-file-modal header h2 { margin:0; color:#132246; font-size:21px; }.animus-new-file-modal header span { display:block; margin-top:5px; color:#64748b; font-size:12px; font-weight:600; }.animus-new-file-close { display:grid; width:34px; height:34px; place-items:center; padding:0; border:1px solid #dbe5ef; border-radius:8px; color:#475569; background:#fff; cursor:pointer; font-size:22px; line-height:1; }.animus-new-file-modal form { display:grid; gap:14px; padding:18px 24px 24px; }.animus-new-file-modal form section { padding:16px; border:1px solid #e1e8f1; border-radius:10px; background:#fff; }.animus-new-file-modal h3 { margin:0 0 12px; color:#17315d; font-size:14px; }.animus-new-file-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px 13px; }.animus-new-file-grid label { display:grid; gap:5px; color:#52627b; font-size:10px; font-weight:850; letter-spacing:.03em; text-transform:uppercase; }.animus-new-file-grid label.wide { grid-column:span 2; }.animus-new-file-grid input,.animus-new-file-grid select { width:100%; height:39px; min-width:0; padding:0 10px; border:1px solid #d8e2ed; border-radius:7px; outline-color:#2563eb; color:#1e293b; background:#fff; font:inherit; font-size:13px; font-weight:650; letter-spacing:0; text-transform:none; }.animus-new-file-error { margin:0; color:#b91c1c; font-size:12px; font-weight:750; }.animus-new-file-modal footer { position:sticky; z-index:2; bottom:0; display:flex; justify-content:flex-end; gap:9px; margin:0 -24px -24px; padding:15px 24px; border-top:1px solid #e2e8f0; background:#fff; }.animus-new-file-cancel,.animus-new-file-create { min-height:41px; padding:0 15px; border-radius:8px; cursor:pointer; font:inherit; font-size:12px; font-weight:800; }.animus-new-file-cancel { border:1px solid #d8e2ed; color:#334155; background:#fff; }.animus-new-file-create { border:1px solid #2563eb; color:#fff; background:#2563eb; }.animus-new-file-create:hover { background:#1d4ed8; }
.animus-new-file-grid label.animus-new-file-check { display:flex; align-items:center; align-self:end; min-height:39px; gap:8px; padding:0 2px; color:#334155; font-size:11px; letter-spacing:0; text-transform:none; cursor:pointer; }.animus-new-file-grid label.animus-new-file-check input { width:16px; height:16px; margin:0; padding:0; accent-color:#2563eb; }.animus-new-file-grid label.animus-new-file-check span { font-weight:750; }.animus-new-file-create:disabled { cursor:wait; opacity:.75; }
@media (max-width:1120px) { body.animus-unified-ui { min-width:0; } .animus-global-sidebar { width:76px; padding:18px 9px; }.animus-global-brand span,.animus-global-label,.animus-global-nav button:not(.active)::after,.animus-global-nav button{ font-size:0; }.animus-global-brand small,.animus-global-account{ display:none; }.animus-global-brand{ justify-content:center;padding:2px 0 20px; }.animus-global-nav button{ justify-content:center;padding:12px; }.animus-global-icon{ font-size:18px; }.animus-global-nav button.active{ box-shadow:inset 0 3px 0 var(--animus-gold); }body.animus-unified-ui .crm-shell { margin-left:76px; }.crm-header-search { grid-template-columns:minmax(160px,1fr) auto auto; } }
@media (max-width:1120px) { .animus-estimator-subnav{display:none} }

/* Optional dark theme. This is a display preference only; CRM/cloud data is untouched. */
.animus-theme-toggle{display:flex;align-items:center;gap:9px;width:100%;min-height:38px;padding:0 9px;border:0;border-radius:6px;background:#fff;color:#334155;cursor:pointer;text-align:left;font:inherit;font-size:12px;font-weight:750}.animus-theme-toggle:hover{background:#eff6ff;color:#1d4ed8}.animus-theme-icon{display:grid;width:20px;height:20px;place-items:center;border-radius:999px;background:#eaf1fb;color:#174a9b;font-size:13px}.animus-theme-toggle[aria-pressed="true"]{background:#071a33;color:#f7f9fc}.animus-theme-toggle[aria-pressed="true"] .animus-theme-icon{background:#c99a42;color:#071a33}
body.animus-dark-theme{--animus-bg:#0b111c;--animus-line:#243247;background:#0b111c;color:#e8eef7;color-scheme:dark}
body.animus-dark-theme.animus-unified-ui .crm-shell{background:#0b111c;color:#e8eef7}
body.animus-dark-theme.animus-unified-ui .crm-topbar,body.animus-dark-theme .animus-shell-surface,body.animus-dark-theme.animus-unified-ui .crm-command-panel,body.animus-dark-theme.animus-unified-ui .crm-layout,body.animus-dark-theme.animus-unified-ui .crm-file-header,body.animus-dark-theme.animus-unified-ui .crm-attention-panel,body.animus-dark-theme.animus-unified-ui .panel,body.animus-dark-theme.animus-unified-ui .crm-detail-card,body.animus-dark-theme.animus-unified-ui .crm-file-grid>section,body.animus-dark-theme.animus-unified-ui .crm-revenue-hero,body.animus-dark-theme.animus-unified-ui .crm-revenue-summary-card,body.animus-dark-theme.animus-unified-ui .crm-payroll-card,body.animus-dark-theme.animus-unified-ui .crm-price-card,body.animus-dark-theme .animus-new-file-modal,body.animus-dark-theme .animus-new-file-modal header,body.animus-dark-theme .animus-new-file-modal footer{background:#111a28!important;border-color:#243247!important;color:#e8eef7!important;box-shadow:0 1px 2px rgba(0,0,0,.22)!important}
body.animus-dark-theme.animus-unified-ui .crm-topbar{background:rgba(12,18,29,.94)!important}
body.animus-dark-theme.animus-unified-ui .crm-topbar::before,body.animus-dark-theme h1,body.animus-dark-theme h2,body.animus-dark-theme h3,body.animus-dark-theme h4,body.animus-dark-theme strong,body.animus-dark-theme .crm-estimator-toolbar strong,body.animus-dark-theme .animus-new-file-modal header h2{color:#f3f7fb!important}
body.animus-dark-theme p,body.animus-dark-theme small,body.animus-dark-theme label,body.animus-dark-theme .muted,body.animus-dark-theme .crm-save-status,body.animus-dark-theme .animus-new-file-modal header span,body.animus-dark-theme .animus-new-file-grid label,body.animus-dark-theme .crm-command-card p{color:#9ba9ba!important}
body.animus-dark-theme.animus-unified-ui input,body.animus-dark-theme.animus-unified-ui select,body.animus-dark-theme.animus-unified-ui textarea,body.animus-dark-theme .animus-topbar-search,body.animus-dark-theme .animus-new-file-grid input,body.animus-dark-theme .animus-new-file-grid select{background:#0b1422!important;border-color:#243247!important;color:#e8eef7!important}
body.animus-dark-theme input::placeholder,body.animus-dark-theme textarea::placeholder{color:#74859c!important}
body.animus-dark-theme.animus-unified-ui .crm-command-card,body.animus-dark-theme.animus-unified-ui .crm-file-list button,body.animus-dark-theme .animus-new-file-modal form section,body.animus-dark-theme .crm-estimator-toolbar,body.animus-dark-theme .expense-image-list-row,body.animus-dark-theme .animus-document-box,body.animus-dark-theme .animus-detail-card{background:#0f1724!important;border-color:#243247!important;color:#e8eef7!important;box-shadow:none!important}
body.animus-dark-theme.animus-unified-ui .crm-command-card.active,body.animus-dark-theme.animus-unified-ui .crm-file-list button.active{background:#132a49!important;border-color:#3b82f6!important}
body.animus-dark-theme .animus-account-menu{background:#111a28!important;border-color:#2f4159!important;box-shadow:0 18px 42px rgba(0,0,0,.48)!important}
body.animus-dark-theme .animus-account-menu-title{color:#9fb0c8!important}
body.animus-dark-theme .animus-account-menu .icon-button{background:#111a28!important;color:#dbeafe!important}
body.animus-dark-theme .animus-account-menu .icon-button:hover{background:#132a49!important;color:#fff!important}
body.animus-dark-theme .animus-topbar-search-button,body.animus-dark-theme .animus-topbar-notification,body.animus-dark-theme .icon-button,body.animus-dark-theme .animus-new-file-cancel,body.animus-dark-theme .animus-new-file-close{background:#0b1422!important;border-color:#2f4159!important;color:#dbeafe!important}
body.animus-dark-theme .animus-topbar-search-button:hover,body.animus-dark-theme .animus-topbar-notification:hover,body.animus-dark-theme .icon-button:hover{background:#132a49!important;border-color:#3b82f6!important;color:#fff!important}
body.animus-dark-theme table,body.animus-dark-theme thead,body.animus-dark-theme tbody,body.animus-dark-theme tr,body.animus-dark-theme td,body.animus-dark-theme th{border-color:#1f2a3d!important;color:#e8eef7}
body.animus-dark-theme thead,body.animus-dark-theme th{background:#0b1422!important;color:#b6c3d4!important}
body.animus-dark-theme .expense-image-list-row:hover{background:#132a49!important;color:#bfdbfe!important}
body.animus-dark-theme .animus-detail-pair,body.animus-dark-theme .animus-info-row,body.animus-dark-theme .animus-activity-row,body.animus-dark-theme .animus-document-row{border-color:#1f2a3d!important}
body.animus-dark-theme .animus-status-details,body.animus-dark-theme .animus-next-inner,body.animus-dark-theme .animus-file-note-entry,body.animus-dark-theme .animus-inline-editor{background:#0b1422!important;border-color:#243247!important;color:#e8eef7!important}
body.animus-dark-theme .animus-topbar-search input{color:#e8eef7!important}
body.animus-dark-theme .animus-theme-toggle[aria-pressed="true"]{background:#0b1422;color:#f3f7fb;border:1px solid #2f4159}
body.animus-dark-theme .animus-dashboard-home,body.animus-dark-theme .animus-revenue-center,body.animus-dark-theme .animus-payroll-center,body.animus-dark-theme .animus-contacts-page,body.animus-dark-theme .expense-center{color:#e8eef7!important}
body.animus-dark-theme .animus-home-header h1,body.animus-dark-theme .animus-revenue-head h1,body.animus-dark-theme .animus-payroll-head h1,body.animus-dark-theme .animus-contacts-title h1{color:#f3f7fb!important}
body.animus-dark-theme .animus-global-search,body.animus-dark-theme .animus-revenue-search,body.animus-dark-theme .animus-payroll-head-actions select,body.animus-dark-theme .animus-payroll-head-actions button,body.animus-dark-theme .animus-payroll-tools button,body.animus-dark-theme .animus-payroll-tools select,body.animus-dark-theme .animus-payroll-filter input,body.animus-dark-theme .animus-payroll-filter select,body.animus-dark-theme .animus-revenue-tools button,body.animus-dark-theme .animus-revenue-tools select,body.animus-dark-theme .animus-revenue-columns>button,body.animus-dark-theme .animus-revenue-pagination button,body.animus-dark-theme .animus-revenue-pagination select{background:#0b1422!important;border-color:#243247!important;color:#e8eef7!important}
body.animus-dark-theme .animus-global-search input,body.animus-dark-theme .animus-revenue-search input{color:#e8eef7!important}
body.animus-dark-theme .animus-kpi-card,body.animus-dark-theme .animus-home-card,body.animus-dark-theme .animus-revenue-kpi,body.animus-dark-theme .animus-revenue-card,body.animus-dark-theme .animus-payroll-kpi,body.animus-dark-theme .animus-payroll-tabs,body.animus-dark-theme .animus-payroll-card,body.animus-dark-theme .animus-contacts-count,body.animus-dark-theme .animus-contacts-card,body.animus-dark-theme .expense-home-card,body.animus-dark-theme .expense-company-launch,body.animus-dark-theme .expense-image-library{background:#111a28!important;border-color:#243247!important;color:#e8eef7!important;box-shadow:0 1px 2px rgba(0,0,0,.22)!important}
body.animus-dark-theme .animus-alert,body.animus-dark-theme .animus-quick-menu,body.animus-dark-theme .animus-quick-menu button,body.animus-dark-theme .animus-revenue-columns-menu,body.animus-dark-theme .animus-revenue-filter-menu,body.animus-dark-theme .animus-revenue-action-menu,body.animus-dark-theme .animus-revenue-action-menu button,body.animus-dark-theme .animus-payroll-filter,body.animus-dark-theme .animus-payroll-table tfoot td,body.animus-dark-theme .animus-payroll-editor,body.animus-dark-theme .expense-file-ledger,body.animus-dark-theme .expense-image-card{background:#0f1724!important;border-color:#243247!important;color:#e8eef7!important}
body.animus-dark-theme .animus-alert:hover,body.animus-dark-theme .animus-quick-menu button:hover,body.animus-dark-theme .animus-revenue-action-menu button:hover,body.animus-dark-theme .animus-revenue-table tr:hover td,body.animus-dark-theme .animus-payroll-table tr:hover td,body.animus-dark-theme .expense-file-ledger:hover,body.animus-dark-theme .expense-image-card:hover{background:#132a49!important;color:#f3f7fb!important}
body.animus-dark-theme .animus-card-link,body.animus-dark-theme .animus-revenue-job,body.animus-dark-theme .animus-revenue-labor-link,body.animus-dark-theme .animus-revenue-expenses-button,body.animus-dark-theme .expense-company-eyebrow,body.animus-dark-theme .expense-file-ledger-total{color:#8ab8ff!important}
body.animus-dark-theme .animus-chart-grid{stroke:#243247!important}
body.animus-dark-theme .animus-payroll-donut::before{background:#111a28!important}
body.animus-dark-theme .animus-revenue-total td{background:#0b1422!important;color:#e8eef7!important}
body.animus-dark-theme .animus-revenue-audit,body.animus-dark-theme .animus-estimate-empty,body.animus-dark-theme .animus-embedded-estimate,body.animus-dark-theme .animus-estimate-preview-grid section,body.animus-dark-theme .animus-estimate-notes div,body.animus-dark-theme .animus-estimate-totals,body.animus-dark-theme .animus-document-box-head span,body.animus-dark-theme .animus-empty-panel{background:#0f1724!important;border-color:#243247!important;color:#9ba9ba!important}
body.animus-dark-theme .animus-estimate-line-row.section{background:#172234!important;color:#f3f7fb!important}
body.animus-dark-theme .animus-estimate-line-row.subline,body.animus-dark-theme .animus-document-actions{background:#0b1422!important}
body.animus-dark-theme .animus-work-files-collapse,body.animus-dark-theme .animus-work-file-filter-button,body.animus-dark-theme .animus-work-file-filter-options,body.animus-dark-theme .animus-work-file-filter-option{background:#0b1422!important;border-color:#2f4159!important;color:#dbeafe!important}
body.animus-dark-theme .animus-work-file-filter-option.active{background:#2563eb!important;color:#fff!important}
body.animus-dark-theme .animus-work-files-layout .crm-file-card.active{background:#132a49!important;border-color:#3b82f6!important;box-shadow:none!important}
body.animus-dark-theme .animus-summary-cell.clickable:hover,body.animus-dark-theme .animus-financial-value.clickable:hover{background:#132a49!important;border-color:#3b82f6!important}
body.animus-dark-theme .animus-progress-dot{background:#0b1422!important}
body.animus-dark-theme .animus-progress-step.done .animus-progress-dot{background:#16a34a!important}
body.animus-dark-theme .animus-progress-step.current .animus-progress-dot{background:#2b2314!important}
body.animus-dark-theme .animus-work-files-layout .crm-file-list-panel,
body.animus-dark-theme .animus-work-files-layout .crm-file-workspace{background:#111a28!important;border-color:#243247!important}
body.animus-dark-theme .animus-file-card-copy strong,
body.animus-dark-theme .crm-file-card strong,
body.animus-dark-theme .crm-file-card h3,
body.animus-dark-theme .crm-file-card .crm-file-name{color:#f3f7fb!important}
body.animus-dark-theme .animus-file-card-copy small,
body.animus-dark-theme .crm-file-card small,
body.animus-dark-theme .crm-file-card p{color:#8ab8ff!important}
body.animus-dark-theme .animus-file-chevron{color:#8fa3bd!important}
body.animus-dark-theme .animus-work-files-layout .crm-file-card{border-color:#1f2a3d!important;background:transparent!important}
body.animus-dark-theme .animus-work-files-layout .crm-file-card:first-child{border-top-color:#1f2a3d!important}
body.animus-dark-theme .animus-work-files-layout .crm-file-card:hover{background:#0f1724!important}
body.animus-dark-theme #crmEstimatorView,
body.animus-dark-theme .crm-estimator-toolbar{background:#111a28!important;border-color:#243247!important}
body.animus-dark-theme #crmEstimatorFrame{background:#0b111c!important;border:0!important}
body.animus-dark-theme #crmCalendarView .crm-revenue-hero,
body.animus-dark-theme #crmCalendarView .crm-calendar-card,
body.animus-dark-theme #crmCalendarView .crm-calendar-popovers .panel{background:#111a28!important;border-color:#243247!important;color:#e8eef7!important}
body.animus-dark-theme #crmCalendarView .crm-revenue-hero h2,
body.animus-dark-theme #crmCalendarView .crm-calendar-card h2,
body.animus-dark-theme #crmCalendarView .crm-calendar-popovers h2,
body.animus-dark-theme #crmCalendarView .crm-calendar-info h3,
body.animus-dark-theme #crmCalendarView .crm-calendar-date strong,
body.animus-dark-theme .crm-calendar-selected-summary strong{color:#f3f7fb!important}
body.animus-dark-theme #crmCalendarView .crm-revenue-hero p,
body.animus-dark-theme #crmCalendarView .crm-calendar-card .eyebrow,
body.animus-dark-theme #crmCalendarView .crm-calendar-info p,
body.animus-dark-theme #crmCalendarView .crm-calendar-date span,
body.animus-dark-theme .crm-calendar-selected-summary span,
body.animus-dark-theme .crm-calendar-selected-summary p{color:#9ba9ba!important}
body.animus-dark-theme #crmCalendarView .crm-calendar-actions button,
body.animus-dark-theme #crmCalendarView .crm-panel-actions button,
body.animus-dark-theme #crmCalendarView .crm-calendar-event-actions button,
body.animus-dark-theme #crmCalendarView .crm-inline-control,
body.animus-dark-theme #crmCalendarView .crm-inline-control select,
body.animus-dark-theme #crmCalendarView .crm-calendar-popovers input,
body.animus-dark-theme #crmCalendarView .crm-calendar-popovers select,
body.animus-dark-theme #crmCalendarView .crm-calendar-popovers textarea,
body.animus-dark-theme #crmCalendarView .crm-calendar-popup-close{background:#0b1422!important;border-color:#2f4159!important;color:#e8eef7!important}
body.animus-dark-theme #crmCalendarView #crmShowCalendarAdd,
body.animus-dark-theme #crmCalendarView #crmShowCalendarAgenda{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}
body.animus-dark-theme .crm-calendar-weekday,
body.animus-dark-theme .crm-calendar-day{background:#0f1724!important;border-color:#243247!important;color:#e8eef7!important}
body.animus-dark-theme .crm-calendar-day:hover,
body.animus-dark-theme .crm-calendar-day.selected{background:#132a49!important;border-color:#3b82f6!important}
body.animus-dark-theme .crm-calendar-day.muted{background:#0b1422!important;color:#64748b!important}
body.animus-dark-theme .crm-calendar-day.today .crm-calendar-day-number{background:#2563eb!important;color:#fff!important}
body.animus-dark-theme .crm-calendar-day-number{color:#f3f7fb!important}
body.animus-dark-theme .crm-calendar-day-count{color:#9ba9ba!important}
body.animus-dark-theme #crmCalendarView .crm-calendar-event,
body.animus-dark-theme .crm-calendar-selected-summary{background:#0f1724!important;border-color:#243247!important;color:#e8eef7!important}
body.animus-dark-theme #crmCalendarView .crm-calendar-event:hover,
body.animus-dark-theme #crmCalendarView .crm-calendar-event.selected{background:#132a49!important;border-color:#3b82f6!important}

/* Dark theme polish pass: lighter charcoal surfaces, readable data, fewer white controls. */
body.animus-dark-theme{--animus-bg:#111827;--animus-line:#334155;background:#111827!important;color:#eef4fb!important}
body.animus-dark-theme.animus-unified-ui .crm-shell{background:#111827!important}
body.animus-dark-theme.animus-unified-ui .crm-topbar{background:rgba(17,24,39,.95)!important;border-bottom-color:#334155!important}
body.animus-dark-theme.animus-unified-ui .crm-topbar,
body.animus-dark-theme.animus-unified-ui .crm-command-panel,
body.animus-dark-theme.animus-unified-ui .crm-layout,
body.animus-dark-theme.animus-unified-ui .crm-file-header,
body.animus-dark-theme.animus-unified-ui .crm-attention-panel,
body.animus-dark-theme.animus-unified-ui .panel,
body.animus-dark-theme.animus-unified-ui .crm-detail-card,
body.animus-dark-theme.animus-unified-ui .crm-file-grid>section,
body.animus-dark-theme .animus-kpi-card,
body.animus-dark-theme .animus-home-card,
body.animus-dark-theme .animus-revenue-kpi,
body.animus-dark-theme .animus-revenue-card,
body.animus-dark-theme .animus-payroll-kpi,
body.animus-dark-theme .animus-payroll-tabs,
body.animus-dark-theme .animus-payroll-card,
body.animus-dark-theme .animus-contacts-count,
body.animus-dark-theme .animus-contacts-card,
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 .animus-work-files-layout .crm-file-list-panel,
body.animus-dark-theme .animus-work-files-layout .crm-file-workspace,
body.animus-dark-theme #crmCalendarView .crm-revenue-hero,
body.animus-dark-theme #crmCalendarView .crm-calendar-card,
body.animus-dark-theme #crmCalendarView .crm-calendar-popovers .panel,
body.animus-dark-theme #crmPriceView .panel,
body.animus-dark-theme #crmExpensesView .panel,
body.animus-dark-theme #crmExpensesView .crm-detail-card{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 #crmCalendarView .crm-revenue-hero{outline:0!important;box-shadow:none!important}
body.animus-dark-theme .crm-calendar-layout,
body.animus-dark-theme #crmCalendarView{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
body.animus-dark-theme .animus-alert,
body.animus-dark-theme .animus-quick-menu,
body.animus-dark-theme .animus-quick-menu button,
body.animus-dark-theme .animus-revenue-columns-menu,
body.animus-dark-theme .animus-revenue-filter-menu,
body.animus-dark-theme .animus-revenue-action-menu,
body.animus-dark-theme .animus-revenue-action-menu button,
body.animus-dark-theme .animus-payroll-filter,
body.animus-dark-theme .animus-payroll-table tfoot td,
body.animus-dark-theme .animus-payroll-editor,
body.animus-dark-theme .expense-file-ledger,
body.animus-dark-theme .expense-image-card,
body.animus-dark-theme .expense-detail-modal,
body.animus-dark-theme .expense-drawer,
body.animus-dark-theme .expense-drawer-panel,
body.animus-dark-theme .expense-table-card,
body.animus-dark-theme .expense-review,
body.animus-dark-theme .expense-modal,
body.animus-dark-theme .expense-image-list-row,
body.animus-dark-theme .animus-status-details,
body.animus-dark-theme .animus-next-inner,
body.animus-dark-theme .animus-file-note-entry,
body.animus-dark-theme .animus-inline-editor,
body.animus-dark-theme .animus-detail-card,
body.animus-dark-theme .animus-document-box,
body.animus-dark-theme .animus-financial-value,
body.animus-dark-theme #crmPriceView table,
body.animus-dark-theme #crmPriceView tbody,
body.animus-dark-theme #crmPriceView tr,
body.animus-dark-theme #crmPriceView .crm-price-card,
body.animus-dark-theme #crmPriceView .animus-price-card{background:#111a28!important;border-color:#334155!important;color:#eef4fb!important}
body.animus-dark-theme.animus-unified-ui input,
body.animus-dark-theme.animus-unified-ui select,
body.animus-dark-theme.animus-unified-ui textarea,
body.animus-dark-theme .animus-topbar-search,
body.animus-dark-theme .animus-global-search,
body.animus-dark-theme .animus-revenue-search,
body.animus-dark-theme .animus-revenue-tools button,
body.animus-dark-theme .animus-revenue-tools select,
body.animus-dark-theme .animus-revenue-columns>button,
body.animus-dark-theme .animus-topbar-search-button,
body.animus-dark-theme .animus-topbar-notification,
body.animus-dark-theme .icon-button:not(.primary-action):not(.animus-topbar-new),
body.animus-dark-theme .expense-button:not(.primary),
body.animus-dark-theme .animus-work-file-filter-button,
body.animus-dark-theme .animus-work-file-filter-options,
body.animus-dark-theme .animus-work-file-filter-option{background:#111827!important;border-color:#3b4b63!important;color:#dbeafe!important}
body.animus-dark-theme .primary-action,
body.animus-dark-theme .animus-topbar-new,
body.animus-dark-theme .animus-revenue-tools .revenue-export,
body.animus-dark-theme .animus-revenue-tools .animus-revenue-add,
body.animus-dark-theme .expense-button.primary{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}
body.animus-dark-theme h1,
body.animus-dark-theme h2,
body.animus-dark-theme h3,
body.animus-dark-theme h4,
body.animus-dark-theme strong,
body.animus-dark-theme .animus-revenue-kpi strong,
body.animus-dark-theme .animus-revenue-money,
body.animus-dark-theme .animus-revenue-total td,
body.animus-dark-theme .animus-file-card-copy strong,
body.animus-dark-theme .animus-record-title h1,
body.animus-dark-theme .animus-detail-pair dd,
body.animus-dark-theme #crmPriceView td,
body.animus-dark-theme #crmPriceView strong,
body.animus-dark-theme #crmExpensesView td,
body.animus-dark-theme #crmExpensesView strong{color:#f8fbff!important}
body.animus-dark-theme p,
body.animus-dark-theme small,
body.animus-dark-theme label,
body.animus-dark-theme th,
body.animus-dark-theme .animus-revenue-date,
body.animus-dark-theme .animus-revenue-job small,
body.animus-dark-theme .animus-detail-pair dt,
body.animus-dark-theme .animus-info-row dt,
body.animus-dark-theme .expense-muted,
body.animus-dark-theme .expense-file-ledger-copy small,
body.animus-dark-theme #crmPriceView small,
body.animus-dark-theme #crmExpensesView small{color:#b6c3d4!important}
body.animus-dark-theme .animus-revenue-date,
body.animus-dark-theme .animus-revenue-date-input{background:#243247!important;border:1px solid #3b4b63!important;color:#dbeafe!important}
body.animus-dark-theme .animus-revenue-table{min-width:1290px!important;table-layout:fixed!important}
body.animus-dark-theme .animus-revenue-table th:nth-child(2),
body.animus-dark-theme .animus-revenue-table td:nth-child(2){min-width:340px!important;width:auto!important}
body.animus-dark-theme .animus-revenue-table th.revenue-col-date,
body.animus-dark-theme .animus-revenue-table td.revenue-col-date{width:auto!important;max-width:none!important}
body.animus-dark-theme .animus-revenue-money button,
body.animus-dark-theme .animus-revenue-actions>button{background:#243247!important;border-color:#45566f!important;color:#dbeafe!important}
body.animus-dark-theme .animus-revenue-money button:hover,
body.animus-dark-theme .animus-revenue-actions>button:hover{background:#2563eb!important;border-color:#2563eb!important;color:#fff!important}
body.animus-dark-theme .animus-revenue-action-menu .animus-revenue-delete{color:#f87171!important}
body.animus-dark-theme .animus-revenue-action-menu .animus-revenue-delete:hover{background:#3b1d24!important;color:#fecaca!important}
body.animus-dark-theme .animus-revenue-kpi strong.is-negative,
body.animus-dark-theme .animus-revenue-money.is-negative,
body.animus-dark-theme .animus-revenue-margin.is-negative{color:#f87171!important}
body.animus-dark-theme .animus-revenue-kpi strong.is-zero,
body.animus-dark-theme .animus-revenue-money.is-zero,
body.animus-dark-theme .animus-revenue-margin.is-zero{color:#94a3b8!important}
body.animus-dark-theme .animus-work-files-layout .crm-file-card.active{background:#1f3555!important;border-color:#60a5fa!important}
body.animus-dark-theme .animus-work-files-layout .crm-file-card:hover,
body.animus-dark-theme .expense-file-ledger:hover,
body.animus-dark-theme .expense-image-card:hover,
body.animus-dark-theme #crmPriceView tr:hover,
body.animus-dark-theme .animus-revenue-table tr:hover td{background:#1d2d44!important}
body.animus-dark-theme #crmPriceView .crm-price-row{background:#111a28!important;border-color:#334155!important;color:#eef4fb!important}
body.animus-dark-theme #crmPriceView .crm-price-row-main strong,
body.animus-dark-theme #crmPriceView .crm-price-row .crm-price-amount{color:#f8fbff!important}
body.animus-dark-theme #crmPriceView .crm-price-row-main span,
body.animus-dark-theme #crmPriceView .crm-price-row-main em,
body.animus-dark-theme #crmPriceView .crm-price-row-actions small{color:#b6c3d4!important}
body.animus-dark-theme #crmPriceView .crm-price-row button{background:#172234!important;border-color:#334155!important;color:#93c5fd!important}
body.animus-dark-theme #crmPriceView .crm-price-row button:hover{background:#1d4ed8!important;border-color:#2563eb!important;color:#fff!important}
body.animus-dark-theme #crmPriceView .animus-price-entry input,
body.animus-dark-theme #crmPriceView .crm-price-tools input,
body.animus-dark-theme #crmPriceView .crm-price-tools select{background:#111827!important;border-color:#3b4b63!important;color:#dbeafe!important}
body.animus-dark-theme #crmPlaygroundView .animus-portal-card,
body.animus-dark-theme #crmPlaygroundView .animus-customer-portal-shell,
body.animus-dark-theme #crmPlaygroundView .animus-portal-feed p,
body.animus-dark-theme #crmPlaygroundView .animus-portal-feed article{background:#111a28!important;border-color:#334155!important;color:#eef4fb!important}
body.animus-dark-theme #crmPlaygroundView .animus-portal-link-box,
body.animus-dark-theme #crmPlaygroundView .animus-portal-stats div,
body.animus-dark-theme #crmPlaygroundView .animus-customer-portal-shell section{background:#0f1724!important;border-color:#334155!important;color:#eef4fb!important}
body.animus-dark-theme #crmPlaygroundView .animus-portal-link-box span,
body.animus-dark-theme #crmPlaygroundView .animus-customer-portal-shell h3,
body.animus-dark-theme #crmPlaygroundView .animus-portal-stats strong{color:#f8fbff!important}
body.animus-dark-theme #crmPlaygroundView .animus-portal-note{background:#17130a!important;border-color:#c99a42!important;color:#f3d79a!important}
body.animus-dark-theme #crmPlaygroundView .animus-portal-roadmap li,
body.animus-dark-theme #crmPlaygroundView .animus-portal-feed article span,
body.animus-dark-theme #crmPlaygroundView .animus-customer-portal-shell p{color:#b6c3d4!important}
body.animus-dark-theme .animus-revenue-table.crm-revenue-resizable{min-width:1460px!important;table-layout:fixed!important}
body.animus-dark-theme .animus-revenue-table.crm-revenue-resizable th,
body.animus-dark-theme .animus-revenue-table.crm-revenue-resizable td{width:auto!important;min-width:0!important;max-width:none!important}
body.animus-dark-theme .crm-revenue-column-resizer::after{background:#60718a!important}
body.animus-dark-theme .crm-revenue-column-resizer:hover::after,
body.animus-dark-theme.crm-revenue-column-resizing .crm-revenue-column-resizer::after{background:#c99a42!important}
body.animus-dark-theme .animus-revenue-column-resizer::after{background:#60718a!important}
body.animus-dark-theme .animus-revenue-column-resizer:hover::after,
body.animus-dark-theme.animus-revenue-resizing .animus-revenue-column-resizer::after{background:#c99a42!important}
body.animus-unified-ui.crm-price-active .crm-topbar{position:static!important;top:auto!important}
body.animus-unified-ui #crmPriceView .crm-price-row{min-height:68px!important;padding:12px 16px!important}
body.animus-unified-ui #crmPriceView .crm-price-row-main span{margin-top:3px!important}
body.animus-unified-ui #crmPriceView .crm-price-row-main em{display:none!important}
body.animus-unified-ui #crmPriceView .crm-price-row-actions{gap:12px!important}
body.animus-unified-ui #crmPriceView .crm-price-row-actions small{margin:0!important}
body.animus-unified-ui #crmPriceView .crm-price-row button{min-height:34px!important}
body.animus-dark-theme .animus-revenue-kpi.is-clickable:hover{border-color:#60a5fa!important;box-shadow:0 8px 18px rgba(37,99,235,.16)!important}
body.animus-dark-theme .animus-revenue-money.expenses{color:#c084fc!important}
body.animus-dark-theme .animus-revenue-money.labor,
body.animus-dark-theme .animus-revenue-labor-link{color:#93c5fd!important}

/* Dark UI completion pass. Keeps data/business logic untouched; only presentation. */
body.animus-dark-theme{
  --animus-dark-page:#111827;
  --animus-dark-panel:#172234;
  --animus-dark-card:#111a28;
  --animus-dark-field:#0f1724;
  --animus-dark-line:#334155;
  --animus-dark-muted:#b6c3d4;
}
body.animus-dark-theme .crm-dashboard-view,
body.animus-dark-theme .crm-file-workspace,
body.animus-dark-theme .crm-file-grid,
body.animus-dark-theme #crmPriceView,
body.animus-dark-theme #crmBusinessView,
body.animus-dark-theme #crmEstimatorView{
  background:transparent!important;
}
body.animus-dark-theme .animus-work-files-layout{
  background:#111827!important;
  border-color:#334155!important;
  box-shadow:none!important;
}
body.animus-dark-theme .animus-work-files-layout .crm-file-list-panel,
body.animus-dark-theme .animus-work-files-layout .crm-file-workspace,
body.animus-dark-theme .crm-file-header,
body.animus-dark-theme .crm-file-grid .panel,
body.animus-dark-theme .crm-file-grid .crm-detail-card,
body.animus-dark-theme .crm-money-grid>div,
body.animus-dark-theme .crm-estimate-total-card,
body.animus-dark-theme .crm-estimate-edit,
body.animus-dark-theme .crm-expense-summary-box,
body.animus-dark-theme .crm-note-list,
body.animus-dark-theme .crm-status-description{
  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 .crm-file-grid .panel,
body.animus-dark-theme .crm-file-grid .crm-detail-card{
  background:#111a28!important;
}
body.animus-dark-theme .crm-money-grid>div,
body.animus-dark-theme .crm-estimate-total-card,
body.animus-dark-theme .crm-estimate-edit{
  background:#0f1724!important;
}
body.animus-dark-theme .animus-work-file-tools input,
body.animus-dark-theme .animus-work-file-tools select,
body.animus-dark-theme .animus-file-search-button,
body.animus-dark-theme .crm-file-grid input,
body.animus-dark-theme .crm-file-grid select,
body.animus-dark-theme .crm-file-grid textarea{
  background:#0f1724!important;
  border-color:#3b4b63!important;
  color:#e8eef7!important;
}
body.animus-dark-theme .animus-work-file-tools input::placeholder,
body.animus-dark-theme .crm-file-grid input::placeholder,
body.animus-dark-theme .crm-file-grid textarea::placeholder{
  color:#74859c!important;
}
body.animus-dark-theme .animus-work-files-layout .crm-file-list button,
body.animus-dark-theme .animus-work-files-layout .crm-file-card{
  background:#0f1724!important;
  border-color:#263449!important;
  color:#e8eef7!important;
}
body.animus-dark-theme .animus-work-files-layout .crm-file-list button.active,
body.animus-dark-theme .animus-work-files-layout .crm-file-card.active{
  background:#1f3555!important;
  border-color:#60a5fa!important;
  box-shadow:inset 3px 0 0 #2563eb!important;
}
body.animus-dark-theme .animus-work-files-layout .crm-file-list button:hover,
body.animus-dark-theme .animus-work-files-layout .crm-file-card:hover{
  background:#1d2d44!important;
}
body.animus-dark-theme .crm-file-header-actions .icon-button,
body.animus-dark-theme .crm-estimate-total-card button{
  background:#0f1724!important;
  border-color:#3b4b63!important;
  color:#dbeafe!important;
}
body.animus-dark-theme .crm-file-header-actions .icon-button:hover,
body.animus-dark-theme .crm-estimate-total-card button:hover{
  background:#2563eb!important;
  border-color:#2563eb!important;
  color:#fff!important;
}
body.animus-dark-theme .crm-file-header-actions .danger-action{
  color:#fca5a5!important;
}

body.animus-unified-ui.crm-price-active .crm-topbar{
  position:static!important;
  top:auto!important;
}
body.animus-dark-theme #crmPriceView .crm-revenue-hero,
body.animus-dark-theme #crmPriceView .animus-price-layout{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
body.animus-dark-theme #crmPriceView .animus-price-entry,
body.animus-dark-theme #crmPriceView .animus-price-parts{
  background:#172234!important;
  border-color:#334155!important;
  box-shadow:none!important;
  outline:0!important;
}
body.animus-dark-theme #crmPriceView .animus-price-entry .panel-header,
body.animus-dark-theme #crmPriceView .crm-price-tools{
  background:transparent!important;
}
body.animus-dark-theme #crmPriceView .crm-price-row{
  background:#111a28!important;
  border-color:#334155!important;
}
body.animus-dark-theme #crmPriceView .crm-price-row:hover{
  background:#1d2d44!important;
}

body.animus-dark-theme .animus-performance,
body.animus-dark-theme #crmBusinessView{
  color:#eef4fb!important;
}
body.animus-dark-theme .animus-performance-card,
body.animus-dark-theme .animus-performance-panel,
body.animus-dark-theme .animus-performance-stage{
  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 .animus-performance-stage{
  border-bottom:1px solid #334155!important;
}
body.animus-dark-theme .animus-performance-card strong,
body.animus-dark-theme .animus-performance-panel h2,
body.animus-dark-theme .animus-performance-stage strong{
  color:#f8fbff!important;
}
body.animus-dark-theme .animus-performance-head p,
body.animus-dark-theme .animus-performance-card span,
body.animus-dark-theme .animus-performance-card small,
body.animus-dark-theme .animus-performance-stage span{
  color:#b6c3d4!important;
}
body.animus-dark-theme .animus-performance-card.profit strong{
  color:#4ade80!important;
}
body.animus-dark-theme .animus-performance-card.expense strong{
  color:#fbbf24!important;
}
body.animus-dark-theme .animus-performance-chart line{
  stroke:#334155!important;
}
body.animus-dark-theme .animus-performance-chart text{
  fill:#b6c3d4!important;
}
body.animus-dark-theme .animus-performance-link,
body.animus-dark-theme .animus-performance-stage b{
  color:#93c5fd!important;
}

/* Header and work-file search polish. */
body.animus-unified-ui .animus-topbar-search{
  box-sizing:border-box!important;
  overflow:hidden!important;
}
body.animus-unified-ui .animus-topbar-search input{
  box-sizing:border-box!important;
  align-self:stretch!important;
  height:auto!important;
  min-height:0!important;
  max-height:38px!important;
  line-height:38px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
body.animus-dark-theme .animus-work-file-tools::before{
  color:#74859c!important;
}

/* Sidebar account settings. */
.animus-account-avatar{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.28);
}
.animus-account-avatar.has-image{
  background:#050505;
}
.animus-account-avatar img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.animus-account-action{
  display:flex;
  align-items:center;
  gap:9px;
  width:100%;
  min-height:38px;
  padding:0 9px;
  border:0;
  border-radius:6px;
  background:#fff;
  color:#334155;
  cursor:pointer;
  text-align:left;
  font:inherit;
  font-size:12px;
  font-weight:750;
}
.animus-account-action:hover{
  background:#eff6ff;
  color:#1d4ed8;
}
.animus-account-action span{
  display:grid;
  width:20px;
  height:20px;
  place-items:center;
  border-radius:999px;
  background:#eaf1fb;
  color:#174a9b;
  font-size:12px;
}
.animus-settings-backdrop{
  position:fixed;
  z-index:120;
  inset:0;
  display:grid;
  place-items:center;
  padding:24px;
  overflow:auto;
  background:rgba(7,26,51,.58);
}
.animus-settings-backdrop[hidden]{
  display:none;
}
.animus-settings-modal{
  width:min(960px,100%);
  max-height:calc(100vh - 48px);
  overflow:auto;
  border:1px solid #dbe5ef;
  border-radius:12px;
  background:#f7f9fc;
  color:#132246;
  box-shadow:0 26px 70px rgba(7,26,51,.3);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.animus-settings-modal header{
  position:sticky;
  z-index:2;
  top:0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:21px 24px 17px;
  border-bottom:1px solid #e2e8f0;
  background:#fff;
}
.animus-settings-modal header p{
  margin:0 0 4px;
  color:#2563eb;
  font-size:10px;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.animus-settings-modal header h2{
  margin:0;
  font-size:22px;
}
.animus-settings-modal header span{
  display:block;
  margin-top:5px;
  color:#64748b;
  font-size:12px;
  font-weight:650;
}
.animus-settings-close{
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  padding:0;
  border:1px solid #dbe5ef;
  border-radius:8px;
  background:#fff;
  color:#475569;
  cursor:pointer;
  font-size:22px;
  line-height:1;
}
.animus-settings-modal form{
  display:grid;
  gap:14px;
  padding:18px 24px 24px;
}
.animus-settings-modal section{
  padding:16px;
  border:1px solid #e1e8f1;
  border-radius:10px;
  background:#fff;
}
.animus-settings-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.animus-settings-modal h3{
  margin:0 0 10px;
  color:#17315d;
  font-size:14px;
}
.animus-settings-section-head h3{
  margin-bottom:4px;
}
.animus-settings-section-head p{
  margin:0;
  color:#64748b;
  font-size:12px;
}
.animus-settings-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 14px;
}
.animus-settings-grid label{
  display:grid;
  gap:6px;
  color:#52627b;
  font-size:10px;
  font-weight:850;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.animus-settings-grid label.wide{
  grid-column:1 / -1;
}
.animus-settings-grid input,
.animus-settings-grid select{
  width:100%;
  min-height:40px;
  min-width:0;
  padding:0 10px;
  border:1px solid #d8e2ed;
  border-radius:7px;
  outline-color:#2563eb;
  background:#fff;
  color:#1e293b;
  font:inherit;
  font-size:13px;
  font-weight:650;
  letter-spacing:0;
  text-transform:none;
}
.animus-settings-logo-button,
.animus-settings-secondary,
.animus-settings-primary{
  min-height:40px;
  padding:0 14px;
  border-radius:8px;
  cursor:pointer;
  font:inherit;
  font-size:12px;
  font-weight:850;
}
.animus-settings-logo-button,
.animus-settings-secondary{
  border:1px solid #d8e2ed;
  background:#fff;
  color:#174a9b;
}
.animus-settings-primary{
  border:1px solid #2563eb;
  background:#2563eb;
  color:#fff;
}
.animus-settings-coming-soon{
  display:grid;
  gap:4px;
  padding:13px;
  border:1px dashed #bfd1e8;
  border-radius:9px;
  background:#f8fbff;
  color:#52627b;
  font-size:12px;
}
.animus-settings-coming-soon strong{
  color:#17315d;
}
.animus-settings-modal footer{
  position:sticky;
  z-index:2;
  bottom:0;
  display:flex;
  justify-content:flex-end;
  gap:9px;
  margin:0 -24px -24px;
  padding:15px 24px;
  border-top:1px solid #e2e8f0;
  background:#fff;
}
body.animus-dark-theme .animus-account-action{
  background:#111a28!important;
  color:#dbeafe!important;
}
body.animus-dark-theme .animus-account-action:hover{
  background:#132a49!important;
  color:#fff!important;
}
body.animus-dark-theme .animus-account-action span{
  background:#0b1422!important;
  color:#93c5fd!important;
}
body.animus-dark-theme .animus-settings-modal,
body.animus-dark-theme .animus-settings-modal header,
body.animus-dark-theme .animus-settings-modal footer,
body.animus-dark-theme .animus-settings-modal section{
  background:#111a28!important;
  border-color:#334155!important;
  color:#eef4fb!important;
  box-shadow:0 1px 2px rgba(0,0,0,.18)!important;
}
body.animus-dark-theme .animus-settings-modal header p{
  color:#93c5fd!important;
}
body.animus-dark-theme .animus-settings-modal header h2,
body.animus-dark-theme .animus-settings-modal h3,
body.animus-dark-theme .animus-settings-coming-soon strong{
  color:#f8fbff!important;
}
body.animus-dark-theme .animus-settings-modal header span,
body.animus-dark-theme .animus-settings-section-head p,
body.animus-dark-theme .animus-settings-grid label,
body.animus-dark-theme .animus-settings-coming-soon{
  color:#b6c3d4!important;
}
body.animus-dark-theme .animus-settings-grid input,
body.animus-dark-theme .animus-settings-grid select,
body.animus-dark-theme .animus-settings-close,
body.animus-dark-theme .animus-settings-logo-button,
body.animus-dark-theme .animus-settings-secondary,
body.animus-dark-theme .animus-settings-coming-soon{
  background:#0f1724!important;
  border-color:#3b4b63!important;
  color:#dbeafe!important;
}
body.animus-dark-theme .animus-settings-primary{
  background:#2563eb!important;
  border-color:#2563eb!important;
  color:#fff!important;
}
@media (max-width:760px){
  .animus-settings-grid{grid-template-columns:1fr}
  .animus-settings-section-head{display:grid}
}
