/* NINJAS site theme overlay — match ninjas.zip on the /product sample. */

@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Share+Tech+Mono&display=swap");

:root {
    --bg-deep: #030308;
    --bg-surface: rgba(8, 8, 16, 0.72);
    --bg-dark: #030308;
    --panel: rgba(8, 8, 16, 0.72);
    --panel-solid: #080810;
    --border: rgba(255, 255, 255, 0.06);
    --text: #e8eaef;
    --text-muted: #6b7280;
    --red: #ff2d55;
    --red-dim: rgba(255, 45, 85, 0.15);
    --red-glow: rgba(255, 45, 85, 0.45);
    --blue: #00b4ff;
    --blue-dim: rgba(0, 180, 255, 0.15);
    --blue-glow: rgba(0, 180, 255, 0.45);
    --purple: #a855f7;
    --accent: #00b4ff;
    --accent-dim: #0088cc;
    --danger: #ff2d55;
    --success: #2ee66b;
    --font-hacker: "Share Tech Mono", "JetBrains Mono", monospace;
    --font-ui: "JetBrains Mono", "Share Tech Mono", monospace;
    --font-mono: "JetBrains Mono", monospace;
    --font-title: "Share Tech Mono", "JetBrains Mono", monospace;
}

html[data-theme="light"] {
    --bg-deep: #f4f5f7;
    --bg-surface: rgba(255, 255, 255, 0.82);
    --bg-dark: #f4f5f7;
    --panel: rgba(255, 255, 255, 0.82);
    --panel-solid: #ffffff;
    --border: rgba(0, 0, 0, 0.09);
    --text: #141820;
    --text-muted: #5a6270;
    --red: #d91545;
    --blue: #0088cc;
    --purple: #7c3aed;
    --accent: #0088cc;
    --accent-dim: #006699;
    --danger: #d91545;
    --success: #15803d;
}

html { background: var(--bg-deep); }

