:root {
    --console-bg-top: #03111a;
    --console-bg-bottom: #041723;
    --console-panel: rgba(4, 28, 39, 0.94);
    --console-panel-deep: rgba(3, 16, 25, 0.98);
    --console-panel-soft: rgba(7, 37, 49, 0.86);
    --console-panel-hover: rgba(8, 48, 62, 0.92);
    --console-border: rgba(47, 214, 255, 0.22);
    --console-border-strong: rgba(60, 235, 255, 0.36);
    --console-line: rgba(41, 234, 255, 0.18);
    --console-glow: rgba(0, 188, 255, 0.18);
    --console-accent: #20f4ff;
    --console-accent-soft: #7be0ff;
    --console-accent-green: #11efc5;
    --console-accent-warning: #ffd166;
    --console-accent-danger: #ff6b81;
    --console-text: #d9f6ff;
    --console-text-strong: #ffffff;
    --console-text-muted: #84cbda;
    --console-text-subtle: #79adbb;
    --sidebar-w: 268px;
    --sidebar-collapsed-w: 92px;
    --header-h: 86px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow-panel:
        inset 0 1px 0 rgba(130, 252, 255, 0.12),
        inset 0 0 0 1px rgba(6, 89, 112, 0.22),
        0 0 24px rgba(0, 162, 214, 0.10);
    --transition: 0.24s ease;
    --console-font-display: "Bahnschrift", "Agency FB", "DengXian", "Microsoft YaHei UI", sans-serif;
    --console-font-body: "DengXian", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--console-font-body);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

body {
    color: var(--console-text);
}

a {
    color: var(--console-accent-soft);
    text-decoration: none;
}

a:hover {
    color: var(--console-text-strong);
}

code {
    color: var(--console-accent-soft);
    font-size: 0.95em;
}

.signal-dot {
    --signal-dot-size: 10px;
    --signal-dot-color: var(--console-accent);
    --signal-dot-glow: rgba(32, 244, 255, 0.75);
    width: var(--signal-dot-size);
    height: var(--signal-dot-size);
    display: inline-block;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--signal-dot-color);
    box-shadow: 0 0 12px var(--signal-dot-glow);
}

.signal-dot--sm {
    --signal-dot-size: 8px;
}

.signal-dot--md {
    --signal-dot-size: 10px;
}

.signal-dot--lg {
    --signal-dot-size: 12px;
}

.signal-dot--cyan {
    --signal-dot-color: #20f4ff;
    --signal-dot-glow: rgba(32, 244, 255, 0.75);
}

.signal-dot--green {
    --signal-dot-color: #11efc5;
    --signal-dot-glow: rgba(17, 239, 197, 0.72);
}

.signal-dot--warning {
    --signal-dot-color: #ffd166;
    --signal-dot-glow: rgba(255, 209, 102, 0.70);
}

.signal-dot--danger {
    --signal-dot-color: #ff6b81;
    --signal-dot-glow: rgba(255, 107, 129, 0.72);
}

.signal-dot--pulse {
    animation: signal-dot-pulse 2.6s ease-in-out infinite;
}

.console-body {
    background:
        radial-gradient(circle at 14% 12%, rgba(0, 235, 255, 0.14), transparent 22%),
        radial-gradient(circle at 86% 18%, rgba(0, 174, 255, 0.10), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(0, 235, 255, 0.08), transparent 36%),
        linear-gradient(180deg, var(--console-bg-top) 0%, var(--console-bg-bottom) 48%, var(--console-bg-top) 100%);
    overflow: hidden;
}

.console-body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(50, 124, 147, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50, 124, 147, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.22;
    pointer-events: none;
}

.app-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 12px;
    overflow: hidden;
}

.main-content {
    min-width: 0;
    min-height: 0;
    height: calc(100vh - 24px);
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.app-wrapper--sidebar {
    position: relative;
}

.app-wrapper--sidebar .main-content {
    gap: 12px;
    padding-left: 0;
}

.sidebar-drawer {
    position: fixed;
    left: 0;
    top: 12px;
    bottom: 12px;
    z-index: 40;
    width: calc(var(--sidebar-w) + 112px);
    pointer-events: none;
}

.sidebar-drawer__backdrop {
    position: fixed;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(32, 244, 255, 0.06), transparent 22%),
        rgba(2, 10, 16, 0.18);
    backdrop-filter: blur(5px);
    transition: opacity .28s ease, backdrop-filter .28s ease;
}

.sidebar-drawer__handle {
    position: absolute;
    left: 40px;
    top: 18px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1px solid rgba(72, 191, 220, 0.22);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(8, 36, 48, 0.96), rgba(4, 20, 30, 0.96)),
        linear-gradient(90deg, rgba(26, 214, 255, 0.14), rgba(26, 214, 255, 0));
    color: rgba(225, 247, 252, 0.96);
    box-shadow:
        inset 0 0 18px rgba(53, 236, 255, 0.08),
        0 10px 24px rgba(5, 18, 28, 0.22),
        0 0 0 1px rgba(53, 236, 255, 0.04);
    pointer-events: auto;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}

.sidebar-drawer__handle::before,
.sidebar-drawer__handle::after {
    content: "";
    position: absolute;
    border-radius: inherit;
    pointer-events: none;
}

.sidebar-drawer__handle::before {
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 1;
}

.sidebar-drawer__handle::after {
    inset: -6px;
    border: 1px solid rgba(38, 205, 239, 0.18);
    opacity: 0;
    transform: scale(0.94);
    transition: transform .2s ease, opacity .2s ease, border-color .2s ease;
}

.sidebar-drawer__handle:hover,
.sidebar-drawer__handle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(98, 248, 255, 0.34);
    background:
        linear-gradient(180deg, rgba(10, 54, 68, 0.98), rgba(5, 28, 39, 0.98)),
        linear-gradient(90deg, rgba(26, 214, 255, 0.2), rgba(26, 214, 255, 0));
    box-shadow:
        inset 0 0 22px rgba(53, 236, 255, 0.12),
        0 12px 28px rgba(5, 18, 28, 0.24),
        0 0 18px rgba(32, 244, 255, 0.12);
}

.sidebar-drawer__handle:hover::after,
.sidebar-drawer__handle:focus-visible::after,
.sidebar-drawer.is-open .sidebar-drawer__handle::after {
    transform: scale(1);
    opacity: 0.9;
    border-color: rgba(38, 205, 239, 0.2);
}

.sidebar-drawer__handle i {
    font-size: 15px;
}

.sidebar-drawer .sidebar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    min-height: auto;
    margin: 0;
    transform: translateX(calc(-100% - 20px)) scale(0.992);
    transform-origin: left center;
    opacity: 0;
    pointer-events: none;
    transition: transform .34s cubic-bezier(.22,.74,.18,1), opacity .26s ease, box-shadow .34s ease;
}

.sidebar-drawer:focus-within,
.sidebar-drawer.is-open {
    pointer-events: auto;
}

.sidebar-drawer.is-open .sidebar-drawer__backdrop {
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(8px);
}

.sidebar-drawer:focus-within .sidebar,
.sidebar-drawer.is-open .sidebar {
    transform: translateX(0) scale(1);
    opacity: 1;
    pointer-events: auto;
    box-shadow:
        var(--shadow-panel),
        0 24px 44px rgba(2, 10, 16, 0.42);
}

.sidebar-drawer:focus-within .sidebar-drawer__handle,
.sidebar-drawer.is-open .sidebar-drawer__handle {
    opacity: 0;
}

.child-overlay {
    position: fixed;
    inset: 0;
    z-index: 75;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    pointer-events: none;
}

