:root {
    --fa-yellow: #f2b12b;
    --fa-yellow-soft: rgba(242, 177, 43, 0.14);
    --fa-bg: #151515;
    --fa-card: rgba(255, 255, 255, 0.045);
    --fa-card-strong: rgba(255, 255, 255, 0.07);
    --fa-border: rgba(255, 255, 255, 0.10);
    --fa-border-soft: rgba(255, 255, 255, 0.065);
    --fa-text: #f5f5f5;
    --fa-muted: rgba(255, 255, 255, 0.68);
    --fa-faint: rgba(255, 255, 255, 0.46);
    --fa-green: #60d488;
    --fa-red: #ef6b6b;
}

.fa-page,
.fa-page * {
    box-sizing: border-box;
}

.fa-page {
    width: min(1500px, 100%);
    margin: 0 auto;
    padding: 28px;
    color: var(--fa-text);
}

.fa-hero,
.fa-project-helper,
.fa-tabs,
.fa-panel,
.fa-bottom-note,
.fa-modal {
    border: 1px solid var(--fa-border);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.055), transparent 36%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}

.fa-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    gap: 26px;
    min-height: 315px;
    padding: 40px;
    border-radius: 28px;
    overflow: hidden;
}

.fa-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 13px;
    border: 1px solid rgba(242, 177, 43, 0.34);
    border-radius: 999px;
    background: var(--fa-yellow-soft);
    color: var(--fa-yellow);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.02em;
}

.fa-hero h1 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4.15rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.fa-hero h1 span,
.fa-hero h1 strong {
    display: block;
}

.fa-hero h1 strong {
    color: var(--fa-yellow);
}

.fa-hero p {
    max-width: 660px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    line-height: 1.55;
}

.fa-hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 790px;
    margin-top: 30px;
}

.fa-hero-facts article,
.fa-use-card,
.fa-material-info,
.fa-filament-card,
.fa-accessory-card,
.fa-stat-pill {
    border: 1px solid var(--fa-border-soft);
    background: rgba(0, 0, 0, 0.16);
    border-radius: 18px;
}

.fa-hero-facts article {
    min-height: 86px;
    padding: 15px 16px;
}

.fa-fact-icon,
.fa-use-icon {
    color: var(--fa-yellow);
    font-weight: 900;
}

.fa-hero-facts strong {
    display: block;
    margin-top: 5px;
    font-size: 0.95rem;
}

.fa-hero-facts small {
    display: block;
    margin-top: 5px;
    color: var(--fa-muted);
    line-height: 1.35;
}

.fa-hero-visual {
    position: relative;
    min-height: 250px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 65% 35%, rgba(255, 255, 255, 0.11), transparent 32%),
        radial-gradient(circle at 24% 70%, rgba(255, 255, 255, 0.055), transparent 28%),
        rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.fa-spool-stack {
    position: absolute;
    right: 36px;
    top: 38px;
    width: 330px;
    height: 178px;
}

.fa-spool {
    position: absolute;
    right: 0;
    width: 270px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow: inset 0 7px 14px rgba(255, 255, 255, 0.08), 0 18px 35px rgba(0, 0, 0, 0.34);
}

.fa-spool-a {
    top: 0;
    background: linear-gradient(90deg, #111, #111 18%, #f3c334 20%, #d49a14 74%, #101010 78%);
}

.fa-spool-b {
    top: 45px;
    background: linear-gradient(90deg, #111, #111 18%, #eeeeee 20%, #cfcfcf 74%, #101010 78%);
}

.fa-spool-c {
    top: 90px;
    background: linear-gradient(90deg, #111, #111 18%, #1e75d8 20%, #0954a6 74%, #101010 78%);
}

.fa-spool-d {
    top: 135px;
    background: linear-gradient(90deg, #111, #111 18%, #1b1b1b 20%, #050505 74%, #101010 78%);
}

.fa-printed-object {
    position: absolute;
    left: 38px;
    bottom: 34px;
    width: 112px;
    height: 112px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    background: linear-gradient(145deg, #f2b12b, #cd7b13);
    color: #111;
    font-size: 2.3rem;
    font-weight: 950;
    transform: rotate(-8deg);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.34);
}

.fa-project-helper,
.fa-panel {
    margin-top: 22px;
    border-radius: 24px;
    padding: 24px;
}

.fa-section-head,
.fa-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.fa-section-head h2,
.fa-compact-head h2 {
    margin: 0;
    font-size: 1.55rem;
    letter-spacing: -0.02em;
}

.fa-section-head p,
.fa-compact-head p {
    margin: 6px 0 0;
    color: var(--fa-muted);
}

.fa-helper-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.fa-use-card {
    min-height: 158px;
    padding: 18px 14px;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.fa-use-card:hover,
.fa-use-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(242, 177, 43, 0.45);
    background: rgba(242, 177, 43, 0.07);
}

.fa-use-icon {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 14px;
}

.fa-use-card strong,
.fa-use-card small,
.fa-use-card em {
    display: block;
}

.fa-use-card strong {
    font-size: 1.02rem;
}

.fa-use-card small {
    min-height: 38px;
    margin-top: 7px;
    color: var(--fa-muted);
    line-height: 1.35;
}

.fa-use-card em {
    width: fit-content;
    margin-top: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--fa-yellow);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 800;
}

.fa-compare-btn,
.fa-tab,
.fa-filter-btn,
.fa-action-btn,
.fa-modal-close {
    border: 1px solid var(--fa-border);
    background: rgba(255, 255, 255, 0.055);
    color: var(--fa-text);
    border-radius: 999px;
    cursor: pointer;
}

.fa-compare-btn,
.fa-action-btn {
    min-height: 42px;
    padding: 0 16px;
    font-weight: 800;
}

.fa-compare-btn:hover,
.fa-action-btn:hover {
    border-color: rgba(242, 177, 43, 0.42);
    background: rgba(242, 177, 43, 0.10);
}

.fa-tabs {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    padding: 10px;
    border-radius: 20px;
}

.fa-tab {
    min-height: 44px;
    padding: 0 18px;
    font-weight: 850;
}

.fa-tab.is-active {
    border-color: transparent;
    background: var(--fa-yellow);
    color: #111;
}

.fa-panel {
    display: none;
}

.fa-panel.is-active {
    display: block;
}

.fa-toolbar {
    align-items: center;
}

.fa-search-wrap {
    flex: 1;
}

.fa-search-wrap label {
    display: block;
    margin-bottom: 8px;
    color: var(--fa-muted);
    font-weight: 800;
    font-size: 0.85rem;
}

.fa-search {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--fa-border);
    border-radius: 14px;
    outline: none;
    background: rgba(0, 0, 0, 0.22);
    color: var(--fa-text);
    font-weight: 700;
}

.fa-search:focus {
    border-color: rgba(242, 177, 43, 0.55);
}

.fa-check-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    color: var(--fa-muted);
    font-weight: 800;
    background: rgba(0, 0, 0, 0.14);
    border: 1px solid var(--fa-border-soft);
}

.fa-check-row input {
    accent-color: var(--fa-yellow);
}

.fa-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.fa-filter-btn {
    min-height: 36px;
    padding: 0 14px;
    font-weight: 800;
}

.fa-filter-btn.is-active {
    background: var(--fa-yellow);
    color: #111;
    border-color: transparent;
}

.fa-stock-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.fa-stat-pill {
    padding: 9px 13px;
    color: var(--fa-muted);
    font-weight: 800;
}

.fa-stat-pill strong {
    color: var(--fa-text);
}

.fa-material-list {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.fa-material-row {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 14px;
}

.fa-material-info {
    padding: 18px;
}

.fa-material-info h3 {
    margin: 0;
    font-size: 1.45rem;
}

.fa-material-info .fa-tagline {
    display: inline-flex;
    margin-top: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    color: var(--fa-yellow);
    background: var(--fa-yellow-soft);
    font-weight: 850;
    font-size: 0.78rem;
}

.fa-material-info p {
    margin: 13px 0 0;
    color: var(--fa-muted);
    line-height: 1.45;
}

.fa-material-info ul {
    margin: 13px 0 0;
    padding: 0;
    list-style: none;
}

.fa-material-info li {
    margin: 7px 0;
    color: rgba(255, 255, 255, 0.75);
}

.fa-material-info li::before {
    content: '✓';
    margin-right: 8px;
    color: var(--fa-green);
    font-weight: 900;
}

.fa-filament-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 12px;
}

.fa-filament-card {
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.fa-filament-card:hover,
.fa-filament-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(242, 177, 43, 0.45);
    background: rgba(242, 177, 43, 0.055);
}

.fa-filament-img {
    aspect-ratio: 1 / 1;
    background: rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.fa-filament-img img,
.fa-accessory-img img,
.fa-modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fa-filament-body {
    padding: 12px;
}

.fa-card-title,
.fa-card-meta,
.fa-card-stock {
    display: block;
}

.fa-card-title {
    color: var(--fa-text);
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fa-card-meta {
    margin-top: 4px;
    color: var(--fa-muted);
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fa-card-stock {
    width: fit-content;
    margin-top: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(96, 212, 136, 0.12);
    color: var(--fa-green);
    font-size: 0.76rem;
    font-weight: 900;
}

.fa-card-stock.is-empty {
    background: rgba(239, 107, 107, 0.12);
    color: var(--fa-red);
}

.fa-accessory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.fa-accessory-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 13px;
    min-height: 110px;
    padding: 12px;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.fa-accessory-card:hover,
.fa-accessory-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(242, 177, 43, 0.42);
}

.fa-accessory-img {
    width: 82px;
    height: 82px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.22);
}

.fa-accessory-card h3 {
    margin: 3px 0 0;
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fa-accessory-card p {
    margin: 5px 0 0;
    color: var(--fa-muted);
    font-size: 0.86rem;
    line-height: 1.35;
}

.fa-empty {
    margin-top: 18px;
    padding: 28px;
    border: 1px dashed var(--fa-border);
    border-radius: 18px;
    color: var(--fa-muted);
    text-align: center;
}

.fa-modal {
    width: min(760px, calc(100vw - 26px));
    max-height: calc(100dvh - 32px);
    padding: 0;
    border-radius: 24px;
    color: var(--fa-text);
    overflow: hidden;
}

.fa-modal::backdrop {
    background: rgba(0, 0, 0, 0.74);
    backdrop-filter: blur(8px);
}

.fa-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    line-height: 1;
}

.fa-modal-body {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
    padding: 24px;
    overflow: auto;
}

.fa-modal-img {
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--fa-border-soft);
}

.fa-modal-content h2 {
    margin: 0;
    padding-right: 42px;
    font-size: 1.7rem;
}

.fa-modal-sub {
    margin-top: 6px;
    color: var(--fa-muted);
}

.fa-detail-grid {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.fa-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--fa-border-soft);
}

