/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Die App-Shell (Topbar, Content-Spalte, Navigation, Theme-Toggle) wird global in
   wwwroot/portal-theme.css gestylt (.p-appbar / .p-main / .p-content / .p-nav / .p-themetoggle),
   damit die Tokens auch außerhalb des Scopes greifen. Hier nur das Fehler-Overlay. */

#blazor-error-ui[b-v4izfd7whb] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-v4izfd7whb] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Die horizontale Navigation wird global in wwwroot/portal-theme.css gestylt
   (.p-nav / .p-nav__list / .p-nav__link / .p-nav__toggle), damit die Design-Tokens
   und der Mobile-Breakpoint konsistent mit der App-Shell greifen. */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-7hercjkid7],
.components-reconnect-repeated-attempt-visible[b-7hercjkid7],
.components-reconnect-failed-visible[b-7hercjkid7],
.components-pause-visible[b-7hercjkid7],
.components-resume-failed-visible[b-7hercjkid7],
.components-rejoining-animation[b-7hercjkid7] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-7hercjkid7],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-7hercjkid7],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-7hercjkid7],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-7hercjkid7],
#components-reconnect-modal.components-reconnect-retrying[b-7hercjkid7],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-7hercjkid7],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-7hercjkid7],
#components-reconnect-modal.components-reconnect-failed[b-7hercjkid7],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-7hercjkid7] {
    display: block;
}


#components-reconnect-modal[b-7hercjkid7] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-7hercjkid7 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-7hercjkid7 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-7hercjkid7 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-7hercjkid7]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-7hercjkid7 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-7hercjkid7 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-7hercjkid7 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-7hercjkid7 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-7hercjkid7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-7hercjkid7] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-7hercjkid7] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-7hercjkid7] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-7hercjkid7] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-7hercjkid7] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-7hercjkid7] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-7hercjkid7 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-7hercjkid7] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-7hercjkid7 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/ShowroomEditor.razor.rz.scp.css */
/* Showroom-Editor: links die Einrichtungs-Checkliste (Rail), rechts der Arbeitsbereich mit drei Bereichen. */
.showroom-editor[b-f5ckgss4cm] { display: flex; flex-direction: column; gap: .75rem; min-width: 0; }
.showroom-editor-heading h1[b-f5ckgss4cm] { font-size: 1.4rem; margin: 0; }
.showroom-overview[b-f5ckgss4cm] { margin-right: auto; font-size: .85rem; }
.showroom-editor[b-f5ckgss4cm]  .alert { font-size: .9rem; overflow-wrap: anywhere; margin-bottom: 0; }

.showroom-layout[b-f5ckgss4cm] { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 1rem; align-items: start; }
.showroom-rail[b-f5ckgss4cm] { position: sticky; top: .75rem; display: flex; flex-direction: column; gap: .5rem; max-height: calc(100dvh - var(--p-header-h, 3rem) - 1.5rem); overflow: auto; scrollbar-width: thin; }
.showroom-main[b-f5ckgss4cm] { min-width: 0; display: flex; flex-direction: column; gap: .75rem; }