.child-overlay__backdrop {
    position: absolute;
    inset: 0;
    opacity: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(32, 244, 255, 0.16), transparent 24%),
        radial-gradient(circle at 50% 62%, rgba(8, 110, 150, 0.14), transparent 32%),
        rgba(2, 10, 16, 0.84);
    backdrop-filter: blur(0);
    transition: opacity .28s ease, backdrop-filter .28s ease;
}

.child-overlay__panel {
    position: relative;
    width: 60vw;
    min-width: 760px;
    max-width: 60vw;
    height: min(calc(100vh - 56px), 940px);
    max-height: calc(100vh - 56px);
    padding: 0;
    transform: translateX(calc(100% + 64px));
    opacity: 0;
    transition: transform .42s cubic-bezier(.2,.78,.2,1), opacity .24s ease;
}

/* 产品详情字段较多，弹窗按桌面视口展开到接近全宽。 */
.child-overlay__panel--product-detail {
    width: 92vw;
    min-width: 0;
    max-width: 92vw;
}

.child-overlay__panel-frame {
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(2, 16, 25, 1), rgba(2, 12, 18, 0.996)),
        linear-gradient(135deg, rgba(26, 214, 255, 0.12), rgba(26, 214, 255, 0) 46%),
        radial-gradient(circle at 84% 16%, rgba(32, 244, 255, 0.11), transparent 28%);
    border: 1px solid rgba(78, 220, 244, 0.28);
    box-shadow:
        inset 0 0 0 1px rgba(142, 247, 255, 0.08),
        inset 0 32px 56px rgba(16, 81, 99, 0.18),
        0 38px 110px rgba(0, 0, 0, 0.52),
        0 0 36px rgba(0, 188, 255, 0.16);
    backdrop-filter: blur(48px) saturate(158%);
    overflow: hidden;
}

.child-overlay__panel-frame::before,
.child-overlay__panel-frame::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.child-overlay__panel-frame::before {
    left: 20px;
    right: 20px;
    top: 18px;
    height: 34px;
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(32, 244, 255, 0.24) 0 52px, transparent 52px calc(100% - 52px), rgba(32, 244, 255, 0.24) calc(100% - 52px) 100%),
        linear-gradient(180deg, rgba(10, 60, 76, 0.84), rgba(3, 18, 26, 0.26));
    box-shadow:
        inset 0 0 0 1px rgba(112, 238, 255, 0.10),
        0 0 22px rgba(32, 244, 255, 0.08);
}

.child-overlay__panel-frame::after {
    inset: 14px;
    border-radius: 24px;
    border: 1px solid rgba(98, 248, 255, 0.10);
    background:
        linear-gradient(90deg, rgba(32, 244, 255, 0.20), rgba(32, 244, 255, 0.20)) left 26px top 22px / 76px 2px no-repeat,
        linear-gradient(90deg, rgba(32, 244, 255, 0.20), rgba(32, 244, 255, 0.20)) right 26px top 22px / 76px 2px no-repeat,
        linear-gradient(180deg, rgba(32, 244, 255, 0.20), rgba(32, 244, 255, 0.20)) left 26px top 22px / 2px 24px no-repeat,
        linear-gradient(180deg, rgba(32, 244, 255, 0.20), rgba(32, 244, 255, 0.20)) right 26px top 22px / 2px 24px no-repeat;
}

.child-overlay__header,
.child-overlay__body {
    position: relative;
    z-index: 1;
}

.child-overlay__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding: 18px 34px 0 28px;
}

.child-overlay__title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.child-overlay__signal {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--console-accent), var(--console-accent-soft));
    box-shadow: 0 0 14px rgba(32, 244, 255, 0.42);
    animation: overlaySignalPulse 2.8s ease-in-out infinite;
}

.child-overlay__title {
    color: #e6fbff;
    font-size: 15px;
    font-weight: 800;
    font-family: var(--console-font-display);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.child-overlay__close {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(83, 139, 156, 0.24);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(10, 44, 56, 0.96), rgba(7, 29, 39, 0.94)),
        linear-gradient(90deg, rgba(26, 214, 255, 0.12), rgba(26, 214, 255, 0));
    color: rgba(183, 235, 246, 0.94);
    box-shadow:
        inset 0 0 14px rgba(53, 236, 255, 0.08),
        0 8px 20px rgba(5, 18, 28, 0.18);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.child-overlay__close:hover {
    transform: translateY(-1px);
    border-color: rgba(98, 248, 255, 0.32);
    box-shadow:
        inset 0 0 16px rgba(53, 236, 255, 0.12),
        0 10px 24px rgba(32, 244, 255, 0.12);
}

.child-overlay__body {
    height: calc(100% - 64px);
    padding: 14px 24px 24px 18px;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.child-overlay__body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.child-overlay__body .overlay-fragment {
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.child-overlay__body .subview-shell {
    width: 100%;
    min-height: auto;
    padding: 0;
    display: flex;
    justify-content: center;
}

.child-overlay__body .subview-shell::before,
.child-overlay__body .subview-shell::after {
    display: none;
}

.child-overlay__body .subview-window {
    width: min(100%, 1160px);
    max-width: 1160px;
    min-height: auto;
    margin: 0 auto;
    padding: 8px 24px 24px;
    border-radius: 24px;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.child-overlay__body .subview-window.product-detail-window {
    width: 100%;
    max-width: none;
}

.child-overlay__body .manage-page {
    width: 100%;
}

.child-overlay__body .manage-form,
.child-overlay__body .manage-card,
.child-overlay__body .card.shadow-sm,
.child-overlay__body .detail-placeholder {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.child-overlay__body .subview-window::before,
.child-overlay__body .subview-window::after {
    display: none;
}

.child-overlay__body .subview-window > *::before,
.child-overlay__body .subview-window > *::after {
    display: none;
}

.child-overlay.is-open {
    pointer-events: auto;
}

body.overlay-open {
    overflow: hidden;
}

.child-overlay.is-open .child-overlay__backdrop {
    opacity: 1;
    backdrop-filter: blur(24px) saturate(136%);
}

.child-overlay.is-open .child-overlay__panel {
    transform: translateX(0);
    opacity: 1;
}

.child-overlay.is-loading .child-overlay__body::before {
    content: "";
    position: absolute;
    inset: 0 18px 18px 14px;
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(32, 244, 255, 0.02), rgba(32, 244, 255, 0.10), rgba(32, 244, 255, 0.02));
    transform: translateX(-100%);
    animation: overlayLoadingSweep 1.2s linear infinite;
}

.child-overlay.is-loading .child-overlay__body::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border-radius: 50%;
    border: 2px solid rgba(32, 244, 255, 0.24);
    border-top-color: var(--console-accent);
    box-shadow: 0 0 18px rgba(32, 244, 255, 0.16);
    animation: appSpin 0.8s linear infinite;
}

.app-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 10, 16, 0.42);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
}

.app-loading-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.app-loading-overlay__panel {
    min-width: 168px;
    padding: 18px 22px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    border: 1px solid rgba(47, 214, 255, 0.22);
    background: linear-gradient(180deg, rgba(4, 28, 39, 0.98), rgba(3, 16, 25, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.app-loading-overlay__spinner {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    border: 2px solid rgba(32, 244, 255, 0.24);
    border-top-color: var(--console-accent);
    animation: appSpin 0.8s linear infinite;
}

.app-loading-overlay__text {
    color: var(--console-text-strong);
    font-family: var(--console-font-display);
    font-size: 13px;
    letter-spacing: 0.08em;
}

.app-flash-modal .modal-dialog {
    max-width: 440px;
}

.app-flash-modal__content {
    border: 1px solid rgba(47, 214, 255, 0.20);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(4, 28, 39, 0.98), rgba(3, 16, 25, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.44);
    overflow: hidden;
}

.app-flash-modal__header {
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid rgba(47, 214, 255, 0.12);
}

.app-flash-modal__icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(32, 244, 255, 0.12);
    color: var(--console-accent);
    flex: 0 0 38px;
}

.app-flash-modal__copy {
    min-width: 0;
    flex: 1;
}

.app-flash-modal__title {
    color: var(--console-text-strong);
    font-size: 15px;
    font-weight: 800;
    font-family: var(--console-font-display);
}

.app-flash-modal__subtitle {
    color: var(--console-text-subtle);
    font-size: 12px;
    margin-top: 2px;
}

.app-flash-modal__body {
    color: var(--console-text);
    line-height: 1.7;
    white-space: pre-wrap;
}

.app-flash-modal--success .app-flash-modal__icon {
    background: rgba(17, 239, 197, 0.12);
    color: var(--console-accent-green);
}

.app-flash-modal--danger .app-flash-modal__icon {
    background: rgba(255, 107, 129, 0.12);
    color: var(--console-accent-danger);
}

.sidebar,
.main-header,
.main-footer,
.stat-card,
.chart-card,
.data-card,
.filter-card,
.detail-placeholder {
    position: relative;
    background:
        linear-gradient(180deg, var(--console-panel), var(--console-panel-deep)),
        linear-gradient(90deg, rgba(26, 214, 255, 0.06), rgba(26, 214, 255, 0));
    border: 1px solid var(--console-border);
    box-shadow: var(--shadow-panel);
    backdrop-filter: blur(24px);
    overflow: hidden;
}

.screen-float-nav {
    position: fixed;
    left: 14px;
    top: 10px;
    z-index: 32;
    width: 188px;
    height: 188px;
    --screen-float-nav-center-x: 22px;
    --screen-float-nav-center-y: 32px;
}

.screen-float-nav__orb {
    position: absolute;
    left: var(--screen-float-nav-center-x);
    top: var(--screen-float-nav-center-y);
    width: 88px;
    height: 88px;
    border: none;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    transform: translate(-50%, -50%);
}

.screen-float-nav__orb-core {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    --signal-dot-size: 44px;
    transform: translate(-50%, -50%);
    box-shadow:
        inset 0 0 22px rgba(255, 255, 255, 0.18),
        0 0 26px rgba(32, 244, 255, 0.34),
        0 0 56px rgba(0, 188, 255, 0.18);
}

.screen-float-nav__orb-core::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.20);
    opacity: 0.8;
}

.screen-float-nav__orb-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(226, 238, 245, 0.48);
    box-shadow: 0 0 16px rgba(190, 222, 236, 0.10);
}

