/* ============================================================================
   GEOINT Dashboard v9.0 Ultra Advanced Intelligence Platform
   Feature Styles — Dark Glassmorphism Design System
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. Domain Color Variables
   ---------------------------------------------------------------------------- */

:root {
    /* Domain-specific accent colors */
    --domain-sigint: #06b6d4;
    --domain-satellite: #8b5cf6;
    --domain-influence: #ec4899;
    --domain-cyberwar: #ef4444;
    --domain-resources: #f59e0b;
    --domain-darkweb: #1e1b4b;
    --domain-weapons: #dc2626;
    --domain-displacement: #10b981;
    --domain-space: #3b82f6;
    --domain-econwar: #f97316;

    /* Shared UI tokens */
    --v9-glass-bg: rgba(255, 255, 255, 0.05);
    --v9-glass-border: rgba(255, 255, 255, 0.1);
    --v9-glass-blur: blur(10px);
    --v9-text-primary: #ffffff;
    --v9-text-secondary: rgba(255, 255, 255, 0.7);
    --v9-text-muted: rgba(255, 255, 255, 0.4);
    --v9-text-dim: rgba(255, 255, 255, 0.3);
    --v9-surface-dark: rgba(0, 0, 0, 0.3);
    --v9-surface-darker: rgba(0, 0, 0, 0.4);
    --v9-accent: #3b82f6;
    --v9-success: #10b981;
    --v9-danger: #ef4444;
    --v9-warning: #f59e0b;
    --v9-radius-sm: 4px;
    --v9-radius-md: 8px;
    --v9-radius-lg: 12px;
    --v9-transition: all 0.2s ease;
}


/* ----------------------------------------------------------------------------
   2. Stats Grid
   ---------------------------------------------------------------------------- */

.v9-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.v9-stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--v9-transition);
}

.v9-stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.v9-stat-card .stat-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    opacity: 0.8;
}

.v9-stat-card .stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 4px;
}

.v9-stat-card .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.v9-stat-card .stat-change {
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.v9-stat-card .stat-change.positive {
    color: #10b981;
}

.v9-stat-card .stat-change.negative {
    color: #ef4444;
}

.v9-stat-card .stat-change.neutral {
    color: rgba(255, 255, 255, 0.4);
}

.v9-stat-card .stat-sparkline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    opacity: 0.3;
}

.v9-stat-card .stat-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
}


/* ----------------------------------------------------------------------------
   3. Domain-Specific Stat Card Modifiers
   ---------------------------------------------------------------------------- */

.v9-domain-sigint .v9-stat-card {
    border-top: 3px solid var(--domain-sigint);
}

.v9-domain-satellite .v9-stat-card {
    border-top: 3px solid var(--domain-satellite);
}

.v9-domain-influence .v9-stat-card {
    border-top: 3px solid var(--domain-influence);
}

.v9-domain-cyberwar .v9-stat-card {
    border-top: 3px solid var(--domain-cyberwar);
}

.v9-domain-resources .v9-stat-card {
    border-top: 3px solid var(--domain-resources);
}

.v9-domain-darkweb .v9-stat-card {
    border-top: 3px solid var(--domain-darkweb);
}

.v9-domain-weapons .v9-stat-card {
    border-top: 3px solid var(--domain-weapons);
}

.v9-domain-displacement .v9-stat-card {
    border-top: 3px solid var(--domain-displacement);
}

.v9-domain-space .v9-stat-card {
    border-top: 3px solid var(--domain-space);
}

.v9-domain-econwar .v9-stat-card {
    border-top: 3px solid var(--domain-econwar);
}

/* Domain accent text helpers */
.v9-domain-sigint .v9-stat-card .stat-value { color: var(--domain-sigint); }
.v9-domain-satellite .v9-stat-card .stat-value { color: var(--domain-satellite); }
.v9-domain-influence .v9-stat-card .stat-value { color: var(--domain-influence); }
.v9-domain-cyberwar .v9-stat-card .stat-value { color: var(--domain-cyberwar); }
.v9-domain-resources .v9-stat-card .stat-value { color: var(--domain-resources); }
.v9-domain-darkweb .v9-stat-card .stat-value { color: #a78bfa; }
.v9-domain-weapons .v9-stat-card .stat-value { color: var(--domain-weapons); }
.v9-domain-displacement .v9-stat-card .stat-value { color: var(--domain-displacement); }
.v9-domain-space .v9-stat-card .stat-value { color: var(--domain-space); }
.v9-domain-econwar .v9-stat-card .stat-value { color: var(--domain-econwar); }

/* Domain glow on hover */
.v9-domain-sigint .v9-stat-card:hover { box-shadow: 0 0 20px rgba(6, 182, 212, 0.15); }
.v9-domain-satellite .v9-stat-card:hover { box-shadow: 0 0 20px rgba(139, 92, 246, 0.15); }
.v9-domain-influence .v9-stat-card:hover { box-shadow: 0 0 20px rgba(236, 72, 153, 0.15); }
.v9-domain-cyberwar .v9-stat-card:hover { box-shadow: 0 0 20px rgba(239, 68, 68, 0.15); }
.v9-domain-resources .v9-stat-card:hover { box-shadow: 0 0 20px rgba(245, 158, 11, 0.15); }
.v9-domain-darkweb .v9-stat-card:hover { box-shadow: 0 0 20px rgba(30, 27, 75, 0.3); }
.v9-domain-weapons .v9-stat-card:hover { box-shadow: 0 0 20px rgba(220, 38, 38, 0.15); }
.v9-domain-displacement .v9-stat-card:hover { box-shadow: 0 0 20px rgba(16, 185, 129, 0.15); }
.v9-domain-space .v9-stat-card:hover { box-shadow: 0 0 20px rgba(59, 130, 246, 0.15); }
.v9-domain-econwar .v9-stat-card:hover { box-shadow: 0 0 20px rgba(249, 115, 22, 0.15); }


/* ----------------------------------------------------------------------------
   4. Data Tables
   ---------------------------------------------------------------------------- */

.v9-data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.v9-data-table thead th {
    background: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 16px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    user-select: none;
    transition: color 0.15s ease;
    white-space: nowrap;
    position: relative;
}

.v9-data-table thead th:hover {
    color: #ffffff;
}

.v9-data-table thead th.sorted-asc::after {
    content: " \25B2";
    font-size: 0.65rem;
    opacity: 0.7;
}

.v9-data-table thead th.sorted-desc::after {
    content: " \25BC";
    font-size: 0.65rem;
    opacity: 0.7;
}

.v9-data-table thead th:first-child {
    border-top-left-radius: 12px;
}

.v9-data-table thead th:last-child {
    border-top-right-radius: 12px;
}

.v9-data-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    vertical-align: middle;
}