body {
    background:
        radial-gradient(ellipse 80% 50% at 15% -10%, rgba(255, 45, 85, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse 80% 50% at 85% 110%, rgba(0, 180, 255, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse 70% 45% at 50% 0%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        var(--bg-deep) !important;
    background-size: auto !important;
    animation: none !important;
    color: var(--text) !important;
    font-family: var(--font-ui) !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

html[data-theme="light"] body::before {
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.018) 2px,
        rgba(0, 0, 0, 0.018) 4px
    );
}

html[data-theme="light"] body,
body.theme-light {
    background:
        radial-gradient(ellipse 80% 50% at 15% -10%, rgba(217, 21, 69, 0.05) 0%, transparent 55%),
        radial-gradient(ellipse 80% 50% at 85% 110%, rgba(0, 136, 204, 0.05) 0%, transparent 55%),
        var(--bg-deep) !important;
    background-size: auto !important;
    animation: none !important;
    color: var(--text) !important;
}

.main-wrapper,
.hacker-sidebar,
.sidebar-toggle,
.page-header,
.glass-panel,
.glass,
.glass-card {
    position: relative;
    z-index: 2;
}

.hacker-sidebar {
    background: var(--bg-surface) !important;
    backdrop-filter: blur(12px);
    border-right: 1px solid var(--border) !important;
}

.sidebar-toggle {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    color: var(--text-muted) !important;
    border-radius: 4px !important;
}
.sidebar-toggle:hover {
    color: var(--text) !important;
    border-color: rgba(0, 180, 255, 0.3) !important;
    box-shadow: 0 0 16px var(--blue-dim);
    background: var(--bg-surface) !important;
}

.menu-section {
    color: var(--text-muted) !important;
    font-family: var(--font-hacker) !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
    border-top-color: var(--border) !important;
    background: none !important;
}

.nav-item,
.nav-item-parent,
.theme-toggle-btn,
button, input, select, textarea, table, th, td {
    font-family: var(--font-ui) !important;
}

.nav-item { color: var(--text-muted) !important; letter-spacing: 0.04em; }
.nav-item i { color: var(--blue) !important; }
.nav-item:hover {
    background: var(--blue-dim) !important;
    color: var(--text) !important;
    border-left-color: var(--blue) !important;
}
.nav-item.active,
.nav-item.nav-sub.active {
    background: var(--red-dim) !important;
    color: var(--text) !important;
    border-left-color: var(--red) !important;
}
.nav-item.active i,
.nav-item.nav-sub.active i { color: var(--red) !important; }

.nav-item-parent { color: var(--text) !important; }
.nav-item-parent:hover {
    background: var(--blue-dim) !important;
    color: var(--text) !important;
}
.nav-item-parent i:first-of-type { color: var(--purple) !important; }

.glass-panel,
.glass,
.glass-card {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    border-left: 2px solid var(--blue) !important;
    border-right: 2px solid var(--red) !important;
    box-shadow:
        -10px 0 22px -12px var(--blue-glow),
        10px 0 22px -12px var(--red-glow),
        0 8px 32px rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(14px);
    border-radius: 12px !important;
}

.page-title,
h1, h2, h3, .section-title {
    font-family: var(--font-hacker) !important;
}

.page-title {
    background: none !important;
    -webkit-text-fill-color: var(--text) !important;
    color: var(--text) !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
}

.section-title {
    color: var(--text-muted) !important;
    letter-spacing: 0.12em !important;
}

.page-icon {
    background: linear-gradient(135deg, var(--red), var(--blue)) !important;
    border-radius: 4px !important;
}

.cyber-input,
input, select, textarea {
    background: rgba(3, 3, 8, 0.8) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    font-family: var(--font-mono) !important;
}
html[data-theme="light"] .cyber-input,
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea,
body.theme-light .cyber-input,
body.theme-light input,
body.theme-light select,
body.theme-light textarea {
    background: rgba(255, 255, 255, 0.9) !important;
}

.ninjas-gradient,
.btn-primary,
button.ninjas-gradient {
    background: linear-gradient(90deg, var(--red), var(--blue)) !important;
}

.mini-table th,
.dash-alert-table th {
    font-family: var(--font-hacker) !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted) !important;
    border-bottom-color: var(--border) !important;
}

.mini-table td,
.dash-alert-table td {
    border-color: var(--border) !important;
    color: var(--text) !important;
}

body.theme-light .hacker-sidebar {
    background: var(--bg-surface) !important;
    border-right-color: var(--border) !important;
}
body.theme-light .sidebar-toggle {
    background: var(--bg-surface) !important;
    border-color: var(--border) !important;
    color: var(--text-muted) !important;
}
body.theme-light .nav-item { color: var(--text-muted) !important; font-weight: 500; }
body.theme-light .nav-item:hover {
    background: var(--blue-dim) !important;
    color: var(--text) !important;
    border-left-color: var(--blue) !important;
}
body.theme-light .nav-item.active,
body.theme-light .nav-item.nav-sub.active {
    background: var(--red-dim) !important;
    color: var(--text) !important;
    border-left-color: var(--red) !important;
}
body.theme-light .nav-item i { color: var(--blue) !important; }
body.theme-light .nav-item-parent { color: var(--text) !important; }
body.theme-light .glass-panel,
body.theme-light .glass,
body.theme-light .glass-card {
    background: var(--bg-surface) !important;
    border-color: var(--border) !important;
    border-left-color: var(--blue) !important;
    border-right-color: var(--red) !important;
    box-shadow:
        -8px 0 18px -12px var(--blue-glow),
        8px 0 18px -12px var(--red-glow),
        0 4px 24px rgba(0, 0, 0, 0.04) !important;
}
body.theme-light .page-title {
    background: none !important;
    -webkit-text-fill-color: var(--text) !important;
    color: var(--text) !important;
}
body.theme-light .section-title { color: var(--text-muted) !important; }
body.theme-light .text-slate-400,
body.theme-light .text-slate-500 { color: var(--text-muted) !important; }
body.theme-light .text-slate-300,
body.theme-light .text-slate-200,
body.theme-light .text-slate-100,
body.theme-light .text-white { color: var(--text) !important; }

.text-cyan-300, .text-cyan-400, .text-sky-300 { color: var(--blue) !important; }
.text-rose-400, .text-red-400, .text-red-500 { color: var(--red) !important; }
.text-purple-300, .text-purple-400 { color: var(--purple) !important; }

/* =====================================================================
   Console chrome — top command bar, persistent rail, row dashboard,
   card-row tables. Demo-only via body.ptm-console.
   ===================================================================== */
.ptm-topbar .ptm-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    flex: 0 0 auto;
    white-space: nowrap;
}
.ptm-brand-mark {
    font-family: var(--font-hacker) !important;
    font-size: 18px;
    letter-spacing: 0.16em;
    background: linear-gradient(90deg, var(--red), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.ptm-brand-sub {
    font-family: var(--font-hacker) !important;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.ptm-hud-meta {
    display: none;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}
@media (min-width: 1180px) {
    .ptm-hud-meta { display: flex; }
}
.ptm-hud-chip {
    font-family: var(--font-hacker) !important;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 3px 7px;
    border-radius: 2px;
}
.ptm-hud-chip.ptm-hud-ok {
    color: var(--success);
    border-color: rgba(46, 230, 107, 0.35);
    box-shadow: 0 0 10px rgba(46, 230, 107, 0.12);
}
.ptm-topbar::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--red), transparent 40%, transparent 60%, var(--blue));
    pointer-events: none;
}
.ptm-topbar .ptm-nav-search {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 520px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
.ptm-topbar .ptm-nav-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.ptm-topbar .ptm-nav-search-row {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border) !important;
    border-radius: 999px !important;
    padding: 0 14px !important;
}
.ptm-topbar .ptm-nav-search-row:focus-within {
    border-color: rgba(0, 180, 255, 0.45) !important;
    box-shadow: 0 0 0 3px var(--blue-dim);
}
.ptm-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.ptm-top-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    padding: 7px 12px !important;
    border: 1px solid var(--border) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--text-muted) !important;
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
    cursor: pointer;
    border-left: 1px solid var(--border) !important;
}
.ptm-top-btn:hover {
    color: var(--text) !important;
    border-color: rgba(0, 180, 255, 0.35) !important;
    background: var(--blue-dim) !important;
}
.ptm-top-btn.nav-danger {
    margin: 0 !important;
    color: var(--red) !important;
    border-color: rgba(255, 45, 85, 0.28) !important;
}
.ptm-top-btn.nav-danger:hover {
    background: var(--red-dim) !important;
    color: #fff !important;
}