.screen-float-nav__orb-ring--one {
    animation: floatNavPulse 3.8s ease-in-out infinite;
}

.screen-float-nav__orb-ring--two {
    inset: 8px;
    border-color: rgba(220, 232, 240, 0.34);
    animation: floatNavPulse 3.8s ease-in-out 1.2s infinite;
}

.screen-float-nav__orb::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(236, 244, 250, 0.22), rgba(201, 220, 232, 0.10) 58%, transparent 74%);
    filter: blur(10px);
}

.screen-float-nav__panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.82);
    pointer-events: none;
    transition: opacity .26s ease, transform .26s ease;
}

.screen-float-nav.is-open .screen-float-nav__panel {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.screen-float-nav__tracks,
.screen-float-nav__orbit,
.screen-float-nav__manage,
.screen-float-nav__action {
    position: absolute;
    inset: 0;
}

.screen-float-nav__tracks {
    pointer-events: none;
}

.screen-float-nav__arc {
    position: absolute;
    left: 28px;
    top: 14px;
    border-radius: 50%;
    border: 1px solid rgba(47, 214, 255, 0.16);
    clip-path: polygon(48% 0, 100% 0, 100% 100%, 0 100%, 0 38%);
    box-shadow: 0 0 18px rgba(0, 188, 255, 0.08);
}

.screen-float-nav__arc--outer {
    width: 132px;
    height: 132px;
}

.screen-float-nav__arc--inner {
    left: 40px;
    top: 26px;
    width: 108px;
    height: 108px;
    border-color: rgba(47, 214, 255, 0.12);
    box-shadow: 0 0 14px rgba(0, 188, 255, 0.05);
}

.screen-float-nav__ray {
    position: absolute;
    left: var(--screen-float-nav-center-x);
    top: var(--screen-float-nav-center-y);
    width: 46px;
    height: 1px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(32, 244, 255, 0.34), rgba(32, 244, 255, 0));
    box-shadow: 0 0 10px rgba(32, 244, 255, 0.12);
    opacity: 0.8;
}

.screen-float-nav__ray--home {
    width: 48px;
    transform: rotate(-90deg);
}

.screen-float-nav__ray--product {
    width: 54px;
    transform: rotate(-28deg);
}

.screen-float-nav__ray--store {
    width: 54px;
    transform: rotate(34deg);
}

.screen-float-nav__ray--operation {
    width: 52px;
    transform: rotate(142deg);
}

.screen-float-nav__ray--logout {
    width: 52px;
    transform: rotate(-148deg);
}

.screen-float-nav__tooltip {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 12;
    min-width: 88px;
    padding: 7px 12px;
    border-radius: 12px;
    border: 1px solid rgba(47, 214, 255, 0.24);
    background:
        linear-gradient(180deg, rgba(6, 24, 34, 0.98), rgba(2, 12, 20, 0.98)),
        linear-gradient(90deg, rgba(26, 214, 255, 0.08), rgba(26, 214, 255, 0));
    box-shadow: 0 0 20px rgba(0, 188, 255, 0.12);
    color: #ddf5fb;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) translateX(-8px) scale(0.96);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.screen-float-nav__tooltip.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0) scale(1);
}

.screen-float-nav__node {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    color: #ddf5fb;
    text-decoration: none;
    border-radius: 50%;
    background:
        linear-gradient(180deg, rgba(8, 34, 44, 0.98), rgba(4, 20, 29, 0.98)),
        linear-gradient(90deg, rgba(26, 214, 255, 0.08), rgba(26, 214, 255, 0));
    border: 1px solid rgba(47, 214, 255, 0.28);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
    overflow: visible;
    z-index: 2;
    box-shadow:
        inset 0 0 16px rgba(53, 236, 255, 0.06),
        0 0 22px rgba(0, 188, 255, 0.10);
    font-weight: 700;
}

.screen-float-nav__node::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    opacity: 0.7;
}

.screen-float-nav__node i {
    width: auto;
    text-align: center;
    color: #8ee8f3;
    font-size: 15px;
}

.screen-float-nav__node span {
    display: none;
}

.screen-float-nav__node::after {
    content: attr(data-nav-label);
    position: absolute;
    left: calc(100% + 8px);
    top: 50%;
    z-index: 13;
    min-width: 88px;
    padding: 7px 12px;
    border-radius: 12px;
    border: 1px solid rgba(47, 214, 255, 0.24);
    background:
        linear-gradient(180deg, rgba(6, 24, 34, 0.98), rgba(2, 12, 20, 0.98)),
        linear-gradient(90deg, rgba(26, 214, 255, 0.08), rgba(26, 214, 255, 0));
    box-shadow: 0 0 20px rgba(0, 188, 255, 0.12);
    color: #ddf5fb;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-50%) translateX(-6px) scale(0.96);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.screen-float-nav__node:hover,
.screen-float-nav__node:focus-visible,
.screen-float-nav__node.is-active {
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(10, 72, 86, 0.98), rgba(6, 34, 46, 0.98)),
        linear-gradient(90deg, rgba(26, 214, 255, 0.12), rgba(26, 214, 255, 0));
    border-color: rgba(60, 235, 255, 0.42);
    box-shadow:
        inset 0 0 18px rgba(53, 236, 255, 0.12),
        0 0 22px rgba(20, 210, 255, 0.16);
    transform: scale(1.06);
    z-index: 5;
}