.v9-data-table tbody tr {
    transition: background 0.15s ease;
}

.v9-data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.v9-data-table tbody tr.clickable {
    cursor: pointer;
}

.v9-data-table tbody tr.clickable:hover {
    background: rgba(255, 255, 255, 0.08);
}

.v9-data-table tbody tr:last-child td {
    border-bottom: none;
}

.v9-data-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.v9-data-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

.v9-data-table tbody td.mono {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
}

.v9-data-table tbody td.truncate {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v9-data-table .table-empty {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* Compact table variant */
.v9-data-table.compact thead th {
    padding: 8px 12px;
    font-size: 0.75rem;
}

.v9-data-table.compact tbody td {
    padding: 8px 12px;
    font-size: 0.8rem;
}

/* Striped table variant */
.v9-data-table.striped tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.v9-data-table.striped tbody tr:nth-child(even):hover {
    background: rgba(255, 255, 255, 0.06);
}


/* ----------------------------------------------------------------------------
   5. Filter Bar
   ---------------------------------------------------------------------------- */

.v9-filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.v9-filter-bar select,
.v9-filter-bar input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: border-color 0.2s ease;
    min-width: 120px;
}

.v9-filter-bar select:focus,
.v9-filter-bar input:focus {
    border-color: var(--accent, #3b82f6);
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.v9-filter-bar select option {
    background: #1e293b;
    color: #ffffff;
}

.v9-filter-bar input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.v9-filter-bar input[type="date"] {
    color-scheme: dark;
}

.v9-filter-bar .filter-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.v9-filter-bar .filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v9-filter-bar .filter-separator {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
}

.v9-filter-bar .filter-btn {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--v9-transition);
    white-space: nowrap;
}

.v9-filter-bar .filter-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    color: #ffffff;
}

.v9-filter-bar .filter-btn.active {
    background: rgba(59, 130, 246, 0.4);
    border-color: #3b82f6;
    color: #ffffff;
}

.v9-filter-bar .filter-reset {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--v9-transition);
}

.v9-filter-bar .filter-reset:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.v9-filter-bar .search-input {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.v9-filter-bar .search-input input {
    width: 100%;
    padding-left: 32px;
}

.v9-filter-bar .search-input .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    pointer-events: none;
}


/* ----------------------------------------------------------------------------
   6. Sub-Tabs
   ---------------------------------------------------------------------------- */

.v9-sub-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.v9-sub-tabs::-webkit-scrollbar {
    display: none;
}

.v9-sub-tab {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.v9-sub-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.v9-sub-tab.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 600;
}

.v9-sub-tab .tab-count {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: 6px;
    font-weight: 500;
}

.v9-sub-tab.active .tab-count {
    background: rgba(255, 255, 255, 0.2);
}

.v9-sub-tab .tab-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}


/* ----------------------------------------------------------------------------
   7. Severity Badges
   ---------------------------------------------------------------------------- */

