/* =========================================================================
   NS CHRONICLE // LIGHT WORKSTATION STYLESHEET (style.css)
   Clean, High-Contrast Light Mode Journal & Intelligence Portal
   ========================================================================= */

:root {
    --bg-main: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-surface-hover: #F1F5F9;
    --bg-card-subtle: #F8FAFC;
    --border-line: #E2E8F0;
    --border-line-dark: #CBD5E1;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    
    /* Functional Accents */
    --operational-green: #059669;
    --operational-bg: #ECFDF5;
    --operational-border: #A7F3D0;
    
    --accent-blue: #2563EB;
    --accent-blue-bg: #EFF6FF;
    --accent-blue-border: #BFDBFE;
    
    --accent-amber: #D97706;
    --accent-amber-bg: #FFFBEB;
    --accent-amber-border: #FDE68A;
    
    --incident-red: #DC2626;
    --incident-red-bg: #FEF2F2;
    --incident-red-border: #FECACA;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Geist', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-feature-settings: "ss01", "ss02", "cv01";
    -webkit-font-smoothing: antialiased;
}

/* Technical Grid Background Pattern */
.light-grid-bg {
    background-image: linear-gradient(to right, rgba(203, 213, 225, 0.4) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(203, 213, 225, 0.4) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Border utilities */
.border-line {
    border-color: var(--border-line);
}

.border-line-dark {
    border-color: var(--border-line-dark);
}

/* Card Surface Styling */
.chronicle-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-line);
    box-shadow: 0 1px 2px 0 rgba(15, 23, 42, 0.03);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.chronicle-card:hover {
    border-color: var(--border-line-dark);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

/* Light Mode Scanline Animation */
.light-scanline {
    width: 100%;
    height: 120px;
    z-index: 10;
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(5, 150, 105, 0.05) 50%, rgba(255,255,255,0) 100%);
    position: absolute;
    bottom: 100%;
    animation: scan 10s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% { bottom: 100%; }
    100% { bottom: -120px; }
}

/* Custom Scrollbar for Light Mode */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}
