/* ==========================================================================
   hersteller-hub.css — Hersteller-Intelligence-Hubs (/hersteller/ & Detail)
   Dark + Light WCAG 2.1 AA (>= 4.5:1), responsive 360px..1440px+,
   Reduced-Motion-Guard, SSoT .cve-card Integration.
   ========================================================================== */

:root,
html[data-bs-theme="dark"] {
    --hh-bg-surface: rgba(15, 23, 42, 0.78);
    --hh-bg-elevated: rgba(15, 23, 42, 0.94);
    --hh-bg-hero: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(15, 23, 42, 0.88) 55%, rgba(2, 6, 23, 0.95) 100%);
    --hh-bg-chip: rgba(30, 41, 59, 0.78);
    --hh-bg-chip-hover: rgba(14, 165, 233, 0.16);
    --hh-bg-input: rgba(2, 6, 23, 0.75);
    --hh-border: rgba(148, 163, 184, 0.24);
    --hh-border-strong: rgba(56, 189, 248, 0.55);
    --hh-text: #f1f5f9;
    --hh-text-muted: #94a3b8;
    --hh-text-soft: #cbd5e1;
    --hh-accent: #38bdf8;
    --hh-accent-ink: #082f49;
    --hh-danger: #f87171;
    --hh-danger-bg: rgba(239, 68, 68, 0.16);
    --hh-danger-border: rgba(248, 113, 113, 0.38);
    --hh-warn: #fbbf24;
    --hh-warn-bg: rgba(245, 158, 11, 0.15);
    --hh-warn-border: rgba(251, 191, 36, 0.38);
    --hh-ok: #34d399;
    --hh-ok-bg: rgba(16, 185, 129, 0.15);
    --hh-ok-border: rgba(52, 211, 153, 0.36);
    --hh-info-bg: rgba(14, 165, 233, 0.14);
    --hh-info-border: rgba(56, 189, 248, 0.38);
    --hh-shadow: 0 10px 30px -16px rgba(2, 6, 23, 0.85);
}

html[data-bs-theme="light"],
html.light {
    --hh-bg-surface: #ffffff;
    --hh-bg-elevated: #f8fafc;
    --hh-bg-hero: linear-gradient(135deg, #f0f9ff 0%, #ffffff 60%, #f8fafc 100%);
    --hh-bg-chip: #f1f5f9;
    --hh-bg-chip-hover: #e0f2fe;
    --hh-bg-input: #ffffff;
    --hh-border: rgba(100, 116, 139, 0.28);
    --hh-border-strong: #0369a1;
    --hh-text: #0f172a;
    --hh-text-muted: #475569;
    --hh-text-soft: #334155;
    --hh-accent: #0369a1;
    --hh-accent-ink: #ffffff;
    --hh-danger: #b91c1c;
    --hh-danger-bg: #fef2f2;
    --hh-danger-border: rgba(185, 28, 28, 0.32);
    --hh-warn: #b45309;
    --hh-warn-bg: #fffbeb;
    --hh-warn-border: rgba(180, 83, 9, 0.32);
    --hh-ok: #047857;
    --hh-ok-bg: #ecfdf5;
    --hh-ok-border: rgba(4, 120, 87, 0.32);
    --hh-info-bg: #e0f2fe;
    --hh-info-border: rgba(3, 105, 161, 0.32);
    --hh-shadow: 0 8px 24px -16px rgba(15, 23, 42, 0.22);
}

/* ── Global Helpers ──────────────────────────────────────────────────────── */
.hh-main {
    max-width: 1320px;
    color: var(--hh-text);
}

/* Header Brand & Badge Kontrast-Garantie in Dark + Light */
.lp-brand-link {
    color: var(--hh-text) !important;
}

.lp-badge {
    background: var(--hh-info-bg) !important;
    color: var(--hh-accent) !important;
    border: 1px solid var(--hh-info-border) !important;
    font-weight: 700;
}

.hh-ico {
    flex-shrink: 0;
    vertical-align: -0.15em;
}

.hh-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--hh-text-muted);
    margin-bottom: 1rem;
}

.hh-breadcrumb a {
    color: var(--hh-text-muted);
    text-decoration: none;
}

.hh-breadcrumb a:hover,
.hh-breadcrumb a:focus-visible {
    color: var(--hh-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Hero Band ───────────────────────────────────────────────────────────── */
.hh-hero {
    background: var(--hh-bg-hero);
    border: 1px solid var(--hh-border);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--hh-shadow);
    margin-bottom: 1.5rem;
}

.hh-hero-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hh-eyebrow {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hh-accent);
    margin-bottom: 0.35rem;
}

