/* /Components/Assistants/AssistantBase.razor.rz.scp.css */
/* ── AssistantBase: Full-Screen + Zwei-Spalten-Layout ────────────────────────
   Scoped CSS für AssistantBase.razor.
   Klassen-Präfix "ab-" vermeidet Kollisionen mit anderen Komponenten.
   ──────────────────────────────────────────────────────────────────────────── */

/* Vollbild-Container (position:fixed, flex-column, zentriert) */
.ab-fullscreen[b-7bay9er1f0] {
    position: fixed;
    inset: 0;
    background: var(--rz-base-background-color);
    overflow: hidden;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem 0;
}

/* Flex-Row: linke + rechte Spalte füllen die Karte vollständig */
.ab-two-col[b-7bay9er1f0] {
    display: flex;
    flex-direction: row;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* Linke Spalte: eigene Flex-Column → step-content scrollt, nav-bar bleibt unten */
.ab-main-col[b-7bay9er1f0] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Scrollbarer Schritt-Inhalt */
.ab-step-content[b-7bay9er1f0] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 2rem 2rem 0;
}

/* Navigationsleiste – flex-shrink:0 hält sie immer am unteren Rand sichtbar */
.ab-nav-bar[b-7bay9er1f0] {
    flex-shrink: 0;
    padding: 1.25rem 2rem;
    border-top: 1px solid var(--rz-base-300);
}

/* Rechte Spalte: IRIS Chat – feste Breite, kein Shrink */
.ab-iris-col[b-7bay9er1f0] {
    width: 340px;
    min-width: 320px;
    flex-shrink: 0;
    border-left: 1px solid var(--rz-border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* IrisChatPanel füllt die gesamte Spalten-Höhe */
.ab-iris-col[b-7bay9er1f0]  .icp-container {
    flex: 1;
    min-height: 0;
    height: 100%;
    padding: 8px 10px 10px;
}

/* ── Responsive: Spalten stapeln auf < 900px ───────────────────────────────── */
@media (max-width: 900px) {
    .ab-two-col[b-7bay9er1f0] {
        flex-direction: column;
    }

    .ab-iris-col[b-7bay9er1f0] {
        width: 100%;
        min-width: 0;
        border-left: none;
        border-top: 1px solid var(--rz-border-color);
        min-height: 400px;
    }
}
/* /Components/IRIS/IrisChatPanel.razor.rz.scp.css */
/* ── IrisChatPanel – eigenes CSS-Isolation ──────────────────────────────── */

/* ── IRIS-Logo ────────────────────────────────────────────────────────────── */

.icp-logo[b-iohy1r6en7] {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.icp-logo-abbr[b-iohy1r6en7] {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    color: var(--rz-text-disabled-color);
    text-align: center;
    margin-top: 2px;
    white-space: nowrap;
    user-select: none;
}

/* ── Nachrichten-Scrollbereich ────────────────────────────────────────────── */

.icp-messages-scroll[b-iohy1r6en7] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 2px;
    min-height: 0;
}

/* ── Chat-Bubble Inhalt ───────────────────────────────────────────────────── */

.icp-bubble-content[b-iohy1r6en7] {
    display: flex;
    flex-direction: column;
    padding: 8px 11px;
    font-size: 0.845rem;
    line-height: 1.55;
    max-width: calc(100% - 38px);
    word-break: break-word;
}

.icp-bubble-content--user[b-iohy1r6en7] {
    background: var(--rz-primary);
    color: #fff;
    border-radius: 14px 4px 14px 14px;
    align-items: flex-end;
}

.icp-bubble-content--assistant[b-iohy1r6en7] {
    background: var(--rz-base-200, rgba(0, 0, 0, 0.05));
    color: var(--rz-text-body-color);
    border-radius: 4px 14px 14px 14px;
}

.icp-bubble-content ul[b-iohy1r6en7] {
    margin: 4px 0 4px 16px;
    padding: 0;
}

.icp-bubble-content li[b-iohy1r6en7] {
    margin-bottom: 2px;
}

.icp-bubble-content code[b-iohy1r6en7] {
    font-size: 0.8em;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    padding: 0 3px;
}

/* ── Avatar ───────────────────────────────────────────────────────────────── */

.icp-avatar[b-iohy1r6en7] {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--rz-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Timestamp ────────────────────────────────────────────────────────────── */

.icp-timestamp[b-iohy1r6en7] {
    font-size: 0.68rem;
    opacity: 0.6;
    margin-top: 3px;
}

/* ── Typing Indicator ─────────────────────────────────────────────────────── */

.icp-typing-indicator[b-iohy1r6en7] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    min-height: 36px;
}

.icp-typing-indicator span[b-iohy1r6en7] {
    width: 7px;
    height: 7px;
    background: var(--rz-text-disabled-color);
    border-radius: 50%;
    animation: icp-bounce-b-iohy1r6en7 1.2s infinite ease-in-out;
}

.icp-typing-indicator span:nth-child(1)[b-iohy1r6en7] { animation-delay: 0s; }
.icp-typing-indicator span:nth-child(2)[b-iohy1r6en7] { animation-delay: 0.2s; }
.icp-typing-indicator span:nth-child(3)[b-iohy1r6en7] { animation-delay: 0.4s; }

@keyframes icp-bounce-b-iohy1r6en7 {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
    40%            { transform: scale(1.1); opacity: 1; }
}

/* ── Variante: eingebettetes Panel (z. B. in Setup-Assistenten) ───────────── */

.icp-container.icp-embedded[b-iohy1r6en7] {
    min-height: 320px;
    max-height: 480px;
    border: 1px solid var(--rz-border-color);
    border-radius: 8px;
    padding: 8px 10px 10px;
    background: var(--rz-panel-background-color, var(--rz-base-background-color));
}
/* /Components/IRIS/IrisFirstLoginPanel.razor.rz.scp.css */
.iris-first-login[b-ga99ecze42] {
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 8px 0;
}

/* Step progress bar */
.iris-first-login__steps[b-ga99ecze42] {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}

.iris-first-login__step[b-ga99ecze42] {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.35;
    transition: opacity 0.2s;
}

.iris-first-login__step.active[b-ga99ecze42],
.iris-first-login__step.done[b-ga99ecze42] {
    opacity: 1;
}

.iris-first-login__step-dot[b-ga99ecze42] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--rz-primary-lighter);
    color: var(--rz-primary);
    font-size: 12px;
    font-weight: 700;
    border: 2px solid var(--rz-primary);
}

