@import url('./dataflow-brand.css');

.df-header-theme { display:flex; flex-shrink:0; gap:2px; padding:3px; border:1px solid var(--df-line); border-radius:999px; background:var(--df-bg); }
.df-header-theme button { display:grid; place-items:center; width:44px; height:44px; border:0; border-radius:999px; background:transparent; color:var(--df-muted); cursor:pointer; transition:background-color 150ms, color 150ms; }
.df-header-theme button svg { width:20px; height:20px; }
.df-header-theme .df-theme-moon, .dark .df-header-theme .df-theme-sun { display:none; }
.dark .df-header-theme .df-theme-moon { display:block; }
.df-header-theme button:hover { color:var(--df-fg); background:var(--df-soft); }
.df-header-theme button:focus-visible { outline:2px solid var(--df-accent); outline-offset:2px; }
@media(prefers-reduced-motion:reduce) { .df-header-theme button { transition:none; } }

/* Native Filament components share the Multiverso surface and spacing tokens. */
.fi-body, .fi-simple-layout {
    background: var(--df-canvas-glow), var(--df-ui-canvas);
    background-attachment: fixed;
}
.fi-topbar {
    background: var(--df-glass);
    border-bottom: 1px solid var(--df-glass-edge);
    box-shadow: 0 8px 32px rgb(0 0 0 / 5%);
}
.fi-logo { letter-spacing: -.045em; font-weight: 800; }
.fi-topbar-item-btn {
    border-radius: 999px;
    min-height: 44px;
    transition: background-color 160ms, color 160ms;
}
.fi-topbar-item.fi-active .fi-topbar-item-btn {
    background: var(--df-ui-soft);
    color: var(--df-ui-accent);
    box-shadow: inset 0 -2px var(--mv-red);
}
.fi-topbar-item.fi-active .fi-topbar-item-label { color: var(--df-ui-accent); }
.fi-header-heading {
    color: var(--df-ui-text);
    font-size: clamp(1.5rem, 2vw, 2rem);
    letter-spacing: -.045em;
    font-weight: 700;
}
.fi-header-subheading { color: var(--df-ui-muted); }
.fi-main { padding-top: 28px; }
.fi-btn {
    min-height: 44px;
    border-radius: 999px;
    font-weight: 600;
    transition: background-color 160ms, box-shadow 160ms;
}
.fi-btn.fi-color-primary:not(.fi-outlined) {
    background: linear-gradient(120deg, var(--mv-red), #f41a48);
    color: var(--mv-black);
    box-shadow: 0 4px 16px rgb(255 18 53 / 14%);
}
.fi-btn.fi-color-primary:not(.fi-outlined):hover {
    background: #ff3b58;
    color: var(--mv-black);
    box-shadow: 0 6px 20px rgb(255 18 53 / 22%);
}
.fi-section, .fi-ta-ctn, .fi-modal-window, .fi-simple-main {
    border-radius: 22px;
    background: var(--df-ui-surface);
    box-shadow: var(--df-ui-shadow);
}
.fi-section-header, .fi-ta-header { border-color: var(--df-ui-border); }
.fi-ta-header-cell { background: var(--df-ui-soft); }
.fi-ta-row:hover { background: var(--df-ui-soft); }
.fi-input-wrp { border-radius: 12px; }
.fi-simple-main { border: 1px solid var(--df-glass-edge); background: var(--df-card-light); }
.fi-simple-header .fi-logo { color: var(--df-ui-accent); font-size: 28px; }
.fi-sidebar { background: var(--df-glass); }
.fi-dropdown-panel { background: var(--df-glass); border: 1px solid var(--df-glass-edge); border-radius: 18px; }
.fi-wi-stats-overview-stat { background: var(--df-card-light); border-radius: 22px; }
.fi-wi-stats-overview-stat:first-child { background: var(--df-highlight); }
@supports (backdrop-filter: blur(16px)) {
    .fi-topbar, .fi-dropdown-panel { backdrop-filter: blur(16px); }
}
@media (max-width: 640px) {
    .fi-header-actions-ctn { width: 100%; }
    .fi-main { padding-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .fi-btn, .fi-topbar-item-btn { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
    .fi-topbar, .fi-sidebar, .fi-dropdown-panel { background: var(--df-ui-surface); backdrop-filter: none; }
}
