:root {
    color-scheme: light;
    --brand-yellow: #FCED30;
    --brand-blue: #7DA7F8;
    --hub-radius-xl: 0.75rem;
    --hub-radius-lg: 0.62rem;
    --hub-radius-md: 0.5rem;
    --hub-radius-pill: 999px;
    --hub-shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.05);
    --hub-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.05);
    --hub-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08);
    --hub-shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.42);
    --hub-border: rgba(229, 231, 235, 0.95);
    --hub-surface: #ffffff;
    --hub-soft-surface: #f8f9fa;
    --hub-text: #111827;
    --hub-text-soft: #64748b;
    --hub-text-muted: #9ca3af;
}

* {
    scrollbar-gutter: auto;
    scrollbar-width: thin;
    scrollbar-color: rgb(0 0 0) rgb(0 0 0 / 8%);
}

*::-webkit-scrollbar {
    width: 0.7rem;
    height: 0.7rem;
}

*::-webkit-scrollbar-track {
    background: rgb(0 0 0 / 8%);
    border-radius: var(--hub-radius-pill);
}

*::-webkit-scrollbar-thumb {
    background: rgb(0 0 0);
    border-radius: var(--hub-radius-pill);
    border: 2px solid rgb(0 0 0 / 8%);
}

.hub-body {
    background: #f8f9fa;
    font-family: "Open Sans", ui-sans-serif, system-ui, sans-serif;
}

.bg-grid-mask {
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.09) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(15, 23, 42, 0.28), transparent 70%);
}

.glass-shell {
    border-radius: 1.35rem;
    background:
        linear-gradient(135deg, rgba(8, 15, 31, 0.92), rgba(15, 23, 42, 0.88) 58%, rgba(15, 118, 110, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 48px rgba(8, 15, 31, 0.14);
    backdrop-filter: blur(18px);
}

.site-header-shell {
    width: 100%;
    max-width: none;
}

.shell-brand {
    font-family: "Sora", sans-serif;
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: #f8fafc;
}

.shell-caption {
    margin-top: 0.35rem;
    font-size: 0.84rem;
    line-height: 1.35rem;
    color: rgba(203, 213, 225, 0.9);
}

.shell-user-chip,
.shell-count-chip {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--hub-shadow-soft);
}

.shell-user-chip {
    border-radius: var(--hub-radius-pill);
    padding: 0.42rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
}

.shell-toggle {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: var(--hub-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--hub-shadow-soft);
    transition:
        transform 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease;
}

.shell-toggle:hover,
.shell-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    box-shadow: var(--hub-shadow-card);
    transform: translateY(-1px);
}

.shell-nav-panel {
    margin-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.75rem;
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    min-height: 2.45rem;
    border-radius: var(--hub-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.6rem 0.86rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: rgba(226, 232, 240, 0.78);
    box-shadow: var(--hub-shadow-soft);
    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

.nav-pill:hover,
.nav-pill:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    box-shadow: var(--hub-shadow-card);
}

.nav-pill-active {
    border-color: rgba(103, 232, 249, 0.32);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(34, 197, 94, 0.14));
    color: #fff;
}

.nav-pill-muted {
    cursor: default;
    color: rgba(226, 232, 240, 0.52);
}

.shell-count-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    border-radius: var(--hub-radius-md);
    padding: 0.52rem 0.82rem;
    font-size: 0.84rem;
    color: #cbd5e1;
}

.button-light,
.button-accent,
.action-button,
.auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--hub-radius-md);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
    box-shadow: var(--hub-shadow-soft);
}

.button-light {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #fff;
    padding: 0.62rem 0.92rem;
    color: #0f172a;
}

.button-accent {
    border: 1px solid rgba(103, 232, 249, 0.25);
    background: rgba(103, 232, 249, 0.9);
    padding: 0.62rem 0.92rem;
    color: #082f49;
}

.button-light:hover,
.button-accent:hover,
.action-button:hover,
.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--hub-shadow-card);
}

.flash-card {
    border-radius: var(--hub-radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.86);
    padding: 0.8rem 1rem;
    box-shadow: var(--hub-shadow-soft);
    backdrop-filter: blur(10px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.6rem;
    width: fit-content;
    border: 1px solid rgba(203, 213, 225, 0.78);
    border-radius: var(--hub-radius-pill);
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.9), rgba(241, 245, 249, 0.88));
    padding: 0.32rem 0.68rem;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #475569;
    box-shadow: var(--hub-shadow-soft);
}

.compact-grid {
    width: 100%;
}

.compact-grid > .grid-stack-item > .grid-stack-item-content {
    inset: 0;
    overflow: visible;
    background: transparent;
    border-radius: var(--hub-radius-xl);
    box-shadow: 0 9px 22px rgba(15, 23, 42, 0.08);
}