.iris-first-login__step.done .iris-first-login__step-dot[b-ga99ecze42] {
    background: var(--rz-success);
    border-color: var(--rz-success);
    color: #fff;
}

.iris-first-login__step.active .iris-first-login__step-dot[b-ga99ecze42] {
    background: var(--rz-primary);
    color: #fff;
}

/* Step content area */
.iris-first-login__content[b-ga99ecze42] {
    flex: 1;
}

/* Address-form preview box */
.iris-first-login__form-preview[b-ga99ecze42] {
    background: var(--rz-base-background-color);
    border: 1px solid var(--rz-border-disabled-color);
    border-radius: var(--rz-border-radius);
    padding: 16px;
}
/* /Components/IRIS/IrisTodoWidget.razor.rz.scp.css */
/* ── IrisTodoWidget §ADR 6 ──────────────────────────────────────────── */

.todo-widget[b-2dnh4bqt7b] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.todo-widget--compact[b-2dnh4bqt7b] {
    gap: 6px;
}

/* ── Header ── */

.todo-widget-header[b-2dnh4bqt7b] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--rz-base-200);
}

.todo-widget-compact-header[b-2dnh4bqt7b] {
    padding-bottom: 4px;
    border-bottom: 1px solid var(--rz-base-200);
}

/* ── Filter chips ── */