.fa-detail-row span:first-child {
    color: var(--fa-muted);
}

.fa-detail-row span:last-child {
    font-weight: 850;
    text-align: right;
}

.fa-advice-box {
    margin-top: 16px;
    padding: 14px;
    border-radius: 16px;
    background: var(--fa-yellow-soft);
    border: 1px solid rgba(242, 177, 43, 0.20);
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.45;
}

.fa-page>.fa-project-helper:first-child {
    margin-top: 0;
}

.fa-decision-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.fa-decision-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fa-decision-card {
    min-height: 170px;
    padding: 18px;
    border: 1px solid var(--fa-border-soft);
    border-radius: 18px;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 42%),
        rgba(0, 0, 0, 0.16);
}

.fa-decision-icon {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid var(--fa-border-soft);
    color: var(--fa-yellow);
    font-weight: 950;
}

.fa-decision-card h3 {
    margin: 0;
    font-size: 1.1rem;
}

.fa-decision-card p {
    margin: 9px 0 0;
    color: var(--fa-muted);
    line-height: 1.45;
}

.fa-hint-box {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(242, 177, 43, 0.20);
    background: rgba(242, 177, 43, 0.08);
    color: rgba(255, 255, 255, 0.82);
}

.fa-hint-box strong {
    color: var(--fa-yellow);
}

.fa-inventory-title {
    margin: 26px 0 0;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

@media (max-width: 1180px) {
    .fa-hero {
        grid-template-columns: 1fr;
    }

    .fa-hero-visual {
        min-height: 210px;
    }

    .fa-helper-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fa-material-row {
        grid-template-columns: 1fr;
    }

    .fa-decision-grid,
    .fa-decision-grid-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .fa-page {
        padding: 16px;
    }

    .fa-hero,
    .fa-project-helper,
    .fa-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .fa-hero-facts,
    .fa-helper-grid {
        grid-template-columns: 1fr;
    }

    .fa-hero-visual {
        display: none;
    }

    .fa-tabs {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .fa-tab {
        white-space: nowrap;
    }

    .fa-toolbar,
    .fa-section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .fa-decision-grid,
    .fa-decision-grid-four {
        grid-template-columns: 1fr;
    }

    .fa-filament-strip {
        grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    }

    .fa-modal-body {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   V3 Feinschliff: dezenter Toggle, echte Filament-Zählung,
   Hersteller-Fokus und ruhigere Bestandsanzeige
   ========================================================= */

.fa-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: end;
}

.fa-check-row {
    position: relative;
    min-height: 38px;
    padding: 5px 12px 5px 42px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.fa-check-row input {
    position: absolute;
    left: 12px;
    top: 50%;
    width: 22px;
    height: 22px;
    margin: 0;
    transform: translateY(-50%);
    appearance: none;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.28);
}

.fa-check-row input::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: transparent;
    transition: background 0.16s ease;
}

.fa-check-row input:checked {
    border-color: rgba(242, 177, 43, 0.62);
    background: rgba(242, 177, 43, 0.16);
}

.fa-check-row input:checked::after {
    background: var(--fa-yellow);
}

.fa-check-row:hover {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.055);
}

.fa-stat-pill {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.075);
}

.fa-filament-body {
    position: relative;
    min-height: 126px;
    padding: 13px 12px 14px;
}

.fa-card-brand {
    display: block;
    margin-top: 5px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fa-card-meta {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.60);
    font-size: 0.78rem;
}

.fa-card-stock {
    margin-top: 12px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.70rem;
    font-weight: 800;
}

.fa-card-stock.is-empty {
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.42);
    border-color: rgba(255, 255, 255, 0.055);
}

.fa-accessory-card .fa-card-stock {
    display: none;
}