/* Checkliste */
.showroom-assistant .card-body[b-f5ckgss4cm] { padding: .85rem .9rem; }
.showroom-assistant h2[b-f5ckgss4cm] { font-size: 1rem; margin: 0 0 .5rem; }
.showroom-help summary[b-f5ckgss4cm] { color: var(--p-text-muted); cursor: pointer; font-size: .8rem; }
.showroom-help[open][b-f5ckgss4cm] { padding: .5rem .65rem; background: var(--p-surface); border: 1px solid var(--p-border); border-radius: .4rem; }
.showroom-help p[b-f5ckgss4cm] { font-size: .85rem; line-height: 1.45; margin: .35rem 0 0; }
.showroom-steps[b-f5ckgss4cm] { display: flex; flex-direction: column; margin-top: .5rem !important; position: relative; }
.showroom-steps li[b-f5ckgss4cm] { position: relative; padding: .4rem .5rem .4rem .35rem; border-radius: .5rem; font-size: .85rem; }
.showroom-steps li:not(:last-child)[b-f5ckgss4cm]::before { content: ""; position: absolute; left: 1.2rem; top: 2rem; bottom: -.35rem; width: 2px; background: var(--p-border); }
.showroom-steps li > span[b-f5ckgss4cm] { flex: 0 0 1.7rem; width: 1.7rem !important; height: 1.7rem; line-height: 1.5rem; border-radius: 50%; border: 2px solid var(--p-border); background: var(--p-surface); font-size: .85rem !important; z-index: 1; }
.showroom-steps li[data-step-status="Done"] > span[b-f5ckgss4cm] { background: var(--bs-success, #198754); border-color: var(--bs-success, #198754); color: #fff; }
.showroom-steps li[data-step-status="Next"][b-f5ckgss4cm] { background: color-mix(in srgb, var(--p-accent, #0d6efd) 9%, transparent); outline: 1px solid color-mix(in srgb, var(--p-accent, #0d6efd) 45%, transparent); }
.showroom-steps li[data-step-status="Next"] > span[b-f5ckgss4cm] { border-color: var(--p-accent, #0d6efd); background: var(--p-accent, #0d6efd); color: #fff; }
.showroom-steps li[data-step-status="Todo"] strong[b-f5ckgss4cm] { color: var(--p-text-muted); font-weight: 600; }
.showroom-steps li > div[b-f5ckgss4cm] { min-width: 0; flex: 1; }
.showroom-steps strong[b-f5ckgss4cm] { font-size: .9rem; }
.showroom-step-text[b-f5ckgss4cm] { margin-top: .15rem; font-size: .8rem !important; line-height: 1.4; }
/* Nur der nächste Schritt zeigt seinen ganzen Text; Erledigtes kurz, Späteres erst bei Fokus/Hover (Text steht auch im Tooltip). */
.showroom-steps li[data-step-status="Todo"] .showroom-step-text[b-f5ckgss4cm], .showroom-steps li[data-step-status="Optional"] .showroom-step-text[b-f5ckgss4cm] { display: none; }
.showroom-steps li[data-step-status="Done"] .showroom-step-text[b-f5ckgss4cm] { color: var(--p-text-muted); }
.showroom-steps li[data-step-status="Todo"]:hover .showroom-step-text[b-f5ckgss4cm], .showroom-steps li[data-step-status="Optional"]:hover .showroom-step-text[b-f5ckgss4cm],
.showroom-steps li:focus-within .showroom-step-text[b-f5ckgss4cm] { display: block; }
.showroom-steps li .btn[b-f5ckgss4cm] { margin-top: .4rem; }
.showroom-state[b-f5ckgss4cm] { margin: 0; font-size: .8rem; color: var(--p-text-muted); padding: 0 .25rem; }

/* Bereichswahl */
.showroom-modes[b-f5ckgss4cm] { display: flex; gap: .4rem; flex-wrap: wrap; border-bottom: 1px solid var(--p-border); }
.showroom-mode[b-f5ckgss4cm] { display: flex; flex-direction: column; align-items: flex-start; gap: .05rem; padding: .55rem 1rem; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--p-text); text-align: left; cursor: pointer; border-radius: .4rem .4rem 0 0; }
.showroom-mode:hover[b-f5ckgss4cm] { background: var(--p-surface); }
.showroom-mode-title[b-f5ckgss4cm] { font-weight: 600; font-size: .95rem; }
.showroom-mode-hint[b-f5ckgss4cm] { font-size: .75rem; color: var(--p-text-muted); }
.showroom-mode[aria-pressed="true"][b-f5ckgss4cm] { border-bottom-color: var(--p-accent, #0d6efd); }
.showroom-mode[aria-pressed="true"] .showroom-mode-title[b-f5ckgss4cm] { color: var(--p-accent, #0d6efd); }
.showroom-editor[data-mode="views"] .showroom-panel:not([data-mode="views"])[b-f5ckgss4cm],
.showroom-editor[data-mode="tools"] .showroom-panel:not([data-mode="tools"])[b-f5ckgss4cm],
.showroom-editor[data-mode="profile"] .showroom-panel:not([data-mode="profile"])[b-f5ckgss4cm] { display: none; }

/* Arbeitsbereich */
.showroom-workspace[b-f5ckgss4cm] { display: block; min-width: 0; }
.showroom-panel[b-f5ckgss4cm] { min-width: 0; border: 1px solid var(--p-border); border-radius: .6rem; padding: 1rem 1.1rem; background: var(--p-surface); font-size: .9rem; }
.showroom-editor[b-f5ckgss4cm]  h2 { font-size: 1.1rem; margin: 1.1rem 0 .5rem; }
.showroom-editor[b-f5ckgss4cm]  h3 { font-size: .95rem; }
.showroom-editor[b-f5ckgss4cm]  h4 { font-size: .9rem; margin-top: .75rem; }
.showroom-editor[b-f5ckgss4cm]  .form-label, .showroom-editor[b-f5ckgss4cm]  label { font-size: .85rem; }
.showroom-editor[b-f5ckgss4cm]  .form-control, .showroom-editor[b-f5ckgss4cm]  .form-select { font-size: .9rem; }
.showroom-editor[b-f5ckgss4cm]  .form-text { font-size: .75rem; }
.showroom-editor[b-f5ckgss4cm]  .row { --bs-gutter-y: .6rem; }

/* Aktionen (Hochladen, KI erzeugen, Kameravorschlag): wie alle übrigen Aufklappbereiche, Überschrift mit Dreieck, Inhalt darunter. */
.showroom-action[b-f5ckgss4cm] { display: block; margin: .25rem 0; }
.showroom-action > summary[b-f5ckgss4cm] { cursor: pointer; color: inherit; }
.showroom-action[open][b-f5ckgss4cm] { margin-bottom: .6rem; }
.showroom-action[open] > summary[b-f5ckgss4cm] { margin-bottom: .4rem; }
.showroom-action[b-f5ckgss4cm]  label { display: block; }

/* Perspektiven als Karten */
.showroom-views .nav-tabs[b-f5ckgss4cm] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; border: 0; margin: .5rem 0 .75rem !important; flex-wrap: nowrap; }
.showroom-views .nav-tabs .nav-item[b-f5ckgss4cm] { min-width: 0; }
.showroom-views .nav-link[b-f5ckgss4cm] { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .4rem .6rem; font-size: .9rem; border: 1px solid var(--p-border) !important; border-radius: .5rem !important; white-space: nowrap; }
.showroom-views .nav-link.active[b-f5ckgss4cm] { border-color: var(--p-accent, #0d6efd) !important; box-shadow: 0 0 0 2px color-mix(in srgb, var(--p-accent, #0d6efd) 30%, transparent); }
.showroom-tab-thumb[b-f5ckgss4cm] { width: 2.6rem; height: 1.8rem; object-fit: cover; border-radius: .25rem; flex: none; }
.showroom-tab-label[b-f5ckgss4cm] { overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.showroom-views .tab-content[b-f5ckgss4cm] { border: 0 !important; padding: 0 !important; margin: 0 !important; }
.showroom-view-form > label[b-f5ckgss4cm] { display: block; margin-bottom: .6rem; }

/* Kalibrierbild groß, Regler darunter (ab sehr breiten Schirmen daneben) */
.showroom-calibration[b-f5ckgss4cm] { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem 1rem; margin: .5rem 0; }
.showroom-calibration [data-calibration-stage][b-f5ckgss4cm] { width: min(100%, calc(72dvh * var(--showroom-aspect, 1.3333))); margin-inline: auto; border-radius: .4rem; overflow: hidden; }
.showroom-calibration [data-calibration-slider-panel][b-f5ckgss4cm] { display: grid; grid-template-columns: 1fr; gap: .35rem; padding: .75rem; border: 1px solid var(--p-border); border-radius: .5rem; align-content: start; }
.showroom-calibration [data-calibration-slider-panel][hidden][b-f5ckgss4cm] { display: none; }
.showroom-calibration [data-segment-list][b-f5ckgss4cm] { max-height: 12rem; overflow: auto; }
.showroom-editor[b-f5ckgss4cm]  .form-range { margin: 0; }
.showroom-measurements[b-f5ckgss4cm] { margin: .25rem 0; font-size: .85rem; }
.showroom-measurements > summary[b-f5ckgss4cm] { color: var(--p-accent, #0d6efd); cursor: pointer; }

/* Speichern-Leiste bleibt beim Scrollen am unteren Rand sichtbar */
.showroom-savebar[b-f5ckgss4cm] { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-top: .75rem; padding: .6rem .85rem; background: var(--p-surface); border: 1px solid var(--p-border); border-radius: .5rem; box-shadow: 0 -4px 12px rgba(0, 0, 0, .08); }
.showroom-savebar .form-check[b-f5ckgss4cm] { margin: 0 !important; }
.showroom-savebar .form-text[b-f5ckgss4cm] { display: none; }
.showroom-view-form > details[b-f5ckgss4cm] { margin: .5rem 0; font-size: .85rem; }
.showroom-view-form > details > summary[b-f5ckgss4cm] { cursor: pointer; color: var(--p-text-muted); }

/* Analyse und Probelauf: zwei Spalten */
.showroom-tools[b-f5ckgss4cm] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 2rem; align-items: start; }
.showroom-tools-col[b-f5ckgss4cm] { min-width: 0; }
.showroom-tools[b-f5ckgss4cm]  [data-view-state] { margin: .3rem 0; font-size: .85rem; }
.showroom-tools[b-f5ckgss4cm]  [data-view-state] dd { overflow-wrap: anywhere; }
.showroom-tools[b-f5ckgss4cm]  .showroom-prepare-form { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.showroom-tools[b-f5ckgss4cm]  .showroom-prepare-form .btn { margin: 0 !important; }
.showroom-tools[b-f5ckgss4cm]  .showroom-test-form > * + * { margin-top: .6rem; }
.showroom-tools img[b-f5ckgss4cm] { border-radius: .4rem; }

/* Einstellungen: schmale Lesespalte */
.showroom-profile[b-f5ckgss4cm] { max-width: 760px; }
.showroom-profile[b-f5ckgss4cm]  .input-group { flex-wrap: wrap; gap: .35rem; }
.showroom-profile[b-f5ckgss4cm]  .input-group > * { border-radius: .3rem !important; }

@media (max-width: 1199px) {
    .showroom-layout[b-f5ckgss4cm] { grid-template-columns: minmax(0, 1fr); }
    .showroom-rail[b-f5ckgss4cm] { position: static; max-height: none; }
    .showroom-steps[b-f5ckgss4cm] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem .75rem; }
    .showroom-steps li[b-f5ckgss4cm]::before { display: none; }
    .showroom-tools[b-f5ckgss4cm] { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
    .showroom-steps[b-f5ckgss4cm] { grid-template-columns: minmax(0, 1fr); }
    .showroom-views .nav-tabs[b-f5ckgss4cm] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .showroom-mode[b-f5ckgss4cm] { padding: .45rem .6rem; flex: 1 1 100%; }
    .showroom-panel[b-f5ckgss4cm] { padding: .75rem; }
}

/* Großer Bildschirm: der Editor füllt genau das Fenster, es gibt kein Seiten-Scrollen.
   Ansichten: Bild links, Bedienelemente als Seitenleiste rechts. Nur die Seitenleiste scrollt bei Bedarf in sich. */
@media (min-width: 1200px) and (min-height: 560px) {
    .showroom-editor[b-f5ckgss4cm] { --editor-h: calc(100dvh - var(--p-header-h, 3rem) - 1.4rem); height: var(--editor-h); gap: .5rem; }
    .showroom-editor-heading[b-f5ckgss4cm] { flex: none; }
    .showroom-layout[b-f5ckgss4cm] { flex: 1; min-height: 0; align-items: stretch; }
    .showroom-rail[b-f5ckgss4cm] { position: static; max-height: none; min-height: 0; height: 100%; }
    .showroom-main[b-f5ckgss4cm] { height: 100%; min-height: 0; gap: .5rem; }
    .showroom-modes[b-f5ckgss4cm] { flex: none; }
    .showroom-workspace[b-f5ckgss4cm] { flex: 1; min-height: 0; }
    .showroom-panel[b-f5ckgss4cm] { height: 100%; overflow: auto; scrollbar-width: thin; }

    .showroom-views[b-f5ckgss4cm] { container-type: size; padding: .5rem; display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 1rem; grid-auto-rows: min-content; align-content: start; }
    .showroom-views .tab-content[b-f5ckgss4cm], .showroom-calibration[b-f5ckgss4cm] { display: contents; }
    .showroom-views[b-f5ckgss4cm]  .showroom-view-form { display: contents; }
    .showroom-views > *[b-f5ckgss4cm], .showroom-views .tab-content > *[b-f5ckgss4cm], .showroom-views[b-f5ckgss4cm]  .showroom-view-form > *, .showroom-calibration > *[b-f5ckgss4cm] { grid-column: 2; min-width: 0; }
    .showroom-views > h2[b-f5ckgss4cm] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .showroom-views > .nav-tabs[b-f5ckgss4cm] { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 .5rem !important; }
    .showroom-views .nav-link[b-f5ckgss4cm] { padding: .25rem .4rem; font-size: .8rem; }
    .showroom-views .showroom-calibration > [data-calibration-stage][b-f5ckgss4cm] {
        grid-column: 1; grid-row: 1 / span 40; align-self: start; margin: 0;
        width: min(100cqw - 340px - 1rem, 100cqh * var(--showroom-aspect, 1.3333));
    }
    .showroom-views .showroom-calibration > [data-calibration-slider-panel][b-f5ckgss4cm] { padding: .5rem; }
    .showroom-views .showroom-savebar[b-f5ckgss4cm] { position: sticky; bottom: 0; flex-wrap: wrap; }
    .showroom-views .showroom-savebar .btn[b-f5ckgss4cm] { margin-left: auto; }
}

/* Niedrigere Fenster (z. B. Laptop 768 px): Seitenleiste und Checkliste verdichten, damit nichts scrollen muss. */
@media (min-width: 1200px) and (min-height: 560px) and (max-height: 900px) {
    .showroom-views > .showroom-help[b-f5ckgss4cm] { display: none; }
    .showroom-views .nav-link[b-f5ckgss4cm] { padding: .15rem .3rem; gap: .35rem; }
    .showroom-tab-thumb[b-f5ckgss4cm] { width: 1.9rem; height: 1.3rem; }
    .showroom-views .nav-tabs[b-f5ckgss4cm] { gap: .3rem; margin-bottom: .35rem !important; }
    .showroom-views [data-calibration-label][b-f5ckgss4cm] { display: none !important; }
    .showroom-views .showroom-calibration .showroom-help[b-f5ckgss4cm] { display: none; }
    .showroom-views .showroom-measurements[b-f5ckgss4cm] { margin: 0; }
    .showroom-views .showroom-action[b-f5ckgss4cm] { margin: .1rem 0; }
    .showroom-views .showroom-savebar[b-f5ckgss4cm] { margin-top: .2rem; }
    .showroom-views[b-f5ckgss4cm]  .showroom-view-form > label { margin-bottom: .3rem; }
    .showroom-views[b-f5ckgss4cm]  .showroom-view-form > details { margin: .15rem 0; }
    .showroom-views[b-f5ckgss4cm]  .showroom-view-form > label:last-of-type { display: none; }
    .showroom-views .showroom-calibration > [data-calibration-slider-panel][b-f5ckgss4cm] { padding: .35rem .5rem; gap: .15rem; }
    .showroom-views .showroom-savebar[b-f5ckgss4cm] { position: static; margin-top: .4rem; padding: .4rem .6rem; }
    .showroom-assistant .showroom-help[b-f5ckgss4cm] { display: none; }
    .showroom-assistant .card-body[b-f5ckgss4cm] { padding: .6rem .7rem; }
    .showroom-steps li[b-f5ckgss4cm] { padding-block: .2rem; }
    .showroom-steps li[data-step-status="Done"] .btn[b-f5ckgss4cm], .showroom-steps li[data-step-status="Done"] .showroom-step-text[b-f5ckgss4cm] { display: none; }
    .showroom-steps li:not(:last-child)[b-f5ckgss4cm]::before { top: 1.6rem; }
}

/* Checkliste ausblenbar: bei fertig eingerichtetem Showroom startet sie zu, damit der Arbeitsbereich die volle Breite hat. */
.showroom-rail-toggle[b-f5ckgss4cm] { font-size: .8rem; }
.showroom-editor[data-rail="closed"] .showroom-layout[b-f5ckgss4cm] { grid-template-columns: minmax(0, 1fr); }
.showroom-editor[data-rail="closed"] .showroom-rail[b-f5ckgss4cm] { display: none; }

/* Alle Aufklappbereiche der Ansichten einheitlich: gleiche Schrift, Farbe und Größe, ohne Rahmen. */
.showroom-views details > summary[b-f5ckgss4cm], .showroom-views details.showroom-help > summary[b-f5ckgss4cm], .showroom-views details.showroom-measurements > summary[b-f5ckgss4cm] { color: inherit !important; font-size: .9rem !important; border: 0 !important; padding: 0 !important; background: none !important; }

/* Pflichtschritt „Maße bestätigen und Ansicht übernehmen“: deutlich farbig, solange er fehlt */
.showroom-savebar[b-f5ckgss4cm] { border-width: 2px; }
.showroom-savebar[b-f5ckgss4cm] { border-color: #dc3545; background: #fdecee; }
.showroom-savebar:has(#cal-confirmed:checked)[b-f5ckgss4cm] { border-color: #198754; background: #eaf6ef; }
.showroom-step[b-f5ckgss4cm] { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.showroom-step-badge[b-f5ckgss4cm] { flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: #dc3545; }
.showroom-step-badge[b-f5ckgss4cm]::before { content: "!"; }
.showroom-step-title[b-f5ckgss4cm] { color: #b02a37; }
.showroom-savebar:not(:has(#cal-confirmed:checked)) .showroom-step-button[b-f5ckgss4cm] { background: #dc3545; border-color: #dc3545; }
.showroom-tab-flag[b-f5ckgss4cm] { display: inline-flex; align-items: center; justify-content: center; min-width: 1.15rem; height: 1.15rem; margin-left: .35rem; border-radius: 50%; font-size: .75rem; font-weight: 700; color: #fff; }
.showroom-tab-flag.ok[b-f5ckgss4cm] { background: #198754; }
.showroom-tab-flag.todo[b-f5ckgss4cm] { background: #dc3545; }
/* Optionen stehen unter den Pflichtangaben und sind zurückhaltender gestaltet */
.showroom-options[b-f5ckgss4cm] { margin-top: 1rem; padding-top: .6rem; border-top: 1px dashed var(--p-border); }
.showroom-options-title[b-f5ckgss4cm] { font-size: .8rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: #6c757d; margin: 0 0 .4rem; }
.showroom-options-inline[b-f5ckgss4cm] { margin-top: .75rem; }
.showroom-options-inline > details[b-f5ckgss4cm] { margin: .5rem 0; }

.showroom-savebar:has(#cal-confirmed:checked) .showroom-step-badge[b-f5ckgss4cm] { background: #198754; }
.showroom-savebar:has(#cal-confirmed:checked) .showroom-step-badge[b-f5ckgss4cm]::before { content: "✓"; }
.showroom-savebar:has(#cal-confirmed:checked) .showroom-step-title[b-f5ckgss4cm] { color: #146c43; }

.showroom-savebar .form-check-label[b-f5ckgss4cm] { color: #212529; }

.showroom-fit-warning[b-f5ckgss4cm] { margin-top: .75rem; padding: .55rem .8rem; border: 1px solid #9ec5fe; border-left: 6px solid #0d6efd; border-radius: .5rem; background: #e7f1ff; color: #052c65; font-size: .85rem; }
.showroom-fit-warning[b-f5ckgss4cm]::before { content: "ℹ "; font-weight: 700; }
.showroom-fit-warning[hidden][b-f5ckgss4cm] { display: none; }
/* /Components/Pages/ShowroomSlots.razor.rz.scp.css */
.showroom-slots[b-9oye4z4utk] { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; margin:1rem 0 1.5rem; }
.showroom-slot[b-9oye4z4utk] { display:flex; flex-direction:column; border:1px solid var(--bs-border-color, #666); border-radius:8px; overflow:hidden; color:inherit; text-decoration:none; }
.showroom-slot:hover[b-9oye4z4utk], .showroom-slot:focus-visible[b-9oye4z4utk] { outline:2px solid var(--bs-primary, #608bff); outline-offset:2px; }
.showroom-preview[b-9oye4z4utk] { position:relative; display:flex; align-items:center; justify-content:center; width:100%; aspect-ratio:4/3; margin:0; background:rgba(128,128,128,.12); color:inherit; text-decoration:none; cursor:pointer; border-bottom:1px solid var(--bs-border-color,#666); }
.showroom-preview span[b-9oye4z4utk] { font-size:1.4rem; opacity:.7; }
.showroom-body[b-9oye4z4utk] { display:flex; flex-direction:column; gap:.7rem; padding:1rem; }
.showroom-body small[b-9oye4z4utk] { opacity:.7; }
.showroom-slot[b-9oye4z4utk] { min-width:0; }
@media(max-width:1100px) { .showroom-slots[b-9oye4z4utk] { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:540px) { .showroom-slots[b-9oye4z4utk] { grid-template-columns:minmax(0,1fr); } }
.showroom-preview img[b-9oye4z4utk] { display:block; width:100%; height:100%; object-fit:contain; }
.showroom-preview [hidden][b-9oye4z4utk] { display:none; }
.showroom-body input[type=file][b-9oye4z4utk] { width:100%; min-width:0; font-size:.85rem; }
.panel-actions[b-9oye4z4utk] { display:flex; gap:.5rem; justify-content:flex-end; flex-wrap:wrap; }
.panel-notice[b-9oye4z4utk] { font-size:.8rem; margin:0; opacity:.8; }
.showroom-slot.pending-removal[b-9oye4z4utk] { border-color:#dc3545; }
.showroom-caption[b-9oye4z4utk] { padding:.65rem; font-size:.9rem; }
.empty[b-9oye4z4utk] { border-style:dashed; }