.v9-severity-critical {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.3px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.v9-severity-high {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.3px;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.v9-severity-medium {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.3px;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.v9-severity-low {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.3px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.v9-severity-info {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.3px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}


/* ----------------------------------------------------------------------------
   8. Classification Markings
   ---------------------------------------------------------------------------- */

.v9-classification-top_secret {
    background: #fbbf24;
    color: #000000;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
}

.v9-classification-secret {
    background: #ef4444;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
}

.v9-classification-confidential {
    background: #3b82f6;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
}

.v9-classification-unclassified {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
}

/* Classification banner at the top/bottom of a document */
.v9-classification-banner {
    text-align: center;
    padding: 4px 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.v9-classification-banner.top-secret {
    background: #fbbf24;
    color: #000000;
}

.v9-classification-banner.secret {
    background: #ef4444;
    color: #ffffff;
}

.v9-classification-banner.confidential {
    background: #3b82f6;
    color: #ffffff;
}

.v9-classification-banner.unclassified {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}


/* ----------------------------------------------------------------------------
   9. Priority Badges
   ---------------------------------------------------------------------------- */

.v9-priority-flash {
    background: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    border: 1px solid rgba(239, 68, 68, 0.4);
    animation: v9-pulse-flash 1.5s ease-in-out infinite;
}

.v9-priority-immediate {
    background: rgba(249, 115, 22, 0.2);
    color: #fdba74;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.v9-priority-priority {
    background: rgba(234, 179, 8, 0.2);
    color: #fde047;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.v9-priority-routine {
    background: rgba(148, 163, 184, 0.15);
    color: rgba(255, 255, 255, 0.5);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    border: 1px solid rgba(148, 163, 184, 0.2);
}


/* ----------------------------------------------------------------------------
   10. Status Badges
   ---------------------------------------------------------------------------- */

.v9-status-active {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.15);
}

.v9-status-monitoring {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.v9-status-contained {
    background: rgba(16, 185, 129, 0.1);
    color: rgba(110, 231, 183, 0.7);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.v9-status-countered {
    background: rgba(16, 185, 129, 0.1);
    color: rgba(110, 231, 183, 0.7);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.v9-status-remediated {
    background: rgba(16, 185, 129, 0.1);
    color: rgba(110, 231, 183, 0.7);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.v9-status-dormant {
    background: rgba(100, 116, 139, 0.15);
    color: rgba(148, 163, 184, 0.6);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.v9-status-escalated {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.v9-status-resolved {
    background: rgba(34, 197, 94, 0.15);
    color: rgba(134, 239, 172, 0.7);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid rgba(34, 197, 94, 0.2);
}


/* ----------------------------------------------------------------------------
   11. Section Header
   ---------------------------------------------------------------------------- */

.v9-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.v9-section-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.v9-section-header h3 .section-icon {
    font-size: 1.2rem;
    opacity: 0.8;
}

.v9-section-header .section-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.v9-section-header .section-actions button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--v9-transition);
}

.v9-section-header .section-actions button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.v9-section-header .section-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.v9-section-header .section-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    margin-left: 8px;
}


/* ----------------------------------------------------------------------------
   12. Chart Container
   ---------------------------------------------------------------------------- */

.v9-chart-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.v9-chart-container:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.v9-chart-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v9-chart-title .chart-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.v9-chart-body {
    min-height: 200px;
    position: relative;
}

.v9-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.v9-chart-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.v9-chart-legend-item .legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.v9-chart-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.v9-chart-grid .v9-chart-container {
    min-height: 280px;
}

.v9-chart-fullwidth {
    grid-column: 1 / -1;
}

.v9-chart-actions {
    display: flex;
    gap: 4px;
}

.v9-chart-actions button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: var(--v9-transition);
}

.v9-chart-actions button:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

.v9-chart-actions button.active {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}


/* ----------------------------------------------------------------------------
   13. Detail Panel (Slide-out)
   ---------------------------------------------------------------------------- */

.v9-detail-panel {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 480px;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 24px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

.v9-detail-panel.open {
    transform: translateX(0);
}

.v9-detail-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.v9-detail-panel-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.v9-detail-panel .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.v9-detail-panel .panel-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 16px;
}

.v9-detail-panel .panel-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--v9-transition);
    flex-shrink: 0;
}

.v9-detail-panel .panel-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.v9-detail-panel .panel-section {
    margin-bottom: 20px;
}

.v9-detail-panel .panel-section-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.v9-detail-panel .panel-field {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.v9-detail-panel .panel-field-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    margin-right: 16px;
}

.v9-detail-panel .panel-field-value {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
    word-break: break-word;
}

.v9-detail-panel .panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.v9-detail-panel .panel-tag {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
}

.v9-detail-panel .panel-actions {
    display: flex;
    gap: 8px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.v9-detail-panel .panel-actions button {
    flex: 1;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--v9-transition);
    border: none;
}

.v9-detail-panel .panel-actions .btn-primary {
    background: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.v9-detail-panel .panel-actions .btn-primary:hover {
    background: rgba(59, 130, 246, 0.5);
    color: #ffffff;
}

.v9-detail-panel .panel-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.v9-detail-panel .panel-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.v9-detail-panel .panel-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 16px;
}

.v9-detail-panel::-webkit-scrollbar {
    width: 6px;
}

.v9-detail-panel::-webkit-scrollbar-track {
    background: transparent;
}

.v9-detail-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.v9-detail-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}


/* ----------------------------------------------------------------------------
   14. Empty State
   ---------------------------------------------------------------------------- */

.v9-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
}

.v9-empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.4;
}

.v9-empty-state .empty-title {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
    font-weight: 500;
}

.v9-empty-state .empty-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.25);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
}

.v9-empty-state .empty-action {
    margin-top: 20px;
}

.v9-empty-state .empty-action button {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--v9-transition);
}

.v9-empty-state .empty-action button:hover {
    background: rgba(59, 130, 246, 0.3);
    color: #ffffff;
}


/* ----------------------------------------------------------------------------
   15. Orbit Canvas (Space Domain Visualization)
   ---------------------------------------------------------------------------- */

.v9-orbit-canvas {
    width: 100%;
    height: 400px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.v9-orbit-canvas canvas {
    width: 100%;
    height: 100%;
}

.v9-orbit-canvas .orbit-controls {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 4px;
}

.v9-orbit-canvas .orbit-controls button {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--v9-transition);
}

