/* tokens.css */
:root {
--color-primary-50: #eff6ff;
--color-primary-100: #dbeafe;
--color-primary-200: #bfdbfe;
--color-primary-300: #93c5fd;
--color-primary-400: #60a5fa;
--color-primary-500: #3b82f6;
--color-primary-600: #2563eb;
--color-primary-700: #1d4ed8;
--color-primary-800: #1e40af;
--color-primary-900: #1e3a8a;
--color-neutral-0: #ffffff;
--color-neutral-25: #fcfcfd;
--color-neutral-50: #f8fafc;
--color-neutral-100: #f1f5f9;
--color-neutral-200: #e2e8f0;
--color-neutral-300: #cbd5e1;
--color-neutral-400: #94a3b8;
--color-neutral-500: #64748b;
--color-neutral-600: #475569;
--color-neutral-700: #334155;
--color-neutral-800: #1e293b;
--color-neutral-900: #0f172a;
--color-neutral-950: #020617;
--color-success-50: #ecfdf5;
--color-success-100: #d1fae5;
--color-success-200: #a7f3d0;
--color-success-500: #10b981;
--color-success-600: #059669;
--color-success-700: #047857;
--color-warning-50: #fffbeb;
--color-warning-100: #fef3c7;
--color-warning-200: #fde68a;
--color-warning-500: #f59e0b;
--color-warning-600: #d97706;
--color-warning-700: #b45309;
--color-danger-50: #fef2f2;
--color-danger-100: #fee2e2;
--color-danger-200: #fecaca;
--color-danger-500: #ef4444;
--color-danger-600: #dc2626;
--color-danger-700: #b91c1c;
--color-info-50: #f0f9ff;
--color-info-100: #e0f2fe;
--color-info-200: #bae6fd;
--color-info-500: #0ea5e9;
--color-info-600: #0284c7;
--color-info-700: #0369a1;
--color-purple-50: #f5f3ff;
--color-purple-100: #ede9fe;
--color-purple-500: #8b5cf6;
--color-purple-600: #7c3aed;
--color-purple-700: #6d28d9;
--color-bg-canvas: #f4f6f9;
--color-bg-surface: #ffffff;
--color-bg-elevated: #ffffff;
--color-bg-subtle: #f8fafc;
--color-bg-muted: #f1f5f9;
--color-bg-Spotlight: #eff6ff;
--color-text-primary: #0f172a;
--color-text-secondary: #334155;
--color-text-muted: #64748b;
--color-text-subtle: #94a3b8;
--color-text-on-primary: #ffffff;
--color-border: #e2e8f0;
--color-border-subtle: #f1f5f9;
--color-border-strong: #cbd5e1;
--color-border-focus: #2563eb;
--color-brand: #2563eb;
--color-brand-hover: #1d4ed8;
--color-brand-active: #1e40af;
--color-brand-soft: rgba(37, 99, 235, 0.08);
--color-focus-ring: rgba(37, 99, 235, 0.18);
--font-sans: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--font-display: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
--font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
--text-xs: 0.75rem;
--text-sm: 0.8125rem;
--text-base: 0.875rem;
--text-md: 0.9375rem;
--text-lg: 1.0625rem;
--text-xl: 1.25rem;
--text-2xl: 1.5rem;
--text-3xl: 1.75rem;
--text-4xl: 2.25rem;
--leading-tight: 1.25;
--leading-snug: 1.375;
--leading-normal: 1.5;
--leading-relaxed: 1.625;
--weight-regular: 400;
--weight-medium: 500;
--weight-semibold: 600;
--weight-bold: 700;
--weight-extrabold: 800;
--space-0: 0;
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-5: 1.25rem;
--space-6: 1.5rem;
--space-8: 2rem;
--space-10: 2.5rem;
--space-12: 3rem;
--space-16: 4rem;
--sidebar-width: 264px;
--sidebar-collapsed-width: 76px;
--topbar-height: 64px;
--container-max: 1600px;
--radius-xs: 6px;
--radius-sm: 8px;
--radius-md: 10px;
--radius-lg: 14px;
--radius-xl: 16px;
--radius-2xl: 20px;
--radius-full: 9999px;
--shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
--shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
--shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
--shadow-lg: 0 12px 28px -6px rgba(15, 23, 42, 0.08), 0 4px 10px -3px rgba(15, 23, 42, 0.04);
--shadow-xl: 0 20px 44px -10px rgba(15, 23, 42, 0.14), 0 8px 18px -6px rgba(15, 23, 42, 0.06);
--shadow-primary: 0 4px 12px rgba(37, 99, 235, 0.22);
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
--duration-fast: 140ms;
--duration-normal: 200ms;
--duration-slow: 300ms;
--z-dropdown: 1000;
--z-sticky: 1020;
--z-sidebar: 1040;
--z-drawer: 5400;
--z-modal: 5500;
--z-toast: 9999;
}
body.theme-dark {
--color-bg-canvas: #0b1120;
--color-bg-surface: #111827;
--color-bg-elevated: #1e293b;
--color-bg-subtle: #0f172a;
--color-bg-muted: #1e293b;
--color-bg-Spotlight: rgba(37, 99, 235, 0.15);
--color-text-primary: #f8fafc;
--color-text-secondary: #cbd5e1;
--color-text-muted: #94a3b8;
--color-text-subtle: #64748b;
--color-border: rgba(148, 163, 184, 0.16);
--color-border-subtle: rgba(148, 163, 184, 0.1);
--color-border-strong: rgba(148, 163, 184, 0.26);
--color-border-focus: #3b82f6;
--color-brand: #3b82f6;
--color-brand-hover: #60a5fa;
--color-brand-soft: rgba(59, 130, 246, 0.15);
--color-focus-ring: rgba(59, 130, 246, 0.25);
--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
--shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.32);
--shadow-md: 0 8px 20px rgba(0, 0, 0, 0.4);
--shadow-lg: 0 14px 32px rgba(0, 0, 0, 0.5);
--shadow-xl: 0 24px 54px rgba(0, 0, 0, 0.65);
}
/* erp.css */
:root {
--bg-app: #f4f6f9;
--bg-surface: #ffffff;
--bg-soft: #f1f5f9;
--primary: #2563eb;
--primary-hover: #1d4ed8;
--primary-soft: #eff6ff;
--border: #e2e8f0;
--border-strong: #cbd5e1;
--text-primary: #0f172a;
--text-secondary: #475569;
--text-muted: #64748b;
--shadow-soft: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
--sidebar-width: 264px;
--topbar-height: 60px;
--sidebar-rail-width: 76px;
--radius: 12px;
}
body.theme-dark {
--bg-app: #0b1120;
--bg-surface: #111827;
--bg-soft: #1e293b;
--primary: #3b82f6;
--primary-hover: #60a5fa;
--primary-soft: rgba(59, 130, 246, 0.16);
--border: rgba(148, 163, 184, 0.16);
--border-strong: rgba(148, 163, 184, 0.28);
--text-primary: #f8fafc;
--text-secondary: #cbd5e1;
--text-muted: #94a3b8;
--shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.45);
}
html,
body,
.erp-sidebar,
.erp-content,
.modal-body,
[class*='drawer-body'],
[class*='table-wrap'] {
scrollbar-width: thin;
scrollbar-color: #cbd5e1 #ffffff;
}
*::-webkit-scrollbar {
width: 9px;
height: 9px;
}
*::-webkit-scrollbar-track {
background: #ffffff;
}
*::-webkit-scrollbar-thumb {
min-height: 42px;
border: 2px solid #ffffff;
border-radius: 999px;
background: #cbd5e1;
}
*::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
*::-webkit-scrollbar-corner {
background: #ffffff;
}
body.theme-dark,
body.theme-dark *,
body.theme-dark .erp-sidebar,
body.theme-dark .erp-content {
scrollbar-color: #475569 #080c14;
}
body.theme-dark *::-webkit-scrollbar-track {
background: #080c14;
}
body.theme-dark *::-webkit-scrollbar-thumb {
border-color: #080c14;
background: #334155;
}
body.theme-dark *::-webkit-scrollbar-thumb:hover {
background: #475569;
}
body.theme-dark *::-webkit-scrollbar-corner {
background: #080c14;
}
body.theme-dark .erp-shell {
background: #070d1b;
}
body.theme-dark .erp-content {
background: radial-gradient(circle at 32% 0%, #0e1930 0%, #070d1b 66%) !important;
}
body.theme-dark .erp-sidebar {
background: #0c1527 !important;
border-right-color: #263858 !important;
}
body.theme-dark .erp-topbar {
background: #0d172a !important;
border-bottom-color: #263858 !important;
color: #f6f8ff;
}
body.theme-dark .erp-sidebar__close-btn {
background: #1e293b;
color: #94a3b8;
}
body.theme-dark .erp-sidebar__close-btn:hover {
background: #334155;
color: #f8fafc;
}
body.theme-dark .erp-sidebar__user-banner {
background: linear-gradient(135deg, #111e38 0%, #0d172a 100%) !important;
border-bottom-color: #263858 !important;
}
body.theme-dark .erp-sidebar__user-name {
color: #f8fafc !important;
}
body.theme-dark .erp-sidebar__user-role {
color: #94a3b8 !important;
}
body.theme-dark .topbar-button,
body.theme-dark .account-shell,
body.theme-dark .account-dropdown,
body.theme-dark .brand__mark {
background: #101d33 !important;
border-color: #2a3e60 !important;
color: #f6f8ff !important;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
body.theme-dark .brand__copy strong {
color: #f8fafc !important;
}
body.theme-dark .account-dropdown__item {
color: #f8fafc;
}
body.theme-dark .account-dropdown__item:hover {
background: rgba(78, 130, 242, 0.14) !important;
color: #8eb2ff !important;
}
body.theme-dark .topbar-search {
background: #0f1a2e !important;
border-color: #2a3e60 !important;
color: #f6f8ff !important;
}
body.theme-dark .topbar-search input {
color: #f8fafc !important;
}
body.theme-dark .account-shell__name,
body.theme-dark .account-dropdown__header-name {
color: #f8fafc !important;
}
body.theme-dark .erp-nav__group-header {
color: #94a3b8 !important;
}
body.theme-dark .erp-nav__group-header:hover {
background: rgba(255, 255, 255, 0.05) !important;
color: #f8fafc !important;
}
body.theme-dark .erp-nav__group-header.is-active {
color: #8eb2ff !important;
background: linear-gradient(
90deg,
rgba(78, 130, 242, 0.18) 0%,
rgba(78, 130, 242, 0.03) 100%
) !important;
border-left: 3px solid #6090f7 !important;
}
body.theme-dark .erp-nav__icon {
color: #94a3b8 !important;
}
body.theme-dark .erp-nav__group-header:hover .erp-nav__icon,
body.theme-dark .erp-nav__group-header.is-active .erp-nav__icon {
color: #8eb2ff !important;
}
body.theme-dark .erp-nav__submenu {
border-left-color: rgba(78, 130, 242, 0.22) !important;
}
body.theme-dark .erp-nav__subitem {
color: #94a3b8 !important;
}
body.theme-dark .erp-nav__subitem:hover {
background: rgba(255, 255, 255, 0.05) !important;
color: #8eb2ff !important;
}
body.theme-dark .erp-nav__subitem.is-active {
background: rgba(78, 130, 242, 0.15) !important;
color: #8eb2ff !important;
}
body.theme-dark .card {
background: #101a2e !important;
border: 1px solid #273a5c !important;
color: #f8fafc !important;
box-shadow:
0 6px 20px rgba(0, 0, 0, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
body.theme-dark .card-header,
body.theme-dark .card-footer,
body.theme-dark .table-light th {
background: #0d1729 !important;
border-color: #273a5c !important;
color: #cbd5e1 !important;
}
body.theme-dark .table-hover tbody tr:hover {
background: rgba(255, 255, 255, 0.04) !important;
}
body.theme-dark .table td {
border-color: rgba(255, 255, 255, 0.06) !important;
color: #cbd5e1 !important;
}
* {
box-sizing: border-box;
}
html,
body {
min-height: 100%;
}
body {
margin: 0;
color: var(--text-primary);
background: var(--bg-app);
font-family:
Inter,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
sans-serif;
-webkit-font-smoothing: antialiased;
}
button,
input {
font: inherit;
}
button:focus-visible,
input:focus-visible,
a:focus-visible {
outline: 2px solid rgba(37, 99, 235, 0.3);
outline-offset: 1px;
}
:is(a, button),
:is(a, button):is(:hover, :focus, :active) {
text-decoration: none !important;
}
.ui-icon {
display: inline-flex;
width: 18px;
height: 18px;
flex: 0 0 auto;
}
.ui-icon svg {
width: 100%;
height: 100%;
fill: none;
stroke: currentColor;
stroke-width: 1.8;
stroke-linecap: round;
stroke-linejoin: round;
}
.brand {
display: flex;
align-items: center;
min-width: 0;
color: var(--text-primary);
text-decoration: none;
}
.brand__mark {
width: 36px;
height: 36px;
display: grid;
place-items: center;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 9px;
background: #fff;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.brand__mark img {
width: 28px;
height: 28px;
object-fit: contain;
}
.brand__copy {
display: flex;
min-width: 0;
margin-left: 10px;
flex-direction: column;
line-height: 1.1;
}
.brand__copy strong {
font-size: 16px;
font-weight: 800;
letter-spacing: -0.02em;
color: #0f172a;
}
.brand__copy small {
margin-top: 2px;
color: #3b82f6;
font-size: 9.5px;
font-weight: 800;
letter-spacing: 0.1em;
text-transform: uppercase;
white-space: nowrap;
}
.erp-shell {
min-height: 100vh;
background: var(--bg-app);
}
.erp-sidebar {
position: fixed;
z-index: 40;
inset: 0 auto 0 0;
width: var(--sidebar-width);
display: flex;
flex-direction: column;
background: #ffffff;
border-right: 1px solid var(--border);
}
.erp-sidebar__brand {
height: var(--topbar-height);
display: flex;
align-items: center;
padding: 0 18px;
border-bottom: 1px solid var(--border);
}
.erp-nav {
flex: 1;
overflow-y: auto;
padding: 12px 10px 30px;
scrollbar-width: thin;
}
.erp-nav::-webkit-scrollbar {
width: 4px;
}
.erp-nav::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 4px;
}
.erp-nav::-webkit-scrollbar-track {
background: transparent;
}
.erp-nav__top-label {
padding: 4px 10px 8px;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #94a3b8;
}
.erp-nav__group {
margin-bottom: 3px;
}
.erp-nav__group-header {
width: 100%;
display: flex;
align-items: center;
gap: 10px;
padding: 8.5px 12px;
border: 0;
background: transparent;
color: #1e293b;
font-size: 13.5px;
font-weight: 700;
text-align: left;
border-radius: 9px;
cursor: pointer;
text-decoration: none;
transition:
background 0.12s,
color 0.12s;
}
.erp-nav__group-header:hover {
background: #f1f5f9;
color: var(--primary);
}
.erp-nav__group-header.is-active {
background: #eff6ff;
color: var(--primary);
}
.erp-nav__icon {
width: 20px;
display: inline-flex;
justify-content: center;
align-items: center;
font-size: 14.5px;
color: #64748b;
flex-shrink: 0;
}
.erp-nav__group-header:hover .erp-nav__icon,
.erp-nav__group-header.is-active .erp-nav__icon {
color: var(--primary);
}
.erp-nav__group-title {
flex: 1;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
letter-spacing: -0.01em;
}
.erp-nav__arrow {
font-size: 10.5px;
color: #94a3b8;
transition: transform 0.2s ease;
margin-left: auto;
display: inline-flex;
}
.erp-nav__group.is-open > .erp-nav__group-header .erp-nav__arrow {
transform: rotate(90deg);
color: #475569;
}
.erp-nav__submenu {
display: none;
padding: 3px 0 6px 12px;
margin-left: 20px;
border-left: 1.5px solid #e2e8f0;
flex-direction: column;
gap: 2px;
}
.erp-nav__group.is-open > .erp-nav__submenu {
display: flex;
}
.erp-nav__notice-badge {
margin-left: auto;
min-width: 20px;
height: 20px;
padding: 0 6px;
display: inline-grid;
place-items: center;
border-radius: 999px;
background: #ef4444;
color: #fff;
font-size: 10px;
font-weight: 800;
line-height: 1;
box-shadow: 0 4px 10px rgba(239, 68, 68, 0.28);
}
.erp-nav__notice-badge[hidden] {
display: none;
}
.erp-nav__subitem {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 7px 12px;
color: #475569;
font-size: 14px;
font-weight: 550;
text-decoration: none;
border-radius: 7px;
transition:
background 0.12s,
color 0.12s;
line-height: 1.35;
}
.erp-nav__subitem:hover {
background: #f8fafc;
color: var(--primary);
}
.erp-nav__subitem.is-active {
background: #eff6ff;
color: var(--primary);
font-weight: 650;
}
.erp-nav__subtext {
flex: 1;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.badge-ai {
display: inline-flex;
align-items: center;
padding: 1px 6px;
font-size: 9.5px;
font-weight: 800;
border-radius: 4px;
background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
color: #fff;
letter-spacing: 0.05em;
text-transform: uppercase;
box-shadow: 0 1px 3px rgba(124, 58, 237, 0.25);
line-height: 1.3;
flex-shrink: 0;
}
.erp-sidebar__foot {
min-height: 50px;
display: flex;
align-items: center;
gap: 9px;
padding: 0 18px;
color: var(--text-secondary);
border-top: 1px solid var(--border);
font-size: 12px;
font-weight: 600;
}
.erp-shell {
min-height: 100vh;
position: relative;
overflow-x: clip;
max-width: 100vw;
}
.erp-main {
min-height: 100vh;
margin-left: var(--sidebar-width);
min-width: 0;
max-width: 100%;
overflow-x: clip;
}
.erp-topbar {
position: sticky;
z-index: 30;
top: 0;
height: var(--topbar-height);
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 0 18px 0 14px;
background: rgba(255, 255, 255, 0.98);
border-bottom: 1px solid var(--border);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.erp-topbar__left {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
flex: 0 1 auto;
}
.topbar-button--menu {
display: inline-grid !important;
place-items: center;
flex: 0 0 40px;
width: 40px;
height: 40px;
padding: 0 !important;
border: 1px solid var(--border);
border-radius: 10px;
background: #ffffff;
color: #1e293b;
cursor: pointer;
transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.topbar-button--menu:hover {
background: #f1f5f9;
border-color: #cbd5e1;
color: var(--primary);
}
.topbar-button--menu .ui-icon {
display: grid;
place-items: center;
margin: 0 auto;
}
.topbar-button--menu .ui-icon svg {
stroke-width: 2.2;
}
.topbar-breadcrumb {
align-items: center;
display: flex;
flex: 0 1 auto;
gap: 8px;
min-width: 0;
white-space: nowrap;
}
.topbar-breadcrumb__group {
color: #64748b;
font-size: 13px;
font-weight: 650;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.topbar-breadcrumb__sep {
color: #94a3b8;
font-size: 10px;
}
.topbar-breadcrumb__title {
color: #0f172a;
font-size: 14px;
font-weight: 750;
overflow: hidden;
text-overflow: ellipsis;
}
body.theme-dark .topbar-breadcrumb__group,
body.theme-dark .topbar-breadcrumb__sep {
color: #94a3b8;
}
body.theme-dark .topbar-breadcrumb__title {
color: #f8fafc;
}
body.theme-dark .topbar-button--menu {
background: #1e293b;
border-color: #334155;
color: #e2e8f0;
}
body.theme-dark .topbar-button--menu:hover {
background: #334155;
color: #38bdf8;
}
.topbar-search {
position: relative;
margin-left: 0;
width: min(380px, 32vw);
height: 38px;
display: flex;
align-items: center;
gap: 10px;
padding: 0 12px;
color: #94a3b8;
background: #f8fbff;
border: 1px solid #dbeafe;
border-radius: 10px;
transition:
border-color 0.15s,
box-shadow 0.15s;
}
.topbar-search__mobile-close {
display: none;
}
.topbar-button--search-trigger {
display: none;
}
.topbar-actions {
display: flex;
align-items: center;
gap: 10px;
flex: 0 0 auto;
}
@media (min-width: 1200px) {
.topbar-search {
position: absolute;
left: 50%;
width: min(400px, 35vw);
margin-left: 0;
transform: translateX(-50%);
}
.erp-shell.sidebar-collapsed { --sidebar-width: 76px; }
.erp-shell.sidebar-collapsed .erp-sidebar { width: var(--sidebar-width); transform: none; }
.erp-shell.sidebar-collapsed .erp-main { margin-left: var(--sidebar-width); }
.erp-shell.sidebar-collapsed .erp-sidebar__brand { justify-content: center; padding: 0; }
.erp-shell.sidebar-collapsed .brand__copy,
.erp-shell.sidebar-collapsed .erp-nav__top-label,
.erp-shell.sidebar-collapsed .erp-nav__group-title,
.erp-shell.sidebar-collapsed .erp-nav__arrow,
.erp-shell.sidebar-collapsed .erp-nav__submenu,
.erp-shell.sidebar-collapsed .erp-sidebar__foot span:not(.system-indicator) { display: none !important; }
.erp-shell.sidebar-collapsed .brand__mark { width: 42px; height: 42px; border: 0; box-shadow: none; }
.erp-shell.sidebar-collapsed .brand__mark img { width: 34px; height: 34px; }
.erp-shell.sidebar-collapsed .erp-nav { overflow-x: hidden; padding: 14px 10px 24px; }
.erp-shell.sidebar-collapsed .erp-nav__group { margin-bottom: 8px; }
.erp-shell.sidebar-collapsed .erp-nav__group-header { width: 54px; height: 48px; justify-content: center; padding: 0; margin: 0 auto; }
.erp-shell.sidebar-collapsed .erp-nav__icon { width: 24px; font-size: 18px; }
.erp-shell.sidebar-collapsed .erp-sidebar__foot { justify-content: center; padding: 0; }
.erp-sidebar,
.erp-main { transition: width .22s ease, margin-left .22s ease; }
}
.topbar-search-results {
position: absolute;
top: calc(100% + 8px);
left: 0;
right: 0;
z-index: 1200;
padding: 6px;
background: #fff;
border: 1px solid #dbeafe;
border-radius: 12px;
box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}
.topbar-search-results button {
width: 100%;
display: flex;
justify-content: space-between;
gap: 12px;
padding: 10px 12px;
text-align: left;
background: transparent;
border: 0;
border-radius: 8px;
color: #0f172a;
}
.topbar-search-results button:hover,
.topbar-search-results button.is-selected {
background: #eff6ff;
color: #1d4ed8;
}
.topbar-search-results small {
color: #64748b;
font-size: 10px;
}
.topbar-search-empty {
padding: 14px;
color: #64748b;
text-align: center;
font-size: 12px;
}
body.theme-dark .topbar-search-results {
background: #111827;
border-color: #334155;
}
body.theme-dark .topbar-search-results button {
color: #e5e7eb;
}
body.theme-dark .topbar-search-results button:hover {
background: #1e3a5f;
}
.erp-confirm-overlay {
position: fixed;
inset: 0;
z-index: 13000;
display: grid;
place-items: center;
padding: 20px;
background: rgba(15, 23, 42, 0.55);
backdrop-filter: blur(3px);
}
.erp-confirm {
width: min(440px, 100%);
display: grid;
grid-template-columns: 48px 1fr;
gap: 14px;
padding: 22px;
background: #fff;
border: 1px solid #dbeafe;
border-radius: 18px;
box-shadow: 0 28px 80px rgba(15, 23, 42, 0.3);
animation: confirm-in 0.16s ease-out;
}
.erp-confirm__icon {
width: 48px;
height: 48px;
display: grid;
place-items: center;
border-radius: 14px;
background: #eff6ff;
color: #2563eb;
font-size: 22px;
}
.erp-confirm.danger .erp-confirm__icon {
background: #fef2f2;
color: #dc2626;
}
.erp-confirm__body h2 {
margin: 1px 0 7px;
color: #0f172a;
font-size: 18px;
}
.erp-confirm__body p {
margin: 0;
color: #475569;
font-size: 14px;
line-height: 1.55;
white-space: pre-line;
}
.erp-confirm__actions {
grid-column: 1/-1;
display: flex;
justify-content: flex-end;
gap: 10px;
margin-top: 6px;
}
.erp-confirm__actions button {
min-width: 92px;
padding: 9px 15px;
border: 1px solid #cbd5e1;
border-radius: 10px;
background: #fff;
color: #334155;
font-weight: 700;
}
.erp-confirm__actions .primary {
border-color: #2563eb;
background: #2563eb;
color: #fff;
}
.erp-confirm.danger .erp-confirm__actions .primary {
border-color: #dc2626;
background: #dc2626;
}
@keyframes confirm-in {
from {
opacity: 0;
transform: translateY(8px) scale(0.98);
}
to {
opacity: 1;
transform: none;
}
}
.erp-confirm__input {
width: 100%;
margin-top: 12px;
padding: 10px 12px;
border: 1px solid #cbd5e1;
border-radius: 9px;
font: inherit;
color: #0f172a;
background: #fff;
outline: none;
}
.erp-confirm__input:focus {
border-color: #2563eb;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
body.theme-dark .erp-confirm {
background: #111827;
border-color: #334155;
}
body.theme-dark .erp-confirm__body h2 {
color: #f8fafc;
}
body.theme-dark .erp-confirm__body p {
color: #cbd5e1;
}
body.theme-dark .erp-confirm__actions button:not(.primary) {
background: #1f2937;
color: #e5e7eb;
border-color: #475569;
}
.report-period {
display: flex;
align-items: flex-end;
gap: 12px;
margin: 4px 0 18px;
padding: 14px 16px;
background: #fff;
border: 1px solid #dbeafe;
border-radius: 14px;
box-shadow: 0 5px 18px rgba(30, 64, 175, 0.05);
width: fit-content;
max-width: 100%;
}
.report-period__title {
align-self: center;
display: flex;
align-items: center;
gap: 8px;
padding-right: 4px;
color: #1d4ed8;
font-size: 13px;
font-weight: 800;
white-space: nowrap;
}
.report-period__title i {
width: 30px;
height: 30px;
display: grid;
place-items: center;
border-radius: 9px;
background: #eff6ff;
}
.report-date-field {
display: grid;
gap: 6px;
margin: 0;
}
.report-date-field > span {
color: #64748b;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.report-date-field > div {
height: 42px;
display: flex;
align-items: center;
gap: 9px;
padding: 0 11px;
background: #f8fafc;
border: 1px solid #cbd5e1;
border-radius: 10px;
transition: 0.15s;
}
.report-date-field > div:focus-within {
background: #fff;
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.report-date-field i {
color: #3b82f6;
}
.report-date-field input {
min-width: 142px;
padding: 0;
border: 0;
outline: 0;
background: transparent;
color: #0f172a;
font: 600 13px/1 inherit;
color-scheme: light;
}
.report-period__arrow {
align-self: flex-end;
height: 42px;
display: grid;
place-items: center;
color: #94a3b8;
}
.report-period__apply {
height: 42px;
min-width: 112px;
justify-content: center;
}
body.theme-dark .report-period {
background: #111827;
border-color: #334155;
}
body.theme-dark .report-date-field > div {
background: #1f2937;
border-color: #475569;
}
body.theme-dark .report-date-field input {
color: #f8fafc;
color-scheme: dark;
}
.report-charts {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
margin: 14px 0 16px;
}
.report-chart-card {
min-width: 0;
padding: 14px 16px 4px;
background: #fff;
border: 1px solid #e2e8f0;
border-radius: 16px;
box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}
.report-chart-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.report-chart-card > header span { color: #64748b; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.report-chart-card h2 { margin: 3px 0 0; color: #0f172a; font-size: 16px; font-weight: 800; }
.report-chart-card > header > i { width: 34px; height: 34px; display: grid; flex: 0 0 auto; place-items: center; color: #2563eb; background: #eff6ff; border-radius: 10px; }
.report-chart { min-height: 250px; }
.report-chart-card.is-empty { padding-bottom: 8px; }
.report-chart-card.is-empty .report-chart { min-height: 150px; }
.report-view .rnt-kpis { gap: 12px; margin-bottom: 14px; }
.report-view .rnt-kpis > .ds-kpi-card { min-height: 104px; padding: 14px 16px; }
.report-view .ds-kpi-inner { display: flex; align-items: center; gap: 12px; }
.report-view .ds-kpi-icon { width: 42px; height: 42px; display: grid; flex: 0 0 42px; place-items: center; border-radius: 11px; color: #2563eb; background: #eff6ff; }
.report-view .ds-kpi-copy { display: grid; min-width: 0; gap: 2px; }
.report-view .ds-kpi-label { color: #64748b; font-size: 12px; font-weight: 650; }
.report-view .ds-kpi-value { color: #0f172a; font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.report-view .ds-kpi-meta { color: #94a3b8; font-size: 11.5px; }
.report-view .ds-kpi-spark, .report-view .ds-kpi-accent { display: none; }
body.theme-dark .report-chart-card { background: #111827; border-color: #334155; }
body.theme-dark .report-chart-card h2 { color: #f8fafc; }
body.theme-dark .report-chart-card > header span { color: #94a3b8; }
body.theme-dark .report-chart-card > header > i { color: #60a5fa; background: rgba(37, 99, 235, .16); }
body.theme-dark .report-view .ds-kpi-value { color: #f8fafc; }
body.theme-dark .report-view .ds-kpi-icon { color: #60a5fa; background: rgba(37, 99, 235, .16); }
body.theme-dark .report-chart-card .apexcharts-gridline { stroke: #334155; }
@media (max-width: 767.98px) {
.report-charts { grid-template-columns: 1fr; }
.report-period {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr;
align-items: end;
}
.report-period__title {
grid-column: 1/-1;
}
.report-period__arrow {
display: none;
}
.report-date-field input {
width: 100%;
min-width: 0;
}
.report-period__apply {
grid-column: 1/-1;
width: 100%;
}
}
@media (max-width: 480px) {
.report-period {
grid-template-columns: 1fr;
}
.report-period__title,
.report-period__apply {
grid-column: auto;
}
}
.report-view { max-width: 1600px; margin: 0 auto; }
.report-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.report-hero__copy { min-width: 0; }
.report-hero .rnt-tag { width: fit-content; margin-bottom: 8px; }
.report-hero h1 { margin: 0; color: #0f172a; font-size: clamp(24px, 2vw, 32px); line-height: 1.18; letter-spacing: -.035em; }
.report-hero p { max-width: 720px; margin: 7px 0 0; color: #64748b; font-size: 14px; line-height: 1.55; }
.report-export { min-height: 44px; padding-inline: 16px; white-space: nowrap; }
.report-command { margin-bottom: 18px; overflow: hidden; background: #fff; border: 1px solid #dbe3ef; border-radius: 18px; box-shadow: 0 8px 26px rgba(15, 23, 42, .055); }
.report-modes { display: flex; gap: 4px; padding: 8px; overflow-x: auto; border-bottom: 1px solid #e8edf5; scrollbar-width: thin; }
.report-mode { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border: 0; border-radius: 11px; color: #64748b; background: transparent; font: 700 13px/1 inherit; white-space: nowrap; cursor: pointer; transition: color .16s ease, background .16s ease, box-shadow .16s ease; }
.report-mode:hover { color: #1d4ed8; background: #f1f5f9; }
.report-mode:focus-visible { outline: 3px solid rgba(37, 99, 235, .24); outline-offset: 1px; }
.report-mode.is-active { color: #fff; background: #2563eb; box-shadow: 0 5px 12px rgba(37, 99, 235, .22); }
.report-mode i { font-size: 12px; }
.report-command .report-period { width: 100%; max-width: none; margin: 0; padding: 14px 16px; border: 0; border-radius: 0; box-shadow: none; background: #fbfdff; }
.report-command .report-period__title { margin-right: auto; color: #334155; }
.report-command .report-period__title i { color: #2563eb; background: #eaf2ff; }
.report-command .report-date-field > div { height: 44px; min-width: 172px; background: #fff; }
.report-command .report-period__apply { height: 44px; min-width: 124px; }
.report-view .rnt-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.report-view .rnt-kpis > .ds-kpi-card { position: relative; min-height: 122px; overflow: hidden; padding: 18px; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 7px 22px rgba(15, 23, 42, .05); }
.report-view .rnt-kpis > .ds-kpi-card::after { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: #2563eb; }
.report-view .rnt-kpis > .ds-kpi-card:nth-child(2)::after { background: #10b981; }
.report-view .rnt-kpis > .ds-kpi-card:nth-child(3)::after { background: #8b5cf6; }
.report-view .rnt-kpis > .ds-kpi-card:nth-child(4)::after { background: #f59e0b; }
.report-view .ds-kpi-inner { align-items: flex-start; }
.report-view .ds-kpi-value { margin-top: 2px; font-size: clamp(23px, 2vw, 29px); }
.report-view .ds-kpi-meta { margin-top: 5px; line-height: 1.4; }
.report-charts { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 16px; margin: 0 0 16px; }
.report-chart-card { min-height: 350px; padding: 20px 20px 8px; border-radius: 18px; box-shadow: 0 7px 24px rgba(15, 23, 42, .05); }
.report-chart-card > header { padding-bottom: 10px; }
.report-chart-card > header span { color: #2563eb; }
.report-chart-card h2 { margin-top: 5px; font-size: 17px; }
.report-chart-card > header > i { width: 40px; height: 40px; border-radius: 12px; }
.report-chart { min-height: 275px; }
.report-chart-card.is-empty { min-height: 300px; padding-bottom: 20px; }
.report-chart-card.is-empty .report-chart { min-height: 210px; }
.report-empty { min-height: 210px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; padding: 24px; text-align: center; color: #64748b; }
.report-empty > span { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 4px; border-radius: 16px; color: #2563eb; background: #eff6ff; font-size: 19px; }
.report-empty b { color: #334155; font-size: 14px; }
.report-empty small { max-width: 360px; color: #94a3b8; font-size: 12px; line-height: 1.55; }
.report-table-card { overflow: hidden; padding: 0; border-radius: 18px; }
.report-section-head { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border-bottom: 1px solid #e8edf5; }
.report-section-head span { color: #64748b; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.report-section-head h2 { margin: 4px 0 0; color: #0f172a; font-size: 16px; }
.report-section-head strong { padding: 7px 10px; border-radius: 999px; color: #1d4ed8; background: #eff6ff; font-size: 11px; white-space: nowrap; }
.report-table-card .rnt-table th { background: #f8fafc; color: #475569; font-size: 11px; letter-spacing: .025em; }
.report-table-card .rnt-table td { height: 54px; }
.report-table-empty { min-height: 160px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: #94a3b8; }
.report-table-empty i { margin-bottom: 4px; color: #cbd5e1; font-size: 28px; }
.report-table-empty b { color: #475569; font-size: 13px; }
.report-table-empty span { font-size: 12px; }
body.theme-dark .report-hero h1, body.theme-dark .report-section-head h2, body.theme-dark .report-empty b { color: #f8fafc; }
body.theme-dark .report-command, body.theme-dark .report-view .rnt-kpis > .ds-kpi-card, body.theme-dark .report-table-card { background: #111827; border-color: #334155; }
body.theme-dark .report-modes, body.theme-dark .report-section-head { border-color: #334155; }
body.theme-dark .report-command .report-period { background: #0f172a; }
body.theme-dark .report-mode { color: #cbd5e1; }
body.theme-dark .report-mode:hover { color: #fff; background: #1f2937; }
body.theme-dark .report-table-card .rnt-table th { background: #1f2937; color: #cbd5e1; }
@media (max-width: 1199.98px) {
.report-view .rnt-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.report-charts { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
.report-hero { align-items: stretch; flex-direction: column; gap: 14px; }
.report-export { align-self: flex-start; }
.report-command .report-period { grid-template-columns: 1fr 1fr; }
.report-command .report-period__title { grid-column: 1 / -1; margin-right: 0; }
.report-view .rnt-kpis { grid-template-columns: 1fr; }
.report-chart-card { min-height: 300px; padding-inline: 15px; }
}
@media (max-width: 480px) {
.report-command .report-period { grid-template-columns: 1fr; }
.report-command .report-date-field > div { width: 100%; min-width: 0; }
.report-section-head { align-items: flex-start; }
}
.topbar-search:focus-within {
border-color: #93c5fd;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.topbar-search input {
width: 100%;
min-width: 0;
padding: 0;
color: var(--text-primary);
font-size: 13px;
background: transparent;
border: 0;
outline: 0;
}
.topbar-search input::placeholder {
color: #94a3b8;
font-size: 13px;
}
.search-kbd {
display: inline-flex;
align-items: center;
padding: 2px 6px;
color: #64748b;
background: #eef4ff;
border: 1px solid #dbeafe;
border-radius: 5px;
font-size: 11px;
font-family: inherit;
font-weight: 600;
white-space: nowrap;
}
.topbar-actions {
display: flex;
align-items: center;
gap: 8px;
margin-left: auto;
}
.topbar-button {
position: relative;
width: 36px;
height: 36px;
display: grid;
place-items: center;
padding: 0;
color: #475569;
background: #fff;
border: 1px solid var(--border);
border-radius: 9px;
cursor: pointer;
transition: transform 0.15s, opacity 0.15s, background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.topbar-button:hover {
background: #f8fafc;
border-color: #cbd5e1;
color: #0f172a;
}
.topbar-button .ui-icon {
width: 17px;
height: 17px;
}
.notification-wrapper {
position: relative;
}
.notification-count {
position: absolute;
top: -5px;
right: -6px;
min-width: 18px;
height: 18px;
padding: 0 4px;
display: grid;
place-items: center;
border-radius: 10px;
border: 2px solid #fff;
background: #ef4444;
color: #fff;
font-size: 9px;
font-weight: 800;
line-height: 1;
}
.notification-count[hidden] {
display: none;
}
.notification-dropdown {
position: absolute;
top: calc(100% + 10px);
right: -52px;
z-index: 120;
width: min(390px, calc(100vw - 24px));
display: none;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 14px;
background: var(--bg-surface);
box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}
.notification-dropdown.is-open {
display: block;
animation: dropdownFade 0.15s ease-out;
}
.notification-dropdown__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 15px 11px;
border-bottom: 1px solid var(--border);
}
.notification-dropdown__head > div {
display: flex;
flex-direction: column;
}
.notification-dropdown__head strong {
font-size: 15px;
}
.notification-dropdown__head span {
color: var(--text-secondary);
font-size: 11px;
}
.notification-dropdown__head button {
border: 0;
background: transparent;
color: var(--primary);
font-size: 11px;
font-weight: 700;
cursor: pointer;
}
.notification-list {
max-height: 410px;
overflow: auto;
}
.notification-item {
width: 100%;
display: grid;
grid-template-columns: 36px 1fr;
gap: 10px;
padding: 11px 14px;
border: 0;
border-bottom: 1px solid var(--border);
background: var(--bg-surface);
color: var(--text-primary);
text-align: left;
cursor: pointer;
}
.notification-item:hover {
background: var(--bg-soft);
}
.notification-item.is-unread {
background: #eff8ff;
}
.notification-item__icon {
width: 34px;
height: 34px;
display: grid;
place-items: center;
border-radius: 10px;
background: #e0f2fe;
color: #0284c7;
}
.notification-item__icon.success {
background: #dcfce7;
color: #16a34a;
}
.notification-item__icon.warning {
background: #fef3c7;
color: #d97706;
}
.notification-item__icon.danger {
background: #fee2e2;
color: #dc2626;
}
.notification-item > span:last-child {
min-width: 0;
display: flex;
flex-direction: column;
}
.notification-item strong {
font-size: 12.5px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.notification-item small {
margin-top: 2px;
color: var(--text-secondary);
font-size: 11px;
line-height: 1.35;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.notification-item time {
margin-top: 4px;
color: var(--primary);
font-size: 10px;
}
.notification-view-all {
width: 100%;
padding: 11px;
border: 0;
background: var(--bg-surface);
color: var(--primary);
font-size: 12px;
font-weight: 750;
}
.notification-empty,
.notification-loading {
min-height: 120px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
gap: 8px;
color: var(--text-secondary);
font-size: 12px;
}
body.theme-dark .notification-item.is-unread {
background: rgba(56, 189, 248, 0.11);
}
body.theme-dark .notification-count {
border-color: #090e18;
}
.account-wrapper {
position: relative;
}
.account-shell {
height: 40px;
display: flex;
align-items: center;
gap: 9px;
padding: 3px 10px 3px 5px;
text-align: left;
color: var(--text-primary);
background: #fff;
border: 1px solid var(--border);
border-radius: 11px;
cursor: pointer;
transition: transform 0.15s, opacity 0.15s, background-color 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.account-shell:hover {
background: #f8fafc;
border-color: #cbd5e1;
}
.account-shell.is-active {
border-color: #93c5fd;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.account-avatar {
width: 34px;
height: 34px;
border-radius: 50%;
background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 50%, #8b5cf6 100%);
display: grid;
place-items: center;
color: #fff;
font-weight: 800;
font-size: 13px;
box-shadow: 0 2px 6px rgba(59, 130, 246, 0.25);
flex-shrink: 0;
overflow: hidden;
position: relative;
border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.account-avatar--lg {
width: 46px;
height: 46px;
border-radius: 50%;
font-size: 17px;
}
.account-avatar__img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.account-avatar__char {
display: grid;
place-items: center;
width: 100%;
height: 100%;
}
.account-shell__copy {
display: flex;
flex-direction: column;
line-height: 1.15;
}
.account-shell__name {
font-size: 13px;
font-weight: 700;
color: #0f172a;
white-space: nowrap;
max-width: 140px;
overflow: hidden;
text-overflow: ellipsis;
}
.account-shell__role {
margin-top: 2px;
font-size: 11px;
color: #64748b;
font-weight: 500;
white-space: nowrap;
}
.account-shell__arrow {
width: 15px;
height: 15px;
color: #94a3b8;
transition: transform 0.2s ease;
margin-left: 2px;
}
.account-shell.is-active .account-shell__arrow {
transform: rotate(180deg);
}
.account-dropdown {
position: absolute;
top: calc(100% + 8px);
right: 0;
width: 275px;
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 16px;
box-shadow:
0 16px 36px rgba(15, 23, 42, 0.12),
0 2px 8px rgba(15, 23, 42, 0.04);
padding: 14px;
display: none;
z-index: 100;
flex-direction: column;
text-align: left;
animation: dropdownFade 0.15s ease-out;
}
@keyframes dropdownFade {
from {
opacity: 0;
transform: translateY(-4px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.account-dropdown.is-open {
display: flex;
}
.account-dropdown__header {
display: flex;
align-items: center;
gap: 12px;
padding: 2px 4px 8px;
}
.account-dropdown__header-info {
display: flex;
flex-direction: column;
min-width: 0;
}
.account-dropdown__header-name {
font-weight: 750;
font-size: 15px;
color: #0f172a;
margin: 0 0 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.account-dropdown__header-role {
font-size: 11.5px;
color: #64748b;
margin: 0;
font-weight: 500;
}
.account-dropdown__divider {
height: 1px;
background: #f1f5f9;
margin: 8px -6px;
}
.account-dropdown__menu {
display: flex;
flex-direction: column;
gap: 2px;
list-style: none;
padding: 0;
margin: 0;
}
.account-dropdown__item {
display: flex;
align-items: center;
gap: 11px;
padding: 9px 10px;
border-radius: 9px;
font-size: 13.5px;
font-weight: 550;
color: #1e293b;
background: transparent;
border: 0;
width: 100%;
text-align: left;
cursor: pointer;
transition:
background 0.12s,
color 0.12s;
text-decoration: none;
}
.account-dropdown__item:hover {
background: #f8fafc;
color: #0284c7;
}
.account-dropdown__item .ui-icon {
width: 18px;
height: 18px;
color: #475569;
}
.account-dropdown__item:hover .ui-icon {
color: #0284c7;
}
.account-dropdown__logout {
display: flex;
align-items: center;
gap: 11px;
width: 100%;
padding: 9px 10px;
border: 0;
background: transparent;
color: #ef4444;
border-radius: 9px;
font-weight: 600;
font-size: 13.5px;
cursor: pointer;
transition: background 0.12s;
text-align: left;
}
.account-dropdown__logout:hover {
background: #fff1f2;
}
.account-dropdown__logout .ui-icon {
width: 18px;
height: 18px;
color: #ef4444;
}
.role-badge {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 8px;
border-radius: 999px;
font-size: 10px;
font-weight: 800;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.role-badge--admin {
background: #fef3c7;
color: #92400e;
border: 1px solid #fcd34d;
}
.role-badge--accountant {
background: #e0e7ff;
color: #3730a3;
border: 1px solid #c7d2fe;
}
.role-badge--staff {
background: #dcfce7;
color: #166534;
border: 1px solid #86efac;
}
.erp-content {
min-height: calc(100vh - var(--topbar-height));
padding: 0;
background: var(--bg-app);
outline: none;
}
.erp-content :is(
.acc-header .acc-eyebrow,
.audit-header .audit-tag,
.ct-header .ct-tag,
.cus-header .cus-header-tag,
.emp-header .emp-header-tag,
.fin-header .fin-tag,
.ho-header .ho-tag,
.pay-header .pay-tag,
.qtl-header .qtl-eyebrow,
.cal-header .cal-tag,
.rnt-header .rnt-tag,
.sos-header .sos-tag,
.st-header .st-header-tag,
.task-header .task-tag,
.trk-header .trk-tag,
.veh-header .veh-tag
) {
display: none !important;
}
.erp-content .us-breadcrumb {
display: none !important;
}
.erp-content .dashboard-header {
justify-content: space-between !important;
padding-left: 8px;
padding-right: 0;
}
.erp-content .dashboard-header-left { min-width: 0; }
.erp-content .dashboard-header-actions { margin-left: auto; }
.erp-content > .dashboard-container {
padding: 20px 24px 36px;
}
.erp-content > :where(.att-page-container, .workspace-view) {
padding: 16px 20px 32px;
}
@media (max-width: 1199.98px) {
.erp-sidebar {
width: min(320px, 86vw);
z-index: 1045;
transform: translateX(-100%);
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 18px 0 45px rgba(31, 71, 118, 0.18);
}
.erp-sidebar__brand {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16px;
}
.erp-sidebar__close-btn {
width: 36px;
height: 36px;
display: inline-grid !important;
place-items: center;
border: 0;
background: #f1f5f9;
border-radius: 9px;
color: #475569;
font-size: 16px;
cursor: pointer;
transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.erp-sidebar__close-btn:hover {
background: #e2e8f0;
color: #0f172a;
}
.erp-sidebar__user-banner {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 16px;
background: linear-gradient(135deg, #f8fbff 0%, #eff6ff 100%);
border-bottom: 1px solid var(--border);
}
.erp-sidebar__user-info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
}
.erp-sidebar__user-name {
font-size: 13.5px;
font-weight: 750;
color: #0f172a;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.erp-sidebar__user-role {
font-size: 11px;
color: #64748b;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.erp-nav__group-header {
min-height: 44px;
padding: 10px 12px;
font-size: 14px;
}
.erp-nav__subitem {
min-height: 40px;
padding: 9px 12px;
font-size: 14px;
}
.erp-main {
margin-left: 0;
}
.topbar-button--menu {
display: inline-flex !important;
}
}
@media (min-width: 768px) and (max-width: 1199.98px) {
.topbar-search {
width: min(260px, 30vw);
}
.topbar-breadcrumb {
min-width: 0;
max-width: 220px;
}
}
@media (min-width: 992px) and (max-width: 1240px) {
.topbar-breadcrumb span,
.topbar-breadcrumb i {
display: none;
}
.topbar-breadcrumb {
min-width: 110px;
max-width: 150px;
}
}
@media (max-width: 767.98px) {
:root {
--topbar-height: 54px;
}
.erp-topbar {
gap: 8px;
padding: 0 12px;
justify-content: space-between;
}
.erp-topbar__left {
gap: 8px;
min-width: 0;
flex: 1 1 auto;
}
.topbar-button--menu {
flex: 0 0 36px;
width: 36px;
height: 36px;
border-radius: 9px;
}
.topbar-breadcrumb {
min-width: 0;
flex: 1 1 auto;
max-width: none;
margin: 0;
}
.topbar-breadcrumb__group,
.topbar-breadcrumb__sep {
display: none !important;
}
.topbar-breadcrumb__title {
font-size: 14px;
font-weight: 750;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #0f172a;
display: block;
}
body.theme-dark .topbar-breadcrumb__title {
color: #f8fafc;
}
.topbar-actions {
display: flex;
align-items: center;
gap: 6px;
flex: 0 0 auto;
}
.topbar-button--search-trigger {
width: 36px;
height: 36px;
display: inline-grid !important;
place-items: center;
border: 1px solid var(--border);
border-radius: 9px;
background: #ffffff;
color: #475569;
padding: 0;
cursor: pointer;
}
body.theme-dark .topbar-button--search-trigger {
background: #1e293b;
border-color: #334155;
color: #94a3b8;
}
.topbar-button--notification {
width: 36px !important;
height: 36px !important;
border-radius: 9px !important;
}
.account-shell {
height: 36px;
padding: 2px;
border-radius: 9px;
}
.account-shell__copy,
.account-shell__arrow {
display: none !important;
}
.search-kbd {
display: none !important;
}
.topbar-search {
display: none;
}
.erp-topbar.mobile-search-open .topbar-search {
display: flex !important;
position: absolute;
inset: 7px 10px;
z-index: 100;
width: auto !important;
height: 40px;
background: #ffffff;
border: 1.5px solid var(--primary);
border-radius: 12px;
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}
body.theme-dark .erp-topbar.mobile-search-open .topbar-search {
background: #0f172a;
border-color: #38bdf8;
}
.topbar-search__mobile-close {
width: 30px;
height: 30px;
display: inline-grid !important;
place-items: center;
border: 0;
background: transparent;
color: #64748b;
border-radius: 6px;
cursor: pointer;
margin-left: auto;
flex-shrink: 0;
}
.erp-topbar.mobile-search-open .topbar-search-results {
top: calc(100% + 6px);
left: 0;
right: 0;
max-height: 60vh;
overflow-y: auto;
}
.notification-dropdown {
right: -40px;
width: min(340px, calc(100vw - 20px));
}
.account-dropdown {
right: 0;
width: min(270px, calc(100vw - 20px));
}
.erp-content {
padding: 0;
}
.erp-content > .dashboard-container,
.erp-content > .att-page-container{
padding: 16px 12px 28px;
}
}
@media (max-width: 420px) {
.erp-topbar {
padding: 0 8px;
gap: 4px;
}
.erp-topbar__left {
gap: 6px;
}
.topbar-breadcrumb__title {
max-width: none;
font-size: 13px;
}
.topbar-actions {
gap: 4px;
}
.topbar-button--search-trigger,
.topbar-button--notification {
width: 32px !important;
height: 32px !important;
}
.account-shell {
height: 32px;
padding: 1px;
}
.account-avatar {
width: 30px;
height: 30px;
font-size: 11px;
}
}
.has-workflow-help {
overflow: hidden;
}
.workflow-help {
position: fixed;
inset: 0;
z-index: 3000;
display: grid;
place-items: center;
padding: 24px;
}
.workflow-help[hidden] {
display: none;
}
.workflow-help__backdrop {
position: absolute;
inset: 0;
border: 0;
background: rgba(15, 23, 42, 0.65);
backdrop-filter: blur(5px);
}
.workflow-help__dialog {
position: relative;
width: min(1120px, 96vw);
max-height: 92vh;
display: flex;
flex-direction: column;
background: #f8fafc;
border: 2px solid var(--primary);
border-radius: 24px;
box-shadow: 0 30px 80px rgba(37, 99, 235, 0.28);
overflow: hidden;
color: #0f172a;
}
.workflow-help__head {
display: flex;
justify-content: space-between;
gap: 20px;
padding: 17px 24px 16px;
background: var(--primary);
color: #fff;
}
.workflow-help__head h2 {
color: #fff;
font-size: 24px;
font-weight: 800;
margin: 5px 0 0;
line-height: 1.2;
}
.workflow-help__eyebrow {
color: #dbeafe;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.11em;
}
.workflow-help__close {
width: 38px;
height: 38px;
flex: 0 0 38px;
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 12px;
background: rgba(255, 255, 255, 0.12);
color: #fff;
font-size: 18px;
}
.workflow-help__body {
padding: 22px 28px 28px;
overflow: auto;
}
.workflow-help__notice {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 15px;
margin-bottom: 18px;
border: 1px solid #bfdbfe;
border-radius: 14px;
background: #eff6ff;
color: #1e3a8a;
font-size: 13px;
}
.workflow-help__notice > i {
font-size: 20px;
}
.workflow-help__section {
padding: 18px 0;
border-top: 1px solid #e2e8f0;
}
.workflow-help__section:first-of-type {
border-top: 0;
padding-top: 0;
}
.workflow-help__section-title {
display: flex;
align-items: flex-start;
gap: 12px;
margin-bottom: 15px;
}
.workflow-help__section-title > span {
display: grid;
place-items: center;
width: 36px;
height: 36px;
border-radius: 11px;
background: #0d6efd;
color: #fff;
font-size: 12px;
font-weight: 900;
}
.workflow-help__section-title h3 {
font-size: 17px;
font-weight: 800;
margin: 0 0 3px;
}
.workflow-help__section-title p {
font-size: 12px;
color: #64748b;
margin: 0;
}
.workflow-flow {
list-style: none;
display: grid;
grid-template-columns: repeat(6, minmax(130px, 1fr));
gap: 9px;
padding: 0;
margin: 0;
counter-reset: flow;
}
.workflow-flow li {
position: relative;
padding: 35px 12px 13px;
border: 1px solid #dbe4ef;
border-radius: 14px;
background: #fff;
min-height: 126px;
counter-increment: flow;
}
.workflow-flow li::before {
content: counter(flow);
position: absolute;
top: 10px;
left: 11px;
display: grid;
place-items: center;
width: 20px;
height: 20px;
border-radius: 50%;
background: #dbeafe;
color: #1d4ed8;
font-size: 10px;
font-weight: 900;
}
.workflow-flow li:not(:last-child)::after {
content: '›';
position: absolute;
right: -9px;
top: 48px;
z-index: 2;
color: #60a5fa;
font-size: 20px;
font-weight: 900;
}
.workflow-flow b {
display: block;
font-size: 12px;
margin-bottom: 6px;
color: #172554;
}
.workflow-flow span {
display: block;
font-size: 11px;
line-height: 1.45;
color: #64748b;
}
.workflow-runbooks {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
}
.workflow-runbook {
border: 1px solid #dbe4ef;
border-radius: 17px;
background: #fff;
overflow: hidden;
box-shadow: 0 5px 16px rgba(15, 23, 42, 0.04);
}
.workflow-runbook--wide {
grid-column: 1/-1;
}
.workflow-runbook__title {
display: flex;
align-items: center;
gap: 12px;
padding: 15px 17px;
background: linear-gradient(135deg, #eff6ff, #f8fafc);
border-bottom: 1px solid #dbe4ef;
}
.workflow-runbook__title > i {
display: grid;
place-items: center;
width: 40px;
height: 40px;
border-radius: 12px;
background: #dbeafe;
color: #1d4ed8;
font-size: 17px;
}
.workflow-runbook__title h4 {
font-size: 14px;
font-weight: 800;
margin: 0 0 2px;
}
.workflow-runbook__title small {
font-size: 10px;
color: #64748b;
}
.workflow-runbook ol {
list-style: none;
padding: 0;
margin: 0;
counter-reset: runbook;
}
.workflow-runbook li {
position: relative;
padding: 14px 16px 14px 52px;
border-top: 1px solid #edf2f7;
counter-increment: runbook;
}
.workflow-runbook li:first-child {
border-top: 0;
}
.workflow-runbook li::before {
content: counter(runbook);
position: absolute;
left: 17px;
top: 15px;
display: grid;
place-items: center;
width: 23px;
height: 23px;
border-radius: 50%;
background: #e0f2fe;
color: #0369a1;
font-size: 10px;
font-weight: 900;
}
.workflow-runbook li::after {
content: '';
position: absolute;
left: 28px;
top: 39px;
bottom: -1px;
width: 1px;
background: #dbeafe;
}
.workflow-runbook li:last-child::after {
display: none;
}
.workflow-runbook li button {
display: block;
width: 100%;
padding: 0;
margin: 6px 0 5px;
border: 0;
background: transparent;
color: #1d4ed8;
text-align: left;
font-size: 12px;
font-weight: 800;
}
.workflow-runbook li button:hover {
text-decoration: underline;
}
.workflow-runbook li p {
margin: 0;
color: #64748b;
font-size: 11px;
line-height: 1.48;
}
.workflow-runbook li p b {
color: #334155;
}
.workflow-owner {
display: inline-flex;
padding: 3px 7px;
border-radius: 999px;
font-size: 9px;
font-weight: 900;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.owner-admin {
background: #dbeafe;
color: #1d4ed8;
}
.owner-staff {
background: #dcfce7;
color: #15803d;
}
.owner-accounting {
background: #fef3c7;
color: #a16207;
}
.workflow-roles {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 14px;
}
.workflow-role {
border: 1px solid #dbe4ef;
border-radius: 16px;
background: #fff;
padding: 17px;
box-shadow: 0 5px 16px rgba(15, 23, 42, 0.04);
}
.workflow-role.is-current {
outline: 3px solid rgba(37, 99, 235, 0.16);
border-color: #60a5fa;
}
.workflow-role__head {
display: flex;
align-items: center;
gap: 11px;
padding-bottom: 13px;
border-bottom: 1px solid #edf2f7;
}
.workflow-role__head > span {
display: grid;
place-items: center;
width: 42px;
height: 42px;
border-radius: 13px;
font-size: 17px;
}
.workflow-role--blue .workflow-role__head > span {
background: #dbeafe;
color: #1d4ed8;
}
.workflow-role--green .workflow-role__head > span {
background: #dcfce7;
color: #15803d;
}
.workflow-role--amber .workflow-role__head > span {
background: #fef3c7;
color: #b45309;
}
.workflow-role h4 {
font-size: 14px;
font-weight: 800;
margin: 0 0 2px;
}
.workflow-role small {
font-size: 10px;
color: #64748b;
}
.workflow-role.is-current small {
color: #2563eb;
font-weight: 800;
}
.workflow-role ol {
margin: 13px 0 0;
padding-left: 20px;
}
.workflow-role li {
padding: 0 0 8px 3px;
font-size: 12px;
line-height: 1.45;
color: #475569;
}
.workflow-longterm {
display: flex;
align-items: center;
gap: 8px;
overflow: auto;
padding: 3px 2px 8px;
}
.workflow-longterm span {
white-space: nowrap;
padding: 9px 12px;
border-radius: 10px;
background: #fff;
border: 1px solid #dbe4ef;
font-size: 11px;
font-weight: 700;
}
.workflow-longterm i {
color: #60a5fa;
font-size: 11px;
}
.workflow-help__foot {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 15px 28px;
border-top: 1px solid #dbe4ef;
background: #fff;
}
.workflow-help__foot span {
font-size: 12px;
color: #64748b;
}
.workflow-help__foot button {
border: 0;
border-radius: 11px;
background: #0d6efd;
color: #fff;
padding: 10px 18px;
font-weight: 700;
}
.theme-dark .workflow-help__dialog {
background: #111827;
color: #e5e7eb;
border-color: #334155;
}
.theme-dark .workflow-help__body,
.theme-dark .workflow-help__foot {
background: #111827;
}
.theme-dark .workflow-help__section {
border-color: #334155;
}
.theme-dark .workflow-help__notice {
background: #172554;
border-color: #1d4ed8;
color: #bfdbfe;
}
.theme-dark .workflow-flow li,
.theme-dark .workflow-role,
.theme-dark .workflow-longterm span,
.theme-dark .workflow-runbook {
background: #1e293b;
border-color: #334155;
}
.theme-dark .workflow-runbook__title {
background: #172033;
border-color: #334155;
}
.theme-dark .workflow-runbook li {
border-color: #334155;
}
.theme-dark .workflow-runbook li p b {
color: #e2e8f0;
}
.theme-dark .workflow-flow b,
.theme-dark .workflow-role h4,
.theme-dark .workflow-runbook__title h4 {
color: #f8fafc;
}
.theme-dark .workflow-help__foot {
border-color: #334155;
}
@media (max-width: 900px) {
.workflow-flow {
grid-template-columns: repeat(2, 1fr);
}
.workflow-flow li::after {
display: none;
}
.workflow-runbooks,
.workflow-roles {
grid-template-columns: 1fr;
}
.workflow-runbook--wide {
grid-column: auto;
}
.workflow-help__dialog {
max-height: 95vh;
}
.workflow-help__head,
.workflow-help__body,
.workflow-help__foot {
padding-left: 18px;
padding-right: 18px;
}
}
@media (max-width: 520px) {
.workflow-help {
padding: 8px;
}
.workflow-help__dialog {
width: 100%;
max-height: 98vh;
border-radius: 17px;
}
.workflow-help__head h2 {
font-size: 19px;
}
.workflow-flow {
grid-template-columns: 1fr;
}
.workflow-help__foot {
align-items: flex-start;
flex-direction: column;
}
.workflow-help__foot button {
width: 100%;
}
}
.topbar-search.input-container {
height: 38px;
padding: 0 12px;
background: var(--dride-slate-50, #f8fafc);
border: 1px solid var(--dride-slate-200, #e2e8f0);
border-radius: 10px;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
color: var(--dride-slate-600, #475569);
transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.topbar-button--theme.theme-switch{position:relative;width:72px;height:40px;min-width:72px;padding:0!important;border:0;background:transparent!important;box-shadow:none!important;overflow:visible}.theme-switch__track{position:absolute;inset:3px;display:block;overflow:hidden;border:1px solid #cbd5e1;border-radius:18px;background:linear-gradient(180deg,#e8edf5,#f8fafc);box-shadow:inset 0 2px 5px rgba(15,23,42,.18),0 2px 6px rgba(15,23,42,.12);transition:border-color .2s ease,background .2s ease}.theme-switch__rail{position:absolute;left:15px;right:15px;top:50%;height:4px;transform:translateY(-50%);border-radius:4px;background:#cbd5e1;box-shadow:inset 0 1px 2px rgba(15,23,42,.28)}.theme-switch__sun,.theme-switch__moon{position:absolute;z-index:1;top:50%;transform:translateY(-50%);font-size:11px}.theme-switch__sun{left:8px;color:#f59e0b}.theme-switch__moon{right:8px;color:#64748b}.theme-switch__core{position:absolute;z-index:2;top:3px;left:3px;width:28px;height:28px;display:grid;place-items:center;border:1px solid #94a3b8;border-radius:50%;background:linear-gradient(145deg,#fff,#dbe3ee);box-shadow:0 3px 8px rgba(15,23,42,.3),inset 0 1px 2px #fff;transition:transform .28s cubic-bezier(.2,.8,.2,1),background .2s ease,border-color .2s ease}.theme-switch__core:before{content:"";position:absolute;inset:4px;border:1px dashed #94a3b8;border-radius:50%}.theme-switch__core>span{width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#f59e0b;box-shadow:0 0 8px rgba(245,158,11,.8)}.theme-switch:hover .theme-switch__track{border-color:#94a3b8}.theme-switch:active .theme-switch__core{transform:scale(.92)}.theme-switch:focus-visible{outline:3px solid rgba(37,99,235,.28)!important;outline-offset:2px!important}body.theme-dark .topbar-button--theme.theme-switch{background:transparent!important}body.theme-dark .theme-switch__track{border-color:#334155;background:linear-gradient(180deg,#101522,#20283a);box-shadow:inset 0 3px 7px rgba(0,0,0,.65),0 2px 7px rgba(0,0,0,.3)}body.theme-dark .theme-switch__rail{background:linear-gradient(90deg,#2563eb,#22d3ee);box-shadow:0 0 8px rgba(34,211,238,.45)}body.theme-dark .theme-switch__sun{color:#64748b}body.theme-dark .theme-switch__moon{color:#93c5fd}body.theme-dark .theme-switch__core{transform:translateX(34px);border-color:#4f6b91;background:linear-gradient(145deg,#334155,#111827)}body.theme-dark .theme-switch__core:before{border-color:#60a5fa}body.theme-dark .theme-switch__core>span{background:#22d3ee;box-shadow:0 0 9px rgba(34,211,238,.95)}body.theme-dark .theme-switch:active .theme-switch__core{transform:translateX(34px) scale(.92)}
@media(min-width:1200px){.topbar-search{width:min(360px,32vw)}}
@media(prefers-reduced-motion:reduce){.theme-switch__track,.theme-switch__core{transition:none}}
.topbar-search.input-container:hover:not(:focus-within) {
background: #ffffff;
border-color: var(--dride-slate-300, #cbd5e1);
}
.topbar-search.input-container:focus-within {
background: #ffffff;
border-color: var(--dride-brand-500, #1768e5);
box-shadow: 0 0 0 3px rgba(23, 104, 229, 0.12);
color: var(--dride-slate-800, #1e293b);
}
.topbar-search.input-container .input {
height: 100%;
width: 100%;
min-width: 0;
padding: 0;
border: 0;
outline: 0;
background: transparent;
color: var(--dride-slate-800, #1e293b);
font-family: inherit;
font-size: 13px;
font-weight: 500;
letter-spacing: 0;
box-shadow: none;
caret-color: var(--dride-brand-500, #1768e5);
}
.topbar-search.input-container .input::placeholder {
color: var(--dride-slate-400, #94a3b8);
opacity: 1;
}
.topbar-search.input-container:focus-within .input {
color: var(--dride-slate-900, #0f172a);
}
.topbar-search.input-container:focus-within .input::placeholder {
color: var(--dride-slate-500, #64748b);
}
.topbar-search.input-container .search-kbd {
font-size: 11px;
font-weight: 600;
color: var(--dride-slate-500, #64748b);
background: var(--dride-slate-100, #f1f5f9);
border: 1px solid var(--dride-slate-200, #e2e8f0);
border-radius: 6px;
padding: 2px 6px;
transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.topbar-search.input-container:focus-within .search-kbd {
color: var(--dride-brand-600, #1256bf);
background: var(--dride-brand-50, #f0f7ff);
border-color: var(--dride-brand-200, #bae0fd);
}
body.theme-dark .topbar-search.input-container {
background: #0f172a;
border-color: #273a5c;
box-shadow: none;
color: #94a3b8;
}
body.theme-dark .topbar-search.input-container .input {
color: #f8fafc;
}
body.theme-dark .topbar-search.input-container .input::placeholder {
color: #64748b;
}
body.theme-dark .topbar-search.input-container:focus-within {
background: #111e38;
border-color: #6090f7;
box-shadow: 0 0 0 3px rgba(96, 144, 247, 0.16);
}
body.theme-dark .topbar-search.input-container .search-kbd {
color: #94a3b8;
background: #1e293b;
border-color: #334155;
}
body.theme-dark .topbar-search.input-container:focus-within .search-kbd {
color: #93c5fd;
background: rgba(96, 144, 247, 0.15);
border-color: rgba(96, 144, 247, 0.35);
}
.skip-link:not(:focus) {
position: absolute !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
white-space: nowrap !important;
border: 0 !important;
}
.skip-link:focus {
position: fixed;
z-index: 10000;
left: 12px;
top: 12px;
padding: 8px 16px;
border-radius: 8px;
background: var(--dride-brand-500, #1768e5);
color: #ffffff;
font-weight: 700;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
outline: 2px solid #ffffff;
outline-offset: 2px;
}
.erp-not-found {
min-height: min(620px, calc(100vh - 150px));
display: grid;
place-content: center;
justify-items: center;
gap: 12px;
padding: 40px 24px;
text-align: center;
color: var(--text-primary);
}
.erp-not-found__code {
color: var(--erp-brand, #1768e5);
font-size: 0.78rem;
font-weight: 800;
letter-spacing: 0.16em;
}
.erp-not-found__icon {
display: grid;
width: 72px;
height: 72px;
place-items: center;
border-radius: 22px;
background: var(--erp-brand-soft, #eaf2ff);
color: var(--erp-brand, #1768e5);
font-size: 1.8rem;
}
.erp-not-found h1 {
margin: 4px 0 0;
font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.erp-not-found p {
max-width: 560px;
margin: 0 0 8px;
color: var(--text-secondary);
line-height: 1.6;
}
.erp-not-found__action {
min-height: 44px;
padding: 10px 18px;
border: 0;
border-radius: 10px;
background: var(--erp-brand, #1768e5);
color: #fff;
font-weight: 700;
}
.erp-not-found__action:focus-visible {
outline: 3px solid color-mix(in srgb, var(--erp-brand, #1768e5) 35%, transparent);
outline-offset: 3px;
}
#toast-region {
position: fixed;
top: 72px;
right: 20px;
z-index: 9999;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 10px;
pointer-events: none;
max-width: min(400px, calc(100vw - 24px));
}
.erp-toast-item {
pointer-events: auto;
display: flex;
align-items: center;
gap: 11px;
min-width: 260px;
max-width: min(390px, calc(100vw - 24px));
padding: 12px 14px;
border-radius: 12px;
background: #ffffff;
color: #0f172a;
border: 1px solid #e2e8f0;
border-left: 4px solid #2563eb;
box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.16), 0 4px 10px -2px rgba(15, 23, 42, 0.08);
font-size: 13.5px;
font-weight: 600;
line-height: 1.4;
animation: erpToastIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
transition: opacity 0.2s ease, transform 0.2s ease;
}
.erp-toast-item.is-leaving {
opacity: 0;
transform: translateX(18px) scale(0.96);
}
.erp-toast-item__icon {
width: 28px;
height: 28px;
border-radius: 8px;
display: grid;
place-items: center;
font-size: 14px;
flex-shrink: 0;
background: #eff6ff;
color: #2563eb;
}
.erp-toast-item--success {
border-left-color: #16a34a;
}
.erp-toast-item--success .erp-toast-item__icon {
background: #dcfce7;
color: #15803d;
}
.erp-toast-item--danger {
border-left-color: #dc2626;
}
.erp-toast-item--danger .erp-toast-item__icon {
background: #fee2e2;
color: #b91c1c;
}
.erp-toast-item--warning {
border-left-color: #d97706;
}
.erp-toast-item--warning .erp-toast-item__icon {
background: #fef3c7;
color: #b45309;
}
.erp-toast-item__text {
flex: 1 1 auto;
min-width: 0;
word-break: break-word;
}
.erp-toast-item__close {
width: 26px;
height: 26px;
border-radius: 7px;
border: 0;
background: transparent;
color: #94a3b8;
display: grid;
place-items: center;
font-size: 12px;
cursor: pointer;
flex-shrink: 0;
transition: background-color 0.15s ease, color 0.15s ease;
}
.erp-toast-item__close:hover {
background: #f1f5f9;
color: #334155;
}
body.theme-dark .erp-toast-item {
background: #131f35;
color: #f8fafc;
border-color: #273a5c;
box-shadow: 0 14px 34px rgba(0, 0, 0, 0.48);
}
body.theme-dark .erp-toast-item__close:hover {
background: #1e2f4d;
color: #e2e8f0;
}
@keyframes erpToastIn {
from {
opacity: 0;
transform: translateY(-10px) scale(0.96);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
@media (max-width: 575.98px) {
#toast-region {
top: 64px;
right: 12px;
left: 12px;
align-items: stretch;
}
.erp-toast-item {
min-width: 0;
max-width: 100%;
}
}
.erp-nav__toolbar {
display: flex;
align-items: center;
gap: 6px;
min-height: 52px;
padding: 9px 10px;
border-top: 1px solid var(--border);
border-bottom: 0;
background: #ffffff;
flex-shrink: 0;
}
body.theme-dark .erp-nav__toolbar {
background: #0c1527;
border-top-color: #263858;
}
.erp-nav__filter-box {
position: relative;
flex: 1 1 auto;
min-width: 0;
display: flex;
align-items: center;
}
.erp-nav__filter-icon {
position: absolute;
left: 10px;
font-size: 11.5px;
color: #94a3b8;
pointer-events: none;
}
.erp-nav__filter-input {
width: 100%;
height: 32px;
min-height: 32px !important;
padding: 0 10px 0 28px;
border-radius: 8px;
border: 1px solid #e2e8f0;
background: #f8fafc;
color: #0f172a;
font-size: 12px !important;
font-weight: 500;
outline: none;
transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.erp-nav__filter-input::placeholder {
color: #94a3b8;
}
.erp-nav__filter-input:focus {
background: #ffffff;
border-color: var(--primary);
box-shadow: 0 0 0 2.5px rgba(47, 107, 234, 0.12);
}
body.theme-dark .erp-nav__filter-input {
background: #111e36;
border-color: #273a5c;
color: #f8fafc;
}
body.theme-dark .erp-nav__filter-input:focus {
background: #152542;
border-color: #6090f7;
}
.erp-nav__expand-btn {
height: 32px;
min-height: 32px !important;
padding: 0 9px;
border-radius: 8px;
border: 1px solid #e2e8f0;
background: #f8fafc;
color: #475569;
font-size: 11px;
font-weight: 700;
display: inline-flex;
align-items: center;
gap: 5px;
cursor: pointer;
flex-shrink: 0;
white-space: nowrap;
transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.erp-nav__expand-btn:hover {
background: #eff6ff;
border-color: #bfdbfe;
color: var(--primary);
}
.erp-nav__expand-btn.is-expanded-all {
background: #eff6ff;
border-color: #93c5fd;
color: var(--primary);
}
body.theme-dark .erp-nav__expand-btn {
background: #111e36;
border-color: #273a5c;
color: #94a3b8;
}
body.theme-dark .erp-nav__expand-btn:hover,
body.theme-dark .erp-nav__expand-btn.is-expanded-all {
background: rgba(78, 130, 242, 0.16);
border-color: rgba(96, 144, 247, 0.4);
color: #93c5fd;
}
.erp-nav {
padding: 10px 10px 12px;
}
.erp-nav__list {
display: flex;
flex-direction: column;
gap: 3px;
}
.erp-nav__group {
margin-bottom: 0;
}
.erp-nav__group-header {
width: 100%;
display: flex;
align-items: center;
gap: 10px;
padding: 6.5px 10px;
border: 1px solid transparent;
background: transparent;
color: #334155;
font-size: 13.5px;
font-weight: 600;
text-align: left;
border-radius: 10px;
cursor: pointer;
text-decoration: none;
transition: transform 0.16s ease, opacity 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.erp-nav__group-header:hover {
background: #eff6ff;
color: #2563eb;
}
.erp-nav__group-header.is-active {
background: #eff6ff;
border-color: #bfdbfe;
color: #2563eb;
font-weight: 700;
}
.erp-nav__icon {
width: 30px;
height: 30px;
border-radius: 8px;
background: #eff6ff;
color: #2563eb;
display: inline-flex;
justify-content: center;
align-items: center;
font-size: 13.5px;
flex-shrink: 0;
transition: transform 0.16s ease, opacity 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}
.erp-nav__group-header:hover .erp-nav__icon {
background: #dbeafe;
color: #1d4ed8;
}
.erp-nav__group-header.is-active .erp-nav__icon {
background: #2563eb;
color: #ffffff !important;
box-shadow: 0 3px 8px rgba(37, 99, 235, 0.24);
}
.erp-nav__group-title {
flex: 1;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
letter-spacing: -0.01em;
}
.erp-nav__arrow {
font-size: 10px;
color: #60a5fa;
transition: transform 0.2s ease, color 0.16s ease;
margin-left: auto;
display: inline-flex;
flex-shrink: 0;
}
.erp-nav__group.is-open > .erp-nav__group-header .erp-nav__arrow {
transform: rotate(90deg);
color: #2563eb;
}
.erp-nav__notice-badge,
.erp-nav__notice-badge--group {
margin-left: auto;
min-width: 20px;
height: 20px;
padding: 0 6px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
background: #dbeafe;
color: #2563eb;
font-size: 11px;
font-weight: 700;
line-height: 1;
box-shadow: none;
animation: none;
flex-shrink: 0;
}
.erp-nav__group-header.is-active .erp-nav__notice-badge--group,
.erp-nav__subitem.is-active .erp-nav__notice-badge {
background: #2563eb;
color: #ffffff;
}
.erp-nav__notice-badge[hidden],
.erp-nav__notice-badge--group[hidden] {
display: none !important;
}
.erp-nav__group-header .erp-nav__notice-badge--group + .erp-nav__arrow {
margin-left: 6px;
}
.erp-nav__submenu {
display: none;
padding: 4px 0 6px 12px;
margin-left: 24px;
margin-top: 2px;
border-left: 1.5px solid #e2e8f0;
flex-direction: column;
gap: 2px;
}
.erp-nav__group.is-open > .erp-nav__submenu {
display: flex;
}
.erp-nav__subitem {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 6.5px 10px;
color: #475569;
font-size: 13px;
font-weight: 500;
text-decoration: none;
border-radius: 8px;
transition: transform 0.14s ease, opacity 0.14s ease, background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease, box-shadow 0.14s ease;
line-height: 1.35;
}
.erp-nav__subitem:hover {
background: #f8fafc;
color: #0f172a;
}
.erp-nav__subitem.is-active {
background: #eff6ff;
color: #1d4ed8;
font-weight: 600;
}
.erp-nav__subicon {
width: 18px;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 12px;
color: #94a3b8;
flex-shrink: 0;
transition: color 0.15s ease;
}
.erp-nav__subitem:hover .erp-nav__subicon {
color: #475569;
}
.erp-nav__subitem.is-active .erp-nav__subicon {
color: #2563eb;
}
body.theme-dark .erp-nav__group-header {
color: #cbd5e1 !important;
}
body.theme-dark .erp-nav__group-header:hover {
background: rgba(255, 255, 255, 0.05) !important;
color: #f8fafc !important;
}
body.theme-dark .erp-nav__group-header.is-active {
background: rgba(37, 99, 235, 0.16) !important;
border-color: rgba(96, 165, 250, 0.25) !important;
color: #93c5fd !important;
border-left: 1px solid rgba(96, 165, 250, 0.25) !important;
}
body.theme-dark .erp-nav__icon {
background: #162238 !important;
color: #94a3b8 !important;
}
body.theme-dark .erp-nav__group-header:hover .erp-nav__icon {
background: #1e293b !important;
color: #e2e8f0 !important;
}
body.theme-dark .erp-nav__group-header.is-active .erp-nav__icon {
background: #2563eb !important;
color: #ffffff !important;
}
body.theme-dark .erp-nav__notice-badge,
body.theme-dark .erp-nav__notice-badge--group {
background: #1e293b;
color: #cbd5e1;
border: 1px solid #334155;
}
body.theme-dark .erp-nav__group-header.is-active .erp-nav__notice-badge--group,
body.theme-dark .erp-nav__subitem.is-active .erp-nav__notice-badge {
background: rgba(37, 99, 235, 0.28);
color: #93c5fd;
border-color: rgba(96, 165, 250, 0.35);
}
body.theme-dark .erp-nav__subicon {
color: #64748b;
}
body.theme-dark .erp-nav__subitem:hover .erp-nav__subicon,
body.theme-dark .erp-nav__subitem.is-active .erp-nav__subicon {
color: #8eb2ff;
}
.erp-nav__filter-empty {
padding: 24px 12px;
text-align: center;
color: #94a3b8;
font-size: 12.5px;
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
}
.erp-nav__filter-empty[hidden] {
display: none !important;
}
@media (min-width: 1200px) {
.erp-shell.sidebar-collapsed .erp-nav__toolbar,
.erp-shell.sidebar-collapsed .erp-nav__notice-badge--group {
display: none !important;
}
}
body:not(.theme-dark) .erp-sidebar {
--menu-bg: #2563eb;
background: var(--menu-bg) !important;
border-right: 0;
box-shadow: 4px 0 18px rgba(37, 99, 235, 0.18);
}
body:not(.theme-dark) .erp-sidebar__brand,
body:not(.theme-dark) .erp-sidebar__foot {
border-color: rgba(255, 255, 255, 0.18);
}
body:not(.theme-dark) .erp-sidebar .brand__copy strong { color: #fff; }
body:not(.theme-dark) .erp-sidebar .brand__copy small { color: #bfdbfe; }
body:not(.theme-dark) .erp-sidebar .brand__mark { border-color: transparent; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18); }
body:not(.theme-dark) .erp-sidebar .erp-nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.35); }
body:not(.theme-dark) .erp-sidebar .erp-nav { scrollbar-color: rgba(255, 255, 255, 0.35) transparent; }
body:not(.theme-dark) .erp-sidebar .erp-nav__top-label { color: #bfdbfe; }
body:not(.theme-dark) .erp-sidebar .erp-nav__group-header { color: #fff; }
body:not(.theme-dark) .erp-sidebar .erp-nav__group-header:hover {
background: rgba(255, 255, 255, 0.14);
color: #fff;
}
body:not(.theme-dark) .erp-sidebar .erp-nav__group-header.is-active {
background: #fff;
border-color: #fff;
color: #2563eb;
box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
}
body:not(.theme-dark) .erp-sidebar .erp-nav__icon {
background: rgba(255, 255, 255, 0.16);
color: #fff;
}
body:not(.theme-dark) .erp-sidebar .erp-nav__group-header:hover .erp-nav__icon {
background: rgba(255, 255, 255, 0.26);
color: #fff;
}
body:not(.theme-dark) .erp-sidebar .erp-nav__group-header.is-active .erp-nav__icon {
background: #2563eb;
color: #fff !important;
box-shadow: none;
}
body:not(.theme-dark) .erp-sidebar .erp-nav__arrow { color: rgba(255, 255, 255, 0.7); }
body:not(.theme-dark) .erp-sidebar .erp-nav__group.is-open > .erp-nav__group-header .erp-nav__arrow { color: #fff; }
body:not(.theme-dark) .erp-sidebar .erp-nav__group-header.is-active .erp-nav__arrow { color: #2563eb; }
body:not(.theme-dark) .erp-sidebar .erp-nav__notice-badge,
body:not(.theme-dark) .erp-sidebar .erp-nav__notice-badge--group {
background: rgba(255, 255, 255, 0.24);
color: #fff;
}
body:not(.theme-dark) .erp-sidebar .erp-nav__group-header.is-active .erp-nav__notice-badge--group,
body:not(.theme-dark) .erp-sidebar .erp-nav__subitem.is-active .erp-nav__notice-badge {
background: #2563eb;
color: #fff;
}
body:not(.theme-dark) .erp-sidebar .erp-nav__submenu { border-left-color: rgba(255, 255, 255, 0.32); }
body:not(.theme-dark) .erp-sidebar .erp-nav__subitem { color: rgba(255, 255, 255, 0.92); }
body:not(.theme-dark) .erp-sidebar .erp-nav__subitem:hover {
background: rgba(255, 255, 255, 0.14);
color: #fff;
}
body:not(.theme-dark) .erp-sidebar .erp-nav__subitem.is-active {
background: #fff;
color: #2563eb;
font-weight: 700;
}
body:not(.theme-dark) .erp-sidebar .erp-nav__filter-input {
background: rgba(255, 255, 255, 0.16);
border-color: rgba(255, 255, 255, 0.28);
color: #fff;
}
body:not(.theme-dark) .erp-sidebar .erp-nav__filter-input::placeholder { color: rgba(255, 255, 255, 0.75); }
body:not(.theme-dark) .erp-sidebar .erp-nav__filter-input:focus {
background: rgba(255, 255, 255, 0.24);
border-color: #fff;
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}
body:not(.theme-dark) .erp-sidebar .erp-nav__filter-icon { color: rgba(255, 255, 255, 0.8); }
body:not(.theme-dark) .erp-sidebar .erp-nav__expand-btn {
background: rgba(255, 255, 255, 0.16);
border-color: rgba(255, 255, 255, 0.28);
color: #fff;
}
body:not(.theme-dark) .erp-sidebar .erp-nav__expand-btn:hover { background: rgba(255, 255, 255, 0.26); color: #fff; }
body:not(.theme-dark) .erp-sidebar .erp-sidebar__user-banner {
background: rgba(255, 255, 255, 0.14);
border-color: rgba(255, 255, 255, 0.28);
}
body:not(.theme-dark) .erp-sidebar .erp-sidebar__user-name { color: #fff; }
body:not(.theme-dark) .erp-sidebar .erp-sidebar__user-role { color: #dbeafe; }
body:not(.theme-dark) .erp-sidebar .erp-sidebar__close-btn { color: #fff; border-color: rgba(255, 255, 255, 0.35); background: transparent; }
body:not(.theme-dark) .erp-sidebar .erp-nav__toolbar {
background: #1d4ed8;
border-top-color: rgba(255, 255, 255, 0.18);
}
body:not(.theme-dark) .erp-sidebar .erp-nav__subicon { color: rgba(255, 255, 255, 0.85); }
body:not(.theme-dark) .erp-sidebar .erp-nav__subitem:hover .erp-nav__subicon { color: #fff; }
body:not(.theme-dark) .erp-sidebar .erp-nav__subitem.is-active .erp-nav__subicon { color: #2563eb; }
.topbar-button--theme,
.topbar-button--theme.claw-toggle-wrapper,
.topbar-button--theme.dride-theme-switch {
position: relative !important;
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
width: 62px !important;
height: 36px !important;
min-width: 62px !important;
padding: 0 !important;
border: none !important;
background: transparent !important;
box-shadow: none !important;
cursor: pointer !important;
outline: none !important;
user-select: none !important;
-webkit-tap-highlight-color: transparent !important;
transition: transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1) !important;
}
.topbar-button--theme:hover {
transform: translateY(-1px) scale(1.02);
}
.topbar-button--theme:active {
transform: translateY(0) scale(0.96);
}
.topbar-button--theme:focus-visible {
outline: 2px solid #2563eb !important;
outline-offset: 3px !important;
border-radius: 999px !important;
}
.theme-switch-track {
position: relative;
display: block;
width: 58px;
height: 30px;
border-radius: 999px;
overflow: hidden;
box-sizing: border-box;
background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
border: 1px solid rgba(255, 255, 255, 0.45);
box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(37, 99, 235, 0.15);
transition: background 0.45s cubic-bezier(0.4, 0, 0.2, 1),
border-color 0.45s ease,
box-shadow 0.45s ease;
}
body.theme-dark .theme-switch-track {
background: linear-gradient(135deg, #090d16 0%, #1e1b4b 60%, #312e81 100%);
border-color: rgba(147, 197, 253, 0.22);
box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.35);
}
.theme-switch-sky {
position: absolute;
inset: 0;
pointer-events: none;
overflow: hidden;
border-radius: inherit;
}
.theme-sky-clouds {
position: absolute;
inset: 0;
opacity: 1;
transform: translateY(0);
transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
}
body.theme-dark .theme-sky-clouds {
opacity: 0;
transform: translateY(10px);
}
.theme-cloud {
position: absolute;
background: rgba(255, 255, 255, 0.88);
border-radius: 999px;
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}
.theme-cloud.cloud-1 {
width: 15px;
height: 6px;
right: 9px;
top: 8px;
animation: theme-cloud-float 3.5s ease-in-out infinite alternate;
}
.theme-cloud.cloud-1::before {
content: '';
position: absolute;
width: 8px;
height: 8px;
top: -4px;
left: 3px;
background: inherit;
border-radius: 50%;
}
.theme-cloud.cloud-2 {
width: 11px;
height: 5px;
right: 17px;
top: 17px;
opacity: 0.75;
animation: theme-cloud-float 4.2s ease-in-out infinite alternate-reverse;
}
.theme-cloud.cloud-2::before {
content: '';
position: absolute;
width: 6px;
height: 6px;
top: -3px;
left: 2px;
background: inherit;
border-radius: 50%;
}
@keyframes theme-cloud-float {
0% { transform: translateX(0); }
100% { transform: translateX(-3px); }
}
.theme-sky-stars {
position: absolute;
inset: 0;
opacity: 0;
transform: translateY(-8px);
transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
}
body.theme-dark .theme-sky-stars {
opacity: 1;
transform: translateY(0);
}
.theme-star {
position: absolute;
background: #ffffff;
border-radius: 50%;
box-shadow: 0 0 4px #93c5fd, 0 0 6px #60a5fa;
animation: theme-star-twinkle 2.2s infinite ease-in-out alternate;
}
.theme-star.star-1 {
width: 3px;
height: 3px;
left: 10px;
top: 7px;
animation-delay: 0s;
}
.theme-star.star-2 {
width: 2px;
height: 2px;
left: 19px;
top: 19px;
animation-delay: 0.7s;
}
.theme-star.star-3 {
width: 2.5px;
height: 2.5px;
left: 14px;
top: 13px;
animation-delay: 1.3s;
}
@keyframes theme-star-twinkle {
0% { opacity: 0.35; transform: scale(0.75); }
50% { opacity: 1; transform: scale(1.2); }
100% { opacity: 0.55; transform: scale(0.9); }
}
.theme-switch-thumb {
position: absolute;
top: 3px;
left: 3px;
width: 24px;
height: 24px;
border-radius: 50%;
display: grid;
place-items: center;
background: #ffffff;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22), 0 0 8px rgba(245, 158, 11, 0.4);
transform: translateX(0) rotate(0deg);
transition: transform 0.45s cubic-bezier(0.34, 1.45, 0.64, 1),
background 0.35s ease,
box-shadow 0.35s ease;
z-index: 2;
}
body.theme-dark .theme-switch-thumb {
transform: translateX(28px) rotate(360deg);
background: #1e293b;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45), 0 0 10px rgba(96, 165, 250, 0.45);
}
.theme-icon-sun {
position: absolute;
display: grid;
place-items: center;
opacity: 1;
transform: scale(1) rotate(0deg);
transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.topbar-button--theme:hover .theme-icon-sun {
transform: scale(1.12) rotate(20deg);
}
body.theme-dark .theme-icon-sun {
opacity: 0;
transform: scale(0.2) rotate(120deg);
pointer-events: none;
}
.theme-icon-moon {
position: absolute;
display: grid;
place-items: center;
opacity: 0;
transform: scale(0.2) rotate(-120deg);
transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.topbar-button--theme:hover .theme-icon-moon {
transform: scale(1.12) rotate(-15deg);
}
body.theme-dark .theme-icon-moon {
opacity: 1;
transform: scale(1) rotate(0deg);
}
.claw-machine-wrapper,
.claw-toggle-core,
.claw-toggle-slot,
.claw-toggle-track {
display: none !important;
}
/* responsive-fixes.css */
:where(
.task-modal-center,
.ct-modal,
.veh-modal-dialog,
.fin-modal,
.sos-modal,
.pay-drawer,
.rnt-drawer
) {
max-width: calc(100vw - 32px);
min-width: 0;
box-sizing: border-box;
}
:where(
.task-modal-body,
.ct-modal-body,
.veh-modal-body,
.fin-modal__body,
.pay-drawer-body,
.rnt-drawer-body
) {
min-width: 0;
overflow-x: hidden;
overscroll-behavior: contain;
}
:where(
.task-form-grid,
.ct-form-grid,
.ct-party-grid,
.veh-form-grid,
.fin-form-row,
.sos-form,
.sos-detail,
.pay-form-grid
) {
min-width: 0;
}
:where(
.task-form-grid,
.ct-form-grid,
.ct-party-grid,
.fin-form-row,
.sos-form,
.sos-detail,
.pay-form-grid
) {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
:where(.veh-form-grid) {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
:where(.task-form-grid, .ct-form-grid, .veh-form-grid, .fin-form-row, .sos-form, .pay-form-grid)
> label,
:where(.task-form-grid, .ct-form-grid, .veh-form-grid, .fin-form-row, .sos-form, .pay-form-grid)
> div {
min-width: 0;
}
:where(
.task-form-grid,
.ct-form-grid,
.veh-form-grid,
.fin-form-row,
.sos-form,
.pay-form-grid,
.pay-drawer-body,
.rnt-form
)
:where(input:not([type='checkbox']):not([type='radio']), select, textarea) {
width: 100%;
max-width: 100%;
min-width: 0;
box-sizing: border-box;
}
:where(.task-form-grid, .ct-form-grid, .veh-form-grid, .fin-form-row, .sos-form, .pay-form-grid)
input[type='checkbox'],
:where(.task-form-grid, .ct-form-grid, .veh-form-grid, .fin-form-row, .sos-form, .pay-form-grid)
input[type='radio'] {
width: auto !important;
max-width: none !important;
min-width: auto !important;
cursor: pointer;
}
:where(.task-modal-head, .ct-modal-head, .veh-modal-head, .fin-modal__head, .sos-modal-head),
:where(
.task-modal-foot,
.ct-modal-foot,
.veh-modal-foot,
.fin-modal__foot,
.pay-drawer-foot,
.rnt-drawer-foot
) {
min-width: 0;
flex: 0 0 auto;
}
:where(
.task-modal-foot,
.ct-modal-foot,
.veh-modal-foot,
.fin-modal__foot,
.pay-drawer-foot,
.rnt-drawer-foot
) {
flex-wrap: wrap;
}
@media (max-width: 1000px) {
.veh-form-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 800px) {
:where(
.task-form-grid,
.ct-form-grid,
.ct-party-grid,
.fin-form-row,
.sos-form,
.sos-detail,
.pay-form-grid,
.veh-form-grid
) {
grid-template-columns: minmax(0, 1fr);
}
:where(.task-form-grid, .ct-form-grid, .sos-form) > .wide,
:where(.task-form-grid, .ct-form-grid, .sos-form) > .full {
grid-column: auto;
}
}
@media (max-width: 600px) {
:where(.modal-backdrop-custom, .ct-backdrop, .veh-modal-backdrop, .fin-modal-backdrop) {
padding: 0;
}
:where(.task-modal-center, .ct-modal, .ct-modal.wide, .veh-modal-dialog, .fin-modal, .sos-modal) {
width: 100vw !important;
max-width: 100vw;
max-height: 100dvh;
border-radius: 0;
}
}
@media (max-width: 375px) {
.erp-content { padding-inline: 10px; }
:where(button, .button, .rnt-btn, .fin-btn) { min-height: 44px; }
:where(.table-responsive, .rnt-table-wrap, .fin-table-wrap) { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
}
@media (min-width: 376px) and (max-width: 768px) {
.erp-content { padding-inline: 14px; }
:where(.kpi-grid, .dashboard-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 769px) and (max-width: 1024px) {
.erp-content { min-width: 0; }
:where(.kpi-grid, .dashboard-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* design-system.css */
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
font-size: 16px;
-webkit-text-size-adjust: 100%;
scroll-behavior: smooth;
}
body {
margin: 0;
font-family: var(--font-sans);
font-size: var(--text-base);
line-height: var(--leading-normal);
color: var(--color-text-primary);
background-color: var(--color-bg-canvas);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-display);
color: var(--color-text-primary);
letter-spacing: -0.02em;
line-height: var(--leading-tight);
}
a {
color: var(--color-brand);
text-decoration: none;
transition: color var(--duration-fast) var(--ease-in-out);
}
a:hover {
color: var(--color-brand-hover);
}
button,
input,
select,
textarea {
font-family: inherit;
}
.skip-link {
position: absolute;
top: -100px;
left: 16px;
z-index: 10000;
padding: 8px 16px;
background: var(--color-brand);
color: #ffffff;
border-radius: var(--radius-sm);
font-weight: 600;
font-size: 13px;
transition: top 0.2s ease;
}
.skip-link:focus {
top: 12px;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(148, 163, 184, 0.4);
border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(100, 116, 139, 0.65);
}
.btn{
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
height: 36px;
padding: 0 14px;
border-radius: var(--radius-sm);
font-size: 13px;
font-weight: 600;
line-height: 1;
border: 1px solid transparent;
cursor: pointer;
white-space: nowrap;
user-select: none;
transition:
background-color var(--duration-fast) var(--ease-in-out),
border-color var(--duration-fast) var(--ease-in-out),
color var(--duration-fast) var(--ease-in-out),
box-shadow var(--duration-fast) var(--ease-in-out),
transform var(--duration-fast) var(--ease-out);
}
.btn:focus-visible{
outline: none;
box-shadow: 0 0 0 3px var(--color-focus-ring);
}
.btn:disabled{
opacity: 0.55;
cursor: not-allowed;
pointer-events: none;
transform: none !important;
box-shadow: none !important;
}
.btn-sm{
height: 32px;
padding: 0 11px;
font-size: 12.5px;
border-radius: 7px;
gap: 6px;
}
.btn-primary{
background-color: var(--color-primary-600);
border-color: var(--color-primary-600);
color: #ffffff;
box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}
.btn-primary:hover:not(:disabled){
background-color: var(--color-primary-700);
border-color: var(--color-primary-700);
color: #ffffff;
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.btn-success{
background-color: var(--color-success-600);
border-color: var(--color-success-600);
color: #ffffff;
box-shadow: 0 1px 2px rgba(5, 150, 105, 0.2);
}
.btn-success:hover:not(:disabled){
background-color: var(--color-success-700);
border-color: var(--color-success-700);
color: #ffffff;
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
}
.btn-danger{
background-color: var(--color-danger-600);
border-color: var(--color-danger-600);
color: #ffffff;
}
.btn-danger:hover:not(:disabled){
background-color: var(--color-danger-700);
border-color: var(--color-danger-700);
color: #ffffff;
transform: translateY(-1px);
box-shadow: 0 4px 10px rgba(220, 38, 38, 0.24);
}
.btn-outline,
.btn-secondary{
background-color: var(--color-bg-surface);
border-color: var(--color-border);
color: var(--color-text-secondary);
box-shadow: var(--shadow-xs);
}
.btn-outline:hover:not(:disabled),
.btn-secondary:hover:not(:disabled){
background-color: var(--color-bg-subtle);
border-color: var(--color-border-strong);
color: var(--color-text-primary);
}
.btn-ghost{
background-color: transparent;
border-color: transparent;
color: var(--color-text-muted);
box-shadow: none;
}
.btn-ghost:hover:not(:disabled){
background-color: var(--color-bg-muted);
color: var(--color-text-primary);
}
.badge{
display: inline-flex;
align-items: center;
gap: 5px;
padding: 4px 10px;
border-radius: var(--radius-full);
font-size: 11.5px;
font-weight: 600;
line-height: 1.2;
white-space: nowrap;
border: 1px solid transparent;
}
.badge-success{
background-color: var(--color-success-50);
color: var(--color-success-700);
border-color: var(--color-success-200);
}
.badge-warning{
background-color: var(--color-warning-50);
color: var(--color-warning-700);
border-color: var(--color-warning-200);
}
.badge-danger{
background-color: var(--color-danger-50);
color: var(--color-danger-700);
border-color: var(--color-danger-200);
}
.badge-neutral{
background-color: var(--color-neutral-100);
color: var(--color-neutral-600);
border-color: var(--color-neutral-200);
}
.erp-ops-alert {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
padding: 11px 16px;
margin-bottom: 16px;
background: var(--color-bg-surface);
border: 1px solid #fecdd3;
border-left: 3.5px solid #e11d48;
border-radius: 12px;
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.erp-ops-alert__icon {
width: 34px;
height: 34px;
border-radius: 9px;
background: #fff1f2;
color: #e11d48;
display: grid;
place-items: center;
font-size: 14px;
flex-shrink: 0;
}
.erp-ops-alert__body {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 2px;
}
.erp-ops-alert__body strong {
font-size: 13px;
font-weight: 700;
color: var(--color-text-primary);
line-height: 1.35;
}
.erp-ops-alert__body span {
font-size: 12.5px;
color: var(--color-text-muted);
line-height: 1.4;
}
.erp-ops-alert__body b {
color: #e11d48;
font-weight: 700;
}
.erp-ops-alert__actions {
display: flex;
align-items: center;
gap: 8px;
flex-shrink: 0;
flex-wrap: wrap;
}
.erp-ops-alert__btn {
display: inline-flex;
align-items: center;
gap: 6px;
height: 32px;
padding: 0 12px;
border-radius: 8px;
background: #fff1f2;
border: 1px solid #fecdd3;
color: #be123c;
font-size: 12px;
font-weight: 600;
cursor: pointer;
white-space: nowrap;
transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.erp-ops-alert__btn:hover {
background: #e11d48;
border-color: #e11d48;
color: #ffffff;
}
body.theme-dark .erp-ops-alert {
background: rgba(30, 41, 59, 0.85);
border-color: rgba(244, 63, 94, 0.28);
border-left-color: #f43f5e;
}
body.theme-dark .erp-ops-alert__icon {
background: rgba(244, 63, 94, 0.15);
color: #fb7185;
}
body.theme-dark .erp-ops-alert__body b {
color: #fb7185;
}
body.theme-dark .erp-ops-alert__btn {
background: rgba(244, 63, 94, 0.14);
border-color: rgba(244, 63, 94, 0.3);
color: #fda4af;
}
body.theme-dark .erp-ops-alert__btn:hover {
background: #e11d48;
border-color: #e11d48;
color: #ffffff;
}
@media (max-width: 768px) {
.erp-ops-alert {
flex-direction: column;
align-items: flex-start;
}
.erp-ops-alert__actions {
width: 100%;
}
}
@keyframes erpDialogFadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes erpDialogPop {
from {
opacity: 0;
transform: translateY(10px) scale(0.97);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
.toast-region {
position: fixed;
top: 76px;
right: 20px;
z-index: 9999;
display: flex;
flex-direction: column;
gap: 10px;
pointer-events: none;
max-width: 380px;
}
.erp-toast {
pointer-events: auto;
display: flex;
align-items: center;
gap: 10px;
padding: 12px 16px;
border-radius: 12px;
background: var(--color-bg-surface);
border: 1px solid var(--color-border);
box-shadow: var(--shadow-lg);
font-size: 13px;
font-weight: 600;
color: var(--color-text-primary);
animation: erpDialogPop 0.22s var(--ease-out);
}
/* kpi-system.css */
:root {
--kpi-bg: #ffffff;
--kpi-border: #e2e8f0;
--kpi-border-hover: #cbd5e1;
--kpi-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
--kpi-shadow-hover: 0 10px 24px -6px rgba(15, 23, 42, 0.07), 0 4px 10px -4px rgba(15, 23, 42, 0.04);
--kpi-radius: 14px;
--kpi-title-color: #64748b;
--kpi-value-color: #0f172a;
--kpi-meta-color: #64748b;
--kpi-blue-bg: #eff6ff;
--kpi-blue-fg: #2563eb;
--kpi-blue-border: #dbeafe;
--kpi-green-bg: #ecfdf5;
--kpi-green-fg: #059669;
--kpi-green-border: #d1fae5;
--kpi-amber-bg: #fffbeb;
--kpi-amber-fg: #d97706;
--kpi-amber-border: #fef3c7;
--kpi-red-bg: #fef2f2;
--kpi-red-fg: #dc2626;
--kpi-red-border: #fee2e2;
--kpi-purple-bg: #f5f3ff;
--kpi-purple-fg: #7c3aed;
--kpi-purple-border: #ede9fe;
--kpi-teal-bg: #f0fdfa;
--kpi-teal-fg: #0d9488;
--kpi-teal-border: #ccfbf1;
--kpi-cyan-bg: #f0f9ff;
--kpi-cyan-fg: #0284c7;
--kpi-cyan-border: #e0f2fe;
--kpi-slate-bg: #f1f5f9;
--kpi-slate-fg: #475569;
--kpi-slate-border: #e2e8f0;
}
body.theme-dark {
--kpi-bg: #111827;
--kpi-border: rgba(148, 163, 184, 0.16);
--kpi-border-hover: rgba(96, 165, 250, 0.35);
--kpi-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
--kpi-shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.45);
--kpi-title-color: #94a3b8;
--kpi-value-color: #f8fafc;
--kpi-meta-color: #94a3b8;
--kpi-blue-bg: rgba(37, 99, 235, 0.16);
--kpi-blue-fg: #60a5fa;
--kpi-blue-border: rgba(59, 130, 246, 0.28);
--kpi-green-bg: rgba(16, 185, 129, 0.16);
--kpi-green-fg: #34d399;
--kpi-green-border: rgba(16, 185, 129, 0.28);
--kpi-amber-bg: rgba(245, 158, 11, 0.16);
--kpi-amber-fg: #fbbf24;
--kpi-amber-border: rgba(245, 158, 11, 0.28);
--kpi-red-bg: rgba(239, 68, 68, 0.16);
--kpi-red-fg: #f87171;
--kpi-red-border: rgba(239, 68, 68, 0.28);
--kpi-purple-bg: rgba(139, 92, 246, 0.16);
--kpi-purple-fg: #a78bfa;
--kpi-purple-border: rgba(139, 92, 246, 0.28);
--kpi-teal-bg: rgba(20, 184, 166, 0.16);
--kpi-teal-fg: #2dd4bf;
--kpi-teal-border: rgba(20, 184, 166, 0.28);
--kpi-cyan-bg: rgba(14, 165, 233, 0.16);
--kpi-cyan-fg: #38bdf8;
--kpi-cyan-border: rgba(14, 165, 233, 0.28);
--kpi-slate-bg: rgba(148, 163, 184, 0.14);
--kpi-slate-fg: #cbd5e1;
--kpi-slate-border: rgba(148, 163, 184, 0.24);
}
:where(
.kpi-grid,
.dashboard-kpi-grid,
.rnt-kpis,
.cal-kpis,
.ho-kpis,
.qtl-kpis,
.ct-kpis,
.veh-kpis,
.vc-kpis,
.acc-kpis,
.sos-kpis,
.trk-kpis,
.ai-kpis,
.cus-kpi-grid,
.fin-kpi-grid,
.emp-kpi-grid,
.us-kpi-grid,
.st-kpi-grid,
.pay-kpis,
.audit-stats,
.task-kpis
) {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
margin-bottom: 16px;
}
:where(
.kpi-card,
.rnt-kpis > div,
.rnt-kpi,
.cal-kpis > div,
.ho-kpis > div,
.qtl-kpis > div,
.qtl-kpi-card,
.ct-kpis > div,
.veh-kpis > div,
.vc-kpis > div,
.acc-kpis > div,
.sos-kpis > div,
.trk-kpis > div,
.ai-kpis > div,
.cus-kpi-card,
.fin-kpi-card,
.emp-kpi-card,
.us-kpi-card,
.st-kpi-card,
.pay-kpis > div,
.audit-stat,
.task-kpis > div,
.workspace-kpi-card
) {
position: relative;
background: var(--kpi-bg) !important;
border: 1px solid var(--kpi-border) !important;
border-top: 1px solid var(--kpi-border) !important;
border-radius: var(--kpi-radius) !important;
padding: 16px 18px !important;
box-shadow: var(--kpi-shadow) !important;
transition:
transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1),
border-color 0.18s ease !important;
overflow: hidden;
min-width: 0;
}
:where(
.kpi-card,
.rnt-kpis > div,
.rnt-kpi,
.cal-kpis > div,
.ho-kpis > div,
.qtl-kpis > div,
.qtl-kpi-card,
.ct-kpis > div,
.veh-kpis > div,
.vc-kpis > div,
.acc-kpis > div,
.sos-kpis > div,
.trk-kpis > div,
.ai-kpis > div,
.cus-kpi-card,
.fin-kpi-card,
.emp-kpi-card,
.us-kpi-card,
.st-kpi-card,
.pay-kpis > div,
.audit-stat,
.task-kpis > div,
.workspace-kpi-card
)::before {
display: none !important;
content: none !important;
}
:where(
.kpi-card,
.rnt-kpis > div,
.rnt-kpi,
.cal-kpis > div,
.ho-kpis > div,
.qtl-kpis > div,
.qtl-kpi-card,
.ct-kpis > div,
.veh-kpis > div,
.vc-kpis > div,
.acc-kpis > div,
.sos-kpis > div,
.trk-kpis > div,
.ai-kpis > div,
.cus-kpi-card,
.fin-kpi-card,
.emp-kpi-card,
.us-kpi-card,
.st-kpi-card,
.pay-kpis > div,
.audit-stat,
.task-kpis > div,
.workspace-kpi-card
):hover {
transform: translateY(-2px);
border-color: var(--kpi-border-hover) !important;
box-shadow: var(--kpi-shadow-hover) !important;
}
.kpi-card {
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 10px;
}
:where(
.rnt-kpis > div,
.cal-kpis > div,
.ho-kpis > div,
.qtl-kpis > div,
.ct-kpis > div,
.veh-kpis > div,
.vc-kpis > div,
.acc-kpis > div,
.sos-kpis > div,
.trk-kpis > div,
.ai-kpis > div,
.pay-kpis > div,
.audit-stat,
.task-kpis > div
) {
display: flex;
align-items: center;
gap: 14px;
}
:where(
.rnt-kpis > div > i,
.cal-kpis > div > i,
.ho-kpis > div > i,
.qtl-kpis > div > i,
.ct-kpis > div > i,
.veh-kpis > div > i,
.vc-kpis > div > i,
.acc-kpis > div > i,
.sos-kpis > div > i,
.trk-kpis > div > i,
.ai-kpis > div > i,
.pay-kpis > div > i,
.audit-stat > i,
.task-kpis > div > i,
.cus-kpi-icon,
.fin-kpi-icon,
.emp-kpi-icon,
.us-kpi-icon,
.st-kpi-icon
) {
width: 44px !important;
height: 44px !important;
border-radius: 11px !important;
display: grid !important;
place-items: center !important;
font-size: 18px !important;
flex-shrink: 0 !important;
background: var(--kpi-blue-bg);
color: var(--kpi-blue-fg);
border: 1px solid var(--kpi-blue-border);
transition: transform 0.18s ease;
}
:where(
.rnt-kpis > div > i,
.cal-kpis > div > i,
.ho-kpis > div > i,
.qtl-kpis > div > i,
.ct-kpis > div > i,
.veh-kpis > div > i,
.vc-kpis > div > i,
.acc-kpis > div > i,
.sos-kpis > div > i,
.trk-kpis > div > i,
.ai-kpis > div > i,
.pay-kpis > div > i,
.audit-stat > i,
.task-kpis > div > i,
.cus-kpi-icon,
.fin-kpi-icon,
.emp-kpi-icon,
.us-kpi-icon,
.st-kpi-icon
):is(.blue, .primary, .cus-kpi-icon--blue, .emp-kpi-icon--blue, .us-kpi-icon--blue, .st-kpi-icon--blue) {
background: var(--kpi-blue-bg) !important;
color: var(--kpi-blue-fg) !important;
border-color: var(--kpi-blue-border) !important;
}
:where(
.rnt-kpis > div > i,
.cal-kpis > div > i,
.ho-kpis > div > i,
.qtl-kpis > div > i,
.ct-kpis > div > i,
.veh-kpis > div > i,
.vc-kpis > div > i,
.acc-kpis > div > i,
.sos-kpis > div > i,
.trk-kpis > div > i,
.ai-kpis > div > i,
.pay-kpis > div > i,
.audit-stat > i,
.task-kpis > div > i,
.cus-kpi-icon,
.fin-kpi-icon,
.emp-kpi-icon,
.us-kpi-icon,
.st-kpi-icon
):is(.green, .emerald, .success, .cus-kpi-icon--green, .emp-kpi-icon--green, .us-kpi-icon--green, .st-kpi-icon--green) {
background: var(--kpi-green-bg) !important;
color: var(--kpi-green-fg) !important;
border-color: var(--kpi-green-border) !important;
}
:where(
.rnt-kpis > div > i,
.cal-kpis > div > i,
.ho-kpis > div > i,
.qtl-kpis > div > i,
.ct-kpis > div > i,
.veh-kpis > div > i,
.vc-kpis > div > i,
.acc-kpis > div > i,
.sos-kpis > div > i,
.trk-kpis > div > i,
.ai-kpis > div > i,
.pay-kpis > div > i,
.audit-stat > i,
.task-kpis > div > i,
.cus-kpi-icon,
.fin-kpi-icon,
.emp-kpi-icon,
.us-kpi-icon,
.st-kpi-icon
):is(.amber, .orange, .warning, .cus-kpi-icon--amber, .emp-kpi-icon--amber, .emp-kpi-icon--orange) {
background: var(--kpi-amber-bg) !important;
color: var(--kpi-amber-fg) !important;
border-color: var(--kpi-amber-border) !important;
}
:where(
.rnt-kpis > div > i,
.cal-kpis > div > i,
.ho-kpis > div > i,
.qtl-kpis > div > i,
.ct-kpis > div > i,
.veh-kpis > div > i,
.vc-kpis > div > i,
.acc-kpis > div > i,
.sos-kpis > div > i,
.trk-kpis > div > i,
.ai-kpis > div > i,
.pay-kpis > div > i,
.audit-stat > i,
.task-kpis > div > i,
.cus-kpi-icon,
.fin-kpi-icon,
.emp-kpi-icon,
.us-kpi-icon,
.st-kpi-icon
):is(.red, .rose, .danger, .cus-kpi-icon--red, .emp-kpi-icon--red, .us-kpi-icon--red, .st-kpi-icon--red) {
background: var(--kpi-red-bg) !important;
color: var(--kpi-red-fg) !important;
border-color: var(--kpi-red-border) !important;
}
:where(
.rnt-kpis > div > i,
.cal-kpis > div > i,
.ho-kpis > div > i,
.qtl-kpis > div > i,
.ct-kpis > div > i,
.veh-kpis > div > i,
.vc-kpis > div > i,
.acc-kpis > div > i,
.sos-kpis > div > i,
.trk-kpis > div > i,
.ai-kpis > div > i,
.pay-kpis > div > i,
.audit-stat > i,
.task-kpis > div > i,
.cus-kpi-icon,
.fin-kpi-icon,
.emp-kpi-icon,
.us-kpi-icon,
.st-kpi-icon
):is(.purple, .indigo, .violet, .cus-kpi-icon--purple, .emp-kpi-icon--purple, .us-kpi-icon--purple, .st-kpi-icon--purple) {
background: var(--kpi-purple-bg) !important;
color: var(--kpi-purple-fg) !important;
border-color: var(--kpi-purple-border) !important;
}
:where(
.rnt-kpis > div > i,
.cal-kpis > div > i,
.ho-kpis > div > i,
.qtl-kpis > div > i,
.ct-kpis > div > i,
.veh-kpis > div > i,
.vc-kpis > div > i,
.acc-kpis > div > i,
.sos-kpis > div > i,
.trk-kpis > div > i,
.ai-kpis > div > i,
.pay-kpis > div > i,
.audit-stat > i,
.task-kpis > div > i,
.cus-kpi-icon,
.fin-kpi-icon,
.emp-kpi-icon,
.us-kpi-icon,
.st-kpi-icon
):is(.teal, .cyan, .info) {
background: var(--kpi-teal-bg) !important;
color: var(--kpi-teal-fg) !important;
border-color: var(--kpi-teal-border) !important;
}
.audit-stat.success > i {
background: var(--kpi-green-bg) !important;
color: var(--kpi-green-fg) !important;
border-color: var(--kpi-green-border) !important;
}
.audit-stat.warning > i {
background: var(--kpi-amber-bg) !important;
color: var(--kpi-amber-fg) !important;
border-color: var(--kpi-amber-border) !important;
}
.audit-stat.danger > i {
background: var(--kpi-red-bg) !important;
color: var(--kpi-red-fg) !important;
border-color: var(--kpi-red-border) !important;
}
:where(
.rnt-kpis > div > span,
.cal-kpis > div > span,
.ho-kpis > div > span,
.qtl-kpis > div > span,
.ct-kpis > div > span,
.veh-kpis > div > span,
.vc-kpis > div > span,
.acc-kpis > div > span,
.sos-kpis > div > span,
.trk-kpis > div > span,
.ai-kpis > div > span,
.pay-kpis > div > span,
.audit-stat > span,
.task-kpis > div > span
) {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
flex: 1;
font-size: 12.5px !important;
font-weight: 600 !important;
color: var(--kpi-title-color) !important;
text-transform: none !important;
letter-spacing: -0.005em !important;
}
:where(
.rnt-kpis > div strong,
.cal-kpis > div strong,
.ho-kpis > div strong,
.qtl-kpis > div strong,
.ct-kpis > div strong,
.veh-kpis > div strong,
.vc-kpis > div strong,
.acc-kpis > div strong,
.sos-kpis > div strong,
.trk-kpis > div strong,
.ai-kpis > div strong,
.pay-kpis > div strong,
.audit-stat strong,
.task-kpis > div strong,
.cus-kpi-value,
.fin-kpi-value,
.emp-kpi-value,
.us-kpi-value,
.st-kpi-value
) {
display: block;
font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
font-size: 22px !important;
font-weight: 800 !important;
color: var(--kpi-value-color) !important;
line-height: 1.2 !important;
letter-spacing: -0.02em !important;
font-variant-numeric: tabular-nums;
margin-top: 1px;
}
:where(
.rnt-kpis > div small,
.cal-kpis > div small,
.ho-kpis > div small,
.qtl-kpis > div small,
.ct-kpis > div small,
.veh-kpis > div small,
.vc-kpis > div small,
.acc-kpis > div small,
.sos-kpis > div small,
.trk-kpis > div small,
.ai-kpis > div small,
.pay-kpis > div small,
.audit-stat small,
.task-kpis > div small,
.cus-kpi-sub,
.fin-kpi-sub,
.emp-kpi-sub
) {
display: block;
font-size: 11.5px !important;
font-weight: 500 !important;
color: var(--kpi-meta-color) !important;
text-transform: none !important;
line-height: 1.35 !important;
margin-top: 2px;
}
:where(.cus-kpi-label, .fin-kpi-label, .emp-kpi-label, .us-kpi-label, .st-kpi-label) {
font-size: 12.5px !important;
font-weight: 600 !important;
color: var(--kpi-title-color) !important;
text-transform: none !important;
letter-spacing: -0.005em !important;
}
@media (max-width: 1199.98px) {
:where(
.kpi-grid,
.dashboard-kpi-grid,
.rnt-kpis,
.cal-kpis,
.ho-kpis,
.qtl-kpis,
.ct-kpis,
.veh-kpis,
.vc-kpis,
.acc-kpis,
.sos-kpis,
.trk-kpis,
.ai-kpis,
.cus-kpi-grid,
.fin-kpi-grid,
.emp-kpi-grid,
.us-kpi-grid,
.st-kpi-grid,
.pay-kpis,
.audit-stats,
.task-kpis
) {
grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
}
@media (max-width: 575.98px) {
:where(
.kpi-grid,
.dashboard-kpi-grid,
.rnt-kpis,
.cal-kpis,
.ho-kpis,
.qtl-kpis,
.ct-kpis,
.veh-kpis,
.vc-kpis,
.acc-kpis,
.sos-kpis,
.trk-kpis,
.ai-kpis,
.cus-kpi-grid,
.fin-kpi-grid,
.emp-kpi-grid,
.us-kpi-grid,
.st-kpi-grid,
.pay-kpis,
.audit-stats,
.task-kpis
) {
grid-template-columns: 1fr !important;
gap: 10px !important;
}
}
