:root {
    --bg: #eef2f8;
    --bg-dark: #0f172a;
    --panel: #ffffff;
    --panel-soft: rgba(255,255,255,0.74);
    --text: #0f172a;
    --muted: #64748b;
    --border: rgba(148,163,184,0.20);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.10);
    --shadow-md: 0 14px 30px rgba(15, 23, 42, 0.08);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --cyan: linear-gradient(135deg, #0ea5e9 0%, #22d3ee 100%);
    --green: linear-gradient(135deg, #16a34a 0%, #4ade80 100%);
    --yellow: linear-gradient(135deg, #f59e0b 0%, #facc15 100%);
    --red: linear-gradient(135deg, #ef4444 0%, #fb7185 100%);
    --orange: linear-gradient(135deg, #f97316 0%, #f59e0b 100%);
}

html, body {
    background: radial-gradient(circle at top left, #ffffff 0%, #eef2f8 38%, #e6edf7 100%);
    color: var(--text);
    font-family: Inter, Segoe UI, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body.novum-body-premium {
    min-height: 100vh;
}

#layoutSidenav {
    background: transparent;
}

.premium-main-shell {
    min-height: calc(100vh - 74px);
}

.novum-topbar-premium {
    min-height: 74px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 40px rgba(2, 8, 23, 0.25);
}

.premium-brand {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    color: #fff;
    text-decoration: none;
    min-width: 220px;
}

.brand-badge {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 14px 24px rgba(37,99,235,.28);
    font-weight: 800;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    color: #f8fafc;
    font-size: 1rem;
}

.brand-copy small {
    color: rgba(241,245,249,.66);
    font-size: .72rem;
}

.premium-menu-toggle,
.premium-user {
    color: rgba(241,245,249,.88);
}

.premium-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255,255,255,.08);
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    padding: .45rem .75rem;
    font-size: .8rem;
}

.premium-chip-muted {
    opacity: .72;
}

.premium-global-search {
    width: min(520px, 100%);
}

.premium-search-shell {
    position: relative;
}

.premium-search-shell .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 3;
}

.premium-search-shell input {
    width: 100%;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(148,163,184,0.18);
    background: rgba(255,255,255,.96);
    padding: .75rem 1rem .75rem 2.8rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 18px rgba(15,23,42,.06);
}

.premium-search-shell-lg input {
    height: 52px;
}

.premium-suggestions {
    top: calc(100% + 8px);
    border-radius: 16px;
    border: 1px solid rgba(148,163,184,.18);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.premium-sidebar {
    background: linear-gradient(180deg, rgba(17,24,39,.98) 0%, rgba(15,23,42,.96) 55%, rgba(30,41,59,.98) 100%);
    color: #fff;
    border-right: 1px solid rgba(255,255,255,.06);
    box-shadow: 10px 0 40px rgba(15,23,42,.18);
}

.premium-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.sidebar-eyebrow {
    display: block;
    color: rgba(148,163,184,.92);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .25rem;
}

.premium-sidebar-head h2 {
    margin: 0;
    font-size: 1.15rem;
    color: #f8fafc;
}

.sidebar-state {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .75rem;
    color: #86efac;
}

.sidebar-state .fa-circle {
    font-size: .5rem;
}

.premium-nav-group .nav-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: .18rem .75rem;
    padding: .85rem .95rem;
    border-radius: 16px;
    color: rgba(226,232,240,.76);
    transition: all .2s ease;
}

.premium-nav-group .nav-link .sb-nav-link-icon {
    width: 18px;
    min-width: 18px;
}

.premium-nav-group .nav-link:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}

.premium-nav-group .nav-link.active {
    background: linear-gradient(135deg, rgba(59,130,246,.18) 0%, rgba(34,211,238,.12) 100%);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(96,165,250,.24);
}

.premium-sidebar-footer {
    border-top: 1px solid rgba(255,255,255,.06);
    background: transparent;
    color: rgba(226,232,240,.8);
}

.premium-dashboard-page,
.premium-ean-page {
    max-width: 1760px;
}

.premium-hero,
.premium-ean-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    background: linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.80) 100%);
    border: 1px solid rgba(255,255,255,.65);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem 1.6rem;
}

.premium-breadcrumb {
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .72rem;
    margin-bottom: .45rem;
}

.premium-hero h1,
.premium-ean-hero h1 {
    margin: 0;
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
    font-weight: 800;
    color: #0f172a;
}

.premium-hero p,
.premium-ean-hero p {
    margin: .45rem 0 0;
    color: #64748b;
}

.premium-filter-panel {
    min-width: min(560px, 100%);
}

.premium-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: .9rem;
    align-items: end;
}

.premium-filter-grid label,
.premium-form-grid label {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.premium-filter-grid span,
.premium-form-grid span {
    font-size: .8rem;
    font-weight: 700;
    color: #475569;
}

.premium-filter-grid input,
.premium-form-grid input,
.premium-form-grid select {
    width: 100%;
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,.25);
    background: #fff;
    padding: .75rem .85rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

.premium-primary-btn,
.premium-ghost-btn {
    min-height: 46px;
    border-radius: 14px;
    padding: .85rem 1rem;
    font-weight: 700;
    border: 0;
}

.premium-primary-btn {
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(37,99,235,.25);
}

.premium-ghost-btn {
    background: rgba(15,23,42,.06);
    color: #0f172a;
}

.premium-metrics-grid,
.premium-mini-grid,
.premium-chart-grid,
.premium-ean-summary-grid {
    display: grid;
    gap: 1rem;
}

.premium-metrics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.premium-kpi-card,
.premium-mini-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.premium-kpi-card {
    min-height: 150px;
    padding: 1.2rem 1.2rem 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.kpi-copy span {
    display: block;
    font-size: .88rem;
    opacity: .9;
    margin-bottom: .6rem;
}

.kpi-copy strong {
    display: block;
    font-size: clamp(1.7rem, 2vw, 2.4rem);
    line-height: 1.1;
}

.kpi-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(255,255,255,.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}

.premium-mini-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.premium-mini-card {
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.premium-mini-card span {
    font-size: .86rem;
    opacity: .92;
}

.premium-mini-card strong {
    font-size: 1.35rem;
}

.premium-cyan { background: var(--cyan); }
.premium-green { background: var(--green); }
.premium-yellow { background: var(--yellow); }
.premium-red { background: var(--red); }
.premium-orange { background: var(--orange); }

.premium-chart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.premium-chart-grid-secondary {
    grid-template-columns: 1.05fr 1.05fr .95fr;
}

.premium-surface {
    background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 100%);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    padding: 1.15rem;
}

.premium-surface-lg {
    padding: 1.25rem 1.25rem 1rem;
}

.premium-surface-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.premium-surface-head.compact {
    margin-bottom: .9rem;
}

.premium-surface-head h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}

.surface-eyebrow,
.surface-range {
    color: #64748b;
    font-size: .78rem;
}

.premium-surface-head i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(37,99,235,.08);
    color: #2563eb;
}

.premium-chart-canvas {
    position: relative;
    height: 330px;
}

.premium-chart-canvas-sm {
    height: 270px;
}

.premium-table-wrap {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,.18);
}

.premium-table {
    margin: 0;
}

.premium-table thead th {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    color: #334155;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 1px solid rgba(148,163,184,.18);
    padding: .95rem .9rem;
}

.premium-table tbody td {
    padding: .9rem;
    font-size: .9rem;
    vertical-align: middle;
    color: #0f172a;
    border-color: rgba(226,232,240,.9);
    background: rgba(255,255,255,.88);
}

.premium-table tbody tr:nth-child(even) td {
    background: rgba(248,250,252,.92);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .35rem .7rem;
    font-size: .8rem;
    font-weight: 700;
}

.status-pill.ok { background: rgba(34,197,94,.14); color: #15803d; }
.status-pill.late { background: rgba(239,68,68,.12); color: #b91c1c; }

.premium-footer {
    background: transparent;
}

/* EAN */
.premium-ean-toolbar-wrap {
    display: flex;
    align-items: center;
    gap: .9rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.premium-ean-search {
    display: flex;
    gap: .7rem;
    align-items: center;
    flex-wrap: wrap;
}

.premium-status-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg, rgba(239,68,68,.12), rgba(251,113,133,.18));
    color: #be123c;
    border: 1px solid rgba(244,63,94,.18);
    border-radius: 999px;
    padding: .8rem 1rem;
    font-weight: 700;
}

.premium-empty-state {
    background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    padding: 3rem 1.5rem;
}

.premium-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 14px 28px rgba(37,99,235,.24);
}

.premium-title-wrap {
    text-align: center;
}

.premium-product-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(37,99,235,.08);
    color: #2563eb;
    border-radius: 999px;
    padding: .4rem .7rem;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: .85rem;
}

.premium-product-title {
    font-size: clamp(1.7rem, 2vw, 2.4rem);
    margin-bottom: .35rem;
}

.premium-product-subtitle {
    color: #64748b;
}

.premium-ean-table-surface {
    padding: 1rem;
}

.premium-ean-table thead th {
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    text-align: center;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: .85rem .65rem;
    border-color: rgba(255,255,255,.14);
    position: sticky;
    top: 0;
    z-index: 1;
}

.premium-ean-table tbody td {
    background: #fff;
    border-color: #edf2f7;
    font-size: .85rem;
    text-align: center;
    padding: .76rem .55rem;
}