.todo-filter-row[b-2dnh4bqt7b] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.todo-filter-chip[b-2dnh4bqt7b] {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid var(--rz-base-300);
    background: transparent;
    color: var(--rz-text-secondary-color);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.todo-filter-chip:hover[b-2dnh4bqt7b] {
    background: var(--rz-base-100);
    color: var(--rz-text-color);
}

.todo-filter-chip--active[b-2dnh4bqt7b] {
    background: var(--rz-primary);
    color: #fff;
    border-color: var(--rz-primary);
}

/* ── List ── */

.todo-list[b-2dnh4bqt7b] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ── Item ── */

.todo-item[b-2dnh4bqt7b] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    background: var(--rz-base-50, #fafafa);
    border-left: 3px solid var(--rz-base-300);
    transition: background 0.15s;
}

.todo-item:hover[b-2dnh4bqt7b] {
    background: var(--rz-base-100);
}

.todo-item--high[b-2dnh4bqt7b] {
    border-left-color: var(--rz-danger, #ef4444);
}

.todo-item--urgent[b-2dnh4bqt7b] {
    border-left-color: var(--rz-danger-dark, #b91c1c);
}

.todo-item--low[b-2dnh4bqt7b] {
    border-left-color: var(--rz-info, #3b82f6);
}

.todo-item--done[b-2dnh4bqt7b] {
    opacity: 0.55;
}

.todo-check[b-2dnh4bqt7b] {
    margin-top: 2px;
    flex-shrink: 0;
}

/* ── Body ── */

.todo-body[b-2dnh4bqt7b] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.todo-title-row[b-2dnh4bqt7b] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.todo-title[b-2dnh4bqt7b] {
    font-size: 0.82rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 240px;
    color: var(--rz-text-color);
}

.todo-title--done[b-2dnh4bqt7b] {
    text-decoration: line-through;
    color: var(--rz-text-disabled-color);
}

.todo-description[b-2dnh4bqt7b] {
    font-size: 0.78rem;
    color: var(--rz-text-secondary-color);
    line-height: 1.4;
}

/* ── Priority badge ── */

.todo-priority-badge[b-2dnh4bqt7b] {
    font-size: 0.68rem;
    padding: 1px 7px;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.todo-priority-high[b-2dnh4bqt7b],
.todo-priority-urgent[b-2dnh4bqt7b] {
    background: var(--rz-danger-lighter, #fee2e2);
    color: var(--rz-danger-dark, #b91c1c);
}

.todo-priority-medium[b-2dnh4bqt7b] {
    background: var(--rz-warning-lighter, #fef3c7);
    color: var(--rz-warning-dark, #b45309);
}

.todo-priority-low[b-2dnh4bqt7b] {
    background: var(--rz-info-lighter, #dbeafe);
    color: var(--rz-info-dark, #1d4ed8);
}

/* ── Meta row (due + entity link) ── */

.todo-meta[b-2dnh4bqt7b] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.todo-due[b-2dnh4bqt7b] {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    color: var(--rz-text-secondary-color);
}

.todo-due--today[b-2dnh4bqt7b] {
    color: var(--rz-warning, #d97706);
    font-weight: 600;
}

.todo-due--overdue[b-2dnh4bqt7b] {
    color: var(--rz-danger, #ef4444);
    font-weight: 600;
}

.todo-nav-link[b-2dnh4bqt7b] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.72rem;
    color: var(--rz-primary);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.todo-nav-link:hover[b-2dnh4bqt7b] {
    color: var(--rz-primary-darker, var(--rz-primary));
}

/* ── State: loading / empty / error ── */

.todo-loading[b-2dnh4bqt7b],
.todo-empty[b-2dnh4bqt7b],
.todo-error[b-2dnh4bqt7b] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    font-size: 0.82rem;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: var(--rz-text-secondary-color);
}

.todo-error[b-2dnh4bqt7b] {
    color: var(--rz-danger, #ef4444);
}

/* ── IRIS Risikobehandlungs-Vorschlag ────────────────────────── */

.todo-iris-proposal-badge[b-2dnh4bqt7b] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: var(--rz-primary-lighter, color-mix(in srgb, var(--rz-primary) 15%, white));
    color: var(--rz-primary);
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 7px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex-shrink: 0;
}

.todo-proposal-action[b-2dnh4bqt7b] {
    margin-top: 5px;
}

.todo-accept-btn[b-2dnh4bqt7b] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 4px;
    background: var(--rz-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
}

.todo-accept-btn:hover:not(:disabled)[b-2dnh4bqt7b] {
    background: color-mix(in srgb, var(--rz-primary) 85%, black);
}

.todo-accept-btn--busy[b-2dnh4bqt7b],
.todo-accept-btn:disabled[b-2dnh4bqt7b] {
    opacity: 0.65;
    cursor: not-allowed;
}
/* /Components/IRIS/IrisWelcomeTour.razor.rz.scp.css */
.iris-tour[b-r8lw37910g] {
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 8px 0;
}

/* Step progress bar */
.iris-tour__steps[b-r8lw37910g] {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}

.iris-tour__step[b-r8lw37910g] {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.35;
    transition: opacity 0.2s;
}

.iris-tour__step.active[b-r8lw37910g],
.iris-tour__step.done[b-r8lw37910g] {
    opacity: 1;
}

.iris-tour__step-dot[b-r8lw37910g] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--rz-primary-lighter);
    color: var(--rz-primary);
    font-size: 12px;
    font-weight: 700;
    border: 2px solid var(--rz-primary);
}

.iris-tour__step.done .iris-tour__step-dot[b-r8lw37910g] {
    background: var(--rz-success);
    border-color: var(--rz-success);
    color: #fff;
}

.iris-tour__step.active .iris-tour__step-dot[b-r8lw37910g] {
    background: var(--rz-primary);
    color: #fff;
}

/* Step content area */
.iris-tour__content[b-r8lw37910g] {
    flex: 1;
}

/* Asset list */
.iris-tour__asset-list[b-r8lw37910g] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 220px;
    overflow-y: auto;
    padding: 4px 0;
}

.iris-tour__asset-row[b-r8lw37910g] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--rz-border-disabled-color);
    border-radius: var(--rz-border-radius);
    background: var(--rz-base-background-color);
}

/* ── Step 4: Loading spinner ─────────────────────────────────────────── */
.iris-tour__step4-loading[b-r8lw37910g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    gap: 8px;
}

/* ── Step 4: Select-All row ──────────────────────────────────────────── */
.iris-tour__select-all-row[b-r8lw37910g] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0 8px;
    border-bottom: 1px solid var(--rz-border-disabled-color);
    margin-bottom: 4px;
}

/* ── Step 4: Rich asset cards ────────────────────────────────────────── */
.iris-tour__asset-list[b-r8lw37910g] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    padding: 2px 0;
}

.iris-tour__asset-card[b-r8lw37910g] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid var(--rz-border-disabled-color);
    border-radius: var(--rz-border-radius);
    background: var(--rz-base-background-color);
    transition: border-color 0.15s, background 0.15s;
}

.iris-tour__asset-card.selected[b-r8lw37910g] {
    border-color: var(--rz-primary);
    background: var(--rz-primary-lighter);
}

.iris-tour__asset-card-header[b-r8lw37910g] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.iris-tour__asset-name-hint[b-r8lw37910g] {
    cursor: help;
    border-bottom: 1px dashed var(--rz-text-secondary-color);
}

.iris-tour__asset-badges[b-r8lw37910g] {
    flex-shrink: 0;
}

/* Criticality badges */
.iris-tour__criticality-badge[b-r8lw37910g] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.iris-tour__criticality-badge.criticality-low[b-r8lw37910g] {
    background: #d4edda;
    color: #155724;
}

.iris-tour__criticality-badge.criticality-medium[b-r8lw37910g] {
    background: #fff3cd;
    color: #856404;
}

.iris-tour__criticality-badge.criticality-high[b-r8lw37910g] {
    background: #fde2c4;
    color: #7c3a00;
}

.iris-tour__criticality-badge.criticality-critical[b-r8lw37910g] {
    background: #f8d7da;
    color: #721c24;
}

/* Footer row: CIA + Quantity */
.iris-tour__asset-card-footer[b-r8lw37910g] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.iris-tour__cia-badges[b-r8lw37910g] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.iris-tour__cia-badge[b-r8lw37910g] {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    background: var(--rz-secondary-lighter);
    color: var(--rz-secondary-darker);
}

.iris-tour__asset-type-tag[b-r8lw37910g] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    background: var(--rz-base-300);
    color: var(--rz-text-secondary-color);
    margin-left: 4px;
}

.iris-tour__quantity-row[b-r8lw37910g] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.iris-tour__quantity-label[b-r8lw37910g] {
    font-size: 12px;
    color: var(--rz-text-secondary-color);
}

/* ── Step 4: Accept result ───────────────────────────────────────────── */
.iris-tour__accept-success[b-r8lw37910g] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--rz-border-radius);
    background: var(--rz-success-lighter);
    color: var(--rz-success-darker);
    font-size: 14px;
    font-weight: 500;
}

.iris-tour__accept-error[b-r8lw37910g] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--rz-border-radius);
    background: var(--rz-danger-lighter);
    color: var(--rz-danger-darker);
    font-size: 14px;
    font-weight: 500;
}

