/* Brand assets and display typography. Work surfaces live in creative-os.css. */
:root, .premium-theme, .workspace { --crm-accent: #354154 !important; --crm-brand: #d5232d; --crm-brand-hover: #bb1e27; --crm-brand-text: #bf202b; --green: #354154 !important; }
body .premium-theme .crm-sidebar-brand { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; padding: 0; border: 0; border-radius: 0; background: transparent; }
body .premium-theme .crm-sidebar-brand > img.crm-sidebar-wordmark { display: block; flex: 1 1 auto; min-width: 0; width: 100%; height: 92px; max-width: 100%; object-fit: contain; object-position: center; border-radius: 0; filter: none !important; }
body .premium-theme :is(.clients-add-button, .crm-icon-add-button, .workspace-primary-button, .team-onboarding-submit), body .team-onboarding-submit,
body .premium-theme :is(.crm-order-submit, .crm-client-submit):not(:disabled), body .premium-theme .crm-login-submit,
body .crm-account-edit-dialog .crm-account-profile-footer > button:last-child, body .admin-suite-primary-button,
.workspace #newTaskBtn, .workspace .submit-button, .modal .submit-button { background: var(--os-accent, #d5232d) !important; color: #fff !important; border-color: transparent !important; text-shadow: none !important; }
body :is(button,a,input,select,textarea):focus-visible { outline: 2px solid var(--os-accent,#d5232d) !important; outline-offset: 3px; }
body .premium-theme :is(input,select,textarea):focus { border-color: var(--os-accent,#d5232d) !important; }
body input[type="date"]::-webkit-calendar-picker-indicator, body input[type="datetime-local"]::-webkit-calendar-picker-indicator, body input[type="time"]::-webkit-calendar-picker-indicator { filter: none !important; }
/* Preserve the modal stacking fix above the separately mounted sidebar. */
body .premium-theme:has(.crm-modal-card,.crm-drawer,.admin-suite-overlay) { z-index: 5000 !important; }
body .premium-theme .crm-dashboard-shell:has(.crm-modal-card,.admin-suite-overlay) { z-index: 5000 !important; }
body .premium-theme :is(.crm-modal-overlay,.crm-drawer-overlay) { z-index: 6000 !important; }
body .premium-theme :is(.crm-modal-card,.crm-drawer) { z-index: 6001 !important; }
body .premium-theme :is(.crm-standalone-page,.crm-content-shell):has(.crm-modal-card,.crm-drawer) { position: relative; z-index: 5000 !important; }
/* One readable grotesk for headings and operational information. Brand PNGs stay original. */
body .premium-theme.premium-theme.premium-theme :is(h1,h2,h3,h4),
body .premium-theme.premium-theme.premium-theme [class*="font-kotprodru"],
body .premium-theme.premium-theme.premium-theme [style*="font-family: Kotprodru"],
body .premium-theme.premium-theme.premium-theme [style*="font-family: Benzin"],
body :is(.crm-account-edit-dialog,.team-onboarding-modal,.admin-suite-modal) :is(h1,h2,h3,h4),
body .workspace :is(#dayDateTitle,#workspaceTitle),
body .modal #formTitle {
 font-family: 'Geist Variable',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important;
 font-weight: 550 !important;
 font-synthesis: none !important;
 color: var(--os-text,#17191e) !important;
 -webkit-text-fill-color: currentColor !important;
 -webkit-text-stroke: 0 !important;
 text-shadow: none !important;
 letter-spacing: -.025em !important;
 line-height: 1.2 !important;
 text-transform: none !important;
}

body [style*="font-family: Kotprodru"], body [style*="font-family: Benzin"], body [class*="font-kotprodru"] { font-family: 'Geist Variable',sans-serif !important; -webkit-text-stroke: 0 !important; -webkit-text-fill-color: currentColor !important; text-shadow: none !important; }
