/* ==== One-time page-transition suppression ==== */
html.no-animate .animate__animated {
    animation: none !important;
}

html.no-animate *,
html.no-animate *::before,
html.no-animate *::after {
    transition: none !important;
}

html.no-animate .page-loader {
    display: none !important;
    animation: none !important;
}

html.no-animate .loader-shimmer > span {
    animation: none !important;
}

/* Prevent layout shifts when vertical scrollbar appears/disappears */
html {
    scrollbar-gutter: stable;
    overflow-x: hidden;
}

html.sb-preload {
    overflow-y: hidden !important;
}

/* ===== Tooltips ===== */
.tooltip-parent {
    position: relative;
}

.tooltip {
    display: none;
    white-space: nowrap;
    border-radius: .375rem;
    background: #27272a;
    color: #f4f4f5;
    font-size: .75rem;
    padding: .25rem .5rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);
    z-index: 3500;
    pointer-events: none;
}

.tooltip-local {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) translateY(8px);
}

.tooltip-fixed-side {
    position: fixed;
    transform: translateY(-50%);
}

.tooltip-parent:hover .tooltip,
.tooltip-parent:focus-within .tooltip {
    display: block;
}

body.hide-tooltips .tooltip {
    display: none !important;
}

.tooltip-parent[aria-expanded="true"] .tooltip {
    display: none !important;
}

/* ===== Sidebar flyouts (scoped!) ===== */
aside[data-sidebar="main"] .docker-flyout {
    position: fixed;
    z-index: 4000;
    width: 11rem;
    border-radius: .75rem;
    background: #3f3f46;
    color: #e5e7eb;
    border: 1px solid rgba(82,82,91,.6);
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
    padding: .5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .15s ease, visibility .15s ease, transform .15s ease;
}

[data-menu="docker-group"]:is(:hover, :focus-within) .docker-flyout {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* ===== Page Loader ===== */
.page-loader {
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(2,6,23,0.85);
    backdrop-filter: blur(6px);
}

.page-loader--fixed {
    position: fixed;
}

.page-loader--inset {
    position: absolute;
}

.page-loader.show {
    display: flex;
}

.loader-shimmer {
    height: 6px;
    width: 14rem;
    overflow: hidden;
    border-radius: 9999px;
    background: rgba(161,161,170,.35);
}

.loader-shimmer > span {
    display: block;
    height: 100%;
    width: 40%;
    background: currentColor;
    animation: loader-slide 1.2s linear infinite;
}

@keyframes loader-slide {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(50%); }
    100% { transform: translateX(300%); }
}

/* ===== Responsive display utilities (shim) ===== */
@media (min-width: 640px) {
    .sm\:block { display: block !important; }
    .sm\:inline-block { display: inline-block !important; }
    .sm\:flex { display: flex !important; }
}

@media (min-width: 768px) {
    .md\:block { display: block !important; }
    .md\:inline-flex { display: inline-flex !important; }
    .md\:flex { display: flex !important; }
}

/* ===== Utility classes ===== */
.u-hidden {
    display: none !important;
}

.only-md-flex {
    display: none;
}

@media (min-width: 768px) {
    .only-md-flex {
        display: flex !important;
    }
}