/* ── Owner Step-5: Completion-Steps Card ──────────────────────────── */
.iris-tour__completion-card[b-r8lw37910g] {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--rz-border-color, #e5e7eb);
    border-radius: 8px;
    overflow: hidden;
}

.iris-tour__completion-step[b-r8lw37910g] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--rz-border-color, #e5e7eb);
}

.iris-tour__completion-step:last-child[b-r8lw37910g] {
    border-bottom: none;
}

.iris-tour__completion-step--done[b-r8lw37910g] {
    background: color-mix(in srgb, var(--rz-success, #22c55e) 10%, white);
    color: var(--rz-success-darker, #065f46);
}

.iris-tour__completion-step--active[b-r8lw37910g] {
    background: color-mix(in srgb, var(--rz-primary) 8%, white);
    color: var(--rz-primary-darker, #4c1d95);
}

.iris-tour__completion-step--highlight[b-r8lw37910g] {
    background: color-mix(in srgb, var(--rz-info, #3b82f6) 8%, white);
    color: var(--rz-info-darker, #1e3a8a);
    font-weight: 600;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-vkpw0q5lrl] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-vkpw0q5lrl] {
    flex: 1;
}

.sidebar[b-vkpw0q5lrl] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-vkpw0q5lrl] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-vkpw0q5lrl]  a, .top-row[b-vkpw0q5lrl]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-vkpw0q5lrl]  a:hover, .top-row[b-vkpw0q5lrl]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-vkpw0q5lrl]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-vkpw0q5lrl] {
        justify-content: space-between;
    }

    .top-row[b-vkpw0q5lrl]  a, .top-row[b-vkpw0q5lrl]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-vkpw0q5lrl] {
        flex-direction: row;
    }

    .sidebar[b-vkpw0q5lrl] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-vkpw0q5lrl] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-vkpw0q5lrl]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-vkpw0q5lrl], article[b-vkpw0q5lrl] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-vkpw0q5lrl] {
    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-vkpw0q5lrl] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-y2hhw6byj4] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-y2hhw6byj4] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-y2hhw6byj4] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-y2hhw6byj4] {
    font-size: 1.1rem;
}

