/* /../Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-89fojsejzv] {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    background: #f4f6f8;
}

.app-sidebar[b-89fojsejzv] {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 24px 18px;
    color: #fff;
    background: linear-gradient(180deg, #9d0b18 0%, #6f0710 100%);
    box-shadow: 4px 0 18px rgba(62, 7, 12, .14);
}

.app-brand[b-89fojsejzv] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    padding: 0 8px 22px;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

.app-brand strong[b-89fojsejzv],
.app-brand small[b-89fojsejzv] {
    display: block;
}

.app-brand strong[b-89fojsejzv] {
    font-size: 1.25rem;
    letter-spacing: .02em;
}

.app-brand small[b-89fojsejzv] {
    color: rgba(255,255,255,.72);
    font-size: .76rem;
}

.brand-mark[b-89fojsejzv] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff;
    color: #9d0b18;
    font-size: 1.35rem;
    font-weight: 800;
}

.app-nav[b-89fojsejzv] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 20px;
}

.mode-switch[b-89fojsejzv] { display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; border:1px solid #ffffff50; border-radius:10px; }
.mode-switch button[b-89fojsejzv] { border:0; border-radius:7px; padding:10px 5px; background:transparent; color:white; font-weight:600; }
.mode-switch button.active[b-89fojsejzv] { background:white; color:#8c0a15; }
.mode-switch button:focus-visible[b-89fojsejzv] { outline:2px solid white; outline-offset:3px; }

.nav-section[b-89fojsejzv] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-caption[b-89fojsejzv] {
    padding: 0 12px 5px;
    color: rgba(255,255,255,.6);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.app-nav[b-89fojsejzv]  .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 9px;
    color: rgba(255,255,255,.88);
    text-decoration: none;
    font-size: .92rem;
    transition: background .15s ease, color .15s ease;
}

.app-nav[b-89fojsejzv]  .nav-link:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
}

.app-nav[b-89fojsejzv]  .nav-link.active {
    background: #fff;
    color: #8c0a15;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(49, 3, 7, .14);
}

.nav-icon[b-89fojsejzv] {
    width: 22px;
    text-align: center;
    font-weight: 800;
}

.app-main[b-89fojsejzv] {
    min-width: 0;
}

.app-topbar[b-89fojsejzv] {
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 30px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid #e2e6ea;
    backdrop-filter: blur(8px);
}

.topbar-start[b-89fojsejzv] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-button[b-89fojsejzv],
.mobile-menu-backdrop[b-89fojsejzv] {
    display: none;
}

.app-topbar strong[b-89fojsejzv],
.app-topbar span[b-89fojsejzv] {
    display: block;
}

.app-topbar span[b-89fojsejzv] {
    color: #69737d;
    font-size: .82rem;
}

.topbar-action[b-89fojsejzv] {
    padding: 9px 14px;
    border-radius: 9px;
    background: #9d0b18;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.topbar-action:hover[b-89fojsejzv] {
    background: #780812;
    color: #fff;
}

.app-content[b-89fojsejzv] {
    padding: 28px 30px 44px;
}

@media (max-width: 820px) {
    .app-shell[b-89fojsejzv] {
        display: block;
    }

    .app-sidebar[b-89fojsejzv] {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 50;
        width: min(86vw, 340px);
        height: 100dvh;
        padding: max(18px, env(safe-area-inset-top)) 16px 28px;
        transform: translateX(-105%);
        transition: transform .22s ease;
        box-shadow: 8px 0 28px rgba(30, 3, 6, .28);
    }

    .app-sidebar.mobile-open[b-89fojsejzv] {
        transform: translateX(0);
    }

    .mobile-menu-backdrop[b-89fojsejzv] {
        position: fixed;
        inset: 0;
        z-index: 45;
        display: block;
        padding: 0;
        border: 0;
        background: rgba(20, 24, 28, .46);
    }

    .app-brand[b-89fojsejzv] {
        padding-bottom: 14px;
    }

    .app-nav[b-89fojsejzv] {
        display: flex;
        gap: 16px;
        padding-top: 14px;
    }

    .nav-caption[b-89fojsejzv] {
        padding-left: 8px;
    }

    .app-topbar[b-89fojsejzv] {
        position: sticky;
        padding: 10px 14px;
    }

    .mobile-menu-button[b-89fojsejzv] {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        flex: 0 0 auto;
        padding: 0;
        border: 1px solid #d8dde1;
        border-radius: 10px;
        color: #fff;
        background: #9d0b18;
        font-size: 1.35rem;
        font-weight: 800;
    }

    .app-content[b-89fojsejzv] {
        padding: 20px 16px 36px;
    }
}

@media (max-width: 520px) {
    .app-topbar span[b-89fojsejzv] {
        display: none;
    }

    .topbar-action[b-89fojsejzv] {
        font-size: .82rem;
    }
}
/* /../Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-a3kfnoze1e] {
    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-a3kfnoze1e] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-a3kfnoze1e] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-a3kfnoze1e] {
    font-size: 1.1rem;
}

.bi[b-a3kfnoze1e] {
    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-a3kfnoze1e] {
    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-a3kfnoze1e] {
    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-a3kfnoze1e] {
    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-a3kfnoze1e] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-a3kfnoze1e] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-a3kfnoze1e] {
        padding-bottom: 1rem;
    }

    .nav-item[b-a3kfnoze1e]  .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-a3kfnoze1e]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-a3kfnoze1e]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-a3kfnoze1e] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-a3kfnoze1e] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-a3kfnoze1e] {
        display: none;
    }

    .nav-scrollable[b-a3kfnoze1e] {
        /* 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/Pages/Angebot.razor.rz.scp.css */