.bento-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--hub-border);
    border-radius: var(--hub-radius-xl);
    padding: 1rem;
    background: var(--hub-surface);
    box-shadow: var(--hub-shadow-card);
    backdrop-filter: blur(18px);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.bento-card-fixed {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.bento-card-content {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.bento-scroll {
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    width: calc(100% + 0.72rem);
    margin-right: -0.72rem;
    padding-right: 0.72rem;
}

.dark-bento .eyebrow {
    border-color: rgba(125, 211, 252, 0.34);
    background: rgba(255, 255, 255, 0.14);
    color: #bae6fd;
}

.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 35%);
}

.bento-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hub-shadow-hover);
}

.dark-bento {
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.24), transparent 24%),
        radial-gradient(circle at 90% 16%, rgba(16, 185, 129, 0.18), transparent 24%),
        linear-gradient(135deg, rgba(8, 15, 31, 0.98), rgba(15, 23, 42, 0.95) 56%, rgba(15, 118, 110, 0.9));
    border-color: rgba(255, 255, 255, 0.08);
}

.panel-title-hero,
.panel-title-xl,
.panel-title-lg,
.panel-title-md,
.card-title {
    font-family: "Sora", sans-serif;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: var(--hub-text);
}

.panel-title-hero {
    margin-top: 0.4rem;
    font-size: 1.95rem;
    line-height: 1.04;
}

.panel-title-xl {
    margin-top: 0.34rem;
    font-size: 1.5rem;
    line-height: 1.08;
}

.panel-title-lg {
    margin-top: 0.34rem;
    font-size: 1.24rem;
    line-height: 1.14;
}

.panel-title-md,
.card-title {
    font-size: 1.02rem;
    line-height: 1.22;
}

.text-on-dark {
    color: #fff;
}

.panel-copy,
.panel-copy-soft,
.tiny-copy {
    color: var(--hub-text-soft);
}

.panel-copy {
    margin-top: 0.55rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #5b6b80;
}

.panel-copy-soft {
    margin-top: 0.55rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #55657b;
}

.copy-on-dark {
    color: rgba(226, 232, 240, 0.82);
}

.tiny-copy {
    font-size: 0.75rem;
    line-height: 1.35;
}

.stat-grid {
    display: grid;
    gap: 0.7rem;
}

.dark-stat-card,
.soft-card,
.soft-card-tight,
.meta-card,
.note-card,
.engine-card,
.auth-highlight-card {
    border: 1px solid rgba(203, 213, 225, 0.72);
    border-radius: var(--hub-radius-lg);
    box-shadow: var(--hub-shadow-soft);
}

.dark-stat-card {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.85rem;
    backdrop-filter: blur(12px);
}

.soft-card {
    background: rgba(248, 250, 252, 0.86);
    padding: 0.78rem;
}

.soft-card-tight {
    background: rgba(248, 250, 252, 0.92);
    padding: 0.72rem;
}

.meta-grid {
    display: grid;
    gap: 0.55rem;
}

.meta-card {
    background: rgba(248, 250, 252, 0.98);
    padding: 0.72rem;
}

.meta-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hub-text-muted);
}

.meta-value {
    margin-top: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.count-badge,
.badge-live,
.badge-namespace,
.badge-dark,
.engine-pill,
.status-pill,
.subtle-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--hub-radius-pill);
    box-shadow: var(--hub-shadow-soft);
}

.count-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(248, 250, 252, 0.98);
    padding: 0.5rem 0.78rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #475569;
}

.badge-live {
    border: 1px solid rgba(167, 243, 208, 0.9);
    background: rgba(236, 253, 245, 0.98);
    padding: 0.28rem 0.6rem;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #047857;
}

.badge-namespace,
.subtle-pill {
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(241, 245, 249, 0.98);
    padding: 0.26rem 0.58rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #475569;
}

.badge-dark {
    background: #0f172a;
    padding: 0.26rem 0.58rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
}

.search-input,
.auth-form input[type="text"],
.auth-form input[type="password"] {
    width: 100%;
    border-radius: var(--hub-radius-md);
    border: 1px solid rgba(203, 213, 225, 0.95);
    background: rgba(255, 255, 255, 0.92);
    padding: 0.68rem 0.82rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--hub-text);
    box-shadow: var(--hub-shadow-soft);
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.search-input:focus,
.auth-form input[type="text"]:focus,
.auth-form input[type="password"]:focus {
    border-color: rgba(34, 211, 238, 0.65);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
    outline: none;
}