@media (max-width: 760px) {
    .fa-toolbar {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .fa-check-row {
        justify-self: start;
        width: fit-content;
    }
}

/* =========================================================
   V4 Mobile-Kompaktmodus
   Ziel: Auf kleinen Displays weniger Scroll-Höhe für
   Materialberater, Filter und Counter.
   ========================================================= */

@media (max-width: 820px) {
    .fa-page {
        padding: 10px;
    }

    .fa-project-helper {
        margin-top: 0;
        padding: 12px;
        border-radius: 18px;
    }

    .fa-project-helper .fa-section-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }

    .fa-project-helper .fa-section-head h2 {
        font-size: 1.05rem;
        line-height: 1.2;
        letter-spacing: -0.01em;
    }

    .fa-project-helper .fa-section-head p {
        display: none;
    }

    .fa-project-helper .fa-compare-btn {
        min-height: 34px;
        padding: 0 12px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .fa-helper-grid {
        display: flex;
        gap: 9px;
        margin-top: 11px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 2px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .fa-helper-grid::-webkit-scrollbar {
        display: none;
    }

    .fa-use-card {
        flex: 0 0 132px;
        min-height: 86px;
        padding: 10px;
        border-radius: 14px;
        scroll-snap-align: start;
    }

    .fa-use-icon {
        display: inline-block;
        margin: 0 6px 0 0;
        font-size: 1.15rem;
        vertical-align: middle;
    }

    .fa-use-card strong {
        display: inline;
        font-size: 0.84rem;
        line-height: 1.15;
        vertical-align: middle;
    }

    .fa-use-card small {
        display: none;
    }

    .fa-use-card em {
        margin-top: 9px;
        padding: 4px 8px;
        font-size: 0.68rem;
    }

    .fa-tabs {
        gap: 7px;
        margin-top: 10px;
        padding: 7px;
        border-radius: 16px;
    }

    .fa-tab {
        min-height: 36px;
        padding: 0 12px;
        font-size: 0.78rem;
    }

    .fa-panel {
        margin-top: 10px;
        padding: 12px;
        border-radius: 18px;
    }

    .fa-toolbar {
        gap: 9px;
    }

    .fa-search-wrap label {
        margin-bottom: 5px;
        font-size: 0.74rem;
    }

    .fa-search {
        min-height: 40px;
        padding: 0 12px;
        border-radius: 12px;
        font-size: 0.86rem;
    }

    .fa-check-row {
        min-height: 34px;
        padding: 5px 10px 5px 36px;
        font-size: 0.76rem;
    }

    .fa-check-row input {
        left: 10px;
        width: 19px;
        height: 19px;
    }

    .fa-check-row input::after {
        left: 4px;
        top: 4px;
        width: 9px;
        height: 9px;
    }

    .fa-filter-row {
        flex-wrap: nowrap;
        gap: 7px;
        margin-top: 10px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .fa-filter-row::-webkit-scrollbar {
        display: none;
    }

    .fa-filter-btn {
        flex: 0 0 auto;
        min-height: 31px;
        padding: 0 11px;
        font-size: 0.74rem;
    }

    .fa-stock-summary {
        flex-wrap: nowrap;
        gap: 7px;
        margin-top: 10px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .fa-stock-summary::-webkit-scrollbar {
        display: none;
    }

    .fa-stat-pill {
        flex: 0 0 auto;
        padding: 6px 9px;
        border-radius: 999px;
        font-size: 0.72rem;
    }

    .fa-material-list {
        gap: 12px;
        margin-top: 12px;
    }

    .fa-material-row {
        gap: 9px;
    }

    .fa-material-info {
        padding: 12px;
        border-radius: 16px;
    }

    .fa-material-info h3 {
        font-size: 1.05rem;
    }

    .fa-material-info .fa-tagline {
        margin-top: 0;
        margin-left: 7px;
        padding: 4px 7px;
        font-size: 0.66rem;
        vertical-align: middle;
    }

    .fa-material-info p,
    .fa-material-info ul {
        display: none;
    }

    .fa-filament-strip {
        grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
        gap: 9px;
    }

    .fa-filament-body {
        min-height: 96px;
        padding: 10px;
    }

    .fa-card-title {
        font-size: 0.84rem;
    }

    .fa-card-brand {
        margin-top: 4px;
        font-size: 0.75rem;
    }

    .fa-card-meta {
        font-size: 0.70rem;
    }

    .fa-card-stock {
        margin-top: 8px;
        padding: 3px 7px;
        font-size: 0.64rem;
    }
}

@media (max-width: 430px) {
    .fa-project-helper .fa-section-head {
        grid-template-columns: 1fr;
    }

    .fa-project-helper .fa-compare-btn {
        width: fit-content;
    }

    .fa-use-card {
        flex-basis: 118px;
    }

    .fa-filament-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   V5: Material-Helfer nur noch im Filamente-Reiter
   und kompaktere Info-Bereiche auf kleinen Auflösungen.
   ========================================================= */

.fa-inline-helper {
    margin-top: 22px;
    margin-bottom: 0;
}

.fa-inline-helper .fa-section-head h2 {
    font-size: 1.25rem;
}

.fa-inline-helper .fa-section-head p {
    font-size: 0.92rem;
}

/* Der Material-Helfer ist kein Seitenkopf mehr, sondern Zusatzinfo. */
#fa-panel-filaments .fa-inline-helper {
    box-shadow: none;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.045), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.040), rgba(255, 255, 255, 0.018));
}

/* Desktop: etwas flacher als vorher, weil der Bereich jetzt sekundär ist. */
#fa-panel-filaments .fa-inline-helper .fa-use-card {
    min-height: 120px;
}

#fa-panel-filaments .fa-inline-helper .fa-use-icon {
    font-size: 1.55rem;
    margin-bottom: 10px;
}

#fa-panel-filaments .fa-inline-helper .fa-use-card small {
    min-height: 0;
}

@media (max-width: 820px) {

    /* Kein großer Kachelblock am Anfang: erst Inventar, Erklärung unten. */
    .fa-inline-helper {
        margin-top: 14px;
        padding: 10px;
        border-radius: 14px;
    }

    .fa-inline-helper .fa-section-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
    }

    .fa-inline-helper .fa-section-head h2 {
        font-size: 0.90rem;
        line-height: 1.15;
    }

    .fa-inline-helper .fa-section-head p {
        display: none;
    }

    .fa-inline-helper .fa-compare-btn {
        min-height: 30px;
        padding: 0 10px;
        font-size: 0.70rem;
    }

    .fa-inline-helper .fa-helper-grid {
        display: flex;
        gap: 7px;
        margin-top: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 1px;
        scrollbar-width: none;
    }

    .fa-inline-helper .fa-helper-grid::-webkit-scrollbar {
        display: none;
    }

    .fa-inline-helper .fa-use-card {
        flex: 0 0 108px;
        min-height: 62px;
        padding: 8px;
        border-radius: 12px;
    }

    .fa-inline-helper .fa-use-icon {
        display: none;
    }

    .fa-inline-helper .fa-use-card strong {
        display: block;
        font-size: 0.73rem;
        line-height: 1.12;
    }

    .fa-inline-helper .fa-use-card small {
        display: none;
    }

    .fa-inline-helper .fa-use-card em {
        margin-top: 6px;
        padding: 3px 6px;
        font-size: 0.58rem;
    }

    /* Filamentarten-Erklärung in der Liste: sehr flach und nur als Orientierung. */
    .fa-material-info {
        padding: 9px 10px;
        border-radius: 13px;
        background: rgba(255, 255, 255, 0.030);
        border-color: rgba(255, 255, 255, 0.055);
    }

    .fa-material-info h3 {
        display: inline;
        font-size: 0.92rem;
        line-height: 1.2;
    }

    .fa-material-info .fa-tagline {
        margin-top: 0;
        margin-left: 6px;
        padding: 3px 6px;
        font-size: 0.58rem;
    }

    .fa-material-info p,
    .fa-material-info ul {
        display: none;
    }

    /* Plates/Nozzles: Info kleiner und dezenter, Inventar bleibt im Fokus. */
    #fa-panel-plates .fa-compact-head,
    #fa-panel-nozzles .fa-compact-head {
        display: block;
        margin-bottom: 8px;
    }

    #fa-panel-plates .fa-compact-head h2,
    #fa-panel-nozzles .fa-compact-head h2 {
        font-size: 1.05rem;
        line-height: 1.15;
    }

    #fa-panel-plates .fa-compact-head p,
    #fa-panel-nozzles .fa-compact-head p {
        margin-top: 4px;
        font-size: 0.76rem;
        line-height: 1.35;
        color: rgba(255, 255, 255, 0.58);
    }

    #fa-panel-plates .fa-decision-grid,
    #fa-panel-nozzles .fa-decision-grid,
    #fa-panel-nozzles .fa-decision-grid-four {
        display: flex;
        gap: 8px;
        margin-top: 10px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    #fa-panel-plates .fa-decision-grid::-webkit-scrollbar,
    #fa-panel-nozzles .fa-decision-grid::-webkit-scrollbar {
        display: none;
    }

    #fa-panel-plates .fa-decision-card,
    #fa-panel-nozzles .fa-decision-card {
        flex: 0 0 138px;
        min-height: 70px;
        padding: 9px 10px;
        border-radius: 13px;
        background: rgba(255, 255, 255, 0.028);
        border-color: rgba(255, 255, 255, 0.055);
    }

    #fa-panel-plates .fa-decision-icon,
    #fa-panel-nozzles .fa-decision-icon {
        min-width: 28px;
        height: 28px;
        margin-bottom: 6px;
        padding: 0 7px;
        border-radius: 9px;
        font-size: 0.68rem;
    }

    #fa-panel-plates .fa-decision-card h3,
    #fa-panel-nozzles .fa-decision-card h3 {
        font-size: 0.78rem;
        line-height: 1.12;
    }

    #fa-panel-plates .fa-decision-card p,
    #fa-panel-nozzles .fa-decision-card p {
        display: none;
    }

    #fa-panel-plates .fa-hint-box,
    #fa-panel-nozzles .fa-hint-box {
        margin-top: 8px;
        padding: 8px 10px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.028);
        border-color: rgba(255, 255, 255, 0.055);
        color: rgba(255, 255, 255, 0.62);
        font-size: 0.72rem;
        line-height: 1.32;
    }

    #fa-panel-plates .fa-hint-box strong,
    #fa-panel-nozzles .fa-hint-box strong {
        color: rgba(255, 255, 255, 0.82);
    }

    .fa-inventory-title {
        margin-top: 14px;
        font-size: 0.92rem;
    }
}