.v9-orbit-canvas .orbit-controls button:hover {
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

.v9-orbit-canvas .orbit-info {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.v9-orbit-canvas .orbit-tooltip {
    position: absolute;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px;
    pointer-events: none;
    z-index: 10;
    min-width: 180px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}


/* ----------------------------------------------------------------------------
   16. Flow Diagram
   ---------------------------------------------------------------------------- */

.v9-flow-diagram {
    width: 100%;
    height: 400px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.v9-flow-diagram canvas,
.v9-flow-diagram svg {
    width: 100%;
    height: 100%;
}

.v9-flow-diagram .flow-controls {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 4px;
}

.v9-flow-diagram .flow-controls button {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--v9-transition);
}

.v9-flow-diagram .flow-controls button:hover {
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

.v9-flow-diagram .flow-node {
    position: absolute;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: grab;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.v9-flow-diagram .flow-node:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
}

.v9-flow-diagram .flow-node.active {
    border-color: #3b82f6;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.3);
}

.v9-flow-diagram .flow-legend {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.v9-flow-diagram .flow-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.v9-flow-diagram .flow-legend-item:last-child {
    margin-bottom: 0;
}


/* ----------------------------------------------------------------------------
   17. Briefing Viewer (Full-Screen Modal)
   ---------------------------------------------------------------------------- */

.v9-briefing-viewer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    overflow-y: auto;
}

.v9-briefing-viewer.active {
    display: block;
}

.v9-briefing-viewer .briefing-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    color: rgba(255, 255, 255, 0.85);
}

.v9-briefing-viewer .briefing-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--v9-transition);
    z-index: 10;
}

.v9-briefing-viewer .briefing-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.v9-briefing-viewer .briefing-classification {
    text-align: center;
    margin-bottom: 32px;
}

.v9-briefing-viewer .briefing-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v9-briefing-viewer .briefing-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.v9-briefing-viewer .briefing-header h2 {
    font-size: 1.3rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 16px 0;
}

.v9-briefing-viewer .briefing-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.v9-briefing-viewer .briefing-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.v9-briefing-viewer .briefing-meta-item .meta-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.v9-briefing-viewer .briefing-section {
    margin-bottom: 28px;
}

.v9-briefing-viewer .briefing-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.v9-briefing-viewer .briefing-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 8px 0;
}

.v9-briefing-viewer .briefing-section p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 12px 0;
}

.v9-briefing-viewer .briefing-section ul,
.v9-briefing-viewer .briefing-section ol {
    padding-left: 20px;
    margin: 0 0 12px 0;
}

.v9-briefing-viewer .briefing-section li {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 6px;
}

.v9-briefing-viewer .briefing-section blockquote {
    border-left: 3px solid rgba(59, 130, 246, 0.5);
    padding-left: 16px;
    margin: 16px 0;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.v9-briefing-viewer .briefing-key-findings {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.v9-briefing-viewer .briefing-key-findings h4 {
    color: #93c5fd;
    margin-bottom: 10px;
}

.v9-briefing-viewer .briefing-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

.v9-briefing-viewer .briefing-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 40px;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.v9-briefing-viewer .briefing-actions button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--v9-transition);
}

.v9-briefing-viewer .briefing-actions button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.v9-briefing-viewer .briefing-actions button.btn-export {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.v9-briefing-viewer .briefing-actions button.btn-export:hover {
    background: rgba(59, 130, 246, 0.4);
    color: #ffffff;
}


/* ----------------------------------------------------------------------------
   18. PDF Export Modal
   ---------------------------------------------------------------------------- */

.v9-pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
}

.v9-pdf-modal.active {
    display: flex;
}

.v9-pdf-modal .modal-content {
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 560px;
    max-width: 90vw;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.v9-pdf-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.v9-pdf-modal .modal-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.v9-pdf-modal .modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--v9-transition);
}

.v9-pdf-modal .modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.v9-pdf-modal .modal-body {
    margin-bottom: 24px;
}

.v9-pdf-modal .form-group {
    margin-bottom: 20px;
}

.v9-pdf-modal .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.v9-pdf-modal .form-group select,
.v9-pdf-modal .form-group input[type="text"],
.v9-pdf-modal .form-group input[type="date"] {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.v9-pdf-modal .form-group select:focus,
.v9-pdf-modal .form-group input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.v9-pdf-modal .form-group select option {
    background: #1e293b;
    color: #ffffff;
}

.v9-pdf-modal .form-group input[type="date"] {
    color-scheme: dark;
}

.v9-pdf-modal .form-group .date-range {
    display: flex;
    gap: 12px;
    align-items: center;
}

.v9-pdf-modal .form-group .date-range span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.v9-pdf-modal .form-group .date-range input {
    flex: 1;
}

.v9-pdf-modal .form-group .help-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 6px;
}

.v9-pdf-modal .template-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.v9-pdf-modal .template-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px;
    cursor: pointer;
    transition: var(--v9-transition);
    text-align: center;
}

.v9-pdf-modal .template-option:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.v9-pdf-modal .template-option.selected {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
}

.v9-pdf-modal .template-option .template-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.v9-pdf-modal .template-option .template-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.v9-pdf-modal .template-option .template-desc {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

.v9-pdf-modal .domain-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.v9-pdf-modal .domain-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.v9-pdf-modal .domain-checkbox:hover {
    background: rgba(255, 255, 255, 0.06);
}

.v9-pdf-modal .domain-checkbox input[type="checkbox"] {
    accent-color: #3b82f6;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.v9-pdf-modal .domain-checkbox label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    margin-bottom: 0;
}

.v9-pdf-modal .domain-checkbox .domain-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.v9-pdf-modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.v9-pdf-modal .modal-footer button {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--v9-transition);
    border: none;
}