.position-order-cell[b-fukfbav031] { min-width: 112px; vertical-align: top; }
.position-number[b-fukfbav031] { display: block; margin-bottom: 8px; font-weight: 600; white-space: nowrap; }
.position-order-buttons[b-fukfbav031] { display: flex; gap: 8px; }
.position-move[b-fukfbav031] { min-width: 44px; min-height: 44px; padding: 6px 12px; font-size: 1.25rem; touch-action: manipulation; }
.position-move:disabled[b-fukfbav031] { opacity: .35; cursor: not-allowed; }
.position-move:focus-visible[b-fukfbav031] { outline: 3px solid #184e80; outline-offset: 2px; }
.position-order-help[b-fukfbav031] { margin: 12px 0 4px; }
.position-order-feedback[b-fukfbav031] { margin: 4px 0; min-height: 1.3em; color: #35495e; }
/* /../Components/Pages/Lagerbestand.razor.rz.scp.css */
.location-fields[b-7rft8t88ua] {
    min-width: 0;
    margin: 20px 0 0;
    padding: 16px;
    border: 1px solid var(--app-border);
    border-radius: 12px;
}

.location-fields legend[b-7rft8t88ua] {
    float: none;
    width: auto;
    margin: 0;
    padding: 0 6px;
    font-size: 1rem;
    font-weight: 600;
}

.location-grid[b-7rft8t88ua] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.location-hint[b-7rft8t88ua] {
    margin: 12px 0 0;
    font-size: .875rem;
}

.stock-filters[b-7rft8t88ua] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.stock-location[b-7rft8t88ua] {
    min-width: 150px;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .location-grid[b-7rft8t88ua],
    .stock-filters[b-7rft8t88ua] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /../Components/Pages/Rechnung.razor.rz.scp.css */
.position-order-cell[b-0vum75aozn] { min-width: 112px; vertical-align: top; }
.position-number[b-0vum75aozn] { display: block; margin-bottom: 8px; font-weight: 600; white-space: nowrap; }
.position-order-buttons[b-0vum75aozn] { display: flex; gap: 8px; }
.position-move[b-0vum75aozn] { min-width: 44px; min-height: 44px; padding: 6px 12px; font-size: 1.25rem; touch-action: manipulation; }
.position-move:disabled[b-0vum75aozn] { opacity: .35; cursor: not-allowed; }
.position-move:focus-visible[b-0vum75aozn] { outline: 3px solid #184e80; outline-offset: 2px; }
.position-order-help[b-0vum75aozn] { margin: 12px 0 4px; }
.position-order-feedback[b-0vum75aozn] { margin: 4px 0; min-height: 1.3em; color: #35495e; }
/* /../Components/Pages/Werkstatt.razor.rz.scp.css */
.workshop-page[b-h88p2fml46] { max-width: 1440px; }
.workshop-editor[b-h88p2fml46] { margin-bottom: 24px; }
.workshop-page fieldset[b-h88p2fml46] { border: 0; padding: 0; margin: 0; min-width: 0; }
.workshop-page fieldset:disabled[b-h88p2fml46] { opacity: .9; }
.workshop-error[b-h88p2fml46] { border-left: 4px solid #b63838; color: #7f2525; }
.workshop-error ul[b-h88p2fml46] { margin: 0; padding-left: 20px; }
.workshop-object[b-h88p2fml46] { display: flex; gap: 14px; flex-wrap: wrap; font-size: 1.1rem; }
.preserve-lines[b-h88p2fml46] { white-space: pre-wrap; overflow-wrap: anywhere; }
.vehicle-identity[b-h88p2fml46] { display: flex; gap: 8px 20px; flex-wrap: wrap; margin: 12px 0; color: #4b5a6b; font-size: .92rem; overflow-wrap: anywhere; }
.vehicle-details[b-h88p2fml46] { margin-top: 20px; padding: 16px; border: 1px solid #dce4ea; border-radius: 12px; background: #f7fafc; }
.vehicle-details summary[b-h88p2fml46] { font-weight: 700; cursor: pointer; }
.vehicle-add[b-h88p2fml46] { margin-top: 18px; }
.postal-fields[b-h88p2fml46] { display: grid; grid-template-columns: 100px 1fr; gap: 8px; }
.position-heading[b-h88p2fml46] { margin-top: 28px; }
.workshop-position[b-h88p2fml46] { padding: 18px; border: 1px solid #dce4ea; border-radius: 12px; margin-bottom: 12px; background: #fbfcfd; }
.position-title[b-h88p2fml46], .position-footer[b-h88p2fml46] { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.position-title[b-h88p2fml46] { margin-bottom: 12px; }
.position-footer[b-h88p2fml46] { margin-top: 12px; }
.position-footer span[b-h88p2fml46] { color: #617080; font-size: .9rem; }
.workshop-add[b-h88p2fml46] { padding-top: 12px; }
.stock-search[b-h88p2fml46] { margin-top: 20px; }
.stock-results[b-h88p2fml46] { max-height: 320px; overflow-y: auto; border: 1px solid #dce4ea; border-radius: 10px; padding: 8px; }
.stock-result[b-h88p2fml46] { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; border-bottom: 1px solid #edf0f3; }
.stock-result:last-child[b-h88p2fml46] { border-bottom: 0; }
.stock-result span[b-h88p2fml46] { display: block; color: #617080; margin-top: 3px; font-size: .9rem; }
.summary-fields[b-h88p2fml46] { margin-top: 22px; }
.workshop-filters[b-h88p2fml46] { margin-bottom: 20px; }
.workshop-cards[b-h88p2fml46] { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.workshop-card[b-h88p2fml46] { padding: 18px; border: 1px solid #dce4ea; border-radius: 12px; min-width: 0; }
.workshop-card h3[b-h88p2fml46] { margin: 0 0 8px; overflow-wrap: anywhere; }
.workshop-card p[b-h88p2fml46] { margin: 8px 0; }
.task-list[b-h88p2fml46] { display: grid; gap: 10px; margin: 20px 0; }
.mechanic-task[b-h88p2fml46] { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid #dce4ea; border-radius: 10px; cursor: pointer; }
.mechanic-task input[b-h88p2fml46] { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 auto; }
.mechanic-task span span[b-h88p2fml46], .compact-tasks small[b-h88p2fml46] { display: block; color: #617080; margin-top: 5px; }
.compact-tasks[b-h88p2fml46] { list-style: none; padding: 0; margin: 12px 0; }
.compact-tasks li[b-h88p2fml46] { border-top: 1px solid #edf0f3; padding: 10px 0; }
.workshop-page a.app-button[b-h88p2fml46] { text-decoration: none; }
@media (max-width: 700px) {
    .workshop-cards[b-h88p2fml46] { grid-template-columns: 1fr; }
    .workshop-page .form-grid[b-h88p2fml46], .workshop-page .form-grid.three-columns[b-h88p2fml46] { grid-template-columns: 1fr; }
    .workshop-page .actions[b-h88p2fml46] { flex-wrap: wrap; }
    .stock-result[b-h88p2fml46] { align-items: flex-start; }
}