body.ptm-console .hacker-sidebar {
    background: rgba(5, 5, 12, 0.94) !important;
    border-right: 1px solid var(--border) !important;
    box-shadow: none !important;
}
body.ptm-console .sidebar-content { width: 100% !important; }
body.ptm-console .menu-section {
    font-size: 9px !important;
    letter-spacing: 0.16em !important;
    color: var(--text-muted) !important;
    padding: 16px 16px 6px !important;
    border-top: 0 !important;
    opacity: 0.85;
}
body.ptm-console .hacker-sidebar .nav-item,
body.ptm-console .hacker-sidebar .nav-item-parent {
    margin: 2px 10px !important;
    padding: 8px 12px !important;
    width: calc(100% - 20px) !important;
    border-radius: 9px !important;
    border-left: 0 !important;
    gap: 10px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
}
body.ptm-console .hacker-sidebar .nav-item:hover,
body.ptm-console .hacker-sidebar .nav-item-parent:hover {
    background: var(--blue-dim) !important;
    color: var(--text) !important;
}
body.ptm-console .hacker-sidebar .nav-item.active,
body.ptm-console .hacker-sidebar .nav-item.nav-sub.active {
    background: linear-gradient(90deg, rgba(255, 45, 85, 0.18), rgba(0, 180, 255, 0.12)) !important;
    color: var(--text) !important;
    box-shadow: inset 2px 0 0 var(--red);
}
body.ptm-console .hacker-sidebar .nav-sub {
    padding: 7px 12px 7px 34px !important;
    font-size: 12px !important;
}