.app-tile {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(217, 225, 239, 0.95);
    border-radius: var(--hub-radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    padding: 1rem;
    box-shadow: var(--hub-shadow-soft);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.app-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(103, 232, 249, 0.32);
    box-shadow: var(--hub-shadow-card);
}

.app-badge {
    display: inline-flex;
    align-items: center;
    border-radius: var(--hub-radius-pill);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(20, 184, 166, 0.12));
    padding: 0.34rem 0.65rem;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0f766e;
    box-shadow: var(--hub-shadow-soft);
}

.empty-bento {
    border: 1px dashed rgba(148, 163, 184, 0.48);
    border-radius: var(--hub-radius-lg);
    background: rgba(248, 250, 252, 0.76);
    padding: 1rem;
    box-shadow: var(--hub-shadow-soft);
}

.action-button {
    background: #0f172a;
    padding: 0.64rem 0.84rem;
    color: #fff;
}

.code-shell {
    border-radius: var(--hub-radius-lg);
    background: #0f172a;
    padding: 0.92rem;
    color: #f8fafc;
    box-shadow: var(--hub-shadow-soft);
}

.note-card {
    background: rgba(248, 250, 252, 0.96);
    padding: 0.72rem;
}

.engine-card {
    background: rgba(248, 250, 252, 0.96);
    padding: 0.72rem;
}

.engine-pill {
    border: 1px solid rgba(186, 230, 253, 0.95);
    background: rgba(240, 249, 255, 0.98);
    padding: 0.26rem 0.62rem;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0369a1;
}

.status-pill {
    padding: 0.26rem 0.62rem;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.status-ready {
    border: 1px solid rgba(167, 243, 208, 0.95);
    background: rgba(236, 253, 245, 0.98);
    color: #047857;
}

.status-draft {
    border: 1px solid rgba(253, 230, 138, 0.95);
    background: rgba(255, 251, 235, 0.98);
    color: #b45309;
}

.status-review {
    border: 1px solid rgba(165, 243, 252, 0.95);
    background: rgba(236, 254, 255, 0.98);
    color: #0f766e;
}

.table-shell {
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: var(--hub-radius-lg);
    box-shadow: var(--hub-shadow-soft);
}

.table-head-cell {
    padding: 0.72rem 0.95rem;
}

.table-body-cell {
    padding: 0.72rem 0.95rem;
}

.auth-highlight-grid {
    display: grid;
    gap: 0.7rem;
}

.auth-highlight-card {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.82rem;
    backdrop-filter: blur(12px);
}

.auth-submit {
    width: 100%;
    background: #0f172a;
    padding: 0.9rem 1rem;
    color: #fff;
}

.auth-error {
    border-radius: var(--hub-radius-md);
    border: 1px solid rgba(254, 205, 211, 0.95);
    background: rgba(255, 241, 242, 0.98);
    padding: 0.72rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #be123c;
    box-shadow: var(--hub-shadow-soft);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    transition:
        opacity 580ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 580ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.data-bar-fill {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.data-bar-fill.is-visible {
    transform: scaleX(1);
}

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

@media (max-width: 991px) {
    .compact-grid {
        min-height: auto !important;
    }

    .shell-nav-panel {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (min-width: 640px) {
    .bento-card {
        padding: 1.08rem;
    }

    .panel-title-hero {
        font-size: 2.3rem;
    }

    .shell-brand {
        font-size: 1.9rem;
    }

    .stat-grid,
    .auth-highlight-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Datacook UI v0 redesign */
.hub-layout {
    display: flex;
    min-height: 100vh;
    background: var(--hub-surface-page);
}

.hub-sidebar {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    flex: 0 0 16rem;
    width: 16rem;
    height: 100vh;
    flex-direction: column;
    background: black;
    overflow: hidden;
}

.hub-sidebar-header {
    -padding: 2.7rem 1.9rem 2.85rem;
    border-bottom: 1px solid color-mix(in srgb, var(--brand-primary) 20%, white);
}


.auth-right{
    background: black;
}


.hub-brand,
.hub-mobile-brand {
    font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.32rem;
    -font-weight: 800;
    letter-spacing: 0;
    color: var(--brand-primary);
}

.hub-brand-logo,
.hub-mobile-brand-logo {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.hub-client-logo-shell {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -min-height: 8.2rem;
    min-width: 20rem;
    max-width: 100%;
    padding: 1rem 0rem;
}

.hub-client-logo-shell-mobile {
    min-height: 3.1rem;
    min-width: 7.8rem;
    padding-bottom: 0.82rem;
}

.hub-datacook-logo-shell{
    display: inline-flex;
    width: 100%;
    -justify-content: center;
    -align-items: center;
    -text-align: center;
    padding: 1rem 0rem 1rem 2rem;
}

.hub-client-logo-image {
    display: block;
    -max-width: 23rem;
    max-height: 5rem;
    -width: auto;
    height: auto;
    object-fit: contain;
}

.hub-client-logo-shell-mobile .hub-client-logo-image {
    -max-width: 8.75rem;
    max-height: 2.35rem;
}

.hub-client-logo-signature {
    position: static;
    display: block;
    margin-top: 0.2rem;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    color: inherit;
    opacity: 0.9;
    text-align: center;
}

.hub-sidebar-nav {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    padding: 2.2rem 0 1.4rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.hub-sidebar-scroll-hint {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem 0.75rem;
    font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--hub-text-inverse) 78%, var(--brand-primary));
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.25rem);
    transition: opacity 180ms ease, transform 180ms ease;
    padding:0;letter-spacing: 5px;
}

.hub-sidebar-scroll-hint::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 10px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), color-mix(in srgb, var(--hub-surface-inverse) 36%, transparent));
}

.hub-sidebar-scroll-hint.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hub-sidebar-scroll-hint-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    animation: hub-sidebar-scroll-hint-bounce 1.2s ease-in-out infinite;
}

@keyframes hub-sidebar-scroll-hint-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(0.2rem); }
}

