Files
Unified_Dashboard_Suite_Go/web/khira/styles.css
T

3274 lines
91 KiB
CSS

/* ═══════════════════════════════════════════════════════════════════════════
KHIRA — Aurora Engineering Console
─────────────────────────────────────────────────────────────────────────
Design language: Animated mesh-gradient aurora + glassmorphism + 3D tilt
+ magnetic buttons + ripple clicks + spring motion + number tickers +
stagger entrances + border beams + custom glowing cursor.
Pure CSS animations — no external libraries.
═══════════════════════════════════════════════════════════════════════════ */
/* ─── DESIGN TOKENS ──────────────────────────────────────────────────── */
:root {
/* Aurora Tech — deep midnight base */
--bg-base: #050816;
--bg-canvas: #0A0E1A;
--bg-surface: #0F1424;
--bg-elevated: #151B30;
--bg-glass: rgba(15, 20, 36, 0.55);
--bg-glass-strong: rgba(10, 14, 26, 0.85);
/* Borders */
--border: rgba(255, 255, 255, 0.06);
--border-h: rgba(255, 255, 255, 0.12);
--border-a: rgba(255, 255, 255, 0.2);
/* Text */
--fg-0: #F8FAFC;
--fg-1: #E2E8F0;
--fg-2: #94A3B8;
--fg-3: #64748B;
--fg-4: #475569;
/* Aurora accents — emerald → cyan → violet → pink */
--aurora-1: #10B981;
--aurora-2: #06B6D4;
--aurora-3: #8B5CF6;
--aurora-4: #EC4899;
/* Signature gradients */
--aurora-gradient: linear-gradient(135deg, #10B981 0%, #06B6D4 50%, #8B5CF6 100%);
--aurora-gradient-2: linear-gradient(135deg, #06B6D4 0%, #8B5CF6 50%, #EC4899 100%);
--aurora-gradient-soft: linear-gradient(135deg, rgba(16,185,129,0.15) 0%, rgba(6,182,212,0.15) 50%, rgba(139,92,246,0.15) 100%);
/* Status */
--success: #10B981;
--success-soft: rgba(16, 185, 129, 0.12);
--warning: #F59E0B;
--warning-soft: rgba(245, 158, 11, 0.12);
--danger: #EF4444;
--danger-soft: rgba(239, 68, 68, 0.12);
--info: #06B6D4;
--info-soft: rgba(6, 182, 212, 0.12);
/* Priorities */
--p0: #EF4444;
--p0-soft: rgba(239, 68, 68, 0.12);
--p1: #F59E0B;
--p1-soft: rgba(245, 158, 11, 0.12);
--p2: #06B6D4;
--p2-soft: rgba(6, 182, 212, 0.12);
--p3: #64748B;
--p3-soft: rgba(100, 116, 139, 0.12);
/* Shadows */
--shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
--shadow-md: 0 8px 24px rgba(0,0,0,0.4);
--shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
--shadow-xl: 0 24px 64px rgba(0,0,0,0.6);
--shadow-modal: 0 24px 64px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.05);
--shadow-aurora: 0 8px 32px rgba(6, 182, 212, 0.25);
/* Radius */
--r-xs: 3px;
--r-sm: 4px;
--r-md: 6px;
--r-lg: 8px;
--r-xl: 12px;
--r-2xl: 16px;
--r-pill: 999px;
/* Spacing */
--s-1: 4px;
--s-2: 8px;
--s-3: 12px;
--s-4: 16px;
--s-5: 20px;
--s-6: 24px;
--s-8: 32px;
--s-10: 40px;
--s-12: 48px;
--s-16: 64px;
/* Type */
--font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
--font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
--font-display: 'Sora', var(--font-sans);
/* Motion — spring-like easing */
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
--dur-fast: 140ms;
--dur: 220ms;
--dur-med: 360ms;
--dur-slow: 560ms;
/* Layout */
--sidebar-w: 252px;
--topbar-h: 60px;
--drawer-w: 540px;
/* Focus ring */
--ring: 0 0 0 2px var(--bg-base), 0 0 0 4px var(--aurora-2);
}
/* ─── LIGHT THEME ────────────────────────────────────────────────────── */
[data-theme="light"] {
--bg-base: #F8FAFC;
--bg-canvas: #FFFFFF;
--bg-surface: #F1F5F9;
--bg-elevated: #FFFFFF;
--bg-glass: rgba(255, 255, 255, 0.7);
--bg-glass-strong: rgba(255, 255, 255, 0.95);
--border: rgba(15, 23, 42, 0.08);
--border-h: rgba(15, 23, 42, 0.15);
--border-a: rgba(15, 23, 42, 0.25);
--fg-0: #0F172A;
--fg-1: #1E293B;
--fg-2: #475569;
--fg-3: #64748B;
--fg-4: #94A3B8;
--shadow-sm: 0 2px 8px rgba(15,23,42,0.06);
--shadow-md: 0 8px 24px rgba(15,23,42,0.1);
--shadow-lg: 0 16px 48px rgba(15,23,42,0.15);
--shadow-xl: 0 24px 64px rgba(15,23,42,0.2);
--shadow-modal: 0 24px 64px rgba(15,23,42,0.2), 0 0 0 1px rgba(15,23,42,0.06);
}
/* ─── RESET & BASE ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; -webkit-text-size-adjust: 100%; }
body {
font-family: var(--font-sans);
background: var(--bg-base);
color: var(--fg-0);
line-height: 1.5;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01";
overflow-x: hidden;
min-height: 100vh;
cursor: none;
}
@media (hover: none) and (pointer: coarse) {
body { cursor: auto; }
.cursor-glow, .cursor-dot { display: none !important; }
}
button, input, select, textarea { font: inherit; color: inherit; line-height: inherit; cursor: none; }
@media (hover: none) and (pointer: coarse) {
button, input, select, textarea { cursor: auto; }
}
button { background: none; border: none; }
a { color: inherit; text-decoration: none; cursor: none; }
@media (hover: none) and (pointer: coarse) { a { cursor: pointer; } }
/* Scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--border-a) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-a); border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--aurora-2); }
::selection { background: rgba(6, 182, 212, 0.3); color: var(--fg-0); }
:focus-visible { outline: none; box-shadow: var(--ring); }
/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
.mono { font-family: var(--font-mono); font-size: 0.92em; }
/* ════════════════════════════════════════════════════════════════════ */
/* AURORA MESH BACKGROUND */
/* ════════════════════════════════════════════════════════════════════ */
.aurora-mesh {
position: fixed;
inset: 0;
z-index: 0;
overflow: hidden;
pointer-events: none;
background: var(--bg-base);
}
.mesh-blob {
position: absolute;
border-radius: 50%;
filter: blur(100px);
opacity: 0.45;
will-change: transform;
}
.mesh-1 {
width: 600px; height: 600px;
background: radial-gradient(circle, #10B981 0%, transparent 60%);
top: -150px; left: -120px;
animation: mesh-drift-1 28s var(--ease-in-out) infinite alternate;
}
.mesh-2 {
width: 700px; height: 700px;
background: radial-gradient(circle, #06B6D4 0%, transparent 60%);
bottom: -200px; right: -180px;
animation: mesh-drift-2 32s var(--ease-in-out) infinite alternate;
}
.mesh-3 {
width: 500px; height: 500px;
background: radial-gradient(circle, #8B5CF6 0%, transparent 60%);
top: 40%; left: 50%;
transform: translate(-50%, -50%);
opacity: 0.3;
animation: mesh-drift-3 36s var(--ease-in-out) infinite alternate;
}
@keyframes mesh-drift-1 {
0% { transform: translate(0, 0) scale(1); }
50% { transform: translate(60px, 40px) scale(1.1); }
100% { transform: translate(-40px, 60px) scale(0.95); }
}
@keyframes mesh-drift-2 {
0% { transform: translate(0, 0) scale(1); }
50% { transform: translate(-50px, -30px) scale(1.05); }
100% { transform: translate(40px, -50px) scale(1.12); }
}
@keyframes mesh-drift-3 {
0% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
50% { transform: translate(-46%, -54%) scale(1.08); opacity: 0.4; }
100% { transform: translate(-54%, -46%) scale(0.94); opacity: 0.25; }
}
[data-theme="light"] .mesh-blob { opacity: 0.2; }
.mesh-grid {
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
background-size: 60px 60px;
mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
-webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
[data-theme="light"] .mesh-grid {
background-image:
linear-gradient(rgba(15,23,42,0.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(15,23,42,0.04) 1px, transparent 1px);
}
.sparkle-canvas {
position: absolute;
inset: 0;
width: 100%; height: 100%;
pointer-events: none;
}
/* ─── CUSTOM CURSOR ─────────────────────────────────────────────────── */
.cursor-glow {
position: fixed;
top: 0; left: 0;
width: 24px; height: 24px;
border-radius: 50%;
background: radial-gradient(circle, rgba(6, 182, 212, 0.5) 0%, rgba(6, 182, 212, 0) 70%);
pointer-events: none;
z-index: 9999;
transform: translate(-50%, -50%);
transition: width 200ms var(--ease-spring), height 200ms var(--ease-spring), background 200ms;
will-change: transform;
mix-blend-mode: screen;
}
.cursor-glow.is-hover {
width: 56px; height: 56px;
background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(139, 92, 246, 0) 70%);
}
.cursor-dot {
position: fixed;
top: 0; left: 0;
width: 6px; height: 6px;
border-radius: 50%;
background: var(--aurora-2);
pointer-events: none;
z-index: 9999;
transform: translate(-50%, -50%);
transition: transform 100ms var(--ease-out);
box-shadow: 0 0 8px var(--aurora-2);
will-change: transform;
}
/* ─── GLASS PANEL ───────────────────────────────────────────────────── */
.glass-panel {
background: var(--bg-glass);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border: 1px solid var(--border);
border-radius: var(--r-xl);
box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.04);
}
.glass-panel-strong {
background: var(--bg-glass-strong);
backdrop-filter: blur(28px) saturate(200%);
-webkit-backdrop-filter: blur(28px) saturate(200%);
border: 1px solid var(--border-h);
box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.05);
}
/* ════════════════════════════════════════════════════════════════════ */
/* AUTH SCREEN */
/* ════════════════════════════════════════════════════════════════════ */
.auth-screen {
position: fixed;
inset: 0;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
padding: var(--s-4);
}
.auth-screen[hidden] { display: none; }
.auth-glass {
width: 100%;
max-width: 920px;
background: var(--bg-glass);
backdrop-filter: blur(40px) saturate(180%);
-webkit-backdrop-filter: blur(40px) saturate(180%);
border: 1px solid var(--border-h);
border-radius: var(--r-2xl);
box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,0.06);
overflow: hidden;
position: relative;
animation: auth-enter var(--dur-slow) var(--ease-spring);
}
@keyframes auth-enter {
from { opacity: 0; transform: scale(0.96) translateY(20px); }
to { opacity: 1; transform: scale(1) translateY(0); }
}
/* Border beam on auth-glass */
.auth-glass::before {
content: '';
position: absolute;
inset: -1px;
border-radius: inherit;
padding: 1px;
background: var(--aurora-gradient);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
opacity: 0.3;
pointer-events: none;
}
.auth-grid {
display: grid;
grid-template-columns: 1fr 1fr;
}
/* Auth aside */
.auth-side {
padding: var(--s-10);
display: flex;
flex-direction: column;
gap: var(--s-8);
border-right: 1px solid var(--border);
position: relative;
}
.auth-side::before {
content: '';
position: absolute;
top: -100px; right: -100px;
width: 300px; height: 300px;
background: radial-gradient(circle, var(--aurora-3) 0%, transparent 60%);
opacity: 0.18;
filter: blur(40px);
pointer-events: none;
}
.brand-block {
display: flex;
align-items: center;
gap: var(--s-3);
padding: 6px;
border-radius: var(--r-md);
transition: background var(--dur-fast);
position: relative;
z-index: 1;
}
.brand-block:hover { background: var(--bg-glass); }
.brand-mark {
width: 36px; height: 36px;
border-radius: var(--r-md);
background: var(--aurora-gradient);
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 16px;
box-shadow: 0 4px 16px rgba(6, 182, 212, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
position: relative;
overflow: hidden;
}
.brand-mark::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
animation: brand-shimmer 3s linear infinite;
}
@keyframes brand-shimmer {
from { transform: translateX(-100%); }
to { transform: translateX(100%); }
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.brand-sub { font-size: 10px; color: var(--fg-3); margin-top: 2px; font-family: var(--font-mono); }
.auth-side-body { position: relative; z-index: 1; flex: 1; }
.auth-headline {
font-family: var(--font-display);
font-size: 36px;
font-weight: 800;
letter-spacing: -0.03em;
line-height: 1.1;
margin-bottom: var(--s-4);
background: linear-gradient(135deg, var(--fg-0) 0%, var(--fg-1) 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.aurora-text {
background: var(--aurora-gradient);
background-size: 200% 200%;
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
animation: aurora-text-shift 6s ease-in-out infinite;
}
@keyframes aurora-text-shift {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
.auth-sub {
font-size: 15px;
color: var(--fg-2);
line-height: 1.55;
margin-bottom: var(--s-6);
}
.auth-features {
list-style: none;
display: flex;
flex-direction: column;
gap: var(--s-2);
}
.auth-features li {
display: flex;
align-items: center;
gap: var(--s-3);
font-size: 13px;
color: var(--fg-1);
padding: var(--s-3);
background: var(--bg-glass);
border: 1px solid var(--border);
border-radius: var(--r-md);
opacity: 0;
animation: feature-stagger 600ms var(--ease-spring) forwards;
}
.auth-features li:nth-child(1) { animation-delay: 200ms; }
.auth-features li:nth-child(2) { animation-delay: 320ms; }
.auth-features li:nth-child(3) { animation-delay: 440ms; }
@keyframes feature-stagger {
from { opacity: 0; transform: translateX(-12px); }
to { opacity: 1; transform: translateX(0); }
}
.feat-icon {
width: 32px; height: 32px;
border-radius: var(--r-sm);
background: var(--aurora-gradient-soft);
color: var(--aurora-2);
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
flex-shrink: 0;
}
.auth-personas {
position: relative;
z-index: 1;
padding-top: var(--s-6);
border-top: 1px solid var(--border);
}
.auth-personas-label {
font-size: 10px;
color: var(--fg-3);
text-transform: uppercase;
letter-spacing: 0.08em;
font-weight: 700;
margin-bottom: var(--s-3);
}
.auth-personas-row {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: var(--s-2);
}
.persona-btn {
display: flex;
flex-direction: column;
align-items: center;
gap: 6px;
padding: var(--s-3) var(--s-2);
background: var(--bg-glass);
border: 1px solid var(--border);
border-radius: var(--r-md);
transition: all var(--dur) var(--ease-spring);
text-align: center;
position: relative;
overflow: hidden;
}
.persona-btn::before {
content: '';
position: absolute;
inset: 0;
background: var(--aurora-gradient-soft);
opacity: 0;
transition: opacity var(--dur);
}
.persona-btn:hover::before { opacity: 1; }
.persona-btn:hover {
border-color: var(--aurora-2);
transform: translateY(-2px);
box-shadow: var(--shadow-aurora);
}
.persona-btn > * { position: relative; z-index: 1; }
.persona-avatar { font-size: 22px; }
.persona-info { display: flex; flex-direction: column; line-height: 1.1; }
.persona-name { font-size: 12px; font-weight: 600; color: var(--fg-0); }
.persona-role { font-size: 10px; color: var(--fg-3); }
/* Auth main */
.auth-main {
padding: var(--s-10) var(--s-8);
display: flex;
flex-direction: column;
justify-content: center;
}
.auth-tabs {
position: relative;
display: flex;
gap: var(--s-1);
padding: 4px;
background: var(--bg-glass);
border: 1px solid var(--border);
border-radius: var(--r-md);
margin-bottom: var(--s-6);
}
.auth-tab {
position: relative;
z-index: 1;
flex: 1;
padding: 8px 12px;
border-radius: var(--r-sm);
font-size: 13px;
font-weight: 600;
color: var(--fg-2);
transition: color var(--dur);
}
.auth-tab.active { color: white; }
.auth-tab-glow {
position: absolute;
top: 4px; left: 4px;
width: calc(50% - 4px); height: calc(100% - 8px);
background: var(--aurora-gradient);
border-radius: var(--r-sm);
transition: transform var(--dur-med) var(--ease-spring);
z-index: 0;
box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
}
.auth-tab-glow.right { transform: translateX(100%); }
.auth-form {
display: flex;
flex-direction: column;
gap: var(--s-5);
animation: form-fade-in var(--dur-med) var(--ease-spring);
}
.auth-form[hidden] { display: none; }
@keyframes form-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
.form-title {
font-size: 24px;
font-weight: 800;
letter-spacing: -0.02em;
color: var(--fg-0);
}
.form-sub {
font-size: 13px;
color: var(--fg-3);
margin-top: -16px;
}
.form-stack {
display: flex;
flex-direction: column;
gap: var(--s-4);
}
/* ════════════════════════════════════════════════════════════════════ */
/* APP SHELL */
/* ════════════════════════════════════════════════════════════════════ */
.app-shell {
position: relative;
z-index: 1;
display: grid;
grid-template-columns: var(--sidebar-w) 1fr;
min-height: 100vh;
animation: app-enter var(--dur-slow) var(--ease-spring);
}
.app-shell[hidden] { display: none; }
@keyframes app-enter {
from { opacity: 0; }
to { opacity: 1; }
}
/* Sidebar */
.sidebar {
background: var(--bg-glass);
backdrop-filter: blur(20px) saturate(160%);
-webkit-backdrop-filter: blur(20px) saturate(160%);
border-right: 1px solid var(--border);
border-radius: 0;
display: flex;
flex-direction: column;
height: 100vh;
position: sticky;
top: 0;
overflow: hidden;
}
.sidebar-backdrop {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.6);
backdrop-filter: blur(4px);
z-index: 40;
opacity: 0;
pointer-events: none;
transition: opacity var(--dur-med) var(--ease-out);
}
.sidebar-backdrop.active { opacity: 1; pointer-events: all; }
.sidebar-top {
padding: var(--s-4) var(--s-4);
border-bottom: 1px solid var(--border);
height: var(--topbar-h);
display: flex;
align-items: center;
}
.sidebar-top .brand-mark { width: 30px; height: 30px; font-size: 14px; border-radius: var(--r-sm); }
.sidebar-top .brand-name { font-size: 15px; }
.sidebar-top .brand-sub { font-size: 9px; }
.sidebar-nav {
padding: var(--s-3) var(--s-2);
display: flex;
flex-direction: column;
gap: 1px;
}
.nav-label {
font-size: 10px;
color: var(--fg-3);
text-transform: uppercase;
letter-spacing: 0.08em;
font-weight: 700;
padding: var(--s-2) var(--s-3);
margin-top: var(--s-2);
}
.nav-label:first-child { margin-top: 0; }
.nav-item {
display: flex;
align-items: center;
gap: var(--s-3);
padding: 8px var(--s-3);
border-radius: var(--r-sm);
color: var(--fg-2);
font-size: 13px;
font-weight: 500;
transition: all var(--dur-fast) var(--ease-out);
width: 100%;
text-align: left;
position: relative;
overflow: hidden;
}
.nav-item::before {
content: '';
position: absolute;
left: 0; top: 8px; bottom: 8px;
width: 3px;
background: var(--aurora-gradient);
border-radius: var(--r-pill);
transform: scaleY(0);
transition: transform var(--dur) var(--ease-spring);
}
.nav-item:hover {
background: var(--bg-glass);
color: var(--fg-0);
}
.nav-item.active {
background: var(--aurora-gradient-soft);
color: var(--fg-0);
}
.nav-item.active::before { transform: scaleY(1); }
.nav-item i { width: 16px; font-size: 13px; text-align: center; position: relative; z-index: 1; }
.nav-text { flex: 1; position: relative; z-index: 1; }
.nav-count {
font-size: 11px;
font-weight: 600;
padding: 1px 7px;
background: rgba(255,255,255,0.05);
color: var(--fg-2);
border-radius: var(--r-pill);
min-width: 22px;
text-align: center;
font-family: var(--font-mono);
position: relative;
z-index: 1;
}
.nav-item.active .nav-count {
background: var(--aurora-2);
color: white;
box-shadow: 0 2px 8px rgba(6, 182, 212, 0.4);
}
.sidebar-section {
padding: var(--s-3) var(--s-2);
margin-top: var(--s-2);
border-top: 1px solid var(--border);
}
.workload-list { display: flex; flex-direction: column; gap: 4px; }
.workload-item {
display: flex;
align-items: center;
gap: var(--s-2);
width: 100%;
padding: 7px 10px;
background: transparent;
border: 1px solid transparent;
border-radius: var(--r-sm);
font-size: 12px;
font-weight: 500;
color: var(--fg-2);
cursor: pointer;
transition: all var(--dur-fast) var(--ease-spring);
text-align: left;
}
.workload-item:hover {
background: var(--bg-elevated);
color: var(--fg-0);
border-color: var(--border-h);
transform: translateX(2px);
}
.workload-item.active {
background: var(--bg-elevated);
color: var(--fg-0);
border-color: var(--aurora-2);
box-shadow: 0 0 12px rgba(6, 182, 212, 0.18);
}
.workload-item:active {
transform: scale(0.98);
}
.wl-dot {
width: 6px; height: 6px;
border-radius: 50%;
flex-shrink: 0;
}
.wl-active { background: var(--aurora-1); box-shadow: 0 0 6px var(--aurora-1); }
.wl-hold { background: var(--warning); box-shadow: 0 0 6px var(--warning); }
.wl-done { background: var(--success); box-shadow: 0 0 6px var(--success); }
.wl-total { background: var(--aurora-2); box-shadow: 0 0 6px var(--aurora-2); }
.wl-text { flex: 1; }
.wl-num {
font-family: var(--font-mono);
font-weight: 600;
font-size: 11px;
color: var(--fg-1);
}
.workload-divider { height: 1px; background: var(--border); margin: 4px 0; }
.sidebar-foot {
margin-top: auto;
padding: var(--s-3);
border-top: 1px solid var(--border);
display: flex;
flex-direction: column;
gap: var(--s-2);
}
.sync-status {
display: flex;
align-items: center;
gap: var(--s-2);
font-size: 11px;
color: var(--fg-3);
padding: 4px var(--s-2);
}
.sync-dot {
width: 6px; height: 6px;
border-radius: 50%;
background: var(--fg-4);
}
.sync-dot.live { background: var(--success); box-shadow: 0 0 6px var(--success); animation: sync-pulse 2s ease-in-out infinite; }
.sync-dot.connecting { background: var(--warning); box-shadow: 0 0 6px var(--warning); animation: sync-pulse 1s ease-in-out infinite; }
@keyframes sync-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}
.sidebar-foot-actions { display: flex; gap: var(--s-1); }
.foot-btn {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: var(--s-2);
padding: 8px;
border-radius: var(--r-sm);
color: var(--fg-2);
font-size: 11px;
font-weight: 500;
background: var(--bg-glass);
border: 1px solid var(--border);
transition: all var(--dur-fast) var(--ease-out);
}
.foot-btn:hover {
background: var(--aurora-gradient-soft);
color: var(--fg-0);
border-color: var(--border-h);
}
.foot-btn i { font-size: 11px; }
/* ─── MAIN AREA ────────────────────────────────────────────────────── */
.main-area {
display: flex;
flex-direction: column;
min-height: 100vh;
min-width: 0;
}
/* Topbar */
.topbar {
height: var(--topbar-h);
background: var(--bg-glass);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border: 1px solid var(--border);
border-radius: 0;
border-left: none;
border-right: none;
border-top: none;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 var(--s-5);
gap: var(--s-4);
position: sticky;
top: 0;
z-index: 30;
box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 4px 16px rgba(0,0,0,0.2);
}
.topbar-left {
display: flex;
align-items: center;
gap: var(--s-3);
min-width: 0;
}
.mobile-menu { display: none; }
.crumbs {
display: flex;
align-items: center;
gap: var(--s-2);
font-size: 13px;
min-width: 0;
}
.crumb { color: var(--fg-2); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumb-active {
color: var(--fg-0);
font-weight: 700;
font-family: var(--font-display);
letter-spacing: -0.01em;
}
.crumb-sub { font-size: 12px; color: var(--fg-3); }
.crumb-sep { color: var(--fg-4); }
.topbar-right {
display: flex;
align-items: center;
gap: var(--s-2);
flex-shrink: 0;
}
.search-trigger {
display: flex;
align-items: center;
gap: var(--s-2);
padding: 7px 12px;
background: var(--bg-glass);
border: 1px solid var(--border);
border-radius: var(--r-md);
color: var(--fg-3);
font-size: 12px;
min-width: 240px;
transition: all var(--dur) var(--ease-out);
}
.search-trigger:hover {
background: var(--bg-elevated);
border-color: var(--aurora-2);
box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
color: var(--fg-1);
}
.search-trigger-text { flex: 1; text-align: left; }
.kbd {
font-family: var(--font-mono);
font-size: 10px;
background: var(--bg-elevated);
color: var(--fg-2);
padding: 1px 5px;
border-radius: var(--r-xs);
border: 1px solid var(--border);
}
.icon-btn {
width: 34px; height: 34px;
border-radius: var(--r-md);
background: var(--bg-glass);
border: 1px solid var(--border);
color: var(--fg-2);
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
transition: all var(--dur-fast) var(--ease-out);
position: relative;
}
.icon-btn:hover {
background: var(--aurora-gradient-soft);
color: var(--fg-0);
border-color: var(--aurora-2);
transform: translateY(-1px);
}
.notif-btn .notif-dot {
position: absolute;
top: 6px; right: 6px;
width: 7px; height: 7px;
border-radius: 50%;
background: var(--aurora-4);
border: 2px solid var(--bg-base);
display: none;
box-shadow: 0 0 6px var(--aurora-4);
}
.notif-btn .notif-dot.active { display: block; animation: notif-ping 2s ease-in-out infinite; }
@keyframes notif-ping {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.3); }
}
.notif-dropdown {
position: absolute;
top: calc(100% + 8px);
right: 0;
width: 360px;
max-height: 480px;
border-radius: var(--r-xl);
box-shadow: var(--shadow-lg);
z-index: 100;
opacity: 0;
pointer-events: none;
transform: translateY(-8px) scale(0.96);
transition: all var(--dur-med) var(--ease-spring);
overflow: hidden;
display: flex;
flex-direction: column;
}
.notif-dropdown.active {
opacity: 1;
pointer-events: all;
transform: translateY(0) scale(1);
}
.notif-head {
display: flex;
justify-content: space-between;
align-items: center;
padding: var(--s-3) var(--s-4);
border-bottom: 1px solid var(--border);
font-size: 12px;
font-weight: 600;
color: var(--fg-1);
}
.notif-mark {
font-size: 11px;
color: var(--aurora-2);
font-weight: 500;
transition: color var(--dur-fast);
}
.notif-mark:hover { color: var(--aurora-3); }
.notif-list { overflow-y: auto; flex: 1; }
.notif-item {
padding: var(--s-3) var(--s-4);
border-bottom: 1px solid var(--border);
cursor: pointer;
transition: background var(--dur-fast);
display: flex;
gap: var(--s-3);
}
.notif-item:hover { background: var(--bg-glass); }
.notif-item.unread {
background: var(--aurora-gradient-soft);
border-left: 3px solid var(--aurora-2);
padding-left: calc(var(--s-4) - 3px);
}
.notif-icon {
width: 28px; height: 28px;
border-radius: var(--r-sm);
background: var(--aurora-gradient-soft);
color: var(--aurora-2);
display: flex;
align-items: center;
justify-content: center;
font-size: 11px;
flex-shrink: 0;
}
.notif-body { flex: 1; min-width: 0; }
.notif-title { font-size: 12px; font-weight: 500; color: var(--fg-0); margin-bottom: 2px; }
.notif-time { font-size: 10px; color: var(--fg-3); font-family: var(--font-mono); }
.notif-empty { padding: var(--s-8); text-align: center; color: var(--fg-3); font-size: 12px; }
.user-chip {
display: flex;
align-items: center;
gap: var(--s-2);
padding: 4px 12px 4px 4px;
border-radius: var(--r-pill);
background: var(--bg-glass);
border: 1px solid var(--border);
transition: all var(--dur-fast) var(--ease-out);
}
.user-chip:hover {
background: var(--aurora-gradient-soft);
border-color: var(--aurora-2);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}
.chip-avatar {
width: 26px; height: 26px;
border-radius: 50%;
background: var(--aurora-gradient);
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
}
.chip-info { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.chip-name { font-size: 12px; font-weight: 600; color: var(--fg-0); }
.chip-role { font-size: 10px; color: var(--fg-3); }
/* ─── BUTTONS ─────────────────────────────────────────────────────── */
.btn-aurora {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--s-2);
padding: 8px 16px;
border-radius: var(--r-md);
background: var(--aurora-gradient);
background-size: 200% 200%;
color: white;
font-size: 12px;
font-weight: 600;
border: none;
transition: all var(--dur) var(--ease-out);
box-shadow: 0 4px 16px rgba(6, 182, 212, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
position: relative;
overflow: hidden;
white-space: nowrap;
}
.btn-aurora::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
transform: translateX(-100%);
transition: transform var(--dur-med) var(--ease-out);
}
.btn-aurora:hover {
background-position: 100% 50%;
transform: translateY(-1px);
box-shadow: 0 8px 24px rgba(6, 182, 212, 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-aurora:hover::before { transform: translateX(100%); }
.btn-aurora:active { transform: translateY(0); }
.btn-aurora:disabled, .btn-aurora.is-loading {
opacity: 0.7;
transform: none;
cursor: not-allowed;
}
.btn-aurora.is-loading .btn-label::after { content: '…'; }
.btn-ghost {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--s-2);
padding: 7px 12px;
border-radius: var(--r-md);
background: var(--bg-glass);
color: var(--fg-1);
font-size: 12px;
font-weight: 500;
border: 1px solid var(--border);
transition: all var(--dur-fast) var(--ease-out);
white-space: nowrap;
}
.btn-ghost:hover {
background: var(--aurora-gradient-soft);
color: var(--fg-0);
border-color: var(--aurora-2);
transform: translateY(-1px);
}
.btn-ghost:active { transform: translateY(0); }
.btn-danger {
background: var(--danger-soft);
color: var(--danger);
border-color: transparent;
}
.btn-danger:hover {
background: var(--danger);
color: white;
border-color: var(--danger);
box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
}
.btn-success {
background: linear-gradient(135deg, #10B981, #059669);
background-size: 200% 200%;
box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-success:hover { box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-warn {
background: linear-gradient(135deg, #F59E0B, #D97706);
background-size: 200% 200%;
box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-warn:hover { box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-block { width: 100%; }
.btn-sm { padding: 5px 10px; font-size: 11px; }
.btn-xs { padding: 3px 8px; font-size: 10px; }
.btn-cta { padding: 8px 14px; }
.btn-danger.btn-aurora {
background: linear-gradient(135deg, #EF4444, #DC2626);
box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-danger.btn-aurora:hover { box-shadow: 0 8px 24px rgba(239, 68, 68, 0.5); }
/* ─── CONTENT ──────────────────────────────────────────────────────── */
.content {
flex: 1;
padding: var(--s-5);
overflow-x: hidden;
}
/* Welcome strip */
.welcome-strip {
padding: var(--s-5) var(--s-6);
margin-bottom: var(--s-4);
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--s-4);
position: relative;
overflow: hidden;
}
.welcome-strip::before {
content: '';
position: absolute;
top: -50%; left: -10%;
width: 40%; height: 200%;
background: var(--aurora-gradient-soft);
filter: blur(40px);
pointer-events: none;
opacity: 0.6;
}
.welcome-left {
display: flex;
align-items: center;
gap: var(--s-4);
min-width: 0;
position: relative;
z-index: 1;
}
.welcome-avatar {
width: 48px; height: 48px;
border-radius: var(--r-md);
background: var(--aurora-gradient);
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
flex-shrink: 0;
box-shadow: var(--shadow-aurora);
position: relative;
overflow: hidden;
}
.welcome-avatar::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
animation: brand-shimmer 4s linear infinite;
}
.welcome-title {
font-size: 20px;
font-weight: 800;
letter-spacing: -0.02em;
color: var(--fg-0);
margin-bottom: 4px;
}
.welcome-sub {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: var(--s-2);
font-size: 12px;
color: var(--fg-2);
}
.role-chip {
display: inline-flex;
align-items: center;
gap: 4px;
background: var(--bg-glass);
border: 1px solid var(--border);
padding: 2px 8px;
border-radius: var(--r-sm);
font-size: 11px;
font-weight: 600;
color: var(--fg-1);
}
.lock-chip {
display: inline-flex;
align-items: center;
gap: 4px;
background: var(--success-soft);
color: var(--success);
padding: 2px 8px;
border-radius: var(--r-sm);
font-size: 11px;
font-weight: 600;
border: 1px solid rgba(16,185,129,0.2);
}
/* ─── STAT TILES ──────────────────────────────────────────────────── */
.stat-tiles {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: var(--s-3);
margin-bottom: var(--s-4);
}
.stat-tile {
padding: var(--s-4);
cursor: pointer;
transition: all var(--dur) var(--ease-spring);
position: relative;
overflow: hidden;
transform-style: preserve-3d;
perspective: 800px;
}
.stat-tile-glow {
position: absolute;
inset: 0;
background: radial-gradient(circle at 50% 0%, var(--tile-color, var(--aurora-2)) 0%, transparent 60%);
opacity: 0;
transition: opacity var(--dur-med);
pointer-events: none;
}
.stat-tile:hover .stat-tile-glow { opacity: 0.15; }
.stat-tile:hover {
transform: translateY(-3px);
border-color: var(--tile-color, var(--aurora-2));
box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 0 0 1px var(--tile-color, var(--aurora-2));
}
.stat-tile-icon {
width: 38px; height: 38px;
border-radius: var(--r-md);
background: color-mix(in srgb, var(--ic, var(--aurora-2)) 15%, transparent);
color: var(--ic, var(--aurora-2));
display: flex;
align-items: center;
justify-content: center;
font-size: 15px;
margin-bottom: var(--s-3);
position: relative;
z-index: 1;
box-shadow: 0 0 16px color-mix(in srgb, var(--ic, var(--aurora-2)) 30%, transparent);
}
.stat-tile-body { position: relative; z-index: 1; }
.stat-tile-num {
font-family: var(--font-display);
font-size: 28px;
font-weight: 800;
color: var(--fg-0);
line-height: 1;
letter-spacing: -0.03em;
margin-bottom: 4px;
}
.stat-tile-label {
font-size: 11px;
color: var(--fg-3);
font-weight: 500;
}
.stat-tile-arrow {
position: absolute;
top: var(--s-4); right: var(--s-4);
color: var(--tile-color, var(--aurora-2));
font-size: 13px;
opacity: 0;
transform: translateX(-8px);
transition: all var(--dur) var(--ease-spring);
z-index: 1;
}
.stat-tile:hover .stat-tile-arrow {
opacity: 1;
transform: translateX(0);
}
/* Ticker animation */
.ticker {
display: inline-block;
transition: transform var(--dur-med) var(--ease-spring);
}
/* ─── SCOPE TABS ──────────────────────────────────────────────────── */
.scope-tabs {
display: flex;
gap: var(--s-1);
border-bottom: 1px solid var(--border);
margin-bottom: var(--s-4);
}
.scope-tab {
display: flex;
align-items: center;
gap: var(--s-2);
padding: 10px 14px;
color: var(--fg-3);
font-size: 13px;
font-weight: 500;
border-bottom: 2px solid transparent;
margin-bottom: -1px;
transition: all var(--dur) var(--ease-out);
position: relative;
}
.scope-tab:hover { color: var(--fg-1); }
.scope-tab.active {
color: var(--fg-0);
font-weight: 600;
}
.scope-tab.active::after {
content: '';
position: absolute;
left: 0; right: 0; bottom: -1px;
height: 2px;
background: var(--aurora-gradient);
border-radius: var(--r-pill);
animation: scope-bar-in var(--dur-med) var(--ease-spring);
}
@keyframes scope-bar-in {
from { transform: scaleX(0); }
to { transform: scaleX(1); }
}
.scope-count {
font-size: 10px;
font-weight: 600;
background: var(--bg-glass);
color: var(--fg-2);
padding: 1px 7px;
border-radius: var(--r-pill);
font-family: var(--font-mono);
min-width: 18px;
text-align: center;
border: 1px solid var(--border);
}
.scope-tab.active .scope-count {
background: var(--aurora-gradient-soft);
color: var(--aurora-2);
border-color: var(--aurora-2);
}
/* ─── FILTER BAR ──────────────────────────────────────────────────── */
.filter-bar {
display: flex;
align-items: center;
gap: var(--s-2);
margin-bottom: var(--s-4);
flex-wrap: wrap;
padding: var(--s-3);
}
.filter-search {
position: relative;
display: flex;
align-items: center;
min-width: 280px;
flex: 1;
max-width: 480px;
}
.filter-search i {
position: absolute;
left: 12px;
color: var(--fg-3);
font-size: 12px;
pointer-events: none;
}
.filter-search input {
width: 100%;
padding: 8px 12px 8px 36px;
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--r-md);
color: var(--fg-0);
font-size: 12px;
transition: all var(--dur-fast) var(--ease-out);
}
.filter-search input::placeholder { color: var(--fg-3); }
.filter-search input:focus {
outline: none;
border-color: var(--aurora-2);
box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}
.filter-select {
padding: 8px 28px 8px 12px;
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--r-md);
color: var(--fg-0);
font-size: 12px;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 10px center;
transition: all var(--dur-fast) var(--ease-out);
}
.filter-select:hover { border-color: var(--border-h); background-color: var(--bg-elevated); }
.filter-select:focus {
outline: none;
border-color: var(--aurora-2);
box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}
.filter-spacer { flex: 1; }
.alerts-toggle {
display: flex;
align-items: center;
gap: var(--s-2);
font-size: 11px;
color: var(--fg-2);
font-weight: 500;
user-select: none;
}
.alerts-toggle input { display: none; }
.toggle-track {
width: 30px; height: 18px;
background: var(--bg-base);
border-radius: var(--r-pill);
border: 1px solid var(--border-h);
position: relative;
transition: all var(--dur-med) var(--ease-spring);
}
.toggle-thumb {
position: absolute;
top: 2px; left: 2px;
width: 12px; height: 12px;
background: var(--fg-2);
border-radius: 50%;
transition: all var(--dur-med) var(--ease-spring);
}
.alerts-toggle input:checked ~ .toggle-track {
background: var(--aurora-gradient);
border-color: transparent;
box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}
.alerts-toggle input:checked ~ .toggle-track .toggle-thumb {
left: 14px;
background: white;
}
.view-switch {
display: flex;
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--r-md);
padding: 2px;
gap: 1px;
}
.view-switch-btn {
display: flex;
align-items: center;
gap: 5px;
padding: 5px 10px;
border-radius: var(--r-sm);
color: var(--fg-3);
font-size: 11px;
font-weight: 500;
transition: all var(--dur-fast) var(--ease-out);
}
.view-switch-btn:hover { color: var(--fg-1); }
.view-switch-btn.active {
background: var(--aurora-gradient-soft);
color: var(--aurora-2);
}
/* ─── KANBAN ──────────────────────────────────────────────────────── */
.kanban {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: var(--s-3);
min-height: 480px;
}
.kanban-col {
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
}
.kanban-col-head {
display: flex;
justify-content: space-between;
align-items: center;
padding: var(--s-3) var(--s-4);
border-bottom: 1px solid var(--border);
background: var(--bg-glass);
}
.kh-left { display: flex; align-items: center; gap: var(--s-2); }
.kh-dot {
width: 8px; height: 8px;
border-radius: 50%;
position: relative;
}
.kh-dot::after {
content: '';
position: absolute;
inset: -3px;
border-radius: 50%;
background: inherit;
opacity: 0.3;
animation: kh-dot-ping 2.5s ease-in-out infinite;
}
.kh-open { background: var(--info); box-shadow: 0 0 8px var(--info); }
.kh-prog { background: var(--aurora-2); box-shadow: 0 0 8px var(--aurora-2); }
.kh-hold { background: var(--warning); box-shadow: 0 0 8px var(--warning); }
.kh-done { background: var(--success); box-shadow: 0 0 8px var(--success); }
@keyframes kh-dot-ping {
0%, 100% { transform: scale(1); opacity: 0.3; }
50% { transform: scale(1.6); opacity: 0; }
}
.kh-title {
font-size: 12px;
font-weight: 700;
color: var(--fg-0);
letter-spacing: -0.005em;
font-family: var(--font-display);
}
.kh-count {
font-family: var(--font-mono);
font-size: 11px;
font-weight: 700;
background: var(--bg-glass);
color: var(--fg-1);
padding: 1px 8px;
border-radius: var(--r-pill);
min-width: 24px;
text-align: center;
border: 1px solid var(--border);
}
.kanban-col-body {
flex: 1;
padding: var(--s-2);
overflow-y: auto;
display: flex;
flex-direction: column;
gap: var(--s-2);
max-height: calc(100vh - 360px);
}
/* Kanban card */
.kanban-card {
background: var(--bg-glass);
border: 1px solid var(--border);
border-radius: var(--r-md);
padding: var(--s-3);
cursor: pointer;
transition: all var(--dur) var(--ease-spring);
position: relative;
overflow: hidden;
transform-style: preserve-3d;
opacity: 0;
animation: card-stagger var(--dur-med) var(--ease-spring) forwards;
}
@keyframes card-stagger {
from { opacity: 0; transform: translateY(8px) scale(0.97); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.kanban-card::before {
content: '';
position: absolute;
left: 0; top: 0; bottom: 0;
width: 3px;
background: var(--card-accent, var(--aurora-2));
box-shadow: 0 0 8px var(--card-accent, var(--aurora-2));
}
.kanban-card::after {
content: '';
position: absolute;
inset: 0;
background: var(--aurora-gradient-soft);
opacity: 0;
transition: opacity var(--dur);
pointer-events: none;
}
.kanban-card:hover {
background: var(--bg-elevated);
border-color: var(--card-accent, var(--aurora-2));
transform: translateY(-2px) scale(1.01);
box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.kanban-card:hover::after { opacity: 0.4; }
.kanban-card:active { transform: translateY(0) scale(1); }
.kc-head {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 6px;
position: relative;
z-index: 1;
}
.kc-id {
font-family: var(--font-mono);
font-size: 10px;
font-weight: 700;
color: var(--fg-3);
}
.kc-pri {
font-size: 9px;
font-weight: 700;
padding: 2px 7px;
border-radius: var(--r-xs);
letter-spacing: 0.04em;
border: 1px solid;
}
.kc-pri.p0 { background: var(--p0-soft); color: var(--p0); border-color: rgba(239,68,68,0.3); }
.kc-pri.p1 { background: var(--p1-soft); color: var(--p1); border-color: rgba(245,158,11,0.3); }
.kc-pri.p2 { background: var(--p2-soft); color: var(--p2); border-color: rgba(6,182,212,0.3); }
.kc-pri.p3 { background: var(--p3-soft); color: var(--p3); border-color: rgba(100,116,139,0.3); }
.kc-title {
font-size: 12px;
font-weight: 600;
color: var(--fg-0);
line-height: 1.35;
margin-bottom: 8px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
position: relative;
z-index: 1;
}
.kc-meta {
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--s-2);
font-size: 10px;
color: var(--fg-3);
position: relative;
z-index: 1;
}
.kc-app {
display: inline-flex;
align-items: center;
gap: 4px;
background: var(--bg-base);
padding: 2px 6px;
border-radius: var(--r-xs);
max-width: 130px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.kc-right { display: flex; align-items: center; gap: 6px; }
.kc-remarks { display: inline-flex; align-items: center; gap: 3px; }
.kc-assignee {
width: 20px; height: 20px;
border-radius: 50%;
background: var(--aurora-gradient);
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.kanban-empty {
padding: var(--s-6) var(--s-3);
text-align: center;
color: var(--fg-3);
font-size: 11px;
border: 1px dashed var(--border);
border-radius: var(--r-md);
margin: var(--s-1) 0;
}
/* ─── TABLE VIEW ──────────────────────────────────────────────────── */
.table-view {
overflow: hidden;
position: relative;
}
.table-scroll { overflow-x: auto; }
.data-table {
width: 100%;
border-collapse: collapse;
font-size: 12px;
}
.data-table thead {
background: var(--bg-glass);
border-bottom: 1px solid var(--border);
}
.data-table th {
text-align: left;
padding: 10px 14px;
font-size: 10px;
font-weight: 700;
color: var(--fg-3);
text-transform: uppercase;
letter-spacing: 0.06em;
white-space: nowrap;
}
.data-table th:last-child { width: 60px; }
.data-table td {
padding: 11px 14px;
border-bottom: 1px solid var(--border);
color: var(--fg-1);
vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr {
cursor: pointer;
transition: background var(--dur-fast);
}
.data-table tbody tr:hover {
background: var(--aurora-gradient-soft);
}
.tt-id {
font-family: var(--font-mono);
font-size: 11px;
color: var(--fg-3);
font-weight: 700;
}
.tt-title {
font-weight: 600;
color: var(--fg-0);
max-width: 280px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.tt-app {
display: inline-block;
background: var(--bg-base);
padding: 2px 8px;
border-radius: var(--r-xs);
font-size: 11px;
color: var(--fg-2);
max-width: 140px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
border: 1px solid var(--border);
}
.tt-assignee {
display: flex;
align-items: center;
gap: 6px;
color: var(--fg-2);
}
.tt-assignee-avatar {
width: 22px; height: 22px;
border-radius: 50%;
background: var(--aurora-gradient);
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
flex-shrink: 0;
box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.tt-status {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px 8px;
border-radius: var(--r-pill);
font-size: 10px;
font-weight: 600;
}
.tt-status::before {
content: '';
width: 5px; height: 5px;
border-radius: 50%;
background: currentColor;
box-shadow: 0 0 4px currentColor;
}
.tt-status.open { background: var(--info-soft); color: var(--info); }
.tt-status.progress { background: var(--aurora-gradient-soft); color: var(--aurora-2); }
.tt-status.hold { background: var(--warning-soft); color: var(--warning); }
.tt-status.completed { background: var(--success-soft); color: var(--success); }
.tt-time {
font-size: 11px;
color: var(--fg-3);
font-family: var(--font-mono);
}
.tt-actions {
display: flex;
gap: 2px;
justify-content: flex-end;
}
.tt-action {
width: 24px; height: 24px;
border-radius: var(--r-sm);
color: var(--fg-3);
display: flex;
align-items: center;
justify-content: center;
font-size: 10px;
transition: all var(--dur-fast);
}
.tt-action:hover {
background: var(--aurora-gradient-soft);
color: var(--aurora-2);
}
.empty-state {
padding: var(--s-12) var(--s-4);
text-align: center;
}
.empty-state i {
font-size: 40px;
color: var(--fg-4);
margin-bottom: var(--s-3);
display: block;
animation: empty-float 4s ease-in-out infinite;
}
@keyframes empty-float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-6px); }
}
.empty-state h3 {
font-size: 15px;
font-weight: 700;
color: var(--fg-1);
margin-bottom: var(--s-2);
}
.empty-state p {
font-size: 12px;
color: var(--fg-3);
margin-bottom: var(--s-4);
}
/* ─── ERRORS VIEW ─────────────────────────────────────────────────── */
.err-stats {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: var(--s-3);
margin-bottom: var(--s-4);
}
.err-stat {
padding: var(--s-4);
display: flex;
flex-direction: column;
gap: var(--s-2);
transition: all var(--dur) var(--ease-spring);
position: relative;
overflow: hidden;
transform-style: preserve-3d;
}
.err-stat-glow {
position: absolute;
inset: 0;
background: radial-gradient(circle at 50% 0%, var(--gc, var(--aurora-2)) 0%, transparent 60%);
opacity: 0;
transition: opacity var(--dur-med);
pointer-events: none;
}
.err-stat:hover .err-stat-glow { opacity: 0.15; }
.err-stat:hover {
transform: translateY(-3px);
border-color: var(--gc, var(--aurora-2));
box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 0 0 1px var(--gc, var(--aurora-2));
}
.err-stat-icon {
width: 36px; height: 36px;
border-radius: var(--r-md);
background: color-mix(in srgb, var(--ic, var(--aurora-2)) 15%, transparent);
color: var(--ic, var(--aurora-2));
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
box-shadow: 0 0 16px color-mix(in srgb, var(--ic, var(--aurora-2)) 30%, transparent);
position: relative;
z-index: 1;
}
.err-stat-num {
font-family: var(--font-display);
font-size: 28px;
font-weight: 800;
color: var(--fg-0);
letter-spacing: -0.02em;
line-height: 1;
position: relative;
z-index: 1;
}
.err-stat-label {
font-size: 11px;
color: var(--fg-3);
font-weight: 500;
position: relative;
z-index: 1;
}
/* Error cards */
.err-cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
gap: var(--s-3);
}
.err-card {
background: var(--bg-glass);
border: 1px solid var(--border);
border-left: 3px solid var(--card-accent, var(--info));
border-radius: var(--r-md);
padding: var(--s-4);
cursor: pointer;
transition: all var(--dur) var(--ease-spring);
display: flex;
flex-direction: column;
gap: var(--s-2);
backdrop-filter: blur(20px) saturate(160%);
-webkit-backdrop-filter: blur(20px) saturate(160%);
opacity: 0;
animation: card-stagger var(--dur-med) var(--ease-spring) forwards;
}
.err-card:hover {
background: var(--bg-elevated);
border-color: var(--card-accent, var(--info));
transform: translateY(-2px) scale(1.01);
box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.err-card-head {
display: flex;
justify-content: space-between;
align-items: center;
}
.err-card-id {
font-family: var(--font-mono);
font-size: 11px;
color: var(--fg-3);
font-weight: 700;
}
.err-card-pri {
font-size: 9px;
font-weight: 700;
padding: 2px 7px;
border-radius: var(--r-xs);
letter-spacing: 0.04em;
border: 1px solid;
}
.err-card-pri.CRITICAL { background: var(--p0-soft); color: var(--p0); border-color: rgba(239,68,68,0.3); }
.err-card-pri.HIGH { background: var(--p1-soft); color: var(--p1); border-color: rgba(245,158,11,0.3); }
.err-card-pri.MEDIUM { background: var(--p2-soft); color: var(--p2); border-color: rgba(6,182,212,0.3); }
.err-card-pri.LOW { background: var(--p3-soft); color: var(--p3); border-color: rgba(100,116,139,0.3); }
.err-card-status {
font-size: 9px;
font-weight: 700;
padding: 2px 7px;
border-radius: var(--r-pill);
letter-spacing: 0.04em;
text-transform: uppercase;
border: 1px solid;
}
.err-card-status.unresolved { background: var(--danger-soft); color: var(--danger); border-color: rgba(239,68,68,0.3); }
.err-card-status.resolved { background: var(--success-soft); color: var(--success); border-color: rgba(16,185,129,0.3); }
.err-card-status.escalated { background: var(--aurora-gradient-soft); color: var(--aurora-3); border-color: rgba(139,92,246,0.3); }
.err-card-exception {
font-family: var(--font-mono);
font-size: 12px;
font-weight: 600;
color: var(--fg-0);
background: var(--bg-base);
border: 1px solid var(--border);
padding: 5px 9px;
border-radius: var(--r-sm);
}
.err-card-message {
font-size: 12px;
color: var(--fg-2);
line-height: 1.45;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.err-card-meta {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 10px;
color: var(--fg-3);
padding-top: var(--s-2);
border-top: 1px solid var(--border);
margin-top: auto;
}
.err-card-events {
display: inline-flex;
align-items: center;
gap: 4px;
background: var(--bg-base);
padding: 1px 7px;
border-radius: var(--r-pill);
font-family: var(--font-mono);
font-weight: 700;
font-size: 10px;
color: var(--fg-1);
border: 1px solid var(--border);
}
/* ─── DRAWER ──────────────────────────────────────────────────────── */
.drawer {
position: fixed;
inset: 0;
z-index: 100;
pointer-events: none;
}
.drawer[hidden] { display: block; }
.drawer-backdrop {
position: absolute;
inset: 0;
background: rgba(5, 8, 22, 0.7);
backdrop-filter: blur(4px);
opacity: 0;
transition: opacity var(--dur-med) var(--ease-out);
}
.drawer-panel {
position: absolute;
top: 0; right: 0;
width: var(--drawer-w);
max-width: 100vw;
height: 100vh;
border-radius: 0;
border-left: 1px solid var(--border-h);
box-shadow: var(--shadow-xl);
transform: translateX(100%);
transition: transform var(--dur-slow) var(--ease-spring);
display: flex;
flex-direction: column;
overflow: hidden;
position: absolute;
}
.drawer.active { pointer-events: all; }
.drawer.active .drawer-backdrop { opacity: 1; pointer-events: all; }
.drawer.active .drawer-panel { transform: translateX(0); }
/* Drawer beam — animated gradient border on left */
.drawer-beam {
position: absolute;
top: 0; left: 0; bottom: 0;
width: 2px;
background: var(--aurora-gradient);
background-size: 100% 200%;
animation: beam-flow 3s linear infinite;
}
@keyframes beam-flow {
from { background-position: 0% 0%; }
to { background-position: 0% 200%; }
}
.drawer-header {
padding: var(--s-4) var(--s-5) var(--s-3);
border-bottom: 1px solid var(--border);
position: relative;
z-index: 1;
}
.drawer-id-row {
display: flex;
align-items: center;
gap: var(--s-2);
margin-bottom: var(--s-3);
}
.drawer-id {
font-family: var(--font-mono);
font-size: 11px;
font-weight: 700;
color: var(--fg-2);
background: var(--bg-glass);
padding: 3px 9px;
border-radius: var(--r-sm);
border: 1px solid var(--border);
}
.priority-chip {
font-size: 10px;
font-weight: 700;
padding: 3px 8px;
border-radius: var(--r-xs);
letter-spacing: 0.04em;
border: 1px solid;
}
.priority-chip.P0 { background: var(--p0-soft); color: var(--p0); border-color: rgba(239,68,68,0.3); }
.priority-chip.P1 { background: var(--p1-soft); color: var(--p1); border-color: rgba(245,158,11,0.3); }
.priority-chip.P2 { background: var(--p2-soft); color: var(--p2); border-color: rgba(6,182,212,0.3); }
.priority-chip.P3 { background: var(--p3-soft); color: var(--p3); border-color: rgba(100,116,139,0.3); }
.drawer-status {
font-size: 10px;
font-weight: 700;
padding: 3px 8px;
border-radius: var(--r-pill);
text-transform: uppercase;
letter-spacing: 0.04em;
border: 1px solid;
}
.drawer-status.open { background: var(--info-soft); color: var(--info); border-color: rgba(6,182,212,0.3); }
.drawer-status.progress { background: var(--aurora-gradient-soft); color: var(--aurora-2); border-color: rgba(6,182,212,0.3); }
.drawer-status.hold { background: var(--warning-soft); color: var(--warning); border-color: rgba(245,158,11,0.3); }
.drawer-status.completed { background: var(--success-soft); color: var(--success); border-color: rgba(16,185,129,0.3); }
.drawer-close { margin-left: auto; }
.drawer-title {
font-size: 20px;
font-weight: 800;
letter-spacing: -0.02em;
color: var(--fg-0);
line-height: 1.3;
margin-bottom: var(--s-3);
font-family: var(--font-display);
}
.drawer-meta {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--s-3);
}
.meta-cell { display: flex; flex-direction: column; gap: 2px; }
.meta-label {
font-size: 10px;
color: var(--fg-3);
text-transform: uppercase;
letter-spacing: 0.06em;
font-weight: 700;
}
.meta-value {
font-size: 12px;
color: var(--fg-0);
font-weight: 500;
}
.drawer-body {
flex: 1;
overflow-y: auto;
padding: var(--s-4) var(--s-5);
display: flex;
flex-direction: column;
gap: var(--s-5);
position: relative;
z-index: 1;
}
.drawer-section { display: flex; flex-direction: column; gap: var(--s-2); }
.ds-title {
display: flex;
align-items: center;
gap: var(--s-2);
font-size: 11px;
font-weight: 700;
color: var(--fg-1);
text-transform: uppercase;
letter-spacing: 0.06em;
font-family: var(--font-display);
}
.ds-title i { color: var(--aurora-2); font-size: 11px; }
.ds-title .btn-ghost { margin-left: auto; text-transform: none; letter-spacing: 0; }
.ds-count {
margin-left: auto;
font-size: 10px;
background: var(--bg-glass);
color: var(--fg-2);
padding: 1px 7px;
border-radius: var(--r-pill);
font-weight: 600;
text-transform: none;
letter-spacing: 0;
border: 1px solid var(--border);
}
.ds-text {
font-size: 12px;
color: var(--fg-1);
line-height: 1.55;
}
.ds-code {
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--r-md);
padding: var(--s-3);
font-family: var(--font-mono);
font-size: 11px;
color: var(--fg-1);
overflow-x: auto;
white-space: pre-wrap;
word-break: break-word;
max-height: 240px;
overflow-y: auto;
line-height: 1.5;
}
.ds-links { display: flex; flex-direction: column; gap: var(--s-2); }
.ds-link-item {
display: flex;
align-items: center;
gap: var(--s-2);
padding: 7px 9px;
background: var(--bg-glass);
border: 1px solid var(--border);
border-radius: var(--r-sm);
font-size: 11px;
transition: all var(--dur-fast);
}
.ds-link-item:hover {
background: var(--aurora-gradient-soft);
border-color: var(--aurora-2);
}
.ds-link-item a {
color: var(--aurora-2);
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ds-link-item a:hover { text-decoration: underline; }
.ds-link-rm {
color: var(--fg-3);
background: transparent;
border: none;
font-size: 10px;
padding: 2px 4px;
transition: color var(--dur-fast);
}
.ds-link-rm:hover { color: var(--danger); }
.ds-files {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
gap: var(--s-2);
}
.ds-file {
background: var(--bg-glass);
border: 1px solid var(--border);
border-radius: var(--r-sm);
padding: var(--s-2);
display: flex;
flex-direction: column;
gap: 4px;
font-size: 10px;
transition: all var(--dur-fast);
}
.ds-file:hover { background: var(--bg-elevated); border-color: var(--border-h); }
.ds-file-thumb {
width: 100%;
aspect-ratio: 16/10;
border-radius: var(--r-xs);
background: var(--bg-base);
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
color: var(--fg-3);
overflow: hidden;
}
.ds-file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ds-file-name { color: var(--fg-1); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-file-meta { display: flex; justify-content: space-between; color: var(--fg-3); }
.file-drop {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
padding: var(--s-5);
border: 1.5px dashed var(--border-h);
border-radius: var(--r-md);
background: var(--bg-glass);
transition: all var(--dur) var(--ease-out);
text-align: center;
}
.file-drop:hover {
border-color: var(--aurora-2);
background: var(--aurora-gradient-soft);
transform: scale(1.01);
}
.file-drop i { font-size: 18px; color: var(--aurora-2); }
.file-drop span { font-size: 11px; color: var(--fg-2); }
.file-drop .file-drop-sub { font-size: 10px; color: var(--fg-3); }
.file-drop-sm { padding: var(--s-4); }
.file-drop input { display: none; }
/* Timeline */
.ds-timeline {
display: flex;
flex-direction: column;
gap: var(--s-3);
padding-left: 14px;
border-left: 1px solid var(--border);
margin-left: 4px;
}
.tl-entry {
position: relative;
padding-left: var(--s-4);
font-size: 11px;
}
.tl-entry::before {
content: '';
position: absolute;
left: -18px; top: 4px;
width: 10px; height: 10px;
border-radius: 50%;
background: var(--bg-base);
border: 2px solid var(--aurora-2);
box-shadow: 0 0 8px var(--aurora-2);
}
.tl-entry.system::before { border-color: var(--fg-3); box-shadow: none; }
.tl-head { display: flex; align-items: center; gap: var(--s-2); margin-bottom: 4px; font-size: 10px; }
.tl-author { font-weight: 600; color: var(--fg-0); }
.tl-time { color: var(--fg-3); font-family: var(--font-mono); }
.tl-body {
color: var(--fg-1);
line-height: 1.5;
padding: 7px 9px;
background: var(--bg-glass);
border-radius: var(--r-sm);
border: 1px solid var(--border);
font-size: 11px;
}
.tl-link {
display: inline-flex;
align-items: center;
gap: 4px;
color: var(--aurora-2);
font-size: 10px;
margin-top: 4px;
padding: 3px 7px;
background: var(--bg-base);
border-radius: var(--r-sm);
border: 1px solid var(--border);
}
.tl-link:hover { background: var(--aurora-gradient-soft); }
.remark-composer {
margin-top: var(--s-3);
display: flex;
flex-direction: column;
gap: var(--s-2);
}
.remark-composer textarea {
width: 100%;
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--r-md);
padding: 9px 11px;
font-size: 12px;
color: var(--fg-0);
resize: vertical;
min-height: 68px;
font-family: inherit;
transition: all var(--dur-fast);
}
.remark-composer textarea:focus {
outline: none;
border-color: var(--aurora-2);
box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}
.composer-actions { display: flex; gap: var(--s-2); justify-content: flex-end; }
.drawer-foot {
padding: var(--s-3) var(--s-5);
border-top: 1px solid var(--border);
background: var(--bg-glass);
display: flex;
align-items: center;
gap: var(--s-2);
flex-wrap: wrap;
position: relative;
z-index: 1;
}
.foot-selects { display: flex; gap: var(--s-2); flex: 1; min-width: 0; }
.foot-select {
flex: 1;
min-width: 120px;
padding: 7px 28px 7px 10px;
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--r-md);
color: var(--fg-0);
font-size: 11px;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 8px center;
transition: all var(--dur-fast);
}
.foot-select:hover { border-color: var(--border-h); }
.foot-select:focus { outline: none; border-color: var(--aurora-2); box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2); }
.foot-actions { display: flex; gap: var(--s-2); }
/* ─── MODALS ──────────────────────────────────────────────────────── */
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(5, 8, 22, 0.75);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
display: flex;
align-items: center;
justify-content: center;
padding: var(--s-4);
z-index: 200;
opacity: 0;
pointer-events: none;
transition: opacity var(--dur-med) var(--ease-out);
}
.modal-overlay.active {
opacity: 1;
pointer-events: all;
}
.modal {
border-radius: var(--r-2xl);
box-shadow: var(--shadow-modal);
width: 100%;
max-width: 640px;
max-height: 92vh;
overflow: hidden;
display: flex;
flex-direction: column;
transform: translateY(20px) scale(0.95);
transition: transform var(--dur-med) var(--ease-spring);
position: relative;
}
.modal-overlay.active .modal {
transform: translateY(0) scale(1);
}
.modal-sm { max-width: 460px; }
.modal-md { max-width: 560px; }
.modal-lg { max-width: 880px; width: 95%; }
.modal-sub {
font-size: 12px;
color: var(--fg-3);
margin-top: 3px;
font-weight: 400;
}
/* Modal beam — animated gradient border */
.modal-beam {
position: absolute;
top: 0; left: 0; right: 0;
height: 2px;
background: var(--aurora-gradient);
background-size: 200% 200%;
animation: beam-flow-h 3s linear infinite;
z-index: 2;
}
@keyframes beam-flow-h {
from { background-position: 0% 0%; }
to { background-position: 200% 0%; }
}
.modal-head {
display: flex;
justify-content: space-between;
align-items: center;
padding: var(--s-4) var(--s-5);
border-bottom: 1px solid var(--border);
position: relative;
z-index: 1;
}
.modal-head h2 {
display: flex;
align-items: center;
gap: var(--s-2);
font-size: 16px;
font-weight: 800;
letter-spacing: -0.01em;
color: var(--fg-0);
}
.modal-head h2 i { color: var(--aurora-2); font-size: 14px; }
.modal-close {
width: 30px; height: 30px;
background: transparent;
border: 1px solid transparent;
color: var(--fg-3);
border-radius: var(--r-sm);
transition: all var(--dur-fast);
}
.modal-close:hover {
background: var(--danger-soft);
color: var(--danger);
border-color: rgba(239,68,68,0.3);
}
.modal-body {
padding: var(--s-5);
overflow-y: auto;
display: flex;
flex-direction: column;
gap: var(--s-4);
flex: 1;
position: relative;
z-index: 1;
}
.form-note {
font-size: 12px;
color: var(--fg-2);
line-height: 1.5;
padding: var(--s-3) var(--s-4);
background: var(--bg-glass);
border-radius: var(--r-md);
border-left: 3px solid var(--aurora-2);
}
.auto-verify {
background: var(--success-soft);
color: var(--success);
font-size: 9px;
padding: 1px 5px;
border-radius: var(--r-xs);
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
margin-left: 4px;
}
.modal-foot {
display: flex;
justify-content: flex-end;
gap: var(--s-2);
padding-top: var(--s-4);
border-top: 1px solid var(--border);
margin-top: var(--s-2);
}
/* ─── FORMS ───────────────────────────────────────────────────────── */
.fld {
display: flex;
flex-direction: column;
gap: 6px;
min-width: 0;
}
.fld-label {
font-size: 11px;
color: var(--fg-2);
font-weight: 500;
display: flex;
align-items: center;
gap: 4px;
}
.req { color: var(--danger); font-weight: 700; }
.fld-ctrl {
display: flex;
align-items: center;
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--r-md);
transition: all var(--dur-fast) var(--ease-out);
position: relative;
}
.fld-ctrl::after {
content: '';
position: absolute;
inset: -1px;
border-radius: inherit;
background: var(--aurora-gradient);
opacity: 0;
z-index: -1;
transition: opacity var(--dur-fast);
}
.fld-ctrl:focus-within {
border-color: transparent;
box-shadow: 0 0 0 1px var(--aurora-2), 0 0 0 4px rgba(6, 182, 212, 0.2);
}
.fld-icon {
padding: 0 10px;
color: var(--fg-3);
font-size: 12px;
flex-shrink: 0;
}
.fld-ctrl input,
.fld-ctrl select {
background: transparent;
border: none;
padding: 9px 10px;
font-size: 13px;
color: var(--fg-0);
width: 100%;
font-family: inherit;
}
.fld-ctrl input::placeholder { color: var(--fg-3); }
.fld-ctrl select {
cursor: pointer;
appearance: none;
-webkit-appearance: none;
padding-right: 28px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 8px center;
}
.fld-textarea {
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--r-md);
padding: 9px 11px;
font-size: 13px;
color: var(--fg-0);
font-family: inherit;
resize: vertical;
min-height: 76px;
transition: all var(--dur-fast);
width: 100%;
}
.fld-textarea:focus {
outline: none;
border-color: var(--aurora-2);
box-shadow: 0 0 0 1px var(--aurora-2), 0 0 0 4px rgba(6, 182, 212, 0.2);
}
.fld-textarea.mono { font-family: var(--font-mono); font-size: 12px; }
.fld-textarea::placeholder { color: var(--fg-3); }
.form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: var(--s-3);
}
.form-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.priority-pills {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 8px;
width: 100%;
}
.pp { width: 100%; cursor: pointer; }
.pp input { display: none; }
.pp-pill {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 9px 12px;
width: 100%;
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--r-md);
font-size: 12px;
font-weight: 600;
color: var(--fg-2);
transition: all var(--dur-fast) var(--ease-spring);
white-space: nowrap;
}
.pp-pill:hover {
background: var(--bg-elevated);
border-color: var(--border-h);
color: var(--fg-0);
transform: translateY(-1px);
}
.pp input:checked + .pp-pill {
border-color: var(--p-color, var(--aurora-2));
color: var(--fg-0);
background: var(--p-soft, var(--aurora-gradient-soft));
box-shadow: 0 0 0 1px var(--p-color, var(--aurora-2)), 0 2px 8px rgba(0,0,0,0.15);
}
.pp input:checked + .pp-pill.pp-p0 { --p-color: var(--p0); --p-soft: var(--p0-soft); }
.pp input:checked + .pp-pill.pp-p1 { --p-color: var(--p1); --p-soft: var(--p1-soft); }
.pp input:checked + .pp-pill.pp-p2 { --p-color: var(--p2); --p-soft: var(--p2-soft); }
.pp input:checked + .pp-pill.pp-p3 { --p-color: var(--p3); --p-soft: var(--p3-soft); }
.avatar-grid {
display: grid;
grid-template-columns: repeat(8, 1fr);
gap: 4px;
}
.av-opt input { display: none; }
.av-opt span {
aspect-ratio: 1;
display: flex;
align-items: center;
justify-content: center;
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--r-sm);
font-size: 18px;
transition: all var(--dur-fast) var(--ease-spring);
}
.av-opt:hover span {
background: var(--aurora-gradient-soft);
border-color: var(--aurora-2);
transform: scale(1.1);
}
.av-opt input:checked + span {
background: var(--aurora-gradient-soft);
border-color: var(--aurora-2);
transform: scale(1.1);
box-shadow: 0 0 0 1px var(--aurora-2), 0 0 12px rgba(6,182,212,0.3);
}
.links-list { display: flex; flex-direction: column; gap: 4px; }
.link-row {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 9px;
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--r-sm);
font-size: 11px;
}
.link-row a {
color: var(--aurora-2);
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.link-add { display: flex; gap: 4px; margin-top: 4px; }
.link-add input {
flex: 1;
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--r-sm);
padding: 6px 9px;
font-size: 11px;
color: var(--fg-0);
transition: all var(--dur-fast);
}
.link-add input:focus {
outline: none;
border-color: var(--aurora-2);
box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}
.escalate-source {
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--r-md);
padding: var(--s-3);
display: flex;
flex-direction: column;
gap: var(--s-2);
font-size: 12px;
}
.esc-row { display: flex; align-items: center; gap: var(--s-2); color: var(--fg-1); }
.esc-id {
font-family: var(--font-mono);
font-weight: 700;
color: var(--fg-2);
background: var(--bg-elevated);
padding: 2px 7px;
border-radius: var(--r-xs);
border: 1px solid var(--border);
}
.esc-sev {
font-size: 10px;
font-weight: 700;
padding: 2px 7px;
border-radius: var(--r-xs);
background: var(--p1-soft);
color: var(--p1);
border: 1px solid rgba(245,158,11,0.3);
}
.esc-label { font-weight: 600; color: var(--fg-3); min-width: 80px; }
.profile-head {
display: flex;
align-items: center;
gap: var(--s-3);
padding: var(--s-3) var(--s-4);
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--r-md);
}
.profile-avatar {
width: 48px; height: 48px;
border-radius: var(--r-md);
background: var(--aurora-gradient);
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
box-shadow: var(--shadow-aurora);
}
.profile-head-info h3 {
font-size: 16px;
font-weight: 800;
color: var(--fg-0);
margin-bottom: 2px;
}
.profile-head-meta {
display: flex;
gap: var(--s-3);
font-size: 11px;
color: var(--fg-2);
}
.profile-head-meta i { color: var(--aurora-2); margin-right: 4px; }
.profile-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: var(--s-2);
}
.profile-stat {
background: var(--bg-base);
border: 1px solid var(--border);
border-radius: var(--r-md);
padding: var(--s-3);
text-align: center;
}
.profile-stat-num {
font-family: var(--font-display);
font-size: 22px;
font-weight: 800;
color: var(--aurora-2);
line-height: 1;
margin-bottom: 4px;
}
.profile-stat-label {
font-size: 10px;
color: var(--fg-3);
text-transform: uppercase;
letter-spacing: 0.05em;
font-weight: 700;
}
/* ─── TOASTS ─────────────────────────────────────────────────────── */
.toast-stack {
position: fixed;
bottom: var(--s-5);
right: var(--s-5);
display: flex;
flex-direction: column-reverse;
gap: var(--s-2);
z-index: 500;
pointer-events: none;
}
.toast {
background: var(--bg-glass-strong);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border: 1px solid var(--border-h);
border-left: 3px solid var(--aurora-2);
border-radius: var(--r-md);
padding: 11px 14px;
display: flex;
align-items: center;
gap: var(--s-3);
box-shadow: var(--shadow-lg);
min-width: 280px;
max-width: 380px;
pointer-events: all;
font-size: 12px;
color: var(--fg-0);
animation: toast-in var(--dur-med) var(--ease-spring);
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.info { border-left-color: var(--info); }
.toast-icon { font-size: 13px; flex-shrink: 0; }
.toast.success .toast-icon { color: var(--success); }
.toast.error .toast-icon { color: var(--danger); }
.toast.info .toast-icon { color: var(--info); }
.toast-body { flex: 1; }
.toast-close {
color: var(--fg-3);
background: transparent;
border: none;
padding: 2px 4px;
font-size: 10px;
transition: color var(--dur-fast);
}
.toast-close:hover { color: var(--fg-0); }
@keyframes toast-in {
from { opacity: 0; transform: translateX(40px) scale(0.95); }
to { opacity: 1; transform: translateX(0) scale(1); }
}
.toast.removing { animation: toast-out var(--dur) var(--ease-in-out) forwards; }
@keyframes toast-out {
to { opacity: 0; transform: translateX(40px) scale(0.95); }
}
/* ─── STAGGER ENTRANCE ───────────────────────────────────────────── */
.stagger-item {
opacity: 0;
animation: stagger-in var(--dur-med) var(--ease-spring) forwards;
}
.stagger-item:nth-child(1) { animation-delay: 50ms; }
.stagger-item:nth-child(2) { animation-delay: 100ms; }
.stagger-item:nth-child(3) { animation-delay: 150ms; }
.stagger-item:nth-child(4) { animation-delay: 200ms; }
.stagger-item:nth-child(5) { animation-delay: 250ms; }
.stagger-item:nth-child(6) { animation-delay: 300ms; }
@keyframes stagger-in {
from { opacity: 0; transform: translateY(12px) scale(0.97); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
/* ─── 3D TILT CARDS ──────────────────────────────────────────────── */
.tilt {
transform-style: preserve-3d;
transition: transform 200ms var(--ease-out), box-shadow var(--dur) var(--ease-out);
will-change: transform;
}
.tilt .stat-tile-icon,
.tilt .err-stat-icon {
transform: translateZ(40px);
}
.tilt .stat-tile-num,
.tilt .err-stat-num {
transform: translateZ(30px);
}
.tilt .stat-tile-label,
.tilt .err-stat-label {
transform: translateZ(20px);
}
/* ─── RIPPLE ───────────────────────────────────────────────────── */
.ripple {
position: absolute;
border-radius: 50%;
background: rgba(255, 255, 255, 0.4);
transform: scale(0);
animation: ripple-expand 600ms var(--ease-out);
pointer-events: none;
}
@keyframes ripple-expand {
to { transform: scale(4); opacity: 0; }
}
/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
.kanban { grid-template-columns: repeat(2, 1fr); }
.stat-tiles, .err-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
.app-shell { grid-template-columns: 1fr; }
.sidebar {
position: fixed;
top: 0; left: 0;
width: var(--sidebar-w);
transform: translateX(-100%);
transition: transform var(--dur-med) var(--ease-spring);
z-index: 50;
}
.sidebar.open { transform: translateX(0); }
.mobile-menu { display: flex; }
.search-trigger { min-width: 0; }
.search-trigger-text, .kbd { display: none; }
.chip-info { display: none; }
.form-grid, .form-grid-3 { grid-template-columns: 1fr; }
.auth-grid { grid-template-columns: 1fr; }
.auth-side { display: none; }
.welcome-strip { flex-direction: column; align-items: flex-start; }
.drawer-panel { width: 100%; }
}
@media (max-width: 600px) {
.kanban { grid-template-columns: 1fr; }
.stat-tiles, .err-stats { grid-template-columns: 1fr; }
.content { padding: var(--s-3); }
.topbar { padding: 0 var(--s-3); }
.drawer-meta { grid-template-columns: 1fr; }
.auth-personas-row { grid-template-columns: repeat(2, 1fr); }
body { cursor: auto; }
.cursor-glow, .cursor-dot { display: none !important; }
}
/* ─── TICKET TYPE TABS & GENERAL TICKETS ──────────────────────────── */
.ticket-type-tabs {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-bottom: var(--s-3);
padding: 5px;
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--r-md);
}
.type-tab-btn {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 14px;
background: transparent;
border: 1px solid transparent;
border-radius: calc(var(--r-md) - 2px);
color: var(--fg-2);
cursor: pointer;
transition: all var(--dur-fast) var(--ease-spring);
text-align: left;
}
.type-tab-btn:hover {
background: var(--bg-elevated);
color: var(--fg-0);
border-color: var(--border-h);
}
.type-tab-btn.active {
background: var(--bg-elevated);
border-color: var(--aurora-2);
color: var(--fg-0);
box-shadow: 0 0 16px rgba(6, 182, 212, 0.18), 0 1px 3px rgba(0,0,0,0.25);
}
.type-tab-icon {
width: 36px;
height: 36px;
border-radius: var(--r-sm);
display: flex;
align-items: center;
justify-content: center;
font-size: 15px;
background: var(--bg-base);
border: 1px solid var(--border);
color: var(--fg-2);
flex-shrink: 0;
transition: all var(--dur-fast);
}
.type-tab-btn.active .type-tab-icon {
background: var(--aurora-gradient-soft);
color: var(--aurora-2);
border-color: rgba(6, 182, 212, 0.4);
}
.type-tab-text {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
}
.type-tab-title {
font-size: 13px;
font-weight: 700;
letter-spacing: -0.01em;
line-height: 1.2;
}
.type-tab-desc {
font-size: 11px;
color: var(--fg-3);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.dept-quick-chips {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
margin-top: -6px;
margin-bottom: var(--s-3);
}
.chip-label {
font-size: 10px;
font-weight: 700;
color: var(--fg-3);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.quick-chip {
padding: 3px 9px;
font-size: 11px;
font-weight: 600;
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--r-sm);
color: var(--fg-2);
cursor: pointer;
transition: all var(--dur-fast);
}
.quick-chip:hover {
background: var(--aurora-gradient-soft);
color: var(--aurora-2);
border-color: rgba(6, 182, 212, 0.4);
transform: translateY(-1px);
}
.type-pill {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 7px;
border-radius: var(--r-xs);
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
line-height: 1.2;
}
.type-pill-app {
background: rgba(6, 182, 212, 0.12);
color: var(--aurora-2);
border: 1px solid rgba(6, 182, 212, 0.35);
}
.type-pill-general {
background: rgba(139, 92, 246, 0.14);
color: #A78BFA;
border: 1px solid rgba(139, 92, 246, 0.4);
}
.kc-app.general-app {
color: #A78BFA;
}
.kc-app.general-app i {
color: #A78BFA;
}
.tt-app.tt-app-general {
color: #C4B5FD;
background: rgba(139, 92, 246, 0.1);
border: 1px solid rgba(139, 92, 246, 0.3);
padding: 3px 8px;
border-radius: var(--r-xs);
font-weight: 600;
}
/* ─── SPACIOUS MODAL & SECTION CARDS ────────────────────────────── */
#modalCreate .modal {
max-width: 880px;
width: 95%;
max-height: 92vh;
}
.modal-sub {
font-size: 12px;
color: var(--fg-3);
margin-top: 3px;
font-weight: 400;
}
.form-reporter-strip {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 16px;
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--r-md);
font-size: 12px;
color: var(--fg-2);
}
.form-reporter-info {
display: flex;
align-items: center;
gap: 10px;
}
.form-reporter-info strong {
color: var(--fg-0);
}
.form-section-card {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--r-md);
padding: 16px;
display: flex;
flex-direction: column;
gap: 12px;
transition: all var(--dur-fast);
}
.form-section-card:hover {
border-color: var(--border-h);
}
.form-section-title {
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.06em;
color: var(--aurora-2);
display: flex;
align-items: center;
gap: 7px;
margin-bottom: 2px;
}
.form-section-title i {
font-size: 12px;
}
.file-drop-spacious {
display: flex;
flex-direction: row;
align-items: center;
gap: 14px;
padding: 14px 18px;
background: var(--bg-base);
border: 1.5px dashed var(--border-h);
border-radius: var(--r-md);
cursor: pointer;
transition: all var(--dur-fast);
}
.file-drop-spacious:hover {
border-color: var(--aurora-2);
background: rgba(6, 182, 212, 0.05);
}
.file-drop-icon {
width: 40px;
height: 40px;
border-radius: var(--r-sm);
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
background: var(--aurora-gradient-soft);
color: var(--aurora-2);
flex-shrink: 0;
}
.file-drop-text {
display: flex;
flex-direction: column;
gap: 2px;
font-size: 12px;
}
.file-drop-text strong {
color: var(--fg-1);
font-weight: 600;
}
.file-drop-text span {
color: var(--fg-3);
font-size: 11px;
}
/* Hidden utility */
[hidden] { display: none !important; }
/* ─── Low-end device & responsiveness performance optimizations ─── */
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
@media (hover: none) {
.cursor-glow, .cursor-dot {
display: none !important;
}
}
.kanban-col-body {
contain: content;
}
.kanban-card {
contain: layout style;
will-change: transform;
}