/* Icon dock — collapse by WIDTH, never slide off-canvas */
body.ptm-console.ptm-rail-collapsed .hacker-sidebar .nav-item,
body.ptm-console.ptm-rail-collapsed .hacker-sidebar .nav-item-parent {
    margin: 4px 10px !important;
    padding: 10px 0 !important;
    justify-content: center !important;
    width: calc(100% - 20px) !important;
}
body.ptm-console.ptm-rail-collapsed .hacker-sidebar .nav-item i,
body.ptm-console.ptm-rail-collapsed .hacker-sidebar .nav-item-parent > i:first-child {
    margin: 0 !important;
    width: 20px !important;
    font-size: 15px !important;
}
body.ptm-console.ptm-rail-collapsed .hacker-sidebar .nav-item span,
body.ptm-console.ptm-rail-collapsed .hacker-sidebar .nav-item-parent span,
body.ptm-console.ptm-rail-collapsed .hacker-sidebar .nav-item-parent .fa-chevron-down,
body.ptm-console.ptm-rail-collapsed .menu-section {
    display: none !important;
}
body.ptm-console.ptm-rail-collapsed .hacker-sidebar,
body.ptm-console.ptm-rail-collapsed .sidebar-content,
body.ptm-console.ptm-rail-collapsed .sidebar-content nav {
    overflow: visible !important;
}
body.ptm-console.ptm-rail-collapsed .nav-group {
    position: relative;
}
body.ptm-console.ptm-rail-collapsed .nav-submenu {
    display: none !important;
    position: absolute !important;
    left: calc(100% + 8px) !important;
    top: 0 !important;
    min-width: 228px;
    max-height: none !important;
    overflow: visible !important;
    padding: 8px !important;
    background: rgba(8, 8, 16, 0.97) !important;
    border: 1px solid rgba(0, 180, 255, 0.32) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 24px var(--blue-dim) !important;
    border-radius: 8px !important;
    z-index: 10020;
    transition: none !important;
}
body.ptm-console.ptm-rail-collapsed .nav-group:hover .nav-submenu,
body.ptm-console.ptm-rail-collapsed .nav-group.is-flyout .nav-submenu,
body.ptm-console.ptm-rail-collapsed .nav-group:focus-within .nav-submenu {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
}
body.ptm-console.ptm-rail-collapsed .nav-sub {
    display: flex !important;
    padding: 8px 10px !important;
    margin: 0 !important;
    width: 100% !important;
    justify-content: flex-start !important;
}
body.ptm-console.ptm-rail-collapsed .hacker-sidebar .nav-submenu .nav-item span,
body.ptm-console.ptm-rail-collapsed .hacker-sidebar .nav-sub span {
    display: inline !important;
}

body.ptm-console .page-header {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 0 18px !important;
    margin-bottom: 8px !important;
}
body.ptm-console .page-title {
    font-size: 22px !important;
    letter-spacing: 0.12em !important;
}

/* Dashboard: horizontal command rows instead of square tiles */
body.ptm-console .dashboard-card-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    grid-template-columns: none !important;
}
body.ptm-console .dashboard-card-stack .attack-path-card {
    min-height: 0 !important;
    height: auto !important;
    flex-direction: row !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    background:
        linear-gradient(90deg, rgba(0, 180, 255, 0.07), transparent 12%, transparent 88%, rgba(255, 45, 85, 0.07)),
        var(--bg-surface) !important;
}
body.ptm-console .dashboard-card-stack .attack-path-card .apc-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    grid-template: none !important;
    width: 100% !important;
}
body.ptm-console .dashboard-card-stack .attack-path-card .apc-icon {
    grid-area: auto !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    font-size: 18px !important;
}
body.ptm-console .dashboard-card-stack .attack-path-card .apc-text {
    grid-area: auto !important;
    flex: 1 1 auto !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px 24px !important;
    width: auto !important;
}
body.ptm-console .dashboard-card-stack .attack-path-card .apc-title {
    width: auto !important;
    min-width: 180px;
    font-size: 13px !important;
}
body.ptm-console .dashboard-card-stack .attack-path-card .apc-stats {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    width: auto !important;
    grid-template-columns: none !important;
}
body.ptm-console .dashboard-card-stack .attack-path-card .apc-stat-row {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}
body.ptm-console .dashboard-card-stack .attack-path-card .apc-stat-row > i {
    grid-column: auto !important;
    width: auto !important;
}
body.ptm-console .dashboard-card-stack .attack-path-card .apc-cta {
    grid-area: auto !important;
    margin-left: auto !important;
    flex: 0 0 auto !important;
}

