/* /Components/Account/Pages/Login.razor.rz.scp.css */
/* Login läuft über EmptyLayout OHNE MudThemeProvider → lokale Tokens + prefers-color-scheme.
   Layout nach Vorlage (zweispaltig: Markenpanel + Formular), Akzent auf Atrium-Teal harmonisiert. */
.auth[b-rts5xrw3hk] {
    --page: #eef1f5;
    --surface: #ffffff;
    --ink: #10131a;
    --muted: #6b7280;
    --line: #e6e8ec;
    --field: #f6f7f9;
    --field-focus: #ffffff;
    --accent: #1F6B77;       /* Atrium-Teal */
    --accent-deep: #17545E;
    --accent-glow: rgba(31, 107, 119, .14);

    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--page);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
    .auth[b-rts5xrw3hk] {
        --page: #12151b;
        --surface: #1f242b;
        --ink: #E6E9EC;
        --muted: #9BA4AE;
        --line: #333A42;
        --field: #23282f;
        --field-focus: #262c34;
        --accent: #6FB1C0;
        --accent-deep: #5b97a4;
        --accent-glow: rgba(111, 177, 192, .16);
    }
}

.card[b-rts5xrw3hk] {
    width: min(1040px, 100%);
    min-height: 600px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 24px 60px -20px rgba(15, 17, 21, .28);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
}