.screen-float-nav__node:hover::after,
.screen-float-nav__node:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0) scale(1);
}

.screen-float-nav__node:hover i,
.screen-float-nav__node:focus-visible i,
.screen-float-nav__node.is-active i {
    color: #ffffff;
}

.screen-float-nav__node--home {
    left: 73px;
    top: 2px;
}

.screen-float-nav__node--product {
    left: 128px;
    top: 42px;
}

.screen-float-nav__node--store {
    left: 128px;
    top: 102px;
}

.screen-float-nav__node--operation {
    left: 20px;
    top: 102px;
}

.screen-float-nav__action--logout {
    pointer-events: none;
}

.screen-float-nav__menu {
    position: absolute;
    left: 0;
    top: 180px;
    width: 208px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.screen-float-nav__manage {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px 0;
    border-top: 1px solid rgba(255,255,255,.1);
}

.screen-float-nav__action {
    position: relative;
    inset: auto;
    padding: 0 12px;
}

.screen-float-nav__action--logout {
    pointer-events: auto;
}

.screen-float-nav__section-label {
    display: block;
    padding-left: 4px;
    color: rgba(255,255,255,.5);
    font-size: 10px;
    letter-spacing: .08em;
}

.screen-float-nav__manage .screen-float-nav__node,
.screen-float-nav__action .screen-float-nav__node {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 40px;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 12px;
    border-radius: 14px;
}

.screen-float-nav__manage .screen-float-nav__node i,
.screen-float-nav__action .screen-float-nav__node i {
    width: 16px;
    font-size: 14px;
}

.screen-float-nav__manage .screen-float-nav__node span,
.screen-float-nav__action .screen-float-nav__node span {
    display: inline-block;
    color: inherit;
    font-size: 12px;
    white-space: nowrap;
}

.screen-float-nav__node--logout {
    left: 20px;
    top: 42px;
    pointer-events: auto;
}

.screen-float-nav__action .screen-float-nav__node--logout {
    left: auto;
    top: auto;
}

.console-float-nav .screen-float-nav__node--logout {
    color: #ffb3bf;
}

.console-float-nav .screen-float-nav__node--logout i {
    color: inherit;
}

.console-float-nav {
    width: 220px;
    height: 344px;
    --screen-float-nav-center-x: 24px;
    --screen-float-nav-center-y: 22px;
}

.console-float-nav .screen-float-nav__tracks {
    display: none;
}

.console-float-nav .screen-float-nav__panel {
    transform-origin: top left;
}

.console-float-nav .screen-float-nav__orbit,
.console-float-nav .screen-float-nav__manage,
.console-float-nav .screen-float-nav__action {
    inset: 0;
}

.console-float-nav .screen-float-nav__menu {
    top: 298px;
    width: 220px;
}

.console-float-nav .screen-float-nav__manage {
    max-height: calc(100vh - 390px);
    overflow-y: auto;
    padding-right: 6px;
}

.console-float-nav .screen-float-nav__node {
    width: 42px;
    height: 42px;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-radius: 50%;
    background:
        linear-gradient(180deg, rgba(8, 34, 44, 0.98), rgba(4, 20, 29, 0.98)),
        linear-gradient(90deg, rgba(26, 214, 255, 0.08), rgba(26, 214, 255, 0));
}

.console-float-nav .screen-float-nav__node::after {
    left: calc(100% + 10px);
}

.console-float-nav .screen-float-nav__node i {
    width: auto;
    font-size: 15px;
}

.console-float-nav .screen-float-nav__node span {
    display: none;
}

.console-float-nav .screen-float-nav__manage .screen-float-nav__node,
.console-float-nav .screen-float-nav__action .screen-float-nav__node {
    width: 100%;
    height: 40px;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 12px;
    border-radius: 14px;
}

.console-float-nav .screen-float-nav__manage .screen-float-nav__node span,
.console-float-nav .screen-float-nav__action .screen-float-nav__node span {
    display: inline-block;
}

.console-float-nav .screen-float-nav__node--home,
.console-float-nav .screen-float-nav__node--product,
.console-float-nav .screen-float-nav__node--store,
.console-float-nav .screen-float-nav__node--operation,
.console-float-nav .screen-float-nav__node--logout {
    left: 27px;
}

.console-float-nav .screen-float-nav__node--home {
    top: 90px;
}

.console-float-nav .screen-float-nav__node--product {
    top: 142px;
}

.console-float-nav .screen-float-nav__node--store {
    top: 194px;
}

.console-float-nav .screen-float-nav__node--operation {
    top: 246px;
}

.console-float-nav .screen-float-nav__node--logout {
    top: 298px;
}

.console-float-nav .screen-float-nav__action .screen-float-nav__node--logout {
    left: auto;
    top: auto;
}

@keyframes floatNavPulse {
    0%, 100% { transform: scale(1); opacity: .9; }
    50% { transform: scale(1.12); opacity: .38; }
}

.sidebar::before,
.main-header::before,
.main-footer::before,
.stat-card::after,
.chart-card::before,
.data-card::before,
.filter-card::before,
.detail-placeholder::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    border-top: 2px solid rgba(55, 239, 255, 0.48);
    border-left: 2px solid rgba(55, 239, 255, 0.48);
    pointer-events: none;
}

.sidebar::after,
.main-header::after,
.main-footer::after,
.chart-card::after,
.data-card::after,
.filter-card::after,
.detail-placeholder::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 28px;
    border-top: 2px solid rgba(55, 239, 255, 0.48);
    border-right: 2px solid rgba(55, 239, 255, 0.48);
    pointer-events: none;
}

.sidebar {
    width: var(--sidebar-w);
    min-height: calc(100vh - 24px);
    padding: 16px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: width var(--transition), transform var(--transition);
    z-index: 20;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.logo-area {
    flex: 1;
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(0, 204, 255, 0.14), rgba(0, 204, 255, 0.03));
    border: 1px solid rgba(47, 214, 255, 0.16);
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(14, 134, 156, 0.92), rgba(7, 78, 96, 0.92));
    color: var(--console-text-strong);
    font-size: 18px;
    box-shadow: 0 0 14px rgba(19, 238, 255, 0.18);
    flex-shrink: 0;
}

.logo-text {
    color: var(--console-text-strong);
    font-size: 16px;
    font-weight: 800;
}

.logo-subtext {
    margin-top: 4px;
    color: var(--console-text-muted);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(8, 58, 72, 0.84), rgba(8, 34, 45, 0.84));
    border: 1px solid rgba(55, 217, 241, 0.16);
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 69, 84, 0.88);
    color: var(--console-accent-soft);
    font-size: 22px;
    flex-shrink: 0;
}

.user-name {
    color: var(--console-text-strong);
    font-weight: 700;
}

.user-role {
    margin-top: 3px;
    color: var(--console-text-muted);
    font-size: 12px;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 4px 0 12px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sidebar-nav::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.nav-item {
    list-style: none;
    width: 100%;
    flex: 0 0 auto;
}

.nav-item--section {
    margin: 18px 0 10px;
}

.sidebar-divider {
    margin: 0 0 8px;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(32, 244, 255, 0), rgba(32, 244, 255, 0.46), rgba(32, 244, 255, 0));
    opacity: 1;
}

.sidebar-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 2px;
    color: rgba(157, 231, 242, 0.82);
    font-size: 10px;
    font-weight: 800;
    font-family: var(--console-font-display);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sidebar-section-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--console-accent), var(--console-accent-soft));
    box-shadow: 0 0 10px rgba(32, 244, 255, 0.32);
}

