/* Omnica Web Library2.0, file v4HGgqQhjpfMlPmnlcrEt3.
   Colors37094:38428; typography40696:20650. Semantic mapping/dark theme
   are Support adaptations, not an exported light/dark scheme. See provenance. */
:root {
    --primary-color: #005eeb; --primary-hover: #0052cc; --primary-active: #0044b7;
    --primary-gradient: linear-gradient(180deg, #0068ff 0%, #005bd5 100%);
    --primary-light: #edf4ff; --primary-ultra-light: #edf4ff;
    --light-bg: #f9fafb; --surface: #ffffff; --bg-hover: #f9fafb;
    --dark-color: #1e2248; --text-primary: #1e2248; --text: #1e2248;
    --text-secondary: #636f7f; --text-muted: #636f7f; --text-tertiary: #636f7f;
    --border-color: #dee2e6; --border-active: #636f7f;
    --surface-secondary: #f4f6f8; --surface-tertiary: #eef1f3;
    --neutral-bg: #eef1f3; --neutral-color: #1e2248;
    --success-accent: #22c993; --danger-accent: #ff5353; --warning-accent: #fea530;
    --success-color: #14734f; --success-light: #e5f5ed; --success-dark: #115e41;
    --danger-color: #b32626; --danger-light: #fff0f0; --danger-dark: #92252c;
    --warning-color: #8b5100; --warning-light: #fff2d9; --warning-dark: #754400;
    --info-color: #0052cc; --info-light: #edf4ff;
    --purple-color: #6528d7; --purple-light: #f0e8fc;
    --focus-ring: 0 0 0 3px #005eeb66;
    --topbar-surface: #fffffff2;
}
html[data-theme="dark"], html.dark {
    --primary-color: #6cadff; --primary-hover: #b8dbff; --primary-active: #edf4ff;
    --primary-light: #1b3154; --primary-ultra-light: #1b3154;
    --light-bg: #0d0f1f; --surface: #1a1d3e; --bg-hover: #21254f;
    --dark-color: #f9fafb; --text-primary: #f9fafb; --text: #f9fafb;
    --text-secondary: #c7cdd4; --text-muted: #c7cdd4; --text-tertiary: #afb9c3;
    --border-color: #414965; --border-active: #8a96a6;
    --surface-secondary: #1e2248; --surface-tertiary: #262b5a;
    --neutral-bg: #262b5a; --neutral-color: #dee2e6;
    --success-color: #7cddb0; --success-light: #16382b; --success-dark: #7cddb0;
    --danger-color: #ffabab; --danger-light: #49252c; --danger-dark: #ffabab;
    --warning-color: #f3cc7f; --warning-light: #43331b; --warning-dark: #f3cc7f;
    --info-color: #6cadff; --info-light: #1b3154;
    --focus-ring: 0 0 0 3px #6cadff88;
    --topbar-surface: #1a1d3ef2;
}
html { color-scheme: light; }
html[data-theme="dark"], html.dark { color-scheme: dark; }
.sidebar { background: #1e2248; border-right: 1px solid #414965; }
.sidebar .logo { border-color: #414965; padding: 18px 24px; min-height: 78px; }
.sidebar .logo:hover { background: #2d336c; }
.simla-brand { width: 146px; max-width: 100%; height: auto; display: block; }
.simla-brand-inverse, .simla-brand-icon { display: none; }
html[data-theme="dark"] .simla-brand-normal, html.dark .simla-brand-normal { display: none; }
html[data-theme="dark"] .simla-brand-inverse, html.dark .simla-brand-inverse { display: block; }
.sidebar .nav-list a { color: #dee2e6; }
.sidebar .nav-list a:hover { background: #2d336c; color: #fff; }
.sidebar .nav-list a.active { background: #005eeb; color: #fff; box-shadow: none; }
.sidebar .nav-section-title { color: #afb9c3; }
.btn-primary { color: #fff; background: var(--primary-gradient); border: 0; min-height: 36px; min-width: 96px; padding: 8px 20px; border-radius: 6px; font-weight: 600; letter-spacing: -.15px; }
.btn-primary:hover { color: #fff; background: #005eeb; border-color: #005eeb; }
.btn-primary:active { color: #fff; background: #0052cc; border-color: #0052cc; }
:where(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid var(--primary-color); outline-offset: 3px; }
::selection { background: var(--primary-light); color: var(--text-primary); }
@media (max-width: 1100px) {
    .sidebar .logo { padding: 18px 14px; }
    .sidebar .simla-brand-normal, .sidebar .simla-brand-inverse { display: none !important; }
    .sidebar .simla-brand-icon { display: block; width: 32px; height: 32px; }
}

.sidebar-admin a { color: #dee2e6; }
.sidebar-admin a.active { background: #005eeb; color: #fff; box-shadow: none; }

.form-control, .form-select { border-color: var(--border-active); }

.sidebar-admin a:hover { background: #2d336c; color: #fff; }
.sidebar .nav-section { color: #afb9c3; }
.sidebar-admin a i { font-size: 18px; }

html, body { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Arial, sans-serif; font-size: 14px; line-height: 20px; }
.page-title { font-size: 24px; line-height: 32px; font-weight: 600; }
.settings-section h3 { font-size: 16px; line-height: 24px; font-weight: 600; }
.form-control, .form-select, .btn { font-size: 14px; line-height: 20px; }

.sidebar .simla-brand-normal { display: none; }
.sidebar .simla-brand-inverse { display: block; }
html[data-theme=dark] .sidebar, html.dark .sidebar { background: #0d0f1f; }
.settings-tabs { background: var(--surface-secondary); padding: 12px; border-radius: 8px; }

@media (max-width: 720px) { .btn-primary { min-height: 44px; } }

.sidebar :where(a, button):focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.sidebar .nav-list a, .sidebar-admin a { transition-property: background-color, color, box-shadow; }