.hub-nav-item {
    position: relative;
    display: flex;
    min-height: 3.35rem;
    align-items: center;
    gap: 1.05rem;
    border-left: 4px solid transparent;
    padding: 0 0.5rem;
    font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.78rem;
    -font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--hub-text-inverse) 88%, white);
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease;
}

.hub-nav-item i {
    width: 1rem;
    flex: 0 0 1rem;
    font-size: 1rem;
    line-height: 1;
}

.hub-nav-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hub-nav-item:hover,
.hub-nav-item:focus-visible {
    background: color-mix(in srgb, var(--brand-primary) 18%, transparent);
    color: var(--brand-primary);
    outline: none;
}

.hub-nav-item.active {
    border-left-color: var(--brand-primary);
    background: color-mix(in srgb, var(--brand-primary) 24%, transparent);
    color: var(--brand-primary);
}

.hub-nav-empty {
    margin: 0 1.6rem;
    border: 1px dashed color-mix(in srgb, var(--hub-text-inverse) 18%, transparent);
    border-radius: var(--hub-radius-md);
    padding: 0.72rem 0.85rem;
    font-size: 0.78rem;
    color: color-mix(in srgb, var(--hub-text-inverse) 64%, transparent);
}

.hub-sidebar-footer {
    padding: 1.75rem 1.9rem 1.75rem;
}

.hub-user-card {
    position: relative;
    border-radius: var(--hub-radius-md);
    background: color-mix(in srgb, var(--hub-surface-inverse) 82%, white 18%);
    padding: 1rem
}

.hub-admin-toggle {    
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: color-mix(in srgb, var(--hub-text-inverse) 62%, var(--brand-primary));
    background: color-mix(in srgb, var(--hub-surface-inverse) 74%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand-primary) 24%, white);
    border-radius: 999px;
    padding: 0.06rem 0.2rem 0.06rem 0.3rem;
    z-index: 2;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.22);
}

.hub-admin-label {
    display: inline;
    margin: 0;
    font-size: 0.46rem;
    line-height: 1;
    color: color-mix(in srgb, var(--hub-text-inverse) 58%, var(--brand-primary));
}
.hub-user-label{
    color: color-mix(in srgb, var(--hub-text-inverse) 58%, var(--brand-primary));
}
.hub-user-name{
    color: var(--hub-text-inverse);
}
.switch {
    position: relative;
    display: inline-block;
    width: 1.05rem;
    height: 0.52rem;
    flex-shrink: 0;
    cursor: pointer;
}

.switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: color-mix(in srgb, var(--hub-text-inverse) 24%, transparent);
    transition: background 160ms ease;
}

.slider:before {
    content: "";
    position: absolute;
    height: 0.4rem;
    width: 0.4rem;
    left: 0.06rem;
    bottom: 0.06rem;
    background: color-mix(in srgb, var(--hub-text-inverse) 88%, white);
    transition: transform 160ms ease, background 160ms ease;
}

.switch input:checked + .slider {
    background: color-mix(in srgb, var(--brand-primary) 45%, transparent);
}

.switch input:checked + .slider:before {
    transform: translateX(0.42rem);
    background: var(--brand-primary);
}

.slider.round {
    border-radius: 999px;
}

.slider.round:before {
    border-radius: 999px;
}

.hub-admin-toggle.is-off {
    color: color-mix(in srgb, var(--hub-text-inverse) 45%, var(--brand-secondary));
    border-color: color-mix(in srgb, var(--brand-secondary) 30%, transparent);
}