.nav-link,
.logout-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    margin-bottom: 8px;
    color: var(--console-text);
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(8, 39, 50, 0.78), rgba(6, 27, 36, 0.56));
    border: 1px solid rgba(42, 114, 132, 0.12);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}

.nav-link::before,
.logout-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--console-accent), var(--console-accent-soft));
    box-shadow: 0 0 12px rgba(32, 244, 255, 0.34);
    opacity: 0;
    transform: scaleY(0.4);
    transition: opacity .22s ease, transform .22s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(139, 227, 242, 0.18);
    box-shadow: 0 0 0 rgba(32, 244, 255, 0);
    transform: translateY(-50%) scale(0.72);
    opacity: 0;
    transition: transform .22s ease, opacity .22s ease, box-shadow .22s ease, background .22s ease;
}

.nav-link:hover,
.nav-link.active,
.logout-btn:hover {
    color: var(--console-text-strong);
    background: linear-gradient(90deg, rgba(10, 73, 90, 0.94), rgba(7, 44, 57, 0.9));
    border-color: rgba(77, 180, 201, 0.34);
    box-shadow: inset 0 0 0 1px rgba(98, 232, 255, 0.06), 0 10px 24px rgba(1, 20, 31, 0.16);
    transform: translateX(3px);
}

.nav-link.active {
    background: linear-gradient(90deg, rgba(12, 98, 118, 0.98), rgba(8, 55, 69, 0.94));
    border-color: rgba(98, 248, 255, 0.34);
    box-shadow:
        inset 0 0 0 1px rgba(98, 248, 255, 0.08),
        inset 0 0 24px rgba(32, 244, 255, 0.08),
        0 12px 28px rgba(1, 20, 31, 0.18);
}

.nav-link:hover::before,
.nav-link.active::before,
.logout-btn:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
    background: var(--console-accent);
    box-shadow: 0 0 10px rgba(32, 244, 255, 0.32);
    transform: translateY(-50%) scale(1);
}

.nav-icon {
    width: 18px;
    text-align: center;
    color: var(--console-accent-soft);
    flex-shrink: 0;
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon,
.logout-btn:hover .nav-icon {
    color: var(--console-text-strong);
}

.nav-text {
    white-space: nowrap;
}

.sidebar-footer {
    padding-top: 12px;
    border-top: 1px solid rgba(47, 214, 255, 0.12);
}

.logout-btn {
    width: 100%;
    color: #ffb3bf !important;
}

.logout-btn .nav-icon {
    color: inherit;
}

.sidebar-toggle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(83, 139, 156, 0.24);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(10, 44, 56, 0.96), rgba(7, 29, 39, 0.94)),
        linear-gradient(90deg, rgba(26, 214, 255, 0.12), rgba(26, 214, 255, 0));
    color: rgba(183, 235, 246, 0.94);
    box-shadow:
        inset 0 0 14px rgba(53, 236, 255, 0.08),
        0 8px 20px rgba(5, 18, 28, 0.18);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.sidebar-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(98, 248, 255, 0.32);
    box-shadow:
        inset 0 0 16px rgba(53, 236, 255, 0.12),
        0 10px 24px rgba(32, 244, 255, 0.12);
}

.sidebar-toggle--mobile {
    display: none;
    flex-shrink: 0;
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-w);
}

.sidebar.collapsed .logo-area {
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
}

.sidebar.collapsed .logo-text,
.sidebar.collapsed .logo-subtext,
.sidebar.collapsed .user-info,
.sidebar.collapsed .nav-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.sidebar.collapsed .sidebar-user,
.sidebar.collapsed .nav-link,
.sidebar.collapsed .logout-btn {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

.sidebar.collapsed .sidebar-user {
    padding-top: 12px;
    padding-bottom: 12px;
}

.main-header {
    min-height: 82px;
    margin: 0;
    padding: 10px 18px;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr minmax(280px, 460px) 1fr;
    align-items: center;
    gap: 14px;
}

.main-header__side {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.main-header__side--left {
    padding-left: 72px;
}

.main-header__side--right {
    justify-content: flex-end;
}

.main-header__line {
    flex: 1;
    min-width: 36px;
    height: 1px;
    background: linear-gradient(90deg, rgba(41, 234, 255, 0), rgba(41, 234, 255, 0.8), rgba(41, 234, 255, 0));
    box-shadow: 0 0 12px rgba(41, 234, 255, 0.22);
}

.main-header__center {
    position: relative;
    height: 60px;
}

.main-header__frame {
    position: absolute;
    inset: 0;
    clip-path: polygon(8% 0, 92% 0, 100% 24%, 94% 100%, 6% 100%, 0 24%);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(10, 54, 71, 0.96), rgba(4, 29, 42, 0.96)),
        linear-gradient(90deg, rgba(77, 245, 255, 0.12), rgba(77, 245, 255, 0));
    border: 1px solid rgba(63, 227, 255, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(141, 255, 255, 0.18),
        0 0 22px rgba(0, 188, 255, 0.10);
}

.main-header__frame::before,
.main-header__frame::after {
    content: "";
    position: absolute;
    top: 10px;
    width: 54px;
    height: 14px;
    border-top: 2px solid rgba(98, 248, 255, 0.72);
}

.main-header__frame::before {
    left: 24px;
    border-left: 2px solid rgba(98, 248, 255, 0.72);
    transform: skewX(-34deg);
}

.main-header__frame::after {
    right: 24px;
    border-right: 2px solid rgba(98, 248, 255, 0.72);
    transform: skewX(34deg);
}

.main-header__title-group {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-header__eyebrow {
    color: #78d7e9;
    font-size: 10px;
    font-weight: 700;
    font-family: var(--console-font-display);
    letter-spacing: 0.22em;
    margin-bottom: 3px;
}

.header-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--console-text);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--console-font-display);
    letter-spacing: 0.08em;
    background: rgba(8, 44, 56, 0.58);
    border: 1px solid rgba(60, 184, 207, 0.20);
    white-space: nowrap;
}

.page-title {
    color: var(--console-text-strong);
    font-size: 21px;
    font-weight: 800;
    font-family: var(--console-font-display);
    letter-spacing: 0.16em;
    text-shadow: 0 0 18px rgba(60, 244, 255, 0.18);
}

.main-header__breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    color: var(--console-text-subtle);
    font-size: 10px;
    font-family: var(--console-font-display);
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.main-header__breadcrumb-item {
    opacity: 0.82;
}

.main-header__breadcrumb-item.is-current {
    color: var(--console-text-strong);
    opacity: 1;
}

.main-header__breadcrumb-sep {
    color: rgba(123, 224, 255, 0.56);
}

.header-time {
    color: var(--console-text-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    font-size: 11px;
    font-family: var(--console-font-display);
    letter-spacing: 0.08em;
}

.header-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(8, 44, 56, 0.58);
    border: 1px solid rgba(60, 184, 207, 0.20);
    color: var(--console-text);
    white-space: nowrap;
    font-family: var(--console-font-display);
}

.header-user .text-primary {
    color: var(--console-accent-soft) !important;
}

.page-content {
    flex: 1;
    min-height: 0;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 6px 14px;
}

.page-content::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.main-footer {
    min-height: 58px;
    margin: 0;
    padding: 0 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--console-text);
}

.main-footer .text-muted {
    color: var(--console-text-muted) !important;
}

.stat-card,
.chart-card,
.data-card,
.filter-card {
    border-radius: var(--radius-lg);
}