.premium-ean-table tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.premium-ean-table .store-name { text-align: left; font-weight: 800; color: #0f172a; }
.premium-ean-table .stock-col { background: rgba(56,189,248,.12) !important; }
.premium-ean-table .price-col { background: rgba(22,163,74,.12) !important; color: #dc2626; font-weight: 800; }
.premium-ean-table .margin-col,
.premium-ean-table .purchase-col { color: #15803d; font-weight: 800; }
.premium-ean-table .promo-col.yes { color: #dc2626; font-weight: 800; }
.premium-ean-table .promo-col.no { color: #475569; }
.premium-ean-table .updated-col { color: #15803d; font-weight: 700; }
.premium-ean-table tr.is-focus td { box-shadow: inset 0 0 0 2px rgba(59,130,246,.25); }

.premium-ean-summary-grid {
    grid-template-columns: 1.4fr .9fr .9fr;
    align-items: start;
}

.premium-summary-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.summary-row {
    background: rgba(248,250,252,.95);
    border: 1px solid rgba(148,163,184,.15);
    border-radius: 16px;
    padding: .9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.summary-row span {
    font-size: .82rem;
    color: #64748b;
}

.summary-row strong {
    font-size: 1.1rem;
    color: #0f172a;
}

.premium-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
}

.premium-form-grid-single {
    grid-template-columns: 1fr;
}

.premium-barcode-card,
.premium-order-card,
.premium-summary-card {
    height: 100%;
}

.premium-barcode-wrap {
    text-align: center;
    padding: 1.3rem 0 .4rem;
}

.premium-barcode-wrap img {
    max-width: 260px;
    width: 100%;
}

.barcode-text {
    margin-top: -.2rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.premium-order-copy {
    color: #64748b;
    margin-bottom: 1rem;
}

@media (max-width: 1399px) {
    .premium-metrics-grid,
    .premium-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .premium-chart-grid-secondary,
    .premium-ean-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1199px) {
    .premium-chart-grid,
    .premium-filter-grid {
        grid-template-columns: 1fr;
    }

    .premium-hero,
    .premium-ean-hero {
        flex-direction: column;
        align-items: stretch;
    }

    .premium-filter-panel {
        min-width: 100%;
    }
}

@media (max-width: 767px) {
    .premium-global-search {
        display: none;
    }

    .premium-metrics-grid,
    .premium-mini-grid,
    .premium-form-grid,
    .premium-summary-list {
        grid-template-columns: 1fr;
    }

    .premium-kpi-card {
        min-height: 128px;
    }

    .premium-chart-canvas {
        height: 260px;
    }
}

/* v5 refinements */
.premium-topbar-center {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
}

.premium-page-pill {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .95rem;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    color: #f8fafc;
    max-width: min(760px, 100%);
}

.premium-page-pill-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.premium-page-pill-copy strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .98rem;
}

.premium-page-pill-copy small {
    color: rgba(241,245,249,.72);
    font-size: .72rem;
}

.premium-status-inline {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .28rem .62rem;
    background: linear-gradient(135deg, rgba(239,68,68,.96), rgba(251,113,133,.92));
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(239,68,68,.22);
    white-space: nowrap;
}

.premium-search-shell input {
    min-width: 0;
}

.premium-kpi-card {
    min-height: 122px;
    padding: 1rem 1.05rem;
    border-radius: 22px;
}

.kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 1.12rem;
}

.kpi-copy strong {
    font-size: clamp(1.55rem, 1.8vw, 2.1rem);
}

.kpi-copy span {
    font-size: .84rem;
    margin-bottom: .45rem;
}

.premium-chart-canvas {
    height: 290px;
}

.premium-chart-canvas-sm {
    height: 230px;
}

.premium-ean-page.no-hero {
    padding-top: 1rem;
}

.premium-product-header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.35rem 1.5rem;
}

.premium-product-header .ean-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
}

.premium-product-header .premium-product-title {
    margin: 0;
    font-size: clamp(2rem, 2.8vw, 3rem);
}

.premium-product-header .premium-product-subtitle {
    color: #94a3b8;
    font-size: .95rem;
}

.premium-table-wrap-green {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(34,197,94,.22);
    box-shadow: var(--shadow-lg);
}

.premium-ean-table thead th {
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    border-bottom: 0;
}

.premium-ean-table tbody td {
    font-size: .88rem;
}

.premium-toolbar-right {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-left: auto;
}

@media (max-width: 1400px) {
    .premium-global-search {
        width: min(360px, 100%);
    }
    .premium-topbar-center {
        display: none !important;
    }
}


/* v6 overrides */
.premium-topbar-shell {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 74px;
}

.premium-topbar-left {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-width: 0;
}

.premium-topbar-right {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: auto;
}

.premium-topbar-chips { margin-left: .25rem; }

.premium-topbar-product {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    max-width: 34vw;
    min-width: 0;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 10px 22px rgba(2,8,23,.16);
}

.premium-topbar-product-name {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-pill.topbar {
    background: rgba(239,68,68,.18);
    color: #fff;
    border: 1px solid rgba(248,113,113,.28);
    padding: .35rem .7rem;
}

.compact-kpis .premium-kpi-card {
    min-height: 108px;
    padding: 1rem 1.1rem;
    border-radius: 24px;
}

.compact-kpis .premium-kpi-card .kpi-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
}

.compact-kpis .premium-kpi-card strong {
    font-size: clamp(1.85rem, 2vw, 2.4rem);
}

.compact-kpis .premium-kpi-card span {
    font-size: .78rem;
}

.premium-svg-chart-wrap {
    height: 320px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(241,245,249,.92) 0%, rgba(255,255,255,.86) 100%);
    border: 1px solid rgba(148,163,184,.14);
    overflow: hidden;
}

.premium-svg-chart { width: 100%; height: 100%; display: block; }
.chart-grid-line { stroke: rgba(148,163,184,.18); stroke-width: 1; }
.chart-area-fill { fill: rgba(56,189,248,.18); }
.chart-line-stroke { fill: none; stroke: #0ea5e9; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.chart-line-dot { fill: #fff; stroke: #0284c7; stroke-width: 3; }
.chart-axis-label { fill: #64748b; font-size: 12px; font-weight: 700; }
.chart-empty-text { fill: #94a3b8; font-size: 18px; font-weight: 700; }

.modern-bars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(42px, 1fr));
    gap: .75rem;
    align-items: end;
    min-height: 260px;
    padding: .75rem .25rem .25rem;
}

.modern-bars-large { min-height: 320px; }

.bar-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    min-width: 0;
}

.bar-value {
    font-size: .75rem;
    font-weight: 800;
    color: #475569;
    min-height: 18px;
}

.bar-track {
    width: 100%;
    max-width: 38px;
    height: 180px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(226,232,240,.8) 0%, rgba(241,245,249,.9) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

.modern-bars-large .bar-track { height: 210px; max-width: 42px; }

.bar-fill {
    width: 100%;
    border-radius: 16px;
    min-height: 2px;
    box-shadow: 0 12px 30px rgba(14,165,233,.18);
}

.bar-fill.cyan { background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%); }
.bar-fill.purple { background: linear-gradient(180deg, #818cf8 0%, #6366f1 100%); }
.bar-fill.amber { background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%); }
.bar-label {
    font-size: .72rem;
    color: #64748b;
    font-weight: 700;
    text-align: center;
    line-height: 1.15;
}

.premium-payment-panel {
    min-height: 260px;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 1.25rem;
    align-items: center;
}

.premium-donut {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: conic-gradient(#fb7185 0 var(--cash), #f59e0b var(--cash) calc(var(--cash) + var(--card)), #e2e8f0 0 100%);
    position: relative;
    margin-inline: auto;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 18px 30px rgba(15,23,42,.08);
}

.premium-donut::after {
    content: '';
    position: absolute;
    inset: 26px;
    background: #fff;
    border-radius: 50%;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.premium-donut-legend {
    display: grid;
    gap: .8rem;
    color: #334155;
    font-weight: 700;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    display: inline-block;
    margin-right: .5rem;
}
.legend-dot.cash { background: #fb7185; }
.legend-dot.card { background: #f59e0b; }

.premium-chart-grid-secondary .premium-surface,
.premium-chart-grid .premium-surface {
    overflow: hidden;
}

.premium-ean-page.no-hero { padding-top: 1rem; }
.premium-ean-page .premium-table-wrap-green { margin-top: .5rem; }

.premium-summary-list-compact {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.premium-summary-list-compact .summary-row {
    background: rgba(248,250,252,.82);
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 16px;
    padding: .85rem .95rem;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.premium-barcode-card.compact { max-width: 320px; }

.premium-order-card .premium-form-grid-single {
    grid-template-columns: 1fr;
}

.premium-ean-table thead th {
    white-space: nowrap;
}

@media (max-width: 1399px) {
    .premium-topbar-product { display: none !important; }
}

@media (max-width: 1199px) {
    .premium-topbar-shell { flex-wrap: wrap; row-gap: .75rem; }
    .premium-topbar-right { width: 100%; }
    .premium-global-search { width: 100%; }
    .premium-payment-panel { grid-template-columns: 1fr; justify-items: center; }
}

@media (max-width: 991px) {
    .compact-kpis .premium-kpi-card { min-height: 96px; }
    .premium-summary-list-compact { grid-template-columns: 1fr; }
}


.premium-topbar-shell{grid-template-columns:auto 1fr auto;align-items:center;}
.premium-topbar-left{gap:18px;}
.premium-topbar-product{justify-self:center;max-width:720px;width:100%;justify-content:center;text-align:center;padding:10px 22px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(10px);}
.premium-topbar-product-name{font-size:30px;font-weight:900;line-height:1.05;letter-spacing:-.03em;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.status-pill.topbar{margin-left:14px;white-space:nowrap;}
.premium-chart-grid .premium-surface{overflow:hidden;}
.premium-surface .premium-surface-head{margin-bottom:6px;}
@media (max-width:1400px){.premium-topbar-product-name{font-size:24px;}}


/* v9 overrides */
.premium-topbar-left{display:flex;align-items:center;gap:12px;min-width:360px;flex:0 0 auto;}
.premium-topbar-shell{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;}
.premium-topbar-product{display:flex;align-items:center;justify-content:center;gap:14px;max-width:min(980px,100%);width:100%;margin:0 auto;padding:10px 18px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10);backdrop-filter:blur(14px);overflow:hidden;}
.premium-topbar-product-name{display:block;font-size:34px;font-weight:900;line-height:1;letter-spacing:-.04em;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:clip;max-width:100%;}
.premium-topbar-right{display:flex;align-items:center;gap:12px;min-width:340px;justify-content:flex-end;}
.status-pill.topbar{flex:0 0 auto;white-space:nowrap;}
.premium-ean-page .premium-table-wrap-green{border-radius:26px;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);border:1px solid rgba(148,163,184,.18);box-shadow:0 22px 48px rgba(15,23,42,.08);}
.premium-ean-table{border-collapse:separate;border-spacing:0;}
.premium-ean-table thead th{position:sticky;top:0;z-index:2;background:linear-gradient(180deg,#16a34a 0%,#15803d 100%) !important;color:#fff;border:none;padding:16px 14px;font-size:.76rem;letter-spacing:.04em;text-transform:uppercase;box-shadow:0 10px 24px rgba(21,128,61,.25);}
.premium-ean-table tbody td{padding:14px 14px;border-bottom:1px solid rgba(226,232,240,.95);background:rgba(255,255,255,.94);vertical-align:middle;font-size:.92rem;}
.premium-ean-table tbody tr:nth-child(even) td{background:#f8fbff;}
.premium-ean-table tbody tr:hover td{background:#eef6ff;}
.premium-ean-table tr.is-focus td{background:#eaf3ff;box-shadow:inset 0 0 0 2px rgba(59,130,246,.22);}
.premium-ean-table .store-name{font-weight:800;color:#0f172a;white-space:nowrap;}
.premium-ean-table .supplier-col{max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#334155;}
.premium-ean-table .updated-col{white-space:nowrap;}
.premium-ean-table .stock-col,.premium-ean-table .price-col,.premium-ean-table .margin-col,.premium-ean-table .purchase-col{border-radius:12px;}
.premium-ean-table .price-col{color:#b91c1c;font-weight:800;}
.premium-ean-table .margin-col,.premium-ean-table .purchase-col{color:#0f766e;font-weight:800;}
@media (max-width: 1600px){.premium-topbar-product-name{font-size:30px;}}
@media (max-width: 1400px){.premium-topbar-shell{grid-template-columns:auto auto;}.premium-topbar-product{grid-column:1 / -1;order:3;max-width:100%;}.premium-topbar-product-name{font-size:26px;}}
@media (max-width: 992px){.premium-topbar-product{display:none !important;}.premium-topbar-right{min-width:0;}.premium-topbar-left{min-width:0;}}

/* v10 table refinements */
.premium-table-wrap-premium {
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.10);
}
.premium-table-wrap-premium::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #0ea5e9 0%, #22c55e 35%, #f59e0b 70%, #ef4444 100%);
    opacity: .9;
}
.premium-table-responsive-shadow {
    border-radius: 26px;
    overflow: auto;
}
.premium-ean-table thead th {
    top: 0;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,.08);
}
.premium-ean-table thead th:last-child { border-right: none; }
.premium-ean-table tbody td {
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.premium-ean-table tbody tr:hover td {
    background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}
.premium-ean-table tbody tr.is-stale td {
    background: linear-gradient(180deg, rgba(254,242,242,.96) 0%, rgba(255,247,247,.98) 100%);
    border-bottom-color: rgba(252, 165, 165, 0.45);
}
.premium-ean-table tbody tr.is-stale:hover td {
    background: linear-gradient(180deg, rgba(254,235,235,.98) 0%, rgba(255,244,244,.99) 100%);
}
.premium-ean-table tbody tr.is-stale td:first-child {
    box-shadow: inset 3px 0 0 rgba(239, 68, 68, 0.55);
}
.premium-ean-table .store-name {
    min-width: 124px;
}
.premium-ean-table .supplier-col {
    max-width: 220px;
    min-width: 220px;
    width: 220px;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
}
.premium-ean-table .purchase-date-col,
.premium-ean-table .eurocash-col {
    white-space: nowrap;
}
.premium-ean-table .is-clickable {
    cursor: pointer;
    user-select: none;
}
.premium-ean-table .is-clickable span {
    border-bottom: 1px dashed rgba(14, 165, 233, 0.45);
}
.premium-ean-table .is-clickable i {
    margin-left: 8px;
    color: #0ea5e9;
    opacity: .85;
    font-size: .82rem;
}
.premium-ean-table .is-clickable:hover {
    color: #0369a1;
}
.premium-ean-table .is-clickable:hover span {
    border-bottom-color: rgba(2, 132, 199, 0.8);
}
.premium-ean-table .is-disabled {
    color: #94a3b8;
}
.premium-ean-table .purchase-col,
.premium-ean-table .eurocash-col,
.premium-ean-table .price-col,
.premium-ean-table .margin-col,
.premium-ean-table .stock-col {
    font-variant-numeric: tabular-nums;
}
.premium-ean-table .eurocash-col {
    color: #7c3aed;
    font-weight: 800;
}
.premium-ean-table .purchase-date-col {
    color: #0f172a;
    font-weight: 700;
}
.premium-info-modal .modal-content {
    border: 1px solid rgba(148,163,184,.18);
    border-radius: 24px;
    box-shadow: 0 32px 80px rgba(15,23,42,.22);
    overflow: hidden;
}
.premium-info-modal .modal-header {
    border-bottom: 1px solid rgba(226,232,240,.95);
    padding: 1.1rem 1.25rem 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.premium-info-modal .modal-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}
.premium-info-modal .modal-eyebrow {
    display: inline-block;
    margin-bottom: .3rem;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
}
.premium-modal-grid {
    display: grid;
    gap: .8rem;
    padding: 1.15rem 1.25rem 1.35rem;
}
.premium-info-modal .modal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(226,232,240,.95);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.premium-info-modal .modal-row-stacked {
    display: grid;
    justify-content: start;
}
.premium-info-modal .modal-row span {
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
}
.premium-info-modal .modal-row strong {
    color: #0f172a;
    font-weight: 800;
    text-align: right;
}
.premium-info-modal .modal-row-stacked strong {
    text-align: left;
    line-height: 1.45;
    word-break: break-word;
}
@media (max-width: 1199.98px) {
    .premium-ean-table .supplier-col {
        max-width: 180px;
        min-width: 180px;
        width: 180px;
    }
}

/* v11 legacy-premium EAN table */
.legacy-premium-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #d6dee8;
    background: #f4f6f8;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.legacy-premium-responsive {
    border-radius: 0;
}

.legacy-ean-table {
    table-layout: fixed;
    min-width: 1680px;
    background: #eef2f5;
}

.legacy-ean-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 11px 8px !important;
    text-align: center;
    font-size: 13px !important;
    font-weight: 700;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.15;
    background: linear-gradient(180deg, #30c321 0%, #24b518 100%) !important;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none !important;
}

.legacy-ean-table tbody td {
    padding: 9px 8px !important;
    border-right: 1px solid #d4d9df;
    border-bottom: 1px solid #d4d9df;
    background: #f1f3f5;
    color: #3b4046;
    font-size: 12px;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 0 !important;
}

.legacy-ean-table tbody tr:nth-child(even) td {
    background: #eceff2;
}

.legacy-ean-table tbody tr:hover td {
    background: #e7edf3;
}

.legacy-ean-table tbody tr.is-stale td {
    background: #fff2f2 !important;
    border-bottom-color: #f0c4c4;
}

.legacy-ean-table tbody tr.is-stale:nth-child(even) td {
    background: #ffecec !important;
}

.legacy-ean-table tbody tr.is-focus td {
    box-shadow: inset 0 0 0 9999px rgba(59, 130, 246, 0.04);
}

.legacy-ean-table .store-name {
    font-weight: 700;
    color: #20262d;
    text-align: center;
}

.legacy-ean-table .stock-col {
    background: #cfeff3 !important;
    font-variant-numeric: tabular-nums;
}

.legacy-ean-table .price-col,
.legacy-ean-table .margin-col,
.legacy-ean-table .purchase-col {
    background: #cfeec9 !important;
    font-variant-numeric: tabular-nums;
}

.legacy-ean-table .price-col {
    color: #ff2020;
    font-weight: 700;
}

.legacy-ean-table .margin-col,
.legacy-ean-table .purchase-col,
.legacy-ean-table .purchase-date-col,
.legacy-ean-table .eurocash-col {
    color: #11822f;
    font-weight: 700;
}

.legacy-ean-table .promo-col.yes {
    color: #ff2020;
    font-weight: 700;
}

.legacy-ean-table .promo-col.no {
    color: #4b5563;
    font-weight: 600;
}

.legacy-ean-table .supplier-col {
    text-align: left;
    max-width: 260px;
    width: 260px;
    min-width: 260px;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #374151;
}

.legacy-ean-table .purchase-date-col.is-clickable,
.legacy-ean-table .eurocash-col.is-clickable {
    cursor: pointer;
}

.legacy-ean-table .purchase-date-col.is-clickable:hover,
.legacy-ean-table .eurocash-col.is-clickable:hover {
    filter: brightness(0.95);
}

.premium-history-modal .modal-dialog,
.premium-eurocash-modal .modal-dialog {
    max-width: 760px;
}

.premium-history-modal .modal-content,
.premium-eurocash-modal .modal-content {
    border-radius: 18px;
    border: 1px solid #d6dee8;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
}

.premium-history-modal .modal-header,
.premium-eurocash-modal .modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #d6dee8;
    background: #fff;
}

.premium-history-modal .modal-title,
.premium-eurocash-modal .modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3137;
}

.premium-history-modal .modal-body,
.premium-eurocash-modal .modal-body {
    padding: 18px 16px 22px;
    background: #f8fafc;
}

.premium-history-modal .modal-footer,
.premium-eurocash-modal .modal-footer {
    padding: 14px 16px;
    border-top: 1px solid #d6dee8;
    background: #fff;
}

.premium-secondary-btn {
    min-height: 38px;
    border-radius: 8px;
    background: #7f8790;
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-weight: 600;
}

.premium-modal-loader,
.premium-empty-inline {
    padding: 24px 16px;
    text-align: center;
    color: #64748b;
}

.history-store-label {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.history-modal-table {
    table-layout: fixed;
    border: 1px solid #d6dee8;
    background: #fff;
}

.history-modal-table thead th {
    background: linear-gradient(180deg, #30c321 0%, #24b518 100%) !important;
    color: #fff;
    padding: 9px 8px;
    font-size: 12px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.history-modal-table tbody td {
    padding: 8px;
    font-size: 12px;
    border-right: 1px solid #d6dee8;
    border-bottom: 1px solid #d6dee8;
    background: #f3f5f7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.history-modal-table tbody tr:nth-child(even) td {
    background: #eef1f4;
}

.history-modal-table tbody td:first-child {
    text-align: left;
}

.history-modal-table .history-price-cell {
    color: #ff2020;
    font-weight: 700;
    background: #cfeec9 !important;
}

.eurocash-sheet {
    background: #fff;
    border: 1px solid #d6dee8;
    border-radius: 14px;
    padding: 22px 24px;
}

.eurocash-sheet-title {
    margin: 0 0 22px;
    text-align: center;
    font-size: clamp(26px, 2vw, 34px);
    font-weight: 700;
    color: #2c3137;
}

.eurocash-sheet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.eurocash-sheet-meta p,
.eurocash-subnote div {
    margin: 0 0 16px;
    font-size: 14px;
    color: #374151;
}

.eurocash-sheet-meta strong,
.eurocash-subnote strong {
    color: #2c3137;
}

.eurocash-sheet-price {
    display: grid;
    gap: 18px;
    align-content: start;
}

.eurocash-main-price {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    font-size: 26px;
    color: #374151;
    margin-top: 20px;
}

.eurocash-main-price i {
    font-size: 32px;
    color: #2fa84f;
}

.eurocash-main-price strong {
    font-size: 28px;
    font-weight: 800;
    color: #2c3137;
}

.eurocash-subnote {
    padding: 14px 16px;
    border-radius: 12px;
    background: #f7fbf7;
    border: 1px solid #d3ecd8;
}

@media (max-width: 992px) {
    .eurocash-sheet-grid {
        grid-template-columns: 1fr;
    }

    .eurocash-main-price {
        margin-top: 0;
        font-size: 22px;
    }

    .eurocash-main-price strong {
        font-size: 24px;
    }
}


/* v12 width and API sync polish */
.premium-ean-page-wide {
    max-width: 100%;
}

.premium-ean-page-wide .legacy-premium-wrap {
    width: 100%;
}

.premium-ean-page-wide .legacy-premium-responsive {
    width: 100%;
    overflow-x: auto;
}

.premium-ean-page-wide .legacy-ean-table {
    width: 100%;
    min-width: 1760px;
}

@media (min-width: 1400px) {
    .premium-ean-page-wide {
        padding-left: .75rem !important;
        padding-right: .75rem !important;
    }
}

@media (min-width: 1800px) {
    .premium-ean-page-wide {
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }
}


/* v13 EAN width, font and footer alignment */
.premium-ean-page-wide {
    max-width: none;
    width: 100%;
    padding-left: 4px !important;
    padding-right: 4px !important;
}

.premium-ean-page-wide .legacy-premium-wrap,
.premium-ean-page-wide .legacy-premium-responsive {
    width: 100%;
}

.premium-ean-page-wide .legacy-premium-responsive {
    overflow-x: auto;
}

.premium-ean-page-wide .legacy-ean-table {
    width: 100%;
    min-width: 1780px;
}

.legacy-ean-table thead th {
    font-size: 14px !important;
    padding: 12px 9px !important;
}

.legacy-ean-table tbody td {
    font-size: 13px;
    padding: 10px 9px !important;
}

.legacy-ean-table .store-name {
    font-size: 13.5px;
}

.legacy-ean-table .supplier-col {
    max-width: 300px;
    width: 300px;
    min-width: 300px;
}

.premium-ean-bottom-legacy {
    grid-template-columns: minmax(430px, 1.45fr) minmax(270px, .72fr) minmax(360px, .98fr);
    align-items: stretch;
    gap: 16px;
}

.legacy-summary-card,
.legacy-barcode-card,
.legacy-order-card {
    min-height: 100%;
}

.legacy-summary-card .premium-surface-head,
.legacy-barcode-card .premium-surface-head,
.legacy-order-card .premium-surface-head {
    margin-bottom: 10px;
}

.legacy-barcode-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.legacy-barcode-card .premium-barcode-wrap {
    margin-top: auto;
    margin-bottom: auto;
    padding-top: 0.75rem;
}

.legacy-order-card {
    display: flex;
    flex-direction: column;
}

.legacy-order-card .premium-primary-btn {
    margin-top: auto !important;
}

@media (min-width: 1800px) {
    .premium-ean-page-wide {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
}

@media (max-width: 1399px) {
    .premium-ean-bottom-legacy {
        grid-template-columns: 1fr;
    }
}

/* v14 table + modal polish */
.premium-ean-page-wide {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.premium-ean-page-wide .legacy-premium-wrap {
    border-radius: 18px;
    margin-left: 0;
    margin-right: 0;
}

.premium-ean-page-wide .legacy-premium-responsive {
    overflow-x: auto;
}

.premium-ean-page-wide .legacy-ean-table {
    min-width: 1840px;
}

.legacy-ean-table thead th {
    font-size: 14px !important;
    padding: 12px 10px !important;
}

.legacy-ean-table tbody td,
.history-modal-table tbody td {
    font-size: 14px !important;
    padding: 10px 10px !important;
}

.history-modal-table thead th {
    font-size: 14px !important;
}

.legacy-ean-table .store-name {
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.legacy-ean-table .store-name.is-group {
    font-weight: 800;
}

.legacy-ean-table .supplier-col {
    max-width: 320px;
    width: 320px;
    min-width: 320px;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.legacy-ean-table tbody tr {
    transition: background-color .18s ease, transform .18s ease;
}

.legacy-ean-table tbody tr:hover td {
    background: #e5ebf2;
}

.legacy-ean-table tbody tr.is-stale td {
    background: #fff1f1 !important;
    border-bottom-color: #efc3c3;
}

.legacy-ean-table tbody tr.is-stale:hover td {
    background: #ffe7e7 !important;
}

.premium-ean-bottom-legacy {
    grid-template-columns: minmax(470px, 1.5fr) minmax(280px, .78fr) minmax(390px, 1fr);
    align-items: start;
}

.legacy-summary-card,
.legacy-barcode-card,
.legacy-order-card {
    min-height: 100%;
}

.legacy-barcode-card {
    text-align: center;
}

.legacy-order-card {
    justify-self: end;
}

.premium-store-modal .modal-dialog {
    max-width: 620px;
}

.store-sheet {
    background: #fff;
    border: 1px solid #d6dee8;
    border-radius: 16px;
    padding: 22px;
}

.store-sheet-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 18px;
}

.store-sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.store-sheet-item {
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    padding: 14px 16px;
    background: #f8fafc;
}

.store-sheet-item span {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.store-sheet-item strong {
    font-size: 16px;
    color: #0f172a;
}

@media (max-width: 1399px) {
    .premium-ean-bottom-legacy {
        grid-template-columns: 1fr;
    }

    .legacy-order-card {
        justify-self: stretch;
    }
}

@media (max-width: 768px) {
    .store-sheet-grid {
        grid-template-columns: 1fr;
    }
}


/* auth + ean fixes v15 */
.novum-auth-body {
    min-height: 100vh;
    margin: 0;
    background: radial-gradient(circle at top, rgba(34,197,94,.18), transparent 32%), linear-gradient(135deg, #0f172a 0%, #111827 48%, #1e293b 100%);
}

.novum-auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.novum-auth-card {
    width: min(100%, 460px);
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 28px 80px rgba(15,23,42,.35);
    padding: 28px;
    border: 1px solid rgba(226,232,240,.85);
}

.novum-auth-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.novum-auth-brand strong {
    display: block;
    color: #0f172a;
    font-size: 1.08rem;
}

.novum-auth-brand small {
    display: block;
    color: #64748b;
}

.novum-auth-copy h1 {
    margin: 0 0 8px;
    font-size: 1.8rem;
    color: #0f172a;
}

.novum-auth-copy p {
    margin: 0 0 18px;
    color: #475569;
}

.novum-auth-alert {
    border-radius: 16px;
    margin-bottom: 16px;
}

.novum-auth-form {
    display: grid;
    gap: 16px;
}

.novum-auth-form label span {
    display: block;
    margin-bottom: 7px;
    font-size: .88rem;
    font-weight: 700;
    color: #334155;
}

.novum-auth-form input[type="text"],
.novum-auth-form input[type="password"] {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 12px 14px;
    font-size: .98rem;
    background: #fff;
    color: #0f172a;
    outline: none;
}

.novum-auth-form input[type="text"]:focus,
.novum-auth-form input[type="password"]:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,.14);
}

.novum-auth-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.novum-auth-checkbox span {
    margin: 0;
}

.novum-auth-footer {
    margin-top: 18px;
    font-size: .82rem;
    color: #64748b;
}

.legacy-ean-table thead th,
.legacy-ean-table tbody td,
.legacy-ean-table .store-name {
    font-size: 14px !important;
}

.legacy-ean-table .store-name {
    font-weight: 500;
}

.legacy-ean-table .store-name.is-group {
    font-weight: 800;
}

.legacy-ean-table tbody tr.is-stale td {
    background: #fff1f1 !important;
    border-bottom-color: #efc3c3;
}

.legacy-ean-table tbody tr.is-stale:hover td {
    background: #ffe7e7 !important;
}

/* settings + access control v17 */
.status-pill.warn { background: rgba(245, 158, 11, .16); color: #b45309; }
.status-pill.info { background: rgba(59,130,246,.14); color: #1d4ed8; }
.status-pill.danger { background: rgba(239,68,68,.12); color: #b91c1c; }

.legacy-ean-table thead th,
.legacy-ean-table tbody td,
.legacy-ean-table .store-name,
.premium-ean-table.legacy-ean-table tbody td,
.premium-ean-table.legacy-ean-table thead th {
    font-size: 14px !important;
}

.legacy-ean-table .store-name.is-group {
    font-weight: 800 !important;
}

.premium-settings-page {
    display: grid;
    gap: 18px;
}

.premium-settings-alert {
    border-radius: 18px;
    border: 1px solid rgba(226,232,240,.9);
}

.premium-settings-grid {
    display: grid;
    gap: 18px;
}

.premium-settings-card {
    padding-bottom: 18px;
}

.premium-settings-stack {
    display: grid;
    gap: 18px;
}

.premium-settings-form,
.premium-settings-item {
    display: grid;
    gap: 16px;
}

.premium-settings-form-create {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(226,232,240,.9);
}

.premium-settings-form-grid {
    display: grid;
    gap: 14px;
}

.premium-settings-form-grid.users-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.premium-settings-form-grid.stores-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.premium-settings-form label span,
.premium-settings-section-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.premium-settings-form input,
.premium-settings-form select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 11px 13px;
    background: #fff;
    color: #0f172a;
}

.premium-settings-form input:focus,
.premium-settings-form select:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,.12);
}

.premium-settings-check-sections {
    display: grid;
    gap: 16px;
}

.premium-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.premium-check-grid-stores {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.premium-check-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #d8e1ea;
    background: #f8fafc;
    min-height: 56px;
}

.premium-check-card input {
    width: auto;
    margin-top: 2px;
}

.premium-check-card span {
    display: block;
    font-size: 14px;
    color: #0f172a;
}

.premium-check-card small {
    display: block;
    color: #64748b;
    margin-top: 2px;
}

.premium-switch-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    font-weight: 600;
}

.premium-switch-row input {
    width: auto;
}

.premium-settings-item {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(226,232,240,.95);
    background: rgba(248,250,252,.96);
}

.premium-settings-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.premium-settings-item-head h4 {
    margin: 0;
    font-size: 20px;
    color: #0f172a;
}

.premium-settings-item-head p {
    margin: 4px 0 0;
    color: #64748b;
}

.premium-settings-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.premium-settings-actions.between {
    justify-content: space-between;
}

.btn.premium-danger-btn {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 10px 16px;
    font-weight: 700;
    box-shadow: 0 12px 22px rgba(220,38,38,.18);
}

.premium-settings-delete-form {
    display: flex;
    justify-content: flex-end;
    margin-top: -4px;
}

@media (max-width: 1200px) {
    .premium-settings-form-grid.users-grid,
    .premium-settings-form-grid.stores-grid,
    .premium-check-grid,
    .premium-check-grid-stores {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .premium-settings-form-grid.users-grid,
    .premium-settings-form-grid.stores-grid,
    .premium-check-grid,
    .premium-check-grid-stores {
        grid-template-columns: 1fr;
    }

    .premium-settings-item-head,
    .premium-settings-actions,
    .premium-settings-actions.between {
        flex-direction: column;
        align-items: stretch;
    }
}

/* v13 refinements */
.premium-ean-page-wide{padding-left:.35rem;padding-right:.35rem;}
.premium-ean-shell-pad{padding-inline:.35rem;}
.premium-inline-summary-card{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;background:rgba(255,255,255,.92);border:1px solid rgba(148,163,184,.18);border-radius:16px;padding:.75rem 1rem;box-shadow:0 10px 24px rgba(15,23,42,.06);font-size:1rem;color:#0f172a;}
.premium-inline-summary-card + .premium-inline-summary-card{margin-top:.6rem;}
.premium-inline-summary-card.muted{color:#334155;}
.summary-separator{color:#94a3b8;font-weight:700;}
.legacy-summary-card.compacter{padding-bottom:.25rem;}
.premium-form-grid-tight{gap:.8rem;}
.premium-form-grid-tight label span{font-size:.74rem;}
.premium-form-grid-tight input{height:46px;}
.legacy-ean-table thead th{padding:11px 10px !important;font-size:.74rem !important;line-height:1.15;}
.legacy-ean-table tbody td,
.premium-ean-table.legacy-ean-table tbody td{padding:8px 10px !important;font-size:.88rem !important;line-height:1.1;}
.legacy-ean-table tbody tr{height:40px;}
.legacy-ean-table .store-name-cell{padding-left:12px !important;}
.legacy-ean-table .store-name{font-size:14px !important;font-weight:600 !important;background:none;border:none;padding:0;color:#0f172a;cursor:pointer;text-align:left;line-height:1.1;}
.legacy-ean-table .store-name.is-group{font-weight:800 !important;}
.legacy-ean-table .store-name:hover{color:#0f62fe;text-decoration:underline;}
.legacy-ean-table tbody tr.is-stale td{background:rgba(239,68,68,.10) !important;}
.legacy-ean-table tbody tr.is-stale:hover td{background:rgba(239,68,68,.14) !important;}
.legacy-ean-table .supplier-col{max-width:320px;}
.premium-settings-page{max-width:1720px;}
.premium-settings-top-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:start;}
.premium-settings-hero-card{padding:1.15rem 1.15rem 1rem;border-radius:24px;}
.premium-settings-list-block{background:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.68);border-radius:24px;padding:1.1rem;box-shadow:0 18px 40px rgba(15,23,42,.06);}
.premium-settings-block-head{margin-bottom:1rem;}
.premium-settings-block-head h3{margin:0;font-size:1.2rem;}
.premium-settings-form-grid.groups-grid{grid-template-columns:repeat(5,minmax(0,1fr));}
.premium-settings-mini-list{display:flex;flex-direction:column;gap:.75rem;}
.premium-mini-card{background:rgba(248,250,252,.95);border:1px solid rgba(148,163,184,.16);border-radius:18px;padding:.8rem;}
.premium-mini-card-grid{display:grid;grid-template-columns:2fr 1.5fr .9fr 1fr 1fr;gap:.7rem;}
.premium-mini-card input,.premium-mini-card select{height:42px;border-radius:12px;border:1px solid rgba(148,163,184,.24);padding:.65rem .8rem;background:#fff;}
.premium-collapse-box{border:1px solid rgba(148,163,184,.18);border-radius:18px;background:rgba(248,250,252,.72);overflow:hidden;}
.premium-collapse-box summary{list-style:none;cursor:pointer;padding:.9rem 1rem;font-weight:700;color:#0f172a;display:flex;align-items:center;justify-content:space-between;}
.premium-collapse-box summary::-webkit-details-marker{display:none;}
.premium-collapse-box[open] summary{border-bottom:1px solid rgba(148,163,184,.16);}
.premium-collapse-box-section{margin-bottom:.85rem;background:rgba(255,255,255,.86);}
.premium-collapse-box-section summary small{font-weight:600;color:#64748b;}
.premium-grouped-checks{padding:0 1rem 1rem;display:flex;flex-direction:column;gap:1rem;}
.premium-store-check-group-head{font-size:.82rem;font-weight:800;color:#334155;text-transform:uppercase;letter-spacing:.06em;margin-bottom:.5rem;}
.premium-check-grid.compact{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));}
.premium-check-grid-compact{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));}
.premium-check-card{min-height:46px;}
.premium-check-card-store small{display:block;color:#64748b;margin-top:.12rem;}
.premium-settings-list-grouped{display:block;}
.premium-settings-group-stack{padding:0 1rem 1rem;display:flex;flex-direction:column;gap:1rem;}
.premium-settings-item-store{margin:0;}
.premium-user-badges{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;}
.status-pill.neutral{background:#e2e8f0;color:#0f172a;}
.premium-secondary-btn{background:#e2e8f0;border:none;color:#0f172a;border-radius:14px;}
.premium-danger-btn.ghost{background:rgba(239,68,68,.08);color:#dc2626;border:none;}
.premium-settings-actions.compact{margin-top:.75rem;}
.premium-settings-check-sections.compact-gap{gap:1rem;}
@media (max-width: 1400px){
  .premium-settings-top-grid{grid-template-columns:1fr;}
  .premium-mini-card-grid,.premium-settings-form-grid.groups-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 900px){
  .premium-inline-summary-card{font-size:.92rem;}
  .premium-mini-card-grid,.premium-settings-form-grid.groups-grid{grid-template-columns:1fr;}
}


.premium-mini-card.premium-stat-card{
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
    border:1px solid rgba(148,163,184,.22);
    color:#0f172a;
    box-shadow:0 20px 35px rgba(15,23,42,.08);
}
.premium-mini-card.premium-stat-card span{color:#475569;opacity:1;font-weight:700;}
.premium-mini-card.premium-stat-card strong{color:#0f172a;font-size:1.4rem;}
.premium-top-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;}
.premium-top-card .premium-surface-head{margin-bottom:.75rem;}
.premium-top-table td,.premium-top-table th{padding:.55rem .65rem;vertical-align:middle;}
.premium-top-table tbody tr:nth-child(odd){background:rgba(248,250,252,.82);} 
.premium-top-table tbody tr:hover{background:rgba(219,234,254,.45);} 
.register-meta{display:block;font-size:10px;color:#94a3b8;margin-top:2px;}
@media (max-width: 1200px){.premium-top-grid{grid-template-columns:1fr;}}


.premium-margin-switch{display:flex;align-items:center;justify-content:flex-end;gap:.9rem;margin-top:1rem;flex-wrap:wrap;}
.premium-margin-switch-label{font-size:.82rem;font-weight:800;color:#475569;text-transform:uppercase;letter-spacing:.08em;}
.premium-switch-group{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem;background:rgba(15,23,42,.06);border:1px solid rgba(148,163,184,.18);border-radius:999px;box-shadow:inset 0 1px 0 rgba(255,255,255,.7);}
.premium-switch-option{display:inline-flex;align-items:center;justify-content:center;min-width:108px;padding:.62rem .95rem;border-radius:999px;text-decoration:none;font-weight:800;font-size:.92rem;color:#334155;transition:all .18s ease;}
.premium-switch-option:hover{color:#0f172a;background:rgba(255,255,255,.55);}
.premium-switch-option.active{background:linear-gradient(135deg,#2563eb 0%,#06b6d4 100%);color:#fff;box-shadow:0 10px 22px rgba(37,99,235,.22);}
@media (max-width: 1100px){.premium-margin-switch{justify-content:flex-start;}}

/* v21 dashboard upgrades */
.premium-dashboard-v21 .kpi-lifted{position:relative;overflow:hidden}
.premium-dashboard-v21 .kpi-lifted::after{content:"";position:absolute;inset:auto -12% -42% auto;width:120px;height:120px;border-radius:999px;background:rgba(255,255,255,.12);filter:blur(4px)}
.premium-insights-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.premium-insight-card{position:relative;overflow:hidden;border-radius:24px;padding:18px 18px 16px;background:#fff;border:1px solid rgba(148,163,184,.18);box-shadow:0 18px 40px rgba(15,23,42,.08);display:flex;flex-direction:column;gap:8px;min-height:152px}
.premium-insight-card::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:4px;background:var(--insight-accent,#38bdf8)}
.premium-insight-card .insight-icon{width:42px;height:42px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;background:var(--insight-soft,rgba(56,189,248,.12));color:var(--insight-accent,#38bdf8);font-size:18px}
.premium-insight-card .insight-label{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#64748b}
.premium-insight-card strong{font-size:1.45rem;line-height:1.15;color:#0f172a}
.premium-insight-card small{font-size:12px;color:#64748b}
.premium-insight-card.tone-cyan{--insight-accent:#06b6d4;--insight-soft:rgba(6,182,212,.14)}
.premium-insight-card.tone-violet{--insight-accent:#8b5cf6;--insight-soft:rgba(139,92,246,.14)}
.premium-insight-card.tone-indigo{--insight-accent:#4f46e5;--insight-soft:rgba(79,70,229,.14)}
.premium-insight-card.tone-rose{--insight-accent:#f43f5e;--insight-soft:rgba(244,63,94,.14)}
.premium-insight-card.tone-amber{--insight-accent:#f59e0b;--insight-soft:rgba(245,158,11,.16)}
.premium-insight-card.tone-emerald{--insight-accent:#10b981;--insight-soft:rgba(16,185,129,.15)}
.metric-chip{padding:14px;border-radius:18px;border:1px solid #e2e8f0}
.metric-chip-cash{background:linear-gradient(180deg,#eff6ff 0%,#f8fafc 100%)}
.metric-chip-card{background:linear-gradient(180deg,#fff7ed 0%,#fff1f2 100%)}
.premium-mini-grid-wide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.premium-mini-grid-wide .premium-mini-card{min-height:128px;display:flex;flex-direction:column;justify-content:center;gap:8px;border-radius:22px;padding:18px 18px 16px;box-shadow:0 16px 36px rgba(15,23,42,.08)}
.premium-mini-grid-wide .premium-mini-card span{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.premium-mini-grid-wide .premium-mini-card strong{font-size:1.5rem;line-height:1.1}
.premium-mini-grid-wide .premium-mini-card small{font-size:12px;color:#64748b}
.premium-mini-grid-wide .premium-mini-card.tone-night{background:linear-gradient(180deg,#0f172a 0%,#1e293b 100%);color:#fff}
.premium-mini-grid-wide .premium-mini-card.tone-night span,.premium-mini-grid-wide .premium-mini-card.tone-night small{color:rgba(255,255,255,.72)}
.premium-mini-grid-wide .premium-mini-card.tone-violet{background:linear-gradient(180deg,#f5f3ff 0%,#ede9fe 100%);color:#312e81}
.premium-mini-grid-wide .premium-mini-card.tone-violet span,.premium-mini-grid-wide .premium-mini-card.tone-violet small{color:#6d28d9}
.premium-mini-grid-wide .premium-mini-card.tone-emerald{background:linear-gradient(180deg,#ecfdf5 0%,#d1fae5 100%);color:#065f46}
.premium-mini-grid-wide .premium-mini-card.tone-emerald span,.premium-mini-grid-wide .premium-mini-card.tone-emerald small{color:#047857}
.premium-top-grid-categories .premium-surface-head i,.premium-top-grid .premium-surface-head i{opacity:.9}
.register-meta{display:block;margin-top:3px;font-size:11px;color:#94a3b8}
@media (max-width: 1400px){.premium-insights-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width: 992px){.premium-insights-grid,.premium-mini-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 640px){.premium-insights-grid,.premium-mini-grid-wide{grid-template-columns:1fr}.premium-insight-card,.premium-mini-grid-wide .premium-mini-card{min-height:auto}}


.premium-dashboard-v22 .premium-metrics-grid-wide {grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));}
.premium-dashboard-v22 .premium-kpi-card small {display:block;margin-top:.2rem;color:#e2e8f0;font-size:.74rem;opacity:.92;}
.premium-compare-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1rem;}
.premium-compare-card {background:linear-gradient(135deg,rgba(255,255,255,.98) 0%,rgba(248,250,252,.94) 100%);border:1px solid rgba(148,163,184,.18);border-radius:24px;padding:1.15rem 1.2rem;box-shadow:var(--shadow-lg);}
.compare-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;}
.compare-item {padding:.85rem .9rem;border-radius:18px;background:linear-gradient(135deg,rgba(15,23,42,.03),rgba(59,130,246,.06));border:1px solid rgba(148,163,184,.16);}
.compare-item span {display:block;font-size:.78rem;color:#64748b;margin-bottom:.35rem;}
.compare-item strong {display:block;font-size:1.05rem;color:#0f172a;line-height:1.2;}
.compare-item small {display:block;margin-top:.35rem;font-weight:700;}
.compare-item small.is-up {color:#059669;}
.compare-item small.is-down {color:#dc2626;}
.premium-insights-grid-compact {grid-template-columns:repeat(auto-fit,minmax(220px,1fr));}
.premium-top-switcher {padding:1rem;}
.premium-top-tabs {display:flex;flex-wrap:wrap;gap:.55rem;margin:.35rem 0 1rem;}
.premium-top-tab {border:1px solid rgba(148,163,184,.22);background:#fff;color:#334155;border-radius:999px;padding:.55rem .9rem;font-size:.84rem;font-weight:700;box-shadow:0 6px 16px rgba(15,23,42,.06);transition:all .18s ease;}
.premium-top-tab:hover {transform:translateY(-1px);border-color:rgba(59,130,246,.3);}
.premium-top-tab.active {background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;border-color:transparent;box-shadow:0 12px 28px rgba(79,70,229,.25);}
.premium-top-panel {display:none;}
.premium-top-panel.active {display:block;}
@media (max-width: 900px){.compare-grid{grid-template-columns:1fr;}.premium-top-tabs{overflow:auto;flex-wrap:nowrap;padding-bottom:.25rem;}}

/* v23 premium dashboard refinements */
.premium-dashboard-v23 .premium-metrics-grid-wide {grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));}
.premium-dashboard-v23 .premium-kpis-premium .premium-kpi-card {
    position: relative;
    overflow: hidden;
    min-height: 132px;
    padding: 1.15rem 1.15rem 1.05rem;
    border-radius: 28px;
    box-shadow: 0 26px 48px rgba(15,23,42,.12);
}
.premium-dashboard-v23 .premium-kpis-premium .premium-kpi-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,.26), transparent 42%);
    pointer-events: none;
}
.premium-dashboard-v23 .premium-kpis-premium .premium-kpi-card::after {
    content: '';
    position: absolute;
    right: -24px;
    bottom: -30px;
    width: 130px;
    height: 130px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    filter: blur(4px);
}
.premium-dashboard-v23 .premium-kpis-premium .kpi-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(255,255,255,.17);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 14px 28px rgba(15,23,42,.16);
}
.premium-dashboard-v23 .premium-kpis-premium .kpi-icon i {font-size: 1.22rem;}
.premium-dashboard-v23 .premium-kpis-premium .kpi-copy {position: relative; z-index: 1;}
.premium-dashboard-v23 .premium-kpis-premium .premium-kpi-card strong {font-size: clamp(2rem, 2.2vw, 2.75rem); letter-spacing: -.04em;}
.premium-dashboard-v23 .premium-kpis-premium .premium-kpi-card span {font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; opacity: .9;}
.premium-dashboard-v23 .premium-kpis-premium .premium-kpi-card small {display:block;margin-top:.28rem;color:#eef2ff;font-size:.76rem;opacity:.95;}
.premium-dashboard-v23 .premium-kpis-premium .premium-cyan {background: linear-gradient(135deg,#0f7de9 0%,#22d3ee 100%);} 
.premium-dashboard-v23 .premium-kpis-premium .premium-green {background: linear-gradient(135deg,#0f9f55 0%,#4ade80 100%);} 
.premium-dashboard-v23 .premium-kpis-premium .premium-yellow {background: linear-gradient(135deg,#d97706 0%,#facc15 100%);} 
.premium-dashboard-v23 .premium-kpis-premium .premium-red {background: linear-gradient(135deg,#dc2626 0%,#fb7185 100%);} 
.premium-dashboard-v23 .premium-kpis-premium .premium-violet {background: linear-gradient(135deg,#6d28d9 0%,#8b5cf6 48%,#c084fc 100%);} 

.premium-dashboard-v23 .premium-compare-grid {grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.1rem;}
.premium-dashboard-v23 .premium-compare-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: 1.2rem 1.25rem;
    background: linear-gradient(145deg, rgba(255,255,255,.98) 0%, rgba(241,245,249,.92) 100%);
    box-shadow: 0 24px 56px rgba(15,23,42,.11);
}
.premium-dashboard-v23 .premium-compare-card::after {
    content:'';
    position:absolute;
    top:-24px;
    right:-18px;
    width:120px;
    height:120px;
    border-radius:999px;
    background: radial-gradient(circle, rgba(99,102,241,.18) 0%, rgba(99,102,241,0) 68%);
}
.premium-dashboard-v23 .compare-item {border-radius: 20px; padding: .95rem 1rem; background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(219,234,254,.44));}
.premium-dashboard-v23 .compare-item strong {font-size: 1.12rem;}
.premium-dashboard-v23 .compare-item small {display:inline-flex;align-items:center;gap:.42rem;margin-top:.55rem;padding:.34rem .55rem;border-radius:999px;background:rgba(255,255,255,.86);font-weight:800;box-shadow:0 8px 18px rgba(15,23,42,.08);} 
.premium-dashboard-v23 .compare-item small i {font-size:.8rem;}
.premium-dashboard-v23 .compare-item small.is-up {color:#047857;background:rgba(16,185,129,.12);} 
.premium-dashboard-v23 .compare-item small.is-down {color:#dc2626;background:rgba(248,113,113,.14);} 
.premium-dashboard-v23 .compare-item small.is-neutral {color:#475569;background:rgba(148,163,184,.18);} 

.premium-dashboard-v23 .premium-insights-grid-compact {grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));}
.premium-dashboard-v23 .premium-insight-card {border-radius: 24px; box-shadow: 0 18px 38px rgba(15,23,42,.09);} 
.premium-dashboard-v23 .premium-insight-card.tone-night {--insight-accent:#0f172a;--insight-soft:rgba(15,23,42,.10);} 
.premium-dashboard-v23 .premium-insight-card.tone-emerald {--insight-accent:#0f9f66;--insight-soft:rgba(16,185,129,.14);} 

@media (max-width: 1200px){
    .premium-dashboard-v23 .premium-kpis-premium .premium-kpi-card {min-height: 118px;}
}
@media (max-width: 900px){
    .premium-dashboard-v23 .premium-metrics-grid-wide {grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));}
    .premium-dashboard-v23 .premium-kpis-premium .premium-kpi-card strong {font-size: 1.8rem;}
}

/* v24 dashboard and settings refinements */
.premium-dashboard-page [data-premium-tip]{position:relative;}
@media (hover:hover){
  .premium-dashboard-page [data-premium-tip]:hover::after,
  .premium-dashboard-page [data-premium-tip]:focus-visible::after,
  .premium-dashboard-page .premium-top-tab[data-premium-tip]:hover::after,
  .premium-dashboard-page .premium-top-tab[data-premium-tip]:focus-visible::after{
    content: attr(data-premium-tip);
    position:absolute;
    left:50%;bottom:calc(100% + 10px);
    transform:translateX(-50%);
    min-width:180px;max-width:280px;
    padding:.62rem .78rem;
    border-radius:14px;
    background:rgba(15,23,42,.92);
    color:#f8fafc;
    font-size:.76rem;line-height:1.35;
    box-shadow:0 16px 34px rgba(15,23,42,.25);
    z-index:60;pointer-events:none;text-align:left;
    white-space:normal;
  }
}
.premium-kpi-card .kpi-copy{min-width:0;}
.premium-kpi-card .kpi-copy strong.kpi-inline-value,
.premium-insight-card strong.kpi-inline-value,
.premium-insight-card small .kpi-inline-value{
  display:inline-flex;align-items:baseline;gap:.28rem;flex-wrap:nowrap;white-space:nowrap;max-width:100%;
}
.premium-kpi-card .kpi-copy strong.kpi-inline-value{font-size:clamp(1.68rem,2vw,2.45rem);line-height:1.02;}
.premium-kpi-card .metric-number,.premium-insight-card .metric-number{display:inline-block;min-width:0;}
.premium-kpi-card .metric-currency,.premium-insight-card .metric-currency{display:inline-block;font-size:.78em;opacity:.96;}
.premium-kpi-card .kpi-copy strong{word-break:normal;}
.premium-kpi-card .kpi-copy span{overflow-wrap:anywhere;}
.premium-insight-card small .metric-currency{font-size:1em;}
.premium-top-table.is-category-table thead th:nth-child(1){width:auto;}
.premium-top-table.is-category-table thead th:nth-child(2){width:180px;}
.premium-top-table td,.premium-top-table th{vertical-align:middle;}
.premium-top-table td:first-child{max-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.premium-top-tabs{flex-wrap:wrap;}
.premium-settings-tree-card textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.83rem;min-height:120px;}
.premium-assortment-tree{display:flex;flex-direction:column;gap:.55rem;}
.premium-assortment-node{border:1px solid rgba(148,163,184,.28);border-radius:16px;background:rgba(255,255,255,.62);}
.premium-assortment-node summary{list-style:none;cursor:pointer;padding:.78rem .95rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;}
.premium-assortment-node summary::-webkit-details-marker{display:none;}
.premium-assortment-node__label{font-weight:800;color:#0f172a;}
.premium-assortment-node__meta{font-size:.8rem;color:#475569;white-space:nowrap;}
.premium-assortment-node__body{padding:0 .95rem .95rem;display:flex;flex-direction:column;gap:.35rem;}
.premium-assortment-depth-1{margin-left:1rem;}
.premium-assortment-depth-2{margin-left:2rem;}
.premium-assortment-depth-3{margin-left:3rem;}
.premium-assortment-depth-4{margin-left:4rem;}
.premium-assortment-depth-5{margin-left:5rem;}
.premium-chip-wrap{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.45rem;}
.premium-chip{display:inline-flex;align-items:center;padding:.28rem .58rem;border-radius:999px;background:rgba(59,130,246,.1);color:#1d4ed8;font-size:.76rem;font-weight:700;}
.premium-chip-muted{background:rgba(100,116,139,.14);color:#334155;}
@media (max-width: 1100px){
  .premium-kpi-card .kpi-copy strong.kpi-inline-value{font-size:clamp(1.45rem,4vw,2rem);}
}
@media (max-width: 768px){
  .premium-assortment-depth-1,.premium-assortment-depth-2,.premium-assortment-depth-3,.premium-assortment-depth-4,.premium-assortment-depth-5{margin-left:0;}
  .premium-assortment-node summary{flex-direction:column;align-items:flex-start;}
}

/* v25 dashboard scaling + assortment grouping */
.premium-dashboard-v25 .premium-kpis-premium .premium-kpi-card{min-height:136px;padding:1.15rem 1.2rem 1.05rem;container-type:inline-size;}
.premium-dashboard-v25 .premium-kpis-premium .premium-kpi-card .kpi-copy{display:flex;flex-direction:column;gap:.28rem;min-width:0;}
.premium-dashboard-v25 .premium-kpis-premium .premium-kpi-card .kpi-copy span{font-size:.78rem;letter-spacing:.08em;line-height:1.05;}
.premium-dashboard-v25 .premium-kpis-premium .premium-kpi-card .kpi-copy strong.kpi-inline-value{font-size:clamp(2.05rem,2.6vw,3.45rem);line-height:.98;gap:.18rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.premium-dashboard-v25 .premium-kpis-premium .premium-kpi-card .metric-number{font-variant-numeric:tabular-nums;}
.premium-dashboard-v25 .premium-kpis-premium .premium-kpi-card .metric-currency{font-size:.58em;white-space:nowrap;align-self:flex-end;margin-bottom:.08em;}
.premium-dashboard-v25 .premium-kpis-premium .kpi-icon{width:58px;height:58px;}
.premium-dashboard-v25 .premium-kpis-premium .premium-kpi-card .kpi-copy strong.kpi-inline-value .metric-number{min-width:0;}
.premium-assortment-form{display:flex;flex-direction:column;gap:.85rem;}
.premium-assortment-selected{padding:.85rem 1rem;border:1px solid rgba(59,130,246,.16);border-radius:18px;background:linear-gradient(145deg,rgba(239,246,255,.72),rgba(255,255,255,.88));}
.premium-chip-active{background:linear-gradient(135deg,#2563eb,#8b5cf6);color:#fff;box-shadow:0 10px 18px rgba(37,99,235,.18);}
.premium-assortment-node.is-selected{border-color:rgba(37,99,235,.38);box-shadow:0 18px 36px rgba(37,99,235,.08);}
.premium-assortment-node__main{display:flex;align-items:center;gap:.75rem;min-width:0;flex:1;}
.premium-assortment-toggle{display:inline-flex;align-items:center;gap:.65rem;font-weight:800;color:#0f172a;cursor:pointer;min-width:0;}
.premium-assortment-toggle input{width:18px;height:18px;accent-color:#2563eb;border-radius:6px;flex:none;}
.premium-assortment-node__label{display:inline-flex;align-items:center;gap:.4rem;min-width:0;}
.premium-assortment-node__meta{display:inline-flex;align-items:center;justify-content:flex-end;text-align:right;}
.premium-top-table.is-category-table td:first-child,.premium-top-table.is-category-table th:first-child{width:auto;max-width:none;}
@media (max-width: 1200px){.premium-dashboard-v25 .premium-kpis-premium .premium-kpi-card .kpi-copy strong.kpi-inline-value{font-size:clamp(1.8rem,3.8vw,2.75rem);}}
@media (max-width: 900px){.premium-dashboard-v25 .premium-kpis-premium .premium-kpi-card .kpi-copy strong.kpi-inline-value{font-size:clamp(1.55rem,6vw,2.2rem);} .premium-assortment-node summary{flex-direction:column;align-items:flex-start;} .premium-assortment-node__meta{text-align:left;justify-content:flex-start;}}

/* v26 dashboard + settings polish */
.premium-dashboard-v26 .premium-kpis-premium{
  grid-template-columns: repeat(5, minmax(220px, 1fr));
}
.premium-dashboard-v26 .premium-kpis-premium .premium-kpi-card{
  min-height: 128px;
  padding: 1.15rem 1.25rem;
}
.premium-dashboard-v26 .premium-kpis-premium .premium-kpi-card .kpi-copy{
  justify-content:center;
}
.premium-dashboard-v26 .premium-kpis-premium .premium-kpi-card .kpi-copy span{
  font-size: clamp(.8rem, .65vw + .45rem, 1rem);
  letter-spacing: .07em;
}
.premium-dashboard-v26 .premium-kpis-premium .premium-kpi-card .kpi-copy strong.kpi-inline-value{
  font-size: clamp(1.9rem, 1.4vw + 1.15rem, 3.1rem);
  line-height: 1.02;
  gap: .22rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  max-width: 100%;
}
.premium-dashboard-v26 .premium-kpis-premium .premium-kpi-card .metric-number{
  min-width: 0;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.premium-dashboard-v26 .premium-kpis-premium .premium-kpi-card .metric-currency{
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: .68em;
}
.premium-dashboard-v26 .premium-kpis-premium .premium-kpi-card .kpi-icon{
  width: 60px;
  height: 60px;
  border-radius: 18px;
}
@media (max-width: 1500px){
  .premium-dashboard-v26 .premium-kpis-premium{grid-template-columns: repeat(3, minmax(220px, 1fr));}
}
@media (max-width: 1100px){
  .premium-dashboard-v26 .premium-kpis-premium{grid-template-columns: repeat(2, minmax(220px, 1fr));}
}
@media (max-width: 700px){
  .premium-dashboard-v26 .premium-kpis-premium{grid-template-columns: 1fr;}
}

.settings-collapsible [data-settings-toggle]{cursor:pointer;position:relative;padding-right:2.5rem;}
.settings-collapsible [data-settings-toggle]::after{
  content:'▾';
  position:absolute;
  right:.15rem;
  top:50%;
  transform:translateY(-50%);
  color:#64748b;
  font-size:1rem;
  transition:transform .18s ease;
}
.settings-collapsible:not(.is-open) [data-settings-toggle]::after{transform:translateY(-50%) rotate(-90deg);}
.settings-collapsible{overflow:hidden;}
.settings-collapsible .premium-settings-item,
.settings-collapsible .premium-settings-form,
.settings-collapsible .premium-settings-list,
.settings-collapsible .premium-settings-mini-list,
.settings-collapsible .premium-assortment-form,
.settings-collapsible .premium-settings-form-grid,
.settings-collapsible p.text-muted,
.settings-collapsible .premium-assortment-selected,
.settings-collapsible .premium-settings-actions,
.settings-collapsible .premium-grouped-checks,
.settings-collapsible .premium-settings-group-stack,
.settings-collapsible .premium-empty-inline{margin-top: 1rem;}
.premium-settings-page .premium-settings-top-grid{align-items:start;}
.premium-settings-page .premium-settings-card{padding-bottom:1rem;}
.premium-settings-page .premium-settings-form-grid{gap:1rem 1rem;}
.premium-settings-page .premium-settings-panel{border:1px solid rgba(148,163,184,.14);border-radius:24px;background:#fff;box-shadow:0 20px 45px rgba(15,23,42,.06);}
.premium-settings-page .premium-collapse-box summary{cursor:pointer;}

.premium-assortment-toolbar{display:flex;gap:1rem;align-items:end;justify-content:space-between;flex-wrap:wrap;}
.premium-assortment-search{display:flex;flex-direction:column;gap:.35rem;min-width:min(520px,100%);}
.premium-assortment-search input{border:1px solid #d8e1ef;border-radius:14px;padding:.85rem 1rem;font-size:.95rem;background:#f8fbff;}
.premium-assortment-toolbar-actions{display:flex;gap:.75rem;flex-wrap:wrap;}
.premium-assortment-helper{font-size:.92rem;color:#475569;background:#f8fbff;border:1px solid #dbe7f3;border-radius:16px;padding:.8rem 1rem;}
.premium-assortment-tree-nested{display:flex;flex-direction:column;gap:.55rem;max-height:880px;overflow:auto;padding-right:.2rem;}
.premium-assortment-node{border:1px solid rgba(148,163,184,.18);border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);}
.premium-assortment-node summary{list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.85rem 1rem;cursor:pointer;}
.premium-assortment-node summary::-webkit-details-marker{display:none;}
.premium-assortment-node__main{display:flex;align-items:center;gap:.65rem;min-width:0;}
.premium-assortment-toggle{display:flex;align-items:center;gap:.7rem;cursor:pointer;min-width:0;}
.premium-assortment-toggle input{width:18px;height:18px;accent-color:#2563eb;}
.premium-assortment-node__label{font-weight:700;color:#0f172a;white-space:normal;}
.premium-assortment-node__meta{font-size:.85rem;color:#64748b;white-space:nowrap;flex:0 0 auto;}
.premium-assortment-node.is-selected{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.1);}
.premium-assortment-node.has-selected{background:linear-gradient(180deg,#ffffff 0%,#f3f8ff 100%);}
.premium-assortment-node__body{padding:0 1rem .9rem 2.65rem;}
.premium-assortment-children{display:flex;flex-direction:column;gap:.45rem;padding:0 .75rem .75rem 1.25rem;border-top:1px dashed rgba(148,163,184,.22);}
.premium-assortment-depth-1{margin-left:1rem;}
.premium-assortment-depth-2{margin-left:2rem;}
.premium-assortment-depth-3{margin-left:3rem;}
.premium-assortment-depth-4{margin-left:4rem;}
.premium-assortment-depth-5{margin-left:5rem;}
.premium-assortment-selected .premium-chip-active{background:linear-gradient(90deg,#2563eb,#0ea5e9);color:#fff;border:none;}
@media (max-width: 900px){
  .premium-assortment-node summary{flex-direction:column;align-items:flex-start;}
  .premium-assortment-node__meta{white-space:normal;}
  .premium-assortment-depth-1,.premium-assortment-depth-2,.premium-assortment-depth-3,.premium-assortment-depth-4,.premium-assortment-depth-5{margin-left:0;}
  .premium-assortment-children{padding-left:.6rem;}
}

/* v27 exact assort source + larger KPI cards */
.premium-violet{background:linear-gradient(135deg,#6d28d9 0%,#8b5cf6 48%,#c084fc 100%);color:#fff}
.premium-violet .kpi-icon{background:rgba(255,255,255,.14);color:#fff}
.premium-amber{background:linear-gradient(135deg,#f59e0b 0%,#fb923c 48%,#f97316 100%);color:#fff}
.premium-amber .kpi-icon{background:rgba(255,255,255,.16);color:#fff}
.premium-dashboard-v27 .premium-kpis-premium{grid-template-columns:repeat(5,minmax(240px,1fr));gap:18px}
.premium-dashboard-v27 .premium-kpis-premium .premium-kpi-card{min-height:144px;padding:1.2rem 1.3rem 1.15rem}
.premium-dashboard-v27 .premium-kpis-premium .premium-kpi-card .kpi-copy{justify-content:center;gap:.34rem}
.premium-dashboard-v27 .premium-kpis-premium .premium-kpi-card .kpi-copy span{font-size:clamp(.92rem,.4vw + .82rem,1.08rem);letter-spacing:.04em;line-height:1.08}
.premium-dashboard-v27 .premium-kpis-premium .premium-kpi-card .kpi-copy strong.kpi-inline-value{font-size:clamp(2.3rem,1.55vw + 1.6rem,3.65rem);line-height:1;display:inline-flex;align-items:baseline;gap:.18rem;white-space:nowrap;max-width:100%}
.premium-dashboard-v27 .premium-kpis-premium .premium-kpi-card .metric-number{min-width:0;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.premium-dashboard-v27 .premium-kpis-premium .premium-kpi-card .metric-currency{font-size:.72em;white-space:nowrap}
.premium-dashboard-v27 .premium-kpis-premium .premium-kpi-card .kpi-icon{width:60px;height:60px;border-radius:18px}
.premium-inline-note{padding:.85rem 1rem;border-radius:16px;background:rgba(59,130,246,.08);border:1px solid rgba(59,130,246,.14);color:#334155}
@media (max-width:1600px){.premium-dashboard-v27 .premium-kpis-premium{grid-template-columns:repeat(3,minmax(240px,1fr));}}
@media (max-width:1100px){.premium-dashboard-v27 .premium-kpis-premium{grid-template-columns:repeat(2,minmax(220px,1fr));}.premium-dashboard-v27 .premium-kpis-premium .premium-kpi-card .kpi-copy strong.kpi-inline-value{font-size:clamp(2rem,4vw,2.8rem);}}
@media (max-width:700px){.premium-dashboard-v27 .premium-kpis-premium{grid-template-columns:1fr;}}

/* v28 premium cards: restore larger values, keep currency on same line */
.premium-dashboard-v28 .premium-kpis-premium{
  grid-template-columns: repeat(5, minmax(230px, 1fr));
  gap: 1.05rem;
}
.premium-dashboard-v28 .premium-kpis-premium .premium-kpi-card{
  min-height: 146px;
  padding: 1.15rem 1.25rem 1.1rem;
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .12);
}
.premium-dashboard-v28 .premium-kpis-premium .premium-kpi-card .kpi-icon{
  width: 60px;
  height: 60px;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 25px rgba(15,23,42,.18);
}
.premium-dashboard-v28 .premium-kpis-premium .premium-kpi-card .kpi-copy{
  gap: .34rem;
  justify-content: center;
  min-width: 0;
}
.premium-dashboard-v28 .premium-kpis-premium .premium-kpi-card .kpi-copy span{
  font-size: .88rem;
  line-height: 1.05;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .96;
}
.premium-dashboard-v28 .premium-kpis-premium .premium-kpi-card .kpi-copy strong.kpi-inline-value{
  display: inline-flex;
  align-items: baseline;
  gap: .16rem;
  white-space: nowrap;
  line-height: .96;
  font-size: clamp(2.55rem, 1.8vw + 1.8rem, 4rem);
  letter-spacing: -.045em;
  overflow: hidden;
  max-width: 100%;
}
.premium-dashboard-v28 .premium-kpis-premium .premium-kpi-card .metric-number{
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  font-variant-numeric: tabular-nums;
}
.premium-dashboard-v28 .premium-kpis-premium .premium-kpi-card .metric-currency{
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: .56em;
  line-height: 1;
  margin-left: .04em;
  opacity: .98;
}
.premium-dashboard-v28 .premium-kpis-premium .premium-violet{
  background: linear-gradient(135deg,#6d28d9 0%,#8b5cf6 48%,#c084fc 100%);
  color:#fff;
}
.premium-dashboard-v28 .premium-kpis-premium .premium-violet .kpi-icon{
  background: rgba(255,255,255,.16);
  color:#fff;
}
.premium-dashboard-v28 .premium-kpis-premium .premium-cyan .kpi-copy,
.premium-dashboard-v28 .premium-kpis-premium .premium-green .kpi-copy,
.premium-dashboard-v28 .premium-kpis-premium .premium-yellow .kpi-copy,
.premium-dashboard-v28 .premium-kpis-premium .premium-red .kpi-copy,
.premium-dashboard-v28 .premium-kpis-premium .premium-violet .kpi-copy{
  color:#fff;
}
.premium-dashboard-v28 .premium-kpis-premium .premium-kpi-card::after{
  opacity:.24;
}

/* source tree in settings */
.premium-assortment-source-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.18rem .55rem;border-radius:999px;background:rgba(59,130,246,.12);color:#2563eb;font-size:.72rem;font-weight:700;}
.premium-assortment-node--source summary{background:rgba(15,23,42,.04);}
.premium-assortment-node__label small{display:inline-block;margin-left:.45rem;color:#64748b;font-size:.74rem;}

@media (max-width: 1400px){
  .premium-dashboard-v28 .premium-kpis-premium{grid-template-columns: repeat(3, minmax(220px,1fr));}
}
@media (max-width: 980px){
  .premium-dashboard-v28 .premium-kpis-premium{grid-template-columns: repeat(2, minmax(220px,1fr));}
  .premium-dashboard-v28 .premium-kpis-premium .premium-kpi-card .kpi-copy strong.kpi-inline-value{font-size: clamp(2.1rem, 6vw, 3rem);}
}
@media (max-width: 640px){
  .premium-dashboard-v28 .premium-kpis-premium{grid-template-columns: 1fr;}
}

/* v29 */
.premium-dashboard-v29 .premium-kpis-premium{
  grid-template-columns:repeat(5,minmax(255px,1fr));
  gap:20px;
}
.premium-dashboard-v29 .premium-kpis-premium .premium-kpi-card{
  min-height:152px;
  padding:1.25rem 1.35rem 1.15rem;
  border-radius:28px;
}
.premium-dashboard-v29 .premium-kpis-premium .premium-kpi-card .kpi-icon{
  width:60px;height:60px;border-radius:18px;flex:0 0 auto;
}
.premium-dashboard-v29 .premium-kpis-premium .premium-kpi-card .kpi-copy{
  display:flex;flex-direction:column;justify-content:center;gap:.22rem;min-width:0;flex:1;
}
.premium-dashboard-v29 .premium-kpis-premium .premium-kpi-card .kpi-copy span{
  font-size:1rem;font-weight:800;letter-spacing:.03em;line-height:1.06;
}
.premium-dashboard-v29 .premium-kpis-premium .premium-kpi-card .kpi-copy strong.kpi-inline-value{
  display:inline-flex;align-items:baseline;gap:.22rem;line-height:.98;white-space:nowrap;max-width:100%;min-width:0;
  font-size:56px;
}
.premium-dashboard-v29 .premium-kpis-premium .premium-kpi-card .metric-number{
  min-width:0;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums;font-weight:900;
}
.premium-dashboard-v29 .premium-kpis-premium .premium-kpi-card .metric-currency{
  font-size:.62em;white-space:nowrap;flex:0 0 auto;
}
.premium-dashboard-v29 .premium-kpis-premium .premium-kpi-card .kpi-inline-text{
  display:block;font-size:clamp(1.55rem,1.5vw + 1rem,2.25rem)!important;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.premium-dashboard-v29 .premium-kpis-premium .premium-kpi-card .kpi-meta-value{
  display:block;color:rgba(255,255,255,.86);font-size:.92rem;font-weight:700;margin-top:.15rem;
}
.premium-dashboard-v29 .premium-violet{background:linear-gradient(135deg,#7c3aed 0%,#8b5cf6 45%,#a78bfa 100%);}
.premium-dashboard-v29 .premium-violet .kpi-icon{background:rgba(255,255,255,.16);}

.premium-top-pagination,.premium-pagination{display:flex;gap:.45rem;align-items:center;justify-content:flex-end;flex-wrap:wrap;}
.premium-page-btn{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:38px;padding:0 .85rem;border-radius:999px;border:1px solid rgba(148,163,184,.24);background:#fff;color:#0f172a;font-weight:800;text-decoration:none;box-shadow:0 8px 18px rgba(15,23,42,.06);}
.premium-page-btn.active{background:linear-gradient(135deg,#2563eb 0%,#7c3aed 100%);color:#fff;border-color:transparent;}
.premium-page-btn.is-disabled{opacity:.45;pointer-events:none;}
.premium-top-pagination{padding-top:.9rem;}

.premium-filter-grid-assortments{grid-template-columns:minmax(220px,1.2fr) repeat(2,minmax(170px,.75fr)) auto;}
.premium-assortment-kpis .premium-kpi-card{min-height:148px;}
.premium-assortments-meta{display:flex;gap:.9rem;align-items:center;flex-wrap:wrap;justify-content:flex-end;}
.premium-assortments-table td,.premium-assortments-table th{vertical-align:middle;}
.assortment-row-label{display:flex;align-items:center;gap:.55rem;min-width:0;}
.assortment-row-label span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;}
.assortment-row-caret{font-size:.8rem;color:#64748b;flex:0 0 auto;}
.assortment-row-spacer{display:inline-block;width:.8rem;flex:0 0 auto;}

@media (max-width:1600px){
  .premium-dashboard-v29 .premium-kpis-premium{grid-template-columns:repeat(3,minmax(230px,1fr));}
}
@media (max-width:1200px){
  .premium-dashboard-v29 .premium-kpis-premium{grid-template-columns:repeat(2,minmax(220px,1fr));}
  .premium-filter-grid-assortments{grid-template-columns:1fr 1fr;}
}
@media (max-width:760px){
  .premium-dashboard-v29 .premium-kpis-premium{grid-template-columns:1fr;}
  .premium-filter-grid-assortments{grid-template-columns:1fr;}
}

/* v30 */
.premium-dashboard-v30 .premium-kpis-premium-old,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old{
  grid-template-columns:repeat(6,minmax(220px,1fr));
  gap:18px;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card{
  min-height:144px;
  padding:1.25rem 1.35rem 1.15rem;
  border-radius:26px;
  display:grid;
  grid-template-columns:62px minmax(0,1fr);
  gap:1rem;
  align-items:center;
  box-shadow:0 20px 42px rgba(15,23,42,.12);
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-icon,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-icon{
  width:58px;height:58px;border-radius:18px;box-shadow:inset 0 1px 0 rgba(255,255,255,.24), 0 10px 22px rgba(15,23,42,.14);
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy{
  display:flex;flex-direction:column;justify-content:center;gap:.42rem;min-width:0;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy > span,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy > span{
  font-size:.9rem;
  line-height:1.05;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:800;
  color:rgba(255,255,255,.96);
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value{
  display:inline-flex;
  align-items:baseline;
  gap:.14rem;
  white-space:nowrap;
  line-height:.92;
  font-size:clamp(2.35rem,1.9vw + 1.4rem,3.6rem);
  max-width:100%;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .metric-number,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .metric-number{
  min-width:0;
  overflow:visible;
  text-overflow:clip;
  font-variant-numeric:tabular-nums;
  font-weight:900;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .metric-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .metric-currency{
  font-size:.55em;
  white-space:nowrap;
  flex:0 0 auto;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-violet,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-violet{
  background:linear-gradient(135deg,#6d28d9 0%,#8b5cf6 45%,#c084fc 100%);
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-violet .kpi-icon,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-violet .kpi-icon{
  background:rgba(255,255,255,.15);
}
.premium-dashboard-v30 .premium-insight-card,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card{
  min-height:170px;
  padding:20px 20px 18px;
  border-radius:24px;
}
.premium-dashboard-v30 .premium-insight-card strong,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card strong{
  font-size:clamp(2.05rem,1.4vw + 1.35rem,3rem);
  line-height:.98;
  letter-spacing:-.03em;
}
.premium-dashboard-v30 .premium-insight-card strong.kpi-inline-value,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card strong.kpi-inline-value,
.premium-dashboard-v30 .premium-insight-card small .kpi-inline-value,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card small .kpi-inline-value{
  display:inline-flex;
  align-items:baseline;
  gap:.14rem;
  white-space:nowrap;
}
.premium-dashboard-v30 .premium-insight-card .metric-number,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card .metric-number{font-weight:900;}
.premium-dashboard-v30 .premium-insight-card .metric-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card .metric-currency{font-size:.56em;white-space:nowrap;}
.premium-dashboard-v30 .premium-insight-card small,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card small{font-size:13px;line-height:1.35;}

.premium-filter-grid-assortments-v30{grid-template-columns:minmax(220px,1.15fr) minmax(220px,1.05fr) minmax(150px,.7fr) repeat(2,minmax(170px,.7fr)) auto;}
.premium-assortments-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;}
.premium-top-tabs-static .premium-top-tab{cursor:pointer;}
.assortment-row-toggle{width:24px;height:24px;border:none;background:#eef2ff;color:#475569;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;padding:0;flex:0 0 auto;transition:transform .18s ease, background .18s ease, color .18s ease;}
.assortment-row-toggle:hover{background:#dbeafe;color:#1d4ed8;}
.assortment-row-toggle.is-collapsed i{transform:rotate(-90deg);}
.tr-assort-hidden{display:none;}
.premium-assortments-table td{white-space:nowrap;}
.premium-assortments-table td:first-child{white-space:normal;}
.premium-assortments-table .comparison-chip{justify-content:center;min-width:94px;}

@media (max-width:1600px){
  .premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six{grid-template-columns:repeat(3,minmax(240px,1fr));}
  .premium-dashboard-v30 .premium-kpis-premium-old:not(.premium-dashboard-kpis-six),
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old{grid-template-columns:repeat(3,minmax(240px,1fr));}
}
@media (max-width:1200px){
  .premium-filter-grid-assortments-v30{grid-template-columns:1fr 1fr;}
  .premium-dashboard-v30 .premium-kpis-premium-old,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old{grid-template-columns:repeat(2,minmax(220px,1fr));}
}
@media (max-width:720px){
  .premium-dashboard-v30 .premium-kpis-premium-old,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old{grid-template-columns:1fr;}
  .premium-filter-grid-assortments-v30{grid-template-columns:1fr;}
}


/* cleaned active theme */
.premium-topbar-premium .premium-topbar-chips{gap:.6rem;}
.premium-chip{border:1px solid rgba(255,255,255,.09);}
.premium-chip i{font-size:.78em;}

.premium-dashboard-v30 .premium-kpis-premium-old,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old{
  grid-template-columns:repeat(5,minmax(250px,1fr));
  gap:18px;
}

.premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six{
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:16px;
}
.premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six .premium-kpi-card{
  min-width:0;
}
.premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six .premium-kpi-card .kpi-copy > span{
  font-size:.78rem;
}
.premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six .premium-kpi-card .kpi-main-value{
  font-size:clamp(1.75rem, 1vw + 1.1rem, 2.6rem);
}
.premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six .premium-kpi-card small{
  font-size:11px;
  line-height:1.28;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card{
  min-height:154px;
  padding:1.2rem 1.35rem 1.1rem;
  border-radius:26px;
  grid-template-columns:58px minmax(0,1fr);
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy{
  min-width:0;
  gap:.32rem;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy > span,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy > span{
  font-size:.82rem;
  line-height:1.06;
  letter-spacing:.045em;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value{
  display:inline-flex;
  align-items:baseline;
  flex-wrap:nowrap;
  white-space:nowrap;
  gap:.16rem;
  line-height:.92;
  max-width:100%;
  font-size:clamp(2.55rem,2.05vw + 1.45rem,3.85rem);
  letter-spacing:-.045em;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value .metric-number,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value .metric-number{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  font-variant-numeric:tabular-nums;
  font-weight:900;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .metric-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .metric-currency{
  font-size:.46em;
  line-height:1;
  white-space:nowrap;
  flex:0 0 auto;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-primary-value[data-fit-max],
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-primary-value[data-fit-max]{
  contain:inline-size;
}

.premium-dashboard-v30 .premium-compare-card,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card{
  border-radius:24px;
}
.premium-dashboard-v30 .premium-compare-card .compare-item,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card .compare-item{
  border-radius:18px;
  padding:.9rem .95rem;
  background:linear-gradient(135deg, rgba(255,255,255,.72), rgba(219,234,254,.4));
}
.premium-dashboard-v30 .premium-compare-card .compare-item strong,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card .compare-item strong{
  font-size:1.08rem;
}
.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill{
  display:inline-flex;
  align-items:center;
  gap:.42rem;
  margin-top:.58rem;
  padding:.34rem .58rem;
  border-radius:999px;
  font-weight:800;
  box-shadow:0 8px 18px rgba(15,23,42,.08);
  width:max-content;
}
.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill i,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill i{font-size:.8rem;}
.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill.is-up,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill.is-up{color:#047857;background:rgba(16,185,129,.14);}
.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill.is-down,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill.is-down{color:#dc2626;background:rgba(248,113,113,.16);}
.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill.is-neutral,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill.is-neutral{color:#475569;background:rgba(148,163,184,.18);}

.premium-dashboard-v30 .premium-insights-grid-compact,
.premium-assortments-page.premium-dashboard-v30 .premium-insights-grid-compact{
  gap:1rem;
}
.premium-dashboard-v30 .premium-insight-card,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card{
  min-height:136px;
  padding:16px 18px 15px;
  border-radius:22px;
  gap:7px;
}
.premium-dashboard-v30 .premium-insight-card .insight-icon,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card .insight-icon{
  width:38px;
  height:38px;
  border-radius:12px;
  font-size:15px;
}
.premium-dashboard-v30 .premium-insight-card .insight-label,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card .insight-label{
  font-size:.76rem;
  letter-spacing:.05em;
}
.premium-dashboard-v30 .premium-insight-card strong,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card strong{
  font-size:clamp(1.25rem, .85vw + 1.05rem, 1.95rem);
  line-height:1.02;
  letter-spacing:-.03em;
}
.premium-dashboard-v30 .premium-insight-card strong.kpi-inline-value,
.premium-dashboard-v30 .premium-insight-card .insight-subvalue,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card strong.kpi-inline-value,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card .insight-subvalue{
  display:inline-flex;
  align-items:baseline;
  flex-wrap:nowrap;
  gap:.12rem;
  white-space:nowrap;
}
.premium-dashboard-v30 .premium-insight-card .metric-number,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card .metric-number{
  font-weight:900;
}
.premium-dashboard-v30 .premium-insight-card .metric-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card .metric-currency{
  font-size:.62em;
  line-height:1;
  white-space:nowrap;
}
.premium-dashboard-v30 .premium-insight-card small,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card small{
  font-size:12px;
  line-height:1.32;
}
.premium-dashboard-v30 .premium-insight-card small .insight-subvalue,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card small .insight-subvalue{
  margin-right:.15rem;
}

@media (max-width:1600px){
  .premium-dashboard-v30 .premium-kpis-premium-old,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old{grid-template-columns:repeat(3,minmax(240px,1fr));}
}
@media (max-width:1200px){
  .premium-dashboard-v30 .premium-kpis-premium-old,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old{grid-template-columns:repeat(2,minmax(220px,1fr));}
  .premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value{font-size:clamp(2.15rem,4vw,3rem);}
}
@media (max-width:720px){
  .premium-dashboard-v30 .premium-kpis-premium-old,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old{grid-template-columns:1fr;}
}

/* v32 dashboard polish */
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value{
  font-size:clamp(2.95rem, 2.35vw + 1.55rem, 4.2rem);
  gap:.18rem;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .metric-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .metric-currency{
  font-size:.48em;
}
.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill{
  gap:.28rem;
  margin-top:.5rem;
  padding:.24rem .46rem;
  font-size:.88rem;
  line-height:1.05;
  box-shadow:0 6px 14px rgba(15,23,42,.06);
  width:auto;
  max-width:100%;
  align-self:flex-start;
}
.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill i,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill i{font-size:.74rem;}
.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill.is-neutral,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill.is-neutral{
  white-space:normal;
}


/* v33 visual polish */
.metric-money{display:inline-flex;align-items:baseline;gap:.16rem;white-space:nowrap;max-width:100%;}
.metric-money .metric-number{display:inline-block;min-width:0;white-space:nowrap;}
.metric-money .metric-currency{display:inline-block;white-space:nowrap;}

.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value{
  display:block;
  width:100%;
  line-height:1;
  font-size:clamp(2.45rem,1.15vw + 2rem,3.05rem);
  letter-spacing:-.03em;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value .metric-money,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value .metric-money{
  display:inline-flex;
  align-items:baseline;
  gap:.18rem;
  white-space:nowrap;
  max-width:100%;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value .metric-number,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value .metric-number{
  overflow:visible;
  text-overflow:clip;
  white-space:nowrap;
  font-weight:900;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .metric-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .metric-currency{
  font-size:.68em;
  line-height:1;
  white-space:nowrap;
  flex:0 0 auto;
}

.premium-dashboard-v30 .premium-insight-card strong,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card strong{
  font-size:1.7rem;
  line-height:1.04;
  letter-spacing:-.02em;
}
.premium-dashboard-v30 .premium-insight-card strong.kpi-inline-value,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card strong.kpi-inline-value,
.premium-dashboard-v30 .premium-insight-card small .kpi-inline-value,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card small .kpi-inline-value{
  display:inline-flex;
  align-items:baseline;
  gap:.14rem;
  white-space:nowrap;
  max-width:100%;
}
.premium-dashboard-v30 .premium-insight-card .metric-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card .metric-currency{
  font-size:.72em;
  line-height:1;
}
.premium-dashboard-v30 .premium-insight-card .insight-subvalue .metric-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card .insight-subvalue .metric-currency{
  font-size:.82em;
}

@media (max-width: 1400px){
  .premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value{font-size:clamp(2.1rem,1.4vw + 1.5rem,2.7rem);}
}
@media (max-width: 1100px){
  .premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value{font-size:clamp(1.9rem,3.8vw,2.35rem);}
  .premium-dashboard-v30 .premium-insight-card strong,
  .premium-assortments-page.premium-dashboard-v30 .premium-insight-card strong{font-size:1.55rem;}
}


/* v34 typography hard-fix */
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value{
  display:inline-flex !important;
  align-items:baseline !important;
  justify-content:flex-start !important;
  flex-wrap:nowrap !important;
  width:auto !important;
  max-width:none !important;
  white-space:nowrap !important;
  gap:.18rem !important;
  font-size:clamp(2.85rem,1.2vw + 2.25rem,3.45rem) !important;
  line-height:.98 !important;
  letter-spacing:-.035em !important;
  overflow:visible !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value .metric-money,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy strong.kpi-inline-value .metric-money{
  display:inline-flex !important;
  align-items:baseline !important;
  flex-wrap:nowrap !important;
  gap:.18rem !important;
  width:auto !important;
  max-width:none !important;
  white-space:nowrap !important;
  overflow:visible !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .metric-number,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .metric-number{
  display:inline !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
  flex:0 1 auto !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .metric-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .metric-currency{
  display:inline !important;
  white-space:nowrap !important;
  font-size:.62em !important;
  line-height:1 !important;
  flex:0 0 auto !important;
}
.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill{
  width:auto !important;
  max-width:max-content !important;
  padding:.22rem .46rem !important;
  font-size:.82rem !important;
  line-height:1.02 !important;
  gap:.26rem !important;
}
.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill.is-neutral,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill.is-neutral{
  max-width:132px !important;
  white-space:normal !important;
}
.premium-dashboard-v30 .premium-insight-card strong.insight-primary-value,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card strong.insight-primary-value{
  display:inline-flex !important;
  align-items:baseline !important;
  gap:.12rem !important;
  white-space:nowrap !important;
  width:auto !important;
  max-width:100% !important;
  font-size:1.7rem !important;
  line-height:1.04 !important;
  letter-spacing:-.025em !important;
  font-weight:900 !important;
}
.premium-dashboard-v30 .premium-insight-card strong.insight-primary-value .metric-money,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card strong.insight-primary-value .metric-money{
  display:inline-flex !important;
  align-items:baseline !important;
  gap:.12rem !important;
  white-space:nowrap !important;
}
.premium-dashboard-v30 .premium-insight-card strong.insight-primary-value .metric-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-insight-card strong.insight-primary-value .metric-currency{
  font-size:.68em !important;
}


/* v35 hard fix: main KPI values */
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value{
  display:inline-flex !important;
  align-items:baseline !important;
  justify-content:flex-start !important;
  flex-wrap:nowrap !important;
  gap:.18rem !important;
  white-space:nowrap !important;
  width:auto !important;
  max-width:none !important;
  overflow:visible !important;
  font-size:clamp(2.55rem,1.15vw + 1.95rem,3.15rem) !important;
  line-height:.98 !important;
  letter-spacing:-.035em !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-money-value,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-money-value{
  display:inline-flex !important;
  align-items:baseline !important;
  flex-wrap:nowrap !important;
  gap:.18rem !important;
  white-space:nowrap !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-number,
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .metric-number,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-number,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .metric-number{
  display:inline !important;
  font-size:1em !important;
  font-weight:900 !important;
  line-height:1 !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
  font-variant-numeric:tabular-nums !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .metric-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .metric-currency{
  display:inline !important;
  font-size:.6em !important;
  font-weight:800 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
@media (max-width: 1200px){
  .premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value{
    font-size:clamp(2.2rem,3.2vw,2.8rem) !important;
  }
}
@media (max-width: 860px){
  .premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value{
    font-size:clamp(1.95rem,5vw,2.35rem) !important;
  }
}


/* v36 main KPI money hard-fix */
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  overflow:visible !important;
  white-space:nowrap !important;
  line-height:.96 !important;
  letter-spacing:-.035em !important;
  font-size:clamp(2.8rem,1.25vw + 2.2rem,3.5rem) !important;
  font-weight:900 !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-number,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-number{
  display:inline-block !important;
  font-size:1em !important;
  font-weight:900 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-money-text,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-money-text{
  display:inline-block !important;
  max-width:100% !important;
  overflow:hidden !important;
  text-overflow:clip !important;
  font:inherit !important;
  font-size:.81em !important;
  font-weight:900 !important;
  color:inherit !important;
  line-height:1 !important;
  white-space:nowrap !important;
  letter-spacing:-.04em !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-currency{
  display:inline !important;
  font-size:.58em !important;
  font-weight:800 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
@media (max-width: 1200px){
  .premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value{
    font-size:clamp(2.3rem,3.2vw,2.95rem) !important;
  }
}
@media (max-width: 860px){
  .premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value{
    font-size:clamp(2rem,5vw,2.45rem) !important;
  }
}


/* v38 responsive main KPI fit */
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy{
  min-width:0 !important;
  flex:1 1 auto !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy > span,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy > span{
  font-size:.9rem !important;
  letter-spacing:.06em !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value{
  --kpi-fit-size: 52px;
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow:visible !important;
  white-space:nowrap !important;
  line-height:.96 !important;
  letter-spacing:-.035em !important;
  font-size:var(--kpi-fit-size) !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-number,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-number{
  display:inline-block !important;
  font-size:1em !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-money-text,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-money-text{
  display:inline-flex !important;
  align-items:baseline !important;
  gap:.1em !important;
  max-width:100% !important;
  overflow:visible !important;
  font:inherit !important;
  font-size:1em !important;
  font-weight:900 !important;
  color:inherit !important;
  line-height:1 !important;
  white-space:nowrap !important;
  letter-spacing:inherit !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-currency{
  display:inline-block !important;
  font-size:.55em !important;
  font-weight:800 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
@media (max-width: 1200px){
  .premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value{
    --kpi-fit-size: 46px;
  }
}
@media (max-width: 860px){
  .premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value{
    --kpi-fit-size: 40px;
  }
}


/* v40 final KPI width fit */
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy{
  min-width:0 !important;
  flex:1 1 auto !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy > span,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy > span{
  font-size:.76rem !important;
  letter-spacing:.055em !important;
  line-height:1.15 !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value{
  --kpi-fit-size:48px;
  display:block !important;
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  margin-top:.18rem !important;
  overflow:visible !important;
  white-space:nowrap !important;
  text-align:left !important;
  font-size:var(--kpi-fit-size) !important;
  line-height:.96 !important;
  letter-spacing:-.04em !important;
  font-weight:900 !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-number,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-number{
  display:inline-block !important;
  font-size:1em !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-money-text,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-money-text{
  display:inline-flex !important;
  align-items:baseline !important;
  gap:.06em !important;
  font-size:.88em !important;
  font-weight:900 !important;
  line-height:1 !important;
  white-space:nowrap !important;
  max-width:none !important;
  overflow:visible !important;
  text-overflow:clip !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-currency{
  display:inline-block !important;
  flex:0 0 auto !important;
  font-size:.5em !important;
  font-weight:800 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
@media (max-width: 1200px){
  .premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value{
    --kpi-fit-size:40px;
  }
}
@media (max-width: 860px){
  .premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value{
    --kpi-fit-size:34px;
  }
}


/* v41 stable main KPI auto-fit without JS */
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy{
  container-type:inline-size;
  min-width:0 !important;
  flex:1 1 auto !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy > span,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy > span{
  font-size:.72rem !important;
  letter-spacing:.05em !important;
  line-height:1.12 !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin-top:.22rem !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  text-overflow:clip !important;
  line-height:.96 !important;
  letter-spacing:-.045em !important;
  font-weight:900 !important;
  font-size:inherit !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-number,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-number{
  display:inline-block !important;
  max-width:100% !important;
  font-size:clamp(2.25rem, 15.4cqw, 3.35rem) !important;
  line-height:1 !important;
  white-space:nowrap !important;
  font-weight:900 !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-money-text,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-money-text{
  display:inline-flex !important;
  align-items:baseline !important;
  gap:.04em !important;
  max-width:100% !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  text-overflow:clip !important;
  font-size:clamp(1.82rem, 12.2cqw, 2.95rem) !important;
  line-height:1 !important;
  letter-spacing:-.055em !important;
  font-weight:900 !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-currency{
  display:inline-block !important;
  flex:0 0 auto !important;
  font-size:.46em !important;
  font-weight:800 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
@supports not (width: 1cqw){
  .premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-number,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-number{
    font-size:clamp(2.15rem, 2.2vw, 3rem) !important;
  }
  .premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-money-text,
  .premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-money-text{
    font-size:clamp(1.7rem, 1.65vw, 2.55rem) !important;
  }
}


/* v42 KPI polish */
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-money-text,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-money-text{
  font-size:clamp(1.92rem, 12.9cqw, 3.08rem) !important;
  letter-spacing:-.05em !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-currency,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-currency{
  font-size:.54em !important;
  font-weight:900 !important;
}
.premium-dashboard-v30 .premium-compare-card .compare-item,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card .compare-item{
  min-width:0 !important;
}
.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill.is-neutral,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill.is-neutral{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  max-width:none !important;
  min-height:2.35rem !important;
  padding:.22rem .42rem !important;
  font-size:.76rem !important;
  line-height:1.08 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  text-align:center !important;
}
.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill.is-neutral i,
.premium-assortments-page.premium-dashboard-v30 .premium-compare-card .compare-item .trend-pill.is-neutral i{
  flex:0 0 auto !important;
  margin-top:.02rem !important;
}


/* v44 assortments */
.premium-filter-grid-assortments-v44{grid-template-columns:minmax(240px,1.2fr) repeat(2,minmax(180px,.8fr)) auto;}
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old{grid-template-columns:repeat(5,minmax(220px,1fr));}
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card{min-height:136px;}
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy{gap:.3rem;}
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy > span{font-size:.82rem;letter-spacing:.05em;}
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-value{display:inline-flex;align-items:baseline;gap:.12rem;white-space:nowrap;line-height:.92;max-width:100%;font-size:clamp(2rem,1.35vw + 1.2rem,2.7rem);}
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-number,
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-money-text{font-weight:900;min-width:0;font-variant-numeric:tabular-nums;}
.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-main-currency{font-size:.62em;white-space:nowrap;}
.premium-assortments-table .comparison-chip{justify-content:center;min-width:0;width:100%;max-width:132px;white-space:normal;line-height:1.1;text-align:center;padding:.42rem .55rem;}
.premium-assortments-table .comparison-chip i{margin-right:.28rem;}
.premium-assortments-meta{justify-content:flex-end;}
@media (max-width:1200px){
  .premium-filter-grid-assortments-v44{grid-template-columns:1fr 1fr;}
}
@media (max-width:720px){
  .premium-filter-grid-assortments-v44{grid-template-columns:1fr;}
  .premium-assortments-table .comparison-chip{max-width:none;}
}

/* v48 dashboard top assortments switcher */
.premium-top-dual-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;align-items:stretch;}
.premium-top-dual-grid>.premium-surface{height:100%;display:flex;flex-direction:column;}
.premium-top-switcher{padding:1rem;}
.premium-top-panels{flex:1 1 auto;display:flex;flex-direction:column;}
.premium-top-panel{height:100%;}
.premium-top-panel.active{display:flex;flex-direction:column;}
.premium-top-panel .premium-table-wrap{flex:1 1 auto;}
.premium-top-assortments{padding:1rem;}
.premium-top-assortments-table td:first-child,.premium-top-assortments-table th:first-child{max-width:none;white-space:normal;}
.premium-top-assortment-details{display:block;}
.premium-top-assortment-details summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:.75rem;cursor:pointer;}
.premium-top-assortment-details summary::-webkit-details-marker{display:none;}
.premium-top-assortment-name{font-weight:700;color:#0f172a;display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.premium-top-assortment-meta{flex:0 0 auto;font-size:.75rem;color:#64748b;white-space:nowrap;}
.premium-top-assortment-children{margin-top:.55rem;padding:.6rem .75rem;border-radius:14px;background:rgba(248,250,252,.95);border:1px solid rgba(226,232,240,.95);display:flex;flex-direction:column;gap:.4rem;}
.premium-top-assortment-child{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem;font-size:.87rem;line-height:1.35;}
.premium-top-assortment-child span{color:#334155;min-width:0;}
.premium-top-assortment-child strong{white-space:nowrap;color:#0f172a;}
@media (max-width: 1200px){.premium-top-dual-grid{grid-template-columns:1fr;}}


/* v52 assortments comparison tooltip and trend colors */
.premium-assortments-page [data-premium-tip]{position:relative;}
@media (hover:hover){
  .premium-assortments-page [data-premium-tip]:hover::after,
  .premium-assortments-page [data-premium-tip]:focus-visible::after{
    content: attr(data-premium-tip);
    position:absolute;
    left:50%;bottom:calc(100% + 10px);
    transform:translateX(-50%);
    min-width:220px;max-width:320px;
    padding:.62rem .78rem;
    border-radius:14px;
    background:rgba(15,23,42,.94);
    color:#f8fafc;
    font-size:.76rem;line-height:1.35;
    box-shadow:0 16px 34px rgba(15,23,42,.25);
    z-index:70;pointer-events:none;text-align:left;
    white-space:normal;
  }
}
.premium-assortments-table .comparison-chip{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;border-radius:999px;font-weight:800;font-size:.84rem;border:1px solid transparent;}
.premium-assortments-table .comparison-chip.is-up{color:#047857;background:rgba(16,185,129,.14);border-color:rgba(16,185,129,.18);}
.premium-assortments-table .comparison-chip.is-down{color:#dc2626;background:rgba(248,113,113,.16);border-color:rgba(248,113,113,.18);}
.premium-assortments-table .comparison-chip.is-neutral{color:#475569;background:rgba(148,163,184,.18);border-color:rgba(148,163,184,.18);}


/* v53 assortments KPI + share column + tooltip cleanup */
.premium-assortments-page.premium-dashboard-v30 .premium-assortment-kpis-dashboard-like .premium-kpi-card .kpi-copy > span{font-size:.76rem !important;letter-spacing:.055em !important;line-height:1.12 !important;}
.premium-assortments-page.premium-dashboard-v30 .premium-assortment-kpis-dashboard-like .premium-kpi-card .kpi-inline-value.kpi-main-value{display:block !important;width:100% !important;max-width:100% !important;min-width:0 !important;overflow:hidden !important;white-space:nowrap !important;line-height:.96 !important;}
.premium-assortments-page.premium-dashboard-v30 .premium-assortment-kpis-dashboard-like .premium-kpi-card .kpi-main-number{display:inline-block !important;max-width:100% !important;font-size:clamp(2.25rem, 15.4cqw, 3.35rem) !important;line-height:1 !important;white-space:nowrap !important;font-weight:900 !important;overflow:hidden !important;text-overflow:ellipsis !important;}
.premium-assortments-page.premium-dashboard-v30 .premium-assortment-kpis-dashboard-like .premium-kpi-card .kpi-main-money-text{display:inline-flex !important;align-items:baseline !important;gap:.04em !important;max-width:100% !important;overflow:hidden !important;white-space:nowrap !important;text-overflow:clip !important;font-size:clamp(1.92rem, 12.9cqw, 3.08rem) !important;line-height:1 !important;letter-spacing:-.05em !important;font-weight:900 !important;}
.premium-assortments-page.premium-dashboard-v30 .premium-assortment-kpis-dashboard-like .premium-kpi-card .kpi-main-currency{display:inline-block !important;flex:0 0 auto !important;font-size:.54em !important;font-weight:900 !important;line-height:1 !important;white-space:nowrap !important;}
.premium-assortments-page .premium-assortments-table th:nth-child(4),
.premium-assortments-page .premium-assortments-table td:nth-child(4){min-width:118px;}


/* v54 assortments share bar + compare switch + settings stability */
.premium-assortments-switches{display:flex;align-items:flex-start;gap:1rem;flex-wrap:wrap;}
.assort-share-cell{display:flex;align-items:center;justify-content:flex-end;gap:.65rem;min-width:136px;}
.assort-share-bar{position:relative;flex:0 0 72px;height:8px;border-radius:999px;background:rgba(226,232,240,.95);overflow:hidden;box-shadow:inset 0 0 0 1px rgba(203,213,225,.55);}
.assort-share-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#38bdf8 0%,#6366f1 100%);}
.assort-share-value{min-width:52px;text-align:right;font-weight:800;color:#0f172a;}
@media (max-width: 991px){
  .premium-assortments-switches{width:100%;justify-content:space-between;}
}
@media (max-width: 640px){
  .assort-share-cell{min-width:0;gap:.5rem;}
  .assort-share-bar{flex-basis:58px;}
}


/* v56 settings + assortments compare mode */
.premium-settings-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(248,250,252,.88));border:1px solid rgba(255,255,255,.82);border-radius:28px;padding:1.35rem 1.4rem;box-shadow:0 18px 40px rgba(15,23,42,.06);}
.premium-settings-title{margin:.15rem 0 .25rem;font-size:2.1rem;line-height:1.05;color:#0f172a;}
.premium-settings-subtitle{margin:0;color:#64748b;max-width:720px;}
.premium-settings-stats{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:.8rem;min-width:min(100%,420px);}
.premium-settings-stat{background:rgba(255,255,255,.95);border:1px solid rgba(148,163,184,.18);border-radius:20px;padding:.9rem 1rem;box-shadow:0 12px 24px rgba(15,23,42,.05);}
.premium-settings-stat span{display:block;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:800;margin-bottom:.22rem;}
.premium-settings-stat strong{font-size:1.65rem;line-height:1;color:#0f172a;}
.premium-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;}
.premium-settings-head h3{margin:0;}
.premium-settings-head p{margin:.3rem 0 0;color:#64748b;font-size:.95rem;max-width:58ch;}
.premium-settings-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.5rem .75rem;border-radius:999px;background:rgba(59,130,246,.10);color:#1d4ed8;font-size:.8rem;font-weight:800;white-space:nowrap;}
.premium-settings-page .settings-collapsible.is-open > [data-settings-toggle]{margin-bottom:1rem;}
.premium-settings-page .premium-settings-card,.premium-settings-page .premium-settings-list-block{backdrop-filter:blur(8px);}
.premium-settings-page .premium-settings-card{padding:1.15rem 1.15rem 1rem;}
.premium-settings-page .premium-settings-list{display:grid;gap:1rem;}
.premium-settings-page .premium-settings-item{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.96));box-shadow:0 12px 28px rgba(15,23,42,.05);}
.premium-settings-page .premium-settings-group-stack{padding:0;}
.premium-settings-page .premium-settings-item-store{box-shadow:0 12px 28px rgba(15,23,42,.05);}
.premium-settings-page .premium-mini-card{box-shadow:0 10px 24px rgba(15,23,42,.05);}
.premium-settings-page .premium-settings-delete-form{margin-top:0;}
.premium-assortments-page .premium-assortments-switches{display:flex;align-items:flex-start;gap:1rem;flex-wrap:wrap;justify-content:flex-end;}
.premium-assortments-page .premium-margin-switch{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;}
.premium-assortments-page .premium-table thead small{display:block;margin-top:.18rem;font-size:.7rem;color:#64748b;font-weight:700;}
@media (max-width:1200px){.premium-settings-stats{grid-template-columns:repeat(3,minmax(0,1fr));min-width:100%;}.premium-settings-title{font-size:1.8rem;}}
@media (max-width:900px){.premium-settings-hero{padding:1rem;}.premium-settings-stats{grid-template-columns:1fr;}.premium-settings-head{flex-direction:column;}.premium-settings-badge{align-self:flex-start;}.premium-assortments-page .premium-assortments-switches{width:100%;justify-content:flex-start;}}

/* v57 settings improvements */
.premium-settings-layout-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.35fr);gap:1rem;align-items:start;}
.premium-settings-main-card{padding:1.15rem 1.15rem 1rem;border-radius:28px;}
.premium-settings-stores-card{min-height:100%;}
.premium-settings-section-block{display:flex;flex-direction:column;gap:1rem;}
.premium-settings-section-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.15rem;}
.premium-settings-section-header h4{margin:0;font-size:1.05rem;color:#0f172a;}
.premium-settings-divider{height:1px;background:rgba(148,163,184,.18);margin:1.25rem 0;}
.premium-settings-picker-label{display:flex;flex-direction:column;gap:.45rem;margin-bottom:1rem;}
.premium-settings-picker-label span{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:800;}
.premium-settings-picker-label select{width:100%;border-radius:16px;border:1px solid rgba(148,163,184,.24);padding:.9rem 1rem;background:#fff;color:#0f172a;}
.premium-settings-picker-inline{max-width:420px;}
.premium-settings-user-editors{display:grid;gap:1rem;}
.premium-settings-tabs{display:flex;flex-direction:column;gap:1rem;}
.premium-settings-tab-buttons{display:flex;flex-wrap:wrap;gap:.6rem;}
.premium-settings-tab-panel{display:none;}
.premium-settings-tab-panel.active{display:block;}
.premium-mini-card-wide{display:flex;flex-direction:column;gap:.75rem;}
.premium-mini-card-grid-groups{grid-template-columns:repeat(5,minmax(0,1fr));}
@media (max-width: 1200px){.premium-settings-layout-grid{grid-template-columns:1fr;}.premium-mini-card-grid-groups{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 720px){.premium-mini-card-grid-groups{grid-template-columns:1fr;}}

/* v58 ean improvements */
.premium-topbar-shell{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:center;gap:12px;}
.premium-topbar-left{min-width:0;display:flex;align-items:center;gap:12px;}
.premium-topbar-product{display:flex;align-items:center;justify-content:center;gap:12px;min-width:0;max-width:100%;padding:8px 16px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10);overflow:hidden;}
.premium-topbar-product-name{display:block;min-width:0;max-width:100%;font-size:clamp(18px,2vw,34px);font-weight:900;line-height:1;letter-spacing:-.04em;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.premium-topbar-product .status-pill{flex:0 0 auto;white-space:nowrap;}
.premium-topbar-right{min-width:300px;display:flex;align-items:center;gap:12px;justify-content:flex-end;}
@media (max-width: 1360px){.premium-topbar-shell{grid-template-columns:auto 1fr auto;}.premium-topbar-product-name{font-size:clamp(16px,1.8vw,28px);}}
@media (max-width: 1100px){.premium-topbar-shell{grid-template-columns:auto 1fr;}.premium-topbar-product{grid-column:1 / -1;order:3;width:100%;}.premium-topbar-right{min-width:0;}.premium-global-search{width:min(100%,280px);}}
@media (max-width: 820px){.premium-topbar-product{display:none;}}

.premium-ean-bottom-legacy{grid-template-columns:minmax(430px,1.45fr) minmax(250px,.66fr) minmax(340px,.92fr);gap:12px;align-items:start;}
.legacy-order-card{justify-self:stretch;}
.legacy-barcode-card .premium-barcode-wrap{padding-top:.35rem;}

.premium-ean-page-wide .legacy-ean-table{min-width:max-content !important;width:max-content !important;table-layout:auto !important;}
.legacy-ean-table thead th,.legacy-ean-table tbody td,.premium-ean-table.legacy-ean-table tbody td{white-space:nowrap;}
.legacy-ean-table .supplier-col{max-width:280px;width:280px;min-width:220px;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
.legacy-ean-table .purchase-kind-col{font-weight:700;color:#334155;max-width:220px;overflow:hidden;text-overflow:ellipsis;}
.legacy-ean-table .purchase-kind-col.is-pending{background:rgba(250,204,21,.24) !important;color:#92400e !important;font-weight:800;}
.legacy-ean-table .purchase-date-col,.legacy-ean-table .eurocash-col,.legacy-ean-table .price-col,.legacy-ean-table .margin-col,.legacy-ean-table .purchase-col{white-space:nowrap;}
.legacy-ean-table .eurocash-col.is-clickable,.legacy-ean-table .purchase-date-col.is-clickable{cursor:pointer;}
.legacy-ean-table .purchase-date-col span,.legacy-ean-table .eurocash-col span{display:inline-flex;align-items:center;gap:6px;}

.history-tabs{display:flex;gap:10px;margin:0 0 14px;}
.history-tab{appearance:none;border:1px solid rgba(148,163,184,.24);background:#f8fbff;color:#334155;font-weight:800;font-size:.9rem;border-radius:999px;padding:8px 14px;box-shadow:0 10px 24px rgba(15,23,42,.06);}
.history-tab span{opacity:.7;font-weight:700;margin-left:6px;}
.history-tab.is-active{background:linear-gradient(135deg,#3b82f6,#8b5cf6);color:#fff;border-color:transparent;}
.history-panel{display:none;}
.history-panel.is-active{display:block;}
.history-kind-pending{background:rgba(250,204,21,.22);color:#92400e;font-weight:800;}
.eurocash-source-note{margin-top:16px;padding:12px 14px;border-radius:14px;background:#f8fbff;border:1px solid rgba(148,163,184,.18);font-size:.92rem;color:#475569;}
.eurocash-source-note code{font-size:.85rem;word-break:break-all;}


/* v59 EAN responsive title + full width table + compact footer */
.premium-ean-page-wide {
    padding-top: 10px !important;
    padding-left: 9px !important;
    padding-right: 9px !important;
}
.premium-topbar-product{
    flex: 0 1 auto;
    max-width: min(1120px, calc(100vw - 560px));
    margin-left: auto;
    margin-right: auto;
}
.premium-topbar-product-name{
    display:block;
    max-width:100%;
    margin:0 auto;
    text-align:center;
    text-wrap:balance;
}
.premium-ean-page-wide .legacy-premium-wrap,
.premium-ean-page-wide .legacy-premium-responsive {
    width: 100%;
    max-width: 100%;
}
.premium-ean-page-wide .legacy-ean-table {
    width: 100%;
    min-width: 100%;
    table-layout: auto;
}
.legacy-ean-table th,
.legacy-ean-table td {
    width: auto;
    white-space: nowrap;
}
.legacy-ean-table .supplier-col,
.legacy-ean-table th:last-child,
.legacy-ean-table td:last-child {
    width: auto !important;
    min-width: 170px;
    max-width: none;
}
.premium-ean-bottom-legacy {
    align-items: start !important;
    margin-top: 12px;
}
.legacy-summary-card,
.legacy-barcode-card,
.legacy-order-card {
    min-height: 0 !important;
    height: auto;
}
.legacy-barcode-card .premium-barcode-wrap,
.legacy-order-card {
    margin-bottom: 0 !important;
}
.legacy-order-card .premium-order-note {
    margin-bottom: 10px;
}
@media (max-width: 1600px){
    .premium-topbar-product{max-width:min(960px, calc(100vw - 520px));}
}
@media (max-width: 1280px){
    .premium-topbar-product{max-width:min(820px, calc(100vw - 420px));}
}


/* v60 ean layout refinements */
.premium-topbar-product{max-width:calc(100vw - 520px)!important;justify-self:center;text-align:center;}
.premium-topbar-product-name{font-size:clamp(16px,2vw,34px)!important;text-align:center;text-overflow:ellipsis;}
@media (max-width: 1100px){.premium-topbar-product{display:flex!important;grid-column:1 / -1;order:3;width:100%;max-width:100%!important;}.premium-topbar-product-name{font-size:clamp(14px,3vw,24px)!important;}.premium-global-search{width:min(100%,250px)!important;}}
@media (max-width: 820px){.premium-topbar-product{display:flex!important;}.premium-topbar-product-name{font-size:clamp(12px,3.4vw,18px)!important;}.premium-topbar-right{gap:8px;}.premium-global-search{width:min(100%,210px)!important;}}

.premium-ean-page-wide{padding-left:.68rem!important;padding-right:.4rem!important;padding-top:.4rem!important;}
.premium-ean-shell-pad{padding-inline:0!important;}
.premium-ean-page-wide .legacy-premium-wrap,.premium-ean-page-wide .legacy-premium-responsive{width:100%!important;max-width:none!important;}
.premium-ean-page-wide .legacy-ean-table{width:max(100%, 1620px)!important;min-width:1620px!important;table-layout:auto!important;}
.premium-ean-page-wide .legacy-premium-responsive{overflow-x:auto!important;overflow-y:hidden!important;}

.premium-ean-bottom-legacy{grid-template-columns:minmax(0,1.55fr) minmax(0,.75fr) minmax(0,1.05fr)!important;align-items:stretch!important;gap:14px!important;}
.legacy-summary-card,.legacy-barcode-card,.legacy-order-card{display:flex!important;flex-direction:column!important;min-height:250px!important;height:100%!important;}
.legacy-summary-card{justify-content:flex-start;}
.legacy-summary-card .premium-ean-mini-stats{margin-top:auto;padding-top:12px;display:flex;flex-direction:column;gap:8px;}
.legacy-summary-card .premium-inline-summary-card.compact-inside{margin-top:0;font-size:.92rem;padding:.65rem .9rem;}
.legacy-summary-card .premium-inline-summary-card.compact-inside + .premium-inline-summary-card.compact-inside{margin-top:0;}
.legacy-barcode-card{justify-content:space-between!important;text-align:center;}
.legacy-barcode-card .premium-barcode-wrap{margin:auto 0!important;display:flex;flex-direction:column;justify-content:center;flex:1;}
.legacy-order-card{justify-content:flex-start!important;}
.legacy-order-card .premium-primary-btn{margin-top:auto!important;}
.legacy-order-card label:last-of-type{margin-bottom:0;}

.legacy-ean-table thead th,.legacy-ean-table tbody td,.premium-ean-table.legacy-ean-table tbody td{white-space:nowrap;}
.legacy-ean-table .supplier-col{max-width:none!important;width:auto!important;min-width:150px!important;}


/* v61 ean title, layout and eurocash refinements */
.premium-topbar-left > :not(.premium-brand):not(.premium-menu-toggle){display:none!important;}
.ean-topbar-title-wrap{display:flex;align-items:center;justify-content:center;min-width:0;max-width:calc(100vw - 470px);width:100%;margin:0 auto;padding:0 8px;}
.ean-topbar-title{display:block;max-width:100%;text-align:center;font-size:clamp(14px,1.55vw,28px);font-weight:900;line-height:1.05;letter-spacing:-.03em;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
@media (max-width: 1200px){.ean-topbar-title-wrap{max-width:calc(100vw - 360px);} .ean-topbar-title{font-size:clamp(12px,2vw,22px);}}
@media (max-width: 820px){.ean-topbar-title-wrap{max-width:calc(100vw - 220px);} .ean-topbar-title{font-size:clamp(11px,2.2vw,18px);}}
.premium-ean-page-wide{padding-top:.55rem!important;padding-left:.72rem!important;padding-right:.5rem!important;}
.premium-ean-page-wide .legacy-premium-wrap,.premium-ean-page-wide .legacy-premium-responsive,.premium-ean-page-wide .premium-table-responsive-shadow{width:100%!important;max-width:none!important;}
.premium-ean-page-wide .legacy-premium-responsive{overflow-x:auto!important;overflow-y:hidden!important;}
.premium-ean-page-wide .legacy-ean-table{width:100%!important;min-width:1450px!important;table-layout:auto!important;}
.premium-ean-shell-pad{margin-top:5px!important;}
.premium-ean-bottom-legacy{grid-template-columns:minmax(0,1.52fr) minmax(0,.72fr) minmax(0,.96fr)!important;gap:10px!important;align-items:stretch!important;}
.legacy-summary-card,.legacy-barcode-card,.legacy-order-card{min-height:244px!important;height:100%!important;}
.legacy-summary-card .premium-ean-mini-stats-top{order:-1;margin-bottom:12px;display:flex;flex-direction:column;gap:8px;}
.legacy-summary-card .premium-ean-mini-stats{margin-top:0!important;padding-top:0!important;}
.legacy-barcode-card .premium-surface-head,.legacy-order-card .premium-surface-head,.legacy-summary-card .premium-surface-head{margin-bottom:8px!important;}
.legacy-order-card p{margin-bottom:10px!important;}
.legacy-barcode-card .premium-barcode-wrap{justify-content:center!important;margin:0!important;flex:1!important;}
.legacy-order-card{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;}
.legacy-order-card .premium-primary-btn{margin-top:auto!important;}
.legacy-order-card label,.legacy-barcode-card,.legacy-summary-card{margin-bottom:0!important;}
.premium-topbar-product,.premium-topbar-product-name{display:none!important;}

/* v62 EAN layout refinements */
.premium-topbar-left > :not(.navbar-brand):not(.premium-menu-toggle){display:none!important;}
.ean-topbar-title-wrap{
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  background:none!important;
  border:none!important;
  box-shadow:none!important;
  margin:0 auto!important;
  padding:0 12px!important;
  justify-content:center!important;
  align-items:center!important;
}
.ean-topbar-title{
  display:block!important;
  max-width:100%!important;
  width:100%!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:clamp(14px,1.3vw,28px)!important;
  line-height:1.02!important;
  letter-spacing:-.03em!important;
  font-weight:900!important;
}
.premium-ean-page-v62{padding-top:.4rem!important;padding-left:.4rem!important;padding-right:.4rem!important;}
.premium-ean-shell-pad{margin-top:8px!important;padding-inline:0!important;}
.premium-ean-page-wide .legacy-premium-wrap,
.premium-ean-page-wide .legacy-premium-responsive,
.premium-ean-page-wide .premium-table-responsive-shadow,
.premium-ean-table.legacy-ean-table{width:100%!important;max-width:none!important;min-width:100%!important;}
.legacy-ean-table{table-layout:auto!important;}
.legacy-ean-table th,.legacy-ean-table td{white-space:nowrap;}
.legacy-ean-table .supplier-col{min-width:200px;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;}
.legacy-ean-table .purchase-kind-col{min-width:110px;}
.premium-ean-bottom-legacy{
  grid-template-columns:minmax(0,1.62fr) minmax(220px,.78fr) minmax(320px,1fr)!important;
  gap:8px!important;
  align-items:stretch!important;
}
.legacy-summary-card,.legacy-barcode-card,.legacy-order-card{
  min-height:214px!important;
  height:100%!important;
  margin:0!important;
}
.legacy-summary-card{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;}
.legacy-summary-card .premium-ean-mini-stats-top{order:0!important;margin:0 0 10px!important;padding-top:0!important;gap:6px!important;}
.ean-summary-heading{margin-bottom:8px!important;}
.legacy-summary-card .premium-inline-summary-card.compact-inside{margin:0!important;padding:.58rem .8rem!important;font-size:.9rem!important;}
.legacy-barcode-card,.legacy-order-card{display:flex!important;flex-direction:column!important;justify-content:space-between!important;}
.legacy-barcode-card .premium-barcode-wrap{margin:auto 0!important;flex:1!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}
.legacy-order-card .premium-order-note{margin-bottom:8px!important;}
.legacy-order-card label{margin-bottom:6px!important;}
.legacy-order-card .premium-primary-btn{margin-top:auto!important;}
@media (max-width: 1200px){
  .ean-topbar-title{font-size:clamp(13px,1.75vw,22px)!important;}
  .premium-ean-bottom-legacy{grid-template-columns:minmax(0,1.45fr) minmax(210px,.8fr) minmax(300px,.95fr)!important;}
}
@media (max-width: 920px){
  .ean-topbar-title-wrap{padding:0 8px!important;}
  .ean-topbar-title{font-size:clamp(12px,2vw,18px)!important;}
  .premium-ean-bottom-legacy{grid-template-columns:1fr!important;gap:10px!important;}
}


/* v64 EAN polish */
.ean-page-title-shell{background:transparent;padding-top:10px;}
.ean-page-title{margin:0 auto;max-width:min(100%,1120px);padding:2px 8px 0;text-align:center;color:#0f172a;font-weight:900;letter-spacing:-.03em;line-height:1.04;font-size:clamp(18px,2vw,34px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.premium-topbar-shell{grid-template-columns:auto 1fr auto!important;}
.premium-topbar-right{min-width:0!important;gap:10px!important;}
.premium-global-search{width:min(100%,430px)!important;}
.premium-search-shell input{height:46px!important;border-radius:14px!important;}
.premium-suggestions{max-height:380px;overflow:auto;}
.premium-suggestions .novum-suggestion{display:flex;flex-direction:column;gap:2px;padding:10px 14px;}
.premium-suggestions .novum-suggestion small{opacity:.72;font-size:.78rem;}
.premium-ean-page-v64{padding-top:14px!important;padding-left:14px!important;padding-right:8px!important;}
.premium-ean-shell-pad{margin-top:10px!important;padding-inline:0!important;display:block!important;width:100%!important;}
.premium-ean-page-wide .legacy-premium-wrap,.premium-ean-page-wide .legacy-premium-responsive,.premium-ean-page-wide .premium-table-responsive-shadow{display:block!important;width:100%!important;max-width:none!important;}
.premium-ean-page-wide .legacy-ean-table{width:100%!important;min-width:max(100%,1460px)!important;table-layout:auto!important;}
.premium-ean-bottom-legacy{grid-template-columns:minmax(0,1fr) minmax(220px,260px) minmax(0,1fr)!important;gap:0!important;align-items:stretch!important;}
.legacy-summary-card,.legacy-barcode-card,.legacy-order-card{min-height:232px!important;height:100%!important;margin:0!important;}
.legacy-summary-card{border-top-right-radius:0!important;border-bottom-right-radius:0!important;}
.legacy-barcode-card{border-radius:0!important;justify-self:center!important;align-self:stretch!important;}
.legacy-order-card{border-top-left-radius:0!important;border-bottom-left-radius:0!important;}
.legacy-barcode-card .premium-barcode-wrap{margin:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;height:100%!important;}
.legacy-order-card .premium-primary-btn{margin-top:auto!important;}
.ean-summary-heading{margin-bottom:6px!important;}
.premium-inline-summary-card.compact-inside{display:flex;align-items:center;flex-wrap:wrap;gap:6px;line-height:1.35;}
.summary-separator{opacity:.35;margin:0 2px;}
.summary-value{display:inline-flex;align-items:center;min-width:34px;padding:2px 8px;border-radius:999px;font-weight:900;}
.summary-value-all{background:rgba(15,23,42,.08);color:#0f172a;}
.summary-value-group{background:rgba(59,130,246,.12);color:#1d4ed8;}
.summary-value-novum{background:rgba(245,158,11,.16);color:#b45309;}
.premium-inline-summary-card--sales .summary-value-all{background:rgba(16,185,129,.12);color:#047857;}
.premium-inline-summary-card--sales .summary-value-group{background:rgba(99,102,241,.13);color:#4338ca;}
.premium-inline-summary-card--sales .summary-value-novum{background:rgba(239,68,68,.12);color:#b91c1c;}
@media (max-width: 1220px){.ean-page-title{font-size:clamp(16px,2.2vw,28px);} .premium-global-search{width:min(100%,360px)!important;}}
@media (max-width: 980px){.ean-page-title-shell{padding-top:8px;}.ean-page-title{font-size:clamp(14px,2.8vw,22px);} .premium-topbar-shell{grid-template-columns:auto 1fr!important;row-gap:8px;} .premium-topbar-right{grid-column:1 / -1;justify-content:flex-end!important;} .premium-global-search{width:100%!important;max-width:100%!important;}}
@media (max-width: 760px){.premium-topbar-right{grid-column:1 / -1;flex-wrap:wrap;justify-content:stretch!important;}.premium-global-search{order:1;width:100%!important;}.ean-page-title{font-size:clamp(13px,3.6vw,18px);}}

/* v65 ean refinements */
.novum-topbar-premium,.premium-topbar-shell,.premium-topbar-right,.premium-global-search,.premium-search-shell{overflow:visible!important;}
.premium-global-search{width:min(100%,340px)!important;max-width:340px!important;}
.premium-search-shell{position:relative!important;}
.premium-search-shell input{height:46px!important;border-radius:14px!important;padding-right:14px!important;}
.premium-suggestions{position:absolute!important;left:0!important;right:0!important;top:calc(100% + 6px)!important;display:none;background:#fff;border:1px solid rgba(148,163,184,.22)!important;border-radius:14px!important;box-shadow:0 18px 40px rgba(15,23,42,.18)!important;overflow:auto!important;max-height:320px!important;z-index:9999!important;}
.premium-suggestions .novum-suggestion{display:block!important;padding:10px 12px!important;color:#0f172a!important;text-decoration:none!important;border-bottom:1px solid rgba(226,232,240,.8)!important;background:#fff!important;}
.premium-suggestions .novum-suggestion:last-child{border-bottom:none!important;}
.premium-suggestions .novum-suggestion strong{display:block;font-size:.92rem;line-height:1.25;white-space:normal;word-break:break-word;}
.premium-suggestions .novum-suggestion small{display:block;margin-top:2px;color:#64748b!important;font-size:.77rem!important;}
.premium-suggestions .novum-suggestion.is-active,.premium-suggestions .novum-suggestion:hover{background:#eff6ff!important;}
.ean-inline-title-wrap{padding:6px 0 2px 6px;}
.ean-inline-title{display:block;margin:0 auto;max-width:min(100%,calc(100vw - 420px));text-align:center;color:#0f172a;font-weight:900;letter-spacing:-.03em;line-height:1.04;font-size:clamp(18px,2vw,34px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.premium-ean-shell-pad{margin-top:6px!important;padding-inline:0!important;display:block!important;width:100%!important;}
.legacy-premium-wrap,.table-responsive.premium-table-responsive-shadow,.legacy-premium-responsive{width:100%!important;max-width:none!important;}
.premium-ean-table.legacy-ean-table{width:100%!important;min-width:100%!important;table-layout:auto!important;}
.premium-ean-bottom-legacy{grid-template-columns:minmax(0,1fr) minmax(220px,260px) minmax(0,1fr)!important;gap:12px!important;align-items:stretch!important;}
.legacy-summary-card,.legacy-barcode-card,.legacy-order-card{min-height:232px!important;height:100%!important;margin:0!important;}
.legacy-summary-card{border-radius:22px!important;}
.legacy-barcode-card{border-radius:22px!important;justify-self:center!important;align-self:stretch!important;}
.legacy-order-card{border-radius:22px!important;}
.legacy-barcode-card .premium-barcode-wrap{margin:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;height:100%!important;}
@media (max-width: 1200px){.ean-inline-title{max-width:min(100%,calc(100vw - 360px));font-size:clamp(16px,2.2vw,28px);} .premium-global-search{max-width:300px!important;}}
@media (max-width: 980px){.ean-inline-title-wrap{padding-top:4px;padding-left:4px;} .ean-inline-title{max-width:100%;font-size:clamp(14px,2.8vw,22px);} .premium-topbar-right{grid-column:1 / -1;justify-content:flex-end!important;} .premium-global-search{width:100%!important;max-width:100%!important;}}
@media (max-width: 760px){.premium-topbar-right{grid-column:1 / -1;flex-wrap:wrap;justify-content:stretch!important;} .premium-global-search{order:1;width:100%!important;max-width:100%!important;} .ean-inline-title{font-size:clamp(13px,3.4vw,18px);} .premium-ean-bottom-legacy{grid-template-columns:1fr!important;gap:10px!important;}}


/* v66 ean topbar + smarter search */
.novum-topbar-premium .premium-topbar-product.ean-topbar-product-simple{
    display:flex !important;
    align-items:center;
    justify-content:center;
    min-width:0;
    max-width:calc(100vw - 560px);
    margin:0 auto;
    padding:0 10px;
    background:transparent !important;
    border:none !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    overflow:hidden;
}
.novum-topbar-premium .premium-topbar-product.ean-topbar-product-simple .premium-topbar-product-name{
    display:block;
    min-width:0;
    max-width:100%;
    color:#fff;
    text-align:center;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:clamp(18px, 1.9vw, 34px) !important;
    font-weight:900;
    letter-spacing:-0.03em;
    line-height:1.05;
}
.premium-global-search{
    width:min(100%, 400px) !important;
    max-width:400px !important;
}
.premium-search-shell{
    min-width:280px;
}
.premium-suggestions{
    left:0 !important;
    right:auto !important;
    width:min(520px, calc(100vw - 40px)) !important;
    max-width:520px !important;
}
.premium-suggestions .novum-suggestion{
    padding:12px 14px !important;
}
.premium-suggestions .novum-suggestion strong{
    font-size:.95rem;
}
.premium-suggestions .novum-suggestion small{
    font-size:.8rem !important;
}
@media (max-width: 1180px){
    .novum-topbar-premium .premium-topbar-product.ean-topbar-product-simple{
        max-width:calc(100vw - 420px);
    }
    .novum-topbar-premium .premium-topbar-product.ean-topbar-product-simple .premium-topbar-product-name{
        font-size:clamp(15px, 2.2vw, 26px) !important;
    }
    .premium-global-search{
        width:min(100%, 340px) !important;
        max-width:340px !important;
    }
}
@media (max-width: 900px){
    .novum-topbar-premium .premium-topbar-product.ean-topbar-product-simple{
        max-width:calc(100vw - 300px);
        padding:0 6px;
    }
    .novum-topbar-premium .premium-topbar-product.ean-topbar-product-simple .premium-topbar-product-name{
        font-size:clamp(13px, 2.8vw, 20px) !important;
    }
}
@media (max-width: 760px){
    .novum-topbar-premium .premium-topbar-product.ean-topbar-product-simple{
        display:flex !important;
        grid-column:1 / -1;
        order:3;
        max-width:100%;
        width:100%;
        padding-top:2px;
    }
    .premium-topbar-right{
        grid-column:1 / -1;
        justify-content:flex-end !important;
    }
    .premium-global-search{
        width:100% !important;
        max-width:100% !important;
    }
    .premium-search-shell{
        min-width:0;
    }
    .premium-suggestions{
        width:100% !important;
        max-width:none !important;
    }
}


/* v67 ean topbar title hotfix */
.novum-topbar-premium .premium-topbar-shell{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;column-gap:14px!important;overflow:visible!important;}
.novum-topbar-premium .ean-topbar-title-wrap{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;max-width:none!important;width:100%!important;margin:0!important;padding:0 8px!important;overflow:hidden!important;}
.novum-topbar-premium .ean-topbar-title{display:block!important;min-width:0!important;max-width:100%!important;width:100%!important;color:#fff!important;text-align:center!important;font-weight:900!important;letter-spacing:-.03em!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:clamp(16px,1.8vw,34px)!important;}
.novum-topbar-premium .premium-topbar-product,.novum-topbar-premium .premium-topbar-product-name{display:none!important;}
.novum-topbar-premium .premium-topbar-right{min-width:0!important;justify-self:end!important;}
.novum-topbar-premium .premium-global-search{width:min(100%,340px)!important;max-width:340px!important;}
@media (max-width: 1200px){.novum-topbar-premium .premium-topbar-shell{grid-template-columns:auto minmax(0,1fr) auto!important;column-gap:10px!important;}.novum-topbar-premium .ean-topbar-title{font-size:clamp(14px,2vw,24px)!important;}.novum-topbar-premium .premium-global-search{max-width:300px!important;}}
@media (max-width: 860px){.novum-topbar-premium .premium-topbar-shell{grid-template-columns:auto minmax(0,1fr)!important;row-gap:8px!important;}.novum-topbar-premium .premium-topbar-right{grid-column:1 / -1!important;justify-self:end!important;}.novum-topbar-premium .premium-global-search{max-width:100%!important;width:100%!important;}.novum-topbar-premium .ean-topbar-title{font-size:clamp(13px,2.6vw,18px)!important;}}

/* v68 ean table compact align + spacing */
.premium-ean-shell-pad{margin-top:20px!important;}
.premium-ean-page-wide .legacy-ean-table{width:100%!important;min-width:unset!important;table-layout:auto!important;}
.legacy-ean-table thead th,
.legacy-ean-table tbody td,
.premium-ean-table.legacy-ean-table tbody td{
  text-align:center!important;
  vertical-align:middle!important;
  padding:6px 8px!important;
  font-size:.84rem!important;
  line-height:1.05!important;
}
.legacy-ean-table thead th{
  padding:9px 8px!important;
  font-size:.72rem!important;
}
.legacy-ean-table tbody tr{height:34px!important;}
.legacy-ean-table thead th:first-child{
  text-align:center!important;
  padding-left:4px!important;
  padding-right:4px!important;
}
.legacy-ean-table .store-name-cell{
  width:1%!important;
  min-width:112px!important;
  max-width:132px!important;
  padding-left:4px!important;
  padding-right:4px!important;
  text-align:center!important;
}
.legacy-ean-table .store-name{
  display:block!important;
  width:100%!important;
  margin:0 auto!important;
  text-align:center!important;
  font-size:13px!important;
  line-height:1.05!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.legacy-ean-table .supplier-col{
  min-width:120px!important;
  max-width:180px!important;
}
.legacy-ean-table .purchase-kind-col{min-width:120px!important;max-width:150px!important;}
.legacy-ean-table .purchase-date-col{min-width:100px!important;}
.legacy-ean-table .stock-col,
.legacy-ean-table .price-col,
.legacy-ean-table .margin-col,
.legacy-ean-table .purchase-col,
.legacy-ean-table .eurocash-col{min-width:72px!important;}


/* v74 EAN trading-day tooltips + order proposal */
.premium-order-output{min-height:44px;}
.premium-order-preview-head{font-size:.82rem;color:#475569;margin-bottom:8px;}
.order-preview-table thead th,.order-preview-table tbody td{padding:6px 8px!important;font-size:.82rem!important;text-align:center;vertical-align:middle;}
.order-preview-table tbody td:first-child,.order-preview-table thead th:first-child{text-align:left;}
.store-sheet-item small{display:block;margin-top:6px;color:#64748b;line-height:1.35;font-size:.78rem;}

.premium-order-export-row {
  display:flex;
  align-items:end;
  gap:10px;
}
.premium-order-export-row label {
  flex:1 1 auto;
  margin-bottom:0;
}
.premium-order-export-row .btn {
  flex:0 0 auto;
  white-space:nowrap;
}
.premium-order-preview-head small {
  color: var(--muted, #6b7280);
  font-weight: 500;
  margin-left: 6px;
}

/* v80 data coverage + comparison completeness */
.premium-compare-card.is-incomplete{
    border-color:rgba(248,113,113,.34);
    background:linear-gradient(135deg,rgba(255,255,255,.98) 0%,rgba(254,242,242,.94) 100%);
    box-shadow:0 18px 38px rgba(239,68,68,.10);
}
.premium-compare-warning{
    display:flex;
    align-items:flex-start;
    gap:.55rem;
    margin:.2rem 0 .9rem;
    padding:.7rem .85rem;
    border-radius:14px;
    border:1px solid rgba(248,113,113,.28);
    background:rgba(254,242,242,.95);
    color:#991b1b;
    font-size:.88rem;
    line-height:1.45;
}
.premium-compare-warning i{margin-top:.1rem;color:#ef4444;}

.premium-store-data-summary-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:.9rem;
    margin:0 0 1rem;
}
.premium-store-data-summary-card{
    border:1px solid rgba(148,163,184,.18);
    border-radius:18px;
    background:linear-gradient(180deg,rgba(255,255,255,.96) 0%,rgba(248,250,252,.92) 100%);
    padding:.9rem 1rem;
    box-shadow:0 12px 28px rgba(15,23,42,.06);
}
.premium-store-data-summary-card span{
    display:block;
    font-size:.74rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#64748b;
    margin-bottom:.3rem;
}
.premium-store-data-summary-card strong{
    display:block;
    font-size:1rem;
    color:#0f172a;
    line-height:1.35;
}
.premium-store-data-summary-card small{
    display:block;
    margin-top:.35rem;
    color:#64748b;
    font-size:.82rem;
}
.premium-store-data-kinds{
    display:flex;
    flex-wrap:wrap;
    gap:.65rem;
    margin:0 0 1rem;
}
.premium-store-kind-pill{
    min-width:160px;
    border-radius:999px;
    padding:.55rem .85rem;
    border:1px solid rgba(148,163,184,.22);
    background:rgba(248,250,252,.92);
    display:flex;
    flex-direction:column;
    gap:.12rem;
}
.premium-store-kind-pill span{
    font-size:.68rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#64748b;
}
.premium-store-kind-pill strong{
    font-size:.84rem;
    color:#0f172a;
}
.premium-store-kind-pill.ok{
    background:rgba(236,253,245,.95);
    border-color:rgba(16,185,129,.24);
}
.premium-store-kind-pill.ok strong{color:#065f46;}
.premium-store-kind-pill.muted{
    background:rgba(248,250,252,.92);
    border-color:rgba(148,163,184,.18);
}
.premium-store-kind-pill.muted strong{color:#64748b;}

.premium-page-loader{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(15,23,42,.30);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);opacity:0;pointer-events:none;transition:opacity .16s ease;z-index:6000;}
.premium-page-loader.is-visible{opacity:1;pointer-events:auto;}
.premium-page-loading{cursor:progress;}
.premium-page-loading #layoutSidenav_content{pointer-events:none;}
.premium-page-loader-card{min-width:min(92vw,360px);padding:1rem 1.05rem;border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 22px 60px rgba(15,23,42,.20);display:flex;align-items:center;gap:.9rem;border:1px solid rgba(148,163,184,.22);}
.premium-page-loader-spinner{width:22px;height:22px;border-radius:999px;border:3px solid rgba(37,99,235,.18);border-top-color:#2563eb;animation:premium-page-loader-spin .8s linear infinite;flex:0 0 auto;}
.premium-page-loader-text{font-size:.95rem;font-weight:700;color:#0f172a;line-height:1.25;}
@keyframes premium-page-loader-spin{to{transform:rotate(360deg);}}

.premium-row-highlight{background:rgba(37,99,235,.06)!important;}
.premium-switch-group-wrap{flex-wrap:wrap;justify-content:flex-end;}

/* v82b store ranking polish */
.premium-ranking-leader-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;align-items:stretch;}
.premium-ranking-leader-card{position:relative;overflow:hidden;border-radius:28px;padding:1rem 1rem 1.05rem;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.96));border:1px solid rgba(226,232,240,.95);box-shadow:0 22px 48px rgba(15,23,42,.08);display:flex;flex-direction:column;gap:.9rem;min-height:210px;}
.premium-ranking-leader-card::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,rgba(59,130,246,.7),rgba(99,102,241,.8));}
.premium-ranking-leader-card.tone-gold::before{background:linear-gradient(90deg,#f59e0b,#facc15);}
.premium-ranking-leader-card.tone-violet::before{background:linear-gradient(90deg,#8b5cf6,#6366f1);}
.premium-ranking-leader-card.tone-cyan::before{background:linear-gradient(90deg,#06b6d4,#3b82f6);}
.premium-ranking-leader-card.tone-green::before{background:linear-gradient(90deg,#10b981,#22c55e);}
.premium-ranking-leader-topbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;}
.premium-ranking-leader-badge{display:inline-flex;align-items:center;padding:.34rem .65rem;border-radius:999px;background:rgba(15,23,42,.06);color:#475569;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;}
.premium-ranking-rank-chip{display:inline-flex;align-items:center;gap:.4rem;padding:.42rem .72rem;border-radius:999px;font-size:.8rem;font-weight:800;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);}
.premium-ranking-rank-chip.accent-gold{background:linear-gradient(135deg,rgba(250,204,21,.22),rgba(245,158,11,.18));color:#92400e;}
.premium-ranking-rank-chip.accent-silver{background:linear-gradient(135deg,rgba(226,232,240,.95),rgba(203,213,225,.85));color:#334155;}
.premium-ranking-rank-chip.accent-bronze{background:linear-gradient(135deg,rgba(251,191,119,.28),rgba(194,65,12,.16));color:#9a3412;}
.premium-ranking-rank-chip.accent-neutral{background:rgba(226,232,240,.9);color:#334155;}
.premium-ranking-leader-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;}
.premium-ranking-leader-head h3{margin:0;font-size:1rem;font-weight:800;color:#0f172a;}
.premium-ranking-leader-head p{margin:.28rem 0 0;font-size:1.05rem;font-weight:700;color:#334155;}
.premium-ranking-leader-icon{flex:0 0 auto;width:52px;height:52px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.88);border:1px solid rgba(226,232,240,.9);box-shadow:0 12px 28px rgba(15,23,42,.08);font-size:1.18rem;color:#1d4ed8;}
.premium-ranking-leader-card.tone-gold .premium-ranking-leader-icon{color:#b45309;}
.premium-ranking-leader-card.tone-violet .premium-ranking-leader-icon{color:#6d28d9;}
.premium-ranking-leader-card.tone-cyan .premium-ranking-leader-icon{color:#0f766e;}
.premium-ranking-leader-card.tone-green .premium-ranking-leader-icon{color:#15803d;}
.premium-ranking-leader-value{font-size:clamp(1.5rem,1vw + 1rem,2rem);font-weight:900;line-height:.98;color:#0f172a;letter-spacing:-.03em;}
.premium-ranking-leader-footer{margin-top:auto;padding-top:.75rem;border-top:1px solid rgba(226,232,240,.95);display:flex;align-items:center;justify-content:space-between;gap:.75rem;font-size:.82rem;color:#64748b;}
.premium-ranking-leader-footer strong{font-size:1rem;color:#0f172a;}
.premium-ranking-position-cell{display:flex;align-items:center;gap:.55rem;}
.premium-ranking-trophy{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;box-shadow:0 10px 22px rgba(15,23,42,.12);}
.premium-ranking-trophy i{font-size:.85rem;}
.premium-ranking-trophy.trophy-1{background:linear-gradient(135deg,#fde68a,#f59e0b);color:#854d0e;}
.premium-ranking-trophy.trophy-2{background:linear-gradient(135deg,#f8fafc,#cbd5e1);color:#334155;}
.premium-ranking-trophy.trophy-3{background:linear-gradient(135deg,#fdba74,#c2410c);color:#7c2d12;}
@media (max-width:1280px){.premium-ranking-leader-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:720px){.premium-ranking-leader-grid{grid-template-columns:1fr;}.premium-ranking-leader-card{min-height:auto;}}


/* v83f ranking KPI polish */
.premium-ranking-page .premium-kpis-premium-old .premium-kpi-card .kpi-copy > span{
  font-size:.86rem !important;
  letter-spacing:.055em !important;
}
.premium-ranking-page .premium-kpis-premium-old .premium-kpi-card .kpi-main-value{
  margin-top:.24rem !important;
}
.premium-ranking-page .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-money-text{
  font-size:clamp(2.12rem, 13.4cqw, 3.18rem) !important;
  letter-spacing:-.045em !important;
}
.premium-ranking-page .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-currency{
  font-size:.52em !important;
  font-weight:900 !important;
}
.premium-ranking-page .premium-kpis-premium-old .premium-kpi-card .kpi-main-number,
.premium-ranking-page .premium-kpis-premium-old .premium-kpi-card .metric-number{
  font-size:clamp(2.35rem, 15.4cqw, 3.4rem) !important;
}
.premium-ranking-page .premium-kpis-premium-old .premium-kpi-card.premium-amber{
  background:linear-gradient(135deg,#f59e0b 0%,#fb923c 48%,#f97316 100%) !important;
  color:#fff !important;
}
.premium-ranking-page .premium-kpis-premium-old .premium-kpi-card.premium-amber .kpi-icon{
  background:rgba(255,255,255,.18) !important;
  color:#fff !important;
}
.premium-ranking-page .premium-kpis-premium-old .premium-kpi-card.premium-amber .kpi-copy,
.premium-ranking-page .premium-kpis-premium-old .premium-kpi-card.premium-amber .kpi-copy > span,
.premium-ranking-page .premium-kpis-premium-old .premium-kpi-card.premium-amber .text-muted{
  color:rgba(255,255,255,.96) !important;
}
@media (max-width: 1200px){
  .premium-ranking-page .premium-kpis-premium-old .premium-kpi-card .kpi-main-value .kpi-main-money-text{
    font-size:clamp(1.92rem, 9vw, 2.7rem) !important;
  }
}


/* V85 EAN premium + mobile */
.premium-ean-masthead{background:linear-gradient(135deg,rgba(15,23,42,.98) 0%,rgba(30,41,59,.96) 48%,rgba(37,99,235,.18) 100%);border:1px solid rgba(148,163,184,.18);box-shadow:0 28px 60px rgba(15,23,42,.18);border-radius:30px;padding:20px 22px;color:#fff;position:relative;overflow:hidden;}
.premium-ean-masthead:before{content:"";position:absolute;right:-40px;top:-40px;width:180px;height:180px;border-radius:999px;background:radial-gradient(circle,rgba(96,165,250,.28) 0%,rgba(96,165,250,0) 70%);pointer-events:none;}
.premium-ean-masthead-main{display:flex;gap:18px;justify-content:space-between;align-items:flex-start;}
.premium-ean-kicker{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.64);font-weight:800;margin-bottom:8px;}
.premium-ean-masthead-title{margin:0;font-size:clamp(1.05rem,1.1vw + .95rem,1.95rem);font-weight:900;line-height:1.08;max-width:min(100%,920px);text-wrap:balance;}
.premium-ean-code-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;}
.premium-ean-code-pill,.premium-ean-status-pill,.premium-ean-alias-pill{display:inline-flex;align-items:center;gap:6px;padding:.52rem .8rem;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);font-size:.83rem;font-weight:700;color:#fff;}
.premium-ean-status-pill{background:rgba(34,197,94,.14);border-color:rgba(34,197,94,.28);}
.premium-ean-alias-pill{background:rgba(250,204,21,.14);border-color:rgba(250,204,21,.26);}
.premium-ean-masthead-stats{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));gap:10px;min-width:min(100%,370px);}
.premium-ean-stat-chip{padding:14px 14px;border-radius:22px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(8px);}
.premium-ean-stat-chip--accent{background:linear-gradient(135deg,rgba(37,99,235,.26),rgba(16,185,129,.18));}
.premium-ean-stat-chip span{display:block;font-size:.73rem;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.66);font-weight:700;margin-bottom:6px;}
.premium-ean-stat-chip strong{display:block;font-size:clamp(1.05rem,1vw + .85rem,1.5rem);font-weight:900;line-height:1.05;color:#fff;}
.premium-suggestions{padding:8px;background:rgba(255,255,255,.98);border-radius:18px;border:1px solid rgba(148,163,184,.18);box-shadow:0 26px 64px rgba(15,23,42,.18);min-width:min(100vw - 32px,520px);}
.novum-suggestion{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;color:#0f172a;text-decoration:none;transition:background .15s ease,transform .15s ease;}
.novum-suggestion:hover,.novum-suggestion.is-active{background:#eef6ff;transform:translateY(-1px);}
.novum-suggestion-main{display:flex;flex-direction:column;gap:4px;min-width:0;}
.novum-suggestion-main strong{font-size:.96rem;line-height:1.2;color:#0f172a;white-space:normal;}
.novum-suggestion-main small{font-size:.78rem;color:#64748b;}
.novum-suggestion-code{display:inline-flex;align-items:center;white-space:nowrap;padding:.35rem .55rem;border-radius:999px;background:#f8fafc;border:1px solid rgba(148,163,184,.22);font-size:.76rem;font-weight:700;color:#334155;}
.premium-ean-mobile-cards{display:none;gap:12px;}
.premium-ean-store-card{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border:1px solid rgba(148,163,184,.16);border-radius:24px;padding:16px;box-shadow:0 16px 42px rgba(15,23,42,.07);}
.premium-ean-store-card.is-focus{border-color:rgba(59,130,246,.35);box-shadow:0 20px 46px rgba(37,99,235,.12);}
.premium-ean-store-card.is-stale{background:linear-gradient(180deg,#fff8f8 0%,#fff 100%);border-color:rgba(239,68,68,.18);}
.premium-ean-store-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;}
.premium-ean-store-card-title{border:0;background:none;padding:0;font-size:1.02rem;font-weight:900;color:#0f172a;text-align:left;}
.premium-ean-store-card-title.is-group{color:#1d4ed8;}
.premium-ean-store-card-promo{display:inline-flex;align-items:center;padding:.42rem .7rem;border-radius:999px;font-size:.74rem;font-weight:800;}
.premium-ean-store-card-promo.yes{background:rgba(220,38,38,.12);color:#b91c1c;}
.premium-ean-store-card-promo.no{background:rgba(100,116,139,.12);color:#475569;}
.premium-ean-store-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px;}
.premium-ean-store-card-grid div,.premium-ean-store-card-meta div{padding:10px 12px;border-radius:16px;background:#f8fafc;border:1px solid rgba(226,232,240,.9);}
.premium-ean-store-card-grid span,.premium-ean-store-card-meta span{display:block;font-size:.72rem;letter-spacing:.05em;text-transform:uppercase;color:#64748b;font-weight:800;margin-bottom:5px;}
.premium-ean-store-card-grid strong,.premium-ean-store-card-meta strong,.premium-ean-inline-link{display:block;font-size:.98rem;line-height:1.2;font-weight:900;color:#0f172a;text-decoration:none;border:0;background:none;padding:0;text-align:left;width:100%;}
.premium-ean-inline-link.is-clickable{color:#1d4ed8;cursor:pointer;}
.premium-ean-inline-link.is-disabled{color:#94a3b8;pointer-events:none;}
.premium-ean-store-card-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
@media (max-width: 980px){.premium-ean-masthead-main{flex-direction:column;}.premium-ean-masthead-stats{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;}}
@media (max-width: 760px){.premium-ean-page{padding-inline:10px!important;}.premium-ean-masthead{padding:16px 16px 15px;border-radius:24px;}.premium-ean-masthead-title{font-size:clamp(1rem,4.4vw,1.35rem);}.premium-ean-masthead-stats{grid-template-columns:1fr;}.premium-ean-table-desktop{display:none;}.premium-ean-mobile-cards{display:grid;}.premium-ean-store-card-meta{grid-template-columns:1fr;}.premium-suggestions{min-width:0;width:calc(100% - 10px);left:0;right:10px;}.novum-suggestion{padding:11px 12px;}.novum-suggestion-main strong{font-size:.9rem;} .premium-global-search{width:100%!important;max-width:100%!important;}}

/* v85c EAN suggestions cleanup */
.premium-suggestions{max-height:min(70vh,420px)!important;overflow:auto!important;}
.novum-suggestion{align-items:flex-start!important;}
.novum-suggestion-main{display:block!important;width:100%!important;}
.novum-suggestion-main strong{display:block!important;font-size:.98rem!important;line-height:1.24!important;color:#0f172a!important;}
.novum-suggestion-main small,.novum-suggestion-code{display:none!important;}

/* v85d ean search precision + spacing */
.premium-global-search{margin-right:10px!important;}
.premium-search-shell{padding-right:8px!important;}
.premium-suggestions{left:auto!important;right:8px!important;width:min(520px,calc(100vw - 32px))!important;min-width:min(520px,calc(100vw - 32px))!important;}
@media (max-width:760px){.premium-global-search{margin-right:0!important;}.premium-search-shell{padding-right:0!important;}.premium-suggestions{right:0!important;width:100%!important;min-width:0!important;}}
.premium-product-codes-card ul{list-style:none;padding:0;margin:0;display:grid;gap:8px;}
.premium-product-codes-card li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc;border:1px solid rgba(226,232,240,.9);font-weight:800;color:#0f172a;}
.premium-product-codes-card .code-type{display:inline-flex;align-items:center;padding:.3rem .55rem;border-radius:999px;font-size:.72rem;font-weight:800;background:rgba(59,130,246,.12);color:#1d4ed8;}
.premium-product-codes-card .code-type.type-main{background:rgba(16,185,129,.14);color:#047857;}

.premium-ean-bottom-legacy-4{grid-template-columns:minmax(0,1fr) minmax(220px,260px) minmax(260px,320px) minmax(0,1fr)!important;gap:0!important;align-items:stretch!important;}
@media (max-width:1200px){.premium-ean-bottom-legacy-4{grid-template-columns:1fr 1fr!important;gap:12px!important;}.premium-ean-bottom-legacy-4 .legacy-summary-card,.premium-ean-bottom-legacy-4 .legacy-barcode-card,.premium-ean-bottom-legacy-4 .legacy-order-card{border-radius:24px!important;}}
@media (max-width:920px){.premium-ean-bottom-legacy-4{grid-template-columns:1fr!important;}}

.premium-suggestions{right:8px!important;left:0!important;max-width:calc(100% - 8px)!important;}


/* v85f EAN suggestion code badge + product code card */
.novum-suggestion{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;}
.novum-suggestion-main{display:block!important;min-width:0!important;flex:1 1 auto!important;width:auto!important;}
.novum-suggestion-code{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;padding:.38rem .62rem!important;border-radius:999px!important;background:#f8fafc!important;border:1px solid rgba(148,163,184,.24)!important;font-size:.76rem!important;font-weight:800!important;color:#334155!important;flex:0 0 auto!important;}
.premium-suggestions{right:18px!important;left:auto!important;max-width:min(560px,calc(100vw - 56px))!important;width:min(560px,calc(100vw - 56px))!important;min-width:min(560px,calc(100vw - 56px))!important;}
@media (max-width:760px){.premium-suggestions{right:8px!important;left:8px!important;width:auto!important;min-width:0!important;max-width:none!important;}}
.premium-ean-bottom-legacy-3{grid-template-columns:minmax(0,1fr) minmax(220px,260px) minmax(260px,320px)!important;gap:0!important;align-items:stretch!important;}
@media (max-width:1200px){.premium-ean-bottom-legacy-3{grid-template-columns:1fr 1fr!important;gap:12px!important;}.premium-ean-bottom-legacy-3 .legacy-summary-card,.premium-ean-bottom-legacy-3 .legacy-barcode-card,.premium-ean-bottom-legacy-3 .legacy-order-card{border-radius:24px!important;}}
@media (max-width:920px){.premium-ean-bottom-legacy-3{grid-template-columns:1fr!important;}}


/* v85g EAN bottom layout + table cell height */
.premium-ean-bottom-legacy-3{grid-template-columns:minmax(0,1.52fr) minmax(220px,260px) minmax(0,1.02fr)!important;gap:12px!important;align-items:stretch!important;}
.premium-ean-bottom-legacy-3 .legacy-summary-card,.premium-ean-bottom-legacy-3 .legacy-barcode-card,.premium-ean-bottom-legacy-3 .legacy-order-card{border-radius:24px!important;}
.premium-ean-bottom-legacy-3 .legacy-barcode-card{justify-self:center!important;align-self:stretch!important;}
.premium-ean-bottom-legacy-3 .legacy-order-card{min-width:0!important;}
.legacy-ean-table thead th{padding-top:11px!important;padding-bottom:11px!important;}
.legacy-ean-table tbody td,.premium-ean-table.legacy-ean-table tbody td{padding-top:8px!important;padding-bottom:8px!important;}
.legacy-ean-table tbody tr{height:40px!important;}
.legacy-barcode-card .premium-surface-head{justify-content:center!important;text-align:center!important;}
.legacy-barcode-card .premium-surface-head > div{width:100%;text-align:center!important;}
.legacy-barcode-card .surface-eyebrow,.legacy-barcode-card h3{text-align:center!important;width:100%;display:block;}
@media (max-width:1200px){.premium-ean-bottom-legacy-3{grid-template-columns:minmax(0,1.4fr) minmax(210px,250px) minmax(0,.95fr)!important;gap:12px!important;}}
@media (max-width:920px){.premium-ean-bottom-legacy-3{grid-template-columns:1fr!important;gap:10px!important;}}


/* v85h4 dashboard all-stores coverage banner + app usage KPI */
.premium-data-coverage-banner{display:flex;align-items:flex-start;gap:.9rem;padding:1rem 1.1rem;border-radius:22px;border:1px solid rgba(245,158,11,.28);background:linear-gradient(135deg,rgba(255,251,235,.98) 0%,rgba(255,247,237,.96) 100%);box-shadow:0 16px 34px rgba(245,158,11,.12);color:#92400e;}
.premium-data-coverage-banner-icon{width:48px;height:48px;flex:0 0 48px;border-radius:16px;display:grid;place-items:center;background:rgba(245,158,11,.12);color:#f59e0b;font-size:1.1rem;}
.premium-data-coverage-banner-copy{min-width:0;display:flex;flex-direction:column;gap:.24rem;}
.premium-data-coverage-banner-copy strong{display:block;font-size:1rem;line-height:1.35;color:#78350f;}
.premium-data-coverage-banner-detail{font-size:.88rem;line-height:1.5;color:#9a3412;}
.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy small,.premium-assortments-page.premium-dashboard-v30 .premium-kpis-premium-old .premium-kpi-card .kpi-copy small{display:block;font-size:.76rem;line-height:1.35;color:rgba(255,255,255,.92);opacity:.96;margin-top:.08rem;}

/* v85h6 dashboard KPI wrap + smaller amount font */
.premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six{
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr)) !important;
  gap:16px !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six .premium-kpi-card{
  min-width:0 !important;
  padding:1.12rem 1.15rem 1.04rem !important;
  grid-template-columns:54px minmax(0,1fr) !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six .premium-kpi-card .kpi-icon{
  width:54px !important;
  height:54px !important;
  border-radius:17px !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six .premium-kpi-card .kpi-copy{
  gap:.24rem !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six .premium-kpi-card .kpi-copy > span{
  font-size:.74rem !important;
  line-height:1.08 !important;
  letter-spacing:.045em !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six .premium-kpi-card .kpi-main-value{
  margin-top:.12rem !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six .premium-kpi-card .kpi-main-value .kpi-main-number{
  font-size:clamp(1.92rem, 11.5cqw, 2.82rem) !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six .premium-kpi-card .kpi-main-value .kpi-main-money-text{
  font-size:clamp(1.62rem, 9.2cqw, 2.34rem) !important;
  letter-spacing:-.042em !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six .premium-kpi-card .kpi-main-value .kpi-main-currency{
  font-size:.5em !important;
}
.premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six .premium-kpi-card small{
  font-size:.72rem !important;
  line-height:1.28 !important;
  margin-top:.1rem !important;
}
@supports not (width: 1cqw){
  .premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six .premium-kpi-card .kpi-main-value .kpi-main-number{
    font-size:clamp(1.9rem, 1.9vw, 2.55rem) !important;
  }
  .premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six .premium-kpi-card .kpi-main-value .kpi-main-money-text{
    font-size:clamp(1.58rem, 1.55vw, 2.16rem) !important;
  }
}
@media (max-width: 1460px){
  .premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six{
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr)) !important;
  }
}
@media (max-width: 1200px){
  .premium-dashboard-v30 .premium-kpis-premium-old.premium-dashboard-kpis-six{
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr)) !important;
  }
}

/* v85h7 store status + statistics visibility */
.premium-store-status-page .premium-settings-hero{margin-bottom:1rem;}
.premium-store-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start;}
.premium-store-status-card{padding:1.15rem;border-radius:28px;}
.premium-store-status-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:1rem;}
.premium-store-status-head h3{margin:.2rem 0 0;font-size:1.15rem;}
.premium-store-status-head p{margin:.3rem 0 0;color:#64748b;font-size:.92rem;}
.premium-store-status-badges{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:flex-end;}
@media (max-width:1200px){.premium-store-status-grid{grid-template-columns:1fr;}}


/* v85h9 EAN legacy table state + colors */
.legacy-ean-table .margin-col,
.legacy-ean-table .purchase-col {
  background: transparent !important;
}
.legacy-ean-table .margin-col.is-positive,
.premium-ean-table .margin-col.is-positive {
  color: #15803d !important;
  font-weight: 800;
}
.legacy-ean-table .margin-col.is-negative,
.premium-ean-table .margin-col.is-negative {
  color: #dc2626 !important;
  font-weight: 800;
}
.legacy-ean-table .margin-col.is-neutral,
.premium-ean-table .margin-col.is-neutral {
  color: #475569 !important;
  font-weight: 800;
}
.legacy-ean-table .purchase-col.is-better,
.premium-ean-table .purchase-col.is-better {
  color: #15803d !important;
  font-weight: 800;
}
.legacy-ean-table .purchase-col.is-worse,
.premium-ean-table .purchase-col.is-worse {
  color: #dc2626 !important;
  font-weight: 800;
}
.legacy-ean-table .purchase-col.is-neutral,
.premium-ean-table .purchase-col.is-neutral {
  color: #475569 !important;
  font-weight: 800;
}
.legacy-ean-table .purchase-kind-col.is-pending,
.premium-ean-table .purchase-kind-col.is-pending {
  background: rgba(250,204,21,.24) !important;
  color: #92400e !important;
  font-weight: 800;
}


/* v85h11 store status table + tighter ean rows */
.legacy-ean-table thead th,
.premium-ean-table.legacy-ean-table thead th{
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}
.legacy-ean-table tbody td,
.premium-ean-table.legacy-ean-table tbody td{
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  line-height: 1.04 !important;
}
.legacy-ean-table tbody tr{
  height: 34px !important;
}

.premium-store-status-page .premium-settings-hero{margin-bottom:1rem;}
.premium-store-status-table-wrap{border-radius:28px;overflow:hidden;padding:0;}
.premium-store-status-table thead th{white-space:nowrap;font-size:.74rem;}
.premium-store-status-table tbody td{vertical-align:middle;font-size:.9rem;}
.premium-store-status-table .premium-store-status-name{font-weight:800;color:#0f172a;white-space:nowrap;}
.premium-store-status-table .premium-store-status-meta{font-weight:700;color:#334155;white-space:nowrap;}
.premium-store-status-table .premium-store-status-group{font-size:.82rem;color:#64748b;}
.premium-store-status-table .premium-store-status-range{white-space:nowrap;}
.premium-store-status-badges-row{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;}
.premium-store-kind-inline{display:inline-flex;align-items:center;justify-content:center;min-width:108px;padding:.38rem .55rem;border-radius:999px;font-size:.8rem;font-weight:700;white-space:nowrap;}
.premium-store-kind-inline.ok{background:rgba(16,185,129,.12);color:#065f46;border:1px solid rgba(16,185,129,.22);}
.premium-store-kind-inline.muted{background:rgba(148,163,184,.14);color:#64748b;border:1px solid rgba(148,163,184,.2);}
@media (max-width: 1200px){
  .premium-store-status-table thead th,
  .premium-store-status-table tbody td{white-space:nowrap;}
}


/* v85h12 ean topbar search + table tone */
.premium-search-shell{display:flex;align-items:center;gap:0;}
.premium-search-shell .form-control{padding-right:3rem;}
.premium-scan-btn{position:absolute;right:10px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:40px;height:38px;border:none;border-radius:12px;background:rgba(15,23,42,.06);color:#0f172a;z-index:4;transition:background .16s ease,color .16s ease,transform .16s ease;}
.premium-scan-btn:hover{background:rgba(15,23,42,.1);color:#0f62fe;transform:translateY(-50%) scale(1.02);}
.premium-scan-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(59,130,246,.22);}
.premium-scan-btn-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;}
.premium-scan-camera{font-size:1rem;line-height:1;transform:translateY(-.5px);}
.premium-scan-badge{position:absolute;right:-3px;bottom:-3px;font-size:.54rem;line-height:1;background:#fff;border:1px solid rgba(15,98,254,.12);border-radius:999px;padding:2px 3px;color:#0f62fe;box-shadow:0 2px 8px rgba(15,23,42,.16);}
.premium-barcode-scan-modal .modal-dialog{max-width:760px;}
.premium-barcode-reader{width:100%;min-height:320px;}
.premium-barcode-reader > div{border-radius:18px;overflow:hidden;}
.premium-barcode-reader-note{padding-top:10px;color:#64748b;font-size:.92rem;text-align:center;}
.legacy-ean-table .purchase-kind-col,.legacy-ean-table .purchase-date-col,.legacy-ean-table .eurocash-col,.legacy-ean-table .purchase-col{font-weight:500 !important;}
.legacy-ean-table .purchase-kind-col{color:#334155 !important;}
.legacy-ean-table .purchase-date-col,.legacy-ean-table .eurocash-col{color:#0f172a !important;}
.legacy-ean-table .purchase-col.is-better{color:#15803d !important;}
.legacy-ean-table .purchase-col.is-worse{color:#dc2626 !important;}
.legacy-ean-table .purchase-col.is-neutral{color:#0f766e !important;}

.premium-brand-logo{height:34px;width:auto;display:block;filter:drop-shadow(0 6px 16px rgba(220,38,38,.22));}
.premium-brand{min-width:0;gap:.75rem;}
.brand-copy{white-space:nowrap;}
.novum-auth-brand-logo-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:12px;}
.novum-auth-logo{max-width:280px;width:100%;height:auto;display:block;}
.novum-auth-card-wide{width:min(100%,520px);}
.premium-settings-meta-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px;}
.premium-role-help-list{display:grid;gap:12px;}
.premium-role-help-item p{margin:.35rem 0 0;color:#64748b;line-height:1.45;}
.premium-invite-row{display:grid;grid-template-columns:minmax(140px,220px) 1fr auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid rgba(148,163,184,.18);}
.premium-invite-row:first-child{border-top:0;padding-top:0;}
.premium-invite-row p{margin:.25rem 0 0;color:#64748b;}
@media (max-width: 991.98px){.premium-brand-logo{height:28px}.brand-copy small{display:none}}
@media (max-width: 767.98px){.premium-invite-row{grid-template-columns:1fr}.novum-auth-logo{max-width:220px}}

/* v85h17 login + settings + scan button */
.novum-auth-brand-logo-wrap{align-items:center!important;justify-content:center!important;text-align:center!important;margin-bottom:28px!important;}
.novum-auth-logo{max-width:340px!important;width:min(100%,340px)!important;}
@media (max-width: 767.98px){.novum-auth-logo{max-width:260px!important;width:min(100%,260px)!important;}}

.premium-settings-meta-grid > .settings-collapsible .premium-settings-section-header{cursor:pointer;position:relative;padding-right:2.5rem;}
.premium-settings-meta-grid > .settings-collapsible .premium-settings-section-header::after{content:"\f078";font-family:"Font Awesome 6 Free";font-weight:900;position:absolute;right:0;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(148,163,184,.12);color:#475569;transition:transform .18s ease,background .18s ease,color .18s ease;}
.premium-settings-meta-grid > .settings-collapsible:not(.is-open) .premium-settings-section-header::after{transform:translateY(-50%) rotate(-90deg);}
.premium-settings-meta-grid > .settings-collapsible.is-open > .premium-settings-section-header{margin-bottom:1rem;}

.premium-search-shell .form-control{padding-right:56px!important;}
.premium-scan-btn{position:absolute;right:6px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:42px;height:34px;border:1px solid rgba(15,23,42,.12)!important;border-radius:10px;background:#1f2937!important;color:#fff!important;z-index:4;transition:background .16s ease,transform .16s ease,box-shadow .16s ease;}
.premium-scan-btn:hover{background:#111827!important;color:#fff!important;transform:translateY(-50%) scale(1.02);box-shadow:0 8px 18px rgba(15,23,42,.18);}
.premium-scan-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(59,130,246,.18),0 8px 18px rgba(15,23,42,.18);}
.premium-scan-btn-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;}
.premium-scan-main{font-size:.92rem;line-height:1;}



/* v85h20 search input + adjacent scan button */
.premium-global-search{
  width:min(100%, 324px)!important;
  max-width:324px!important;
}
.premium-search-shell{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  padding-right:0!important;
}
.premium-search-input-wrap{
  position:relative!important;
  flex:1 1 auto!important;
  min-width:0!important;
}
.premium-search-input-wrap .search-icon{
  position:absolute!important;
  left:14px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:3!important;
}
.premium-search-input-wrap .form-control,
.premium-search-shell .form-control{
  height:44px!important;
  min-height:44px!important;
  padding-left:40px!important;
  padding-right:14px!important;
  border-radius:16px!important;
}
.premium-search-input-wrap .premium-suggestions{
  left:auto!important;
  right:0!important;
  top:calc(100% + 8px)!important;
  width:min(520px, calc(100vw - 72px))!important;
  max-width:min(520px, calc(100vw - 72px))!important;
}
.premium-scan-btn{
  position:relative!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  transform:none!important;
  flex:0 0 44px!important;
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  border:none!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#253246 0%,#1b2433 100%)!important;
  color:#fff!important;
  z-index:2!important;
  overflow:hidden!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06), 0 8px 18px rgba(15,23,42,.14)!important;
  transition:background .16s ease, box-shadow .16s ease, filter .16s ease!important;
}
.premium-scan-btn::before{
  content:none!important;
}
.premium-scan-btn:hover,
.premium-scan-btn:focus-visible,
.premium-scan-btn:active{
  transform:none!important;
}
.premium-scan-btn:hover{
  filter:brightness(1.04)!important;
  background:linear-gradient(180deg,#2c3a50 0%,#202a3b 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 10px 20px rgba(15,23,42,.18)!important;
}
.premium-scan-btn:active{
  filter:brightness(.98)!important;
}
.premium-scan-btn:focus-visible{
  outline:none!important;
  box-shadow:0 0 0 3px rgba(59,130,246,.18), inset 0 1px 0 rgba(255,255,255,.08), 0 10px 20px rgba(15,23,42,.18)!important;
}
.premium-scan-btn-icon{
  position:relative!important;
  display:inline-flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  gap:2px!important;
  width:18px!important;
  height:16px!important;
}
.premium-scan-glyph span{
  display:block!important;
  width:2px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 0 8px rgba(255,255,255,.08)!important;
}
.premium-scan-glyph span:nth-child(1){height:10px!important;opacity:.9!important}
.premium-scan-glyph span:nth-child(2){height:13px!important}
.premium-scan-glyph span:nth-child(3){height:14px!important}
.premium-scan-glyph span:nth-child(4){height:13px!important}
.premium-scan-glyph span:nth-child(5){height:10px!important;opacity:.9!important}
@media (max-width: 1200px){
  .premium-global-search{max-width:308px!important;}
}
@media (max-width: 860px){
  .premium-global-search{max-width:100%!important;width:100%!important;}
}
@media (max-width: 760px){
  .premium-search-shell{gap:6px!important;}
  .premium-search-input-wrap .premium-suggestions{
    width:100%!important;
    max-width:none!important;
  }
}

.premium-settings-stats-4{grid-template-columns:repeat(4,minmax(120px,1fr));min-width:min(100%,560px);}
.premium-store-status-table .premium-store-status-note{font-size:.8rem;color:#64748b;line-height:1.35;max-width:34ch;}
.premium-store-status-lag{display:inline-flex;align-items:center;padding:.34rem .66rem;border-radius:999px;background:rgba(15,23,42,.06);font-weight:800;color:#0f172a;white-space:nowrap;}
.premium-store-status-lag.is-alert{background:rgba(245,158,11,.14);color:#b45309;}
.premium-store-kind-stack{display:flex;flex-direction:column;gap:.38rem;min-width:210px;}
.premium-store-kind-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.45rem;align-items:center;}
.premium-store-kind-name{font-size:.76rem;font-weight:800;color:#475569;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap;}
.premium-store-kind-sub{font-size:.78rem;color:#64748b;white-space:nowrap;}
.premium-store-status-error-details summary,.premium-audit-details summary{cursor:pointer;color:#1d4ed8;font-weight:700;font-size:.8rem;}
.premium-store-status-error-details{margin-top:.3rem;}
.premium-store-status-error-details > div{margin-top:.35rem;font-size:.78rem;color:#991b1b;max-width:42ch;white-space:normal;}
.premium-audit-log-wrap{border-radius:28px;overflow:hidden;padding:1rem 0 0;}
.premium-audit-table thead th{white-space:nowrap;font-size:.74rem;}
.premium-audit-table tbody td{font-size:.88rem;vertical-align:top;}
.premium-audit-chip-row{display:flex;flex-wrap:wrap;gap:.35rem;}
.premium-audit-json-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:.5rem;}
.premium-audit-json-grid pre{margin:0;background:#0f172a;color:#e2e8f0;border-radius:14px;padding:.75rem;font-size:.74rem;line-height:1.45;white-space:pre-wrap;word-break:break-word;max-width:460px;}
@media (max-width: 1200px){.premium-settings-stats-4{grid-template-columns:repeat(2,minmax(0,1fr));min-width:100%;}.premium-audit-json-grid{grid-template-columns:1fr;}}
@media (max-width: 900px){.premium-store-kind-stack{min-width:180px;}.premium-audit-log-wrap{padding-top:.75rem;}}

/* v85h24 store status polish */
.premium-store-status-table thead th{padding:.72rem .85rem!important;vertical-align:middle;}
.premium-store-status-table tbody td{padding:.82rem .85rem!important;vertical-align:middle;font-size:.88rem!important;}
.premium-store-status-table .premium-store-status-note{font-size:.77rem;line-height:1.28;max-width:32ch;}
.premium-store-status-table .premium-store-status-group{font-size:.78rem;}
.premium-store-status-badges-row{gap:.28rem;}
.premium-store-status-lag{padding:.28rem .58rem;font-size:.82rem;}
.premium-store-kind-stack{gap:.28rem;min-width:198px;}
.premium-store-kind-row{gap:.38rem;padding:.14rem 0;}
.premium-store-kind-name{font-size:.72rem;letter-spacing:.045em;}
.premium-store-kind-sub{font-size:.74rem;}
.premium-store-status-error-head{font-weight:700;color:#991b1b;}
.premium-store-status-note-danger{color:#b91c1c!important;font-weight:700;}
.premium-help-dot{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:.28rem;border-radius:999px;background:rgba(148,163,184,.16);color:#475569;font-size:.68rem;font-weight:800;line-height:1;cursor:help;vertical-align:middle;}
.premium-help-dot:hover{background:rgba(59,130,246,.14);color:#1d4ed8;}
.tooltip{--bs-tooltip-max-width:340px;}
.tooltip-inner{text-align:left;padding:.55rem .7rem;border-radius:12px;font-size:.76rem;line-height:1.35;box-shadow:0 12px 24px rgba(15,23,42,.18);}

/* v85h26 reports */
.premium-reports-layout {
    grid-template-columns: minmax(0, 1fr);
}

.premium-report-form textarea {
    min-height: 112px;
}

.premium-report-groups {
    display: grid;
    gap: 14px;
}

.premium-report-group-item {
    border: 1px solid rgba(148, 163, 184, 0.26);
    border-radius: 18px;
    padding: 16px 18px;
    background: rgba(248, 250, 252, 0.7);
}

.premium-report-group-head,
.premium-report-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.premium-report-group-head h4,
.premium-report-table-head h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
}

.premium-report-table-head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: .88rem;
}

.premium-report-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.premium-report-summary-card,
.premium-report-table-card {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.premium-report-summary-card {
    padding: 16px 18px;
}

.premium-report-summary-card span {
    display: block;
    font-size: .78rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

.premium-report-summary-card strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1.2;
    color: #0f172a;
}

.premium-report-table-card {
    padding: 18px;
}

.premium-report-table {
    --bs-table-bg: transparent;
    margin: 0;
}

.premium-report-table th {
    white-space: nowrap;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.premium-report-table td {
    border-color: rgba(226, 232, 240, 0.75);
    font-size: .93rem;
    color: #0f172a;
}

.premium-report-table-wide td:first-child {
    min-width: 280px;
}

.premium-inline-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ean-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef2f7;
    color: #334155;
    font-weight: 700;
}

@media (max-width: 1400px) {
    .premium-report-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .premium-report-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .premium-report-table-card {
        padding: 14px;
    }
}

@media (max-width: 640px) {
    .premium-report-summary-grid {
        grid-template-columns: 1fr;
    }
}


/* v85h28 reports polish */
.premium-report-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:20px 22px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
  box-shadow:0 16px 34px rgba(15,23,42,.06);
}
.premium-report-toolbar-copy{min-width:0;}
.premium-report-toolbar-title{margin:4px 0 6px;font-size:1.72rem;font-weight:900;color:#0f172a;letter-spacing:-.03em;}
.premium-report-toolbar-subtitle{margin:0;color:#64748b;max-width:920px;}
.premium-report-toolbar-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.premium-report-list-card,.premium-report-entry-card{border-radius:24px;}
.premium-report-list-head{padding-bottom:8px;}
.premium-report-form-legacy{display:grid;gap:16px;}
.premium-report-form-legacy .premium-settings-form-grid{gap:14px;}
.premium-report-form-legacy label>span{font-size:.78rem;font-weight:800;color:#334155;text-transform:uppercase;letter-spacing:.07em;}
.premium-report-form-legacy input,
.premium-report-form-legacy select,
.premium-report-form-legacy textarea{
  border:1px solid rgba(148,163,184,.28);
  border-radius:14px;
  background:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6);
}
.premium-report-form-legacy textarea{min-height:108px;}
.premium-report-mini-actions .btn{min-width:84px;}
.premium-report-group-item{
  border:1px solid rgba(148,163,184,.24);
  border-radius:18px;
  padding:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,252,.88));
}
.premium-report-group-head{align-items:flex-start;margin-bottom:14px;padding-bottom:12px;border-bottom:1px dashed rgba(148,163,184,.34);}
.premium-report-group-head p{margin:4px 0 0;color:#64748b;font-size:.86rem;}
.premium-report-table-legacy thead th,
.premium-report-table thead th{
  background:#f8fafc;
  color:#475569;
  font-size:.74rem;
  letter-spacing:.08em;
  border-bottom:1px solid rgba(203,213,225,.9);
}
.premium-report-table-legacy tbody tr:nth-child(even),
.premium-report-table tbody tr:nth-child(even){background:rgba(248,250,252,.62);}
.premium-report-table td,.premium-report-table th{padding:.7rem .8rem;vertical-align:middle;}
.premium-report-table-card{border-radius:22px;}
.premium-report-summary-card{border-radius:18px;padding:14px 16px;}
.premium-report-summary-card strong{font-size:1.12rem;}
.premium-report-preview .premium-settings-head{padding-bottom:8px;}
@media (max-width: 980px){
  .premium-report-toolbar{flex-direction:column;align-items:flex-start;}
  .premium-report-toolbar-actions{width:100%;justify-content:flex-start;}
}
/* v85h29 reports separate screens + premium create */
.premium-reports-create-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,.75fr);gap:20px;align-items:start;}
.premium-report-hero-card{border-radius:28px;}
.premium-report-form-shell{border-radius:26px;}
.premium-report-side-card{border-radius:24px;position:sticky;top:96px;}
.premium-report-top-grid{display:grid;grid-template-columns:1.2fr repeat(2,minmax(180px,1fr));gap:14px;}
.premium-report-builder-panel{display:grid;gap:16px;padding:16px 18px;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.88));border:1px solid rgba(148,163,184,.22);box-shadow:0 14px 34px rgba(15,23,42,.05);}
.premium-report-builder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}
.premium-report-builder-head h4{margin:4px 0 4px;font-size:1.06rem;font-weight:900;color:#0f172a;}
.premium-report-builder-head p{margin:0;color:#64748b;max-width:720px;}
.premium-report-form-premium{display:grid;gap:18px;}
.premium-report-form-premium label>span{font-size:.78rem;font-weight:800;color:#334155;text-transform:uppercase;letter-spacing:.07em;}
.premium-report-form-premium input,.premium-report-form-premium select,.premium-report-form-premium textarea{border-radius:16px;border:1px solid rgba(148,163,184,.3);background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.86);padding:.82rem .95rem;color:#0f172a;transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;}
.premium-report-form-premium textarea{min-height:116px;}
.premium-report-form-premium input:focus,.premium-report-form-premium select:focus,.premium-report-form-premium textarea:focus{border-color:rgba(37,99,235,.45);box-shadow:0 0 0 4px rgba(59,130,246,.12);outline:none;}
.premium-report-side-actions{display:grid;gap:10px;}
.premium-report-steps{display:grid;gap:10px;padding-left:1.2rem;margin:0 0 18px;color:#334155;}
.premium-report-steps li{padding-left:.2rem;}
.premium-report-help-modal .modal-content{border-radius:24px;border:1px solid rgba(148,163,184,.22);box-shadow:0 30px 80px rgba(15,23,42,.28);}
.premium-report-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.premium-report-help-card{padding:16px 18px;border-radius:20px;background:linear-gradient(180deg,rgba(248,250,252,.98),rgba(241,245,249,.92));border:1px solid rgba(148,163,184,.2);}
.premium-report-help-card h6{margin:0 0 10px;font-size:1rem;font-weight:900;color:#0f172a;}
.premium-report-help-card p{margin:0 0 10px;color:#475569;}
.premium-report-help-card ul{margin:0 0 10px 1rem;padding:0;color:#334155;display:grid;gap:6px;}
.premium-report-help-example,.premium-report-help-compact .premium-report-help-example{padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.82);border:1px solid rgba(148,163,184,.18);color:#0f172a;}
.premium-report-help-compact{display:grid;gap:10px;margin-bottom:16px;}
.premium-reports-list-page .premium-report-list-card{border-radius:26px;}
@media (max-width: 1199.98px){.premium-reports-create-layout{grid-template-columns:1fr;}.premium-report-side-card{position:static;}.premium-report-top-grid{grid-template-columns:1fr 1fr;}}
@media (max-width: 767.98px){.premium-report-top-grid,.premium-report-help-grid{grid-template-columns:1fr;}.premium-report-builder-head{flex-direction:column;align-items:stretch;}}


.premium-report-guidance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.premium-report-guidance-card{padding:20px 22px;border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.95));box-shadow:0 18px 40px rgba(15,23,42,.08);border:1px solid rgba(148,163,184,.18);}
.premium-report-guidance-card h3{margin:8px 0 10px;font-size:1.08rem;}
.premium-report-guidance-card p{margin:0;color:#475569;line-height:1.65;}
.premium-report-form-shell,.premium-report-result-shell{box-shadow:0 24px 60px rgba(15,23,42,.10);border:1px solid rgba(148,163,184,.16);}
.premium-report-result-shell .premium-report-summary-grid{margin-top:4px;}
.premium-report-code-assist{margin-top:12px;border:1px solid rgba(148,163,184,.18);border-radius:18px;background:rgba(248,250,252,.92);overflow:hidden;}
.premium-report-code-assist-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid rgba(148,163,184,.14);background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(241,245,249,.88));}
.premium-report-code-results{padding:10px 14px;}
.premium-report-code-empty{padding:8px 2px;color:#64748b;font-size:.92rem;}
.premium-report-code-table{display:grid;gap:8px;}
.premium-report-code-row{display:grid;grid-template-columns:1.05fr .95fr 1.7fr .75fr;gap:12px;align-items:start;padding:10px 0;border-bottom:1px dashed rgba(148,163,184,.18);}
.premium-report-code-row:last-child{border-bottom:0;}
.premium-report-code-row-head{padding-top:0;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:700;}
.premium-report-code-row span{display:flex;flex-direction:column;gap:4px;color:#0f172a;}
.premium-report-code-row small{font-size:.78rem;color:#64748b;line-height:1.4;}
.premium-report-code-row .status-pill{align-self:flex-start;}
.premium-report-code-row .status-pill.warn{background:rgba(245,158,11,.14);color:#b45309;border-color:rgba(245,158,11,.25);}
.premium-report-code-row .status-pill.ok{background:rgba(34,197,94,.14);color:#15803d;border-color:rgba(34,197,94,.24);}
.premium-report-code-row .status-pill.danger{background:rgba(239,68,68,.14);color:#b91c1c;border-color:rgba(239,68,68,.22);}
.premium-report-table-card{border-radius:24px;border:1px solid rgba(148,163,184,.16);box-shadow:0 20px 46px rgba(15,23,42,.08);overflow:hidden;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.96));}
.premium-report-table-head{padding:18px 22px;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(241,245,249,.92));border-bottom:1px solid rgba(148,163,184,.14);}
.premium-report-table thead th{background:#f8fafc;color:#334155;border-bottom:1px solid rgba(148,163,184,.18);font-size:.78rem;text-transform:uppercase;letter-spacing:.07em;}
.premium-report-table tbody td{vertical-align:top;}
.premium-report-summary-card{border-radius:20px;background:linear-gradient(180deg,#ffffff,#f8fafc);border:1px solid rgba(148,163,184,.16);box-shadow:0 16px 36px rgba(15,23,42,.06);}
@media (max-width:1200px){.premium-report-guidance-grid{grid-template-columns:1fr;}.premium-report-code-row{grid-template-columns:1fr 1fr;}}
@media (max-width:767px){.premium-report-code-assist-head{flex-direction:column;align-items:flex-start;}.premium-report-code-row{grid-template-columns:1fr;gap:10px;}.premium-report-code-row-head{display:none;}}


.premium-report-result-shell-premium{max-width:100%;overflow:hidden;}
.premium-report-meta-strip{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.premium-report-tables-stack{display:grid;gap:18px;max-width:100%;overflow:hidden;}
.premium-report-scroll{max-width:100%;overflow-x:auto;overflow-y:hidden;}
.premium-report-table-tight{min-width:980px;width:100%;table-layout:auto;}
.premium-report-table-products{min-width:1200px;width:100%;table-layout:auto;}
.premium-report-table-products td,.premium-report-table-tight td,.premium-report-table-products th,.premium-report-table-tight th{white-space:normal;word-break:break-word;}
.premium-report-table .wrap-cell{min-width:180px;}
.premium-report-summary-grid-hero .premium-report-summary-card{padding:18px 18px;border-radius:22px;}
.premium-report-summary-grid-hero .premium-report-summary-card strong{font-size:1.22rem;}
.premium-report-result-shell .premium-report-table-card{margin-inline:auto;max-width:100%;}
.premium-report-result-shell .premium-report-table-head h3{font-size:1.02rem;}
.premium-report-result-shell .premium-report-table-head p{max-width:760px;}
.premium-report-top-grid-premium{grid-template-columns:minmax(260px,1.2fr) repeat(3,minmax(180px,1fr));}
@media (max-width: 1399.98px){.premium-report-top-grid-premium{grid-template-columns:repeat(2,minmax(220px,1fr));}}
@media (max-width: 767.98px){.premium-report-top-grid-premium{grid-template-columns:1fr;}.premium-report-table-tight,.premium-report-table-products{min-width:780px;}}


.premium-report-table-card-simple{border-radius:20px;}
.premium-report-table-head-simple{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;}
.premium-report-table-products-simple{min-width:1080px;width:100%;table-layout:fixed;}
.premium-report-table-simple thead th{background:linear-gradient(180deg,#47b83d,#34a92d);color:#fff;border-bottom:0;font-size:.82rem;letter-spacing:.02em;text-transform:none;font-weight:800;white-space:nowrap;}
.premium-report-table-simple tbody tr:nth-child(even){background:rgba(248,250,252,.72);}
.premium-report-table-simple td,.premium-report-table-simple th{padding:.82rem .72rem;vertical-align:middle;}
.premium-report-table-simple .premium-col-product{width:28%;}
.premium-report-table-simple .premium-col-ean{width:120px;}
.premium-report-table-simple .premium-col-total{width:88px;}
.premium-report-table-simple .premium-col-refund{width:110px;}
.premium-report-table-simple .premium-col-store{width:64px;}
.premium-product-name-cell{font-weight:700;color:#111827;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:0;}
.premium-ean-cell{font-variant-numeric:tabular-nums;white-space:nowrap;color:#1f2937;}
.premium-report-qty-cell,.premium-report-total-cell{font-weight:700;color:#1f2937;font-variant-numeric:tabular-nums;white-space:nowrap;}
.premium-report-total-cell{color:#0f172a;}
.premium-report-refund-cell{font-weight:800;color:#0f766e;white-space:nowrap;font-variant-numeric:tabular-nums;}
.premium-report-table-simple tfoot th{background:linear-gradient(180deg,#47b83d,#34a92d);color:#fff;border-top:0;padding:.9rem .72rem;font-weight:800;}
.premium-report-group-summary-label{text-align:left;}
.premium-report-group-summary-cell{white-space:nowrap;font-variant-numeric:tabular-nums;}
@media (max-width: 767.98px){.premium-report-table-products-simple{min-width:920px;}.premium-report-table-head-simple{flex-direction:column;align-items:flex-start;}}


/* v85h33 reports header fit + edit panel */
.premium-report-table-products-simple{width:max-content;min-width:100%;table-layout:auto;}
.premium-report-table-simple thead th{white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.18;text-align:center;padding:.78rem .6rem;font-size:.8rem;}
.premium-report-table-simple thead th.text-start{text-align:left;}
.premium-report-table-simple .premium-col-product{min-width:300px;width:300px;}
.premium-report-table-simple .premium-col-ean{min-width:118px;width:118px;}
.premium-report-table-simple .premium-col-store{min-width:76px;width:76px;}
.premium-report-table-simple .premium-col-total{min-width:92px;width:92px;}
.premium-report-table-simple .premium-col-refund{min-width:112px;width:112px;}
.premium-report-scroll{overflow-x:auto;overflow-y:hidden;padding-bottom:2px;}
.premium-report-scroll::-webkit-scrollbar{height:10px;}
.premium-report-scroll::-webkit-scrollbar-thumb{background:rgba(148,163,184,.55);border-radius:999px;}
.premium-report-scroll::-webkit-scrollbar-track{background:rgba(226,232,240,.65);border-radius:999px;}
.premium-report-table-simple tbody td,.premium-report-table-simple tfoot th{white-space:nowrap;}
.premium-report-table-tight th,.premium-report-table-tight td{overflow-wrap:anywhere;word-break:break-word;}
.premium-product-name-cell{max-width:300px;white-space:normal !important;line-height:1.3;}
[data-report-edit-toggle].is-open{background:rgba(59,130,246,.08);border-color:rgba(59,130,246,.24);color:#1d4ed8;}
@media (max-width: 1199.98px){.premium-report-table-simple .premium-col-product{min-width:260px;width:260px;}}



.premium-report-coverage{display:flex;align-items:center;gap:.85rem;padding:1rem 1.1rem;border-radius:18px;border:1px solid rgba(245,158,11,.28);background:linear-gradient(180deg,rgba(255,247,237,.96),rgba(255,251,235,.98));color:#8a4b08;box-shadow:0 12px 32px rgba(245,158,11,.10);} 
.premium-report-coverage strong{display:block;font-size:.96rem;font-weight:800;color:#9a3412;}
.premium-report-coverage div{font-size:.92rem;line-height:1.45;}
.premium-report-table-card-simple .premium-report-table-head p{max-width:760px;}


/* v85h39 reports pdf + persistent code list */
.premium-report-code-assist-premium{border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(244,247,251,.95));box-shadow:inset 0 1px 0 rgba(255,255,255,.7);}
.premium-report-code-assist-premium .premium-report-code-assist-head{padding:14px 16px;border-bottom:1px solid rgba(148,163,184,.16);}
.premium-report-code-assist-premium .premium-report-code-results{padding:14px 16px;}
.premium-report-code-table-premium{display:grid;gap:12px;}
.premium-report-code-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start;padding:14px 16px;border-radius:18px;border:1px solid rgba(148,163,184,.18);background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.94));box-shadow:0 10px 24px rgba(15,23,42,.05);}
.premium-report-code-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px;}
.premium-report-code-card-top strong{font-size:.97rem;line-height:1.35;color:#0f172a;}
.premium-report-code-card-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:8px;}
.premium-report-code-card-meta span{display:flex;flex-direction:column;gap:3px;padding:9px 10px;border-radius:14px;background:rgba(241,245,249,.84);border:1px solid rgba(148,163,184,.14);}
.premium-report-code-card-meta small{font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;color:#64748b;font-weight:800;}
.premium-report-code-card-meta b{font-size:.93rem;color:#0f172a;font-weight:800;word-break:break-word;}
.premium-report-code-card-note{font-size:.84rem;line-height:1.5;color:#475569;}
.premium-report-code-card-actions{display:flex;align-items:center;justify-content:flex-end;}

.premium-report-code-list-premium{display:flex;flex-direction:column;gap:8px;}
.premium-report-code-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-radius:16px;border:1px solid rgba(148,163,184,.16);background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.94));box-shadow:0 6px 18px rgba(15,23,42,.04);}
.premium-report-code-list-main{min-width:0;display:flex;flex-direction:column;gap:5px;}
.premium-report-code-list-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.premium-report-code-list-top strong{font-size:.95rem;line-height:1.3;color:#0f172a;min-width:0;}
.premium-report-code-list-meta{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:.82rem;line-height:1.4;color:#526179;}
.premium-report-code-list-meta span{display:inline-flex;align-items:center;gap:4px;min-width:0;}
.premium-report-code-list-meta b{color:#0f172a;font-weight:800;word-break:break-word;}
.premium-report-code-list-item .status-pill{align-self:flex-start;white-space:nowrap;}
@media (max-width:767px){.premium-report-code-list-item{grid-template-columns:1fr;align-items:flex-start;}.premium-report-code-list-top{flex-direction:column;}.premium-report-code-list-item .btn{width:100%;}}

.premium-report-form-premium [data-report-codes-input]{min-height:88px;background:linear-gradient(180deg,#ffffff,#f8fafc);}
.premium-report-form-premium textarea[name^="group_calculation_notes"]{min-height:94px;background:linear-gradient(180deg,#ffffff,#f8fafc);border-color:rgba(59,130,246,.16);}
@media (max-width: 767.98px){.premium-report-code-card{grid-template-columns:1fr;}.premium-report-code-card-top{flex-direction:column;}.premium-report-code-card-meta{grid-template-columns:1fr;}.premium-report-code-card-actions{justify-content:flex-start;}}


/* v85h42 reports compact summary + tighter matrix */
.premium-report-summary-grid-inline{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-items:stretch;}
.premium-report-summary-grid-inline .premium-report-summary-card{padding:12px 14px;border-radius:18px;min-width:0;}
.premium-report-summary-grid-inline .premium-report-summary-card span{font-size:.68rem;letter-spacing:.06em;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.premium-report-summary-grid-inline .premium-report-summary-card strong{font-size:1.02rem;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.premium-report-table-products-simple{min-width:980px;}
.premium-report-table-simple thead th{padding:.62rem .48rem;font-size:.74rem;line-height:1.1;}
.premium-report-table-simple td,.premium-report-table-simple th{padding:.66rem .48rem;}
.premium-report-table-simple .premium-col-product{min-width:260px;width:260px;}
.premium-report-table-simple .premium-col-ean{min-width:108px;width:108px;}
.premium-report-table-simple .premium-col-store{min-width:56px;width:56px;}
.premium-report-table-simple .premium-col-total{min-width:84px;width:84px;}
.premium-report-table-simple .premium-col-refund{min-width:100px;width:100px;}
.premium-product-name-cell{max-width:260px;font-size:.9rem;}
.premium-ean-cell,.premium-report-qty-cell,.premium-report-total-cell,.premium-report-refund-cell,.premium-report-group-summary-cell{font-size:.9rem;}
@media (max-width:1399.98px){.premium-report-summary-grid-inline{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:767.98px){.premium-report-summary-grid-inline{grid-template-columns:repeat(2,minmax(0,1fr));}.premium-report-table-products-simple{min-width:900px;}}

/* v85h48 report table alignment */
.premium-report-table-summary{width:100%;table-layout:fixed;min-width:100%;}
.premium-report-table-summary th,.premium-report-table-summary td{text-align:center;vertical-align:middle;}
.premium-report-table-summary th:first-child,.premium-report-table-summary td:first-child{text-align:left;}
.premium-report-table-summary-stores th:nth-child(1),.premium-report-table-summary-stores td:nth-child(1){width:20%;}
.premium-report-table-summary-stores th:nth-child(n+2),.premium-report-table-summary-stores td:nth-child(n+2){width:10%;}
.premium-report-table-summary-groups th:nth-child(1),.premium-report-table-summary-groups td:nth-child(1){width:18%;}
.premium-report-table-summary-groups th:nth-child(2),.premium-report-table-summary-groups td:nth-child(2){width:22%;}
.premium-report-table-summary-groups th:nth-child(n+3),.premium-report-table-summary-groups td:nth-child(n+3){width:8.5%;}
.premium-report-table-summary .wrap-cell{min-width:0;}