.hub-nav-item.admin-hidden {
    display: none;
}

.hub-user-card span {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hub-user-card strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.9rem;
}

.hub-logout-button {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, white);
    border-radius: var(--hub-radius-md);
    padding: 0.62rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: color-mix(in srgb, var(--hub-text-inverse) 88%, white);
    transition:
        background-color 160ms ease,
        color 160ms ease,
        border-color 160ms ease;
}

.hub-logout-button:hover,
.hub-logout-button:focus-visible {
    border-color: color-mix(in srgb, var(--brand-primary) 42%, white);
    background: color-mix(in srgb, var(--brand-primary) 14%, transparent);
    color: var(--brand-primary);
    outline: none;
}

.hub-main {
    width: calc(100% - 16rem);
    min-width: 0;
    flex: 1 1 auto;
    padding: 2rem;
}


.hub-mobile-bar {
    position: sticky;
    top: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    border-bottom: 1px solid color-mix(in srgb, var(--brand-primary) 18%, white);
    background: color-mix(in srgb, var(--hub-surface-inverse) 94%, black);
    padding: 0 1rem;
}

.hub-mobile-toggle {
    display: inline-flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid color-mix(in srgb, var(--brand-primary) 20%, white);
    border-radius: var(--hub-radius-md);
    color: var(--hub-text-inverse);
}

.hub-sidebar-overlay {
    display: none;
}

.panel-title-hero,
.panel-title-xl,
.panel-title-lg,
.panel-title-md,
.card-title,
.shell-brand {
    font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
    letter-spacing: 0;
    color: #000;
}

.panel-title-hero {
    margin-top: 0.55rem;
    font-size: 2.08rem;
    line-height: 1.05;
    font-weight: 800;
}

.panel-title-xl {
    font-size: 1.35rem;
    font-weight: 800;
}

.panel-title-lg {
    font-size: 1.04rem;
    font-weight: 800;
}

.eyebrow,
.meta-label,
.table-head-cell {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
    font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #9ca3af;
}

.bento-card,
.app-tile,
.soft-card,
.soft-card-tight,
.meta-card,
.note-card,
.engine-card,
.table-shell,
.flash-card {
    border: 1px solid var(--hub-border);
    border-radius: var(--hub-radius-md);
    background: #fff;
    box-shadow: var(--hub-shadow-card);
    backdrop-filter: none;
}

.bento-card {
    padding: 1.5rem;
}

.bento-card::before,
.app-tile::before {
    content: none;
}

.bento-card:hover,
.app-tile:hover {
    transform: translateY(-1px);
    border-color: rgba(125, 167, 248, 0.45);
    box-shadow: var(--hub-shadow-hover);
}

.dark-bento {
    background: #fff;
    border-color: var(--hub-border);
}

.dark-bento .eyebrow,
.text-on-dark,
.copy-on-dark {
    color: inherit;
}

.panel-copy,
.panel-copy-soft,
.tiny-copy {
    color: #64748b;
}

.action-button,
.button-accent,
.auth-submit {
    border: 1px solid var(--brand-yellow);
    border-radius: var(--hub-radius-pill);
    background: var(--brand-yellow);
    color: #000;
    box-shadow: none;
    flex: 0 0 auto;
    min-height: 2.75rem;
    padding-inline: 1.05rem;
}

.hub-app-toolbar {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 100%;
}

.hub-app-search {
    flex: 0 1 16rem;
    min-width: min(100%, 13.75rem);
}

.hub-app-search .search-input {
    width: 100%;
}

.button-light {
    border-color: #111827;
    border-radius: var(--hub-radius-pill);
    background: transparent;
    color: #111827;
}

.action-button:hover,
.button-accent:hover,
.button-light:hover,
.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--hub-shadow-hover);
}

.app-badge,
.badge-namespace,
.subtle-pill,
.count-badge {
    border-radius: var(--hub-radius-pill);
    background: #f3f4f6;
    color: #64748b;
    box-shadow: none;
}

.search-input,
.auth-form input[type="text"],
.auth-form input[type="password"] {
    border-radius: var(--hub-radius-md);
    background: #fff;
    box-shadow: none;
}

.search-input:focus,
.auth-form input[type="text"]:focus,
.auth-form input[type="password"]:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(125, 167, 248, 0.16);
}

.table-shell {
    overflow: auto;
}

.table-head-cell {
    background: #f9fafb;
    padding: 0.78rem 1rem;
    color: #9ca3af;
}

.table-body-cell {
    border-top: 1px solid #f3f4f6;
    padding: 0.72rem 1rem;
    font-size: 0.75rem;
    color: #374151;
}