.stat-card {
    min-height: 156px;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    background:
        linear-gradient(180deg, rgba(4, 28, 39, 0.98), rgba(3, 16, 25, 0.98)),
        radial-gradient(circle at 100% 0, var(--stat-tint), transparent 42%);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--console-border-strong);
    box-shadow:
        inset 0 1px 0 rgba(130, 252, 255, 0.16),
        inset 0 0 0 1px rgba(6, 89, 112, 0.30),
        0 0 24px rgba(0, 188, 255, 0.16);
}

.stat-card--blue { --stat-tint: rgba(32, 244, 255, 0.16); --stat-icon: #20f4ff; }
.stat-card--teal { --stat-tint: rgba(17, 239, 197, 0.16); --stat-icon: #11efc5; }
.stat-card--purple { --stat-tint: rgba(123, 224, 255, 0.16); --stat-icon: #7be0ff; }
.stat-card--orange { --stat-tint: rgba(255, 209, 102, 0.16); --stat-icon: #ffd166; }
.stat-card--red { --stat-tint: rgba(255, 107, 129, 0.16); --stat-icon: #ff6b81; }

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--stat-icon), rgba(255, 255, 255, 0));
}

.stat-card > * {
    position: relative;
    z-index: 1;
}

.stat-card__icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(9, 57, 72, 0.72), rgba(7, 37, 49, 0.72));
    border: 1px solid rgba(56, 193, 221, 0.18);
    color: var(--stat-icon);
    font-size: 22px;
    box-shadow: 0 0 16px var(--stat-tint);
    flex-shrink: 0;
}

.stat-card__body {
    min-width: 0;
}

.stat-card__label {
    color: var(--console-text-muted);
    font-size: 12px;
    font-family: var(--console-font-display);
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.stat-card__value {
    color: var(--console-text-strong);
    font-size: 34px;
    font-weight: 800;
    font-family: var(--console-font-display);
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: 0.06em;
    text-shadow: 0 0 18px rgba(48, 226, 255, 0.24);
}

.stat-card__sub {
    color: var(--console-text-subtle);
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stat-card__sub::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--stat-icon);
    box-shadow: 0 0 10px var(--stat-tint);
    flex-shrink: 0;
}

.chart-card__header,
.data-card__header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding: 0 16px;
    background: linear-gradient(90deg, rgba(0, 204, 255, 0.16), rgba(0, 204, 255, 0.03));
    border-bottom: 1px solid rgba(47, 214, 255, 0.16);
}

.chart-card__header > *,
.data-card__header > * {
    position: relative;
    z-index: 1;
}

.chart-card__header::after,
.data-card__header::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(32, 244, 255, 0.64), rgba(32, 244, 255, 0));
    opacity: 0.6;
    pointer-events: none;
}

.chart-card__title,
.data-card__title {
    margin: 0;
    color: var(--console-text-strong);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    font-family: var(--console-font-body);
    letter-spacing: 0.08em;
}

.chart-card__title::before,
.data-card__title::before {
    content: "";
    width: 14px;
    height: 10px;
    background: linear-gradient(90deg, #11efff, #54b9ff);
    transform: skewX(-32deg);
    box-shadow: 0 0 12px rgba(17, 239, 255, 0.28);
    flex-shrink: 0;
    margin-right:6px
}

.chart-card__body,
.data-card__body {
    padding: 10px;
}

.filter-card {
    padding: 0;
}

.filter-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding: 0 14px;
    background:
        linear-gradient(90deg, rgba(0, 204, 255, 0.14), rgba(0, 204, 255, 0.03)),
        linear-gradient(180deg, rgba(10, 54, 71, 0.32), rgba(4, 29, 42, 0));
    border-bottom: 1px solid rgba(47, 214, 255, 0.14);
}

.filter-card__title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-card__marker {
    width: 14px;
    height: 10px;
    background: linear-gradient(90deg, #11efff, #54b9ff);
    transform: skewX(-32deg);
    box-shadow: 0 0 12px rgba(17, 239, 255, 0.28);
    flex-shrink: 0;
    margin-right: 6px
}

.filter-card__title {
    margin: 0;
    color: var(--console-text-strong);
    font-size: 13px;
    font-weight: 800;
    font-family: var(--console-font-body);
    letter-spacing: 0.08em;
}

.filter-card__subtext {
    margin: 1px 0 0;
    color: var(--console-text-subtle);
    font-size: 10px;
    line-height: 1.35;
}

.filter-card__body {
    position: relative;
    z-index: 1;
    padding: 10px 14px 12px;
}

.table-responsive {
    position: relative;
    z-index: 1;
}

.table {
    margin-bottom: 0;
    color: var(--console-text);
    --bs-table-bg: transparent;
    --bs-table-color: var(--console-text);
    --bs-table-border-color: rgba(47, 214, 255, 0.10);
    --bs-table-hover-bg: rgba(32, 244, 255, 0.08);
    --bs-table-hover-color: var(--console-text-strong);
}

.table thead th {
    background: rgba(8, 34, 44, 0.56);
    color: var(--console-text-muted);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--console-font-display);
    letter-spacing: 0.08em;
    padding: 14px 16px;
    border-bottom-color: rgba(47, 214, 255, 0.14);
    white-space: nowrap;
}

.table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(47, 214, 255, 0.08);
    color: var(--console-text);
    transition: color var(--transition), box-shadow var(--transition), background var(--transition);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table-hover > tbody > tr:hover > * {
    color: var(--console-text-strong);
    box-shadow: inset 0 0 0 999px rgba(20, 73, 92, 0.34);
}

.table a.text-reset,
.table .fw-semibold.text-reset {
    color: var(--console-text) !important;
}

.table a.text-reset:hover {
    color: var(--console-accent-soft) !important;
}

.form-control,
.form-select,
.input-group-text {
    min-height: 40px;
    border-radius: var(--radius-sm);
    border-color: rgba(60, 184, 207, 0.20);
    background: rgba(8, 34, 44, 0.62);
    color: var(--console-text);
}

.form-control::placeholder {
    color: rgba(132, 203, 218, 0.72);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--console-border-strong);
    box-shadow: 0 0 0 4px rgba(32, 244, 255, 0.10);
    background: rgba(8, 44, 56, 0.82);
    color: var(--console-text-strong);
}

.form-select option {
    color: #041723;
}

.input-group > .input-group-text {
    border-right: none;
}

.input-group > .form-control,
.input-group > .form-select {
    border-left: none;
}

.input-group > .btn {
    border-left: none;
}

.form-label {
    color: var(--console-text-muted);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--console-font-display);
    letter-spacing: 0.08em;
    margin-bottom: 5px;
}

.form-check-label {
    color: var(--console-text-muted);
}

.form-check-input {
    border-color: rgba(60, 184, 207, 0.30);
    background-color: rgba(8, 34, 44, 0.62);
}

.form-check-input:checked {
    background-color: var(--console-accent);
    border-color: var(--console-accent);
}