/* Tables as spaced card-rows with neon side ticks */
body.ptm-console .mini-table-wrap,
body.ptm-console .kev-table-panel,
body.ptm-console .su-table-wrap,
body.ptm-console .ga-table-wrap,
body.ptm-console .dash-alert-table-wrap,
body.ptm-console .users-table-wrap,
body.ptm-console .nu-table-wrap,
body.ptm-console .pwe-table-wrap,
body.ptm-console .oo-table-wrap,
body.ptm-console .groups-table-wrap,
body.ptm-console .ldd-table-wrap,
body.ptm-console .dp-table-wrap,
body.ptm-console .cps-table-wrap,
body.ptm-console .em-table-wrap,
body.ptm-console .pc-table-wrap {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}
body.ptm-console .mini-table,
body.ptm-console .kev-table,
body.ptm-console .su-table,
body.ptm-console .ga-table,
body.ptm-console .dash-alert-table,
body.ptm-console .nu-table,
body.ptm-console .pwe-table,
body.ptm-console .oo-table,
body.ptm-console .groups-table,
body.ptm-console .data-table,
body.ptm-console .cps-table,
body.ptm-console .dp-table,
body.ptm-console .em-table,
body.ptm-console .pc-table {
    border-collapse: separate !important;
    border-spacing: 0 7px !important;
}
body.ptm-console .mini-table thead th,
body.ptm-console .kev-table thead th,
body.ptm-console .su-table thead th,
body.ptm-console .ga-table thead th,
body.ptm-console .dash-alert-table thead th,
body.ptm-console .nu-table thead th,
body.ptm-console .pwe-table thead th,
body.ptm-console .oo-table thead th,
body.ptm-console .groups-table thead th,
body.ptm-console .data-table thead th,
body.ptm-console .cps-table thead th,
body.ptm-console .dp-table thead th,
body.ptm-console .em-table thead th,
body.ptm-console .pc-table thead th {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(0, 180, 255, 0.22) !important;
    color: var(--blue) !important;
    padding: 6px 14px 10px !important;
    font-size: 10px !important;
}
body.ptm-console .mini-table tbody td,
body.ptm-console .kev-table tbody td,
body.ptm-console .su-table tbody td,
body.ptm-console .ga-table tbody td,
body.ptm-console .dash-alert-table tbody td,
body.ptm-console .nu-table tbody td,
body.ptm-console .pwe-table tbody td,
body.ptm-console .oo-table tbody td,
body.ptm-console .groups-table tbody td,
body.ptm-console .data-table tbody td,
body.ptm-console .cps-table tbody td,
body.ptm-console .dp-table tbody td,
body.ptm-console .em-table tbody td,
body.ptm-console .pc-table tbody td {
    background: var(--bg-surface) !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 12px 14px !important;
}
body.ptm-console .mini-table tbody tr td:first-child,
body.ptm-console .kev-table tbody tr td:first-child,
body.ptm-console .su-table tbody tr td:first-child,
body.ptm-console .ga-table tbody tr td:first-child,
body.ptm-console .dash-alert-table tbody tr td:first-child,
body.ptm-console .nu-table tbody tr td:first-child,
body.ptm-console .pwe-table tbody tr td:first-child,
body.ptm-console .oo-table tbody tr td:first-child,
body.ptm-console .groups-table tbody tr td:first-child,
body.ptm-console .data-table tbody tr td:first-child,
body.ptm-console .cps-table tbody tr td:first-child,
body.ptm-console .dp-table tbody tr td:first-child,
body.ptm-console .em-table tbody tr td:first-child,
body.ptm-console .pc-table tbody tr td:first-child {
    border-left: 2px solid var(--blue) !important;
    border-radius: 10px 0 0 10px !important;
}
body.ptm-console .mini-table tbody tr td:last-child,
body.ptm-console .kev-table tbody tr td:last-child,
body.ptm-console .su-table tbody tr td:last-child,
body.ptm-console .ga-table tbody tr td:last-child,
body.ptm-console .dash-alert-table tbody tr td:last-child,
body.ptm-console .nu-table tbody tr td:last-child,
body.ptm-console .pwe-table tbody tr td:last-child,
body.ptm-console .oo-table tbody tr td:last-child,
body.ptm-console .groups-table tbody tr td:last-child,
body.ptm-console .data-table tbody tr td:last-child,
body.ptm-console .cps-table tbody tr td:last-child,
body.ptm-console .dp-table tbody tr td:last-child,
body.ptm-console .em-table tbody tr td:last-child,
body.ptm-console .pc-table tbody tr td:last-child {
    border-right: 2px solid var(--red) !important;
    border-radius: 0 10px 10px 0 !important;
}
body.ptm-console .mini-table tbody tr:nth-child(even) td,
body.ptm-console .kev-table tbody tr:nth-child(even) td,
body.ptm-console .su-table tbody tr:nth-child(even) td {
    background: var(--bg-surface) !important;
}
body.ptm-console .mini-table tbody tr:hover td,
body.ptm-console .kev-table tbody tr:hover td,
body.ptm-console .su-table tbody tr:hover td {
    background: rgba(0, 180, 255, 0.07) !important;
}

