/* Entity White-Label Theme */
:root {
  --ent-bg: #000000;
  --ent-surface: #0a0a0a;
  --ent-border: #262626;
  --ent-text: #ffffff;
  --ent-muted: #a1a1aa;
  --ent-font-sans: 'Geist', 'Geist Fallback', system-ui, -apple-system, sans-serif;
  --ent-font-mono: 'Geist Mono', ui-monospace, monospace;
}
html.dark-mode, html.dark-mode body { background-color: var(--ent-bg) !important; color: var(--ent-text) !important; font-family: var(--ent-font-sans); -webkit-font-smoothing: antialiased; }
html.dark-mode #layout > div > .header, html.dark-mode #layout > div > .footer, html.dark-mode #layout-menu, html.dark-mode #layout-sidebar, html.dark-mode #layout-list, html.dark-mode #layout-content { background-color: var(--ent-bg) !important; border-color: var(--ent-border) !important; }
html.dark-mode #layout-sidebar, html.dark-mode #layout-list { background-color: var(--ent-surface) !important; }
html.dark-mode #layout-menu { background-color: #050505 !important; border-right: 1px solid var(--ent-border) !important; }
.entity-sidebar-mark { display: flex; align-items: center; justify-content: center; padding: 12px 0 8px; }
.entity-sidebar-mark img { width: 26px; height: 26px; border-radius: 4px; }
.entity-nav-brand { display: inline-flex; align-items: center; gap: 8px; }
.entity-nav-brand img { width: 22px; height: 22px; border-radius: 3px; }
.entity-nav-brand span { font-size: 16px; font-weight: 600; color: var(--ent-text); }
.task-login .entity-login-shell { display: flex !important; align-items: center; justify-content: center; min-height: 100vh; padding: 24px; background: var(--ent-bg) !important; }
.entity-login-card { width: 100%; max-width: 360px; text-align: center; }
.entity-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 32px; }
.entity-brand img { width: 24px; height: 24px; border-radius: 2px; display: block; }
.entity-brand span { font-size: 18px; font-weight: 600; letter-spacing: -0.025em; color: var(--ent-text); }
.entity-brand span sup { font-size: 8px; vertical-align: super; margin-left: 1px; }
.entity-login-title { font-size: 24px; font-weight: 600; margin: 0 0 8px; color: var(--ent-text); }
.entity-login-subtitle { font-size: 14px; color: var(--ent-muted); margin: 0 0 32px; line-height: 1.5; }
.task-login #login-form { top: 0 !important; width: 100% !important; max-width: 100% !important; text-align: left; }
.task-login #login-form table, .task-login #login-form tbody { display: block; width: 100%; }
.task-login #login-form tr { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.task-login #login-form td.title, .task-login #login-form td.input { display: block; width: 100% !important; padding: 0 !important; border: 0 !important; }
.task-login #login-form td.title label { font-size: 12px; font-weight: 500; color: var(--ent-muted); text-transform: uppercase; letter-spacing: 0.05em; margin: 0; }
.task-login #login-form input.form-control { width: 100%; height: 44px; padding: 0 16px; border-radius: 0.375rem; border: 1px solid #333333; background: #000000; color: #ffffff; font-size: 15px; font-family: var(--ent-font-sans); }
.task-login #login-form input.form-control:focus { border-color: #ffffff; box-shadow: none; outline: none; }
.task-login #login-form p.formbuttons { margin: 4px 0 0; }
.task-login #login-form button[type="submit"], html.dark-mode .btn-primary { height: 44px; border-radius: 0.375rem !important; border: 1px solid #ffffff !important; background: #ffffff !important; color: #000000 !important; font-weight: 600; font-size: 14px; }
.task-login #login-form button[type="submit"] { width: 100%; margin-top: 4px; }
#login-footer { margin-top: 32px; text-align: center; font-size: 12px; color: var(--ent-muted); }
html.dark-mode .listing tbody tr.selected td, html.dark-mode .listing li.selected > a, html.dark-mode .treelist li.selected > div > a { background-color: #1f1f23 !important; color: #ffffff !important; }
html.dark-mode #taskmenu a.selected { background-color: #18181b !important; color: #ffffff !important; }
html.dark-mode pre, html.dark-mode code { font-family: var(--ent-font-mono); }