.bi[b-y2hhw6byj4] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-y2hhw6byj4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-y2hhw6byj4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-y2hhw6byj4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-y2hhw6byj4] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-y2hhw6byj4] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-y2hhw6byj4] {
        padding-bottom: 1rem;
    }

    .nav-item[b-y2hhw6byj4]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-y2hhw6byj4]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-y2hhw6byj4]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-y2hhw6byj4] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-y2hhw6byj4] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-y2hhw6byj4] {
        display: none;
    }

    .nav-scrollable[b-y2hhw6byj4] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-2t97b0swd2],
.components-reconnect-repeated-attempt-visible[b-2t97b0swd2],
.components-reconnect-failed-visible[b-2t97b0swd2],
.components-pause-visible[b-2t97b0swd2],
.components-resume-failed-visible[b-2t97b0swd2],
.components-rejoining-animation[b-2t97b0swd2] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-2t97b0swd2],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-2t97b0swd2],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-2t97b0swd2],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-2t97b0swd2],
#components-reconnect-modal.components-reconnect-retrying[b-2t97b0swd2],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-2t97b0swd2],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-2t97b0swd2],
#components-reconnect-modal.components-reconnect-failed[b-2t97b0swd2],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-2t97b0swd2] {
    display: block;
}


#components-reconnect-modal[b-2t97b0swd2] {
    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-2t97b0swd2 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-2t97b0swd2 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-2t97b0swd2 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-2t97b0swd2]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-2t97b0swd2 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-2t97b0swd2 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-2t97b0swd2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-2t97b0swd2 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-2t97b0swd2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-2t97b0swd2] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-2t97b0swd2] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-2t97b0swd2] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-2t97b0swd2] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-2t97b0swd2] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-2t97b0swd2] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-2t97b0swd2 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-2t97b0swd2] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-2t97b0swd2 {
    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/Layout/RightSidebar.razor.rz.scp.css */
/* ── Right Sidebar ──────────────────────────────────────────────────────── */

.right-sidebar[b-ottyo5smy3] {
    width: 340px;
    flex-shrink: 0;
    height: 100%;
    border-left: 1px solid var(--rz-border-color);
    background: var(--rz-panel-background-color, var(--rz-base-background-color));
    overflow: hidden;
}

/* ── Tabs-Wrapper (Position-Kontext für Schließen-Button) ──────────────── */

.right-sidebar-tabs-wrapper[b-ottyo5smy3] {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* RadzenTabs soll die volle verbleibende Höhe einnehmen */
.right-sidebar-tabs-wrapper[b-ottyo5smy3]  .rz-tabview {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.right-sidebar-tabs-wrapper[b-ottyo5smy3]  .rz-tabview-panels {
    flex: 1 !important;
    overflow: hidden !important;
}

.right-sidebar-tabs-wrapper[b-ottyo5smy3]  .rz-tabview-panel {
    height: 100% !important;
    overflow-y: auto !important;
}

/* ── Schließen-Button (absolut über Tab-Header) ─────────────────────────── */

.right-sidebar-close-btn[b-ottyo5smy3] {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 10;
}

/* ── Kontext-Titelzeile (RadzenStack mit class="right-sidebar-context") ──── */

.right-sidebar-tabs-wrapper[b-ottyo5smy3]  .right-sidebar-context {
    padding: 8px 14px;
    background: var(--rz-base-200, rgba(0,0,0,0.03));
    border-bottom: 1px solid var(--rz-border-color);
}

/* ── Body ───────────────────────────────────────────────────────────────── */

.right-sidebar-body[b-ottyo5smy3] {
    padding: 16px;
}

.right-sidebar-help-text[b-ottyo5smy3] {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--rz-text-secondary-color);
}

/* ── IRIS Chat ──────────────────────────────────────────────────────────── */

.iris-phase-badge[b-ottyo5smy3] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--rz-warning-lighter, #fff8e1);
    color: var(--rz-warning-dark, #795548);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    width: fit-content;
}

.iris-features[b-ottyo5smy3] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--rz-base-200, rgba(0,0,0,0.03));
    border-radius: 8px;
    padding: 12px 14px;
}