.btn {
    border-radius: 14px;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    border: 1px solid rgba(32, 244, 255, 0.20);
    background: linear-gradient(135deg, #0ea5b8, #097a92 52%, #14bfd1);
    color: var(--console-text-strong);
    font-family: var(--console-font-display);
    letter-spacing: 0.08em;
    box-shadow: 0 14px 24px rgba(0, 188, 255, 0.18);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #11bfd6, #0a89a4 52%, #16d9ea);
    color: var(--console-text-strong);
}

.btn-outline-primary {
    border-color: rgba(60, 184, 207, 0.28);
    color: var(--console-accent-soft);
    background: rgba(8, 34, 44, 0.56);
    font-family: var(--console-font-display);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    border-color: var(--console-border-strong);
    background: rgba(8, 58, 72, 0.84);
    color: var(--console-text-strong);
}

.btn-outline-secondary {
    border-color: rgba(60, 184, 207, 0.20);
    color: var(--console-text-muted);
    background: rgba(8, 34, 44, 0.56);
    font-family: var(--console-font-display);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    border-color: rgba(255, 209, 102, 0.26);
    background: rgba(48, 42, 15, 0.46);
    color: #ffe7aa;
}

.btn-link {
    text-decoration: none;
}

.pagination {
    --bs-pagination-bg: rgba(8, 34, 44, 0.84);
    --bs-pagination-border-color: rgba(47, 214, 255, 0.16);
    --bs-pagination-color: var(--console-text);
    --bs-pagination-hover-bg: rgba(8, 58, 72, 0.90);
    --bs-pagination-hover-border-color: var(--console-border-strong);
    --bs-pagination-hover-color: var(--console-text-strong);
    --bs-pagination-focus-bg: rgba(8, 58, 72, 0.90);
    --bs-pagination-focus-box-shadow: 0 0 0 3px rgba(32, 244, 255, 0.10);
    --bs-pagination-active-bg: rgba(8, 84, 102, 0.94);
    --bs-pagination-active-border-color: var(--console-border-strong);
    --bs-pagination-disabled-bg: rgba(8, 34, 44, 0.42);
    --bs-pagination-disabled-color: rgba(121, 173, 187, 0.58);
    gap: 3px;
}

.page-link {
    min-width: 28px;
    min-height: 28px;
    padding: 3px 8px;
    border-radius: 8px !important;
    font-size: 11px;
}

.table-footer-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-top: 1px solid rgba(47, 214, 255, 0.10);
    background: linear-gradient(180deg, rgba(4, 20, 29, 0.72), rgba(3, 16, 25, 0.92));
}

.table-footer-compact__meta {
    color: var(--console-text-muted);
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
}

.table-footer-compact nav {
    margin-left: auto;
}

.badge {
    font-weight: 700;
    font-family: var(--console-font-display);
    letter-spacing: 0.06em;
}

.bg-primary {
    background: linear-gradient(90deg, rgba(0, 191, 255, 0.86), rgba(19, 238, 255, 0.86)) !important;
    color: #062531 !important;
}

.bg-success {
    background: linear-gradient(90deg, rgba(17, 239, 197, 0.88), rgba(95, 255, 214, 0.82)) !important;
    color: #05231c !important;
}

.bg-warning {
    background: linear-gradient(90deg, rgba(255, 209, 102, 0.92), rgba(255, 232, 167, 0.88)) !important;
    color: #3d2800 !important;
}

.bg-danger {
    background: linear-gradient(90deg, rgba(255, 107, 129, 0.92), rgba(255, 154, 168, 0.86)) !important;
    color: #34111a !important;
}

.bg-secondary {
    background: rgba(121, 173, 187, 0.18) !important;
    color: var(--console-text) !important;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    font-family: var(--console-font-display);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 16px rgba(0, 188, 255, 0.10);
}

.rank-badge--1 { background: linear-gradient(135deg, #ffd166, #ffb703); color: #382200; }
.rank-badge--2 { background: linear-gradient(135deg, #dbefff, #8fd5ff); color: #0c2432; }
.rank-badge--3 { background: linear-gradient(135deg, #ffb38a, #ff7b54); color: #381708; }
.rank-badge--other { background: rgba(121, 173, 187, 0.18); color: var(--console-text); }

.soft-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--console-font-display);
    line-height: 1.2;
    white-space: nowrap;
}

.soft-badge--primary {
    color: #b8f6ff;
    background: rgba(32, 244, 255, 0.12);
    border-color: rgba(32, 244, 255, 0.20);
}

.soft-badge--info {
    color: #a6ffef;
    background: rgba(17, 239, 197, 0.12);
    border-color: rgba(17, 239, 197, 0.18);
}

.soft-badge--success {
    color: #ccffef;
    background: rgba(41, 214, 128, 0.14);
    border-color: rgba(41, 214, 128, 0.18);
}

.soft-badge--warning {
    color: #ffe7aa;
    background: rgba(255, 209, 102, 0.14);
    border-color: rgba(255, 209, 102, 0.20);
}

.soft-badge--danger {
    color: #ffd0d7;
    background: rgba(255, 107, 129, 0.14);
    border-color: rgba(255, 107, 129, 0.20);
}

.soft-badge--muted {
    color: var(--console-text);
    background: rgba(121, 173, 187, 0.14);
    border-color: rgba(121, 173, 187, 0.18);
}

.product-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(47, 214, 255, 0.16);
    background: rgba(8, 34, 44, 0.56);
    cursor: zoom-in;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-thumb:hover {
    transform: scale(1.04);
    border-color: rgba(60, 235, 255, 0.36);
    box-shadow: 0 10px 24px rgba(0, 188, 255, 0.18);
}

.product-thumb-placeholder {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px dashed rgba(47, 214, 255, 0.24);
    background: rgba(8, 34, 44, 0.56);
    color: var(--console-text-subtle);
}

.product-name {
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-preview {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.image-preview.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.image-preview__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 10, 16, 0.88);
    backdrop-filter: blur(12px);
}

.image-preview__dialog {
    position: relative;
    z-index: 1;
    max-width: min(92vw, 1120px);
    max-height: calc(100vh - 64px);
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(4, 28, 39, 0.98), rgba(3, 16, 25, 0.98));
    border: 1px solid rgba(47, 214, 255, 0.22);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.46);
}

.image-preview__img {
    display: block;
    max-width: min(88vw, 1080px);
    max-height: calc(100vh - 108px);
    border-radius: 14px;
    background: rgba(8, 34, 44, 0.56);
}

.image-preview__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(47, 214, 255, 0.24);
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(10, 44, 56, 0.96), rgba(7, 29, 39, 0.94));
    color: #e6fbff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.detail-hero {
    min-height: calc(100vh - 240px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
}

.detail-placeholder {
    width: min(100%, 760px);
    padding: 42px 36px;
    border-radius: 28px;
    text-align: center;
}

.detail-placeholder__icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(14, 134, 156, 0.92), rgba(7, 78, 96, 0.92));
    color: var(--console-text-strong);
    font-size: 30px;
    box-shadow: 0 0 20px rgba(32, 244, 255, 0.18);
}

.detail-placeholder__icon--store {
    background: linear-gradient(180deg, rgba(17, 181, 154, 0.92), rgba(7, 112, 95, 0.92));
}

.detail-placeholder__icon--danger {
    background: linear-gradient(180deg, rgba(255, 107, 129, 0.92), rgba(186, 47, 74, 0.92));
}

