Files
Unified_Dashboard_Suite_Go/web/khira/styles.css
T

2865 lines
78 KiB
CSS

/* ══════════════════════════════════════════════════════════════════════════════
Khira Enterprise — Modern Engineering Workspace Design System
Crafted for high-velocity software engineering, incident response, & telemetry.
══════════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
[hidden] {
display: none !important;
}
dialog:not([open]) {
display: none !important;
}
:root {
color-scheme: dark;
/* Typography */
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
--font-mono: 'JetBrains Mono', 'Roboto Mono', 'SF Mono', Consolas, monospace;
/* Color System — Dark Mode (Default) */
--bg-canvas: #090d16;
--bg-sidebar: #0d121f;
--bg-surface: #111827;
--bg-surface-elevated: #161f33;
--bg-surface-hover: #1b263e;
--bg-card: #131b2e;
--bg-card-hover: #19233b;
--bg-subtle: #0f172a;
--bg-input: #0b101c;
--bg-input-focus: #0f172a;
/* Borders */
--border-subtle: rgba(255, 255, 255, 0.07);
--border-default: rgba(255, 255, 255, 0.12);
--border-hover: rgba(255, 255, 255, 0.2);
--border-focus: #3b82f6;
/* Text & Content */
--text-primary: #f8fafc;
--text-secondary: #94a3b8;
--text-muted: #64748b;
--text-inverse: #0f172a;
/* Brand & Accents */
--primary: #3b82f6;
--primary-hover: #2563eb;
--primary-subtle: rgba(59, 130, 246, 0.15);
--primary-text: #60a5fa;
/* Semantic Statuses */
--status-open: #94a3b8;
--status-open-bg: rgba(148, 163, 184, 0.12);
--status-progress: #3b82f6;
--status-progress-bg: rgba(59, 130, 246, 0.14);
--status-hold: #f59e0b;
--status-hold-bg: rgba(245, 158, 11, 0.14);
--status-completed: #10b981;
--status-completed-bg: rgba(16, 185, 129, 0.14);
--status-archived: #64748b;
--status-archived-bg: rgba(100, 116, 139, 0.12);
/* Priorities */
--prio-critical: #ef4444;
--prio-critical-bg: rgba(239, 68, 68, 0.14);
--prio-high: #f97316;
--prio-high-bg: rgba(249, 115, 22, 0.14);
--prio-medium: #eab308;
--prio-medium-bg: rgba(234, 179, 8, 0.14);
--prio-low: #3b82f6;
--prio-low-bg: rgba(59, 130, 246, 0.14);
/* Severity Alerts */
--danger: #ef4444;
--danger-bg: rgba(239, 68, 68, 0.15);
--warning: #f59e0b;
--warning-bg: rgba(245, 158, 11, 0.15);
--success: #10b981;
--success-bg: rgba(16, 185, 129, 0.15);
/* Elevation Shadows */
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.35), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.45), 0 4px 6px -4px rgba(0, 0, 0, 0.35);
--shadow-drawer: -12px 0 32px rgba(0, 0, 0, 0.6);
/* Transitions */
--ease: cubic-bezier(0.16, 1, 0.3, 1);
--duration: 0.15s;
/* Backward Compatibility Variables for Handlers */
--pri: var(--primary);
--on-s: var(--text-primary);
--on-sv: var(--text-secondary);
--sc: var(--bg-surface);
--sc-lo: var(--bg-surface);
--sc-hi: var(--bg-surface-elevated);
--out: var(--border-default);
--out-v: var(--border-subtle);
--err: var(--danger);
--glass-blur: none;
}
/* Light Theme Variables */
[data-theme="light"] {
color-scheme: light;
--bg-canvas: #f8fafc;
--bg-sidebar: #f1f5f9;
--bg-surface: #ffffff;
--bg-surface-elevated: #ffffff;
--bg-surface-hover: #f1f5f9;
--bg-card: #ffffff;
--bg-card-hover: #f8fafc;
--bg-subtle: #f1f5f9;
--bg-input: #ffffff;
--bg-input-focus: #ffffff;
--border-subtle: #e2e8f0;
--border-default: #cbd5e1;
--border-hover: #94a3b8;
--border-focus: #2563eb;
--text-primary: #0f172a;
--text-secondary: #475569;
--text-muted: #94a3b8;
--text-inverse: #ffffff;
--primary: #2563eb;
--primary-hover: #1d4ed8;
--primary-subtle: #eff6ff;
--primary-text: #1d4ed8;
--status-open: #475569;
--status-open-bg: #f1f5f9;
--status-progress: #2563eb;
--status-progress-bg: #eff6ff;
--status-hold: #d97706;
--status-hold-bg: #fffbeb;
--status-completed: #059669;
--status-completed-bg: #ecfdf5;
--status-archived: #64748b;
--status-archived-bg: #f1f5f9;
--prio-critical: #dc2626;
--prio-critical-bg: #fef2f2;
--prio-high: #ea580c;
--prio-high-bg: #fff7ed;
--prio-medium: #ca8a04;
--prio-medium-bg: #fefce8;
--prio-low: #2563eb;
--prio-low-bg: #eff6ff;
--danger: #dc2626;
--danger-bg: #fef2f2;
--warning: #d97706;
--warning-bg: #fffbeb;
--success: #059669;
--success-bg: #ecfdf5;
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
--shadow-drawer: -12px 0 32px rgba(0, 0, 0, 0.15);
--pri: var(--primary);
--on-s: var(--text-primary);
--on-sv: var(--text-secondary);
--sc: var(--bg-surface);
--sc-lo: var(--bg-surface);
--sc-hi: var(--bg-surface-elevated);
--out: var(--border-default);
--out-v: var(--border-subtle);
--err: var(--danger);
}
body {
font-family: var(--font-sans);
background: var(--bg-canvas);
color: var(--text-primary);
font-size: 13px;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: clip;
}
button, input, select, textarea {
font-family: inherit;
font-size: inherit;
color: inherit;
}
button {
cursor: pointer;
background: none;
border: none;
}
:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 1px;
}
/* ══════════════════════════════════════════════════════════════════════════════
Layout Architecture
══════════════════════════════════════════════════════════════════════════════ */
.app-layout {
display: flex;
height: 100vh;
width: 100vw;
overflow: hidden;
background: var(--bg-canvas);
}
/* ── Collapsible Left Sidebar ── */
.app-sidebar {
width: 240px;
background: var(--bg-sidebar);
border-right: 1px solid var(--border-subtle);
display: flex;
flex-direction: column;
flex-shrink: 0;
user-select: none;
z-index: 20;
}
.sidebar-top {
padding: 16px;
border-bottom: 1px solid var(--border-subtle);
}
.sidebar-brand {
display: flex;
align-items: center;
gap: 10px;
}
.brand-logo-sq {
width: 28px;
height: 28px;
border-radius: 6px;
background: var(--primary);
color: #ffffff;
display: grid;
place-items: center;
flex-shrink: 0;
}
.brand-details {
display: flex;
flex-direction: column;
min-width: 0;
}
.brand-text {
font-size: 14px;
font-weight: 700;
letter-spacing: -0.01em;
color: var(--text-primary);
line-height: 1.2;
}
.workspace-name {
font-size: 11px;
color: var(--text-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* Sidebar Action */
.sidebar-action {
padding: 12px 14px 6px;
}
.btn-sidebar-create {
width: 100%;
height: 34px;
background: var(--primary);
color: #ffffff;
border-radius: 6px;
font-size: 13px;
font-weight: 600;
display: flex;
align-items: center;
gap: 8px;
padding: 0 12px;
transition: background var(--duration) var(--ease);
}
.btn-sidebar-create:hover {
background: var(--primary-hover);
}
.kbd-subtle {
margin-left: auto;
font-family: var(--font-mono);
font-size: 10px;
background: rgba(255, 255, 255, 0.2);
padding: 1px 5px;
border-radius: 4px;
color: inherit;
}
/* Sidebar Navigation Items */
.sidebar-nav {
flex: 1;
overflow-y: auto;
padding: 10px 10px;
display: flex;
flex-direction: column;
gap: 2px;
}
.nav-group-header {
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--text-muted);
padding: 14px 10px 6px;
}
.nav-item {
width: 100%;
display: flex;
align-items: center;
gap: 10px;
height: 32px;
padding: 0 10px;
border-radius: 6px;
color: var(--text-secondary);
font-size: 13px;
font-weight: 500;
transition: all var(--duration) var(--ease);
text-align: left;
}
.nav-item:hover {
background: var(--bg-surface-hover);
color: var(--text-primary);
}
.nav-item.on {
background: var(--bg-surface-hover);
color: var(--primary-text);
font-weight: 600;
}
.nav-item .nav-ic {
flex-shrink: 0;
color: inherit;
}
.nav-text {
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.nav-badge {
font-size: 11px;
font-weight: 600;
padding: 1px 6px;
border-radius: 10px;
background: var(--border-subtle);
color: var(--text-secondary);
}
.nav-badge.danger {
background: var(--danger-bg);
color: var(--danger);
}
/* Sidebar Footer */
.sidebar-footer {
padding: 10px 14px;
border-top: 1px solid var(--border-subtle);
display: flex;
align-items: center;
gap: 8px;
}
.user-profile-tile {
flex: 1;
display: flex;
align-items: center;
gap: 8px;
padding: 4px;
border-radius: 6px;
overflow: hidden;
cursor: pointer;
transition: background var(--duration);
}
.user-profile-tile:hover {
background: var(--bg-surface-hover);
}
.user-profile-meta {
display: flex;
flex-direction: column;
min-width: 0;
flex: 1;
}
.user-name {
font-size: 12px;
font-weight: 600;
color: var(--text-primary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.user-role-badge {
font-size: 10px;
color: var(--text-muted);
}
.sidebar-footer-controls {
display: flex;
align-items: center;
gap: 4px;
}
.icon-btn-sm {
width: 28px;
height: 28px;
border-radius: 5px;
display: grid;
place-items: center;
color: var(--text-secondary);
transition: all var(--duration);
}
.icon-btn-sm:hover {
background: var(--bg-surface-hover);
color: var(--text-primary);
}
/* ══════════════════════════════════════════════════════════════════════════════
Main Viewport
══════════════════════════════════════════════════════════════════════════════ */
.main-viewport {
flex: 1;
display: flex;
flex-direction: column;
min-width: 0;
height: 100vh;
overflow: hidden;
background: var(--bg-canvas);
}
/* ── Top Header Bar ── */
.app-header {
height: 48px;
background: var(--bg-surface);
border-bottom: 1px solid var(--border-subtle);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16px;
gap: 12px;
flex-shrink: 0;
z-index: 10;
}
.header-left {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
}
.mobile-menu-trigger {
display: none;
width: 32px;
height: 32px;
place-items: center;
border-radius: 6px;
color: var(--text-secondary);
}
.breadcrumb-bar {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
}
.bc-crumb {
color: var(--text-muted);
font-weight: 500;
}
.bc-divider {
color: var(--border-default);
}
.bc-current {
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
}
/* Real-Time Live Status Pill */
.live-status-pill {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 2px 7px;
border-radius: 12px;
font-size: 11px;
font-weight: 600;
background: var(--success-bg);
color: var(--success);
}
.live-dot {
position: relative;
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--success);
}
.live-pulse {
position: absolute;
inset: -2px;
border-radius: 50%;
background: var(--success);
opacity: 0.6;
animation: pulse-ring 2s infinite cubic-bezier(0.24, 0, 0.38, 1);
}
@keyframes pulse-ring {
0% { transform: scale(0.95); opacity: 0.8; }
50% { transform: scale(1.6); opacity: 0; }
100% { transform: scale(0.95); opacity: 0; }
}
/* Header Center Search */
.header-center {
flex: 1;
max-width: 440px;
}
.header-search-bar {
position: relative;
width: 100%;
height: 30px;
background: var(--bg-input);
border: 1px solid var(--border-subtle);
border-radius: 6px;
display: flex;
align-items: center;
padding: 0 10px;
gap: 8px;
color: var(--text-muted);
transition: all var(--duration);
}
.header-search-bar:focus-within {
border-color: var(--primary);
background: var(--bg-input-focus);
box-shadow: 0 0 0 1px var(--primary);
}
.header-search-bar input {
flex: 1;
min-width: 0;
border: none;
background: transparent;
outline: none;
font-size: 12px;
color: var(--text-primary);
}
.header-search-bar input::placeholder {
color: var(--text-muted);
}
.search-key {
font-family: var(--font-mono);
font-size: 10px;
background: var(--border-subtle);
border: 1px solid var(--border-subtle);
padding: 1px 5px;
border-radius: 4px;
color: var(--text-muted);
}
/* Header Right Actions */
.header-right {
display: flex;
align-items: center;
gap: 6px;
}
.cmd-k-btn {
height: 28px;
padding: 0 8px;
border-radius: 6px;
background: var(--bg-surface-elevated);
border: 1px solid var(--border-subtle);
display: flex;
align-items: center;
gap: 5px;
font-size: 12px;
font-weight: 500;
color: var(--text-secondary);
transition: all var(--duration);
}
.cmd-k-btn:hover {
background: var(--bg-surface-hover);
color: var(--text-primary);
border-color: var(--border-hover);
}
.ib {
width: 28px;
height: 28px;
border-radius: 6px;
display: grid;
place-items: center;
color: var(--text-secondary);
position: relative;
transition: all var(--duration);
}
.ib:hover {
background: var(--bg-surface-hover);
color: var(--text-primary);
}
.notification-indicator-dot {
position: absolute;
top: 5px;
right: 5px;
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--danger);
}
/* ══════════════════════════════════════════════════════════════════════════════
Workspace Canvas & Content Area
══════════════════════════════════════════════════════════════════════════════ */
.workspace-canvas {
flex: 1;
overflow-y: auto;
padding: 16px 20px 60px;
}
.view-panel {
display: flex;
flex-direction: column;
gap: 14px;
}
/* Panel Header Hero */
.panel-header-hero {
display: flex;
align-items: baseline;
justify-content: space-between;
}
.panel-header-hero h2 {
font-size: 18px;
font-weight: 600;
letter-spacing: -0.01em;
}
.hero-sub {
font-size: 12px;
color: var(--text-muted);
margin-top: 2px;
}
/* ── Stats Overview Grid ── */
.stats-overview-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 12px;
}
.tile {
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
border-radius: 8px;
padding: 12px 16px;
display: flex;
flex-direction: column;
gap: 4px;
transition: border-color var(--duration);
}
.tile:hover {
border-color: var(--border-hover);
}
.tile small {
font-size: 11px;
font-weight: 500;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.04em;
}
.tile strong {
font-size: 20px;
font-weight: 700;
color: var(--text-primary);
line-height: 1.1;
font-family: var(--font-mono);
}
/* ── Workspace Scope Tabs Bar ── */
.workspace-tabs-bar {
display: flex;
border-bottom: 1px solid var(--border-subtle);
gap: 16px;
}
.workspace-tabs-bar .seg {
display: flex;
gap: 4px;
}
.workspace-tabs-bar button {
height: 32px;
padding: 0 10px;
font-size: 13px;
font-weight: 500;
color: var(--text-muted);
border-bottom: 2px solid transparent;
transition: all var(--duration);
}
.workspace-tabs-bar button:hover {
color: var(--text-primary);
}
.workspace-tabs-bar button.on {
color: var(--primary-text);
border-bottom-color: var(--primary);
font-weight: 600;
}
/* ── Filter Controls Row ── */
.filter-controls-row {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 10px;
}
.status-chips-wrap {
display: flex;
align-items: center;
gap: 6px;
overflow-x: auto;
scrollbar-width: none;
}
.chip {
height: 28px;
padding: 0 10px;
border-radius: 6px;
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
font-size: 12px;
font-weight: 500;
color: var(--text-secondary);
display: inline-flex;
align-items: center;
gap: 6px;
transition: all var(--duration);
white-space: nowrap;
}
.chip:hover {
background: var(--bg-surface-hover);
color: var(--text-primary);
border-color: var(--border-hover);
}
.chip.on {
background: var(--primary-subtle);
border-color: var(--primary);
color: var(--primary-text);
font-weight: 600;
}
.filter-tools-right {
display: flex;
align-items: center;
gap: 8px;
}
.action-chip {
height: 28px;
padding: 0 10px;
border-radius: 6px;
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
font-size: 12px;
font-weight: 500;
color: var(--text-secondary);
display: inline-flex;
align-items: center;
gap: 5px;
transition: all var(--duration);
}
.action-chip:hover {
background: var(--bg-surface-hover);
color: var(--text-primary);
border-color: var(--border-hover);
}
.action-chip.primary {
background: var(--primary);
color: #ffffff;
border-color: var(--primary);
}
.action-chip.primary:hover {
background: var(--primary-hover);
}
.filter-select-label {
position: relative;
}
.filter-dropdown {
appearance: none;
height: 28px;
padding: 0 24px 0 10px;
border-radius: 6px;
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
color: var(--text-secondary);
font-size: 12px;
font-weight: 500;
cursor: pointer;
background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 8px center;
transition: all var(--duration);
}
.filter-dropdown:hover {
border-color: var(--border-hover);
color: var(--text-primary);
}
.filter-dropdown:focus {
border-color: var(--primary);
outline: none;
}
.view-mode-toggle {
display: flex;
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
border-radius: 6px;
padding: 2px;
}
.view-mode-toggle button {
width: 26px;
height: 24px;
display: grid;
place-items: center;
border-radius: 4px;
color: var(--text-muted);
transition: all var(--duration);
}
.view-mode-toggle button.on {
background: var(--bg-surface-hover);
color: var(--text-primary);
}
/* ── Saved Views Filter Bar ── */
.saved-filter-bar {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 12px;
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
border-radius: 6px;
overflow-x: auto;
scrollbar-width: none;
}
.sf-header {
display: flex;
align-items: center;
white-space: nowrap;
}
.saved-filter-label {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
display: flex;
align-items: center;
gap: 4px;
}
.sf-items {
display: flex;
align-items: center;
gap: 6px;
flex: 1;
}
.sf-empty {
font-size: 12px;
color: var(--text-muted);
font-style: italic;
}
.saved-filter-pill {
display: inline-flex;
align-items: center;
background: var(--bg-surface-elevated);
border: 1px solid var(--border-subtle);
border-radius: 4px;
padding: 2px 8px;
font-size: 12px;
font-weight: 500;
color: var(--text-secondary);
cursor: pointer;
transition: all var(--duration);
}
.saved-filter-pill:hover {
background: var(--bg-surface-hover);
color: var(--text-primary);
border-color: var(--border-hover);
}
.saved-filter-pill.active {
background: var(--primary-subtle);
border-color: var(--primary);
color: var(--primary-text);
font-weight: 600;
}
.sf-del {
margin-left: 5px;
font-size: 13px;
color: var(--text-muted);
line-height: 1;
}
.sf-del:hover {
color: var(--danger);
}
.btn-save-filter {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 11px;
font-weight: 600;
color: var(--primary-text);
padding: 2px 8px;
border-radius: 4px;
border: 1px dashed var(--border-default);
transition: all var(--duration);
}
.btn-save-filter:hover {
background: var(--primary-subtle);
border-color: var(--primary);
}
/* ══════════════════════════════════════════════════════════════════════════════
Kanban Board View
══════════════════════════════════════════════════════════════════════════════ */
.kanban-board {
display: grid;
grid-template-columns: repeat(4, minmax(280px, 1fr));
gap: 16px;
align-items: start;
overflow-x: auto;
padding-bottom: 24px;
}
.col {
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
border-radius: 8px;
display: flex;
flex-direction: column;
min-height: 480px;
max-height: calc(100vh - 240px);
overflow: hidden;
}
.col h3 {
padding: 10px 14px;
font-size: 13px;
font-weight: 600;
display: flex;
align-items: center;
gap: 8px;
border-bottom: 1px solid var(--border-subtle);
background: var(--bg-surface);
}
.col h3 i {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--c, var(--text-muted));
display: inline-block;
}
.col h3 small {
margin-left: auto;
font-family: var(--font-mono);
font-size: 11px;
color: var(--text-muted);
background: var(--border-subtle);
padding: 1px 6px;
border-radius: 10px;
}
.col-cards-container {
flex: 1;
overflow-y: auto;
padding: 10px;
display: flex;
flex-direction: column;
gap: 8px;
}
.col.drop-hover {
background: var(--bg-surface-hover);
border-color: var(--primary);
}
/* ── Ticket Cards ── */
.card {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 6px;
padding: 12px;
display: flex;
flex-direction: column;
gap: 8px;
cursor: grab;
user-select: none;
transition: all var(--duration) var(--ease);
}
.card:hover {
background: var(--bg-card-hover);
border-color: var(--border-hover);
box-shadow: var(--shadow-sm);
}
.card.dragging {
opacity: 0.5;
cursor: grabbing;
}
.card.selected {
border-color: var(--primary);
background: var(--primary-subtle);
}
.card .r {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.card .id {
font-family: var(--font-mono);
font-size: 11px;
font-weight: 600;
color: var(--text-muted);
}
.card h4 {
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
line-height: 1.35;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.card .m {
font-size: 11px;
color: var(--text-muted);
margin-top: 4px;
}
/* SLA Bar */
.sla-wrap {
display: flex;
flex-direction: column;
gap: 3px;
margin-top: 4px;
}
.sla-meta {
display: flex;
justify-content: space-between;
font-size: 10px;
font-weight: 600;
color: var(--text-muted);
font-family: var(--font-mono);
}
.sla-bar {
width: 100%;
height: 4px;
background: var(--border-subtle);
border-radius: 2px;
overflow: hidden;
}
.sla-fill {
height: 100%;
border-radius: 2px;
transition: width 0.3s;
}
.sla-fill.good { background: var(--success); }
.sla-fill.warning { background: var(--warning); }
.sla-fill.danger { background: var(--danger); }
.sla-fill.breached { background: var(--danger); }
/* Badges & Pills */
.pb, .stt, .tag, .sv {
display: inline-flex;
align-items: center;
height: 20px;
padding: 0 6px;
border-radius: 4px;
font-size: 11px;
font-weight: 600;
line-height: 1;
}
.pb.critical { background: var(--prio-critical-bg); color: var(--prio-critical); }
.pb.high { background: var(--prio-high-bg); color: var(--prio-high); }
.pb.medium { background: var(--prio-medium-bg); color: var(--prio-medium); }
.pb.low { background: var(--prio-low-bg); color: var(--prio-low); }
.stt.open { background: var(--status-open-bg); color: var(--status-open); }
.stt.progress { background: var(--status-progress-bg); color: var(--status-progress); }
.stt.hold { background: var(--status-hold-bg); color: var(--status-hold); }
.stt.completed { background: var(--status-completed-bg); color: var(--status-completed); }
.stt.archived { background: var(--status-archived-bg); color: var(--status-archived); }
.tag {
background: var(--border-subtle);
color: var(--text-secondary);
}
.tag-list {
display: flex;
flex-wrap: wrap;
gap: 4px;
}
.tag-pill {
font-size: 11px;
font-weight: 500;
background: var(--bg-surface-elevated);
border: 1px solid var(--border-subtle);
padding: 1px 6px;
border-radius: 4px;
color: var(--text-secondary);
display: inline-flex;
align-items: center;
gap: 4px;
}
.tag-remove-btn {
color: var(--text-muted);
font-size: 13px;
line-height: 1;
}
.tag-remove-btn:hover {
color: var(--danger);
}
/* ══════════════════════════════════════════════════════════════════════════════
List View
══════════════════════════════════════════════════════════════════════════════ */
.tickets-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.date-section {
display: flex;
flex-direction: column;
gap: 4px;
}
.date-header {
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
display: flex;
align-items: center;
gap: 6px;
padding: 6px 0;
}
.date-badge {
font-size: 10px;
font-family: var(--font-mono);
background: var(--border-subtle);
padding: 1px 5px;
border-radius: 4px;
}
.li {
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
border-radius: 6px;
padding: 10px 14px;
display: flex;
align-items: center;
gap: 12px;
cursor: pointer;
transition: all var(--duration);
}
.li:hover {
background: var(--bg-surface-hover);
border-color: var(--border-hover);
}
.li.selected {
background: var(--primary-subtle);
border-color: var(--primary);
}
.li .ell {
flex: 1;
min-width: 0;
}
.li h4 {
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
}
.li p {
font-size: 11px;
color: var(--text-muted);
margin-top: 2px;
}
.li .tl2 {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 3px;
font-size: 11px;
color: var(--text-muted);
font-family: var(--font-mono);
}
/* ══════════════════════════════════════════════════════════════════════════════
Initials Avatar System (Zero Cartoon Emojis)
══════════════════════════════════════════════════════════════════════════════ */
.av-initials {
border-radius: 50%;
display: inline-grid;
place-items: center;
font-family: var(--font-sans);
font-weight: 700;
letter-spacing: -0.02em;
text-transform: uppercase;
flex-shrink: 0;
user-select: none;
}
.av-wrap {
position: relative;
border-radius: 50%;
display: inline-flex;
overflow: hidden;
flex-shrink: 0;
}
.av-img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}
/* ══════════════════════════════════════════════════════════════════════════════
Slide-Over Detail Sheet
══════════════════════════════════════════════════════════════════════════════ */
.app-drawer-sheet {
position: fixed;
top: 0;
right: 0;
bottom: 0;
width: min(840px, 92vw);
height: 100vh;
margin-left: auto;
border: none;
border-left: 1px solid var(--border-default);
background: var(--bg-surface);
color: var(--text-primary);
box-shadow: var(--shadow-drawer);
padding: 0;
overflow: hidden;
z-index: 50;
outline: none;
}
.app-drawer-sheet::backdrop {
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(2px);
}
.sbd {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}
.sh {
height: 48px;
padding: 0 16px;
border-bottom: 1px solid var(--border-subtle);
display: flex;
align-items: center;
gap: 10px;
background: var(--bg-surface);
}
.sheet-split-layout {
flex: 1;
display: flex;
overflow: hidden;
}
.sheet-main-content {
flex: 1;
overflow-y: auto;
padding: 20px 24px;
display: flex;
flex-direction: column;
gap: 16px;
}
.sheet-sidebar-meta {
width: 260px;
border-left: 1px solid var(--border-subtle);
background: var(--bg-subtle);
overflow-y: auto;
padding: 20px 16px;
display: flex;
flex-direction: column;
gap: 16px;
}
.meta-group {
display: flex;
flex-direction: column;
gap: 4px;
}
.meta-group label {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
color: var(--text-muted);
}
.sf {
height: 52px;
padding: 0 20px;
border-top: 1px solid var(--border-subtle);
background: var(--bg-surface);
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
}
.fb {
height: 32px;
padding: 0 14px;
border-radius: 6px;
background: var(--primary);
color: #ffffff;
font-size: 13px;
font-weight: 600;
transition: background var(--duration);
}
.fb:hover {
background: var(--primary-hover);
}
.tn {
height: 32px;
padding: 0 12px;
border-radius: 6px;
border: 1px solid var(--border-default);
background: var(--bg-surface);
color: var(--text-secondary);
font-size: 13px;
font-weight: 500;
display: inline-flex;
align-items: center;
gap: 6px;
transition: all var(--duration);
}
.tn:hover {
background: var(--bg-surface-hover);
color: var(--text-primary);
border-color: var(--border-hover);
}
.del-btn {
height: 32px;
padding: 0 12px;
border-radius: 6px;
background: var(--danger-bg);
color: var(--danger);
border: 1px solid var(--danger-bg);
font-size: 13px;
font-weight: 600;
display: inline-flex;
align-items: center;
gap: 6px;
margin-right: auto;
transition: all var(--duration);
}
.del-btn:hover {
background: var(--danger);
color: #ffffff;
}
/* Timeline & Remarks */
.tle {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 6px;
padding: 10px 12px;
margin-bottom: 8px;
display: flex;
flex-direction: column;
gap: 4px;
}
.tle.sys {
background: var(--bg-subtle);
border-style: dashed;
}
.tle small {
color: var(--text-muted);
font-size: 11px;
}
.cmp {
display: flex;
gap: 8px;
margin-top: 10px;
}
.cmp textarea {
flex: 1;
background: var(--bg-input);
border: 1px solid var(--border-subtle);
border-radius: 6px;
padding: 8px 12px;
color: var(--text-primary);
resize: vertical;
min-height: 38px;
}
.cmp textarea:focus {
border-color: var(--primary);
outline: none;
}
/* ══════════════════════════════════════════════════════════════════════════════
Error Telemetry & Tracking
══════════════════════════════════════════════════════════════════════════════ */
.errors-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.err-row {
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
border-radius: 6px;
padding: 12px 16px;
display: flex;
align-items: flex-start;
gap: 14px;
cursor: pointer;
transition: all var(--duration);
}
.err-row:hover {
background: var(--bg-surface-hover);
border-color: var(--border-hover);
}
.err-meta-col {
display: flex;
flex-direction: column;
gap: 4px;
flex: 1;
min-width: 0;
}
.err-title-row {
display: flex;
align-items: center;
gap: 8px;
}
.err-type {
font-family: var(--font-mono);
font-size: 13px;
font-weight: 700;
color: var(--danger);
}
.err-app-badge {
font-size: 11px;
font-weight: 600;
padding: 1px 6px;
border-radius: 4px;
background: var(--border-subtle);
color: var(--text-secondary);
}
.err-msg {
font-size: 12px;
color: var(--text-secondary);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.err-stats-col {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 4px;
}
.err-count-badge {
font-family: var(--font-mono);
font-size: 12px;
font-weight: 700;
background: var(--danger-bg);
color: var(--danger);
padding: 2px 8px;
border-radius: 12px;
}
/* ══════════════════════════════════════════════════════════════════════════════
Analytics Dashboard
══════════════════════════════════════════════════════════════════════════════ */
.analytics-charts-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 14px;
}
.analytics-card {
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
border-radius: 8px;
padding: 16px;
display: flex;
flex-direction: column;
gap: 12px;
}
.card-header-bar {
display: flex;
align-items: center;
justify-content: space-between;
}
.card-header-bar h3, .card-title-sm {
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
}
.chart-legend-pills {
display: flex;
align-items: center;
gap: 10px;
font-size: 11px;
color: var(--text-muted);
}
.leg-dot {
width: 8px;
height: 8px;
border-radius: 50%;
display: inline-block;
}
.leg-dot.created { background: var(--primary); }
.leg-dot.resolved { background: var(--success); }
.canvas-container {
width: 100%;
height: 220px;
}
.analytics-sub-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
}
.workload-table-wrap {
overflow-x: auto;
}
/* ══════════════════════════════════════════════════════════════════════════════
Admin Panel
══════════════════════════════════════════════════════════════════════════════ */
.admin-tab-bar {
display: flex;
border-bottom: 1px solid var(--border-subtle);
}
.admin-tab-bar .seg {
display: flex;
gap: 8px;
}
.admin-tab-bar button {
height: 34px;
padding: 0 12px;
font-size: 13px;
font-weight: 500;
color: var(--text-muted);
border-bottom: 2px solid transparent;
transition: all var(--duration);
}
.admin-tab-bar button.on {
color: var(--primary-text);
border-bottom-color: var(--primary);
font-weight: 600;
}
.admin-tab-pane {
display: flex;
flex-direction: column;
gap: 16px;
padding: 8px 0;
}
.admin-table-card {
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
border-radius: 8px;
overflow: hidden;
}
.data-table {
width: 100%;
border-collapse: collapse;
text-align: left;
}
.data-table th {
background: var(--bg-subtle);
padding: 10px 14px;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
color: var(--text-muted);
border-bottom: 1px solid var(--border-subtle);
}
.data-table td {
padding: 10px 14px;
font-size: 13px;
border-bottom: 1px solid var(--border-subtle);
}
.data-table tr:hover td {
background: var(--bg-surface-hover);
}
/* ══════════════════════════════════════════════════════════════════════════════
Command Palette & Modals
══════════════════════════════════════════════════════════════════════════════ */
.cmd-palette-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.65);
backdrop-filter: blur(4px);
z-index: 100;
display: grid;
place-items: center;
padding: 20px;
}
.cmd-palette-overlay[hidden] {
display: none !important;
}
.cmd-palette-box {
width: min(600px, 95vw);
background: var(--bg-surface);
border: 1px solid var(--border-default);
border-radius: 10px;
box-shadow: var(--shadow-lg);
overflow: hidden;
display: flex;
flex-direction: column;
}
.cmd-palette-search {
display: flex;
align-items: center;
gap: 12px;
padding: 14px 18px;
border-bottom: 1px solid var(--border-subtle);
}
.cmd-palette-search input {
flex: 1;
border: none;
background: none;
outline: none;
font-size: 15px;
color: var(--text-primary);
}
.cmd-results-list {
max-height: 340px;
overflow-y: auto;
padding: 8px;
}
.cmd-item {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 12px;
border-radius: 6px;
cursor: pointer;
color: var(--text-secondary);
transition: all var(--duration);
}
.cmd-item:hover, .cmd-item.selected {
background: var(--bg-surface-hover);
color: var(--text-primary);
}
.cmd-footer {
padding: 10px 16px;
border-top: 1px solid var(--border-subtle);
display: flex;
gap: 16px;
font-size: 11px;
color: var(--text-muted);
}
.cmd-footer kbd {
font-family: var(--font-mono);
background: var(--border-subtle);
padding: 1px 4px;
border-radius: 3px;
}
/* ── Shortcuts Modal ── */
.shortcuts-box {
max-width: 480px;
}
.shortcuts-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
border-bottom: 1px solid var(--border-subtle);
}
.shortcuts-content {
padding: 14px 18px;
display: flex;
flex-direction: column;
gap: 10px;
}
.sc-row {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 13px;
}
.sc-row kbd {
font-family: var(--font-mono);
background: var(--border-subtle);
border: 1px solid var(--border-default);
padding: 2px 6px;
border-radius: 4px;
font-size: 11px;
}
/* ── Floating Bulk Action Bar ── */
.bulk-floating-bar {
position: fixed;
bottom: 24px;
left: 50%;
transform: translateX(-50%);
background: var(--bg-surface-elevated);
border: 1px solid var(--border-default);
border-radius: 8px;
box-shadow: var(--shadow-lg);
display: flex;
align-items: center;
gap: 12px;
padding: 8px 16px;
z-index: 40;
}
.bulk-info {
font-size: 12px;
font-weight: 600;
color: var(--text-primary);
}
.bulk-actions-group {
display: flex;
align-items: center;
gap: 6px;
}
.bulk-action-btn {
height: 28px;
padding: 0 10px;
border-radius: 5px;
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
font-size: 12px;
font-weight: 500;
color: var(--text-primary);
transition: all var(--duration);
}
.bulk-action-btn:hover {
background: var(--bg-surface-hover);
}
.bulk-action-btn.danger {
color: var(--danger);
background: var(--danger-bg);
border-color: var(--danger-bg);
}
.bulk-cancel-btn {
font-size: 16px;
color: var(--text-muted);
padding: 0 4px;
}
/* ══════════════════════════════════════════════════════════════════════════════
Authentication Screen
══════════════════════════════════════════════════════════════════════════════ */
.auth-screen {
min-height: 100vh;
display: grid;
place-items: center;
background: var(--bg-canvas);
padding: 20px;
}
.auth-card {
width: min(440px, 100%);
background: var(--bg-surface);
border: 1px solid var(--border-default);
border-radius: 12px;
padding: 32px 28px;
box-shadow: var(--shadow-lg);
display: flex;
flex-direction: column;
gap: 18px;
}
.auth-brand {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 6px;
}
.brand-badge-icon {
width: 44px;
height: 44px;
border-radius: 10px;
background: var(--primary);
color: #ffffff;
display: grid;
place-items: center;
margin-bottom: 4px;
}
.auth-brand h2 {
font-size: 20px;
font-weight: 700;
letter-spacing: -0.01em;
}
.auth-subtitle {
font-size: 13px;
color: var(--text-muted);
}
.auth-tabs {
display: flex;
background: var(--bg-subtle);
border: 1px solid var(--border-subtle);
border-radius: 6px;
padding: 3px;
}
.auth-tabs button {
flex: 1;
height: 28px;
border-radius: 4px;
font-size: 12px;
font-weight: 600;
color: var(--text-muted);
transition: all var(--duration);
}
.auth-tabs button.on {
background: var(--bg-surface);
color: var(--text-primary);
box-shadow: var(--shadow-sm);
}
.auth-form {
display: flex;
flex-direction: column;
gap: 12px;
}
.form-group {
display: flex;
flex-direction: column;
gap: 5px;
}
.form-group label {
font-size: 12px;
font-weight: 600;
color: var(--text-secondary);
}
.form-label-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.btn-text-link {
font-size: 11px;
color: var(--primary-text);
}
.form-input, .form-select {
height: 36px;
padding: 0 12px;
background: var(--bg-input);
border: 1px solid var(--border-default);
border-radius: 6px;
color: var(--text-primary);
font-size: 13px;
transition: all var(--duration);
}
.form-input:focus, .form-select:focus {
border-color: var(--primary);
outline: none;
background: var(--bg-input-focus);
}
.btn-submit {
height: 36px;
background: var(--primary);
color: #ffffff;
border-radius: 6px;
font-size: 13px;
font-weight: 600;
transition: background var(--duration);
margin-top: 4px;
}
.btn-submit:hover {
background: var(--primary-hover);
}
.demo-login-box {
display: flex;
flex-direction: column;
gap: 8px;
border-top: 1px solid var(--border-subtle);
padding-top: 16px;
}
.demo-label {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
color: var(--text-muted);
}
.demo-chips {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.demo-chip {
padding: 4px 8px;
border-radius: 5px;
background: var(--bg-subtle);
border: 1px solid var(--border-subtle);
font-size: 12px;
font-weight: 500;
color: var(--text-secondary);
display: inline-flex;
align-items: center;
gap: 6px;
transition: all var(--duration);
}
.demo-chip:hover {
background: var(--bg-surface-hover);
color: var(--text-primary);
border-color: var(--border-hover);
}
.demo-chip.lead {
border-color: rgba(245, 158, 11, 0.4);
color: #f59e0b;
}
.chip-role {
font-size: 10px;
font-weight: 600;
color: var(--text-muted);
}
/* ══════════════════════════════════════════════════════════════════════════════
Toast Snackbar & Popovers
══════════════════════════════════════════════════════════════════════════════ */
.snack {
position: fixed;
bottom: 24px;
right: 24px;
padding: 10px 16px;
background: var(--bg-surface-elevated);
border: 1px solid var(--border-default);
border-radius: 6px;
color: var(--text-primary);
font-size: 13px;
font-weight: 500;
box-shadow: var(--shadow-lg);
transform: translateY(100px);
opacity: 0;
transition: all 0.25s var(--ease);
z-index: 1000;
}
.snack.on {
transform: translateY(0);
opacity: 1;
}
.snack.err {
border-color: var(--danger);
color: var(--danger);
}
.popover-dropdown {
position: absolute;
top: 50px;
right: 16px;
width: 320px;
background: var(--bg-surface);
border: 1px solid var(--border-default);
border-radius: 8px;
box-shadow: var(--shadow-lg);
padding: 12px;
display: flex;
flex-direction: column;
gap: 8px;
z-index: 60;
}
/* ══════════════════════════════════════════════════════════════════════════════
Modal Dialog Framework & Unified Form System
══════════════════════════════════════════════════════════════════════════════ */
.app-modal-dialog {
margin: auto;
border: 1px solid var(--border-default);
border-radius: 12px;
background: var(--bg-surface);
color: var(--text-primary);
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--border-subtle);
padding: 0;
width: min(540px, 94vw);
max-height: 88vh;
overflow: hidden;
outline: none;
z-index: 80;
}
.app-modal-dialog.wide {
width: min(720px, 95vw);
}
.app-modal-dialog::backdrop {
background: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(4px);
}
/* Dialog Shell (Form) */
.dc {
display: flex;
flex-direction: column;
height: 100%;
max-height: 88vh;
overflow: hidden;
}
/* Dialog Header */
.dh {
padding: 18px 24px;
border-bottom: 1px solid var(--border-subtle);
background: var(--bg-surface);
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
flex-shrink: 0;
}
.dh-titles h3 {
font-size: 17px;
font-weight: 600;
color: var(--text-primary);
letter-spacing: -0.01em;
margin: 0;
line-height: 1.3;
}
.dh-titles .sub {
font-size: 13px;
color: var(--text-secondary);
margin-top: 3px;
}
/* Dialog Body */
.db {
padding: 24px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 16px;
flex-grow: 1;
}
/* Dialog Actions Footer */
.da {
padding: 16px 24px;
border-top: 1px solid var(--border-subtle);
background: var(--bg-canvas);
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
flex-shrink: 0;
}
/* Buttons in Dialog */
.fb {
height: 34px;
padding: 0 16px;
border-radius: 6px;
background: var(--primary);
color: #ffffff;
font-size: 13px;
font-weight: 600;
border: none;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
transition: all 0.15s ease;
}
.fb:hover {
background: var(--primary-hover);
transform: translateY(-1px);
}
.fb:active {
transform: translateY(0);
}
.tb {
height: 34px;
padding: 0 14px;
border-radius: 6px;
background: var(--bg-surface-elevated);
color: var(--text-secondary);
border: 1px solid var(--border-default);
font-size: 13px;
font-weight: 500;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
transition: all 0.15s ease;
}
.tb:hover {
background: var(--bg-surface-hover);
color: var(--text-primary);
border-color: var(--border-hover);
}
.btn-alt {
height: 34px;
padding: 0 14px;
border-radius: 6px;
background: rgba(239, 68, 68, 0.1);
color: #f87171;
border: 1px solid rgba(239, 68, 68, 0.25);
font-size: 13px;
font-weight: 500;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
margin-right: auto;
transition: all 0.15s ease;
}
.btn-alt:hover {
background: rgba(239, 68, 68, 0.2);
color: #ef4444;
border-color: rgba(239, 68, 68, 0.4);
}
/* ══════════════════════════════════════════════════════════════════════════════
Form Control Standards (.fld, .grp, .rg)
══════════════════════════════════════════════════════════════════════════════ */
.fld {
display: flex;
flex-direction: column-reverse;
gap: 6px;
width: 100%;
}
.fld span {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--text-muted);
}
.fld input,
.fld select,
.fld textarea {
width: 100%;
height: 36px;
padding: 0 12px;
border-radius: 6px;
background: var(--bg-input);
border: 1px solid var(--border-default);
color: var(--text-primary);
font-family: var(--font-sans);
font-size: 13px;
outline: none;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fld input:focus,
.fld select:focus,
.fld textarea:focus {
border-color: var(--primary);
box-shadow: 0 0 0 2px var(--primary-subtle);
}
.fld textarea {
height: auto;
min-height: 80px;
padding: 10px 12px;
resize: vertical;
line-height: 1.5;
}
.fld select {
cursor: pointer;
}
.fld.mono input,
.fld.mono textarea {
font-family: var(--font-mono);
font-size: 12px;
}
/* Radio Group (.rg) */
.rg {
display: flex;
gap: 8px;
background: var(--bg-canvas);
padding: 4px;
border-radius: 8px;
border: 1px solid var(--border-subtle);
}
.rg label {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
margin: 0;
}
.rg label input[type="radio"] {
display: none;
}
.rg label span {
width: 100%;
padding: 6px 12px;
text-align: center;
border-radius: 6px;
font-size: 12px;
font-weight: 500;
color: var(--text-secondary);
transition: all 0.15s ease;
}
.rg label input[type="radio"]:checked + span {
background: var(--bg-surface-elevated);
color: var(--text-primary);
font-weight: 600;
box-shadow: var(--shadow-sm);
}
/* Fieldset groups (.grp) */
.grp {
border: 1px solid var(--border-subtle);
border-radius: 8px;
padding: 16px;
margin: 0;
display: flex;
flex-direction: column;
gap: 14px;
background: var(--bg-card);
}
/* ══════════════════════════════════════════════════════════════════════════════
Enterprise Profile & Account Settings
══════════════════════════════════════════════════════════════════════════════ */
.profile-card-hero {
display: flex;
align-items: center;
gap: 20px;
padding: 18px 20px;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 10px;
}
.profile-avatar-wrap {
width: 76px;
height: 76px;
border-radius: 50%;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
border: 2px solid var(--border-default);
box-shadow: var(--shadow-md);
flex-shrink: 0;
}
.profile-avatar-img {
width: 100%;
height: 100%;
object-fit: cover;
}
.profile-avatar-initials {
font-size: 28px;
font-weight: 700;
letter-spacing: -0.02em;
font-family: var(--font-sans);
}
.profile-hero-info {
display: flex;
flex-direction: column;
gap: 6px;
flex-grow: 1;
}
.profile-hero-info h4 {
font-size: 16px;
font-weight: 600;
color: var(--text-primary);
margin: 0;
}
.profile-tags-row {
display: flex;
align-items: center;
gap: 8px;
}
.profile-avatar-actions {
display: flex;
align-items: center;
gap: 8px;
margin-top: 6px;
}
.profile-palette-section {
display: flex;
flex-direction: column;
gap: 8px;
padding: 12px 16px;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 8px;
}
.section-micro-label {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--text-muted);
}
.color-swatches-grid {
display: flex;
align-items: center;
gap: 10px;
}
.color-swatch-btn {
width: 24px;
height: 24px;
border-radius: 50%;
background: var(--swatch);
border: 2px solid transparent;
cursor: pointer;
transition: transform 0.15s ease, border-color 0.15s ease;
padding: 0;
}
.color-swatch-btn:hover {
transform: scale(1.15);
}
.color-swatch-btn.active {
border-color: #ffffff;
box-shadow: 0 0 0 2px var(--swatch);
transform: scale(1.1);
}
.profile-fields-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
}
@media (max-width: 600px) {
.profile-fields-grid {
grid-template-columns: 1fr;
}
}
.profile-form-group {
display: flex;
flex-direction: column;
gap: 6px;
}
.profile-form-group label {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--text-muted);
}
.profile-form-group input {
width: 100%;
height: 36px;
padding: 0 12px;
border-radius: 6px;
background: var(--bg-input);
border: 1px solid var(--border-default);
color: var(--text-primary);
font-size: 13px;
outline: none;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.profile-form-group input:focus {
border-color: var(--primary);
box-shadow: 0 0 0 2px var(--primary-subtle);
}
.profile-form-group input:disabled,
.profile-form-group input[readonly] {
background: var(--bg-canvas);
color: var(--text-secondary);
border-color: var(--border-subtle);
cursor: not-allowed;
}
.input-with-lock {
position: relative;
display: flex;
align-items: center;
}
.input-with-lock input {
padding-right: 32px;
}
.input-with-lock .lock-icon {
position: absolute;
right: 10px;
color: var(--text-muted);
display: flex;
align-items: center;
pointer-events: none;
}
/* Security & Password Accordion */
.profile-security-accordion {
border: 1px solid var(--border-subtle);
border-radius: 8px;
background: var(--bg-card);
overflow: hidden;
}
.security-accordion-header {
padding: 12px 16px;
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
background: var(--bg-card);
transition: background 0.15s ease;
}
.security-accordion-header:hover {
background: var(--bg-surface-hover);
}
.security-accordion-header strong {
font-size: 13px;
font-weight: 600;
color: var(--text-primary);
}
.security-accordion-body {
padding: 0 16px 16px 16px;
border-top: 1px solid var(--border-subtle);
}
/* Responsive adjustments */
@media (max-width: 860px) {
.app-sidebar {
position: fixed;
top: 0;
bottom: 0;
left: -240px;
transition: transform 0.25s var(--ease);
}
.app-sidebar.mobile-open {
transform: translateX(240px);
}
.mobile-menu-trigger {
display: grid;
}
.kanban-board {
grid-template-columns: repeat(4, 280px);
}
}
/* ══════════════════════════════════════════════════════════════════════════
KHIRA v13 — "Obsidian Desk": new identity, new structure, new flow.
Ink-violet base · amber signal · cyan progress · violet hold · emerald done
Type: Instrument Serif (display) · Onest (interface) · IBM Plex Mono (data)
Layout: hover-expanding icon dock · floating command header · ribbon metrics
· horizontal swim-lane board · hairline ledger lists · split-screen sign-in
══════════════════════════════════════════════════════════════════════════ */
:root{
--font-sans:'Onest','Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
--font-mono:'IBM Plex Mono','JetBrains Mono',Consolas,monospace;
--font-display:'Instrument Serif',Georgia,'Times New Roman',serif;
--bg-canvas:#100e17;--bg-sidebar:#0b0a10;--bg-surface:#17141f;--bg-surface-elevated:#1f1b2b;--bg-surface-hover:#272236;
--bg-card:#1a1724;--bg-card-hover:#221e2f;--bg-subtle:rgba(255,255,255,.04);--bg-input:#0d0b13;--bg-input-focus:#120f1a;--bg-lane:rgba(255,255,255,.025);
--border-subtle:rgba(255,255,255,.07);--border-default:rgba(255,255,255,.13);--border-hover:rgba(255,255,255,.25);--border-focus:#f2b544;
--text-primary:#f2eff8;--text-secondary:#a7a1b8;--text-muted:#6f6a82;--text-inverse:#1a1204;
--primary:#f2b544;--primary-hover:#ffc65e;--primary-subtle:rgba(242,181,68,.14);--primary-text:#ffcd6f;
--status-open:#a7a1b8;--status-open-bg:rgba(167,161,184,.13);--status-progress:#38bdf8;--status-progress-bg:rgba(56,189,248,.14);
--status-hold:#b794f6;--status-hold-bg:rgba(183,148,246,.15);--status-completed:#34d399;--status-completed-bg:rgba(52,211,153,.14);
--prio-critical:#ff5d6c;--prio-critical-bg:rgba(255,93,108,.16);--prio-high:#ff9248;--prio-high-bg:rgba(255,146,72,.16);
--prio-medium:#f2b544;--prio-medium-bg:rgba(242,181,68,.15);--prio-low:#38bdf8;--prio-low-bg:rgba(56,189,248,.15);
--danger:#ff5d6c;--danger-bg:rgba(255,93,108,.15);--warning:#f2b544;--success:#34d399;
--glass-blur:blur(16px);--shadow-drawer:-30px 0 80px rgba(0,0,0,.6);--ease:cubic-bezier(.2,.9,.25,1);--duration:.2s;
--dock:72px;--dock-open:236px;
}
[data-theme="light"]{
--bg-canvas:#f4f2f8;--bg-sidebar:#fff;--bg-surface:#fff;--bg-surface-elevated:#fff;--bg-surface-hover:#efecf5;
--bg-card:#fff;--bg-card-hover:#faf9fc;--bg-subtle:rgba(30,20,60,.045);--bg-input:#fff;--bg-input-focus:#fff;--bg-lane:rgba(30,20,60,.035);
--border-subtle:rgba(30,20,60,.09);--border-default:rgba(30,20,60,.17);--border-hover:rgba(30,20,60,.32);--border-focus:#b9770e;
--text-primary:#1b1626;--text-secondary:#5a526b;--text-muted:#8c859c;--text-inverse:#fff;
--primary:#b9770e;--primary-hover:#9c6209;--primary-subtle:rgba(185,119,14,.12);--primary-text:#8a5608;
--status-open:#5a526b;--status-progress:#0b83b8;--status-hold:#7c4fd0;--status-completed:#0f9467;
--prio-critical:#e5384a;--prio-high:#d9661a;--prio-medium:#b9770e;--prio-low:#0b83b8;--danger:#e5384a;--success:#0f9467;--warning:#b9770e;
--shadow-drawer:-30px 0 80px rgba(30,20,60,.2);
}
/* ── Base ── */
body{background:var(--bg-canvas);color:var(--text-primary);font-family:var(--font-sans);-webkit-font-smoothing:antialiased}
::selection{background:var(--primary);color:var(--text-inverse)}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background:var(--border-default);border-radius:9px;border:2px solid transparent;background-clip:padding-box}
h1,h2,.tile strong,.brand-text,.auth-brand h2,.dh h3,.date-header{font-family:var(--font-display);font-weight:400;letter-spacing:-.01em}
.mono,code,kbd,.tn,.id{font-family:var(--font-mono)}
kbd{background:var(--bg-subtle);border:1px solid var(--border-default);border-radius:5px;padding:1px 6px;font-size:11px;color:var(--text-secondary)}
.app-layout{position:relative;background:var(--bg-canvas)}
.app-layout::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(900px 420px at 85% -10%,var(--primary-subtle),transparent 70%),linear-gradient(var(--border-subtle) 1px,transparent 1px) 0 0/100% 56px;opacity:.5;-webkit-mask:linear-gradient(#000,transparent 60%);mask:linear-gradient(#000,transparent 60%)}
/* ── Sidebar: a real docked panel (252px) that collapses to a 76px icon rail via the edge toggle ── */
.btn-sidebar-create{background:var(--primary);color:var(--text-inverse);border:0;border-radius:12px;font-weight:650;box-shadow:0 10px 24px -12px var(--primary)}
.btn-sidebar-create:hover{background:var(--primary-hover);transform:translateY(-1px)}
.btn-sidebar-create kbd{background:rgba(0,0,0,.16);border:0;color:inherit}
.brand-logo-sq,.brand-badge-icon{background:var(--primary);color:var(--text-inverse);border-radius:12px;display:grid;place-items:center;flex-shrink:0}
.brand-text{font-size:25px;line-height:1}.workspace-name{color:var(--text-muted);font-size:11.5px}
.nav-item{position:relative;border-radius:12px;color:var(--text-secondary);transition:background .2s,color .2s}
.nav-item .nav-ic{flex-shrink:0;width:20px;height:20px;stroke-width:1.9;opacity:1}
.nav-item:hover{background:var(--bg-subtle);color:var(--text-primary)}
.nav-item.on{background:var(--primary-subtle);color:var(--primary-text)}
.nav-item.on::before{content:"";position:absolute;left:-12px;top:50%;height:20px;margin-top:-10px;width:3px;border-radius:0 3px 3px 0;background:var(--primary);box-shadow:0 0 12px var(--primary)}
.nav-badge{font-family:var(--font-mono);font-size:11px;background:var(--bg-subtle);border-radius:99px;flex-shrink:0}.nav-badge.danger{background:var(--danger-bg);color:var(--danger)}
.nav-group-header{text-transform:none;letter-spacing:0;font-weight:600;font-size:12px}
.dock-toggle{display:none}
@media(min-width:861px){
.app-sidebar{position:relative;width:252px;overflow:visible;z-index:30;transition:width .3s var(--ease)}
.sidebar-top{padding:18px 16px 14px;overflow:hidden}
.sidebar-brand{gap:12px}.brand-logo-sq{width:40px;height:40px}.brand-details{min-width:0;overflow:hidden}
.sidebar-action{padding:14px 12px 4px}
.btn-sidebar-create{width:100%;height:42px;padding:0 14px;gap:12px}
.sidebar-nav{padding:6px 12px 12px;gap:3px;overflow-x:hidden}
.nav-item{width:100%;height:42px;padding:0 12px;gap:12px}
.nav-text{flex:1;min-width:0;font-size:13.5px}
.nav-group-header{padding:18px 12px 6px;color:var(--text-muted)}
.sidebar-footer{padding:12px;gap:6px}
.user-profile-tile{padding:6px;gap:10px}
.dock-toggle{display:grid;place-items:center;position:absolute;top:30px;right:-13px;width:26px;height:26px;border-radius:50%;background:var(--bg-surface-elevated);border:1px solid var(--border-default);color:var(--text-secondary);cursor:pointer;z-index:5;box-shadow:0 4px 12px -4px rgba(0,0,0,.6);transition:transform .3s var(--ease),color .2s,border-color .2s}
.dock-toggle:hover{color:var(--primary-text);border-color:var(--primary)}
#app.dock-min .app-sidebar{width:76px}
#app.dock-min .dock-toggle{transform:rotate(180deg)}
#app.dock-min :is(.brand-details,.nav-text,.nav-badge,.user-profile-meta,.btn-sidebar-create span,.btn-sidebar-create kbd,.nav-group-header,.sidebar-footer-controls .icon-btn-sm:first-child){display:none}
#app.dock-min .sidebar-top{padding:18px 0 14px;display:flex;justify-content:center}
#app.dock-min .sidebar-action{padding:14px 16px 4px}
#app.dock-min .btn-sidebar-create{padding:0;justify-content:center}
#app.dock-min .nav-item{padding:0;justify-content:center}
#app.dock-min .nav-item.on::before{left:-12px}
#app.dock-min .sidebar-nav{border-top:1px solid var(--border-subtle);margin:12px 12px 0;padding:12px 0}
#app.dock-min .sidebar-footer{flex-direction:column;align-items:center;justify-content:flex-end;padding:12px 0}
#app.dock-min .user-profile-tile{flex:none;justify-content:center;padding:4px}
#app.dock-min .sidebar-footer-controls{flex-direction:column}
#app.dock-min #navAdminGroup{display:none}
}
/* ── Floating command header ── */
.app-header{height:76px;padding:0 32px;background:transparent;border:0;position:relative;z-index:12}
.bc-crumb,.bc-divider{display:none}
.bc-current{font-family:var(--font-display);font-weight:400;font-size:32px;letter-spacing:-.02em}
.header-center{flex:1;max-width:620px;margin:0 auto}
.header-search-bar{height:44px;background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:14px;box-shadow:0 12px 30px -18px rgba(0,0,0,.6);transition:border-color .2s,box-shadow .3s var(--ease),transform .3s var(--ease)}
.header-search-bar:focus-within{border-color:var(--primary);box-shadow:0 0 0 4px var(--primary-subtle),0 20px 40px -20px rgba(0,0,0,.7);transform:scale(1.015)}
.header-right{gap:6px}
.cmd-k-btn,.header-right .ib{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:12px;height:38px;min-width:38px}
.live-status-pill{border-radius:99px;font-family:var(--font-mono);font-size:11px}
.live-status-pill.online .live-dot{background:var(--success);box-shadow:0 0 10px var(--success)}
.notification-indicator-dot{background:var(--danger);box-shadow:0 0 0 3px var(--bg-canvas);animation:ping 2s infinite}@keyframes ping{50%{box-shadow:0 0 0 3px var(--bg-canvas),0 0 0 8px transparent}}
.workspace-canvas{padding:4px 32px 100px;position:relative}
/* ── Page frame: hero left, ribbon metrics right ── */
#vT:not([hidden]),#vE:not([hidden]),#vA:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:40px;align-items:end}
#vT>*,#vE>*,#vA>*{grid-column:1/-1;min-width:0}
#vT>.panel-header-hero,#vE>.panel-header-hero,#vA>.panel-header-hero{grid-column:1;grid-row:1;margin-bottom:22px}
#vT>.stats,#vE>.stats,#vA>.stats{grid-column:2;grid-row:1;margin-bottom:22px}
.panel-header-hero h2{font-size:clamp(34px,4.4vw,56px);line-height:.98;letter-spacing:-.03em}
.hero-sub{color:var(--text-secondary);font-size:14.5px;max-width:56ch;margin-top:8px}
.stats-overview-grid{display:flex;gap:0;flex-wrap:nowrap}
.tile{background:none;border:0;border-left:1px solid var(--border-default);border-radius:0;box-shadow:none;padding:2px 26px;display:flex;flex-direction:column-reverse;gap:2px;min-width:104px;transition:transform .3s var(--ease)}
.tile:first-child{border-left:0;padding-left:0}
.tile small{text-transform:none;letter-spacing:0;font-size:12.5px;color:var(--text-muted);font-weight:500}
.tile strong{font-size:46px;line-height:1;font-variant-numeric:tabular-nums}
.tile:hover strong{color:var(--primary-text)}
@media(max-width:1180px){#vT:not([hidden]),#vE:not([hidden]),#vA:not([hidden]){grid-template-columns:1fr}#vT>.stats,#vE>.stats,#vA>.stats{grid-column:1;grid-row:2;overflow-x:auto}}
/* ── Tabs & filters: underline tabs, quiet chips ── */
.workspace-tabs-bar .seg{background:none;border:0;border-bottom:1px solid var(--border-subtle);border-radius:0;padding:0;gap:26px;width:100%;display:flex}
.seg button{background:none;border:0;border-radius:0;padding:12px 0;color:var(--text-muted);font-weight:550;position:relative;box-shadow:none;transition:color .2s}
.seg button:hover{color:var(--text-primary)}.seg button.on{background:none;color:var(--text-primary);box-shadow:none}
.seg button.on::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--primary);border-radius:2px;animation:grow .35s var(--ease)}@keyframes grow{from{transform:scaleX(0)}}
.view-mode-toggle.seg,#adminTabs.seg{border:1px solid var(--border-subtle);border-radius:11px;padding:3px;gap:2px;width:auto}
.view-mode-toggle button,#adminTabs button{padding:7px 12px;border-radius:8px}.view-mode-toggle button.on,#adminTabs button.on{background:var(--primary-subtle);color:var(--primary-text)}
.view-mode-toggle button.on::after,#adminTabs button.on::after{display:none}
.filter-controls-row{padding:16px 0 14px;gap:14px}
.chip{background:none;border:0;border-radius:8px;color:var(--text-muted);font-weight:550;padding:6px 10px;transition:background .2s,color .2s}
.chip:hover{background:var(--bg-subtle);color:var(--text-primary)}.chip.on{background:var(--text-primary);color:var(--bg-canvas)}
.action-chip{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:10px;color:var(--text-secondary);transition:all .2s}
.action-chip:hover{border-color:var(--border-hover);color:var(--text-primary)}
.action-chip.primary{background:var(--primary);color:var(--text-inverse);border-color:transparent;font-weight:650}
.filter-dropdown,.form-input,.form-select,.fld input,.fld select,.fld textarea{background:var(--bg-input);border:1px solid var(--border-subtle);border-radius:10px;color:var(--text-primary);transition:border-color .2s,box-shadow .2s}
.filter-dropdown:focus,.form-input:focus,.form-select:focus,.fld input:focus,.fld select:focus,.fld textarea:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 4px var(--primary-subtle)}
.fld.bad input,.fld.bad select,.fld.bad textarea{border-color:var(--danger);animation:shake .35s}@keyframes shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
/* ── Board: horizontal swim-lanes with priority rails ── */
.kanban-board{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x proximity;padding:4px 2px 28px;align-items:flex-start}
.col{flex:0 0 min(336px,86vw);scroll-snap-align:start;background:var(--bg-lane);border:0;border-top:2px solid var(--lane,var(--border-default));border-radius:0 0 18px 18px;min-height:360px;max-height:calc(100vh - 300px);transition:background .25s,box-shadow .25s}
.col[data-col=open]{--lane:var(--status-open)}.col[data-col=progress]{--lane:var(--status-progress)}.col[data-col=hold]{--lane:var(--status-hold)}.col[data-col=completed]{--lane:var(--status-completed)}
.col h3{font-family:var(--font-sans);font-size:13px;font-weight:650;padding:14px 14px 10px}
.col h3 i{width:8px;height:8px;border-radius:50%;box-shadow:0 0 12px var(--c)}
.col h3 small{font-family:var(--font-mono);color:var(--text-muted);background:none}
.col-cards-container{padding:2px 10px 12px;gap:10px}
.col.drop-hover{background:var(--primary-subtle);box-shadow:inset 0 0 0 1.5px var(--primary)}
.card{background:var(--bg-card);border:1px solid var(--border-subtle);border-left:3px solid var(--border-default);border-radius:4px 14px 14px 4px;box-shadow:0 8px 20px -14px rgba(0,0,0,.7);cursor:grab;transition:transform .3s var(--ease),box-shadow .3s,border-color .2s}
.card:has(.pb.critical){border-left-color:var(--prio-critical)}.card:has(.pb.high){border-left-color:var(--prio-high)}.card:has(.pb.medium){border-left-color:var(--prio-medium)}.card:has(.pb.low){border-left-color:var(--prio-low)}
.card:hover{transform:translateY(-3px) rotate(-.3deg);box-shadow:0 22px 40px -18px rgba(0,0,0,.8);border-color:var(--border-hover)}
.card.dragging{transform:rotate(2.5deg) scale(1.04);box-shadow:0 30px 60px -12px rgba(0,0,0,.8);opacity:.92;cursor:grabbing}
.card.selected{box-shadow:0 0 0 2px var(--primary)}
.tn,.id{color:var(--text-muted);font-size:11px}
.pb,.stt,.tag-pill,.meta-chip,.err-count-badge,.err-app-badge,.crash-pill,.bug-pill,.badge{border-radius:6px;font-weight:600}
.sla-bar{height:4px;border-radius:4px;background:var(--bg-subtle)}.sla-fill{border-radius:4px;transition:width .9s var(--ease)}
/* ── Ledger lists (list view, errors, tables) ── */
.tickets-list,.errors-list{border-top:1px solid var(--border-default)}
.li,.err-row{background:none;border:0;border-bottom:1px solid var(--border-subtle);border-radius:0;box-shadow:none;transition:background .2s,padding .25s var(--ease)}
.li:hover,.err-row:hover{background:var(--bg-subtle);padding-left:calc(var(--pl,16px) + 6px)}
.li.selected{background:var(--primary-subtle)}
.err-row{border-left:3px solid var(--danger);font-family:var(--font-mono);font-size:12.5px}
.date-header{font-size:22px;padding:22px 0 8px;color:var(--text-primary)}
.analytics-card,.admin-table-card{background:var(--bg-surface);border:1px solid var(--border-subtle);border-top:2px solid var(--primary);border-radius:0 0 18px 18px}
.analytics-charts-grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.card-header-bar h3,.card-title-sm{font-family:var(--font-sans);font-size:13px;font-weight:650;color:var(--text-secondary)}
.data-table th{font-weight:600;font-size:12px;color:var(--text-muted);border-bottom:1px solid var(--border-default)}.data-table tbody tr:hover{background:var(--bg-subtle)}
/* ── Buttons, dialogs, drawer, palette ── */
.fb,.btn-submit{background:var(--primary);color:var(--text-inverse);border:0;border-radius:11px;font-weight:650;transition:transform .2s var(--ease),background .2s}
.fb:hover,.btn-submit:hover{background:var(--primary-hover);transform:translateY(-1px)}.fb:active,.btn-submit:active{transform:scale(.97)}.fb:disabled,.btn-submit:disabled{opacity:.55;transform:none}
.tb,.btn-alt{border-radius:11px;color:var(--text-secondary)}.tb:hover,.btn-alt:hover{background:var(--bg-subtle);color:var(--text-primary)}
.btn-text-link{color:var(--primary-text)}.ib,.icon-btn-sm{border-radius:10px;transition:background .2s,color .2s}.ib:hover,.icon-btn-sm:hover{background:var(--bg-subtle);color:var(--text-primary)}
dialog::backdrop{background:rgba(6,4,12,.7);backdrop-filter:blur(6px);animation:fade .25s}@keyframes fade{from{opacity:0}}
.app-modal-dialog{background:var(--bg-surface);color:var(--text-primary);border:1px solid var(--border-default);border-radius:20px;box-shadow:0 50px 120px -30px rgba(0,0,0,.85)}
.app-modal-dialog[open]{animation:pop .4s var(--ease)}@keyframes pop{from{opacity:0;transform:translateY(18px) scale(.97)}}
.app-drawer-sheet{background:var(--bg-surface);color:var(--text-primary);width:min(820px,100vw);max-width:100vw;border-left:1px solid var(--border-default);box-shadow:var(--shadow-drawer)}
.app-drawer-sheet[open]{animation:drawer .5s var(--ease)}@keyframes drawer{from{transform:translateX(60px);opacity:0}}
.dh{border-bottom:1px solid var(--border-subtle)}.dh h3{font-size:28px}.da{border-top:1px solid var(--border-subtle)}
.cmd-palette-overlay{background:rgba(6,4,12,.65);backdrop-filter:blur(8px);animation:fade .2s}
.cmd-palette-box{background:var(--bg-surface);border:1px solid var(--border-default);border-radius:20px;box-shadow:0 50px 120px -30px rgba(0,0,0,.9);animation:pop .3s var(--ease)}
.cmd-item{border-radius:10px}.cmd-item:hover,.cmd-item.active{background:var(--primary-subtle)}
.popover-dropdown{background:var(--bg-surface);border:1px solid var(--border-default);border-radius:16px;box-shadow:0 30px 70px -20px rgba(0,0,0,.8);animation:pop .28s var(--ease);transform-origin:top right}
.bulk-floating-bar{background:var(--text-primary);color:var(--bg-canvas);border-radius:16px;box-shadow:0 30px 70px -16px rgba(0,0,0,.8);animation:rise .4s var(--ease)}@keyframes rise{from{opacity:0;transform:translate(-50%,24px)}}
.bulk-action-btn{color:inherit;border-radius:10px}.bulk-action-btn:hover{background:rgba(127,127,127,.2)}
.snack{background:var(--text-primary);color:var(--bg-canvas);border-radius:12px;box-shadow:0 20px 50px -12px rgba(0,0,0,.7)}
/* ── Split-screen sign-in ── */
.auth-screen{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(380px,540px);min-height:100vh;padding:0;background:var(--bg-canvas);align-items:stretch;justify-items:stretch}
.auth-art{position:relative;overflow:hidden;padding:56px 64px;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(700px 500px at 20% 100%,var(--primary-subtle),transparent 70%),var(--bg-sidebar);border-right:1px solid var(--border-subtle)}
.auth-art .art-mark{font-family:var(--font-display);font-size:30px}
.auth-art h2{font-family:var(--font-display);font-weight:400;font-size:clamp(40px,5.2vw,76px);line-height:.98;letter-spacing:-.03em;max-width:12ch}
.auth-art p{color:var(--text-secondary);max-width:42ch;margin-top:18px;line-height:1.55}
.art-trace{display:flex;align-items:flex-end;gap:5px;height:90px}
.art-trace i{flex:1;max-width:14px;height:100%;border-radius:3px;background:linear-gradient(var(--primary),transparent);transform-origin:bottom;transform:scaleY(.25);animation:trace 2.6s ease-in-out infinite alternate;animation-delay:calc(var(--n)*-.23s);opacity:.8}
.art-trace i:nth-child(7n){background:linear-gradient(var(--danger),transparent)}
@keyframes trace{to{transform:scaleY(1)}}
.auth-card{width:100%;max-width:none;margin:0;min-height:100vh;padding:56px clamp(28px,5vw,72px);background:var(--bg-surface);border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;justify-content:center;animation:fade .6s}
.auth-brand{text-align:left}.auth-brand h2{font-size:40px}.auth-subtitle{color:var(--text-secondary)}
.demo-chip{border-radius:10px;transition:transform .2s var(--ease),border-color .2s}.demo-chip:hover{transform:translateY(-2px);border-color:var(--primary)}
@media(max-width:900px){.auth-screen{grid-template-columns:1fr}.auth-art{display:none}.workspace-canvas{padding:4px 16px 100px}.app-header{padding:0 14px}.bc-current{font-size:24px}}
/* ── Motion: one orchestrated entrance when a view loads ── */
.view-panel:not([hidden]) .panel-header-hero{animation:rise2 .7s var(--ease) both}
.view-panel:not([hidden]) .stats .tile{animation:rise2 .7s var(--ease) both}.stats .tile:nth-child(2){animation-delay:.07s}.stats .tile:nth-child(3){animation-delay:.14s}.stats .tile:nth-child(4){animation-delay:.21s}
@keyframes rise2{from{opacity:0;transform:translateY(14px)}}
.anim .col,.anim .li{animation:rise2 .6s var(--ease) both}.anim .col:nth-child(2){animation-delay:.08s}.anim .col:nth-child(3){animation-delay:.16s}.anim .col:nth-child(4){animation-delay:.24s}
.live-flash{animation:flash 1.2s var(--ease)}@keyframes flash{0%{box-shadow:0 0 0 2px var(--primary),0 0 30px var(--primary-subtle)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}