/* (.iris-features enthält nun RadzenStack-Items; kein .iris-feature-Selektor nötig) */

/* ── IRIS Chat Container ─────────────────────────────────────────────────── */

.iris-chat-container[b-ottyo5smy3] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 8px 10px 10px;
    gap: 6px;
    overflow: hidden; /* children handle their own scroll */
}

/* ── Kontext-Header ──────────────────────────────────────────────────────── */

.iris-context-header[b-ottyo5smy3] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--rz-primary-lighter, rgba(var(--rz-primary-rgb), 0.08));
    color: var(--rz-primary-dark, var(--rz-primary));
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 0;
}

.iris-context-label[b-ottyo5smy3] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Quick-Action Chips ──────────────────────────────────────────────────── */

.iris-quick-actions[b-ottyo5smy3] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex-shrink: 0;
}

.iris-action-chip[b-ottyo5smy3] {
    display: inline-flex;
    align-items: center;
    background: var(--rz-base-200, rgba(0,0,0,0.05));
    border: 1px solid var(--rz-border-color);
    border-radius: 14px;
    padding: 3px 10px;
    font-size: 0.76rem;
    cursor: pointer;
    white-space: nowrap;
    color: var(--rz-text-body-color);
    transition: background 0.15s, border-color 0.15s;
}

.iris-action-chip:hover[b-ottyo5smy3] {
    background: var(--rz-primary-lighter, rgba(var(--rz-primary-rgb), 0.1));
    border-color: var(--rz-primary);
    color: var(--rz-primary-dark, var(--rz-primary));
}

/* ── Nachrichten-Scrollbereich ───────────────────────────────────────────── */

.iris-messages-scroll[b-ottyo5smy3] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 2px;
    min-height: 0;
}

/* ── Chat-Bubbles ────────────────────────────────────────────────────────── */

.iris-bubble[b-ottyo5smy3] {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    max-width: 100%;
}

.iris-bubble--user[b-ottyo5smy3] {
    flex-direction: row-reverse;
}

.iris-bubble--user .iris-bubble-content[b-ottyo5smy3] {
    background: var(--rz-primary);
    color: #fff;
    border-radius: 14px 4px 14px 14px;
    align-items: flex-end;
}

.iris-bubble--assistant .iris-bubble-content[b-ottyo5smy3] {
    background: var(--rz-base-200, rgba(0,0,0,0.05));
    color: var(--rz-text-body-color);
    border-radius: 4px 14px 14px 14px;
}

.iris-bubble-content[b-ottyo5smy3] {
    display: flex;
    flex-direction: column;
    padding: 8px 11px;
    font-size: 0.845rem;
    line-height: 1.55;
    max-width: calc(100% - 38px);
    word-break: break-word;
}

.iris-bubble-content ul[b-ottyo5smy3] {
    margin: 4px 0 4px 16px;
    padding: 0;
}

.iris-bubble-content li[b-ottyo5smy3] {
    margin-bottom: 2px;
}

.iris-bubble-content code[b-ottyo5smy3] {
    font-size: 0.8em;
    background: rgba(0,0,0,0.08);
    border-radius: 3px;
    padding: 0 3px;
}