[data-reveal] {
    transform: translateY(10px);
    transition:
        opacity 360ms ease,
        transform 360ms ease;
}

@media (max-width: 1023px) {
    .hub-layout {
        display: block;
    }

    .hub-sidebar {
        position: fixed;
        left: 0;
        top: 4rem;
        height: calc(100vh - 4rem);
        transform: translateX(-100%);
        transition: transform 220ms ease;
    }

    .hub-sidebar-header {
        display: none;
    }

    .hub-sidebar.is-open {
        transform: translateX(0);
    }

    .hub-sidebar-overlay.is-open {
        position: fixed;
        inset: 4rem 0 0 0;
        z-index: 55;
        display: block;
        background: rgba(0, 0, 0, 0.42);
    }

    .hub-main {
        width: 100%;
        padding: 1.5rem;
    }

    .compact-grid.grid-stack {
        display: grid;
        gap: 1rem;
        height: auto !important;
    }

    .compact-grid.grid-stack > .grid-stack-item {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        transform: none !important;
    }

    .compact-grid.grid-stack > .grid-stack-item > .grid-stack-item-content {
        position: relative !important;
        inset: auto !important;
        height: auto !important;
    }
}

@media (max-width: 640px) {
    .hub-main {
        padding: 1rem;
    }

    .panel-title-hero {
        font-size: 1.65rem;
    }
}

/* DO NOT TOUCH */
/* Custom styles for plotly charts */
/* bar */
g.point > path {
            filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.1));
    }
/* pie */
g.slice > path {
            filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.1));
    }
/* bubble */
g > path.point {
            filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.1));
    }
/* lines */
g.lines > path.js-line {
            filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.1));
    }
/* boxplot */
g.trace > path {
  /*fill: rgb(255, 0, 0) !important;*/
  filter: drop-shadow(3px 5px 2px rgba(0, 0, 0, 0.1));
  stroke-width: 1px !important;
}
/* markers lines */
g.shape-group > path {
  filter: drop-shadow(3px 5px 2px rgba(0, 0, 0, 0.1));
  opacity: 0.8 !important;
}
/* annotations */
g.annotation {
  filter: drop-shadow(3px 5px 2px rgba(0, 0, 0, 0.1));
}
/* Global UI feedback helpers (toast/spinner/shimmer) */
.dc-toast {
    z-index: 2147483647;
    max-width: min(420px, calc(100vw - 2rem));
    min-width: 220px;
    border-radius: 0.7rem;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
    color: #0f172a;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.dc-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.dc-toast-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.62rem 0.72rem;
}

.dc-toast-body {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.83rem;
    line-height: 1.32;
    word-break: break-word;
}

.dc-toast-icon {
    font-size: 1rem;
    flex: 0 0 auto;
}

.dc-toast-close {
    border: 0;
    background: transparent;
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1;
    opacity: 0.42;
    cursor: pointer;
    padding: 0 0.2rem;
}

.dc-toast-close:hover {
    opacity: 0.9;
}

.dc-toast-info {
    background: #eff6ff;
    border-color: #93c5fd;
}

.dc-toast-success {
    background: #ecfdf5;
    border-color: #86efac;
}

.dc-toast-warning {
    background: #fffbeb;
    border-color: #fcd34d;
}

.dc-toast-danger {
    background: #fff1f2;
    border-color: #fda4af;
}

.dc-toast-icon-info {
    color: #1d4ed8;
}

.dc-toast-icon-success {
    color: #047857;
}

.dc-toast-icon-warning {
    color: #a16207;
}

.dc-toast-icon-danger {
    color: #be123c;
}

.dc-icon-toast {
    z-index: 2147483647;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    box-shadow: rgba(15, 23, 42, 0.35) 0 8px 18px -6px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 180ms ease, transform 180ms ease;
}

.dc-icon-toast.is-visible {
    opacity: 1;
    transform: scale(1);
}

.dc-icon-toast-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff !important;
    text-decoration: none;
}

.icontoast-info {
    background: rgba(14, 116, 144, 0.92);
}

.icontoast-success {
    background: rgba(5, 150, 105, 0.92);
}

.icontoast-warning {
    background: rgba(217, 119, 6, 0.92);
}

.icontoast-danger {
    background: rgba(190, 24, 93, 0.92);
}

.animated-rotate {
    animation: dc-feedback-rotate 1s linear infinite;
}

@keyframes dc-feedback-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.dc-spinner {
    position: absolute;
    bottom: 10px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.25);
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.14);
    z-index: 20;
}

.dc-spinner-ring {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(226, 232, 240, 0.35);
    border-top-color: rgba(103, 232, 249, 0.98);
    animation: dc-feedback-spin 0.85s linear infinite;
}

