/* ================================================================ KIA Command Center — Professional Design System v3.0 NATO C4ISR-Inspired Aesthetic • Multi-Role Edition ================================================================ */ /* ================================================================ DESIGN TOKENS ================================================================ */ :root { /* Core Palette */ --navy-950: #060d1d; --navy-900: #0a1628; --navy-800: #111d35; --navy-700: #1a2a4a; --navy-600: #243b65; /* Text */ --slate-100: #f1f5f9; --slate-200: #e2e8f0; --slate-300: #cbd5e1; --slate-400: #94a3b8; --slate-500: #64748b; /* Accent */ --blue-500: #3b82f6; --blue-400: #60a5fa; --blue-300: #93bbfd; --blue-glow: rgba(59, 130, 246, 0.15); /* Status */ --green-500: #22c55e; --green-glow: rgba(34, 197, 94, 0.2); --red-500: #ef4444; --gold-500: #d4a017; --gold-glow: rgba(212, 160, 23, 0.15); --purple-500: #a855f7; --orange-500: #f97316; --yellow-500: #eab308; /* Surfaces */ --glass-bg: rgba(17, 29, 53, 0.85); --glass-border: rgba(59, 130, 246, 0.12); --card-bg: rgba(26, 42, 74, 0.5); --card-hover: rgba(26, 42, 74, 0.8); /* Sizing */ --sidebar-width: 260px; --intel-width: 300px; --topbar-height: 56px; --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; /* Typography */ --font-sans: 'Inter', -apple-system, system-ui, sans-serif; --font-mono: 'JetBrains Mono', 'Fira Code', monospace; /* Transitions */ --ease: cubic-bezier(0.4, 0, 0.2, 1); } /* ================================================================ LIGHT THEME VARIABLES ================================================================ */ body.light-theme { --navy-950: #f8fafc; --navy-900: #f1f5f9; --navy-800: #e2e8f0; --navy-700: #cbd5e1; --navy-600: #94a3b8; --slate-100: #0f172a; --slate-200: #1e293b; --slate-300: #334155; --slate-400: #475569; --slate-500: #64748b; --glass-bg: rgba(255, 255, 255, 0.85); --glass-border: rgba(59, 130, 246, 0.2); --card-bg: rgba(255, 255, 255, 0.7); --card-hover: rgba(255, 255, 255, 1); --blue-glow: rgba(59, 130, 246, 0.1); } /* ================================================================ RESET & BASE ================================================================ */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } body, html { width: 100%; height: 100%; overflow: hidden; background-color: var(--navy-950); background-image: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15), transparent 60%), linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px); background-size: 100% 100%, 30px 30px, 30px 30px; background-position: center top, center center, center center; color: var(--slate-300); font-family: var(--font-sans); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; animation: gridDrift 120s linear infinite; } @keyframes gridDrift { 0% { background-position: center top, 0 0, 0 0; } 100% { background-position: center top, 30px 30px, 30px 30px; } } #app { width: 100vw; height: 100vh; display: flex; flex-direction: column; overflow: hidden; opacity: 0; transition: opacity 0.8s ease-in-out; } #app.ready { opacity: 1; } /* ================================================================ ROLE SELECTION SCREEN ================================================================ */ #role-screen { position: fixed; inset: 0; background: var(--navy-950); z-index: 10000; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease, visibility 0.5s ease; } #role-screen.fade-out { opacity: 0; visibility: hidden; } .role-screen-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(212, 160, 23, 0.08), transparent 50%), radial-gradient(ellipse at 70% 80%, rgba(59, 130, 246, 0.06), transparent 50%); pointer-events: none; } .role-content { position: relative; z-index: 1; text-align: center; max-width: 720px; width: 90%; } .role-logo { width: 120px; margin: 0 auto 20px; animation: pulseLogo 3s infinite ease-in-out; } .role-logo img { width: 100%; height: auto; } .role-title { font-size: 1.6rem; font-weight: 800; color: var(--slate-100); letter-spacing: 5px; margin-bottom: 6px; } .role-subtitle { font-family: var(--font-mono); font-size: 0.7rem; color: var(--slate-500); letter-spacing: 2px; margin-bottom: 30px; } .role-divider { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); margin: 0 auto 24px; } .role-prompt { font-size: 0.85rem; font-weight: 600; color: var(--slate-300); margin-bottom: 20px; letter-spacing: 1px; } .role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; } .role-card { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 24px 16px; text-align: center; cursor: pointer; transition: all 0.3s var(--ease); display: flex; flex-direction: column; align-items: center; gap: 10px; } .role-card:hover { background: var(--card-hover); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); } .role-card.selected { border-color: var(--blue-400); box-shadow: 0 0 30px rgba(59, 130, 246, 0.3); transform: scale(1.02); } .role-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; } .visitor-icon { background: rgba(34, 197, 94, 0.12); color: var(--green-500); } .officer-icon { background: rgba(234, 179, 8, 0.12); color: var(--yellow-500); } .commander-icon { background: rgba(249, 115, 22, 0.12); color: var(--orange-500); } .general-icon { background: rgba(239, 68, 68, 0.12); color: var(--red-500); } .role-name { font-size: 0.95rem; font-weight: 700; color: var(--slate-200); } .role-class { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 1.5px; padding: 3px 10px; border-radius: 3px; } .role-class.green { color: var(--green-500); background: var(--green-glow); border: 1px solid rgba(34, 197, 94, 0.3); } .role-class.yellow { color: var(--yellow-500); background: rgba(234, 179, 8, 0.12); border: 1px solid rgba(234, 179, 8, 0.3); } .role-class.orange { color: var(--orange-500); background: rgba(249, 115, 22, 0.12); border: 1px solid rgba(249, 115, 22, 0.3); } .role-class.red { color: var(--red-500); background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.3); } .role-desc { font-size: 0.7rem; color: var(--slate-500); line-height: 1.4; } .role-footer-text { font-size: 0.72rem; color: var(--slate-500); display: flex; align-items: center; justify-content: center; gap: 8px; } /* ================================================================ LOADING SCREEN ================================================================ */ #loading-screen { position: fixed; inset: 0; background: var(--navy-950); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out; } #loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; } .loader-content { display: flex; flex-direction: column; align-items: center; text-align: center; } .loader-logo { width: 150px; margin-bottom: 24px; animation: pulseLogo 3s infinite ease-in-out; } .loader-logo img { width: 100%; height: auto; display: block; } @keyframes pulseLogo { 0%, 100% { transform: scale(1); opacity: 0.9; filter: drop-shadow(0 0 10px rgba(212, 160, 23, 0.2)); } 50% { transform: scale(1.03); opacity: 1; filter: drop-shadow(0 0 20px rgba(212, 160, 23, 0.5)); } } .loader-title { font-size: 1.4rem; font-weight: 700; color: var(--slate-100); letter-spacing: 4px; margin-bottom: 30px; } .loader-status { width: 320px; } #loader-text { font-family: var(--font-mono); font-size: 0.6rem; color: var(--slate-400); letter-spacing: 2px; display: block; margin-bottom: 16px; } .loader-steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; text-align: left; } .loader-step { font-family: var(--font-mono); font-size: 0.65rem; color: var(--slate-500); display: flex; align-items: center; gap: 8px; opacity: 0.3; transition: all 0.4s var(--ease); } .loader-step.active { opacity: 1; color: var(--slate-300); } .loader-step.done { color: var(--green-500); } .ls-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-500); flex-shrink: 0; transition: all 0.3s; } .loader-step.active .ls-dot { background: var(--blue-400); box-shadow: 0 0 8px var(--blue-400); } .loader-step.done .ls-dot { background: var(--green-500); box-shadow: 0 0 6px var(--green-500); } .progress-bar-container { width: 100%; height: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; border-radius: 1px; } .progress-bar { width: 0%; height: 100%; background: var(--gold-500); box-shadow: 0 0 10px var(--gold-500); transition: width 0.5s var(--ease); } /* ================================================================ TOAST NOTIFICATIONS ================================================================ */ #toast-container { position: fixed; top: 70px; right: 20px; z-index: 10001; display: flex; flex-direction: column; gap: 8px; pointer-events: none; } .toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--navy-800); border: 1px solid var(--glass-border); border-radius: var(--radius-md); font-size: 0.8rem; color: var(--slate-200); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); backdrop-filter: blur(12px); pointer-events: auto; transform: translateX(120%); opacity: 0; transition: all 0.4s var(--ease); max-width: 360px; } .toast.show { transform: translateX(0); opacity: 1; } .toast.hide { transform: translateX(120%); opacity: 0; } .toast-success { border-left: 3px solid var(--green-500); } .toast-error { border-left: 3px solid var(--red-500); } .toast-warning { border-left: 3px solid var(--orange-500); } .toast-info { border-left: 3px solid var(--blue-400); } .toast-icon { font-size: 1rem; flex-shrink: 0; } .toast-msg { flex: 1; } /* ================================================================ SCROLLBAR ================================================================ */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: rgba(59, 130, 246, 0.2); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: rgba(59, 130, 246, 0.35); } /* ================================================================ TOP BAR ================================================================ */ #top-bar { height: var(--topbar-height); background: var(--navy-900); border-bottom: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; z-index: 100; flex-shrink: 0; } .topbar-left, .topbar-center, .topbar-right { display: flex; align-items: center; gap: 12px; } .topbar-right { gap: 14px; } .logo-group { display: flex; align-items: center; gap: 12px; } .logo-emblem { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; } .logo-text h1 { font-size: 1.1rem; font-weight: 700; color: var(--slate-100); letter-spacing: 2px; line-height: 1.2; } .logo-subtitle { font-family: var(--font-mono); font-size: 0.55rem; color: var(--slate-500); letter-spacing: 1.5px; font-weight: 500; } /* Classification Banner — color varies by role */ .classification-banner { font-family: var(--font-mono); font-size: 0.65rem; font-weight: 600; padding: 3px 14px; border-radius: 3px; letter-spacing: 2px; transition: all 0.3s var(--ease); } .classification-banner.class-green, .class-green { color: var(--green-500); background: var(--green-glow); border: 1px solid rgba(34, 197, 94, 0.3); } .class-yellow { color: var(--yellow-500); background: rgba(234, 179, 8, 0.12); border: 1px solid rgba(234, 179, 8, 0.3); } .class-orange { color: var(--orange-500); background: rgba(249, 115, 22, 0.12); border: 1px solid rgba(249, 115, 22, 0.3); } .class-red { color: var(--red-500); background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.3); } /* User Badge */ .user-badge { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; color: var(--slate-400); letter-spacing: 1px; padding: 4px 10px; border-radius: 4px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-border); } .user-badge.role-green .user-role-dot { background: var(--green-500); } .user-badge.role-yellow .user-role-dot { background: var(--yellow-500); } .user-badge.role-orange .user-role-dot { background: var(--orange-500); } .user-badge.role-red .user-role-dot { background: var(--red-500); } .user-role-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--slate-500); } .topbar-btn { width: 32px; height: 32px; border: 1px solid var(--glass-border); background: transparent; color: var(--slate-400); border-radius: var(--radius-sm); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s var(--ease); } .topbar-btn:hover { background: var(--blue-glow); color: var(--blue-400); } .status-chip { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.65rem; font-weight: 600; color: var(--slate-400); letter-spacing: 1px; } .status-chip.online { color: var(--green-500); } .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 10px var(--green-500); animation: pulseGreen 2s infinite ease-in-out; } @keyframes pulseGreen { 0%, 100% { opacity: 0.8; box-shadow: 0 0 5px var(--green-500); } 50% { opacity: 1; box-shadow: 0 0 15px var(--green-500); } } .clock { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; color: var(--slate-400); letter-spacing: 1px; min-width: 70px; text-align: right; } /* ================================================================ MAIN LAYOUT ================================================================ */ #main-layout { display: flex; flex: 1; overflow: hidden; height: calc(100vh - var(--topbar-height)); } /* ================================================================ SIDEBAR ================================================================ */ #sidebar { width: var(--sidebar-width); background: var(--navy-900); border-right: 1px solid var(--glass-border); display: flex; flex-direction: column; flex-shrink: 0; overflow: hidden; transition: transform 0.3s var(--ease), width 0.3s var(--ease); z-index: 50; } #sidebar-nav { padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; } .nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: none; background: transparent; color: var(--slate-400); font-family: var(--font-sans); font-size: 0.82rem; font-weight: 500; cursor: pointer; border-radius: var(--radius-sm); transition: all 0.2s var(--ease); text-align: left; width: 100%; } .nav-item:hover { background: var(--blue-glow); color: var(--slate-200); } .nav-item.active { background: rgba(59, 130, 246, 0.12); color: var(--blue-400); font-weight: 600; } .nav-item.active svg { stroke: var(--blue-400); } .nav-item svg { flex-shrink: 0; opacity: 0.7; } .nav-item.active svg { opacity: 1; } .sidebar-separator { height: 1px; background: var(--glass-border); margin: 4px 16px; } /* History */ #history-section { flex: 1; padding: 12px; display: flex; flex-direction: column; overflow: hidden; } .history-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding: 0 4px; } .history-header span { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; color: var(--slate-500); letter-spacing: 1.5px; } .history-header button { width: 24px; height: 24px; border: 1px solid var(--glass-border); background: transparent; color: var(--slate-400); border-radius: var(--radius-sm); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s var(--ease); } .history-header button:hover { background: var(--blue-glow); color: var(--blue-400); border-color: rgba(59, 130, 246, 0.3); } #history-list { display: flex; flex-direction: column; gap: 3px; overflow-y: auto; flex: 1; } .history-item { padding: 8px 10px; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s var(--ease); border: 1px solid transparent; } .history-item:hover { background: var(--blue-glow); border-color: var(--glass-border); } .history-item.active { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.2); } .history-item .hi-title { font-size: 0.78rem; color: var(--slate-300); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .history-item .hi-time { font-family: var(--font-mono); font-size: 0.6rem; color: var(--slate-500); margin-top: 2px; } .sidebar-footer { padding: 14px 16px; border-top: 1px solid var(--glass-border); } .sidebar-branding { display: flex; align-items: center; gap: 10px; } .flag-emoji { font-size: 1.3rem; } .brand-title { font-size: 0.72rem; font-weight: 600; color: var(--slate-300); } .brand-sub { font-size: 0.6rem; color: var(--slate-500); } /* ================================================================ CONTENT AREA ================================================================ */ #content-area { flex: 1; overflow: hidden; display: flex; flex-direction: column; background: var(--navy-950); position: relative; } .view { display: none; flex: 1; overflow: hidden; } .view.active { display: flex; flex-direction: column; animation: viewFadeIn 0.3s var(--ease); } @keyframes viewFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } /* ================================================================ DASHBOARD VIEW ================================================================ */ .dashboard-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 16px; padding: 24px; overflow-y: auto; flex: 1; } .dash-card { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 20px; transition: all 0.25s var(--ease); } .dash-card:hover { background: var(--card-hover); border-color: rgba(59, 130, 246, 0.2); transform: translateY(-1px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); } .welcome-card { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(26, 42, 74, 0.5)); border-color: rgba(59, 130, 246, 0.15); position: relative; overflow: hidden; } .welcome-card::before { content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(59, 130, 246, 0.06), transparent 70%); pointer-events: none; } .welcome-text { position: relative; z-index: 1; } .welcome-text h2 { font-size: 1.4rem; font-weight: 700; color: var(--slate-100); margin-bottom: 8px; } .welcome-text p { font-size: 0.88rem; color: var(--slate-400); max-width: 700px; margin-bottom: 18px; line-height: 1.65; } .welcome-actions { display: flex; align-items: center; gap: 16px; } .welcome-version { font-family: var(--font-mono); font-size: 0.6rem; color: var(--slate-500); letter-spacing: 1px; } .btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; background: var(--blue-500); color: #fff; border: none; border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s var(--ease); text-decoration: none; } .btn-primary:hover { background: #2563eb; box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); transform: translateY(-1px); } .metric-card { display: flex; align-items: center; gap: 14px; } .metric-icon { width: 44px; height: 44px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .metric-icon.blue { background: var(--blue-glow); color: var(--blue-400); } .metric-icon.green { background: var(--green-glow); color: var(--green-500); } .metric-icon.gold { background: var(--gold-glow); color: var(--gold-500); } .metric-icon.purple { background: rgba(168, 85, 247, 0.15); color: var(--purple-500); } .metric-data { flex: 1; min-width: 0; } .metric-value { font-size: 1.2rem; font-weight: 700; color: var(--slate-100); font-family: var(--font-mono); } .metric-value.loading { color: transparent; background: rgba(255, 255, 255, 0.1); border-radius: 4px; min-width: 40px; height: 1.2rem; animation: pulseSkeleton 1.5s infinite; } @keyframes pulseSkeleton { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } } .metric-label { font-size: 0.72rem; color: var(--slate-500); font-weight: 500; } .sparkline { display: block; margin-top: 6px; } .quick-actions-card { grid-column: 1 / 3; } .quick-actions-card h3, .capabilities-card h3 { font-size: 0.85rem; font-weight: 600; color: var(--slate-200); margin-bottom: 14px; } .quick-actions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .quick-action { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; background: rgba(59, 130, 246, 0.04); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); color: var(--slate-400); font-family: var(--font-sans); font-size: 0.72rem; font-weight: 500; cursor: pointer; transition: all 0.2s var(--ease); text-align: center; } .quick-action:hover { background: rgba(59, 130, 246, 0.1); color: var(--blue-400); border-color: rgba(59, 130, 246, 0.25); transform: translateY(-1px); } .quick-action svg { opacity: 0.6; } .quick-action:hover svg { opacity: 1; stroke: var(--blue-400); } .capabilities-card { grid-column: 3 / 5; } .capability-list { display: flex; flex-direction: column; gap: 10px; } .capability-item { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--slate-400); } .cap-indicator { width: 8px; height: 8px; border-radius: 50%; background: var(--slate-500); flex-shrink: 0; transition: all 0.3s; } .cap-indicator.active { background: var(--green-500); box-shadow: 0 0 6px var(--green-500); } /* ================================================================ CHAT VIEW ================================================================ */ .chat-layout { display: flex; flex: 1; overflow: hidden; } .chat-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; } #chat-box { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 16px; } /* Messages */ .message { display: flex; gap: 12px; max-width: 85%; animation: msgSlide 0.35s var(--ease); } @keyframes msgSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .message.bot { align-self: flex-start; } .message.user { align-self: flex-end; flex-direction: row-reverse; } .msg-avatar { width: 34px; height: 34px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; } .message.bot .msg-avatar { background: var(--blue-glow); color: var(--blue-400); } .message.user .msg-avatar { background: rgba(212, 160, 23, 0.15); color: var(--gold-500); } .msg-body { flex: 1; min-width: 0; } .msg-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; } .msg-sender { font-size: 0.75rem; font-weight: 600; color: var(--slate-300); } .msg-time { font-family: var(--font-mono); font-size: 0.6rem; color: var(--slate-500); } /* Classification Tag on messages */ .msg-classification { font-family: var(--font-mono); font-size: 0.5rem; font-weight: 600; letter-spacing: 1px; padding: 1px 6px; border-radius: 2px; } /* Confidence Badge */ .confidence-badge { font-size: 0.6rem; padding: 1px 6px; border-radius: 3px; font-weight: 500; } .confidence-badge.conf-high { color: var(--green-500); background: var(--green-glow); } .confidence-badge.conf-medium { color: var(--yellow-500); background: rgba(234, 179, 8, 0.12); } .confidence-badge.conf-low { color: var(--red-500); background: rgba(239, 68, 68, 0.08); } .msg-content { font-size: 0.88rem; line-height: 1.7; color: var(--slate-300); background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--glass-border); padding: 14px 16px; border-radius: 2px var(--radius-md) var(--radius-md) var(--radius-md); position: relative; border-left: 2px solid var(--blue-400); box-shadow: 0 4px 15px rgba(0,0,0,0.2); } .message.user .msg-content { background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.2); border-radius: var(--radius-md) 2px var(--radius-md) var(--radius-md); color: var(--slate-200); border-left: 1px solid rgba(59, 130, 246, 0.15); border-right: 2px solid var(--gold-500); } .msg-content .section-header { font-size: 0.78rem; font-weight: 700; color: var(--gold-500); text-transform: uppercase; margin: 14px 0 6px; padding: 4px 0; border-bottom: 1px solid var(--gold-glow); letter-spacing: 0.5px; } .msg-content .bullet-item { padding-left: 14px; margin: 4px 0; border-left: 2px solid rgba(59, 130, 246, 0.15); } .msg-content .numbered-item { padding-left: 8px; margin: 4px 0; } .msg-content .numbered-item .num { color: var(--blue-400); font-weight: 700; margin-right: 4px; } .msg-content strong { color: var(--blue-300); } /* Message Actions */ .msg-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; opacity: 0; transition: opacity 0.2s; } .msg-content:hover .msg-actions { opacity: 1; } .msg-action-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 4px; color: var(--slate-400); cursor: pointer; padding: 3px 10px; font-size: 0.65rem; font-family: var(--font-sans); transition: all 0.2s; } .msg-action-btn:hover { background: rgba(59, 130, 246, 0.15); border-color: var(--blue-500); color: #fff; } .msg-latency { font-family: var(--font-mono); font-size: 0.6rem; color: var(--slate-500); margin-left: auto; } /* Sources Badge */ .msg-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; } .source-badge { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 0.6rem; color: var(--slate-400); background: rgba(59, 130, 246, 0.06); border: 1px solid var(--glass-border); padding: 3px 8px; border-radius: 3px; } .source-badge .source-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-400); flex-shrink: 0; } /* Post-response Suggestions */ .post-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; align-items: center; animation: msgSlide 0.35s var(--ease); } .ps-label { font-family: var(--font-mono); font-size: 0.6rem; color: var(--slate-500); letter-spacing: 1px; margin-right: 4px; } .post-suggestion-chip { background: rgba(212, 160, 23, 0.06); border: 1px solid rgba(212, 160, 23, 0.2); border-left: 2px solid var(--gold-500); color: var(--slate-400); padding: 6px 14px; border-radius: 4px; font-family: var(--font-sans); font-size: 0.72rem; font-weight: 500; cursor: pointer; transition: all 0.2s var(--ease); } .post-suggestion-chip:hover { background: rgba(212, 160, 23, 0.12); color: var(--gold-500); border-color: rgba(212, 160, 23, 0.4); } /* Processing Status */ .processing-status { display: none; flex-direction: column; gap: 6px; padding: 8px 24px; animation: msgSlide 0.3s var(--ease); } .ps-step { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.65rem; color: var(--slate-500); opacity: 0.3; transition: all 0.4s var(--ease); } .ps-step.active { opacity: 1; color: var(--blue-400); } .ps-step.done { color: var(--green-500); } .ps-step .ps-icon { font-size: 0.9rem; } .ps-step.active .ps-text { animation: textPulse 1.5s infinite; } @keyframes textPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } /* Thinking Dots */ .thinking-dots { display: flex; gap: 5px; padding: 6px 0; } .thinking-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-400); animation: thinkBounce 1.4s infinite ease-in-out; } .thinking-dots span:nth-child(1) { animation-delay: 0s; } .thinking-dots span:nth-child(2) { animation-delay: 0.2s; } .thinking-dots span:nth-child(3) { animation-delay: 0.4s; } @keyframes thinkBounce { 0%, 80%, 100% { transform: scale(0.5); opacity: 0.3; } 40% { transform: scale(1); opacity: 1; } } /* Suggestions */ #suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 24px 12px; } .suggestion-chip { background: rgba(59, 130, 246, 0.05); border: 1px solid var(--glass-border); border-left: 2px solid var(--blue-500); color: var(--slate-400); padding: 7px 16px; border-radius: 4px; font-family: var(--font-sans); font-size: 0.75rem; font-weight: 500; cursor: pointer; transition: all 0.2s var(--ease); white-space: nowrap; } .suggestion-chip:hover { background: rgba(59, 130, 246, 0.12); color: var(--blue-400); border-color: rgba(59, 130, 246, 0.3); } /* Chat Input Area */ .chat-input-area { padding: 16px 24px 18px; border-top: 1px solid var(--glass-border); background: rgba(11, 15, 25, 0.85); backdrop-filter: blur(12px); } .input-row { display: flex; gap: 8px; align-items: center; } #chat-input { flex: 1; background: rgba(15, 23, 42, 0.6); border: 1px solid var(--glass-border); border-radius: var(--radius-md); color: var(--slate-200); font-family: var(--font-sans); font-size: 0.88rem; padding: 11px 16px; outline: none; transition: all 0.25s var(--ease); } #chat-input:focus { background: rgba(15, 23, 42, 0.9); border-color: rgba(59, 130, 246, 0.5); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), inset 0 0 10px rgba(59, 130, 246, 0.05); } #chat-input:disabled { opacity: 0.5; cursor: not-allowed; background: rgba(255, 255, 255, 0.02); } #chat-input::placeholder { color: var(--slate-500); font-size: 0.82rem; } .icon-btn { width: 42px; height: 42px; border-radius: var(--radius-md); border: 1px solid var(--glass-border); background: var(--navy-800); color: var(--slate-400); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s var(--ease); } .icon-btn:hover { background: var(--blue-glow); color: var(--blue-400); border-color: rgba(59, 130, 246, 0.25); } .icon-btn.primary { background: var(--blue-500); border-color: var(--blue-500); color: #fff; } .icon-btn.primary:hover:not(:disabled) { background: #2563eb; box-shadow: 0 0 15px rgba(59, 130, 246, 0.3); } .icon-btn:disabled { opacity: 0.5; cursor: not-allowed; } #record-btn.recording { background: rgba(239, 68, 68, 0.15); border-color: var(--red-500); color: var(--red-500); animation: recPulse 1.2s infinite; } @keyframes recPulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3); } 100% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } } .input-actions { display: flex; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; } .action-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; color: var(--slate-500); cursor: pointer; transition: color 0.2s; background: none; border: none; font-family: var(--font-sans); padding: 0; } .action-btn:hover { color: var(--blue-400); } .input-hint { margin-left: auto; font-family: var(--font-mono); font-size: 0.6rem; color: var(--slate-500); opacity: 0.6; } input[type="file"] { display: none; } /* System Banner */ .system-banner { background: rgba(239, 68, 68, 0.1); border-bottom: 1px solid rgba(239, 68, 68, 0.2); color: var(--red-500); padding: 8px 16px; text-align: center; font-size: 0.75rem; font-family: var(--font-mono); letter-spacing: 0.5px; flex-shrink: 0; } /* Typewriter */ .typing::after { content: '▊'; animation: cursorBlink 0.8s infinite; color: var(--blue-400); margin-left: 2px; } @keyframes cursorBlink { 50% { opacity: 0; } } /* ================================================================ INTEL PANEL (Right Side) ================================================================ */ .intel-panel { width: var(--intel-width); background: rgba(11, 15, 25, 0.65); backdrop-filter: blur(12px); border-left: 1px solid var(--glass-border); display: flex; flex-direction: column; padding: 0; overflow-y: auto; flex-shrink: 0; } .intel-section { padding: 16px 18px; border-bottom: 1px solid var(--glass-border); } .intel-section h4 { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 600; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; } .intel-section h4 svg { opacity: 0.6; } .intel-stats { display: flex; flex-direction: column; gap: 10px; } .intel-stat { display: flex; justify-content: space-between; align-items: center; } .stat-label { font-size: 0.75rem; color: var(--slate-500); } .stat-value { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; color: var(--slate-300); } #sources-list { display: flex; flex-direction: column; gap: 6px; } .source-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: rgba(59, 130, 246, 0.04); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); font-size: 0.72rem; color: var(--slate-400); } .source-item .si-icon { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-400); flex-shrink: 0; } .intel-config { display: flex; flex-direction: column; gap: 10px; } .config-toggle { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--slate-400); cursor: pointer; } .config-toggle input[type="checkbox"] { width: 36px; height: 20px; appearance: none; -webkit-appearance: none; background: var(--navy-700); border-radius: 10px; cursor: pointer; position: relative; transition: background 0.2s; flex-shrink: 0; } .config-toggle input[type="checkbox"]::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--slate-400); transition: all 0.2s; } .config-toggle input[type="checkbox"]:checked { background: var(--blue-500); } .config-toggle input[type="checkbox"]:checked::after { left: 19px; background: #fff; } /* ================================================================ MAP VIEW ================================================================ */ .map-container { flex: 1; display: flex; flex-direction: column; overflow: hidden; } .map-header { padding: 18px 24px 14px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; } .map-header h2 { font-size: 1.1rem; font-weight: 700; color: var(--slate-100); } .map-legend { display: flex; gap: 16px; flex-wrap: wrap; } .legend-item { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--slate-400); } .legend-dot { width: 10px; height: 10px; border-radius: 50%; } .legend-dot.hq { background: var(--gold-500); } .legend-dot.base { background: var(--blue-500); } .legend-dot.mission { background: var(--green-500); } .legend-dot.training { background: var(--purple-500); } #leaflet-map { flex: 1; background: var(--navy-800); border-top: 1px solid var(--glass-border); } .leaflet-container { background: var(--navy-800) !important; } .leaflet-control-zoom a { background: var(--navy-800) !important; color: var(--slate-300) !important; border-color: var(--glass-border) !important; } .leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--navy-900) !important; color: var(--slate-200) !important; border: 1px solid var(--glass-border) !important; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important; } .map-popup-custom { font-family: var(--font-sans); } .map-popup-custom h4 { font-size: 0.85rem; color: var(--slate-100); margin-bottom: 4px; } .map-popup-custom p { font-size: 0.75rem; color: var(--slate-500); } /* ================================================================ DOCUMENTS VIEW ================================================================ */ .documents-container { flex: 1; display: flex; flex-direction: column; padding: 24px; overflow-y: auto; } .docs-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; } .docs-header h2 { font-size: 1.1rem; font-weight: 700; color: var(--slate-100); } .documents-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; } .doc-card { background: rgba(15, 23, 42, 0.5); backdrop-filter: blur(8px); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 16px; cursor: pointer; transition: all 0.25s var(--ease); } .doc-card:hover { background: rgba(15, 23, 42, 0.85); border-color: rgba(59, 130, 246, 0.4); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.3); } .doc-card .doc-icon { font-size: 1.5rem; margin-bottom: 8px; } .doc-card .doc-name { font-size: 0.85rem; font-weight: 600; color: var(--slate-200); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .doc-card .doc-meta { font-size: 0.7rem; color: var(--slate-500); } .doc-card .doc-preview { margin-top: 10px; font-size: 0.72rem; color: var(--slate-400); line-height: 1.5; max-height: 3.5em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } .empty-state { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; text-align: center; } .empty-state p { font-size: 0.9rem; color: var(--slate-500); margin-top: 12px; } .empty-state .empty-sub { font-size: 0.75rem; color: var(--slate-500); opacity: 0.6; margin-top: 4px; } /* ================================================================ ORG CHART VIEW ================================================================ */ .orgchart-container { flex: 1; padding: 24px; overflow-y: auto; } .orgchart-header { text-align: center; margin-bottom: 30px; } .orgchart-header h2 { font-size: 1.2rem; font-weight: 700; color: var(--slate-100); margin-bottom: 6px; } .orgchart-header p { font-size: 0.8rem; color: var(--slate-500); } .org-tree { display: flex; flex-direction: column; align-items: center; gap: 0; } .org-level { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; } .org-connector { width: 2px; height: 24px; background: var(--glass-border); margin: 0 auto; } .org-connector.multi { width: 60%; height: 2px; position: relative; margin: 12px auto; } .org-connector.multi::before { content: ''; position: absolute; left: 50%; top: -12px; width: 2px; height: 12px; background: var(--glass-border); } .org-level.departments .org-node, .org-level.commands .org-node { position: relative; margin-top: 12px; } .org-level.departments .org-node::before, .org-level.commands .org-node::before { content: ''; position: absolute; top: -14px; left: 50%; width: 2px; height: 14px; background: var(--glass-border); } .org-node { background: var(--card-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 14px 20px; text-align: center; cursor: pointer; transition: all 0.25s var(--ease); min-width: 160px; } .org-node:hover { background: var(--card-hover); border-color: rgba(59, 130, 246, 0.3); transform: translateY(-2px); box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3); } .org-node.commander { border-color: var(--gold-500); background: linear-gradient(135deg, rgba(212, 160, 23, 0.08), var(--card-bg)); min-width: 220px; } .org-node.commander:hover { border-color: var(--gold-500); box-shadow: 0 6px 25px rgba(212, 160, 23, 0.15); } .org-rank { font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600; color: var(--gold-500); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; } .org-node .org-title { font-size: 0.78rem; font-weight: 600; color: var(--slate-200); } .org-node.dept .org-dept, .org-node.command .org-dept { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; color: var(--blue-400); margin-bottom: 4px; } .org-node.dept { min-width: 110px; } .org-node.command { min-width: 130px; } .org-node.command { border-color: rgba(59, 130, 246, 0.2); background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), var(--card-bg)); } /* ================================================================ KEYBOARD SHORTCUTS MODAL ================================================================ */ .modal-overlay { position: fixed; inset: 0; background: rgba(6, 13, 29, 0.8); backdrop-filter: blur(4px); z-index: 10002; display: flex; align-items: center; justify-content: center; animation: viewFadeIn 0.2s var(--ease); } .modal-content { background: var(--navy-800); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 24px; max-width: 440px; width: 90%; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); } .modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; } .modal-header h3 { font-size: 1rem; font-weight: 700; color: var(--slate-100); } .modal-close { width: 28px; height: 28px; border: 1px solid var(--glass-border); background: transparent; color: var(--slate-400); border-radius: var(--radius-sm); cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: all 0.2s; } .modal-close:hover { background: rgba(239, 68, 68, 0.15); color: var(--red-500); } .shortcut-list { display: flex; flex-direction: column; gap: 10px; } .shortcut-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.04); } .shortcut-item kbd { font-family: var(--font-mono); font-size: 0.7rem; background: var(--navy-700); border: 1px solid var(--glass-border); border-radius: 4px; padding: 2px 8px; color: var(--blue-400); min-width: 60px; text-align: center; } .shortcut-item span { font-size: 0.8rem; color: var(--slate-400); } .modal-footer-text { margin-top: 16px; text-align: center; font-family: var(--font-mono); font-size: 0.6rem; color: var(--slate-500); letter-spacing: 1px; } /* ================================================================ MOBILE & RESPONSIVE ================================================================ */ .mobile-menu-btn { display: none; position: fixed; top: 12px; left: 12px; z-index: 200; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--navy-800); border: 1px solid var(--glass-border); color: var(--slate-300); cursor: pointer; align-items: center; justify-content: center; } /* ================================================================ LOGIN OVERLAY ================================================================ */ .login-overlay { position: absolute; inset: 0; background: rgba(6, 13, 29, 0.85); backdrop-filter: blur(8px); z-index: 50; display: flex; align-items: center; justify-content: center; opacity: 1; transition: opacity 0.3s var(--ease); } .login-overlay.hidden { opacity: 0; pointer-events: none; } .login-box { background: var(--navy-800); border: 1px solid var(--blue-500); border-radius: var(--radius-md); padding: 30px; width: 320px; text-align: center; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.2); transform: translateY(0); transition: transform 0.3s var(--ease); } .login-overlay.hidden .login-box { transform: translateY(20px); } .login-box h3 { font-size: 1.1rem; color: var(--slate-100); margin-bottom: 5px; } .login-box #login-role-txt { font-family: var(--font-mono); font-size: 0.75rem; color: var(--gold-500); margin-bottom: 20px; } .login-box input { width: 100%; background: rgba(15, 23, 42, 0.6); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); color: var(--slate-200); font-family: var(--font-mono); font-size: 0.9rem; padding: 10px; margin-bottom: 20px; text-align: center; letter-spacing: 2px; outline: none; } .login-box input:focus { border-color: var(--blue-400); box-shadow: 0 0 10px rgba(59, 130, 246, 0.2); } .login-actions { display: flex; gap: 10px; } .login-actions button { flex: 1; padding: 8px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; } .login-actions .btn-cancel { background: transparent; border: 1px solid var(--glass-border); color: var(--slate-400); } .login-actions .btn-cancel:hover { background: rgba(239, 68, 68, 0.1); color: var(--red-500); border-color: rgba(239, 68, 68, 0.3); } .login-actions .btn-primary { background: var(--blue-500); border: 1px solid var(--blue-500); color: #fff; } .login-actions .btn-primary:hover { background: #2563eb; box-shadow: 0 0 15px rgba(59, 130, 246, 0.4); } /* ================================================================ AGENTIC WIDGETS ================================================================ */ .agentic-widget { margin: 16px 0; background: rgba(15, 23, 42, 0.6); border: 1px solid rgba(59, 130, 246, 0.3); border-left: 3px solid var(--blue-500); border-radius: var(--radius-md); padding: 16px; backdrop-filter: blur(8px); animation: widgetSlideIn 0.4s var(--ease); box-shadow: 0 4px 20px rgba(0,0,0,0.2); } @keyframes widgetSlideIn { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } } .agentic-widget .widget-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 8px; } .agentic-widget .widget-icon { font-size: 1.2rem; } .agentic-widget .widget-title { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 700; color: var(--blue-400); letter-spacing: 0.5px; text-transform: uppercase; } .agentic-widget .widget-body { display: grid; gap: 12px; } .agentic-widget .widget-body.grid-2 { grid-template-columns: 1fr 1fr; } .agentic-widget .widget-body.grid-4 { grid-template-columns: repeat(4, 1fr); } .agentic-widget .w-metric { background: rgba(0, 0, 0, 0.2); padding: 10px; border-radius: 4px; display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; border: 1px solid rgba(255,255,255,0.02); } .agentic-widget .w-label { font-size: 0.65rem; color: var(--slate-500); text-transform: uppercase; font-weight: 600; letter-spacing: 1px; } .agentic-widget .w-val { font-family: var(--font-mono); font-size: 1rem; font-weight: 600; color: var(--slate-200); } .agentic-widget .widget-footer { margin-top: 12px; padding: 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; text-align: center; font-family: var(--font-mono); } .agentic-widget .widget-footer.status-green { background: rgba(34, 197, 94, 0.1); color: var(--green-500); border: 1px solid rgba(34, 197, 94, 0.2); } .agentic-widget .widget-footer.status-yellow { background: rgba(234, 179, 8, 0.1); color: var(--yellow-500); border: 1px solid rgba(234, 179, 8, 0.2); } .agentic-widget .widget-footer.status-red { background: rgba(239, 68, 68, 0.1); color: var(--red-500); border: 1px solid rgba(239, 68, 68, 0.2); } @media (max-width: 1200px) { .intel-panel { display: none; } .dashboard-grid { grid-template-columns: 1fr 1fr; } .quick-actions-card, .capabilities-card { grid-column: span 2; } } @media (max-width: 900px) { #sidebar { position: fixed; top: var(--topbar-height); left: 0; bottom: 0; transform: translateX(-100%); z-index: 100; box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5); } #sidebar.open { transform: translateX(0); } .mobile-menu-btn { display: flex; } .topbar-left { margin-left: 44px; } .topbar-center { display: none; } .user-badge { display: none; } .dashboard-grid { grid-template-columns: 1fr 1fr; padding: 16px; gap: 12px; } .welcome-card { grid-column: span 2; } .quick-actions-card, .capabilities-card { grid-column: span 2; } .quick-actions-grid { grid-template-columns: repeat(2, 1fr); } .role-grid { grid-template-columns: repeat(2, 1fr); } .analytics-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 600px) { .dashboard-grid { grid-template-columns: 1fr; } .welcome-card, .metric-card, .quick-actions-card, .capabilities-card, .analytics-card { grid-column: span 1; } .quick-actions-grid { grid-template-columns: repeat(2, 1fr); } .analytics-grid { grid-template-columns: repeat(2, 1fr); } .logo-subtitle { display: none; } .clock { display: none; } #chat-box { padding: 14px; } .message { max-width: 95%; } .chat-input-area { padding: 12px 14px 14px; } .input-hint { display: none; } .org-level.departments, .org-level.commands { gap: 8px; } .org-node { min-width: 90px !important; padding: 10px 12px; } .org-node .org-title { font-size: 0.7rem; } .role-grid { grid-template-columns: 1fr 1fr; } .role-title { font-size: 1.2rem; letter-spacing: 3px; } } /* ================================================================ FEEDBACK BUTTONS ================================================================ */ .feedback-group { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding-left: 6px; border-left: 1px solid var(--glass-border); } .feedback-btn { font-size: 0.85rem !important; padding: 3px 6px !important; min-width: 28px; opacity: 0.5; transition: all 0.2s var(--ease) !important; border-radius: 4px !important; } .feedback-btn:hover { opacity: 1; background: var(--blue-glow) !important; transform: scale(1.15); } .feedback-btn.feedback-active { opacity: 1; background: rgba(34, 197, 94, 0.15) !important; box-shadow: 0 0 10px rgba(34, 197, 94, 0.2); transform: scale(1.1); } .feedback-btn:disabled { cursor: default; } .feedback-btn:disabled:not(.feedback-active) { opacity: 0.25; } /* ================================================================ ANALYTICS DASHBOARD CARD ================================================================ */ .analytics-card { grid-column: span 2; background: linear-gradient(135deg, rgba(168, 85, 247, 0.06), var(--card-bg)) !important; border-color: rgba(168, 85, 247, 0.12) !important; } .analytics-card h3 { font-size: 0.85rem; font-weight: 700; color: var(--slate-200); margin-bottom: 16px; letter-spacing: 0.5px; } .analytics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; } .analytics-item { text-align: center; padding: 14px 8px; background: rgba(255, 255, 255, 0.03); border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.04); transition: all 0.2s var(--ease); } .analytics-item:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(168, 85, 247, 0.2); transform: translateY(-1px); } .analytics-value { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 800; color: var(--slate-100); line-height: 1; margin-bottom: 6px; } .analytics-label { font-size: 0.65rem; font-weight: 600; color: var(--slate-500); letter-spacing: 0.5px; text-transform: uppercase; } /* ================================================================ HISTORY SEARCH ================================================================ */ .history-search { padding: 0 4px; margin-bottom: 10px; } .history-search input { width: 100%; padding: 7px 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); color: var(--slate-300); font-family: var(--font-sans); font-size: 0.75rem; outline: none; transition: all 0.2s var(--ease); } .history-search input::placeholder { color: var(--slate-500); font-size: 0.72rem; } .history-search input:focus { border-color: rgba(59, 130, 246, 0.3); background: rgba(59, 130, 246, 0.06); box-shadow: 0 0 12px rgba(59, 130, 246, 0.1); } .hi-snippet { font-size: 0.65rem; color: var(--slate-500); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: italic; } .history-empty { padding: 16px 10px; text-align: center; font-size: 0.75rem; color: var(--slate-500); font-style: italic; } /* ================================================================ SITREP QUICK ACTION BUTTON HIGHLIGHT ================================================================ */ #quick-sitrep { background: linear-gradient(135deg, rgba(212, 160, 23, 0.08), rgba(212, 160, 23, 0.02)); border-color: rgba(212, 160, 23, 0.2); } #quick-sitrep:hover { background: linear-gradient(135deg, rgba(212, 160, 23, 0.15), rgba(212, 160, 23, 0.05)); border-color: rgba(212, 160, 23, 0.4); box-shadow: 0 4px 20px rgba(212, 160, 23, 0.15); } #quick-sitrep svg { stroke: var(--gold-500); } #quick-sitrep span { color: var(--gold-500); font-weight: 700; }