.v9-pdf-modal .btn-cancel {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.v9-pdf-modal .btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.v9-pdf-modal .btn-generate {
    background: rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.v9-pdf-modal .btn-generate:hover {
    background: rgba(59, 130, 246, 0.5);
    color: #ffffff;
}

.v9-pdf-modal .btn-generate.loading {
    opacity: 0.7;
    pointer-events: none;
}

.v9-pdf-modal .btn-generate .spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: v9-spin 0.6s linear infinite;
}

.v9-pdf-modal .btn-generate.loading .spinner {
    display: inline-block;
}

.v9-pdf-modal .btn-generate.loading .btn-text {
    display: none;
}

.v9-pdf-modal .btn-generate .loading-text {
    display: none;
}

.v9-pdf-modal .btn-generate.loading .loading-text {
    display: inline;
}


/* ----------------------------------------------------------------------------
   19. Keyframe Animations
   ---------------------------------------------------------------------------- */

@keyframes v9-pulse-flash {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes v9-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes v9-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes v9-slide-in-right {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes v9-glow-pulse {
    0%, 100% {
        box-shadow: 0 0 4px rgba(59, 130, 246, 0.2);
    }
    50% {
        box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
    }
}

@keyframes v9-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.v9-fade-in {
    animation: v9-fade-in 0.3s ease forwards;
}

.v9-glow-pulse {
    animation: v9-glow-pulse 2s ease-in-out infinite;
}


/* ----------------------------------------------------------------------------
   20. Responsive Breakpoints
   ---------------------------------------------------------------------------- */

@media (max-width: 1200px) {
    .v9-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .v9-chart-grid {
        grid-template-columns: 1fr;
    }

    .v9-detail-panel {
        width: 420px;
    }

    .v9-pdf-modal .template-selector {
        grid-template-columns: 1fr;
    }

    .v9-imagery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .v9-stats-grid {
        grid-template-columns: 1fr;
    }

    .v9-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .v9-filter-bar .filter-group {
        flex-direction: column;
        align-items: stretch;
    }

    .v9-filter-bar .filter-separator {
        width: 100%;
        height: 1px;
    }

    .v9-filter-bar select,
    .v9-filter-bar input {
        width: 100%;
        min-width: auto;
    }

    .v9-filter-bar .search-input {
        min-width: auto;
    }

    .v9-detail-panel {
        width: 100%;
    }

    .v9-stat-card .stat-value {
        font-size: 1.8rem;
    }

    .v9-data-table {
        display: block;
        overflow-x: auto;
    }

    .v9-chart-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .v9-briefing-viewer .briefing-content {
        padding: 20px;
    }

    .v9-briefing-viewer .briefing-header h1 {
        font-size: 1.4rem;
    }

    .v9-pdf-modal .modal-content {
        padding: 24px;
        margin: 16px;
    }

    .v9-pdf-modal .domain-checkboxes {
        grid-template-columns: 1fr;
    }

    .v9-pdf-modal .form-group .date-range {
        flex-direction: column;
    }

    .v9-orbit-canvas {
        height: 280px;
    }

    .v9-flow-diagram {
        height: 280px;
    }

    .v9-imagery-grid {
        grid-template-columns: 1fr;
    }

    .v9-map-overlay .map-legend {
        max-width: 200px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .v9-sub-tabs {
        flex-wrap: wrap;
    }

    .v9-sub-tab {
        flex: 1;
        min-width: calc(50% - 4px);
        text-align: center;
        padding: 8px 12px;
    }

    .v9-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .v9-section-header .section-actions {
        width: 100%;
    }

    .v9-section-header .section-actions button {
        flex: 1;
        text-align: center;
    }

    .v9-stat-card {
        padding: 16px;
    }

    .v9-stat-card .stat-value {
        font-size: 1.5rem;
    }

    .v9-stat-card .stat-label {
        font-size: 0.75rem;
    }

    .v9-empty-state {
        padding: 40px 16px;
    }

    .v9-empty-state .empty-icon {
        font-size: 2.5rem;
    }

    .v9-pagination {
        flex-wrap: wrap;
    }

    .v9-briefing-viewer .briefing-actions {
        padding: 10px 16px;
        flex-wrap: wrap;
    }

    .v9-briefing-viewer .briefing-actions button {
        flex: 1;
        min-width: 100px;
    }

    .v9-pdf-modal .modal-footer {
        flex-direction: column;
    }

    .v9-pdf-modal .modal-footer button {
        width: 100%;
        justify-content: center;
    }
}


/* ----------------------------------------------------------------------------
   21. Loading Spinner
   ---------------------------------------------------------------------------- */

.v9-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.v9-loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(59, 130, 246, 0.7);
    border-radius: 50%;
    animation: v9-spin 0.8s linear infinite;
}

.v9-loading-text {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.v9-loading-text .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(59, 130, 246, 0.7);
    border-radius: 50%;
    animation: v9-spin 0.8s linear infinite;
    margin: 0 auto 16px auto;
}

.v9-loading-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.v9-loading-inline .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(59, 130, 246, 0.7);
    border-radius: 50%;
    animation: v9-spin 0.6s linear infinite;
}

/* Skeleton loading state */
.v9-skeleton {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 100%
    );
    background-size: 200% 100%;
    animation: v9-shimmer 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.v9-skeleton.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    width: 100%;
}

.v9-skeleton.skeleton-text.short {
    width: 60%;
}

.v9-skeleton.skeleton-title {
    height: 24px;
    width: 40%;
    margin-bottom: 16px;
}

.v9-skeleton.skeleton-card {
    height: 120px;
    border-radius: 12px;
}

.v9-skeleton.skeleton-chart {
    height: 250px;
    border-radius: 12px;
}


/* ----------------------------------------------------------------------------
   22. Imagery Grid
   ---------------------------------------------------------------------------- */

.v9-imagery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.v9-imagery-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--v9-transition);
    cursor: pointer;
}