/* ===== Global Theme Layer (gray / light / black) ===== */
:root {
    --app-bg-gray: var(--ui-bg, #0F172A);
    --app-bg-layer-gray:
        radial-gradient(circle at 20% 20%, rgba(39,39,42,.6) 0%, rgba(24,24,27,0) 60%),
        radial-gradient(circle at 80% 10%, rgba(2,6,23,.6) 0%, rgba(24,24,27,0) 70%),
        linear-gradient(to bottom right,
            rgba(24,24,27,1) 0%,
            rgba(39,39,42,1) 50%,
            rgba(24,24,27,1) 100%);
    --app-bg-layer-black:
        radial-gradient(circle at 20% 20%, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 60%),
        radial-gradient(circle at 80% 10%, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 70%),
        linear-gradient(to bottom right,
            rgba(0,0,0,1) 0%,
            rgba(10,10,10,1) 50%,
            rgba(0,0,0,1) 100%);
    --app-bg-layer-light: none;
}

/* ===== Brand color ===== */
:root {
    --brand: var(--ui-brand, #3b82f6);
}

/* ===== Theme token definitions ===== */
html[data-theme="gray"] {
    color-scheme: dark;
    --app-bg-layer: var(--app-bg-layer-gray);
    --ui-bg: #0F172A;
    --ui-card: rgba(51,65,85,0.80);
    --ui-line: #33343a;
}

html[data-theme="black"] {
    color-scheme: dark;
    --app-bg-layer: var(--app-bg-layer-black);
    --ui-bg: #000;
    --ui-card: rgba(17,17,17,0.92);
    --ui-line: #33343a;
}

html[data-theme="light"] {
    color-scheme: light;
    --app-bg-layer: none;
    --ui-bg: #f0f2f5;
    --ui-card: #ffffff;
    --ui-line: #d5dbdb;
}

/* ===== Body colours per theme ===== */
html[data-theme="gray"] body {
    background-color: var(--app-bg-gray) !important;
    color: #f4f4f5;
}

html[data-theme="black"] body {
    background-color: #000 !important;
    color: #f8fafc;
}

html[data-theme="light"] body {
    background-color: #f0f2f5 !important;
    color: #16191f;
}

/* ===== Generic border colour ===== */
html[data-theme="gray"] .border,
html[data-theme="black"] .border,
html[data-theme="gray"] .border-t,
html[data-theme="black"] .border-t,
html[data-theme="gray"] .border-b,
html[data-theme="black"] .border-b,
html[data-theme="gray"] .border-l,
html[data-theme="black"] .border-l,
html[data-theme="gray"] .border-r,
html[data-theme="black"] .border-r,
html[data-theme="gray"] .border-s,
html[data-theme="black"] .border-s,
html[data-theme="gray"] .border-e,
html[data-theme="black"] .border-e {
    border-color: var(--ui-line) !important;
}

html[data-theme="light"] .border,
html[data-theme="light"] .border-t,
html[data-theme="light"] .border-b,
html[data-theme="light"] .border-l,
html[data-theme="light"] .border-r,
html[data-theme="light"] .border-s,
html[data-theme="light"] .border-e {
    border-color: var(--ui-line) !important;
}

.border-transparent { border-color: transparent !important; }
.border-brand { border-color: rgb(59 130 246 / var(--tw-border-opacity, 1)) !important; }

/* ===== LIGHT: Tailwind bg-zinc-* overrides (AWS-clean surfaces) ===== */
html[data-theme="light"] .bg-zinc-900 { background-color: #ffffff !important; }
html[data-theme="light"] .bg-zinc-900\/60 { background-color: rgba(255,255,255,.85) !important; }
html[data-theme="light"] .bg-zinc-800 { background-color: #ffffff !important; }
html[data-theme="light"] .bg-zinc-800\/80 { background-color: rgba(255,255,255,.95) !important; }
html[data-theme="light"] .bg-zinc-800\/60 { background-color: rgba(255,255,255,.90) !important; }
html[data-theme="light"] .bg-zinc-800\/40 { background-color: rgba(255,255,255,.85) !important; }
html[data-theme="light"] .bg-zinc-700 { background-color: #fafafa !important; }
html[data-theme="light"] .bg-zinc-700\/80 { background-color: rgba(250,250,250,.92) !important; }
html[data-theme="light"] .bg-zinc-700\/70 { background-color: rgba(250,250,250,.88) !important; }
html[data-theme="light"] .bg-zinc-700\/60 { background-color: rgba(250,250,250,.84) !important; }
html[data-theme="light"] .bg-zinc-700\/50 { background-color: rgba(250,250,250,.78) !important; }
html[data-theme="light"] .bg-zinc-600 { background-color: #e9ebed !important; }
html[data-theme="light"] .hover\:bg-zinc-600:hover { background-color: #e9ebed !important; }

/* ===== BLACK: deeper bg-zinc-* overrides ===== */
html[data-theme="black"] .bg-zinc-900 { background-color: #000 !important; }
html[data-theme="black"] .bg-zinc-800 { background-color: rgba(17,17,17,1) !important; }
html[data-theme="black"] .bg-zinc-700 { background-color: rgba(28,28,28,1) !important; }
html[data-theme="black"] .bg-zinc-700\/80 { background-color: rgba(28,28,28,.86) !important; }
html[data-theme="black"] .bg-zinc-800\/40 { background-color: rgba(17,17,17,.70) !important; }

/* ===== LIGHT: text-zinc-* overrides ===== */
html[data-theme="light"] .text-zinc-100 { color: #16191f !important; }
html[data-theme="light"] .text-zinc-200 { color: #16191f !important; }
html[data-theme="light"] .text-zinc-300 { color: #37475a !important; }
html[data-theme="light"] .text-zinc-400 { color: #545b64 !important; }
html[data-theme="light"] .text-zinc-500 { color: #687078 !important; }
html[data-theme="light"] .text-white { color: #16191f !important; }

/* ===== LIGHT: border-zinc-* overrides ===== */
html[data-theme="light"] .border-zinc-600 { border-color: rgba(161,161,170,.75) !important; }
html[data-theme="light"] .border-zinc-600\/50 { border-color: rgba(161,161,170,.55) !important; }
html[data-theme="light"] .border-zinc-500\/60 { border-color: rgba(161,161,170,.65) !important; }
html[data-theme="light"] .border-zinc-600\/40 { border-color: rgba(161,161,170,.45) !important; }

/* ===== LIGHT: shadow overrides ===== */
html[data-theme="light"] .shadow-soft,
html[data-theme="light"] [class*="shadow-"] {
    box-shadow: 0 1px 4px rgba(0,0,0,.1) !important;
}

/* ===== Chrome emphasis – LIGHT: AWS-inspired dark topbar + white sidebar ===== */
html[data-theme="light"] header[data-topbar] {
    background-color: #232f3e !important;
    background-image: none !important;
    border-bottom-color: #1a242f !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
}

html[data-theme="light"] header[data-topbar] .text-zinc-100,
html[data-theme="light"] header[data-topbar] .text-zinc-200,
html[data-theme="light"] header[data-topbar] .text-zinc-200\/90,
html[data-theme="light"] header[data-topbar] .text-zinc-300,
html[data-theme="light"] header[data-topbar] .text-slate-100,
html[data-theme="light"] header[data-topbar] .text-slate-200,
html[data-theme="light"] header[data-topbar] .text-slate-300 {
    color: #f4f4f5 !important;
}

html[data-theme="light"] header[data-topbar] .border-zinc-500\/60,
html[data-theme="light"] header[data-topbar] .border-slate-500\/60 {
    border-color: rgba(161,161,170,.35) !important;
}

html[data-theme="light"] header[data-topbar] .hover\:bg-zinc-600:hover,
html[data-theme="light"] header[data-topbar] .hover\:bg-slate-600:hover {
    background-color: rgba(255,255,255,.12) !important;
}

html[data-theme="light"] header[data-topbar] .bg-zinc-800\/60,
html[data-theme="light"] header[data-topbar] .bg-slate-800\/60 {
    background-color: rgba(255,255,255,.08) !important;
}

/* Topbar dropdown panels stay dark in LIGHT */
html[data-theme="light"] header[data-topbar] #create-menu-dropdown {
    background-color: #232f3e !important;
    border-color: rgba(255,255,255,.15) !important;
    color: #f4f4f5 !important;
}

html[data-theme="light"] header[data-topbar] #create-menu-dropdown a:hover {
    background-color: rgba(255,255,255,.1) !important;
}

/* ===== LIGHT: sidebar chrome ===== */
html[data-theme="light"] aside[data-sidebar="main"] {
    background-color: #ffffff !important;
    background-image: none !important;
    border-right-color: #d5dbdb !important;
    box-shadow: 1px 0 3px rgba(0,0,0,.08);
}

html[data-theme="light"] aside[data-sidebar="main"] .text-white,
html[data-theme="light"] aside[data-sidebar="main"] .text-zinc-100,
html[data-theme="light"] aside[data-sidebar="main"] .text-slate-100,
html[data-theme="light"] aside[data-sidebar="main"] .text-slate-200 {
    color: #16191f !important;
}

html[data-theme="light"] aside[data-sidebar="main"] .submenu a:hover,
html[data-theme="light"] aside[data-sidebar="main"] .submenu button:hover {
    background-color: #f0f2f5 !important;
}

html[data-theme="light"] aside[data-sidebar="main"] .submenu a.bg-zinc-600,
html[data-theme="light"] aside[data-sidebar="main"] .submenu a.bg-slate-600 {
    background-color: #e8f0fe !important;
    border: 1px solid #c2d6f2 !important;
    color: #0073bb !important;
}

html[data-theme="light"] aside[data-sidebar="main"] details[open] > summary {
    background-color: #f0f2f5 !important;
}

html[data-theme="light"] aside[data-sidebar="main"] details[open] > summary i {
    color: #0073bb !important;
}

/* ===== LIGHT: form controls ===== */
html[data-theme="light"] input.bg-zinc-800\/40:not([type="checkbox"]):not([type="radio"]),
html[data-theme="light"] textarea.bg-zinc-800\/40,
html[data-theme="light"] select.bg-zinc-800\/40,
html[data-theme="light"] input.bg-zinc-800\/60:not([type="checkbox"]):not([type="radio"]),
html[data-theme="light"] textarea.bg-zinc-800\/60,
html[data-theme="light"] select.bg-zinc-800\/60 {
    background-color: #ffffff !important;
    color: #16191f !important;
    border-color: #aab7b8 !important;
}

html[data-theme="light"] select {
    background-color: #ffffff;
    color: #16191f;
    border-color: #aab7b8;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
    color: #687078 !important;
    opacity: 1 !important;
}

/* ===== LIGHT: links ===== */
html[data-theme="light"] a:hover { color: #0073bb !important; }

/* ===== Select theme ===== */
html[data-theme="gray"] select,
html[data-theme="black"] select {
    color-scheme: dark;
}

html[data-theme="light"] select {
    color-scheme: light;
}

/* Theme icons inside #theme-toggle */
#theme-toggle [data-theme-icon] {
    display: none;
}
html[data-theme="light"] #theme-toggle [data-theme-icon="light"] { display: block; }
html[data-theme="gray"]  #theme-toggle [data-theme-icon="gray"]  { display: block; }
html[data-theme="black"] #theme-toggle [data-theme-icon="black"] { display: block; }

/* ===================================================================
   Monitoring Shared Design System (per docs/05-frontend-ui.md)
   =================================================================== */

/* ── comm-section-title ── */
.comm-section-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8125rem;
    line-height: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: light-dark(#16191f, rgb(203 213 225)) !important;
}
.comm-section-title i {
    color: light-dark(#0073bb, rgb(59 130 246)) !important;
    font-size: .875rem;
}

/* ── mon-outer-card: main section wrapper ── */
.mon-outer-card {
    border-radius: 1rem;           /* rounded-2xl */
    border-width: 1px;
    overflow: hidden;
    background: light-dark(#ffffff, rgb(51,65,85));
    border-color: light-dark(#d5dbdb, rgba(71,85,105,.5));
    box-shadow: light-dark(
        0 1px 4px rgba(0,0,0,.1),
        0 2px 8px rgba(0,0,0,.35)
    );
    color: light-dark(#16191f, #f1f5f9);
}
html[data-theme="black"] .mon-outer-card {
    background: rgba(28,28,28,1) !important;
    border-color: rgba(255,255,255,.06) !important;
}

/* ── mon-card-header: card header row ── */
.mon-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    border-bottom-width: 1px;
    border-color: light-dark(#d5dbdb, rgba(255,255,255,.06));
}

/* ── mon-stat-card: inner stat tiles with prominent shadow ── */
.mon-stat-card {
    border-radius: .75rem;         /* rounded-xl */
    border-width: 1px;
    padding: 1rem;
    background: light-dark(#e8eef5, rgba(255,255,255,.03));
    border-color: light-dark(#adb8c4, rgba(255,255,255,.06));
    box-shadow: light-dark(
        0 6px 24px -4px rgba(0,0,0,.15) 0 0 0 1px rgba(0,0,0,.06),
        0 6px 24px -4px rgba(0,0,0,.55) 0 0 0 1px rgba(255,255,255,.07)
    );
}
/* Gray theme: more prominent stat tiles */
html[data-theme="gray"] .mon-stat-card {
    background: rgba(255,255,255,.10) !important;
    border-color: rgba(161,161,170,.45) !important;
    box-shadow: 0 6px 24px -4px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.07) !important;
}
/* Black theme: true-dark stat tiles */
html[data-theme="black"] .mon-stat-card {
    background: rgba(255,255,255,.02) !important;
    border-color: rgba(255,255,255,.05) !important;
    box-shadow: 0 6px 24px -4px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04) !important;
}
/* Light theme: explicit stat tile shadow */
html[data-theme="light"] .mon-stat-card {
    background: #f0f4f8 !important;
    border-color: #c4cdd5 !important;
    box-shadow: 0 6px 24px -4px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.06) !important;
}

/* ── mon-stat-label: stat tile label (brand blue) ── */
.mon-stat-label {
    font-size: .6875rem;   /* ~11px */
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 600;
    color: light-dark(#0073bb, #7dd3fc) !important;
}

/* ── mon-stat-value: stat tile number ── */
.mon-stat-value {
    font-weight: 700;
    color: light-dark(#16191f, #f4f4f5) !important;
}

/* ── mon-stat-helper: stat tile helper text ── */
.mon-stat-helper {
    font-size: .75rem;
    color: light-dark(#545b64, #a1a1aa) !important;
}

/* ── mon-info-bar: sub-header info/badge bar ── */
.mon-info-bar {
    padding: .75rem 1rem;
    border-bottom-width: 1px;
    border-color: light-dark(#d5dbdb, rgba(255,255,255,.06));
    background: light-dark(#f7f8f8, rgba(255,255,255,.02));
}

/* ── mon-section: inner table/content section ── */
.mon-section {
    border-radius: .75rem;
    border-width: 1px;
    overflow: hidden;
    background: light-dark(#ffffff, rgba(255,255,255,.035));
    border-color: light-dark(#d5dbdb, rgba(255,255,255,.06));
}
html[data-theme="gray"] .mon-section {
    background: rgba(255,255,255,.03) !important;
    border-color: rgba(255,255,255,.06) !important;
}
html[data-theme="black"] .mon-section {
    background: rgba(255,255,255,.02) !important;
    border-color: rgba(255,255,255,.05) !important;
}

/* ── mon-table: table styling ── */
.mon-table thead tr {
    background: light-dark(#f7f8f8, rgba(255,255,255,.04));
}
.mon-table thead th {
    font-size: .6875rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: light-dark(#545b64, #a1a1aa);
    padding: .75rem;
    text-align: left;
}
.mon-table tbody tr {
    border-top-width: 1px;
    border-color: light-dark(#e8eaeb, rgba(255,255,255,.06));
}
.mon-table tbody tr:hover {
    background: light-dark(#f2f3f3, rgba(255,255,255,.03));
}
.mon-table tbody td {
    padding: .75rem;
    font-size: .75rem;
    color: light-dark(#16191f, #e4e4e7);
}

/* ── mon-badge: pill badges ── */
.mon-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 9999px;
    border-width: 1px;
    padding: .25rem .75rem;
    font-size: .6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .18em;
}

/* ── mon-action-link: action pill buttons ── */
.mon-action-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 9999px;
    border-width: 1px;
    padding: .375rem .75rem;
    font-size: .75rem;
    transition: background-color .15s ease;
    color: light-dark(#16191f, #e4e4e7);
    border-color: light-dark(#d5dbdb, rgba(255,255,255,.08));
}
.mon-action-link:hover {
    background: light-dark(#f2f3f3, rgba(255,255,255,.06));
}

/* ── mon-chip: info chip ── */
.mon-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 9999px;
    border-width: 1px;
    padding: .375rem .75rem;
    font-size: .6875rem;
    border-color: light-dark(#d5dbdb, rgba(255,255,255,.08));
    color: light-dark(#545b64, #d4d4d8);
}

/* ── Global LIGHT overrides for gradient hero cards ── */
html[data-theme="light"] .group.relative[class*="bg-gradient-to-br"] {
    background-image: none !important;
    background-color: #f0f4f8 !important;
    border-color: #c4cdd5 !important;
    box-shadow: 0 6px 24px -4px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.06) !important;
}
html[data-theme="light"] .group.relative[class*="bg-gradient-to-br"] .pointer-events-none {
    display: none !important;
}
html[data-theme="light"] .group.relative[class*="bg-gradient-to-br"] .text-white {
    color: #16191f !important;
}
html[data-theme="light"] .group.relative[class*="bg-gradient-to-br"] .text-zinc-400 {
    color: #0073bb !important;
}
html[data-theme="light"] .group.relative[class*="bg-gradient-to-br"] .text-zinc-200 {
    color: #545b64 !important;
}
html[data-theme="light"] .group.relative[class*="bg-gradient-to-br"] [class*="bg-zinc-900"] {
    background-color: rgba(0,115,187,.08) !important;
    border-color: rgba(0,115,187,.20) !important;
}
html[data-theme="light"] .group.relative[class*="bg-gradient-to-br"] [class*="text-sky-"],
html[data-theme="light"] .group.relative[class*="bg-gradient-to-br"] [class*="text-violet-"],
html[data-theme="light"] .group.relative[class*="bg-gradient-to-br"] [class*="text-amber-"],
html[data-theme="light"] .group.relative[class*="bg-gradient-to-br"] [class*="text-emerald-"] {
    color: #0073bb !important;
}
html[data-theme="light"] .group.relative[class*="bg-gradient-to-br"] span[class*="border-"][class*="bg-"][class*="text-"][class*="-200"] {
    background: rgba(0,115,187,.12) !important;
    border-color: rgba(0,115,187,.25) !important;
    color: #0073bb !important;
}

/* ── LIGHT: Grafana iframe area ── */
html[data-theme="light"] .bg-zinc-900\/35 {
    background-color: #f7f8f8 !important;
}
html[data-theme="light"] .bg-zinc-950 {
    background-color: #ffffff !important;
}

/* ── LIGHT: info bar ── */
html[data-theme="light"] .bg-zinc-800\/35 {
    background-color: #f7f8f8 !important;
}

/* ── Mobile safe area ── */
@media (max-width: 767px) {
    #content {
        padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)) !important;
        padding-inline: 6px !important;
        margin-inline: auto !important;
    }

    /* ── mon-outer-card: full-bleed on mobile ── */
    .mon-outer-card {
        border-left: 0 !important;
        border-right: 0 !important;
        border-radius: 0 !important;
    }

    /* ── mon-card-header: stack vertically on mobile ── */
    .mon-card-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        padding: 0.6rem 0.9rem !important;
    }

    /* ── Header rows inside mon-outer-card ── */
    .mon-outer-card > .flex.flex-wrap:first-child,
    .mon-outer-card > div:first-child > .flex.flex-wrap:first-child {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        padding-left: 0.9rem !important;
        padding-right: 0.9rem !important;
    }

    /* ml-auto nav/badge groups in header: full width, wrap or scroll */
    .mon-outer-card > .flex.flex-wrap:first-child > .ml-auto,
    .mon-outer-card > div:first-child > .flex.flex-wrap:first-child > .ml-auto {
        margin-left: 0 !important;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap !important;
    }
    .mon-outer-card > .flex.flex-wrap:first-child > .ml-auto::-webkit-scrollbar,
    .mon-outer-card > div:first-child > .flex.flex-wrap:first-child > .ml-auto::-webkit-scrollbar {
        display: none;
    }

    /* Shrink header pill badges */
    .mon-outer-card .inline-flex.rounded-full {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
        white-space: nowrap;
    }

    /* ── Info / sub-header bars ── */
    .mon-outer-card > div[class*="px-4"][class*="py-3"][class*="border-b"] {
        padding-left: 0.9rem !important;
        padding-right: 0.9rem !important;
    }

    .mon-outer-card > div[class*="px-4"][class*="py-3"][class*="border-b"] > .flex {
        gap: 0.4rem !important;
    }

    .mon-outer-card > div[class*="px-4"][class*="py-3"][class*="border-b"] > .flex > span {
        font-size: 0.65rem;
        padding: 0.25rem 0.45rem;
    }

    /* ── Content padding ── */
    .mon-outer-card .p-5 {
        padding: 0.9rem !important;
    }

    .mon-outer-card .p-5 > .gap-4 {
        gap: 0.75rem !important;
    }

    /* ── Section wrappers: remove side padding on mobile ── */
    section[data-page] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* ── Stat card large values: scale down on mobile ── */
    .mon-outer-card .text-3xl {
        font-size: 1.35rem;
        line-height: 1.75rem;
    }

    .mon-outer-card .text-2xl {
        font-size: 1.15rem;
        line-height: 1.5rem;
    }

    /* ── Daily cost curve rows: stack date & details vertically ── */
    .mon-outer-card .mb-1.flex.items-center.justify-between {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.15rem;
    }
    .mon-outer-card .mb-1.flex.items-center.justify-between > span:last-child {
        font-size: 0.6rem;
        opacity: 0.85;
    }

    /* ── GitHub Actions bar grid: stack on mobile ── */
    .mon-outer-card .grid[class*="grid-cols-["] {
        grid-template-columns: 1fr !important;
        gap: 0.4rem !important;
    }

    /* ── Tables: compact + horizontal scroll ── */
    .mon-outer-card .overflow-x-auto {
        -webkit-overflow-scrolling: touch;
    }
    .mon-outer-card table {
        font-size: 0.7rem;
    }
    .mon-outer-card table th,
    .mon-outer-card table td {
        padding: 0.3rem 0.45rem !important;
    }
    .mon-outer-card table.table-fixed {
        table-layout: auto !important;
    }

    /* ── Grafana iframe: shorter on mobile, override JS inline height ── */
    .mon-outer-card iframe[class*="min-h-"],
    .mon-outer-card iframe[data-auto-fit-height] {
        min-height: 400px !important;
        height: 65vh !important;
    }
}

/* ── LIGHT: emerald/sky/amber/rose status badges ── */
html[data-theme="light"] [class*="border-emerald-500"][class*="bg-emerald-500"] {
    background-color: rgba(16,185,129,.1) !important;
    border-color: rgba(16,185,129,.3) !important;
    color: #065f46 !important;
}
html[data-theme="light"] [class*="border-sky-500"][class*="bg-sky-500"] {
    background-color: rgba(14,165,233,.1) !important;
    border-color: rgba(14,165,233,.3) !important;
    color: #0c4a6e !important;
}
html[data-theme="light"] [class*="border-amber-500"][class*="bg-amber-500"] {
    background-color: rgba(245,158,11,.1) !important;
    border-color: rgba(245,158,11,.3) !important;
    color: #78350f !important;
}
html[data-theme="light"] [class*="border-rose-500"][class*="bg-rose-500"] {
    background-color: rgba(244,63,94,.1) !important;
    border-color: rgba(244,63,94,.3) !important;
    color: #881337 !important;
}

/* ── LIGHT: brand/accent ── */
html[data-theme="light"] .text-brand {
    color: #0073bb !important;
}

/* ── LIGHT: bg-brand/10, bg-brand/20 ── */
html[data-theme="light"] .bg-brand\/10 {
    background-color: rgba(0,115,187,.1) !important;
}
html[data-theme="light"] .bg-brand\/20 {
    background-color: rgba(0,115,187,.15) !important;
}
html[data-theme="light"] .border-brand\/40 {
    border-color: rgba(0,115,187,.4) !important;
}

/* ── LIGHT: progress bars and gauges ── */
html[data-theme="light"] .bg-zinc-700\/50,
html[data-theme="light"] .bg-zinc-600\/50 {
    background-color: #e2e6ea !important;
}

/* ── LIGHT: select/filter inputs ── */
html[data-theme="light"] .bg-zinc-800\/50 {
    background-color: #f7f8f8 !important;
}

/* ── LIGHT: ring overrides ── */
html[data-theme="light"] .ring-1[class*="ring-zinc"] {
    --tw-ring-color: rgba(0,0,0,.06) !important;
}
html[data-theme="light"] .ring-1[class*="ring-white"] {
    --tw-ring-color: rgba(0,0,0,.06) !important;
}

/* ── LIGHT: shadow overrides for colored glow cards ── */
html[data-theme="light"] [class*="shadow-\[0_18px_40px"] {
    box-shadow: 0 6px 24px -4px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.06) !important;
}

/* ── Section headers inside mon-outer-card ── */
.mon-outer-card h2[class*="font-semibold"][class*="uppercase"],
.mon-outer-card h3[class*="font-semibold"][class*="uppercase"],
.mon-outer-card h4[class*="font-semibold"][class*="uppercase"] {
    color: light-dark(#16191f, #cbd5e1) !important;
    letter-spacing: .08em;
}

/* ── LIGHT: text-brand icon next to header ── */
html[data-theme="light"] .mon-outer-card .text-brand {
    color: #0073bb !important;
}

/* ── mon-outer-card: border-b header separators ── */
.mon-outer-card [class*="border-b"][class*="border-zinc-600"] {
    border-color: light-dark(#d5dbdb, rgba(255,255,255,.08)) !important;
}

/* ── LIGHT: table header rows ── */
html[data-theme="light"] .mon-outer-card .bg-zinc-800\/80 {
    background-color: #f7f8f8 !important;
}
html[data-theme="light"] .mon-outer-card tr.bg-zinc-800\/80 th {
    color: #545b64 !important;
}

/* ── LIGHT: secondary/muted text overrides inside mon-outer-card ── */
html[data-theme="light"] .mon-outer-card .text-zinc-300 {
    color: #545b64 !important;
}
html[data-theme="light"] .mon-outer-card .text-zinc-200 {
    color: #16191f !important;
}
html[data-theme="light"] .mon-outer-card .text-zinc-100 {
    color: #16191f !important;
}
html[data-theme="light"] .mon-outer-card .text-zinc-400 {
    color: #687078 !important;
}

/* ── LIGHT: action link & chip border/ring overrides inside mon-outer-card ── */
html[data-theme="light"] .mon-outer-card [class*="border-zinc-500"] {
    border-color: #aab7b8 !important;
}
html[data-theme="light"] .mon-outer-card [class*="ring-zinc-400"] {
    --tw-ring-color: rgba(0,0,0,.06) !important;
}
html[data-theme="light"] .mon-outer-card [class*="hover\:bg-zinc-600"]:hover {
    background-color: #f2f3f3 !important;
}

/* ── LIGHT: inner sub-header bars ── */
html[data-theme="light"] .mon-outer-card .bg-zinc-800\/35,
html[data-theme="light"] .mon-outer-card .bg-zinc-800\/40 {
    background-color: #f7f8f8 !important;
}

/* ── LIGHT: inner section bg ── */
html[data-theme="light"] .mon-outer-card .bg-zinc-800\/50 {
    background-color: #f7f8f8 !important;
}
html[data-theme="light"] .mon-outer-card .bg-zinc-900\/40 {
    background-color: #f7f8f8 !important;
}

/* ── LIGHT: table/section dividers inside mon-outer-card ── */
html[data-theme="light"] .mon-outer-card .border-zinc-600\/30 {
    border-color: #d5dbdb !important;
}

/* ── mon-stat-card LIGHT overrides for stat sub-text ── */
html[data-theme="light"] .mon-stat-card .text-sm.text-zinc-300 {
    color: #545b64 !important;
}
html[data-theme="light"] .mon-stat-card .text-xs.text-zinc-400 {
    color: #687078 !important;
}

/* ═══════════════════════════════════════════════════════════════════
   LIGHT-THEME OVERRIDES – filter controls, action buttons, iframes
   ═══════════════════════════════════════════════════════════════════ */

/* ── Filter controls (AiDailyAnalysis, AuditLogReport) ── */
html[data-theme="light"] .ai-filter-control,
html[data-theme="light"] .audit-report-filter-control {
    background: #ffffff !important;
    border-color: #d5dbdb !important;
    color: #16191f !important;
    color-scheme: light !important;
}
html[data-theme="light"] .ai-filter-control::placeholder,
html[data-theme="light"] .audit-report-filter-control::placeholder {
    color: #687078 !important;
}
html[data-theme="light"] .ai-filter-control:hover,
html[data-theme="light"] .audit-report-filter-control:hover {
    border-color: #aab7b8 !important;
    background: #fafafa !important;
}
html[data-theme="light"] .ai-filter-control:focus,
html[data-theme="light"] .audit-report-filter-control:focus {
    border-color: #0073bb !important;
    box-shadow: 0 0 0 3px rgba(0,115,187,.14) !important;
    background: #ffffff !important;
}

/* ── Date picker button (AiDailyAnalysis) ── */
html[data-theme="light"] .ai-date-picker__button {
    background: #f2f3f3 !important;
    border-color: #d5dbdb !important;
    color: #545b64 !important;
}
html[data-theme="light"] .ai-date-picker__button:hover {
    background: #e9ebed !important;
    border-color: #0073bb !important;
    color: #16191f !important;
}

/* ── Secondary filter action buttons ── */
html[data-theme="light"] .ai-filter-action--secondary,
html[data-theme="light"] .audit-report-filter-action--secondary {
    background: #f2f3f3 !important;
    border-color: #d5dbdb !important;
    color: #16191f !important;
}
html[data-theme="light"] .ai-filter-action--secondary:hover,
html[data-theme="light"] .audit-report-filter-action--secondary:hover {
    border-color: #0073bb !important;
    background: #e9ebed !important;
    color: #16191f !important;
}

/* ── Grafana / report iframes ── */
html[data-theme="light"] .audit-report-iframe,
html[data-theme="light"] .google-analyst-report-iframe {
    background: #f7f8f8 !important;
}

/* ── Trend chart labels (AuditLogReport) ── */
html[data-theme="light"] .audit-report-trend-label {
    color: #545b64 !important;
}

/* ── Trend bars – softer for light ── */
html[data-theme="light"] .audit-report-trend-bar {
    border-color: rgba(0,115,187,.3) !important;
    background: linear-gradient(180deg, rgba(0,115,187,.85), rgba(0,115,187,.45)) !important;
}

/* ═══════════════════════════════
   LIGHT-THEME – Syslog specifics
   ═══════════════════════════════ */
html[data-theme="light"] .qr-btn {
    border-color: #d5dbdb !important;
    color: #16191f !important;
}
html[data-theme="light"] .qr-btn:hover {
    background: #e9ebed !important;
}

/* Syslog level badges – keep semantic colors but reduce dark tints */
html[data-theme="light"] [data-level] {
    background: rgba(161,161,170,.08) !important;
    border-color: rgba(161,161,170,.25) !important;
    color: #545b64 !important;
}
html[data-theme="light"] [data-level="EMERG"],
html[data-theme="light"] [data-level="ALERT"],
html[data-theme="light"] [data-level="CRIT"],
html[data-theme="light"] [data-level="ERR"] {
    background: rgba(220,38,38,.08) !important;
    border-color: rgba(220,38,38,.3) !important;
    color: #b91c1c !important;
}
html[data-theme="light"] [data-level="WARN"] {
    background: rgba(202,138,4,.08) !important;
    border-color: rgba(202,138,4,.3) !important;
    color: #92400e !important;
}
html[data-theme="light"] [data-level="NOTICE"],
html[data-theme="light"] [data-level="INFO"] {
    background: rgba(0,115,187,.08) !important;
    border-color: rgba(0,115,187,.25) !important;
    color: #0073bb !important;
}
html[data-theme="light"] [data-level="DEBUG"] {
    background: rgba(5,150,105,.08) !important;
    border-color: rgba(5,150,105,.25) !important;
    color: #047857 !important;
}

/* Syslog dropdown menus */
html[data-theme="light"] #levelsMenu,
html[data-theme="light"] #sourcesMenu {
    background: #ffffff !important;
    border-color: #d5dbdb !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.1) !important;
}

/* Syslog overlay */
html[data-theme="light"] .syslog-overlay {
    background: rgba(255,255,255,.55) !important;
}
html[data-theme="light"] .syslog-spinner {
    border-color: rgba(0,0,0,.3) !important;
    border-top-color: transparent !important;
}

/* ═══════════════════════════════════════════
   LIGHT-THEME – Generic semantic badges
   ═══════════════════════════════════════════ */

/* Sky-colored badges (Grafana, status pills) */
html[data-theme="light"] .border-sky-500\/30 {
    border-color: rgba(0,115,187,.25) !important;
}
html[data-theme="light"] .bg-sky-500\/10 {
    background: rgba(0,115,187,.08) !important;
}
html[data-theme="light"] .text-sky-200,
html[data-theme="light"] .text-sky-100 {
    color: #0073bb !important;
}

/* Emerald badges (Online, healthy) */
html[data-theme="light"] .border-emerald-500\/30 {
    border-color: rgba(5,150,105,.25) !important;
}
html[data-theme="light"] .bg-emerald-500\/10 {
    background: rgba(5,150,105,.06) !important;
}
html[data-theme="light"] .text-emerald-200,
html[data-theme="light"] .text-emerald-100 {
    color: #047857 !important;
}

/* Amber badges (warnings) */
html[data-theme="light"] .border-amber-500\/30 {
    border-color: rgba(202,138,4,.25) !important;
}
html[data-theme="light"] .bg-amber-500\/10 {
    background: rgba(202,138,4,.06) !important;
}
html[data-theme="light"] .text-amber-100,
html[data-theme="light"] .text-amber-200 {
    color: #92400e !important;
}

/* Rose badges (errors, offline) */
html[data-theme="light"] .border-rose-500\/30,
html[data-theme="light"] .border-rose-400\/40 {
    border-color: rgba(220,38,38,.25) !important;
}
html[data-theme="light"] .bg-rose-500\/10 {
    background: rgba(220,38,38,.06) !important;
}

/* ═══════════════════════════════════
   BLACK-THEME – filter controls
   ═══════════════════════════════════ */
html[data-theme="black"] .ai-filter-control,
html[data-theme="black"] .audit-report-filter-control {
    background: rgba(28,28,28,.9) !important;
    border-color: rgba(255,255,255,.1) !important;
}
html[data-theme="black"] .ai-filter-action--secondary,
html[data-theme="black"] .audit-report-filter-action--secondary {
    background: rgba(28,28,28,.8) !important;
    border-color: rgba(255,255,255,.1) !important;
}
html[data-theme="black"] .ai-date-picker__button {
    background: rgba(40,40,40,.95) !important;
    border-color: rgba(255,255,255,.1) !important;
}
html[data-theme="black"] #levelsMenu,
html[data-theme="black"] #sourcesMenu {
    background: rgba(20,20,20,.98) !important;
    border-color: rgba(255,255,255,.08) !important;
}

/* ── Slate palette utilities ── */
.bg-slate-500\/10 { background-color: rgb(100 116 139 / 0.1); }
.bg-slate-600  { background-color: #475569; }
.bg-slate-700  { background-color: #334155; }
.bg-slate-700\/80 { background-color: rgb(51 65 85 / 0.8); }
.bg-slate-800  { background-color: #1e293b; }
.bg-slate-800\/35 { background-color: rgb(30 41 59 / 0.35); }
.bg-slate-800\/40 { background-color: rgb(30 41 59 / 0.4); }
.bg-slate-800\/60 { background-color: rgb(30 41 59 / 0.6); }
.bg-slate-900  { background-color: #0f172a; }
.bg-slate-900\/20 { background-color: rgb(15 23 42 / 0.2); }
.bg-slate-900\/30 { background-color: rgb(15 23 42 / 0.3); }
.bg-slate-900\/35 { background-color: rgb(15 23 42 / 0.35); }
.bg-slate-900\/60 { background-color: rgb(15 23 42 / 0.6); }
.bg-slate-900\/70 { background-color: rgb(15 23 42 / 0.7); }
.bg-slate-950\/60 { background-color: rgb(2 6 23 / 0.6); }
.bg-slate-950\/70 { background-color: rgb(2 6 23 / 0.7); }
.bg-slate-950    { background-color: #020617; }

.text-slate-100 { color: #f1f5f9; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }

.border-slate-500\/40 { border-color: rgb(100 116 139 / 0.4); }
.border-slate-500\/50 { border-color: rgb(100 116 139 / 0.5); }
.border-slate-500\/60 { border-color: rgb(100 116 139 / 0.6); }
.border-slate-600    { border-color: #475569; }
.border-slate-600\/30 { border-color: rgb(71 85 105 / 0.3); }
.border-slate-600\/40 { border-color: rgb(71 85 105 / 0.4); }
.border-slate-600\/50 { border-color: rgb(71 85 105 / 0.5); }
.border-slate-600\/60 { border-color: rgb(71 85 105 / 0.6); }

.divide-slate-600\/40 > :not([hidden]) ~ :not([hidden]) { border-color: rgb(71 85 105 / 0.4); }
.divide-slate-700\/50 > :not([hidden]) ~ :not([hidden]) { border-color: rgb(51 65 85 / 0.5); }
.divide-slate-700\/60 > :not([hidden]) ~ :not([hidden]) { border-color: rgb(51 65 85 / 0.6); }

.hover\:bg-slate-600:hover { background-color: #475569; }
.hover\:bg-slate-700:hover { background-color: #334155; }
.hover\:bg-slate-900\/20:hover { background-color: rgb(15 23 42 / 0.2); }
.ring-slate-500\/50 { --tw-ring-color: rgb(100 116 139 / 0.5); }
.placeholder-slate-400::placeholder { color: #94a3b8; }

/* ── BLACK theme: slate overrides (deeper near-black) ── */
html[data-theme="black"] .bg-slate-500\/10 { background-color: rgba(63,63,70,.08) !important; }
html[data-theme="black"] .bg-slate-900  { background-color: #000 !important; }
html[data-theme="black"] .bg-slate-800  { background-color: rgba(17,17,17,1) !important; }
html[data-theme="black"] .bg-slate-800\/35 { background-color: rgba(17,17,17,.35) !important; }
html[data-theme="black"] .bg-slate-800\/40 { background-color: rgba(17,17,17,.40) !important; }
html[data-theme="black"] .bg-slate-800\/60 { background-color: rgba(17,17,17,.70) !important; }
html[data-theme="black"] .bg-slate-700  { background-color: rgba(28,28,28,1) !important; }
html[data-theme="black"] .bg-slate-700\/80 { background-color: rgba(28,28,28,.86) !important; }
html[data-theme="black"] .bg-slate-600  { background-color: rgba(38,38,38,1) !important; }
html[data-theme="black"] .bg-slate-900\/20 { background-color: rgba(0,0,0,.20) !important; }
html[data-theme="black"] .bg-slate-900\/30 { background-color: rgba(0,0,0,.30) !important; }
html[data-theme="black"] .bg-slate-900\/35 { background-color: rgba(0,0,0,.35) !important; }
html[data-theme="black"] .bg-slate-900\/60 { background-color: rgba(0,0,0,.60) !important; }
html[data-theme="black"] .bg-slate-900\/70 { background-color: rgba(0,0,0,.70) !important; }
html[data-theme="black"] .bg-slate-950\/60 { background-color: rgba(0,0,0,.65) !important; }
html[data-theme="black"] .bg-slate-950\/70 { background-color: rgba(0,0,0,.75) !important; }
html[data-theme="black"] .bg-slate-950    { background-color: #000 !important; }
html[data-theme="black"] .hover\:bg-slate-600:hover { background-color: rgba(42,42,42,1) !important; }
html[data-theme="black"] .hover\:bg-slate-700:hover { background-color: rgba(32,32,32,1) !important; }
html[data-theme="black"] .hover\:bg-slate-900\/20:hover { background-color: rgba(0,0,0,.25) !important; }
html[data-theme="black"] .text-slate-100 { color: #e4e4e7 !important; }
html[data-theme="black"] .text-slate-200 { color: #d4d4d8 !important; }
html[data-theme="black"] .text-slate-300 { color: #a1a1aa !important; }
html[data-theme="black"] .text-slate-400 { color: #71717a !important; }
html[data-theme="black"] .border-slate-500\/40 { border-color: rgba(63,63,70,.35) !important; }
html[data-theme="black"] .border-slate-500\/50 { border-color: rgba(63,63,70,.45) !important; }
html[data-theme="black"] .border-slate-500\/60 { border-color: rgba(63,63,70,.5) !important; }
html[data-theme="black"] .border-slate-600    { border-color: rgba(39,39,42,.8) !important; }
html[data-theme="black"] .border-slate-600\/30 { border-color: rgba(39,39,42,.45) !important; }
html[data-theme="black"] .border-slate-600\/40 { border-color: rgba(39,39,42,.6) !important; }
html[data-theme="black"] .border-slate-600\/50 { border-color: rgba(39,39,42,.65) !important; }
html[data-theme="black"] .border-slate-600\/60 { border-color: rgba(39,39,42,.7) !important; }
html[data-theme="black"] .divide-slate-600\/40 > :not([hidden]) ~ :not([hidden]) { border-color: rgba(39,39,42,.6) !important; }
html[data-theme="black"] .divide-slate-700\/50 > :not([hidden]) ~ :not([hidden]) { border-color: rgba(39,39,42,.5) !important; }
html[data-theme="black"] .divide-slate-700\/60 > :not([hidden]) ~ :not([hidden]) { border-color: rgba(39,39,42,.6) !important; }
html[data-theme="black"] .ring-slate-500\/50 { --tw-ring-color: rgba(63,63,70,.4) !important; }

/* ── LIGHT theme: slate overrides (white/light surfaces) ── */
html[data-theme="light"] .bg-slate-500\/10 { background-color: rgba(100,116,139,.06) !important; }
html[data-theme="light"] .bg-slate-900  { background-color: #ffffff !important; }
html[data-theme="light"] .bg-slate-800  { background-color: #ffffff !important; }
html[data-theme="light"] .bg-slate-800\/35 { background-color: rgba(241,245,249,.50) !important; }
html[data-theme="light"] .bg-slate-800\/40 { background-color: rgba(241,245,249,.55) !important; }
html[data-theme="light"] .bg-slate-800\/60 { background-color: rgba(255,255,255,.90) !important; }
html[data-theme="light"] .bg-slate-700  { background-color: #fafafa !important; }
html[data-theme="light"] .bg-slate-700\/80 { background-color: rgba(250,250,250,.92) !important; }
html[data-theme="light"] .bg-slate-600  { background-color: #e9ebed !important; }
html[data-theme="light"] .bg-slate-900\/20 { background-color: rgba(241,245,249,.25) !important; }
html[data-theme="light"] .bg-slate-900\/30 { background-color: rgba(241,245,249,.40) !important; }
html[data-theme="light"] .bg-slate-900\/35 { background-color: rgba(241,245,249,.45) !important; }
html[data-theme="light"] .bg-slate-900\/60 { background-color: rgba(241,245,249,.70) !important; }
html[data-theme="light"] .bg-slate-900\/70 { background-color: rgba(241,245,249,.80) !important; }
html[data-theme="light"] .bg-slate-950\/60 { background-color: rgba(241,245,249,.70) !important; }
html[data-theme="light"] .bg-slate-950\/70 { background-color: rgba(241,245,249,.80) !important; }
html[data-theme="light"] .bg-slate-950    { background-color: #f1f5f9 !important; }
html[data-theme="light"] .hover\:bg-slate-600:hover { background-color: #e9ebed !important; }
html[data-theme="light"] .hover\:bg-slate-700:hover { background-color: #f0f2f5 !important; }
html[data-theme="light"] .hover\:bg-slate-900\/20:hover { background-color: rgba(241,245,249,.30) !important; }
html[data-theme="light"] .text-slate-100 { color: #16191f !important; }
html[data-theme="light"] .text-slate-200 { color: #16191f !important; }
html[data-theme="light"] .text-slate-300 { color: #37475a !important; }
html[data-theme="light"] .text-slate-400 { color: #545b64 !important; }
html[data-theme="light"] .border-slate-500\/40 { border-color: rgba(161,161,170,.40) !important; }
html[data-theme="light"] .border-slate-500\/50 { border-color: rgba(161,161,170,.50) !important; }
html[data-theme="light"] .border-slate-500\/60 { border-color: rgba(161,161,170,.65) !important; }
html[data-theme="light"] .border-slate-600    { border-color: rgba(161,161,170,.70) !important; }
html[data-theme="light"] .border-slate-600\/30 { border-color: rgba(161,161,170,.35) !important; }
html[data-theme="light"] .border-slate-600\/40 { border-color: rgba(161,161,170,.45) !important; }
html[data-theme="light"] .border-slate-600\/50 { border-color: rgba(161,161,170,.55) !important; }
html[data-theme="light"] .border-slate-600\/60 { border-color: rgba(161,161,170,.60) !important; }
html[data-theme="light"] .divide-slate-600\/40 > :not([hidden]) ~ :not([hidden]) { border-color: rgba(161,161,170,.45) !important; }
html[data-theme="light"] .divide-slate-700\/50 > :not([hidden]) ~ :not([hidden]) { border-color: rgba(161,161,170,.50) !important; }
html[data-theme="light"] .divide-slate-700\/60 > :not([hidden]) ~ :not([hidden]) { border-color: rgba(161,161,170,.55) !important; }
html[data-theme="light"] .placeholder-slate-400::placeholder { color: #687078 !important; }