@media (max-width: 430px) {
    .fa-inline-helper .fa-section-head {
        grid-template-columns: 1fr auto;
    }

    .fa-inline-helper .fa-use-card {
        flex-basis: 98px;
    }

    #fa-panel-plates .fa-decision-card,
    #fa-panel-nozzles .fa-decision-card {
        flex-basis: 126px;
    }
}


/* =========================================================
   V6: Filament-Erklärung direkt oben im Filamente-Reiter.
   Bei kleinen Auflösungen werden Erklärungstexte ausgeblendet.
   ========================================================= */

#fa-panel-filaments>.fa-inline-helper {
    margin-top: 0;
    margin-bottom: 18px;
}

#fa-panel-filaments>.fa-inline-helper+.fa-toolbar {
    margin-top: 0;
}

/* Desktop / große Auflösungen: Erklärung bleibt lesbar, aber sekundär. */
#fa-panel-filaments .fa-inline-helper .fa-helper-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

#fa-panel-filaments .fa-inline-helper .fa-use-card {
    min-height: 116px;
}

/* Kleine Auflösungen: nur Orientierung, keine langen Erklärungen. */
@media (max-width: 820px) {
    #fa-panel-filaments>.fa-inline-helper {
        margin-bottom: 10px;
        padding: 9px;
    }

    #fa-panel-filaments .fa-inline-helper .fa-section-head {
        display: none;
    }

    #fa-panel-filaments .fa-inline-helper .fa-helper-grid {
        margin-top: 0;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-card {
        flex: 0 0 94px;
        min-height: 48px;
        padding: 7px 8px;
        border-radius: 11px;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-card strong {
        font-size: 0.70rem;
        line-height: 1.05;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-card small,
    #fa-panel-filaments .fa-material-info p,
    #fa-panel-filaments .fa-material-info ul,
    #fa-panel-plates .fa-compact-head p,
    #fa-panel-nozzles .fa-compact-head p,
    #fa-panel-plates .fa-decision-card p,
    #fa-panel-nozzles .fa-decision-card p,
    #fa-panel-plates .fa-hint-box,
    #fa-panel-nozzles .fa-hint-box {
        display: none;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-card em {
        margin-top: 5px;
        padding: 2px 6px;
        font-size: 0.56rem;
    }

    #fa-panel-plates .fa-decision-card,
    #fa-panel-nozzles .fa-decision-card {
        min-height: 54px;
    }

    #fa-panel-plates .fa-compact-head,
    #fa-panel-nozzles .fa-compact-head {
        margin-bottom: 6px;
    }

    #fa-panel-plates .fa-decision-grid,
    #fa-panel-nozzles .fa-decision-grid,
    #fa-panel-nozzles .fa-decision-grid-four {
        margin-top: 8px;
    }

    .fa-inventory-title {
        margin-top: 10px;
    }
}

@media (max-width: 430px) {
    #fa-panel-filaments .fa-inline-helper .fa-use-card {
        flex-basis: 88px;
    }
}


/* =========================================================
   V7: Druckplatten-/Nozzle-Erklärungen optisch an Filamente
   angleichen und bei wenig horizontalem Platz zuklappen.
   ========================================================= */

/* Erklärungskacheln der Zubehör-Reiter bekommen die gleiche ruhige
   Kartenoptik wie der Filament-Helfer. */
#fa-panel-plates .fa-tab-explainer-head,
#fa-panel-nozzles .fa-tab-explainer-head {
    padding: 0;
}

#fa-panel-plates .fa-tab-explainer-grid,
#fa-panel-nozzles .fa-tab-explainer-grid {
    gap: 14px;
    margin-top: 18px;
}

#fa-panel-plates .fa-decision-card,
#fa-panel-nozzles .fa-decision-card {
    min-height: 128px;
    padding: 18px 14px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid var(--fa-border-soft);
    box-shadow: none;
}

#fa-panel-plates .fa-decision-icon,
#fa-panel-nozzles .fa-decision-icon {
    display: block;
    width: fit-content;
    min-width: auto;
    height: auto;
    padding: 0;
    margin: 0 0 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--fa-yellow);
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 900;
}

#fa-panel-plates .fa-decision-card h3,
#fa-panel-nozzles .fa-decision-card h3 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.22;
}

#fa-panel-plates .fa-decision-card p,
#fa-panel-nozzles .fa-decision-card p {
    margin-top: 8px;
    color: var(--fa-muted);
    font-size: 0.92rem;
    line-height: 1.38;
}

/* Hint ebenfalls deutlich dezenter, nicht mehr als gelber Block. */
#fa-panel-plates .fa-tab-explainer-hint,
#fa-panel-nozzles .fa-tab-explainer-hint {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid var(--fa-border-soft);
    background: rgba(0, 0, 0, 0.14);
    color: var(--fa-muted);
}

#fa-panel-plates .fa-tab-explainer-hint strong,
#fa-panel-nozzles .fa-tab-explainer-hint strong {
    color: var(--fa-yellow);
}

/* Bei wenig horizontalem Platz: Erklärungen werden zu einer sehr flachen
   Kopfzeile + kleinen Chips. Lange Texte/Hints verschwinden vollständig. */
@media (max-width: 980px) {

    #fa-panel-plates .fa-tab-explainer-head,
    #fa-panel-nozzles .fa-tab-explainer-head {
        margin-bottom: 10px;
    }

    #fa-panel-plates .fa-tab-explainer-head h2,
    #fa-panel-nozzles .fa-tab-explainer-head h2 {
        font-size: 1.10rem;
        line-height: 1.16;
    }

    #fa-panel-plates .fa-tab-explainer-head p,
    #fa-panel-nozzles .fa-tab-explainer-head p,
    #fa-panel-plates .fa-decision-card p,
    #fa-panel-nozzles .fa-decision-card p,
    #fa-panel-plates .fa-tab-explainer-hint,
    #fa-panel-nozzles .fa-tab-explainer-hint {
        display: none;
    }

    #fa-panel-plates .fa-tab-explainer-grid,
    #fa-panel-nozzles .fa-tab-explainer-grid,
    #fa-panel-nozzles .fa-decision-grid-four {
        display: flex;
        gap: 8px;
        margin-top: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    #fa-panel-plates .fa-tab-explainer-grid::-webkit-scrollbar,
    #fa-panel-nozzles .fa-tab-explainer-grid::-webkit-scrollbar {
        display: none;
    }

    #fa-panel-plates .fa-decision-card,
    #fa-panel-nozzles .fa-decision-card {
        display: flex;
        align-items: center;
        gap: 7px;
        flex: 0 0 auto;
        min-height: 42px;
        padding: 8px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.045);
        border-color: rgba(255, 255, 255, 0.07);
    }

    #fa-panel-plates .fa-decision-icon,
    #fa-panel-nozzles .fa-decision-icon {
        margin: 0;
        font-size: 0.90rem;
        line-height: 1;
    }

    #fa-panel-plates .fa-decision-card h3,
    #fa-panel-nozzles .fa-decision-card h3 {
        font-size: 0.78rem;
        line-height: 1.05;
        white-space: nowrap;
    }

    #fa-panel-plates .fa-inventory-title,
    #fa-panel-nozzles .fa-inventory-title {
        margin-top: 12px;
    }
}