/* ── Avatar-Kreis ────────────────────────────────────────────────────────── */

.iris-avatar[b-ottyo5smy3] {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--rz-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Timestamp ───────────────────────────────────────────────────────────── */

.iris-timestamp[b-ottyo5smy3] {
    font-size: 0.68rem;
    opacity: 0.6;
    margin-top: 3px;
}

/* ── Typing Indicator (3 Punkte) ─────────────────────────────────────────── */

.iris-typing-indicator[b-ottyo5smy3] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    min-height: 36px;
}

.iris-typing-indicator span[b-ottyo5smy3] {
    width: 7px;
    height: 7px;
    background: var(--rz-text-disabled-color);
    border-radius: 50%;
    animation: iris-bounce-b-ottyo5smy3 1.2s infinite ease-in-out;
}

.iris-typing-indicator span:nth-child(1)[b-ottyo5smy3] { animation-delay: 0s; }
.iris-typing-indicator span:nth-child(2)[b-ottyo5smy3] { animation-delay: 0.2s; }
.iris-typing-indicator span:nth-child(3)[b-ottyo5smy3] { animation-delay: 0.4s; }

@keyframes iris-bounce-b-ottyo5smy3 {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
    40%            { transform: scale(1.1); opacity: 1; }
}

/* ── Fehlerleiste ────────────────────────────────────────────────────────── */

.iris-error-bar[b-ottyo5smy3] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--rz-danger-lighter, #fdecea);
    color: var(--rz-danger, #d32f2f);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ── Eingabezeile ────────────────────────────────────────────────────────── */

.iris-input-row[b-ottyo5smy3] {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}


/* ── §ADR 4+5: Result Panels (Asset-Vorschläge & GAP-Propagation) ───────── */

.iris-result-panel[b-ottyo5smy3] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--rz-border-disabled-color, #e0e0e0);
    border-radius: 8px;
    padding: 10px;
    background: var(--rz-base-background-color, #fff);
    flex-shrink: 0;
    max-height: 60vh;
    overflow-y: auto;
}

.iris-result-panel-header[b-ottyo5smy3] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rz-text-color);
}

.iris-result-loading[b-ottyo5smy3] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--rz-text-secondary-color);
    padding: 4px 0;
}

/* ── Asset-Karte ── */