html[data-theme="light"] .ptm-topbar,
body.theme-light.ptm-console .ptm-topbar {
    background: rgba(255, 255, 255, 0.92) !important;
}
html[data-theme="light"] body.ptm-console .hacker-sidebar,
body.theme-light.ptm-console .hacker-sidebar {
    background: rgba(255, 255, 255, 0.94) !important;
}

.page-header,
.mini-table-wrap,
.kev-kpi,
.kev-table-panel,
.dash-alert-hub,
.attack-path-card,
.ap-left, .ap-center, .ap-right,
.ap-ai-panel {
    border-left: 2px solid var(--blue) !important;
    border-right: 2px solid var(--red) !important;
    box-shadow:
        -10px 0 22px -12px var(--blue-glow),
        10px 0 22px -12px var(--red-glow) !important;
}

body.ptm-console .page-header {
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
}
body.ptm-console .mini-table-wrap,
body.ptm-console .kev-table-panel,
body.ptm-console .su-table-wrap {
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
}

.attack-path-card {
    background:
        linear-gradient(90deg, rgba(0, 180, 255, 0.08), transparent 18%, transparent 82%, rgba(255, 45, 85, 0.08)),
        var(--bg-surface) !important;
    border: 1px solid var(--border) !important;
    border-left: 2px solid var(--blue) !important;
    border-right: 2px solid var(--red) !important;
    border-radius: 14px !important;
    overflow: hidden;
}
.attack-path-card:hover {
    box-shadow:
        -14px 0 28px -10px var(--blue-glow),
        14px 0 28px -10px var(--red-glow),
        0 0 28px rgba(168, 85, 247, 0.12) !important;
    transform: translateY(-2px);
}
.kev-kpi,
.page-db-backup .kev-kpi {
    position: relative;
    overflow: hidden;
    background: var(--bg-surface) !important;
    border-radius: 12px !important;
    border-top-width: 0 !important;
}
.page-db-backup,
.page-system-users {
    animation: none !important;
    background: transparent !important;
}