/* Sehr kleine Displays: noch flacher. */
@media (max-width: 520px) {

    #fa-panel-plates .fa-tab-explainer-head h2,
    #fa-panel-nozzles .fa-tab-explainer-head h2 {
        font-size: 0.98rem;
    }

    #fa-panel-plates .fa-decision-card,
    #fa-panel-nozzles .fa-decision-card {
        min-height: 36px;
        padding: 7px 9px;
    }

    #fa-panel-plates .fa-decision-icon,
    #fa-panel-nozzles .fa-decision-icon {
        font-size: 0.78rem;
    }

    #fa-panel-plates .fa-decision-card h3,
    #fa-panel-nozzles .fa-decision-card h3 {
        font-size: 0.70rem;
    }
}


/* =========================================================
   V8: Filament-Erklärung bei wenig horizontalem Platz
   wie Druckplatten/Hotends kompakt darstellen.
   ========================================================= */

@media (max-width: 980px) {

    /* Filament-Helfer oben im Filamente-Panel nicht mehr als großer Block. */
    #fa-panel-filaments>.fa-inline-helper {
        margin-bottom: 12px;
        padding: 9px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.030);
        border-color: rgba(255, 255, 255, 0.055);
    }

    #fa-panel-filaments .fa-inline-helper .fa-section-head {
        display: none;
    }

    #fa-panel-filaments .fa-inline-helper .fa-helper-grid {
        display: flex;
        gap: 8px;
        margin-top: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    #fa-panel-filaments .fa-inline-helper .fa-helper-grid::-webkit-scrollbar {
        display: none;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-card {
        display: flex;
        align-items: center;
        gap: 7px;
        flex: 0 0 auto;
        min-height: 42px;
        padding: 8px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.045);
        border-color: rgba(255, 255, 255, 0.07);
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-icon {
        display: inline-block;
        margin: 0;
        font-size: 0.90rem;
        line-height: 1;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-card strong {
        display: block;
        max-width: 105px;
        font-size: 0.78rem;
        line-height: 1.05;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-card small,
    #fa-panel-filaments .fa-inline-helper .fa-use-card em {
        display: none;
    }

    /* Die Material-Info links/oberhalb der Filamentgruppe ebenfalls einklappen. */
    #fa-panel-filaments .fa-material-info {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 42px;
        padding: 8px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.045);
        border-color: rgba(255, 255, 255, 0.07);
    }

    #fa-panel-filaments .fa-material-info h3 {
        display: block;
        margin: 0;
        font-size: 0.82rem;
        line-height: 1.05;
        white-space: nowrap;
    }

    #fa-panel-filaments .fa-material-info .fa-tagline {
        margin: 0;
        padding: 3px 7px;
        font-size: 0.58rem;
        white-space: nowrap;
    }

    #fa-panel-filaments .fa-material-info p,
    #fa-panel-filaments .fa-material-info ul {
        display: none;
    }

    /* Suchbereich bei schmalem Content sauber stapeln. */
    #fa-panel-filaments .fa-toolbar {
        grid-template-columns: 1fr;
        gap: 9px;
        align-items: stretch;
    }

    #fa-panel-filaments .fa-check-row {
        width: fit-content;
        justify-self: start;
    }
}

@media (max-width: 520px) {
    #fa-panel-filaments .fa-inline-helper .fa-use-card {
        min-height: 36px;
        padding: 7px 9px;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-icon {
        font-size: 0.78rem;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-card strong {
        max-width: 84px;
        font-size: 0.70rem;
    }

    #fa-panel-filaments .fa-material-info {
        min-height: 36px;
        padding: 7px 9px;
    }

    #fa-panel-filaments .fa-material-info h3 {
        font-size: 0.76rem;
    }

    #fa-panel-filaments .fa-material-info .fa-tagline {
        padding: 2px 6px;
        font-size: 0.54rem;
    }
}


/* =========================================================
   V9: Kompaktmodus bereits ab 1120px.
   In den Filament-Chips steht die Materialart in Zeile 2.
   ========================================================= */

@media (max-width: 1120px) {

    /* Ab 1120px die gleiche Logik wie bisher ab 980px erzwingen. */
    #fa-panel-filaments>.fa-inline-helper {
        margin-bottom: 12px;
        padding: 9px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.030);
        border-color: rgba(255, 255, 255, 0.055);
    }

    #fa-panel-filaments .fa-inline-helper .fa-section-head {
        display: none;
    }

    #fa-panel-filaments .fa-inline-helper .fa-helper-grid {
        display: flex;
        gap: 8px;
        margin-top: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    #fa-panel-filaments .fa-inline-helper .fa-helper-grid::-webkit-scrollbar {
        display: none;
    }

    /* Chip mit zwei Zeilen:
       Zeile 1 = Zweck
       Zeile 2 = zugehörige Filamentart */
    #fa-panel-filaments .fa-inline-helper .fa-use-card {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "icon title"
            "type type";
        align-items: center;
        column-gap: 7px;
        row-gap: 5px;

        flex: 0 0 auto;
        min-width: 130px;
        min-height: 58px;
        padding: 8px 10px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.045);
        border-color: rgba(255, 255, 255, 0.07);
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-icon {
        display: inline-block;
        grid-area: icon;
        margin: 0;
        font-size: 0.95rem;
        line-height: 1;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-card strong {
        display: block;
        grid-area: title;
        max-width: 96px;
        font-size: 0.76rem;
        line-height: 1.08;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-card small {
        display: none;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-card em {
        display: block;
        grid-area: type;
        width: fit-content;
        margin: 0;
        padding: 3px 7px;
        border-radius: 999px;
        background: rgba(242, 177, 43, 0.13);
        color: var(--fa-yellow);
        font-size: 0.58rem;
        line-height: 1;
        font-style: normal;
        font-weight: 900;
        white-space: nowrap;
    }

    #fa-panel-filaments .fa-material-info {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 42px;
        padding: 8px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.045);
        border-color: rgba(255, 255, 255, 0.07);
    }

    #fa-panel-filaments .fa-material-info h3 {
        display: block;
        margin: 0;
        font-size: 0.82rem;
        line-height: 1.05;
        white-space: nowrap;
    }

    #fa-panel-filaments .fa-material-info .fa-tagline {
        margin: 0;
        padding: 3px 7px;
        font-size: 0.58rem;
        white-space: nowrap;
    }

    #fa-panel-filaments .fa-material-info p,
    #fa-panel-filaments .fa-material-info ul {
        display: none;
    }

    #fa-panel-filaments .fa-toolbar {
        grid-template-columns: 1fr;
        gap: 9px;
        align-items: stretch;
    }

    #fa-panel-filaments .fa-check-row {
        width: fit-content;
        justify-self: start;
    }

    /* Zubehör-Reiter ebenfalls ab 1120px zuklappen. */
    #fa-panel-plates .fa-tab-explainer-head,
    #fa-panel-nozzles .fa-tab-explainer-head {
        margin-bottom: 10px;
    }

    #fa-panel-plates .fa-tab-explainer-head h2,
    #fa-panel-nozzles .fa-tab-explainer-head h2 {
        font-size: 1.10rem;
        line-height: 1.16;
    }

    #fa-panel-plates .fa-tab-explainer-head p,
    #fa-panel-nozzles .fa-tab-explainer-head p,
    #fa-panel-plates .fa-decision-card p,
    #fa-panel-nozzles .fa-decision-card p,
    #fa-panel-plates .fa-tab-explainer-hint,
    #fa-panel-nozzles .fa-tab-explainer-hint {
        display: none;
    }

    #fa-panel-plates .fa-tab-explainer-grid,
    #fa-panel-nozzles .fa-tab-explainer-grid,
    #fa-panel-nozzles .fa-decision-grid-four {
        display: flex;
        gap: 8px;
        margin-top: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    #fa-panel-plates .fa-tab-explainer-grid::-webkit-scrollbar,
    #fa-panel-nozzles .fa-tab-explainer-grid::-webkit-scrollbar {
        display: none;
    }

    #fa-panel-plates .fa-decision-card,
    #fa-panel-nozzles .fa-decision-card {
        display: flex;
        align-items: center;
        gap: 7px;
        flex: 0 0 auto;
        min-height: 42px;
        padding: 8px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.045);
        border-color: rgba(255, 255, 255, 0.07);
    }

    #fa-panel-plates .fa-decision-icon,
    #fa-panel-nozzles .fa-decision-icon {
        margin: 0;
        font-size: 0.90rem;
        line-height: 1;
    }

    #fa-panel-plates .fa-decision-card h3,
    #fa-panel-nozzles .fa-decision-card h3 {
        font-size: 0.78rem;
        line-height: 1.05;
        white-space: nowrap;
    }

    #fa-panel-plates .fa-inventory-title,
    #fa-panel-nozzles .fa-inventory-title {
        margin-top: 12px;
    }
}