.v9-imagery-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.v9-imagery-card .imagery-placeholder {
    width: 100%;
    height: 180px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.15);
    font-size: 2rem;
    position: relative;
}

.v9-imagery-card .imagery-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v9-imagery-card .imagery-placeholder .imagery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.6) 100%);
}

.v9-imagery-card .imagery-placeholder .imagery-badge {
    position: absolute;
    top: 8px;
    right: 8px;
}

.v9-imagery-card .imagery-placeholder .imagery-source {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v9-imagery-card .imagery-info {
    padding: 12px;
}

.v9-imagery-card .imagery-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v9-imagery-card .imagery-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
}

.v9-imagery-card .imagery-coords {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 4px;
}

.v9-imagery-viewer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
}

.v9-imagery-viewer.active {
    display: flex;
}

.v9-imagery-viewer img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.v9-imagery-viewer .viewer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
}


/* ----------------------------------------------------------------------------
   23. Map Overlay (Leaflet Integration)
   ---------------------------------------------------------------------------- */

.v9-map-overlay {
    position: relative;
    width: 100%;
    height: 100%;
}

.v9-map-overlay .leaflet-container {
    background: #0f172a;
    border-radius: 12px;
}

.v9-map-overlay .map-controls {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v9-map-overlay .map-controls button {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--v9-transition);
}

.v9-map-overlay .map-controls button:hover {
    background: rgba(15, 23, 42, 1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.v9-map-overlay .map-controls button.active {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    color: #93c5fd;
}

.v9-map-overlay .map-legend {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 14px;
    max-width: 260px;
}

.v9-map-overlay .map-legend-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.v9-map-overlay .map-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.v9-map-overlay .map-legend-item:last-child {
    margin-bottom: 0;
}

.v9-map-overlay .map-legend-item .legend-marker {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Custom marker styles for Leaflet */
.v9-map-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
}

.v9-map-marker.critical {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

.v9-map-marker.high {
    background: #f97316;
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.4);
}

.v9-map-marker.medium {
    background: #eab308;
}

.v9-map-marker.low {
    background: #22c55e;
}

.v9-map-marker.pulsing {
    animation: v9-marker-pulse 2s ease-in-out infinite;
}

@keyframes v9-marker-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 4px rgba(239, 68, 68, 0.3);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
    }
}