.iris-asset-card[b-ottyo5smy3] {
    border: 1px solid var(--rz-border-disabled-color, #e0e0e0);
    border-radius: 6px;
    padding: 8px 10px;
    background: var(--rz-secondary-lighter, #f5f5f5);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.iris-asset-card-title[b-ottyo5smy3] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.iris-asset-card-meta[b-ottyo5smy3] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.iris-badge[b-ottyo5smy3] {
    font-size: 0.72rem;
    background: var(--rz-primary-lighter, #e3f2fd);
    color: var(--rz-primary, #1976d2);
    border-radius: 4px;
    padding: 2px 6px;
    white-space: nowrap;
}

.iris-asset-card-desc[b-ottyo5smy3] {
    font-size: 0.8rem;
    color: var(--rz-text-secondary-color);
    margin: 0;
}

.iris-asset-card-reasoning[b-ottyo5smy3] {
    font-size: 0.78rem;
    color: var(--rz-text-disabled-color);
    margin: 0;
}

/* ── GAP-Propagation Abschnitte ── */

.iris-gap-section[b-ottyo5smy3] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.82rem;
}

.iris-gap-section p[b-ottyo5smy3] {
    margin: 0;
    color: var(--rz-text-secondary-color);
}

.iris-junction-item[b-ottyo5smy3] {
    border-left: 3px solid var(--rz-primary, #1976d2);
    padding: 6px 8px;
    margin: 4px 0;
    background: var(--rz-secondary-lighter, #f5f5f5);
    border-radius: 0 6px 6px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.iris-junction-header[b-ottyo5smy3] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.iris-gap-value[b-ottyo5smy3] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rz-warning, #f57c00);
    margin-left: auto;
}

.iris-junction-suggestion[b-ottyo5smy3] {
    font-size: 0.78rem;
    color: var(--rz-text-secondary-color);
    margin: 0;
}

/* ── Accept/Reject UI ──────────────────────────────────────────────────── */

.iris-action-bar[b-ottyo5smy3] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--rz-base-200);
}

.iris-action-bar-buttons[b-ottyo5smy3] {
    display: flex;
    gap: 6px;
    align-items: center;
}

.iris-accept-result[b-ottyo5smy3] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
}

.iris-accept-success[b-ottyo5smy3] {
    background: var(--rz-success-lighter, #e8f5e9);
    color: var(--rz-success, #388e3c);
}

.iris-accept-error[b-ottyo5smy3] {
    background: var(--rz-danger-lighter, #fce4ec);
    color: var(--rz-danger, #c62828);
}

/* ── Responsive Sichtbarkeit ────────────────────────────────────────────── */

/* Mobile/Tablet: Sidebar verstecken, wenn SidebarService sie auf IsOpen=false setzt */
.right-sidebar--closed[b-ottyo5smy3] {
    display: none;
}

/* Desktop (≥1100px): Sidebar immer anzeigen – unabhängig vom IsOpen-State */
@media (min-width: 1100px) {
    .right-sidebar--closed[b-ottyo5smy3] {
        display: block;
        width: 340px;
        flex-shrink: 0;
    }

    /* Schließen-Button auf Desktop ausblenden */
    .right-sidebar-close-btn[b-ottyo5smy3] {
        display: none;
    }
}
    }
}
/* /Components/Pages/InformationAssetAssistant.razor.rz.scp.css */
/* Layout-CSS wurde in AssistantBase.razor.css (ab-* Klassen) verschoben. */
/* /Components/Pages/ISMSSetupAssistant.razor.rz.scp.css */
/* Layout-CSS wurde in AssistantBase.razor.css (ab-* Klassen) verschoben. */
/* /Components/Pages/RiskTreatmentAssistant.razor.rz.scp.css */
/* Layout-CSS wurde in AssistantBase.razor.css (ab-* Klassen) verschoben. */
/* /Components/Shared/RiskTreatmentProposalModal.razor.rz.scp.css */
/* ─── RiskTreatmentProposalModal ───────────────────────────────────────── */

.rtp-modal[b-i49wcgxgbj] {
    min-width: 400px;
}

/* Loading state */
.rtp-modal__loading[b-i49wcgxgbj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 16px;
    color: var(--rz-text-secondary-color);
    font-size: 0.9rem;
}

.rtp-modal__error-state[b-i49wcgxgbj] {
    padding: 8px 0;
}

/* ── IRIS-Banner ── */
.rtp-modal__iris-banner[b-i49wcgxgbj] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: color-mix(in srgb, var(--rz-primary) 8%, white);
    border: 1px solid color-mix(in srgb, var(--rz-primary) 20%, white);
    border-radius: 6px;
    font-size: 0.82rem;
}

.rtp-modal__iris-label[b-i49wcgxgbj] {
    font-weight: 600;
    color: var(--rz-primary);
    white-space: nowrap;
}

.rtp-modal__iris-hint[b-i49wcgxgbj] {
    color: var(--rz-text-secondary-color);
    font-size: 0.78rem;
}

/* ── Info-Grid ── */
.rtp-modal__info-grid[b-i49wcgxgbj] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--rz-base-background-color, #f9fafb);
    border: 1px solid var(--rz-border-color, #e5e7eb);
    border-radius: 6px;
    padding: 10px 14px;
}

.rtp-modal__info-row[b-i49wcgxgbj] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.85rem;
}

.rtp-modal__info-label[b-i49wcgxgbj] {
    font-weight: 600;
    color: var(--rz-text-secondary-color);
    min-width: 90px;
    flex-shrink: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.rtp-modal__info-value[b-i49wcgxgbj] {
    color: var(--rz-text-color);
    font-weight: 500;
}

/* ── Treatment section ── */
.rtp-modal__treatment-section[b-i49wcgxgbj] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rtp-modal__field-label[b-i49wcgxgbj] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--rz-text-secondary-color);
    margin-bottom: 2px;
}

.rtp-modal__field-hint[b-i49wcgxgbj] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    color: var(--rz-text-tertiary-color, var(--rz-text-secondary-color));
    font-style: italic;
    margin-top: 2px;
}

/* ── Reject panel ── */
.rtp-modal__reject-panel[b-i49wcgxgbj] {
    padding: 10px 14px;
    background: color-mix(in srgb, var(--rz-danger, #ef4444) 6%, white);
    border: 1px solid color-mix(in srgb, var(--rz-danger, #ef4444) 20%, white);
    border-radius: 6px;
}

/* ── Action row ── */
.rtp-modal__actions[b-i49wcgxgbj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 4px;
}