@media (max-width: 520px) {
    #fa-panel-filaments .fa-inline-helper .fa-use-card {
        min-width: 112px;
        min-height: 52px;
        padding: 7px 9px;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-icon {
        font-size: 0.78rem;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-card strong {
        max-width: 76px;
        font-size: 0.68rem;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-card em {
        padding: 2px 6px;
        font-size: 0.54rem;
    }
}


/* =========================================================
   V10: Kompakt-Chips und Filter umbrechen statt abschneiden.
   ========================================================= */

@media (max-width: 1120px) {

    /* Material-Erklärchips: umbrechen, nicht horizontal abschneiden. */
    #fa-panel-filaments .fa-inline-helper .fa-helper-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-card {
        flex: 1 1 150px;
        min-width: 0;
        max-width: none;
    }

    #fa-panel-filaments .fa-inline-helper .fa-use-card strong {
        max-width: none;
    }

    /* Filterchips: umbrechen, bevor sie abgeschnitten werden. */
    #fa-panel-filaments .fa-filter-row {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    #fa-panel-filaments .fa-filter-btn {
        flex: 0 0 auto;
    }

    /* Counter ebenfalls umbrechen. */
    #fa-panel-filaments .fa-stock-summary {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    #fa-panel-filaments .fa-stat-pill {
        flex: 0 0 auto;
    }

    /* Druckplatten/Hotends-Erklärchips auch umbrechen statt horizontal scrollen. */
    #fa-panel-plates .fa-tab-explainer-grid,
    #fa-panel-nozzles .fa-tab-explainer-grid,
    #fa-panel-nozzles .fa-decision-grid-four {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        overflow: visible;
        padding-bottom: 0;
    }

    #fa-panel-plates .fa-decision-card,
    #fa-panel-nozzles .fa-decision-card {
        flex: 1 1 150px;
        min-width: 0;
    }
}

@media (max-width: 620px) {
    #fa-panel-filaments .fa-inline-helper .fa-use-card {
        flex-basis: calc(50% - 4px);
    }

    #fa-panel-plates .fa-decision-card,
    #fa-panel-nozzles .fa-decision-card {
        flex-basis: calc(50% - 4px);
    }
}

@media (max-width: 380px) {
    #fa-panel-filaments .fa-inline-helper .fa-use-card {
        flex-basis: 100%;
    }

    #fa-panel-plates .fa-decision-card,
    #fa-panel-nozzles .fa-decision-card {
        flex-basis: 100%;
    }
}


/* =========================================================
   V11: Counter + Verfügbarkeitsfilter über der Suche,
   klassischer Checkbox-Look und sauberere Zubehör-Unterinfos.
   ========================================================= */

#fa-panel-filaments .fa-stock-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

#fa-panel-filaments .fa-stock-control-row .fa-stock-summary {
    margin-top: 0;
}

#fa-panel-filaments .fa-toolbar {
    margin-top: 0;
}

.fa-stock-classic-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 7px 13px;
    border-radius: 12px;
    white-space: nowrap;
}

.fa-stock-classic-check input {
    position: static;
    width: 18px;
    height: 18px;
    margin: 0;
    transform: none;
    appearance: none;
    border-radius: 5px;
    border: 1px solid rgba(242, 177, 43, 0.55);
    background: rgba(0, 0, 0, 0.25);
    display: inline-grid;
    place-items: center;
}

.fa-stock-classic-check input::after {
    position: static;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    content: '';
    color: #151515;
    font-size: 0.76rem;
    font-weight: 950;
    line-height: 1;
}

.fa-stock-classic-check input:checked {
    background: var(--fa-yellow);
    border-color: var(--fa-yellow);
}

.fa-stock-classic-check input:checked::after {
    content: '✓';
    background: transparent;
}

.fa-stock-classic-check span {
    font-weight: 850;
}

/* Zubehör-Unterinfo: leere oder fehlende Zusatzinfos nicht als "-" wirken lassen. */
.fa-accessory-card p:empty {
    display: none;
}

@media (max-width: 1120px) {
    #fa-panel-filaments .fa-stock-control-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    #fa-panel-filaments .fa-stock-control-row .fa-stock-summary {
        order: 1;
    }

    #fa-panel-filaments .fa-stock-control-row .fa-stock-classic-check {
        order: 2;
    }

    #fa-panel-filaments .fa-stock-classic-check {
        min-height: 34px;
        padding: 6px 11px;
        border-radius: 11px;
        font-size: 0.78rem;
    }

    #fa-panel-filaments .fa-stock-classic-check input {
        width: 17px;
        height: 17px;
    }
}

@media (max-width: 620px) {
    #fa-panel-filaments .fa-stock-control-row {
        margin-bottom: 12px;
    }

    #fa-panel-filaments .fa-stock-classic-check {
        width: fit-content;
        max-width: 100%;
    }
}


/* =========================================================
   V12: isolierter Checkbox-Button und Vollbild-Bildansicht.
   ========================================================= */

/* Stark isolierter Verfügbarkeitsfilter, damit andere CSS-Dateien
   nicht über input/button/select-Regeln hineingrätschen. */
.fa-page #fa-panel-filaments .fa-stock-classic-check {
    all: unset;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 7px 13px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
    color: var(--fa-text);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.fa-page #fa-panel-filaments .fa-stock-classic-check *,
.fa-page #fa-panel-filaments .fa-stock-classic-check *::before,
.fa-page #fa-panel-filaments .fa-stock-classic-check *::after {
    box-sizing: border-box;
}

.fa-page #fa-panel-filaments .fa-stock-classic-check input#fa-only-stock {
    all: unset;
    box-sizing: border-box;
    display: inline-grid;
    place-items: center;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    border-radius: 5px;
    border: 1px solid rgba(242, 177, 43, 0.70);
    background: rgba(0, 0, 0, 0.35);
    color: #111111;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.fa-page #fa-panel-filaments .fa-stock-classic-check input#fa-only-stock::before,
.fa-page #fa-panel-filaments .fa-stock-classic-check input#fa-only-stock::after {
    all: unset;
    box-sizing: border-box;
}

.fa-page #fa-panel-filaments .fa-stock-classic-check input#fa-only-stock:checked {
    background: var(--fa-yellow);
    border-color: var(--fa-yellow);
}

.fa-page #fa-panel-filaments .fa-stock-classic-check input#fa-only-stock:checked::after {
    content: '✓';
    display: block;
    color: #111111;
    font-size: 0.78rem;
    font-weight: 950;
    line-height: 18px;
    text-align: center;
}

.fa-page #fa-panel-filaments .fa-stock-classic-check span {
    display: inline-block;
    color: var(--fa-text);
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.1;
}