@keyframes dc-feedback-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.content-placeholder-shimmer {
    position: relative;
    overflow: hidden;
    border-radius: 0.42rem;
    background: linear-gradient(90deg, rgba(226, 232, 240, 0.8), rgba(241, 245, 249, 0.95), rgba(226, 232, 240, 0.8));
    background-size: 180% 100%;
    animation: dc-feedback-shimmer 1.2s ease-in-out infinite;
}

.placeholder-bar {
    height: 0.65rem;
    margin-bottom: 0.38rem;
}

.placeholder-bar:last-child {
    margin-bottom: 0;
}

@keyframes dc-feedback-shimmer {
    0% {
        background-position: 120% 0;
    }
    100% {
        background-position: -40% 0;
    }
}

.ui-tone-card,
.ui-tone-panel,
.ui-kpi-card {
    border-color: color-mix(in srgb, var(--hub-border-default) 82%, white);
    background: var(--hub-surface-base);
    color: var(--hub-text-strong);
}

.ui-tone-card-soft,
.ui-tone-panel-soft {
    border-color: color-mix(in srgb, var(--hub-border-default) 82%, white);
    background: var(--hub-tone-neutral-bg);
    color: var(--hub-text-strong);
}

.ui-tone-card-accent,
.ui-tone-panel-accent {
    border-color: var(--hub-tone-accent-border);
    background: var(--hub-tone-accent-bg);
    color: var(--hub-tone-accent-text);
}

.ui-tone-card-dark {
    border-color: #0f172a;
    background: #000;
    color: var(--hub-text-inverse);
}

.ui-tone-badge-default,
.ui-tone-pill-default,
.ui-chip-neutral {
    border-color: var(--hub-tone-neutral-border);
    background: var(--hub-tone-neutral-bg);
    color: var(--hub-tone-neutral-text);
}

.ui-tone-badge-info,
.ui-tone-pill-info,
.ui-chip-info,
.ui-btn-info {
    border-color: var(--hub-tone-info-border);
    background: var(--hub-tone-info-bg);
    color: var(--hub-tone-info-text);
}

.ui-tone-badge-success,
.ui-tone-pill-success,
.ui-chip-success {
    border-color: var(--hub-tone-success-border);
    background: var(--hub-tone-success-bg);
    color: var(--hub-tone-success-text);
}

.ui-tone-badge-warning,
.ui-tone-pill-warning,
.ui-chip-warning,
.ui-btn-warning {
    border-color: var(--hub-tone-warning-border);
    background: var(--hub-tone-warning-bg);
    color: var(--hub-tone-warning-text);
}

.ui-tone-badge-danger,
.ui-tone-pill-danger,
.ui-chip-danger,
.ui-status-danger {
    border-color: var(--hub-tone-danger-border);
    background: var(--hub-tone-danger-bg);
    color: var(--hub-tone-danger-text);
}

.ui-chip-accent,
.ui-btn-accent {
    border-color: var(--hub-tone-accent-border);
    background: var(--hub-tone-accent-bg);
    color: var(--hub-tone-accent-text);
}

.ui-chip,
.ui-btn {
    border-style: solid;
    transition:
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.ui-btn-default {
    border-color: var(--hub-border-strong);
    background: var(--hub-surface-base);
    color: var(--hub-text-default);
}

.ui-btn-primary {
    border-color: color-mix(in srgb, var(--brand-primary) 55%, white);
    background: var(--brand-primary);
    color: var(--hub-text-strong);
}

.ui-btn-primary:hover,
.ui-btn-accent:hover,
.ui-btn-info:hover,
.ui-btn-warning:hover,
.ui-btn-default:hover {
    transform: translateY(-1px);
    box-shadow: var(--hub-shadow-card);
}

.ui-text-default {
    color: var(--hub-text-default);
}

.ui-text-muted {
    color: var(--hub-text-muted);
}

.ui-text-soft {
    color: var(--hub-text-soft);
}

.ui-text-strong {
    color: var(--hub-text-strong);
}

.ui-icon-accent {
    color: var(--brand-primary);
}

.ui-icon-brand {
    color: var(--brand-secondary);
}

.ui-icon-info {
    color: var(--hub-tone-info-text);
}

.ui-icon-warning {
    color: var(--hub-tone-warning-text);
}

.ui-icon-success {
    color: var(--hub-tone-success-text);
}

.ui-icon-danger {
    color: var(--hub-tone-danger-text);
}

.ui-icon-hero {
    background: var(--brand-primary);
    color: var(--hub-text-strong);
}

.ui-widget-icon {
    background: color-mix(in srgb, var(--brand-primary) 48%, white);
    color: var(--hub-text-strong);
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--brand-primary) 12%, white);
}