.hh-title {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--hh-text);
    margin: 0 0 0.45rem;
}

.hh-subtitle {
    font-size: 0.94rem;
    color: var(--hh-text-muted);
    max-width: 68ch;
    margin: 0;
}

.hh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

/* ── Buttons & Action Links ──────────────────────────────────────────────── */
.hh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--hh-border);
    background: var(--hh-bg-chip);
    color: var(--hh-text);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.hh-btn:hover,
.hh-btn:focus-visible {
    border-color: var(--hh-border-strong);
    background: var(--hh-bg-chip-hover);
    color: var(--hh-accent);
}

/* Design-Heilung 04.12.2026 (dokumentierte Ausnahme im Master-Baum): Primärbutton auf die kanonischen
   Button-Tokens des Tenant-Baums (default.css, --ts-btn-primary-*). Tenants ohne diese Tokens behalten
   über die Fallbacks ihr bisheriges Hub-Design (--hh-accent / --hh-accent-ink). */
.hh-btn--primary {
    background: var(--ts-btn-primary-bg, var(--hh-accent));
    border-color: var(--ts-btn-primary-border, var(--hh-accent));
    color: var(--ts-btn-primary-fg, var(--hh-accent-ink));
    border-radius: var(--ts-btn-radius, 999px);
}

.hh-btn--primary:hover,
.hh-btn--primary:focus-visible {
    filter: brightness(1.08);
    color: var(--ts-btn-primary-fg, var(--hh-accent-ink));
    background: var(--ts-btn-primary-bg-hover, var(--hh-accent));
}

.hh-btn--sm {
    min-height: 36px;
    padding: 0.35rem 0.78rem;
    font-size: 0.8rem;
}

/* ── KPI Strip (Overview + Detail Interactive Tiles) ─────────────────────── */
.hh-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 0.75rem;
}

.hh-kpi-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    background: var(--hh-bg-surface);
    border: 1px solid var(--hh-border);
    text-decoration: none;
    color: var(--hh-text);
    text-align: left;
    min-height: 76px;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

a.hh-kpi-tile:hover,
a.hh-kpi-tile:focus-visible,
button.hh-kpi-tile:hover,
button.hh-kpi-tile:focus-visible {
    border-color: var(--hh-border-strong);
    transform: translateY(-1px);
    color: var(--hh-text);
}

.hh-kpi-tile.is-active,
.hh-kpi-tile[aria-pressed="true"] {
    border-color: var(--hh-accent);
    box-shadow: 0 0 0 2px var(--hh-info-border);
}

.hh-kpi-value {
    font-family: var(--mono-stack, var(--bs-font-monospace, monospace));
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--hh-text);
}

.hh-kpi-value--danger { color: var(--hh-danger); }
.hh-kpi-value--warn { color: var(--hh-warn); }
.hh-kpi-value--accent { color: var(--hh-accent); }
.hh-kpi-value--ok { color: var(--hh-ok); }

.hh-kpi-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hh-text-muted);
    margin-top: 0.3rem;
}

.hh-kpi-sub {
    font-size: 0.72rem;
    color: var(--hh-text-muted);
    margin-top: 0.12rem;
}

/* ── Filter & Search Console ─────────────────────────────────────────────── */
.hh-console {
    background: var(--hh-bg-surface);
    border: 1px solid var(--hh-border);
    border-radius: 1rem;
    padding: 1rem 1.15rem;
    margin-bottom: 1.35rem;
}

.hh-console-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.hh-console-row + .hh-console-row {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--hh-border);
}

.hh-search-wrap {
    position: relative;
    flex: 1 1 280px;
    min-width: 220px;
}

.hh-search-ico {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hh-text-muted);
    pointer-events: none;
}

.hh-search-input {
    width: 100%;
    min-height: 44px;
    padding: 0.5rem 2.5rem 0.5rem 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--hh-border);
    background: var(--hh-bg-input);
    color: var(--hh-text);
    font-size: 0.9rem;
}

.hh-search-input::placeholder {
    color: var(--hh-text-muted);
}

.hh-search-input:focus {
    outline: none;
    border-color: var(--hh-accent);
    box-shadow: 0 0 0 3px var(--hh-info-border);
}