/* Alte Dialog-Modal-Styles neutralisieren, falls andere CSS-Dateien
   .fa-modal oder dialog global beeinflussen. */
.fa-page .fa-image-viewer[hidden] {
    display: none !important;
}

.fa-page .fa-image-viewer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(14px);
}

html.fa-viewer-open,
html.fa-viewer-open body {
    overflow: hidden !important;
}

.fa-page .fa-image-viewer-frame {
    width: min(1200px, calc(100vw - 44px));
    max-height: calc(100dvh - 72px);
    margin: 0;
    display: grid;
    gap: 14px;
    justify-items: center;
}

.fa-page .fa-image-viewer-frame img {
    display: block;
    max-width: 100%;
    max-height: calc(100dvh - 150px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.fa-page .fa-image-viewer-frame figcaption {
    max-width: min(900px, 100%);
    text-align: center;
    color: rgba(255, 255, 255, 0.82);
    font-family: inherit;
}

.fa-page .fa-image-viewer-frame figcaption strong,
.fa-page .fa-image-viewer-frame figcaption span {
    display: block;
}

.fa-page .fa-image-viewer-frame figcaption strong {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 900;
}

.fa-page .fa-image-viewer-frame figcaption span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.90rem;
}

.fa-page .fa-image-viewer-close {
    all: unset;
    box-sizing: border-box;
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1000000;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    font-family: inherit;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.fa-page .fa-image-viewer-close:hover {
    background: rgba(242, 177, 43, 0.20);
    border-color: rgba(242, 177, 43, 0.55);
}

@media (max-width: 620px) {
    .fa-page .fa-image-viewer {
        padding: 14px;
    }

    .fa-page .fa-image-viewer-frame {
        width: calc(100vw - 22px);
        max-height: calc(100dvh - 52px);
    }

    .fa-page .fa-image-viewer-frame img {
        max-height: calc(100dvh - 124px);
        border-radius: 14px;
    }

    .fa-page .fa-image-viewer-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}


/* =========================================================
   V13: Lightmode-Fix
   Ziel: ausreichend Kontrast, keine ausgewaschenen Karten,
   lesbare Texte und Eingaben im hellen Theme.
   Unterstützt mehrere mögliche Theme-Klassen aus der App.
   ========================================================= */

html.light .fa-page,
html.light-mode .fa-page,
html[data-theme="light"] .fa-page,
body.light .fa-page,
body.light-mode .fa-page,
body[data-theme="light"] .fa-page,
:root.light .fa-page,
:root.light-mode .fa-page,
:root[data-theme="light"] .fa-page {
    --fa-bg: #f2f2f2;
    --fa-card: rgba(255, 255, 255, 0.88);
    --fa-card-strong: rgba(255, 255, 255, 0.96);
    --fa-border: rgba(20, 20, 20, 0.16);
    --fa-border-soft: rgba(20, 20, 20, 0.11);
    --fa-text: #191919;
    --fa-muted: rgba(25, 25, 25, 0.70);
    --fa-faint: rgba(25, 25, 25, 0.50);
    color: var(--fa-text);
}

html.light .fa-hero,
html.light .fa-project-helper,
html.light .fa-tabs,
html.light .fa-panel,
html.light .fa-bottom-note,
html.light .fa-modal,
html.light-mode .fa-hero,
html.light-mode .fa-project-helper,
html.light-mode .fa-tabs,
html.light-mode .fa-panel,
html.light-mode .fa-bottom-note,
html.light-mode .fa-modal,
html[data-theme="light"] .fa-hero,
html[data-theme="light"] .fa-project-helper,
html[data-theme="light"] .fa-tabs,
html[data-theme="light"] .fa-panel,
html[data-theme="light"] .fa-bottom-note,
html[data-theme="light"] .fa-modal,
body.light .fa-hero,
body.light .fa-project-helper,
body.light .fa-tabs,
body.light .fa-panel,
body.light .fa-bottom-note,
body.light .fa-modal,
body.light-mode .fa-hero,
body.light-mode .fa-project-helper,
body.light-mode .fa-tabs,
body.light-mode .fa-panel,
body.light-mode .fa-bottom-note,
body.light-mode .fa-modal,
body[data-theme="light"] .fa-hero,
body[data-theme="light"] .fa-project-helper,
body[data-theme="light"] .fa-tabs,
body[data-theme="light"] .fa-panel,
body[data-theme="light"] .fa-bottom-note,
body[data-theme="light"] .fa-modal {
    background:
        radial-gradient(circle at top left, rgba(0, 0, 0, 0.045), transparent 36%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 245, 245, 0.88));
    border-color: rgba(20, 20, 20, 0.16);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
    color: #191919;
}

/* Karten, Chips und Listenflächen */
html.light .fa-use-card,
html.light .fa-material-info,
html.light .fa-filament-card,
html.light .fa-accessory-card,
html.light .fa-stat-pill,
html.light .fa-decision-card,
html.light-mode .fa-use-card,
html.light-mode .fa-material-info,
html.light-mode .fa-filament-card,
html.light-mode .fa-accessory-card,
html.light-mode .fa-stat-pill,
html.light-mode .fa-decision-card,
html[data-theme="light"] .fa-use-card,
html[data-theme="light"] .fa-material-info,
html[data-theme="light"] .fa-filament-card,
html[data-theme="light"] .fa-accessory-card,
html[data-theme="light"] .fa-stat-pill,
html[data-theme="light"] .fa-decision-card,
body.light .fa-use-card,
body.light .fa-material-info,
body.light .fa-filament-card,
body.light .fa-accessory-card,
body.light .fa-stat-pill,
body.light .fa-decision-card,
body.light-mode .fa-use-card,
body.light-mode .fa-material-info,
body.light-mode .fa-filament-card,
body.light-mode .fa-accessory-card,
body.light-mode .fa-stat-pill,
body.light-mode .fa-decision-card,
body[data-theme="light"] .fa-use-card,
body[data-theme="light"] .fa-material-info,
body[data-theme="light"] .fa-filament-card,
body[data-theme="light"] .fa-accessory-card,
body[data-theme="light"] .fa-stat-pill,
body[data-theme="light"] .fa-decision-card {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(20, 20, 20, 0.13);
    color: #1b1b1b;
}

/* Texte */
html.light .fa-page h1,
html.light .fa-page h2,
html.light .fa-page h3,
html.light .fa-card-title,
html.light .fa-card-brand,
html.light-mode .fa-page h1,
html.light-mode .fa-page h2,
html.light-mode .fa-page h3,
html.light-mode .fa-card-title,
html.light-mode .fa-card-brand,
html[data-theme="light"] .fa-page h1,
html[data-theme="light"] .fa-page h2,
html[data-theme="light"] .fa-page h3,
html[data-theme="light"] .fa-card-title,
html[data-theme="light"] .fa-card-brand,
body.light .fa-page h1,
body.light .fa-page h2,
body.light .fa-page h3,
body.light .fa-card-title,
body.light .fa-card-brand,
body.light-mode .fa-page h1,
body.light-mode .fa-page h2,
body.light-mode .fa-page h3,
body.light-mode .fa-card-title,
body.light-mode .fa-card-brand,
body[data-theme="light"] .fa-page h1,
body[data-theme="light"] .fa-page h2,
body[data-theme="light"] .fa-page h3,
body[data-theme="light"] .fa-card-title,
body[data-theme="light"] .fa-card-brand {
    color: #151515;
}

html.light .fa-page p,
html.light .fa-page small,
html.light .fa-card-meta,
html.light .fa-accessory-card p,
html.light .fa-decision-card p,
html.light-mode .fa-page p,
html.light-mode .fa-page small,
html.light-mode .fa-card-meta,
html.light-mode .fa-accessory-card p,
html.light-mode .fa-decision-card p,
html[data-theme="light"] .fa-page p,
html[data-theme="light"] .fa-page small,
html[data-theme="light"] .fa-card-meta,
html[data-theme="light"] .fa-accessory-card p,
html[data-theme="light"] .fa-decision-card p,
body.light .fa-page p,
body.light .fa-page small,
body.light .fa-card-meta,
body.light .fa-accessory-card p,
body.light .fa-decision-card p,
body.light-mode .fa-page p,
body.light-mode .fa-page small,
body.light-mode .fa-card-meta,
body.light-mode .fa-accessory-card p,
body.light-mode .fa-decision-card p,
body[data-theme="light"] .fa-page p,
body[data-theme="light"] .fa-page small,
body[data-theme="light"] .fa-card-meta,
body[data-theme="light"] .fa-accessory-card p,
body[data-theme="light"] .fa-decision-card p {
    color: rgba(20, 20, 20, 0.68);
}

/* Eingaben */
html.light .fa-search,
html.light-mode .fa-search,
html[data-theme="light"] .fa-search,
body.light .fa-search,
body.light-mode .fa-search,
body[data-theme="light"] .fa-search {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(20, 20, 20, 0.18);
    color: #171717;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

html.light .fa-search::placeholder,
html.light-mode .fa-search::placeholder,
html[data-theme="light"] .fa-search::placeholder,
body.light .fa-search::placeholder,
body.light-mode .fa-search::placeholder,
body[data-theme="light"] .fa-search::placeholder {
    color: rgba(20, 20, 20, 0.48);
}

html.light .fa-search-wrap label,
html.light-mode .fa-search-wrap label,
html[data-theme="light"] .fa-search-wrap label,
body.light .fa-search-wrap label,
body.light-mode .fa-search-wrap label,
body[data-theme="light"] .fa-search-wrap label {
    color: rgba(20, 20, 20, 0.70);
}

/* Tabs und Buttons */
html.light .fa-tab,
html.light .fa-filter-btn,
html.light .fa-compare-btn,
html.light .fa-action-btn,
html.light-mode .fa-tab,
html.light-mode .fa-filter-btn,
html.light-mode .fa-compare-btn,
html.light-mode .fa-action-btn,
html[data-theme="light"] .fa-tab,
html[data-theme="light"] .fa-filter-btn,
html[data-theme="light"] .fa-compare-btn,
html[data-theme="light"] .fa-action-btn,
body.light .fa-tab,
body.light .fa-filter-btn,
body.light .fa-compare-btn,
body.light .fa-action-btn,
body.light-mode .fa-tab,
body.light-mode .fa-filter-btn,
body.light-mode .fa-compare-btn,
body.light-mode .fa-action-btn,
body[data-theme="light"] .fa-tab,
body[data-theme="light"] .fa-filter-btn,
body[data-theme="light"] .fa-compare-btn,
body[data-theme="light"] .fa-action-btn {
    background: rgba(0, 0, 0, 0.055);
    border-color: rgba(20, 20, 20, 0.10);
    color: #202020;
}

html.light .fa-tab.is-active,
html.light .fa-filter-btn.is-active,
html.light-mode .fa-tab.is-active,
html.light-mode .fa-filter-btn.is-active,
html[data-theme="light"] .fa-tab.is-active,
html[data-theme="light"] .fa-filter-btn.is-active,
body.light .fa-tab.is-active,
body.light .fa-filter-btn.is-active,
body.light-mode .fa-tab.is-active,
body.light-mode .fa-filter-btn.is-active,
body[data-theme="light"] .fa-tab.is-active,
body[data-theme="light"] .fa-filter-btn.is-active {
    background: var(--fa-yellow);
    color: #111111;
    border-color: transparent;
}

/* Bestandsbadge: im Lightmode nicht weiß auf hell */
html.light .fa-card-stock,
html.light-mode .fa-card-stock,
html[data-theme="light"] .fa-card-stock,
body.light .fa-card-stock,
body.light-mode .fa-card-stock,
body[data-theme="light"] .fa-card-stock {
    background: rgba(28, 125, 67, 0.11);
    border-color: rgba(28, 125, 67, 0.18);
    color: #1d7f45;
}

html.light .fa-card-stock.is-empty,
html.light-mode .fa-card-stock.is-empty,
html[data-theme="light"] .fa-card-stock.is-empty,
body.light .fa-card-stock.is-empty,
body.light-mode .fa-card-stock.is-empty,
body[data-theme="light"] .fa-card-stock.is-empty {
    background: rgba(180, 70, 70, 0.10);
    color: #9f3d3d;
    border-color: rgba(180, 70, 70, 0.15);
}

/* Verfügbarkeitsbutton */
html.light .fa-page #fa-panel-filaments .fa-stock-classic-check,
html.light-mode .fa-page #fa-panel-filaments .fa-stock-classic-check,
html[data-theme="light"] .fa-page #fa-panel-filaments .fa-stock-classic-check,
body.light .fa-page #fa-panel-filaments .fa-stock-classic-check,
body.light-mode .fa-page #fa-panel-filaments .fa-stock-classic-check,
body[data-theme="light"] .fa-page #fa-panel-filaments .fa-stock-classic-check {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(20, 20, 20, 0.14);
    color: #202020;
}

html.light .fa-page #fa-panel-filaments .fa-stock-classic-check span,
html.light-mode .fa-page #fa-panel-filaments .fa-stock-classic-check span,
html[data-theme="light"] .fa-page #fa-panel-filaments .fa-stock-classic-check span,
body.light .fa-page #fa-panel-filaments .fa-stock-classic-check span,
body.light-mode .fa-page #fa-panel-filaments .fa-stock-classic-check span,
body[data-theme="light"] .fa-page #fa-panel-filaments .fa-stock-classic-check span {
    color: #202020;
}