.detail-placeholder__eyebrow {
    color: var(--console-accent-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
}

.detail-placeholder__title {
    margin: 0 0 14px;
    color: var(--console-text-strong);
    font-size: 32px;
    font-weight: 800;
}

.detail-placeholder__desc {
    max-width: 580px;
    margin: 0 auto;
    color: var(--console-text-muted);
    font-size: 15px;
    line-height: 1.9;
}

.detail-placeholder__meta {
    margin-top: 14px;
    color: var(--console-text-subtle);
    font-size: 13px;
}

.detail-placeholder__tags {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.detail-placeholder__action {
    margin-top: 24px;
    min-width: 148px;
}

.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: var(--console-text-subtle);
}

.empty-state i {
    display: block;
    margin-bottom: 12px;
    font-size: 36px;
    opacity: 0.5;
}

.table-action-btn {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(47, 214, 255, 0.18);
    background: rgba(8, 34, 44, 0.56);
    color: var(--console-text-muted);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.table-action-btn:hover {
    color: var(--console-text-strong);
    background: rgba(8, 58, 72, 0.84);
    border-color: var(--console-border-strong);
}

.th-sort {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.th-sort:hover {
    color: var(--console-text-strong);
}

.th-sort .sort-icon {
    font-size: 10px;
    margin-left: 4px;
    opacity: 0.4;
}

.th-sort.asc .sort-icon,
.th-sort.desc .sort-icon {
    opacity: 1;
    color: var(--console-accent-soft);
}

.num-highlight-green { color: var(--console-accent-green); font-weight: 700; }
.num-highlight-blue { color: var(--console-accent-soft); font-weight: 700; }
.num-highlight-teal { color: var(--console-accent); font-weight: 700; }

.store-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.store-status.active { background: rgba(17, 239, 197, 0.12); color: #bffff0; }
.store-status.suspended { background: rgba(255, 209, 102, 0.14); color: #ffe7aa; }
.store-status.closed { background: rgba(121, 173, 187, 0.16); color: var(--console-text-muted); }

.platform-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.lc-new { background: rgba(32, 244, 255, 0.12); color: #b8f6ff; }
.lc-active { background: rgba(17, 239, 197, 0.12); color: #a6ffef; }
.lc-mature { background: rgba(123, 224, 255, 0.12); color: #d4f7ff; }
.lc-declining { background: rgba(255, 209, 102, 0.14); color: #ffe7aa; }
.lc-discontinued { background: rgba(255, 107, 129, 0.14); color: #ffd0d7; }

.filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--console-text-subtle);
    font-size: 12px;
    cursor: pointer;
    transition: color var(--transition);
}

.filter-reset:hover {
    color: var(--console-text-strong);
}

.op-avatar {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(14, 134, 156, 0.92), rgba(7, 78, 96, 0.92));
    color: var(--console-text-strong);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.op-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.op-info-name {
    color: var(--console-text-strong);
    font-size: 13px;
    font-weight: 600;
}

.op-info-email {
    color: var(--console-text-subtle);
    font-size: 11px;
}

.alert-danger {
    border-color: rgba(255, 107, 129, 0.24);
    background: rgba(82, 18, 30, 0.72);
    color: #ffd0d7;
}

.header-sync-btn {
    min-width: 110px;
}

.header-sync-btn.loading {
    opacity: 0.78;
    cursor: wait;
}

.sync-spinning {
    animation: sync-spin 0.9s linear infinite;
}

.app-inline-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.36);
    border-top-color: currentColor;
    animation: appSpin 0.8s linear infinite;
}

@keyframes sync-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes appSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes signal-dot-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.18); }
}

.text-primary { color: var(--console-accent-soft) !important; }
.text-success { color: var(--console-accent-green) !important; }
.text-danger { color: var(--console-accent-danger) !important; }
.text-muted { color: var(--console-text-muted) !important; }

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(3, 16, 25, 0.72);
}

::-webkit-scrollbar-thumb {
    background: rgba(71, 143, 160, 0.48);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(103, 181, 199, 0.62);
}

@media (max-width: 992px) {
    .main-header {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 14px 16px 16px;
    }

    .main-header__side,
    .main-header__side--right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .main-header__side--left {
        padding-left: 0;
    }

    .main-header__center {
        order: -1;
        width: 100%;
    }

    .main-header__line {
        display: none;
    }

    .stat-card__value {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .console-body {
        overflow: auto;
    }

    .app-wrapper {
        padding: 8px;
        gap: 8px;
    }

    .app-wrapper--sidebar {
        display: block;
    }

    .app-wrapper--sidebar .main-content {
        padding-left: 0;
    }

    .sidebar-drawer {
        left: 8px;
        top: 8px;
        bottom: 8px;
        width: min(82vw, 290px);
    }

    .sidebar-drawer__handle {
        display: none;
    }

    .sidebar-drawer__backdrop {
        background: rgba(2, 10, 16, 0.34);
    }

    .sidebar-drawer .sidebar {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        min-height: auto;
        width: min(82vw, 290px);
        transform: translateX(calc(-100% - 16px)) scale(1);
        box-shadow:
            var(--shadow-panel),
            0 18px 38px rgba(0, 7, 12, 0.42);
    }

    .sidebar-drawer.is-open .sidebar {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .sidebar-toggle--mobile {
        display: inline-flex;
    }

    .child-overlay__panel {
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
        height: calc(100vh - 16px);
        max-height: calc(100vh - 16px);
        padding: 0;
    }

    .child-overlay__panel-frame {
        inset: 0;
        border-radius: 22px;
    }

    .child-overlay__header {
        padding: 16px 24px 0 20px;
    }

    .child-overlay__body {
        padding: 10px 12px 12px 10px;
    }

    .child-overlay__body .subview-window {
        padding: 42px 12px 12px;
    }

    .main-content {
        min-height: calc(100vh - 16px);
    }

    .main-header {
        padding: 12px 14px 14px;
    }

    .main-header__side--left {
        justify-content: flex-start;
    }

    .main-header__side--left .main-header__line:first-of-type {
        display: none;
    }

    .page-content {
        overflow: visible;
        padding: 0;
    }

    .sidebar-nav {
        padding-right: 2px;
    }

    .sidebar.collapsed {
        width: min(82vw, 290px);
    }

    .sidebar.collapsed .logo-area {
        justify-content: flex-start;
        padding-left: 14px;
        padding-right: 14px;
    }

    .sidebar.collapsed .logo-text,
    .sidebar.collapsed .logo-subtext,
    .sidebar.collapsed .user-info,
    .sidebar.collapsed .nav-text {
        opacity: 1;
        width: auto;
        overflow: visible;
    }

    .sidebar.collapsed .sidebar-user,
    .sidebar.collapsed .nav-link,
    .sidebar.collapsed .logout-btn {
        justify-content: flex-start;
        padding-left: 14px;
        padding-right: 14px;
    }

    .main-header,
    .main-footer {
        margin: 0 0 12px;
    }

    .main-header__center {
        height: 68px;
    }

    .main-header__frame::before,
    .main-header__frame::after {
        width: 44px;
    }

    .main-header__frame::before {
        left: 20px;
    }

    .main-header__frame::after {
        right: 20px;
    }

    .page-content {
        overflow: visible;
        padding: 0;
    }

    .page-title {
        font-size: 20px;
        letter-spacing: 0.12em;
    }

    .main-header__breadcrumbs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        text-align: center;
    }

    .main-header__eyebrow {
        font-size: 10px;
        letter-spacing: 0.16em;
    }

    .main-header__side {
        flex-wrap: wrap;
    }

    .main-header__side--right {
        gap: 10px;
    }

    .header-chip,
    .header-user {
        min-height: 38px;
        font-size: 11px;
    }

    .filter-card__header,
    .filter-card__body {
        padding-left: 12px;
        padding-right: 12px;
    }

    .filter-card__header {
        min-height: 52px;
        align-items: flex-start;
        padding-top: 9px;
        padding-bottom: 7px;
    }

    .filter-card__subtext {
        display: none;
    }

    .table-footer-compact {
        align-items: flex-start;
        flex-direction: column;
        padding: 10px 12px;
    }

    .table-footer-compact__meta {
        white-space: normal;
    }

    .table-footer-compact nav {
        margin-left: 0;
        width: 100%;
    }

    .table-footer-compact .pagination {
        justify-content: flex-start;
    }

    .filter-card,
    .data-card,
    .stat-card,
    .detail-placeholder {
        border-radius: 20px;
    }

    .stat-card__value {
        font-size: 26px;
    }

    .detail-placeholder {
        padding: 28px 20px;
    }

    .detail-placeholder__title {
        font-size: 26px;
    }
}

@keyframes overlaySignalPulse {
    0%, 100% {
        opacity: 0.68;
        transform: scale(0.88);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes overlayLoadingSweep {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