.ui-note {
    border-color: rgb(226, 232, 240);
    background: rgb(248, 250, 252);
    color: rgb(71, 85, 105);
}

.ui-note-title {
    color: rgb(51, 65, 85);
}

.ui-subnav-link {
    color: var(--hub-text-soft);
}

.ui-subnav-link:hover {
    color: var(--hub-text-strong);
}

.ui-subnav-link.is-active {
    color: var(--hub-text-strong);
}

.ui-subnav-link.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.8rem;
    width: 100%;
    height: 3px;
    background: var(--brand-primary);
}

.ui-processing-bar-track {
    background: var(--hub-border-subtle);
}

.ui-processing-bar-fill {
    background: var(--brand-secondary);
}

.page-filters {
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    max-width: calc(100vw - 1rem);
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 0.5rem !important;
}

.page-filters-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.3rem;
}

.page-filter {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 7rem;
    min-height: 2.15rem;
    margin: 0;
    padding: 0.4rem 0.4rem 0.2rem;
    border: 1px solid rgb(148 163 184 / 0.18);
    background: rgb(255 255 255 / 0.70);
    box-shadow: 0 1px 2px rgb(15 23 42 / 0.05);
    backdrop-filter: blur(10rem);
    border-radius: 0.7rem;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.page-filter:hover {
    box-shadow: 0 6px 10px -8px rgb(15 23 42 / 0.28);
}

.page-filter-label,
.page-filters-submit {
    font-size: 0.6rem;
    line-height: 1;
    letter-spacing: 0.03em;
}

.page-filter-label {
    margin: 0 0 0.2rem;
    color: rgb(100 116 139 / 0.68);
    font-weight: 500;
    text-transform: lowercase;
}

.page-filter-label::first-letter {
    text-transform: uppercase;
}

.page-filter-control {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 1.15rem;
    min-height: 1.15rem;
}

.page-filter :is(input, select),
.page-filter-input,
.page-filter-native-select {
    width: 100%;
    height: 1.15rem;
    min-height: 1.15rem;
    margin: 0;
    padding: 0 0.25rem;
    border: 0px solid #d8dee9;
    border-radius: 0;
    background: #fff;
    color: #0f172a;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.15rem;
    box-shadow: none;
}

.page-filter :is(input, select):focus,
.page-filter-input:focus,
.page-filter-native-select:focus {
    border-color: var(--brand-secondary);
    outline: 0;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-secondary) 18%, transparent);
}

.page-filter:focus-within {
    border-color: color-mix(in srgb, var(--brand-secondary) 32%, white);
    box-shadow: 0 8px 12px -10px color-mix(in srgb, var(--brand-secondary) 55%, transparent);
}

.page-filter input::-webkit-date-and-time-value,
.page-filter-input::-webkit-date-and-time-value {
    text-align: left;
    color: #0f172a;
    font-weight: 600;
}

.page-filter input[type="date"]::-webkit-calendar-picker-indicator,
.page-filter-input::-webkit-calendar-picker-indicator {
    width: 0.75rem;
    height: 0.75rem;
    margin: 0;
    opacity: 1;
    cursor: pointer;
    background: center/0.75rem 0.75rem no-repeat
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.75' y='5.75' width='16.5' height='14.5' rx='2'/%3E%3Cpath d='M7.5 3.75v4M16.5 3.75v4M3.75 9.25h16.5'/%3E%3C/svg%3E");
    color: transparent;
}

.page-filter-select {
    position: relative;
}

.page-filter-select-value {
    pointer-events: none;
    position: absolute;
    inset: 0 1rem 0 0.25rem;
    display: block;
    overflow: hidden;
    color: #0f172a;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.15rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.page-filter-native-select {
    position: absolute;
    inset: 0;
    padding-right: 1rem;
    opacity: 0.01;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.page-filter-select-caret {
    pointer-events: none;
    position: absolute;
    top: 50%;
    right: 0.28rem;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 1.5px solid #64748b;
    border-bottom: 1.5px solid #64748b;
    transform: translateY(-65%) rotate(45deg);
    font-size: 0;
    line-height: 0;
}

.page-filters-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -height: 1.5rem;
    -margin: 0.5rem 0.3rem;
    padding: 0 0.3rem;
    border: 1px solid #0f172a;
    border-radius: 0.7rem;
    background: #0f172a;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgb(15 23 42 / 0.12);
    transition:
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
}

.page-filters-submit:hover {
    background: #1e293b;
    border-color: #1e293b;
}

@media (max-width: 960px) {
    .page-filters {
        left: 0.5rem;
        right: 0.5rem;
    }
}