/* Bildflächen im Lightmode sauber abgrenzen */
html.light .fa-filament-img,
html.light .fa-accessory-img,
html.light-mode .fa-filament-img,
html.light-mode .fa-accessory-img,
html[data-theme="light"] .fa-filament-img,
html[data-theme="light"] .fa-accessory-img,
body.light .fa-filament-img,
body.light .fa-accessory-img,
body.light-mode .fa-filament-img,
body.light-mode .fa-accessory-img,
body[data-theme="light"] .fa-filament-img,
body[data-theme="light"] .fa-accessory-img {
    background: #ffffff;
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

/* Kompaktchips im Lightmode */
@media (max-width: 1120px) {

    html.light #fa-panel-filaments .fa-inline-helper .fa-use-card,
    html.light #fa-panel-filaments .fa-material-info,
    html.light #fa-panel-plates .fa-decision-card,
    html.light #fa-panel-nozzles .fa-decision-card,
    html.light-mode #fa-panel-filaments .fa-inline-helper .fa-use-card,
    html.light-mode #fa-panel-filaments .fa-material-info,
    html.light-mode #fa-panel-plates .fa-decision-card,
    html.light-mode #fa-panel-nozzles .fa-decision-card,
    html[data-theme="light"] #fa-panel-filaments .fa-inline-helper .fa-use-card,
    html[data-theme="light"] #fa-panel-filaments .fa-material-info,
    html[data-theme="light"] #fa-panel-plates .fa-decision-card,
    html[data-theme="light"] #fa-panel-nozzles .fa-decision-card,
    body.light #fa-panel-filaments .fa-inline-helper .fa-use-card,
    body.light #fa-panel-filaments .fa-material-info,
    body.light #fa-panel-plates .fa-decision-card,
    body.light #fa-panel-nozzles .fa-decision-card,
    body.light-mode #fa-panel-filaments .fa-inline-helper .fa-use-card,
    body.light-mode #fa-panel-filaments .fa-material-info,
    body.light-mode #fa-panel-plates .fa-decision-card,
    body.light-mode #fa-panel-nozzles .fa-decision-card,
    body[data-theme="light"] #fa-panel-filaments .fa-inline-helper .fa-use-card,
    body[data-theme="light"] #fa-panel-filaments .fa-material-info,
    body[data-theme="light"] #fa-panel-plates .fa-decision-card,
    body[data-theme="light"] #fa-panel-nozzles .fa-decision-card {
        background: rgba(255, 255, 255, 0.84);
        border-color: rgba(20, 20, 20, 0.12);
        color: #171717;
    }
}