/* ── Markenpanel (immer dunkel, Anthrazit-Verlauf) ── */
.brand[b-rts5xrw3hk] {
    position: relative;
    padding: 56px 52px;
    color: #fff;
    background: linear-gradient(155deg, #161a22 0%, #1f2937 55%, #243044 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.brand[b-rts5xrw3hk]::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(120% 90% at 80% 10%, #000 30%, transparent 75%);
    mask-image: radial-gradient(120% 90% at 80% 10%, #000 30%, transparent 75%);
}
.brand[b-rts5xrw3hk]::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    right: -160px;
    bottom: -160px;
    background: radial-gradient(circle, rgba(31, 107, 119, .45), transparent 65%);
    filter: blur(8px);
}
.brand > *[b-rts5xrw3hk] { position: relative; z-index: 1; }

.logo[b-rts5xrw3hk] { display: flex; align-items: center; gap: 12px; }
.logo .mark[b-rts5xrw3hk] {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: linear-gradient(135deg, #1F6B77, #2D7D8A);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px -6px rgba(31, 107, 119, .7);
}
.logo .mark svg[b-rts5xrw3hk] { width: 22px; height: 22px; }
.logo span[b-rts5xrw3hk] { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }

.pitch[b-rts5xrw3hk] { margin-top: auto; }
.brand h1[b-rts5xrw3hk] { font-size: 2rem; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; margin-bottom: 14px; }
.brand p[b-rts5xrw3hk] { color: rgba(255,255,255,.66); font-size: 1rem; line-height: 1.6; max-width: 34ch; }

.features[b-rts5xrw3hk] { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.features li[b-rts5xrw3hk] { list-style: none; display: flex; align-items: center; gap: 12px; font-size: .92rem; color: rgba(255,255,255,.82); }
.features .dot[b-rts5xrw3hk] {
    width: 26px; height: 26px; border-radius: 8px; flex: none;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    display: flex; align-items: center; justify-content: center;
}
.features .dot svg[b-rts5xrw3hk] { width: 14px; height: 14px; stroke: #8FCAD6; fill: none; }
.copy[b-rts5xrw3hk] { font-size: .8rem; color: rgba(255,255,255,.4); }

/* ── Formularpanel ── */
.panel[b-rts5xrw3hk] { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.head[b-rts5xrw3hk] { margin-bottom: 28px; }
.panel h2[b-rts5xrw3hk] { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.panel .sub[b-rts5xrw3hk] { color: var(--muted); margin-top: 6px; font-size: .95rem; }

.field[b-rts5xrw3hk] { margin-bottom: 18px; }
.field label[b-rts5xrw3hk] { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; letter-spacing: .01em; }
.input-wrap[b-rts5xrw3hk] { position: relative; }
.input-wrap .lead[b-rts5xrw3hk] {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    width: 18px; height: 18px; stroke: var(--muted); fill: none; pointer-events: none;
}
/* ::deep, weil InputText ein Kind-Component ist (sein <input> trägt das Scope-Attribut nicht). */
.input-wrap[b-rts5xrw3hk]  .lf-input {
    width: 100%; height: 48px; padding: 0 14px 0 42px;
    border: 1.5px solid var(--line); background: var(--field);
    border-radius: 11px; font-size: .95rem; color: var(--ink);
    box-sizing: border-box;
    transition: border-color .15s, background .15s, box-shadow .15s;
}
.input-wrap[b-rts5xrw3hk]  .lf-input.has-toggle { padding-right: 44px; }
.input-wrap[b-rts5xrw3hk]  .lf-input::placeholder { color: #aab0ba; }
.input-wrap[b-rts5xrw3hk]  .lf-input:focus {
    outline: none; border-color: var(--accent); background: var(--field-focus);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.toggle-pw[b-rts5xrw3hk] {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; padding: 4px; color: var(--muted); display: flex;
}
.toggle-pw svg[b-rts5xrw3hk] { width: 18px; height: 18px; stroke: currentColor; fill: none; }

.row[b-rts5xrw3hk] { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 22px; }
.remember[b-rts5xrw3hk] { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); cursor: pointer; }
.remember[b-rts5xrw3hk]  input { width: 16px; height: 16px; accent-color: var(--accent); }

.btn[b-rts5xrw3hk] {
    width: 100%; height: 50px; border: none; border-radius: 11px; cursor: pointer;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff; font-size: .98rem; font-weight: 600; letter-spacing: .01em;
    box-shadow: 0 12px 24px -10px rgba(31, 107, 119, .6);
    transition: filter .12s, box-shadow .12s, transform .12s;
}
.btn:hover[b-rts5xrw3hk] { filter: brightness(1.07); box-shadow: 0 16px 30px -10px rgba(31, 107, 119, .7); }
.btn:active[b-rts5xrw3hk] { transform: translateY(1px); }

.login-error[b-rts5xrw3hk] {
    background: color-mix(in srgb, #c0563b 12%, var(--surface));
    color: #c0563b;
    border: 1px solid color-mix(in srgb, #c0563b 30%, var(--surface));
    padding: .6rem .75rem; border-radius: 10px; font-size: .85rem; margin-bottom: 1rem;
}
.field[b-rts5xrw3hk]  .login-val { color: #c0563b; font-size: .78rem; display: block; margin-top: 5px; }

.alt[b-rts5xrw3hk] {
    margin-top: 18px; text-align: center; font-size: .86rem; color: var(--muted);
}
.alt a[b-rts5xrw3hk] { color: var(--accent); font-weight: 600; text-decoration: none; }
.alt a:hover[b-rts5xrw3hk] { text-decoration: underline; }
.alt .sep[b-rts5xrw3hk] { margin: 0 6px; color: var(--line); }

.demo[b-rts5xrw3hk] {
    margin-top: 28px; padding: 16px 18px;
    background: var(--field); border: 1px solid var(--line);
    border-radius: 12px; font-size: .84rem; color: var(--muted); line-height: 1.65;
}
.demo .demo-title[b-rts5xrw3hk] { font-weight: 700; color: var(--ink); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.demo .acct[b-rts5xrw3hk] { margin-top: 4px; }
.demo .acct b[b-rts5xrw3hk] { color: var(--ink); font-weight: 600; }
.badge[b-rts5xrw3hk] {
    font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px;
    background: var(--accent-glow); color: var(--accent); letter-spacing: .03em;
}

@media (max-width: 820px) {
    .card[b-rts5xrw3hk] { grid-template-columns: 1fr; }
    .brand[b-rts5xrw3hk] { display: none; }
    .panel[b-rts5xrw3hk] { padding: 44px 32px; }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Blazor-Fallback-Fehlerleiste (die einzige hier gerenderte, nicht-MudBlazor-gestylte Fläche).
   Der übrige Shell wird vollständig über MudLayout/MudAppBar/MudDrawer + das MudTheme gestylt. */
#blazor-error-ui[b-m5adt1i7ne] {
    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;
}

.atrium-page-shell[b-m5adt1i7ne] {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1440px;
    padding: 24px 16px;
    width: 100%;
}

.atrium-cad-shell[b-m5adt1i7ne] {
    box-sizing: border-box;
    height: calc(100dvh - 64px);
    min-height: 560px;
    overflow: hidden;
    width: 100%;
}

@media (max-width: 959.98px) {
    .atrium-cad-shell[b-m5adt1i7ne] {
        height: auto;
        min-height: calc(100dvh - 64px);
        overflow: visible;
    }
}

    #blazor-error-ui .dismiss[b-m5adt1i7ne] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/AssignmentBoard.razor.rz.scp.css */
/* Zuweisungs-Board als vertikale Swimlanes (kein horizontales Scrollen) — theme-getrieben */
.board[b-dioneqrp86] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Eine Zeile je Mitarbeiter, klar getrennt */
.lane[b-dioneqrp86] {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    background: color-mix(in srgb, var(--mud-palette-text-primary) 3%, var(--mud-palette-surface));
    padding: 8px 10px;
}
.lane-unassigned[b-dioneqrp86] {
    background: color-mix(in srgb, var(--mud-palette-warning) 10%, var(--mud-palette-surface));
    border-color: color-mix(in srgb, var(--mud-palette-warning) 45%, var(--mud-palette-lines-default));
}

.lane-head[b-dioneqrp86] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    padding: 0 2px;
}
.lane-head .lane-avatar[b-dioneqrp86] { width: 22px; height: 22px; font-size: .68rem; }
.lane-head .lane-name[b-dioneqrp86] {
    font-weight: 700;
    font-size: .85rem;
    color: var(--mud-palette-text-primary);
}
/* Ausblenden-Knopf: nur beim Überfahren der Zeile sichtbar */
.lane-head .lane-hide[b-dioneqrp86] {
    flex: none;
    opacity: 0;
    transition: opacity .12s ease;
    width: 22px; height: 22px;
}
.lane:hover .lane-head .lane-hide[b-dioneqrp86] { opacity: .6; }
.lane-head .lane-hide:hover[b-dioneqrp86] { opacity: 1; }
.lane-head .lane-hide[b-dioneqrp86]  .mud-icon-root { font-size: 15px; }
.lane-head .lane-count[b-dioneqrp86] {
    margin-left: auto;
    flex: none;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1;
    padding: 2px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mud-palette-primary) 14%, var(--mud-palette-surface));
    color: var(--mud-palette-primary);
}

/* Drop-Bereich: Kacheln fließen nebeneinander und BRECHEN UM (kein Seitwärts-Scroll). */
[b-dioneqrp86] .zone {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 8px;
    min-height: 44px;
    border-radius: 6px;
    transition: background-color .12s ease;
}
[b-dioneqrp86] .zone.zone-hover {
    background: color-mix(in srgb, var(--mud-palette-primary) 12%, transparent);
    outline: 2px dashed var(--mud-palette-primary);
    outline-offset: -2px;
}
.zone-empty[b-dioneqrp86] {
    margin: 4px 2px 2px;
    font-size: .72rem;
    color: var(--mud-palette-text-disabled);
    font-style: italic;
}

/* Projektkachel — feste Breite, damit die Kacheln als sauberes Raster umbrechen */
.card[b-dioneqrp86] {
    width: 212px;
    max-width: 100%;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-left: 3px solid var(--mud-palette-primary);
    border-radius: 6px;
    padding: 5px 8px;
    cursor: grab;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    transition: border-color .16s ease, box-shadow .2s cubic-bezier(.16, 1, .3, 1), transform .2s cubic-bezier(.16, 1, .3, 1);
}
.card:hover[b-dioneqrp86] {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,.10);
}
/* Aufnehmen — der eine „authored moment" des Boards: greift man ein Projekt, hebt sich die
   Kachel spürbar an (Tiefe über Schatten, minimale Neigung wie eine angehobene Karte). Reiner
   CSS-Zustand, kein Server-Round-Trip; beim Loslassen klingt sie über dieselbe Kurve zurück. */
.card:active[b-dioneqrp86] {
    cursor: grabbing;
    transform: scale(1.03) rotate(-.5deg);
    box-shadow: 0 12px 26px -8px rgba(0, 0, 0, .30);
    border-color: var(--mud-palette-primary);
}

.card-top[b-dioneqrp86] {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
}
.card-no[b-dioneqrp86] {
    font-size: .68rem;
    font-weight: 700;
    color: var(--mud-palette-text-secondary);
}
.card-status[b-dioneqrp86] {
    margin-left: auto;
    font-size: .62rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 999px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}
.card-title[b-dioneqrp86] {
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--mud-palette-text-primary);
    word-break: break-word;
}
.card-customer[b-dioneqrp86] {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
    font-size: .7rem;
    color: var(--mud-palette-text-secondary);
}
.card-customer[b-dioneqrp86]  .mud-icon-root { font-size: 14px; }
/* /Components/Pages/AvaTenderDetail.razor.rz.scp.css */
.ava-workspace[b-kcgtv44kcp] {
    overflow: hidden;
}

.long-text[b-kcgtv44kcp] {
    background: var(--mud-palette-background-gray);
}

.price-scroll[b-kcgtv44kcp] {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    background: var(--mud-palette-surface);
}

.price-table[b-kcgtv44kcp] {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 920px;
    width: max-content;
    font-size: .82rem;
    font-variant-numeric: tabular-nums;
}

.price-table th[b-kcgtv44kcp],
.price-table td[b-kcgtv44kcp] {
    min-width: 96px;
    padding: 9px 11px;
    border-right: 1px solid var(--mud-palette-table-lines);
    border-bottom: 1px solid var(--mud-palette-table-lines);
    vertical-align: top;
    background: var(--mud-palette-surface);
}

.price-table th[b-kcgtv44kcp] {
    position: sticky;
    top: 0;
    z-index: 3;
    color: var(--mud-palette-text-secondary);
    font-size: .75rem;
    font-weight: 600;
    background: var(--mud-palette-background-gray);
}

.price-table th span[b-kcgtv44kcp] {
    font-weight: 400;
}

.price-table .number[b-kcgtv44kcp] {
    text-align: right;
    white-space: nowrap;
}

.price-table .sticky-col[b-kcgtv44kcp] {
    position: sticky;
    z-index: 2;
}

.price-table th.sticky-col[b-kcgtv44kcp] {
    z-index: 5;
    background: var(--mud-palette-background-gray);
}

.price-table .ordinal[b-kcgtv44kcp] {
    left: 0;
    min-width: 100px;
    width: 100px;
}

.price-table .description[b-kcgtv44kcp] {
    left: 100px;
    min-width: 280px;
    width: 280px;
    box-shadow: 5px 0 8px -8px var(--mud-palette-text-primary);
}

.price-table .estimate[b-kcgtv44kcp] {
    min-width: 120px;
}

.price-table .bidder[b-kcgtv44kcp] {
    min-width: 150px;
    max-width: 190px;
}

.price-table .bidder-cell[b-kcgtv44kcp] {
    position: relative;
}

.price-table .bidder-cell.lowest[b-kcgtv44kcp] {
    background: color-mix(in srgb, var(--mud-palette-success) 13%, var(--mud-palette-surface));
}

.price-table .bidder-cell.missing[b-kcgtv44kcp] {
    color: var(--mud-palette-error);
    background: color-mix(in srgb, var(--mud-palette-error) 7%, var(--mud-palette-surface));
}

.missing-label[b-kcgtv44kcp] {
    font-size: .74rem;
    white-space: nowrap;
}

.deviation[b-kcgtv44kcp] {
    display: block;
    margin-top: 3px;
    color: var(--mud-palette-text-secondary);
    font-size: .7rem;
}

.deviation.strong[b-kcgtv44kcp] {
    color: var(--mud-palette-warning);
    font-weight: 600;
}

.cost-chain[b-kcgtv44kcp] {
    display: grid;
    gap: 9px;
    max-width: 980px;
}

.cost-row[b-kcgtv44kcp] {
    display: grid;
    grid-template-columns: minmax(145px, 190px) minmax(160px, 1fr) 135px;
    gap: 12px;
    align-items: center;
}

.cost-label[b-kcgtv44kcp],
.cost-value[b-kcgtv44kcp] {
    font-size: .82rem;
}

.cost-value[b-kcgtv44kcp] {
    text-align: right;
    white-space: nowrap;
}

.cost-track[b-kcgtv44kcp] {
    height: 18px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--mud-palette-background-gray);
}

.cost-bar[b-kcgtv44kcp] {
    height: 100%;
    min-width: 0;
    border-radius: 4px;
    background: var(--mud-palette-secondary);
}

.cost-bar.budget[b-kcgtv44kcp] { background: var(--mud-palette-tertiary); }
.cost-bar.offer[b-kcgtv44kcp] { background: var(--mud-palette-info); }
.cost-bar.contract[b-kcgtv44kcp],
.cost-bar.award[b-kcgtv44kcp] { background: var(--mud-palette-primary); }
.cost-bar.changes[b-kcgtv44kcp] { background: var(--mud-palette-warning); }
.cost-bar.invoice[b-kcgtv44kcp],
.cost-bar.paid[b-kcgtv44kcp] { background: var(--mud-palette-success); }
.cost-bar.forecast[b-kcgtv44kcp] { background: var(--mud-palette-secondary); }

.hash[b-kcgtv44kcp] {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    white-space: nowrap;
}

.invoice-review[b-kcgtv44kcp] {
    overflow: hidden;
}

.invoice-lines[b-kcgtv44kcp] {
    overflow-x: auto;
}

.finding-resolution[b-kcgtv44kcp] {
    display: grid;
    gap: 4px;
    min-width: 230px;
}

.invoice-review-total[b-kcgtv44kcp] {
    display: grid;
    gap: 6px;
    background: var(--mud-palette-background-gray);
}

.invoice-review-total > div[b-kcgtv44kcp] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: .82rem;
}

.analysis-summary[b-kcgtv44kcp] {
    border-left: 4px solid var(--mud-palette-info);
    background: color-mix(in srgb, var(--mud-palette-info) 5%, var(--mud-palette-surface));
}

.analysis-findings[b-kcgtv44kcp]  .mud-table-cell {
    vertical-align: top;
}

@media (max-width: 600px) {
    .price-table .description[b-kcgtv44kcp] {
        min-width: 220px;
        width: 220px;
    }

    .cost-row[b-kcgtv44kcp] {
        grid-template-columns: 1fr 100px;
        gap: 4px 10px;
    }

    .cost-track[b-kcgtv44kcp] {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}
/* /Components/Pages/CadDigitization.razor.rz.scp.css */
.cad-entry[b-0iu36p6lmq] {
    --cad-ink: #172027;
    --cad-accent: #d45832;
    --cad-rule: #d8dee5;
    color: var(--cad-ink);
}

.cad-entry__hero[b-0iu36p6lmq] {
    align-items: end;
    border-bottom: 1px solid var(--cad-rule);
    display: grid;
    gap: 44px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 34px;
    padding: 8px 0 30px;
}

.cad-kicker[b-0iu36p6lmq],
.cad-section-number[b-0iu36p6lmq] {
    color: var(--cad-accent);
    font-family: "Roboto Mono", "Cascadia Mono", monospace;
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .13em;
}

.cad-entry__hero h1[b-0iu36p6lmq] {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .98;
    margin: 10px 0 16px;
    max-width: 920px;
}

.cad-entry__hero p[b-0iu36p6lmq] {
    color: #55616d;
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0;
    max-width: 720px;
}

.cad-entry__promise[b-0iu36p6lmq] {
    align-items: center;
    display: flex;
    padding-bottom: 8px;
    white-space: nowrap;
}

.cad-entry__promise span[b-0iu36p6lmq] {
    font-family: "Roboto Mono", "Cascadia Mono", monospace;
    font-size: .66rem;
    letter-spacing: .06em;
}

.cad-entry__promise i[b-0iu36p6lmq] {
    background: var(--cad-rule);
    height: 1px;
    margin: 0 10px;
    width: 22px;
}

.cad-entry__grid[b-0iu36p6lmq] {
    display: grid;
    gap: 0;
    grid-template-columns: minmax(310px, 390px) minmax(0, 1fr);
    min-height: 520px;
}

.cad-entry__setup[b-0iu36p6lmq] {
    border-right: 1px solid var(--cad-rule);
    padding: 8px 34px 24px 0;
}

.cad-entry h2[b-0iu36p6lmq] {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: -.025em;
    margin: 8px 0 24px;
}

.cad-field-label[b-0iu36p6lmq] {
    display: block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .045em;
    margin: 18px 0 7px;
    text-transform: uppercase;
}

.cad-select[b-0iu36p6lmq],
.cad-input[b-0iu36p6lmq] {
    background: transparent;
    border: 1px solid #bfc8d1;
    border-radius: 4px;
    box-sizing: border-box;
    color: inherit;
    font: inherit;
    min-height: 44px;
    padding: 9px 11px;
    width: 100%;
}

.cad-select:focus[b-0iu36p6lmq],
.cad-input:focus[b-0iu36p6lmq] {
    border-color: #556975;
    outline: 2px solid rgb(31 107 119 / 14%);
}

.cad-mode-grid[b-0iu36p6lmq] {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    margin-top: 18px;
}

.cad-mode-card[b-0iu36p6lmq] {
    background: transparent;
    border: 1px solid var(--cad-rule);
    border-radius: 3px;
    color: inherit;
    cursor: pointer;
    display: grid;
    gap: 7px;
    min-height: 146px;
    padding: 17px;
    text-align: left;
}

.cad-mode-card strong[b-0iu36p6lmq] { font-size: .96rem; }
.cad-mode-card span[b-0iu36p6lmq] { color: #65717c; font-size: .76rem; line-height: 1.45; }
.cad-mode-card.is-active[b-0iu36p6lmq] { background: #172027; border-color: #172027; color: #fff; }
.cad-mode-card.is-active span[b-0iu36p6lmq] { color: #bdc6cb; }
.cad-mode-card.is-active[b-0iu36p6lmq]  .mud-icon-root { color: #ef7954; }

.cad-entry__setup[b-0iu36p6lmq]  .mud-button-root { border-radius: 3px; margin-top: 20px; min-height: 45px; }

.cad-entry__guardrail[b-0iu36p6lmq] {
    align-items: start;
    border-top: 1px solid var(--cad-rule);
    color: #606b75;
    display: flex;
    gap: 10px;
    margin-top: 26px;
    padding-top: 17px;
}

.cad-entry__guardrail p[b-0iu36p6lmq] { font-size: .76rem; line-height: 1.5; margin: 0; }
.cad-entry__guardrail[b-0iu36p6lmq]  .mud-icon-root { color: #4b8c72; font-size: 1.15rem; }

.cad-entry__existing[b-0iu36p6lmq] { padding: 8px 0 30px 38px; }
.cad-entry__list-head[b-0iu36p6lmq] { align-items: start; display: flex; justify-content: space-between; }
.cad-entry__list-head h2[b-0iu36p6lmq] { margin-bottom: 18px; }
.cad-count[b-0iu36p6lmq] { color: #ccd2d7; font-family: Georgia, serif; font-size: 4.4rem; line-height: .8; }

.cad-entry__empty[b-0iu36p6lmq] {
    align-content: center;
    border: 1px dashed #c8d0d7;
    display: grid;
    justify-items: center;
    min-height: 330px;
    padding: 40px;
    text-align: center;
}

.cad-entry__empty-mark[b-0iu36p6lmq] { color: #b9c1c8; font-family: Georgia, serif; font-size: 5rem; font-weight: 200; line-height: 1; }
.cad-entry__empty h3[b-0iu36p6lmq] { font-family: Georgia, serif; font-size: 1.4rem; font-weight: 400; margin: 12px 0 7px; }
.cad-entry__empty p[b-0iu36p6lmq] { color: #66717b; font-size: .84rem; line-height: 1.55; margin: 0; max-width: 440px; }

.cad-view-list[b-0iu36p6lmq] { border-top: 1px solid var(--cad-rule); }
.cad-view-row[b-0iu36p6lmq] {
    align-items: center;
    border-bottom: 1px solid var(--cad-rule);
    color: inherit;
    display: grid;
    gap: 17px;
    grid-template-columns: 46px minmax(0, 1fr) auto 24px;
    min-height: 82px;
    padding: 10px 5px;
    text-decoration: none;
    transition: background-color 140ms ease, padding 140ms ease;
}
.cad-view-row:hover[b-0iu36p6lmq] { background: rgb(31 107 119 / 6%); padding-left: 12px; }
.cad-view-row__icon[b-0iu36p6lmq] { align-items: center; background: #edf1f4; border-radius: 50%; display: flex; height: 42px; justify-content: center; width: 42px; }
.cad-view-row__body[b-0iu36p6lmq] { display: grid; gap: 4px; }
.cad-view-row__body strong[b-0iu36p6lmq] { font-size: .96rem; }
.cad-view-row__body small[b-0iu36p6lmq] { color: #6b7580; }
.cad-view-row__state[b-0iu36p6lmq] { color: #65717b; font-family: "Roboto Mono", monospace; font-size: .65rem; letter-spacing: .07em; text-transform: uppercase; }
.cad-view-row__arrow[b-0iu36p6lmq] { color: #84909a; }

@media (prefers-color-scheme: dark) {
    .cad-entry[b-0iu36p6lmq] { --cad-ink: #e7ecef; --cad-rule: #3a434b; }
    .cad-entry__hero p[b-0iu36p6lmq], .cad-entry__empty p[b-0iu36p6lmq], .cad-view-row__body small[b-0iu36p6lmq], .cad-view-row__state[b-0iu36p6lmq] { color: #aab4bc; }
    .cad-select[b-0iu36p6lmq], .cad-input[b-0iu36p6lmq] { border-color: #4a555f; }
    .cad-mode-card.is-active[b-0iu36p6lmq] { background: #e4e9ec; border-color: #e4e9ec; color: #172027; }
    .cad-mode-card.is-active span[b-0iu36p6lmq] { color: #53606b; }
    .cad-view-row__icon[b-0iu36p6lmq] { background: #2b333a; }
}

@media (max-width: 900px) {
    .cad-entry__hero[b-0iu36p6lmq] { grid-template-columns: 1fr; }
    .cad-entry__promise[b-0iu36p6lmq] { overflow-x: auto; }
    .cad-entry__grid[b-0iu36p6lmq] { grid-template-columns: 1fr; }
    .cad-entry__setup[b-0iu36p6lmq] { border-bottom: 1px solid var(--cad-rule); border-right: 0; padding-right: 0; }
    .cad-entry__existing[b-0iu36p6lmq] { padding-left: 0; padding-top: 34px; }
}

@media (max-width: 520px) {
    .cad-entry__hero h1[b-0iu36p6lmq] { font-size: 2.55rem; }
    .cad-mode-grid[b-0iu36p6lmq] { grid-template-columns: 1fr; }
    .cad-view-row[b-0iu36p6lmq] { grid-template-columns: 42px minmax(0, 1fr) 20px; }
    .cad-view-row__state[b-0iu36p6lmq] { display: none; }
}
/* /Components/Pages/CadWorkspace.razor.rz.scp.css */
.cad-studio[b-h9z244pw5q] {
    --cad-bg: #e8ecef;
    --cad-panel: #f8f9f8;
    --cad-ink: #1d282e;
    --cad-muted: #69757d;
    --cad-rule: #cfd6da;
    --cad-accent: #c85331;
    background: var(--cad-bg);
    color: var(--cad-ink);
    display: grid;
    grid-template-rows: 58px minmax(0, 1fr);
    height: 100%;
    min-width: 0;
}

.cad-workspace-state[b-h9z244pw5q] {
    align-content: center;
    display: grid;
    gap: 12px;
    height: 100%;
    justify-items: center;
    min-height: 480px;
    padding: 40px;
    text-align: center;
}
.cad-workspace-state h1[b-h9z244pw5q] { font-family: Georgia, serif; font-weight: 400; margin: 0; }
.cad-workspace-state p[b-h9z244pw5q] { color: var(--mud-palette-text-secondary); margin: 0 0 8px; }

.cad-studio__topbar[b-h9z244pw5q] {
    align-items: center;
    background: #172228;
    color: #edf1f2;
    display: grid;
    gap: 18px;
    grid-template-columns: 38px minmax(180px, 1fr) auto minmax(180px, 1fr);
    padding: 0 14px;
}

.cad-back[b-h9z244pw5q] { align-items: center; color: #aeb8bd; display: flex; justify-content: center; }
.cad-title-block[b-h9z244pw5q] { min-width: 0; }
.cad-title-block span[b-h9z244pw5q] { color: #8d9aa1; display: block; font-family: "Roboto Mono", "Cascadia Mono", monospace; font-size: .57rem; letter-spacing: .12em; }
.cad-title-block h1[b-h9z244pw5q] { font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; font-weight: 400; margin: 2px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cad-stage-strip[b-h9z244pw5q] { align-items: center; display: flex; }
.cad-stage-strip[b-h9z244pw5q]  > span { align-items: center; color: #75838a; display: flex; font-size: .62rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.cad-stage-strip[b-h9z244pw5q]  > span:not(:last-child)::after { background: #3c494f; content: ""; height: 1px; margin: 0 8px; width: 20px; }
.cad-stage-strip[b-h9z244pw5q]  > span i { align-items: center; border: 1px solid #536168; border-radius: 50%; display: inline-flex; font-style: normal; height: 16px; justify-content: center; margin-right: 5px; width: 16px; }
.cad-stage-strip[b-h9z244pw5q]  > span.is-complete { color: #dbe2e4; }
.cad-stage-strip[b-h9z244pw5q]  > span.is-complete i { background: #4f8d75; border-color: #4f8d75; color: #fff; }

.cad-top-actions[b-h9z244pw5q] { align-items: center; display: flex; gap: 8px; justify-content: end; }
.cad-icon-button[b-h9z244pw5q], .cad-toolrail button[b-h9z244pw5q] {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
}
.cad-icon-button[b-h9z244pw5q] { border: 1px solid #3e4b51; border-radius: 3px; height: 32px; width: 32px; }

.cad-primary-action[b-h9z244pw5q],
.cad-outline-action[b-h9z244pw5q],
.cad-small-action[b-h9z244pw5q],
.cad-accept-action[b-h9z244pw5q] {
    align-items: center;
    border-radius: 3px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: .74rem;
    font-weight: 700;
    gap: 7px;
    justify-content: center;
    min-height: 34px;
    padding: 7px 11px;
}
.cad-primary-action[b-h9z244pw5q] { background: var(--cad-accent); border: 1px solid var(--cad-accent); color: white; }
.cad-outline-action[b-h9z244pw5q] { background: transparent; border: 1px solid #aeb8bd; color: inherit; width: 100%; }
.cad-small-action[b-h9z244pw5q] { background: #26373f; border: 1px solid #26373f; color: white; }
button:disabled[b-h9z244pw5q] { cursor: not-allowed; opacity: .43; }

.cad-studio__body[b-h9z244pw5q] {
    display: grid;
    grid-template-columns: 292px minmax(360px, 1fr) 268px;
    min-height: 0;
}
/* Kundenansicht (kein Review-Panel): nur Quelle + Canvas, keine leere 3. Spalte. */
.cad-studio__body--solo[b-h9z244pw5q] { grid-template-columns: 292px minmax(360px, 1fr); }

.cad-source-panel[b-h9z244pw5q],
.cad-review-panel[b-h9z244pw5q] {
    background: var(--cad-panel);
    display: grid;
    grid-template-rows: 55px minmax(0, 1fr);
    min-height: 0;
}
.cad-source-panel[b-h9z244pw5q] { border-right: 1px solid var(--cad-rule); }
.cad-review-panel[b-h9z244pw5q] { border-left: 1px solid var(--cad-rule); }
.cad-panel-scroll[b-h9z244pw5q] { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }

.cad-panel-heading[b-h9z244pw5q] {
    align-items: center;
    border-bottom: 1px solid var(--cad-rule);
    display: flex;
    gap: 11px;
    padding: 9px 14px;
}
.cad-panel-heading > span[b-h9z244pw5q] { color: #aeb7bc; font-family: Georgia, serif; font-size: 1.7rem; line-height: 1; }
.cad-panel-heading > div[b-h9z244pw5q] { display: grid; gap: 1px; }
.cad-panel-heading small[b-h9z244pw5q] { color: var(--cad-accent); font-family: "Roboto Mono", monospace; font-size: .54rem; letter-spacing: .13em; }
.cad-panel-heading strong[b-h9z244pw5q] { font-size: .75rem; }

.cad-panel-section[b-h9z244pw5q] { border-bottom: 1px solid var(--cad-rule); padding: 15px 14px; }
.cad-control-label[b-h9z244pw5q] { display: block; font-size: .7rem; font-weight: 700; margin-bottom: 7px; }
.cad-file-input[b-h9z244pw5q] { color: var(--cad-muted); font-size: .68rem; max-width: 100%; }
.cad-file-input[b-h9z244pw5q]::file-selector-button { background: #e4e9ec; border: 1px solid #bdc6cc; border-radius: 2px; color: var(--cad-ink); cursor: pointer; font: inherit; margin-right: 7px; padding: 6px 8px; }
.cad-upload-meta[b-h9z244pw5q] { align-items: center; display: flex; gap: 8px; justify-content: space-between; margin-top: 9px; }
.cad-upload-meta label[b-h9z244pw5q] { align-items: center; color: var(--cad-muted); display: flex; font-size: .64rem; gap: 5px; }
.cad-upload-meta input[b-h9z244pw5q] { border: 1px solid var(--cad-rule); border-radius: 2px; padding: 5px; width: 48px; }

.cad-source-card[b-h9z244pw5q] {
    align-items: center;
    background: #edf1f2;
    border-left: 2px solid #597983;
    display: grid;
    gap: 8px;
    grid-template-columns: 22px minmax(0, 1fr) 20px;
    margin-top: 10px;
    padding: 9px;
}
.cad-source-card > div[b-h9z244pw5q] { display: grid; min-width: 0; }
.cad-source-card strong[b-h9z244pw5q] { font-size: .67rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cad-source-card span[b-h9z244pw5q] { color: var(--cad-muted); font-family: "Roboto Mono", monospace; font-size: .55rem; }
.cad-source-card a[b-h9z244pw5q] { color: var(--cad-muted); }

.cad-section-title[b-h9z244pw5q] { align-items: center; display: flex; justify-content: space-between; margin-bottom: 7px; }
.cad-section-title span[b-h9z244pw5q] { font-size: .69rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.cad-section-title em[b-h9z244pw5q] { color: var(--cad-muted); font-family: "Roboto Mono", monospace; font-size: .55rem; font-style: normal; }
.cad-help[b-h9z244pw5q] { color: var(--cad-muted); font-size: .67rem; line-height: 1.45; margin: 0 0 10px; }
.cad-reopen-note[b-h9z244pw5q] { width: 100%; margin: 6px 0; padding: 6px 8px; border: 1px solid var(--cad-rule); border-radius: 3px; background: var(--cad-panel); color: inherit; font: inherit; font-size: .72rem; resize: vertical; }
.cad-capture-ok[b-h9z244pw5q] { align-items: center; color: #3f7f66; display: flex; font-size: .63rem; gap: 5px; margin-top: 7px; }
.cad-rotation-row[b-h9z244pw5q] { align-items: center; background: #edf1f2; display: grid; grid-template-columns: 32px 1fr 32px; margin-bottom: 8px; }
.cad-rotation-row button[b-h9z244pw5q] { align-items: center; background: transparent; border: 0; color: #51636b; cursor: pointer; display: flex; height: 32px; justify-content: center; }
.cad-rotation-row span[b-h9z244pw5q] { color: var(--cad-muted); font-size: .61rem; text-align: center; }
.cad-rotation-row strong[b-h9z244pw5q] { color: var(--cad-ink); font-family: "Roboto Mono", monospace; }

.cad-measure-row[b-h9z244pw5q] { align-items: stretch; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; margin-bottom: 9px; }
.cad-measure-row input[b-h9z244pw5q] { border: 1px solid #aeb8bd; border-radius: 2px 0 0 2px; min-width: 0; padding: 7px; }
.cad-measure-row > span[b-h9z244pw5q] { align-items: center; background: #e6eaec; border-bottom: 1px solid #aeb8bd; border-top: 1px solid #aeb8bd; color: var(--cad-muted); display: flex; font-size: .58rem; padding: 0 5px; }
.cad-measure-row button[b-h9z244pw5q] { background: #26373f; border: 1px solid #26373f; border-radius: 0 2px 2px 0; color: #fff; cursor: pointer; font-size: .62rem; padding: 5px 8px; }
.cad-reference-row[b-h9z244pw5q] { align-items: center; border-top: 1px dotted #d7dcdf; display: grid; font-size: .62rem; grid-template-columns: 30px 1fr 20px; min-height: 27px; }
.cad-reference-row span[b-h9z244pw5q] { color: var(--cad-accent); font-family: "Roboto Mono", monospace; }
.cad-reference-row button[b-h9z244pw5q] { background: transparent; border: 0; color: #8a9499; cursor: pointer; font-size: 1rem; }
.cad-primary-action--wide[b-h9z244pw5q] { margin-top: 10px; width: 100%; }

.cad-calibration-state[b-h9z244pw5q] { background: #e8f1ed; border-left: 2px solid #4f8d75; display: grid; gap: 2px; margin-top: 9px; padding: 8px; }
.cad-calibration-state.is-conflict[b-h9z244pw5q] { background: #f7ece7; border-color: var(--cad-accent); }
.cad-calibration-state strong[b-h9z244pw5q] { font-size: .65rem; }
.cad-calibration-state span[b-h9z244pw5q], .cad-calibration-state small[b-h9z244pw5q] { color: var(--cad-muted); font-size: .58rem; }
.cad-scale-warning[b-h9z244pw5q] { background: #fff2dc; border-left: 2px solid #b98026; display: grid; gap: 3px; margin-top: 7px; padding: 8px; }
.cad-scale-warning strong[b-h9z244pw5q] { color: #765516; font-size: .64rem; }
.cad-scale-warning span[b-h9z244pw5q], .cad-scale-warning small[b-h9z244pw5q] { color: #765f38; font-size: .58rem; line-height: 1.4; }

.cad-run-card[b-h9z244pw5q] { background: #edf1f2; margin: 8px 0; padding: 9px; }
.cad-run-card > div:first-child[b-h9z244pw5q] { display: flex; font-size: .63rem; justify-content: space-between; }
.cad-progress[b-h9z244pw5q] { background: #d5dce0; height: 3px; margin: 7px 0; overflow: hidden; }
.cad-progress i[b-h9z244pw5q] { background: #397f89; display: block; height: 100%; transition: width 300ms ease; }
.cad-run-card small[b-h9z244pw5q] { color: var(--cad-muted); display: block; font-size: .56rem; }
.cad-run-card p[b-h9z244pw5q] { color: #a4462d; font-size: .61rem; margin: 6px 0 0; }
.cad-run-card p.is-warning[b-h9z244pw5q] { color: #936918; }
.cad-action-pair[b-h9z244pw5q] { display: flex; gap: 6px; }
.cad-action-pair > *[b-h9z244pw5q] { flex: 1; width: auto; }
.cad-pending-merge[b-h9z244pw5q] { background: #fff2dc; border-left: 2px solid #b98026; margin-top: 10px; padding: 9px; }
.cad-pending-merge strong[b-h9z244pw5q] { font-size: .65rem; }
.cad-pending-merge p[b-h9z244pw5q] { color: #756248; font-size: .6rem; line-height: 1.4; margin: 4px 0 8px; }
.cad-pending-merge button[b-h9z244pw5q] { background: transparent; border: 0; color: #8c5c14; cursor: pointer; font-size: .62rem; font-weight: 700; padding: 0; }

.cad-canvas-column[b-h9z244pw5q] { display: grid; grid-template-rows: 42px minmax(0, 1fr) 30px; min-height: 0; min-width: 0; }
.cad-toolrail[b-h9z244pw5q] { align-items: center; background: #f3f5f5; border-bottom: 1px solid var(--cad-rule); display: flex; gap: 3px; overflow-x: auto; padding: 4px 9px; scrollbar-width: thin; }
.cad-toolrail button[b-h9z244pw5q] { border: 1px solid transparent; border-radius: 2px; color: #59666d; flex: 0 0 31px; height: 31px; width: 31px; }
.cad-toolrail button:hover[b-h9z244pw5q] { background: #e4e9eb; }
.cad-toolrail button.is-active[b-h9z244pw5q] { background: #26373f; color: #fff; }
.cad-tool-separator[b-h9z244pw5q] { background: var(--cad-rule); height: 22px; margin: 0 4px; width: 1px; }

.cad-canvas-wrap[b-h9z244pw5q] { background-color: #d9dfe2; background-image: linear-gradient(#cdd4d8 1px, transparent 1px), linear-gradient(90deg, #cdd4d8 1px, transparent 1px); background-size: 24px 24px; min-height: 0; overflow: hidden; position: relative; }
.cad-canvas-wrap.is-capturing[b-h9z244pw5q] { cursor: crosshair; }
.cad-canvas[b-h9z244pw5q] { display: block; height: 100%; outline: none; touch-action: none; width: 100%; }
.cad-view-switcher[b-h9z244pw5q] { background: rgb(243 245 245 / 92%); border: 1px solid #bfc8cc; display: flex; left: 50%; padding: 2px; position: absolute; top: 10px; transform: translateX(-50%); z-index: 2; }
.cad-view-switcher button[b-h9z244pw5q] { background: transparent; border: 0; color: #59666d; cursor: pointer; font-size: .57rem; font-weight: 700; padding: 5px 8px; text-transform: uppercase; }
.cad-view-switcher button.is-active[b-h9z244pw5q] { background: #26373f; color: #fff; }
.cad-canvas-empty[b-h9z244pw5q] { background: rgb(238 241 242 / 92%); border: 1px solid #bdc6cb; left: 50%; max-width: 330px; padding: 28px; position: absolute; text-align: center; top: 50%; transform: translate(-50%, -50%); }
.cad-canvas-empty > span[b-h9z244pw5q] { color: #b9c1c5; font-family: Georgia, serif; font-size: 3rem; }
.cad-canvas-empty h2[b-h9z244pw5q] { font-family: Georgia, serif; font-size: 1.3rem; font-weight: 400; margin: 4px 0; }
.cad-canvas-empty p[b-h9z244pw5q] { color: var(--cad-muted); font-size: .72rem; line-height: 1.5; margin: 0; }
.cad-capture-banner[b-h9z244pw5q] { align-items: center; background: #172228; border-radius: 3px; color: #fff; display: flex; font-size: .68rem; gap: 8px; left: 50%; padding: 8px 12px; position: absolute; top: 12px; transform: translateX(-50%); }
.cad-capture-banner kbd[b-h9z244pw5q] { background: #38464d; border: 1px solid #56646b; border-radius: 2px; font: inherit; padding: 2px 5px; }
.cad-pulse[b-h9z244pw5q] { background: #e66f4d; border-radius: 50%; height: 7px; width: 7px; animation: cadPulse-b-h9z244pw5q 1.3s infinite; }
@keyframes cadPulse-b-h9z244pw5q { 50% { box-shadow: 0 0 0 6px rgb(230 111 77 / 0%); opacity: .65; } }
.cad-coordinate-readout[b-h9z244pw5q] { background: rgb(23 34 40 / 82%); bottom: 9px; color: #dfe5e7; font-family: "Roboto Mono", monospace; font-size: .55rem; left: 9px; padding: 4px 7px; position: absolute; }
.cad-mobile-note[b-h9z244pw5q] { display: none; }

.cad-canvas-footer[b-h9z244pw5q] { align-items: center; background: #f3f5f5; border-top: 1px solid var(--cad-rule); color: var(--cad-muted); display: flex; font-size: .55rem; gap: 13px; padding: 0 9px; }
.cad-canvas-footer span[b-h9z244pw5q] { align-items: center; display: inline-flex; gap: 4px; }
.cad-canvas-footer i[b-h9z244pw5q] { border-radius: 50%; display: inline-block; height: 6px; width: 6px; }
.cad-canvas-footer i.is-ai[b-h9z244pw5q] { background: #263943; }
.cad-canvas-footer i.is-user[b-h9z244pw5q] { background: #267b86; }
.cad-canvas-footer i.is-review[b-h9z244pw5q] { background: #d25a35; }
.cad-canvas-footer__right[b-h9z244pw5q] { margin-left: auto; }
.cad-snap-toggle[b-h9z244pw5q] { align-items: center; cursor: pointer; display: inline-flex; gap: 5px; white-space: nowrap; }
.cad-snap-toggle input[b-h9z244pw5q] { accent-color: #2d6972; margin: 0; }

.cad-review-score[b-h9z244pw5q] { display: grid; grid-template-columns: repeat(3, 1fr); }
.cad-review-score > div[b-h9z244pw5q] { border-bottom: 1px solid var(--cad-rule); border-right: 1px solid var(--cad-rule); display: grid; gap: 2px; padding: 11px 8px; }
.cad-review-score > div:last-child[b-h9z244pw5q] { border-right: 0; }
.cad-review-score span[b-h9z244pw5q] { color: var(--cad-muted); font-size: .55rem; text-transform: uppercase; }
.cad-review-score strong[b-h9z244pw5q] { font-family: Georgia, serif; font-size: 1.3rem; font-weight: 400; }
.cad-review-score .is-alert strong[b-h9z244pw5q] { color: var(--cad-accent); }
.cad-property-editor[b-h9z244pw5q] { display: grid; gap: 8px; }
.cad-property-editor .cad-section-title[b-h9z244pw5q] { margin-bottom: 0; }
.cad-property-editor > label[b-h9z244pw5q] { color: var(--cad-muted); display: grid; font-size: .58rem; gap: 3px; }
.cad-property-editor input[b-h9z244pw5q] { background: #fff; border: 1px solid #bdc6ca; border-radius: 2px; color: var(--cad-ink); font: inherit; font-size: .66rem; min-width: 0; padding: 6px; width: 100%; }
.cad-selected-title[b-h9z244pw5q] { align-items: baseline; display: flex; justify-content: space-between; }
.cad-selected-title strong[b-h9z244pw5q] { font-size: .72rem; }
.cad-selected-title span[b-h9z244pw5q] { color: var(--cad-muted); font-family: "Roboto Mono", monospace; font-size: .52rem; }
.cad-readonly-property[b-h9z244pw5q] { align-items: center; border-bottom: 1px dotted #d4dadd; display: flex; font-size: .6rem; justify-content: space-between; padding: 3px 0; }
.cad-readonly-property span[b-h9z244pw5q] { color: var(--cad-muted); }
.cad-confidence-row[b-h9z244pw5q] { background: #edf1f2; display: grid; grid-template-columns: 1fr auto; padding: 7px; }
.cad-confidence-row span[b-h9z244pw5q], .cad-confidence-row em[b-h9z244pw5q] { color: var(--cad-muted); font-size: .55rem; font-style: normal; }
.cad-confidence-row strong[b-h9z244pw5q] { font-family: Georgia, serif; font-size: 1.05rem; font-weight: 400; grid-row: span 2; }
.cad-property-editor .is-warning[b-h9z244pw5q] { background: #fff2dc; border-left: 2px solid #b98026; color: #765516; font-size: .58rem; margin: 0; padding: 6px; }
.cad-repeat-grid[b-h9z244pw5q] { display: grid; gap: 4px; grid-template-columns: 1fr 1fr; }
.cad-repeat-grid button[b-h9z244pw5q] { background: #edf1f2; border: 1px solid #c6ced2; color: #46575f; cursor: pointer; font-size: .56rem; min-height: 28px; padding: 4px; }
.cad-small-action--block[b-h9z244pw5q] { margin-top: 7px; width: 100%; }
.cad-review-clear[b-h9z244pw5q] { align-items: center; color: #3f7f66; display: grid; gap: 3px; justify-items: center; padding: 12px 5px; text-align: center; }
.cad-review-clear strong[b-h9z244pw5q] { font-size: .68rem; }
.cad-review-clear span[b-h9z244pw5q] { color: var(--cad-muted); font-size: .58rem; }

.cad-layer-row[b-h9z244pw5q] { align-items: center; cursor: pointer; display: grid; font-size: .65rem; gap: 8px; grid-template-columns: 16px 7px 1fr; min-height: 29px; }
.cad-layer-row input[b-h9z244pw5q] { accent-color: #2d6972; }
.cad-layer-row i[b-h9z244pw5q] { border-radius: 50%; height: 7px; width: 7px; }
.cad-accept-section[b-h9z244pw5q] { background: #eef1f1; }
.cad-accept-section > p[b-h9z244pw5q] { color: var(--cad-muted); font-size: .63rem; line-height: 1.45; margin: 0 0 10px; }
.cad-drawing-export[b-h9z244pw5q] { background: #fff; border-left: 2px solid #2f7b86; margin-bottom: 12px; padding: 9px; }
.cad-drawing-export > strong[b-h9z244pw5q] { font-size: .68rem; }
.cad-drawing-export > p[b-h9z244pw5q] { color: var(--cad-muted); font-size: .6rem; line-height: 1.45; margin: 4px 0 0; }
.cad-accept-action[b-h9z244pw5q] { background: #26373f; border: 1px solid #26373f; color: white; width: 100%; }
.cad-accepted-stamp[b-h9z244pw5q] { border: 1px solid #5d8a75; color: #45735e; display: grid; justify-items: center; margin-top: 10px; padding: 8px; transform: rotate(-1deg); }
.cad-accepted-stamp span[b-h9z244pw5q] { font-family: "Roboto Mono", monospace; font-size: .72rem; font-weight: 800; letter-spacing: .18em; }
.cad-accepted-stamp small[b-h9z244pw5q] { font-size: .55rem; }
.cad-export-links[b-h9z244pw5q] { display: grid; gap: 4px; margin-top: 10px; }
.cad-export-links a[b-h9z244pw5q] { color: #286b76; font-size: .65rem; font-weight: 700; }

@media (max-width: 1180px) {
    .cad-studio__body[b-h9z244pw5q] { grid-template-columns: 270px minmax(340px, 1fr) 238px; }
    .cad-stage-strip[b-h9z244pw5q] { display: none; }
    .cad-studio__topbar[b-h9z244pw5q] { grid-template-columns: 38px minmax(180px, 1fr) auto; }
}

@media (max-width: 900px) {
    .cad-studio[b-h9z244pw5q] { display: block; min-height: calc(100dvh - 64px); }
    .cad-studio__topbar[b-h9z244pw5q] { grid-template-columns: 34px minmax(0, 1fr); min-height: 58px; }
    .cad-top-actions[b-h9z244pw5q] { grid-column: 1 / -1; background: #172228; justify-content: stretch; margin: 0 -14px; padding: 7px 14px; }
    .cad-top-actions .cad-primary-action[b-h9z244pw5q] { flex: 1; }
    .cad-studio__body[b-h9z244pw5q] { display: flex; flex-direction: column; }
    .cad-source-panel[b-h9z244pw5q], .cad-review-panel[b-h9z244pw5q] { display: block; }
    .cad-panel-scroll[b-h9z244pw5q] { max-height: none; overflow: visible; }
    .cad-canvas-column[b-h9z244pw5q] { min-height: 480px; order: -1; }
    .cad-toolrail button:not(:first-child):not(:nth-child(2)):not(:last-child)[b-h9z244pw5q] { display: none; }
    .cad-mobile-note[b-h9z244pw5q] { background: rgb(23 34 40 / 88%); bottom: 42px; color: white; display: block; font-size: .66rem; left: 12px; padding: 8px 10px; position: absolute; right: 12px; }
    .cad-source-panel[b-h9z244pw5q] { border-right: 0; }
    .cad-review-panel[b-h9z244pw5q] { border-left: 0; }
    .cad-canvas-footer__right[b-h9z244pw5q] { display: none !important; }
    .cad-snap-toggle[b-h9z244pw5q] { display: none; }
    .cad-view-switcher[b-h9z244pw5q] { max-width: calc(100% - 20px); overflow-x: auto; }
}
/* /Components/Pages/Support.razor.rz.scp.css */
/* Öffentliches Kontakt-/Support-Formular. Läuft über EmptyLayout OHNE MudThemeProvider →
   lokale Tokens + prefers-color-scheme, konsistent zur Login-Seite (Atrium-Teal). */
.sup[b-7n302pln06] {
    --page: #eef1f5;
    --surface: #ffffff;
    --ink: #10131a;
    --muted: #6b7280;
    --line: #e6e8ec;
    --field: #f6f7f9;
    --field-focus: #ffffff;
    --accent: #1F6B77;
    --accent-deep: #17545E;
    --accent-glow: rgba(31, 107, 119, .14);
    --danger: #c0563b;

    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 24px;
    background: var(--page);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
    .sup[b-7n302pln06] {
        --page: #12151b;
        --surface: #1f242b;
        --ink: #E6E9EC;
        --muted: #9BA4AE;
        --line: #333A42;
        --field: #23282f;
        --field-focus: #262c34;
        --accent: #6FB1C0;
        --accent-deep: #5b97a4;
        --accent-glow: rgba(111, 177, 192, .16);
        --danger: #e08a72;
    }
}

.card[b-7n302pln06] {
    width: min(680px, 100%);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 24px 60px -20px rgba(15, 17, 21, .28);
    padding: 32px clamp(22px, 4vw, 44px) 36px;
}

.top[b-7n302pln06] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.logo[b-7n302pln06] { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo .mark[b-7n302pln06] {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, #1F6B77, #2D7D8A);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 18px -6px rgba(31, 107, 119, .6);
}
.logo .mark svg[b-7n302pln06] { width: 20px; height: 20px; }
.logo > span:last-child[b-7n302pln06] { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.back[b-7n302pln06] { font-size: .85rem; color: var(--accent); text-decoration: none; font-weight: 600; }
.back:hover[b-7n302pln06] { text-decoration: underline; }

.intro h1[b-7n302pln06] { font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; }
.intro p[b-7n302pln06] { color: var(--muted); margin-top: 8px; font-size: .95rem; line-height: 1.6; margin-bottom: 22px; }

.form[b-7n302pln06] { display: flex; flex-direction: column; gap: 16px; }
.field[b-7n302pln06] { display: flex; flex-direction: column; }
.field > label[b-7n302pln06] { font-size: .82rem; font-weight: 600; margin-bottom: 7px; letter-spacing: .01em; }
.field .opt[b-7n302pln06] { color: var(--muted); font-weight: 400; }
.grid2[b-7n302pln06] { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ::deep, weil InputText/InputTextArea Kind-Komponenten sind (ihr <input> trägt das Scope-Attribut nicht). */
.field[b-7n302pln06]  .in {
    width: 100%; height: 46px; padding: 0 14px;
    border: 1.5px solid var(--line); background: var(--field);
    border-radius: 11px; font-size: .95rem; color: var(--ink);
    box-sizing: border-box; transition: border-color .15s, background .15s, box-shadow .15s;
    font-family: inherit;
}
.field[b-7n302pln06]  .in.area { height: auto; padding: 12px 14px; line-height: 1.55; resize: vertical; min-height: 120px; }
.field[b-7n302pln06]  .in::placeholder { color: #aab0ba; }
.field[b-7n302pln06]  .in:focus {
    outline: none; border-color: var(--accent); background: var(--field-focus);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.field[b-7n302pln06]  .val { color: var(--danger); font-size: .78rem; margin-top: 5px; }

/* Anliegen-Auswahl als Karten */
.kinds[b-7n302pln06] { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kind[b-7n302pln06] {
    position: relative; display: flex; flex-direction: column; gap: 2px;
    padding: 12px 14px 12px 40px; border: 1.5px solid var(--line); border-radius: 12px;
    background: var(--field); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
}
.kind:hover[b-7n302pln06] { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.kind.sel[b-7n302pln06] { border-color: var(--accent); background: var(--field-focus); box-shadow: 0 0 0 3px var(--accent-glow); }
.kind[b-7n302pln06]  input[type="radio"] { position: absolute; left: 13px; top: 14px; width: 17px; height: 17px; accent-color: var(--accent); }
.kind .kt[b-7n302pln06] { font-weight: 600; font-size: .9rem; }
.kind .kd[b-7n302pln06] { font-size: .78rem; color: var(--muted); }

.btn[b-7n302pln06] {
    display: inline-flex; align-items: center; justify-content: center;
    height: 48px; padding: 0 20px; border: none; border-radius: 11px; cursor: pointer;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color: #fff; font-size: .98rem; font-weight: 600; text-decoration: none;
    box-shadow: 0 12px 24px -10px rgba(31, 107, 119, .6);
    transition: filter .12s, box-shadow .12s, transform .12s;
    font-family: inherit;
}
.btn:hover[b-7n302pln06] { filter: brightness(1.07); box-shadow: 0 16px 30px -10px rgba(31, 107, 119, .7); }
.btn:active[b-7n302pln06] { transform: translateY(1px); }
.btn.submit[b-7n302pln06] { width: 100%; margin-top: 4px; }
.btn.ghost[b-7n302pln06] { background: transparent; color: var(--accent); border: 1.5px solid var(--line); box-shadow: none; }
.btn.ghost:hover[b-7n302pln06] { filter: none; border-color: var(--accent); }

.hint[b-7n302pln06] { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 2px; }

.alert[b-7n302pln06] {
    background: color-mix(in srgb, var(--danger) 12%, var(--surface));
    color: var(--danger);
    border: 1px solid color-mix(in srgb, var(--danger) 30%, var(--surface));
    padding: .65rem .8rem; border-radius: 10px; font-size: .86rem; margin-bottom: 16px;
}

/* Erfolgs-/Danke-Zustand */
.done[b-7n302pln06] { text-align: center; padding: 18px 8px 8px; }
.done .check[b-7n302pln06] {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
    background: color-mix(in srgb, var(--accent) 16%, var(--surface));
    color: var(--accent); display: flex; align-items: center; justify-content: center;
}
.done .check svg[b-7n302pln06] { width: 30px; height: 30px; }
.done h1[b-7n302pln06] { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.done p[b-7n302pln06] { color: var(--muted); margin-top: 8px; line-height: 1.6; }
.done .actions[b-7n302pln06] { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

@media (max-width: 560px) {
    .grid2[b-7n302pln06] { grid-template-columns: 1fr; }
    .kinds[b-7n302pln06] { grid-template-columns: 1fr; }
    .card[b-7n302pln06] { padding: 26px 20px 30px; }
}
/* /Components/Shared/CalendarBoard.razor.rz.scp.css */
/* Bildlaufhinweis für das Monatsgitter — dieselbe Aussage wie an den Tabellen (app.css,
   `.mud-table-container`), aus dem in CalendarBoard.razor begründeten Grund als Überlagerer.
   Farbe und Breite sind bewusst identisch: 14 px, über die Textfarbe gemischt, damit der Hinweis
   auch auf der dunklen Fläche (#23282F) sichtbar bleibt, wo ein schwarzer Schatten verschwände. */

.grid-scroll[b-kp0s5uvc2v] {
    position: relative;
}

.grid-scroll-pane[b-kp0s5uvc2v] {
    overflow-x: auto;
}

/* Das Gitter hat eine Mindestbreite von 640 px. Der Behälter ist so breit wie der Inhaltsbereich,
   also Fensterbreite minus 32 px Rand des MudContainer (px-4) — bei 390 px gemessen: 358.
   Er rollt somit genau unterhalb von 672 px Fensterbreite; ab 960 px ist die Navigationsleiste
   ohnehin ausgeklappt und der Bereich mindestens 654 px breit. Der Hinweis erscheint deshalb nur
   unter 672 px: dort rollt das Gitter immer, und oberhalb wäre er eine Behauptung ohne Deckung.

   Kein `local`-Trick wie bei den Tabellen, also verschwindet der Hinweis am rechten Ende nicht von
   selbst — dafür bräuchte es JavaScript pro Bildlauf (bewusst nicht: siehe den entfernten Helfer
   atriumHScroll) oder bildlaufgesteuerte Animation, die hier noch nicht überall greift. Ein
   dauerhaft sichtbarer Hinweis ist die ehrlichere Näherung: er sagt „hier geht es seitwärts", und
   das bleibt auf dem Telefon in jeder Bildlaufposition wahr. */
@media (max-width: 671.98px) {
    .grid-scroll[b-kp0s5uvc2v]::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 14px;
        border-radius: 0 6px 6px 0;
        pointer-events: none;
        background: linear-gradient(to left,
            color-mix(in srgb, var(--mud-palette-text-primary) 18%, transparent), transparent);
    }
}
/* /Components/Shared/DocxTemplateDetailEditor.razor.rz.scp.css */
/* Vorlagentext zum Markieren: monospaced, Umbrüche erhalten, eigener Scrollbereich.
   Farben ausschliesslich über MudBlazor-Palette, damit Hell- und Dunkelmodus tragen. */
.docx-source[b-p1vs6k8nyf] {
    white-space: pre-wrap;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    max-height: 60vh;
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    background: color-mix(in srgb, var(--mud-palette-text-primary) 3%, var(--mud-palette-surface));
}

.docx-source[b-p1vs6k8nyf]::selection {
    background: color-mix(in srgb, var(--mud-palette-secondary) 35%, transparent);
}
/* /Components/Shared/EmptyState.razor.rz.scp.css */
/* Leerzustand — ruhig, aber nicht leer. Muster wie StatusBadge.razor.css: scoped CSS statt Inline-Styles. */

.empty[b-i2pwtuprgj] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 6px 0 2px;
}

/* Mittig nur auf Anforderung (Center). Die Flex-Achse UND die Textausrichtung müssen mit:
   align-items zentriert die Zeilen als Blöcke, text-align den Umbruch innerhalb einer Zeile —
   ohne das zweite steht ein zweizeiliger Satz mittig gestellt, aber innen linksbündig. */
.empty.center[b-i2pwtuprgj] {
    align-items: center;
    text-align: center;
}

.text[b-i2pwtuprgj] {
    margin: 0;
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
}

/* Der nächste Schritt trägt die Akzentfarbe und mehr Gewicht — er ist das Einzige, was hier anklickbar ist. */
.action[b-i2pwtuprgj] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--mud-palette-secondary);
    text-decoration: none;
    border-radius: 4px;
}

.action:hover[b-i2pwtuprgj] {
    text-decoration: underline;
}

/* Sichtbarer Fokus für Tastaturbedienung — der Ring darf nicht am Text kleben. */
.action:focus-visible[b-i2pwtuprgj] {
    outline: 2px solid var(--mud-palette-secondary);
    outline-offset: 3px;
    text-decoration: underline;
}

/* Erklärung statt Handlung: gedämpfter als die Aussage darüber, damit die Reihenfolge stimmt. */
.hint[b-i2pwtuprgj] {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--mud-palette-text-secondary);
    opacity: 0.75;
}
/* /Components/Shared/LoadingRows.razor.rz.scp.css */
/* Ladeskelett — Muster wie EmptyState.razor.css: scoped CSS statt Inline-Styles. */

.rows[b-r3am9922z3] {
    padding: 8px;
}

/* 48 px liegt zwischen der Mindesthöhe aus app.css (44) und der gemessenen echten Zeile (56).
   Bewusst eine Näherung: echte Zeilen wachsen mit umbrechenden Titeln. */
.row[b-r3am9922z3] {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 12px;
    border-bottom: 1px solid var(--mud-palette-table-lines);
}

.row:last-child[b-r3am9922z3] {
    border-bottom: none;
}

/* Nur für Hilfstechnik: trägt die Ansage, die vorher der Fortschrittsbalken selbst mitbrachte.
   Nicht display:none — das nähme sie auch dem Screenreader. */
.sr-only[b-r3am9922z3] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* /Components/Shared/MyNotesCard.razor.rz.scp.css */
/* Notizen-Karte nach Designvorlage (theme-getrieben → hell + dunkel) */
.notes[b-n6tx6loexi] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 24px;
}

.notes-head[b-n6tx6loexi] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    cursor: pointer;
    user-select: none;
}
/* Eingeklappt: nur die Kopfzeile, ohne Abstand nach unten */
.notes.collapsed[b-n6tx6loexi] { padding: 12px 22px; }
.notes.collapsed .notes-head[b-n6tx6loexi] { margin-bottom: 0; }
.notes-head .count[b-n6tx6loexi] {
    font-size: .75rem;
    font-weight: 700;
    line-height: 1;
    padding: 3px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mud-palette-primary) 14%, var(--mud-palette-surface));
    color: var(--mud-palette-primary);
}
.notes-head .chev[b-n6tx6loexi] { margin-left: auto; color: var(--mud-palette-text-secondary); }
.notes-head .ic[b-n6tx6loexi] {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--mud-palette-primary) 12%, var(--mud-palette-surface));
    color: var(--mud-palette-primary);
}
.notes-head .ic[b-n6tx6loexi]  .mud-icon-root { font-size: 19px; }
.notes-head .title[b-n6tx6loexi] { font-size: 1.05rem; font-weight: 700; color: var(--mud-palette-text-primary); }
.notes-head .tag[b-n6tx6loexi] { font-size: .8rem; font-weight: 500; color: var(--mud-palette-text-secondary); }

.note-input[b-n6tx6loexi] { display: flex; gap: 12px; align-items: flex-start; }

.empty[b-n6tx6loexi] { margin-top: 14px; font-size: .86rem; color: var(--mud-palette-text-disabled); }

.note-item[b-n6tx6loexi] {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--mud-palette-lines-default);
    background: color-mix(in srgb, var(--mud-palette-text-primary) 3%, var(--mud-palette-surface));
}

/* Notiztext: mehrzeilig (Enter bleibt erhalten); im eingeklappten Zustand auf 3 Zeilen begrenzt */
.note-body[b-n6tx6loexi] {
    margin: 0;
    font-size: .875rem;
    line-height: 1.5;
    color: var(--mud-palette-text-primary);
    white-space: pre-wrap;
    word-break: break-word;
}
.note-body.clamped[b-n6tx6loexi] {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.note-date[b-n6tx6loexi] {
    font-size: .75rem;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}
/* /Components/Shared/PageHeader.razor.rz.scp.css */
/* Seitenkopf — Muster wie EmptyState.razor.css: scoped CSS statt Inline-Styles.
   Den Abstand nach unten setzt bewusst NICHT diese Datei, sondern `.atrium-page-head` in app.css
   (20 px). So bleibt der Wert dort, wo er schon stand, und ist an einer Stelle änderbar. */

/* Rücksprung: 8 px Abstand nach unten — derselbe Wert, den die fünf Detailseiten vorher einzeln als
   `Class="mb-2"` mitgaben. Jetzt steht er einmal hier.
   Die Klasse sitzt auf der <div>-Hülle, nicht am MudButton — begründet in PageHeader.razor. */
.back[b-m2iidib0yb] {
    margin-bottom: 8px;
}

.head[b-m2iidib0yb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
}

/* Drei Fälle wollen hier gleichzeitig richtig sein, und sie widersprechen sich:

   1. /firmen — mit der Vorgabe `flex-basis: auto` zählt die INHALTSBREITE der ganzen Titelgruppe.
      Eine lange Unterzeile („Ausführende Firmen, Fachplaner und Gutachter — …") macht sie damit
      breiter als der Rest der Zeile, und die Aktion bricht unter den Text um, statt rechts zu stehen.
   2. Projektdetail — der rechte Slot ist breit (Phasenleiste PH0–LP9, Statusplakette, Ampel).
      Schrumpft die Titelspalte daneben ungebremst, bricht der Projektname mehrzeilig um, obwohl
      daneben eine ganze Zeile frei wäre.
   3. Projektzuweisung — Titel 218 px, Werkzeuge 395, zusammen 629 von 718 verfügbaren. Es passt;
      eine erfundene Untergrenze (erster Versuch: 320 px) erzwang hier trotzdem einen Umbruch.

   Alle drei löst `flex-basis: auto` — WENN nur die Titelzeile über die natürliche Breite
   abstimmt. Denn die Umbruchentscheidung einer Flex-Zeile fällt über die Wunschbreite der Kinder
   (max-content), nicht über ihre Mindestbreite: passt Titel + Aktionen nebeneinander, bleiben sie
   nebeneinander (Fall 3); passen sie nicht, rutschen die Aktionen komplett in die zweite Zeile und
   der Titel bekommt die volle Breite (Fall 2). `min-width: 0` erlaubt dabei ausdrücklich, dass die
   Spalte enger wird als der Titel lang ist — dann bricht er um, statt hinauszulaufen.

   Der Vorgänger löste 2 und 3 über `white-space: nowrap` auf der Titelzeile (deren Mindestbreite
   wird damit ihre volle Breite, und `min-width: auto` macht das zur Untergrenze der Spalte). Das
   hatte eine Grenze ohne Ausweg: reichte die Zeile nicht, lief der Titel seitlich aus der Seite
   heraus. Am laufenden System gemessen mit „Sanierung und Erweiterung Verwaltungsgebäude Stadtwerke
   Aschaffenburg" (69 Zeichen, 803 px): bei 640 px Fensterbreite schob das die GANZE Seite 179 px
   nach rechts, bei 1024 px mit offener Navigation 69 px — jedes andere Element wanderte mit. Die
   Schwelle lag bei etwa 51 Zeichen, also mitten im Alltag eines Architekturbüros. */
.titles[b-m2iidib0yb] {
    flex: 1 1 auto;
    min-width: 0;
}

/* Nur die Titelzeile stimmt über die natürliche Breite der Spalte ab (siehe oben). Die Unterzeile
   wird davon ausgenommen: `width: 0` nimmt ihr die Stimme, `min-width: 100%` gibt ihr die Breite
   der Spalte zurück. Ohne das wäre Fall 1 wieder da. */
.sub[b-m2iidib0yb] {
    width: 0;
    min-width: 100%;
}

/* Symbol und Überschrift auf einer Grundlinie. Immer vorhanden, auch ohne Symbol — dann ist es
   schlicht eine Flex-Zeile mit einem Kind und ändert nichts. */
.title-row[b-m2iidib0yb] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.actions[b-m2iidib0yb] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Unter sm (MudBlazor-Grenze 600 px) untereinander statt nebeneinander. Bei 390 px schrumpfte die
   Titelspalte sonst auf rund 167 px, und eine normale Unterzeile brach dort dreizeilig neben dem
   Knopf um — lesbar, aber gedrängt. Gestapelt bekommt der Text die volle Breite und die Aktion
   steht darunter, wo sie auf dem Telefon ohnehin leichter zu treffen ist. */
@media (max-width: 599.98px) {
    .head[b-m2iidib0yb] {
        flex-direction: column;
        align-items: stretch;
    }

}
/* /Components/Shared/PhaseStepper.razor.rz.scp.css */
.phase-stepper[b-z4jj7vec78] {
    display: inline-flex;
    gap: 2px;
    flex-wrap: wrap;
}

.phase-step[b-z4jj7vec78] {
    font-size: .68rem;
    font-weight: 600;
    padding: .1rem .4rem;
    border-radius: 6px;
    color: var(--mud-palette-text-disabled);
    background: var(--mud-palette-background-gray);
}

.phase-step.active[b-z4jj7vec78] {
    color: var(--mud-palette-primary-text);
    background: var(--mud-palette-primary);
    font-weight: 700;
}
/* /Components/Shared/PmDashboard.razor.rz.scp.css */
/* PL-Dashboard nach Designvorlage: KPI-Karten mit Akzentkante + ruhige Tabelle (theme-getrieben) */
.kpis[b-pz71fow7no] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 26px;
}

.kpi[b-pz71fow7no] {
    position: relative;
    overflow: hidden;
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
}
.kpi[b-pz71fow7no]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent);
}
.kpi.brand[b-pz71fow7no]  { --accent: var(--mud-palette-secondary); }
.kpi.amber[b-pz71fow7no]  { --accent: var(--mud-palette-warning); }
.kpi.orange[b-pz71fow7no] { --accent: #E0843B; }
.kpi.red[b-pz71fow7no]    { --accent: var(--mud-palette-error); }

.kpi .label[b-pz71fow7no] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    margin-bottom: 10px;
}
.kpi .label[b-pz71fow7no]  .mud-icon-root { font-size: 18px; }
.kpi .value[b-pz71fow7no] {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
    color: var(--mud-palette-text-primary);
    font-variant-numeric: tabular-nums;
}
.kpi .trend[b-pz71fow7no] { margin-top: 8px; font-size: .78rem; color: var(--mud-palette-text-secondary); }

/* Tagesgruß: die vier KPI-Karten steigen beim Laden EINMALIG sanft auf (gedeckelter Versatz).
   Ruhezustand ist sichtbar (keine opacity:0-Basis) — fällt die Animation weg, bleibt nichts verborgen.
   Exponentielles Ausklingen aus bereits sichtbarer Ordnung; prefers-reduced-motion neutralisiert Dauer+Versatz global. */
@keyframes kpi-rise-b-pz71fow7no { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.kpi[b-pz71fow7no] { animation: kpi-rise-b-pz71fow7no .5s cubic-bezier(.16, 1, .3, 1) both; }
.kpi:nth-child(2)[b-pz71fow7no] { animation-delay: .06s; }
.kpi:nth-child(3)[b-pz71fow7no] { animation-delay: .12s; }
.kpi:nth-child(4)[b-pz71fow7no] { animation-delay: .18s; }

/* Tabelle: abgerundete Karte + Versal-Header */
.pm-dash[b-pz71fow7no]  .table-card { overflow: hidden; }
.pm-dash[b-pz71fow7no]  .mud-table-head .mud-table-cell {
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: .72rem;
    background: color-mix(in srgb, var(--mud-palette-text-primary) 4%, var(--mud-palette-surface));
}

@media (max-width: 960px) {
    .kpis[b-pz71fow7no] { grid-template-columns: repeat(2, 1fr); }
}
/* /Components/Shared/RagIndicator.razor.rz.scp.css */
.rag-dot[b-dft3kfe6u7] {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--rag-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--rag-color) 22%, transparent);
}
/* /Components/Shared/StatusBadge.razor.rz.scp.css */
.status-badge[b-jpdxg68c73] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.4;
    /* Text zu 50 % zur Theme-Textfarbe hin verankert ⇒ verifizierter AA-Kontrast (≥4.5:1) in Hell UND
       Dunkel für alle Katalogtöne; Farbton bleibt über den vollen Statuspunkt (::before) + Flächen-Tint
       klar erkennbar. (Bei 88 % lagen mid-tone-Töne im Dunkelmodus bei nur ~2.7–3.5:1.) */
    color: color-mix(in srgb, var(--badge-color) 50%, var(--mud-palette-text-primary));
    background: color-mix(in srgb, var(--badge-color) 16%, var(--mud-palette-surface));
    border: 1px solid color-mix(in srgb, var(--badge-color) 40%, var(--mud-palette-surface));
    white-space: nowrap;
    gap: 6px;
}

/* führender Statuspunkt (wie Designvorlage) */
.status-badge[b-jpdxg68c73]::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex: none;
    background: var(--badge-color);
}
/* /Components/Shared/TimerWidget.razor.rz.scp.css */
.atrium-timer-pill[b-pgffanig04] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 12px;
    margin: 0 4px;
    border: 1px solid var(--mud-palette-divider);
    border-radius: 19px;
    cursor: pointer;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--mud-palette-text-primary);
    background: var(--mud-palette-background-gray);
    user-select: none;
    white-space: nowrap;
    transition: border-color .15s ease, background .15s ease;
}

.atrium-timer-pill:hover[b-pgffanig04] {
    border-color: var(--mud-palette-primary);
    background: var(--mud-palette-action-default-hover);
}

.atrium-timer-proj[b-pgffanig04] {
    color: var(--mud-palette-text-secondary);
    font-weight: 500;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.atrium-timer-dot[b-pgffanig04] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mud-palette-warning);
    flex: 0 0 auto;
}

.atrium-timer-pill.running .atrium-timer-dot[b-pgffanig04] {
    background: var(--mud-palette-success);
    animation: atrium-timer-pulse-b-pgffanig04 1.5s ease-in-out infinite;
}

@keyframes atrium-timer-pulse-b-pgffanig04 {
    0%, 100% { box-shadow: 0 0 0 0 rgba(75, 155, 127, .55); opacity: 1; }
    50% { box-shadow: 0 0 0 5px rgba(75, 155, 127, 0); opacity: .6; }
}