/* Map popup styling */
.v9-map-popup {
    background: rgba(15, 23, 42, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.85);
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.v9-map-popup .leaflet-popup-content-wrapper {
    background: transparent !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.v9-map-popup .leaflet-popup-content {
    color: rgba(255, 255, 255, 0.85);
    margin: 12px 16px;
    font-size: 0.8rem;
}

.v9-map-popup .leaflet-popup-tip {
    background: rgba(15, 23, 42, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.v9-map-popup .popup-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.v9-map-popup .popup-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.v9-map-popup .popup-details {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

/* Map info overlay */
.v9-map-overlay .map-info {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.v9-map-overlay .map-coordinates {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
}


/* ----------------------------------------------------------------------------
   24. Pagination
   ---------------------------------------------------------------------------- */

.v9-pagination {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
}

.v9-pagination button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--v9-transition);
    min-width: 36px;
    text-align: center;
}

.v9-pagination button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.v9-pagination button.active {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    color: #93c5fd;
    font-weight: 600;
}

.v9-pagination button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.v9-pagination .page-ellipsis {
    color: rgba(255, 255, 255, 0.3);
    padding: 6px 4px;
    font-size: 0.8rem;
    user-select: none;
}

.v9-pagination .page-info {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    margin-left: 12px;
}

.v9-pagination .page-size-selector {
    margin-left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.v9-pagination .page-size-selector label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.v9-pagination .page-size-selector select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}


/* ----------------------------------------------------------------------------
   25. Navigation Tab Badges
   ---------------------------------------------------------------------------- */

.nav-tab .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-left: 6px;
    line-height: 1;
}

.nav-tab .badge.v9-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.nav-tab .badge.v9-badge-alert {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
    animation: v9-pulse-flash 2s ease-in-out infinite;
}

.nav-tab .badge.v9-badge-new {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.nav-tab[data-tab="sigint"] .badge {
    background: rgba(6, 182, 212, 0.2);
    color: var(--domain-sigint);
}

.nav-tab[data-tab="satellite"] .badge {
    background: rgba(139, 92, 246, 0.2);
    color: var(--domain-satellite);
}

.nav-tab[data-tab="influence"] .badge {
    background: rgba(236, 72, 153, 0.2);
    color: var(--domain-influence);
}

.nav-tab[data-tab="cyberwar"] .badge {
    background: rgba(239, 68, 68, 0.2);
    color: var(--domain-cyberwar);
}

.nav-tab[data-tab="resources"] .badge {
    background: rgba(245, 158, 11, 0.2);
    color: var(--domain-resources);
}

.nav-tab[data-tab="darkweb"] .badge {
    background: rgba(30, 27, 75, 0.5);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.nav-tab[data-tab="weapons"] .badge {
    background: rgba(220, 38, 38, 0.2);
    color: var(--domain-weapons);
}

.nav-tab[data-tab="displacement"] .badge {
    background: rgba(16, 185, 129, 0.2);
    color: var(--domain-displacement);
}

.nav-tab[data-tab="space"] .badge {
    background: rgba(59, 130, 246, 0.2);
    color: var(--domain-space);
}

.nav-tab[data-tab="econwar"] .badge {
    background: rgba(249, 115, 22, 0.2);
    color: var(--domain-econwar);
}

/* Domain dot indicator inside nav tab */
.nav-tab .domain-indicator {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.nav-tab[data-tab="sigint"] .domain-indicator { background: var(--domain-sigint); }
.nav-tab[data-tab="satellite"] .domain-indicator { background: var(--domain-satellite); }
.nav-tab[data-tab="influence"] .domain-indicator { background: var(--domain-influence); }
.nav-tab[data-tab="cyberwar"] .domain-indicator { background: var(--domain-cyberwar); }
.nav-tab[data-tab="resources"] .domain-indicator { background: var(--domain-resources); }
.nav-tab[data-tab="darkweb"] .domain-indicator { background: #8b5cf6; }
.nav-tab[data-tab="weapons"] .domain-indicator { background: var(--domain-weapons); }
.nav-tab[data-tab="displacement"] .domain-indicator { background: var(--domain-displacement); }
.nav-tab[data-tab="space"] .domain-indicator { background: var(--domain-space); }
.nav-tab[data-tab="econwar"] .domain-indicator { background: var(--domain-econwar); }


/* ----------------------------------------------------------------------------
   26. Print Styles
   ---------------------------------------------------------------------------- */

@media print {
    /* Hide interactive elements */
    .v9-filter-bar,
    .v9-sub-tabs,
    .v9-pagination,
    .v9-detail-panel,
    .v9-detail-panel-overlay,
    .v9-briefing-viewer .briefing-close,
    .v9-briefing-viewer .briefing-actions,
    .v9-pdf-modal,
    .v9-loading,
    .v9-chart-actions,
    .v9-orbit-canvas .orbit-controls,
    .v9-flow-diagram .flow-controls,
    .v9-map-overlay .map-controls,
    .nav-tab,
    .nav-tabs,
    .sidebar,
    .v9-section-header .section-actions {
        display: none !important;
    }

    /* Override dark backgrounds for print */
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }

    .v9-stat-card {
        background: #ffffff !important;
        border: 1px solid #cccccc !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        color: #000000 !important;
        page-break-inside: avoid;
    }

    .v9-stat-card .stat-value {
        color: #000000 !important;
    }

    .v9-stat-card .stat-label {
        color: #555555 !important;
    }

    .v9-stat-card .stat-change.positive {
        color: #059669 !important;
    }

    .v9-stat-card .stat-change.negative {
        color: #dc2626 !important;
    }

    /* Tables for print */
    .v9-data-table {
        background: #ffffff !important;
    }

    .v9-data-table thead th {
        background: #f3f4f6 !important;
        color: #374151 !important;
        border-bottom: 2px solid #d1d5db !important;
    }

    .v9-data-table tbody td {
        color: #1f2937 !important;
        border-bottom: 1px solid #e5e7eb !important;
    }

    .v9-data-table tbody tr:hover {
        background: transparent !important;
    }

    /* Classification markings stay visible in print */
    .v9-classification-top_secret {
        background: #fbbf24 !important;
        color: #000000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .v9-classification-secret {
        background: #ef4444 !important;
        color: #ffffff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .v9-classification-confidential {
        background: #3b82f6 !important;
        color: #ffffff !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .v9-classification-unclassified {
        background: #e5e7eb !important;
        color: #6b7280 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Severity badges for print */
    .v9-severity-critical {
        border: 1px solid #ef4444 !important;
        color: #dc2626 !important;
        background: transparent !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .v9-severity-high {
        border: 1px solid #f97316 !important;
        color: #ea580c !important;
        background: transparent !important;
    }

    .v9-severity-medium {
        border: 1px solid #eab308 !important;
        color: #ca8a04 !important;
        background: transparent !important;
    }

    .v9-severity-low {
        border: 1px solid #22c55e !important;
        color: #16a34a !important;
        background: transparent !important;
    }

    .v9-severity-info {
        border: 1px solid #3b82f6 !important;
        color: #2563eb !important;
        background: transparent !important;
    }

    /* Section headers for print */
    .v9-section-header h3 {
        color: #000000 !important;
    }

    /* Chart containers for print */
    .v9-chart-container {
        background: #ffffff !important;
        border: 1px solid #d1d5db !important;
        page-break-inside: avoid;
    }

    .v9-chart-title {
        color: #374151 !important;
    }

    /* Briefing viewer for print */
    .v9-briefing-viewer {
        position: static !important;
        background: #ffffff !important;
        backdrop-filter: none !important;
    }

    .v9-briefing-viewer .briefing-content {
        max-width: 100% !important;
        padding: 0 !important;
        color: #000000 !important;
    }

    .v9-briefing-viewer .briefing-header h1 {
        color: #000000 !important;
    }

    .v9-briefing-viewer .briefing-header h2 {
        color: #555555 !important;
    }

    .v9-briefing-viewer .briefing-section h3 {
        color: #000000 !important;
    }

    .v9-briefing-viewer .briefing-section p,
    .v9-briefing-viewer .briefing-section li {
        color: #1f2937 !important;
    }

    /* Empty state for print */
    .v9-empty-state {
        color: #9ca3af !important;
    }

    /* Ensure stats grid stays 2 column minimum */
    .v9-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Remove animations */
    * {
        animation: none !important;
        transition: none !important;
    }

    /* Page breaks */
    .v9-section-header {
        page-break-after: avoid;
    }

    .v9-data-table {
        page-break-inside: auto;
    }

    .v9-data-table tr {
        page-break-inside: avoid;
    }
}


/* ----------------------------------------------------------------------------
   Utility Classes
   ---------------------------------------------------------------------------- */

/* Text utilities */
.v9-text-muted {
    color: rgba(255, 255, 255, 0.4);
}

.v9-text-dim {
    color: rgba(255, 255, 255, 0.25);
}

.v9-text-accent {
    color: var(--v9-accent);
}

.v9-text-success {
    color: var(--v9-success);
}

.v9-text-danger {
    color: var(--v9-danger);
}

.v9-text-warning {
    color: var(--v9-warning);
}

.v9-text-mono {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.v9-text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.v9-text-xs {
    font-size: 0.7rem;
}

.v9-text-sm {
    font-size: 0.8rem;
}

.v9-text-nowrap {
    white-space: nowrap;
}

.v9-text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Spacing utilities */
.v9-mt-0 { margin-top: 0; }
.v9-mt-1 { margin-top: 8px; }
.v9-mt-2 { margin-top: 16px; }
.v9-mt-3 { margin-top: 24px; }
.v9-mb-0 { margin-bottom: 0; }
.v9-mb-1 { margin-bottom: 8px; }
.v9-mb-2 { margin-bottom: 16px; }
.v9-mb-3 { margin-bottom: 24px; }
.v9-p-0 { padding: 0; }
.v9-p-1 { padding: 8px; }
.v9-p-2 { padding: 16px; }
.v9-p-3 { padding: 24px; }

/* Display utilities */
.v9-flex {
    display: flex;
}

.v9-flex-wrap {
    flex-wrap: wrap;
}

.v9-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v9-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.v9-gap-1 {
    gap: 8px;
}

.v9-gap-2 {
    gap: 16px;
}

.v9-gap-3 {
    gap: 24px;
}

.v9-hidden {
    display: none !important;
}

.v9-visible {
    display: block;
}

/* Glass panel utility */
.v9-glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.v9-glass-panel-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

/* Divider */
.v9-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 16px 0;
    border: none;
}

.v9-divider-vertical {
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
    align-self: stretch;
}

/* Tooltip */
.v9-tooltip {
    position: relative;
}

.v9-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.v9-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Scrollbar styling */
.v9-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.v9-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.v9-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.v9-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Focus ring for accessibility */
.v9-focus-ring:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
}

/* Tag / chip */
.v9-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.v9-tag .tag-remove {
    cursor: pointer;
    opacity: 0.4;
    font-size: 0.85rem;
    line-height: 1;
    transition: opacity 0.15s ease;
}

.v9-tag .tag-remove:hover {
    opacity: 1;
}

/* Country flag placeholder */
.v9-flag {
    display: inline-block;
    width: 20px;
    height: 14px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    vertical-align: middle;
    margin-right: 6px;
    overflow: hidden;
}

.v9-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Progress bar */
.v9-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.v9-progress .progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.v9-progress .progress-fill.success {
    background: linear-gradient(90deg, #059669, #10b981);
}

.v9-progress .progress-fill.warning {
    background: linear-gradient(90deg, #d97706, #f59e0b);
}

.v9-progress .progress-fill.danger {
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.v9-progress .progress-fill.info {
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

/* Confidence meter */
.v9-confidence {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}

.v9-confidence .bar {
    width: 4px;
    height: 12px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.v9-confidence .bar.filled {
    background: rgba(59, 130, 246, 0.6);
}

.v9-confidence.high .bar.filled {
    background: rgba(16, 185, 129, 0.7);
}

.v9-confidence.medium .bar.filled {
    background: rgba(234, 179, 8, 0.7);
}

.v9-confidence.low .bar.filled {
    background: rgba(239, 68, 68, 0.7);
}

/* Threat level indicator */
.v9-threat-level {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.v9-threat-level .threat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.v9-threat-level.critical .threat-dot {
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

.v9-threat-level.high .threat-dot {
    background: #f97316;
    box-shadow: 0 0 6px rgba(249, 115, 22, 0.4);
}

.v9-threat-level.elevated .threat-dot {
    background: #eab308;
}

.v9-threat-level.guarded .threat-dot {
    background: #3b82f6;
}

.v9-threat-level.low .threat-dot {
    background: #22c55e;
}

/* Timeline component */
.v9-timeline {
    position: relative;
    padding-left: 24px;
}

.v9-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.08);
}

.v9-timeline-item {
    position: relative;
    padding-bottom: 20px;
    margin-left: 0;
}

.v9-timeline-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.5);
    border: 2px solid rgba(15, 23, 42, 1);
}

.v9-timeline-item.critical::before {
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
}

.v9-timeline-item .timeline-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 4px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.v9-timeline-item .timeline-content {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
}

.v9-timeline-item .timeline-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

/* Notification dot */
.v9-notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    border: 2px solid rgba(15, 23, 42, 1);
}

.v9-notification-dot.pulse {
    animation: v9-pulse-flash 2s ease-in-out infinite;
}

/* Keyboard shortcut badge */
.v9-kbd {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}