.hh-search-clear {
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    color: var(--hh-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hh-search-clear:hover {
    color: var(--hh-text);
    background: var(--hh-bg-chip);
}

.hh-select {
    min-height: 44px;
    max-width: 100%;
    padding: 0.45rem 2rem 0.45rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid var(--hh-border);
    background: var(--hh-bg-input);
    color: var(--hh-text);
    font-size: 0.86rem;
    font-weight: 500;
}

.hh-select:focus {
    outline: none;
    border-color: var(--hh-accent);
    box-shadow: 0 0 0 3px var(--hh-info-border);
}

.hh-pill-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.hh-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--hh-border);
    background: var(--hh-bg-chip);
    color: var(--hh-text-soft);
    font-size: 0.81rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.hh-pill:hover,
.hh-pill:focus-visible {
    border-color: var(--hh-border-strong);
    color: var(--hh-accent);
    background: var(--hh-bg-chip-hover);
}

.hh-pill.is-active,
.hh-pill[aria-current="page"],
.hh-pill[aria-pressed="true"] {
    background: var(--hh-accent);
    border-color: var(--hh-accent);
    color: var(--hh-accent-ink);
}

.hh-pill--danger.is-active,
.hh-pill--danger[aria-pressed="true"] {
    background: var(--hh-danger);
    border-color: var(--hh-danger);
    color: #ffffff;
}

.hh-pill-count {
    font-family: var(--mono-stack, var(--bs-font-monospace, monospace));
    font-size: 0.72rem;
    opacity: 0.85;
}

.hh-toolbar-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--hh-text-muted);
}

/* ── Overview Vendor Cards ───────────────────────────────────────────────── */
.hh-vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.hh-vendor-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
    min-width: 0;
    background: var(--hh-bg-surface);
    border: 1px solid var(--hh-border);
    border-radius: 0.95rem;
    padding: 1.1rem 1.15rem;
    box-shadow: var(--hh-shadow);
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.hh-vendor-card > div,
.hh-vendor-head > div {
    min-width: 0;
}

.hh-vendor-card:hover {
    border-color: var(--hh-border-strong);
    transform: translateY(-2px);
}

.hh-vendor-card--kev {
    border-left: 3px solid var(--hh-danger);
}

.hh-vendor-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
}

.hh-vendor-name {
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.hh-vendor-name a {
    color: var(--hh-text);
    text-decoration: none;
}

.hh-vendor-name a:hover,
.hh-vendor-name a:focus-visible {
    color: var(--hh-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hh-vendor-hint {
    font-size: 0.81rem;
    color: var(--hh-text-muted);
    line-height: 1.4;
    margin: 0.25rem 0 0;
}

.hh-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--mono-stack, var(--bs-font-monospace, monospace));
    white-space: nowrap;
    border: 1px solid var(--hh-border);
    background: var(--hh-bg-chip);
    color: var(--hh-text-soft);
    text-decoration: none;
}

.hh-badge--kev {
    background: var(--hh-danger-bg);
    border-color: var(--hh-danger-border);
    color: var(--hh-danger);
}

.hh-badge--crit {
    background: var(--hh-warn-bg);
    border-color: var(--hh-warn-border);
    color: var(--hh-warn);
}

.hh-badge--active {
    background: var(--hh-ok-bg);
    border-color: var(--hh-ok-border);
    color: var(--hh-ok);
}

.hh-badge--info {
    background: var(--hh-info-bg);
    border-color: var(--hh-info-border);
    color: var(--hh-accent);
}

.hh-stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
    padding: 0.55rem 0.6rem;
    border-radius: 0.7rem;
    background: var(--hh-bg-elevated);
    border: 1px solid var(--hh-border);
}

.hh-stat-cell {
    display: flex;
    flex-direction: column;
    text-align: center;
    text-decoration: none;
    color: var(--hh-text);
    padding: 0.15rem 0.1rem;
    border-radius: 0.45rem;
}

a.hh-stat-cell:hover,
a.hh-stat-cell:focus-visible {
    background: var(--hh-bg-chip-hover);
    color: var(--hh-accent);
}

.hh-stat-num {
    font-family: var(--mono-stack, var(--bs-font-monospace, monospace));
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.15;
}

.hh-stat-lbl {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hh-text-muted);
    margin-top: 0.1rem;
}

.hh-latest-cve {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
    max-width: 100%;
    padding: 0.45rem 0.65rem;
    border-radius: 0.65rem;
    background: var(--hh-bg-elevated);
    border: 1px solid var(--hh-border);
    font-size: 0.77rem;
    text-decoration: none;
    color: var(--hh-text-soft);
}

.hh-latest-cve-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
    min-width: 0;
}

.hh-latest-cve:hover,
.hh-latest-cve:focus-visible {
    border-color: var(--hh-border-strong);
    color: var(--hh-accent);
}

.hh-latest-cve-id {
    font-family: var(--mono-stack, var(--bs-font-monospace, monospace));
    font-weight: 700;
    color: var(--hh-accent);
    white-space: nowrap;
}

.hh-card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--hh-border);
}

.hh-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.81rem;
    font-weight: 700;
    color: var(--hh-accent);
    text-decoration: none;
    min-height: 32px;
}

.hh-link-inline:hover,
.hh-link-inline:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Detail Hub Specifics ────────────────────────────────────────────────── */
.hh-detail-hero-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

@media (max-width: 991.98px) {
    .hh-detail-hero-grid {
        grid-template-columns: 1fr;
    }
}

.hh-trend-box {
    background: var(--hh-bg-surface);
    border: 1px solid var(--hh-border);
    border-radius: 0.85rem;
    padding: 0.8rem 0.95rem;
}

.hh-trend-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hh-text-muted);
    margin-bottom: 0.45rem;
}

.hh-spark-svg {
    width: 100%;
    height: auto;
    display: block;
}

.hh-spark-bar {
    fill: var(--hh-accent);
    opacity: 0.72;
}

.hh-spark-bar--latest {
    fill: var(--hh-accent);
    opacity: 1;
}

.hh-spark-bar--zero {
    fill: var(--hh-border);
    opacity: 0.6;
}

.hh-spark-label {
    font-size: 10px;
    font-family: var(--mono-stack, var(--bs-font-monospace, monospace));
    fill: var(--hh-text-muted);
}

/* ── SSoT .cve-card Grid Override inside Vendor Hub ──────────────────────── */
.hh-cve-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
}

@media (max-width: 1199.98px) {
    .hh-cve-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .hh-cve-grid {
        grid-template-columns: 1fr;
    }
}

/* cve_render_card wraps each card in .col-md-6.col-lg-4.col-xl-3.cve-item:
   inside CSS grid, reset Bootstrap column widths so every card fills its grid cell cleanly */
.hh-cve-grid > .cve-item {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hh-cve-grid.is-loading {
    opacity: 0.52;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* Light-mode safety for SSoT news & vendor cards */
html[data-bs-theme="light"] .lp-news-card,
html.light .lp-news-card {
    background: #ffffff !important;
    border-color: rgba(100, 116, 139, 0.28) !important;
}

html[data-bs-theme="light"] .lp-news-title,
html.light .lp-news-title {
    color: #0f172a !important;
}

html[data-bs-theme="light"] .lp-news-more,
html.light .lp-news-more {
    color: #0369a1 !important;
}

/* ── Section Layout & Cards ──────────────────────────────────────────────── */
.hh-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hh-section-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--hh-text);
    margin: 0;
}

.hh-panel {
    background: var(--hh-bg-surface);
    border: 1px solid var(--hh-border);
    border-radius: 1rem;
    padding: 1.25rem;
}

.hh-empty {
    background: var(--hh-bg-surface);
    border: 1px dashed var(--hh-border);
    border-radius: 0.95rem;
    padding: 1.75rem 1.25rem;
    text-align: center;
    color: var(--hh-text-muted);
}

.hh-direct-lookup {
    margin-top: 1.25rem;
    padding: 1rem 1.2rem;
    border-radius: 0.95rem;
    background: var(--hh-info-bg);
    border: 1px solid var(--hh-info-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.hh-active-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.hh-active-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: var(--hh-info-bg);
    border: 1px solid var(--hh-info-border);
    color: var(--hh-accent);
    font-size: 0.78rem;
    font-weight: 600;
}

.hh-active-chip button {
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.hh-loadmore-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.35rem;
}

.hh-toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1090;
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    background: var(--hh-bg-elevated);
    border: 1px solid var(--hh-border-strong);
    color: var(--hh-text);
    font-size: 0.84rem;
    font-weight: 600;
    box-shadow: var(--hh-shadow);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

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

/* Focus-Visible Accessibility */
.hh-main a:focus-visible,
.hh-main button:focus-visible,
.hh-main input:focus-visible,
.hh-main select:focus-visible {
    outline: 2px solid var(--hh-accent);
    outline-offset: 2px;
}

@media (max-width: 575.98px) {
    .hh-hero {
        padding: 1.1rem;
    }
    .hh-console-row > div {
        max-width: 100%;
        min-width: 0;
    }
    .hh-select {
        width: 100%;
    }
    .hh-vendor-grid {
        grid-template-columns: 1fr;
    }
    .hh-stat-strip {
        gap: 0.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hh-btn,
    .hh-kpi-tile,
    .hh-pill,
    .hh-vendor-card,
    .hh-cve-grid.is-loading,
    .hh-toast {
        transition: none !important;
        transform: none !important;
    }
}
