/* /Components/Layout/AuthLayout.razor.rz.scp.css */
.auth-shell[b-ix3cu7di02] {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: var(--erp-page-bg, var(--erp-bg));
    color: var(--erp-text);
    box-sizing: border-box;
}

/* Child pages (Login / AccessDenied / AuthError) render in @Body */
[b-ix3cu7di02] .auth-card {
    width: 100%;
    max-width: 22rem;
    background: var(--erp-surface, #fff);
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius, 12px);
    box-shadow: var(--erp-shadow-md);
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

[b-ix3cu7di02] .auth-card--loading {
    min-height: 8rem;
    justify-content: center;
}

[b-ix3cu7di02] .auth-env-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
    align-self: flex-end;
    margin-bottom: 0.25rem;
}

[b-ix3cu7di02] .auth-logo {
    /* Exact Aktiv 114 PNG — 80% card width, contain so full mark is never cropped. */
    display: block;
    width: 80%;
    max-width: 16rem;
    height: auto;
    max-height: none;
    margin: 0.35rem 0 0.65rem;
    object-fit: contain;
    object-position: center;
}

[b-ix3cu7di02] .auth-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--erp-text);
    letter-spacing: -0.01em;
}

[b-ix3cu7di02] .auth-help {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--erp-text-secondary, var(--erp-muted));
}

[b-ix3cu7di02] .auth-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.75rem;
    margin-top: 0.5rem;
    font-weight: 600;
    text-decoration: none;
}

[b-ix3cu7di02] .auth-cta:focus-visible {
    outline: 2px solid var(--erp-primary);
    outline-offset: 2px;
}

[b-ix3cu7di02] .auth-footnote {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    color: var(--erp-text-muted, var(--erp-muted));
}

[b-ix3cu7di02] .auth-muted {
    margin: 0;
    color: var(--erp-muted);
    font-size: 0.9rem;
}

[b-ix3cu7di02] .auth-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    color: var(--erp-muted);
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    [b-ix3cu7di02] .auth-card {
        max-width: 100%;
        padding: 1.5rem 1.15rem 1.25rem;
    }

    [b-ix3cu7di02] .auth-logo {
        width: 85%;
        max-width: 14rem;
    }
}
/* /Components/Layout/ExternalCustomerLayout.razor.rz.scp.css */
.customer-shell[b-94setj5x9c] {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--erp-bg, #f4f7f6);
    color: var(--erp-text, #1f2937);
    overflow: visible;
}

.customer-topbar[b-94setj5x9c] {
    --customer-logo-h: 5.5rem;
    --customer-pad: 0.75rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: auto;
    min-height: calc(var(--customer-logo-h) + (var(--customer-pad) * 2));
    padding: var(--customer-pad) 1.5rem var(--customer-pad) var(--customer-pad);
    border-bottom: 1px solid var(--erp-border, #d7e3df);
    background: #ffffff;
    color: #1f2937;
    overflow: visible;
}

.customer-brand[b-94setj5x9c] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    padding: 0.15rem;
    margin: 0;
    line-height: 0;
    overflow: visible;
    text-decoration: none;
}

.customer-brand-logo[b-94setj5x9c] {
    /* Same Aktiv 114 partner mark as /leverancer — full mark visible, never cropped. */
    height: var(--customer-logo-h);
    width: auto;
    max-height: var(--customer-logo-h);
    max-width: min(14rem, 55vw);
    flex-shrink: 0;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.customer-topbar[b-94setj5x9c]  .top-avatar {
    width: 2.6rem;
    height: 2.6rem;
}

.customer-topbar-right[b-94setj5x9c] {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    color: #1f2937;
}

.customer-org-name[b-94setj5x9c] {
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    max-width: 16rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customer-topbar[b-94setj5x9c]  .top-user-name,
.customer-topbar[b-94setj5x9c]  .erp-user-menu-btn {
    color: #1f2937;
}

@media (max-width: 640.98px) {
    .customer-topbar[b-94setj5x9c] {
        --customer-logo-h: 4.5rem;
        --customer-pad: 0.6rem;
    }

    .customer-org-name[b-94setj5x9c] {
        max-width: 8.5rem;
    }
}

.customer-main[b-94setj5x9c] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.impersonation-banner[b-94setj5x9c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.55rem 1.25rem;
    background: #8a4b12;
    color: #fff8ef;
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(84, 45, 8, 0.35);
    position: sticky;
    top: 0;
    z-index: 25;
}

.impersonation-banner strong[b-94setj5x9c] {
    font-weight: 700;
}

.impersonation-banner .btn[b-94setj5x9c] {
    white-space: nowrap;
}
/* /Components/Layout/ExternalDeliveryLayout.razor.rz.scp.css */
.partner-shell[b-nmt1zrejoy] {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--erp-bg, #f4f7f6);
    color: var(--erp-text, #1f2937);
    overflow: visible;
}

.partner-topbar[b-nmt1zrejoy] {
    flex: 0 0 auto;
    /*
      Partner mark (/branding/partner-logo.png — Aktiv 114) is a wide black canvas
      with the tall red 360.DK on the right. Absolute logo height + overflow unlock
      so the mark stays fully readable (not a NavMenu 34px stub).
    */
    --partner-logo-h: 5.5rem;
    --partner-pad: 0.75rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    /* Height follows logo + padding — never a fixed box that can crop the img. */
    height: auto;
    min-height: calc(var(--partner-logo-h) + (var(--partner-pad) * 2));
    padding: var(--partner-pad) 1.5rem var(--partner-pad) var(--partner-pad);
    border-bottom: 1px solid var(--erp-border, #d7e3df);
    background: #ffffff;
    /* Pin dark chrome text — theme tokens can be light (sidebar) and wash out on white. */
    color: #1f2937;
    overflow: visible;
}

.partner-brand[b-nmt1zrejoy] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    /* Dedicated padded slot — logo cannot touch the header chrome edges. */
    padding: 0.15rem;
    margin: 0;
    line-height: 0;
    overflow: visible;
    text-decoration: none;
}

.partner-brand-logo[b-nmt1zrejoy] {
    /* Exact Aktiv 114 partner-logo.png — full red 360.DK + SCANNING visible (contain, never cover). */
    height: var(--partner-logo-h);
    width: auto;
    max-height: var(--partner-logo-h);
    max-width: min(14rem, 55vw);
    flex-shrink: 0;
    object-fit: contain;
    object-position: left center;
    display: block;
}

/* Avatar stays normal chrome size — do not scale with the tall logo header. */
.partner-topbar[b-nmt1zrejoy]  .top-avatar {
    width: 2.6rem;
    height: 2.6rem;
}

.partner-topbar-right[b-nmt1zrejoy] {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    color: #1f2937;
}

.partner-org-name[b-nmt1zrejoy] {
    font-size: 0.875rem;
    font-weight: 600;
    /* Explicit slate — never inherit white/--erp-text-secondary from dark themes. */
    color: #334155;
    max-width: 16rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* User badge name beside org must stay readable on the white partner topbar. */
.partner-topbar[b-nmt1zrejoy]  .top-user-name,
.partner-topbar[b-nmt1zrejoy]  .erp-user-menu-btn {
    color: #1f2937;
}

@media (max-width: 640.98px) {
    .partner-topbar[b-nmt1zrejoy] {
        --partner-logo-h: 4.5rem;
        --partner-pad: 0.6rem;
    }

    .partner-org-name[b-nmt1zrejoy] {
        max-width: 8.5rem;
    }
}

.partner-main[b-nmt1zrejoy] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* Staff preview of partner /leverancer — same chrome, clear return to ERP. */
.partner-staff-preview-banner[b-nmt1zrejoy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.55rem 1.25rem;
    background: #8a4b12;
    color: #fff8ef;
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(84, 45, 8, 0.35);
    position: sticky;
    top: 0;
    z-index: 25;
    flex: 0 0 auto;
}

.partner-staff-preview-banner strong[b-nmt1zrejoy] {
    font-weight: 700;
}

.partner-staff-preview-banner .btn[b-nmt1zrejoy] {
    white-space: nowrap;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-011m54lohy] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow: hidden;
    background: var(--erp-page-bg, var(--erp-bg));
}

.workspace[b-011m54lohy] {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    /* Visible so + Opret absolute menu can paint over workspace-body */
    overflow: visible;
}

.workspace-body[b-011m54lohy] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.sidebar[b-011m54lohy] {
    background: var(--erp-sidebar-bg, var(--erp-sidebar));
    color: var(--erp-sidebar-text);
    transition: width var(--erp-transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    position: relative;
    z-index: 1; /* below viewport modals (Generér leads z-index 2000) */
}

/* Immersive editors — hide sidebar (incl. icon-rail) so content gets full width. */
.page.nav-hidden .sidebar[b-011m54lohy] {
    display: none !important;
}

/* Lift page max-width (1240px) so Lokationer/map can use the freed horizontal space. */
.page.nav-hidden[b-011m54lohy]  .erp-page {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.page.nav-hidden article.content[b-011m54lohy] {
    padding-left: 1rem;
    padding-right: 1rem;
}

.top-row[b-011m54lohy] {
    background: color-mix(in srgb, var(--erp-surface) 94%, transparent);
    /* Blur on ::before — backdrop-filter on this element creates a containing block
       for position:fixed. Menu uses absolute under header outside scroll clip. */
    border-bottom: 1px solid var(--erp-border);
    height: var(--erp-header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--erp-page-padding-x, 1.25rem);
    position: relative;
    z-index: 200;
    overflow: visible;
    flex: 0 0 auto;
}

.top-row[b-011m54lohy]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.top-row-left[b-011m54lohy], .top-row-right[b-011m54lohy] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}
.top-row-left[b-011m54lohy] {
    min-width: 0;
    flex: 1 1 auto;
}
.top-row-right[b-011m54lohy] {
    flex: 0 0 auto;
    flex-shrink: 0;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.top-context[b-011m54lohy] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.top-crumb[b-011m54lohy] {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--erp-muted);
    letter-spacing: 0.02em;
}

.env-badge[b-011m54lohy] {
    display: inline-flex;
    align-items: center;
    margin-left: 0.35rem;
    padding: 0.12rem 0.45rem;
    border-radius: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #f59e0b;
}

.top-sep[b-011m54lohy] { color: var(--erp-border-strong); font-size: 0.8rem; }

.top-module[b-011m54lohy] {
    font-size: 0.875rem;
    font-weight: 650;
    color: var(--erp-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-icon-btn[b-011m54lohy] {
    appearance: none;
    border: 1px solid var(--erp-border);
    background: var(--erp-surface);
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--erp-text-secondary);
    cursor: pointer;
    transition: background var(--erp-transition), border-color var(--erp-transition);
}
.top-icon-btn:hover[b-011m54lohy] {
    background: var(--erp-surface-2);
    border-color: var(--erp-border-strong);
}

.top-user-chip[b-011m54lohy] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem 0.55rem 0.2rem 0.2rem;
    border: 1px solid var(--erp-border);
    border-radius: 999px;
    background: var(--erp-surface);
}

/* Profile avatar + fold-out menu styles: UserProfileMenu.razor.css (child isolation). */

article.content[b-011m54lohy] {
    padding: var(--erp-page-padding-y, 1.35rem) var(--erp-page-padding-x, 1.35rem) calc(var(--erp-page-padding-y, 1.35rem) + 0.9rem);
    flex: 1 1 auto;
    min-height: 0;
    overflow: visible;
    background: var(--erp-page-bg, var(--erp-bg));
}

@media (max-width: 640.98px) {
    .page[b-011m54lohy] {
        height: auto;
        min-height: 100dvh;
        max-height: none;
        overflow: visible;
    }
    .workspace[b-011m54lohy] { overflow: visible; }
    .workspace-body[b-011m54lohy] { overflow: visible; }
    .top-row[b-011m54lohy] { padding: 0 0.85rem; }
    article.content[b-011m54lohy] {
        padding: var(--erp-page-padding-y, 1rem) var(--erp-page-padding-x, 0.85rem) calc(var(--erp-page-padding-y, 1rem) + 1rem);
        overflow: visible;
    }
}

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

    .sidebar[b-011m54lohy] {
        width: var(--erp-sidebar-w);
        height: 100%;
        flex-shrink: 0;
        border-right: 1px solid color-mix(in srgb, var(--erp-sidebar-text) 12%, transparent);
    }

    .page.nav-collapsed .sidebar[b-011m54lohy] {
        width: var(--erp-sidebar-w-collapsed);
    }

    /* Immersive editors (e.g. BBR lokation) — hide rail entirely so content/map get full width. */
    .page.nav-hidden .sidebar[b-011m54lohy] {
        display: none;
    }

    article.content[b-011m54lohy] {
        padding: var(--erp-page-padding-y, 1.65rem) var(--erp-page-padding-x, 1.85rem) calc(var(--erp-page-padding-y, 1.65rem) + 1.1rem);
    }
}

.impersonation-banner[b-011m54lohy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.55rem 1.25rem;
    background: #8a4b12;
    color: #fff8ef;
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(84, 45, 8, 0.35);
    position: sticky;
    top: 0;
    z-index: 25;
    flex: 0 0 auto;
}

.impersonation-banner strong[b-011m54lohy] {
    font-weight: 700;
}

.impersonation-banner .btn[b-011m54lohy] {
    white-space: nowrap;
}

#blazor-error-ui[b-011m54lohy] {
    color-scheme: light only;
    background: #fff7ed;
    color: #9a3412;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.65rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 0.875rem;
}

#blazor-error-ui .dismiss[b-011m54lohy] {
    cursor: pointer;
    position: absolute;
    right: 0.85rem;
    top: 0.55rem;
}

#blazor-error-ui .reload[b-011m54lohy] {
    margin-left: 0.5rem;
    font-weight: 600;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.brand-row[b-8k6gm9ds4r] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--erp-header-h);
    padding: 0.85rem 0.85rem 0.85rem 1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--erp-sidebar-text) 12%, transparent);
    gap: 0.35rem;
    flex-shrink: 0;
}

.brand[b-8k6gm9ds4r] {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--erp-sidebar-text);
    min-width: 0;
    padding: 0.15rem 0;
}

.brand-logo[b-8k6gm9ds4r] {
    height: 34px;
    width: auto;
    max-width: 168px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.nav-collapse-btn[b-8k6gm9ds4r] {
    appearance: none;
    border: 1px solid color-mix(in srgb, var(--erp-sidebar-text) 18%, transparent);
    background: color-mix(in srgb, var(--erp-sidebar-text) 6%, transparent);
    color: var(--erp-sidebar-text-muted, var(--erp-sidebar-muted));
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.nav-collapse-btn:hover[b-8k6gm9ds4r] {
    color: var(--erp-sidebar-text);
    background: color-mix(in srgb, var(--erp-sidebar-text) 12%, transparent);
}
.nav-collapse-btn:focus-visible[b-8k6gm9ds4r] {
    outline: 2px solid var(--erp-accent, #0aa39e);
    outline-offset: 2px;
}

.navbar-toggler[b-8k6gm9ds4r] {
    appearance: none;
    cursor: pointer;
    width: 2.6rem;
    height: 2.2rem;
    position: absolute;
    top: 0.7rem;
    right: 0.85rem;
    border: 1px solid color-mix(in srgb, var(--erp-sidebar-text) 18%, transparent);
    border-radius: 6px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28200, 220, 222, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.4rem color-mix(in srgb, var(--erp-sidebar-text) 8%, transparent);
}

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

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

/* Vertical column — never wrap into multi-column */
.nav-root[b-8k6gm9ds4r] {
    padding: 0.5rem 0.45rem 1.25rem 0.55rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-width: 0;
}

.nav-group[b-8k6gm9ds4r] {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 0;
}

.nav-group + .nav-group[b-8k6gm9ds4r] {
    margin-top: var(--erp-sidebar-group-gap, 1.25rem);
}

.nav-group-label[b-8k6gm9ds4r] {
    display: block;
    margin: 0.35rem 0.65rem 0.35rem;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-transform: uppercase;
    color: var(--erp-sidebar-text-muted, var(--erp-sidebar-muted));
    flex: 0 0 auto;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-group:first-child .nav-group-label[b-8k6gm9ds4r] {
    margin-top: 0.2rem;
}

.nav-subgroup-label[b-8k6gm9ds4r] {
    display: block;
    margin: 0.35rem 0.65rem 0.15rem 1.35rem;
    padding: 0;
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.05em;
    line-height: 1.35;
    text-transform: uppercase;
    color: var(--erp-sidebar-text-muted, var(--erp-sidebar-muted));
    flex: 0 0 auto;
    width: calc(100% - 1.35rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-root[b-8k6gm9ds4r]  .nav-link.nav-link-nested,
.nav-root[b-8k6gm9ds4r]  a.nav-link.nav-link-nested {
    padding-left: 1.55rem;
}

/* ::deep — NavLink renders <a> in a child component; isolation must pierce */
.nav-root[b-8k6gm9ds4r]  .nav-link,
.nav-root[b-8k6gm9ds4r]  a.nav-link {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: var(--erp-sidebar-item-height, 42px);
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    margin: 0;
    padding: 0.55rem 0.65rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--erp-sidebar-text);
    text-decoration: none;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    box-sizing: border-box;
    transition: background 140ms ease, color 140ms ease;
    cursor: pointer;
    flex: 0 0 auto;
    float: none;
}
.nav-root[b-8k6gm9ds4r]  .nav-link span,
.nav-root[b-8k6gm9ds4r]  a.nav-link span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.nav-root[b-8k6gm9ds4r]  .nav-link:hover,
.nav-root[b-8k6gm9ds4r]  a.nav-link:hover {
    background: var(--erp-sidebar-hover-bg, rgba(255, 255, 255, 0.06));
    color: var(--erp-sidebar-hover-text, #f8fafc);
}

.nav-root[b-8k6gm9ds4r]  .nav-link:hover .nav-ico,
.nav-root[b-8k6gm9ds4r]  a.nav-link:hover .nav-ico {
    color: var(--erp-sidebar-hover-text, #f8fafc);
    opacity: 1;
}

.nav-root[b-8k6gm9ds4r]  .nav-link:focus-visible,
.nav-root[b-8k6gm9ds4r]  a.nav-link:focus-visible {
    outline: 2px solid var(--erp-accent, #0aa39e);
    outline-offset: 1px;
}

/* Soft rounded active pill — keep structure, compact weight/radius */
.nav-root[b-8k6gm9ds4r]  a.nav-link.active,
.nav-root[b-8k6gm9ds4r]  .nav-link.active {
    background: var(--erp-sidebar-active-bg, #e4f5f3);
    color: var(--erp-sidebar-active-text, #056c68);
    font-weight: 600;
    border-radius: 8px;
    box-shadow: none;
}

.nav-root[b-8k6gm9ds4r]  a.nav-link.active span,
.nav-root[b-8k6gm9ds4r]  .nav-link.active span {
    font-weight: 600;
}

.nav-root[b-8k6gm9ds4r]  a.nav-link.active .nav-ico,
.nav-root[b-8k6gm9ds4r]  .nav-link.active .nav-ico {
    opacity: 1;
    color: var(--erp-sidebar-active-text, #056c68);
}

.nav-root[b-8k6gm9ds4r]  .nav-ico {
    width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.92;
    font-size: 1.05rem;
    line-height: 1;
    font-family: "bootstrap-icons" !important;
    font-style: normal;
    speak: never;
}
.nav-root[b-8k6gm9ds4r]  .nav-ico::before {
    font-family: "bootstrap-icons" !important;
    line-height: 1;
}

.nav-auth[b-8k6gm9ds4r] {
    margin-top: 1.1rem;
    padding-top: 0.55rem;
    border-top: 1px solid color-mix(in srgb, var(--erp-sidebar-text) 14%, transparent);
}

.nav-auth .nav-link[b-8k6gm9ds4r],
.nav-root[b-8k6gm9ds4r]  .nav-auth .nav-link {
    margin: 0;
}

@media (max-width: 640.98px) {
    .nav-root[b-8k6gm9ds4r]  .nav-link,
    .nav-root[b-8k6gm9ds4r]  a.nav-link {
        min-height: 44px;
    }
}

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

    .nav-scrollable[b-8k6gm9ds4r] {
        display: block;
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
        scrollbar-width: thin;
    }

    .nav-scrollable.is-collapsed .nav-root[b-8k6gm9ds4r]  .nav-link,
    .nav-scrollable.is-collapsed .nav-root[b-8k6gm9ds4r]  a.nav-link {
        justify-content: center;
        padding: 0.55rem 0.35rem;
    }

    .nav-scrollable.is-collapsed .nav-group-label[b-8k6gm9ds4r],
    .nav-scrollable.is-collapsed .nav-root[b-8k6gm9ds4r]  .nav-link span,
    .nav-scrollable.is-collapsed .nav-root[b-8k6gm9ds4r]  a.nav-link span {
        display: none;
    }

    .nav-scrollable.is-collapsed .brand-logo[b-8k6gm9ds4r] {
        height: 22px;
        max-width: 40px;
    }
}

.brand-row:has(+ .navbar-toggler + .nav-scrollable.is-collapsed)[b-8k6gm9ds4r],
:global(.nav-collapsed) .brand-row[b-8k6gm9ds4r] {
    justify-content: center;
    padding-inline: 0.45rem;
}

:global(.nav-collapsed) .brand-logo[b-8k6gm9ds4r] {
    height: 22px;
    max-width: 40px;
}
/* /Components/Layout/ProductionLayout.razor.rz.scp.css */
/* Mobile production shell.
   Layout-owned chrome uses plain selectors.
   Page content in @Body MUST use ::deep (CSS isolation) — same pattern as AuthLayout.
   Mockup lock: page #F3F4F6, white cards, light-teal date box, teal Kort outline. */

.prod-shell[b-jgi52y4g1f] {
    --prod-page-bg: #f3f4f6;
    --prod-card-bg: #ffffff;
    --prod-tab-h: 6.5rem;
    --prod-top-h: 3.6rem;
    --prod-teal: #0d5c63;
    --prod-teal-soft: #e6f2f2;
    --prod-ink: #0f172a;
    --prod-muted: #64748b;
    --prod-radius: 1rem;
    --prod-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    --prod-icon: 1.55em;
    --prod-icon-lg: 1.85em;
    font-size: 17px;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--prod-page-bg);
    color: var(--prod-ink);
    font-family: var(--erp-font, system-ui, sans-serif);
    line-height: 1.35;
    padding-bottom: env(safe-area-inset-bottom, 0);
    -webkit-text-size-adjust: 100%;
}

.prod-top[b-jgi52y4g1f] {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: var(--prod-top-h);
    padding: 0.85em 1rem 0.55em;
    padding-top: max(0.85em, env(safe-area-inset-top, 0));
    background: var(--prod-page-bg);
}

.prod-top-row[b-jgi52y4g1f] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.prod-top-title[b-jgi52y4g1f] {
    font-weight: 800;
    font-size: 1.75em;
    line-height: 1.1;
    color: var(--prod-ink);
    letter-spacing: -0.02em;
}

.prod-top-link[b-jgi52y4g1f] {
    font-size: 1em;
    font-weight: 700;
    color: var(--prod-teal);
    text-decoration: none;
    flex-shrink: 0;
}

.prod-main[b-jgi52y4g1f] {
    flex: 1 1 auto;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0));
    max-width: 40rem;
    width: 100%;
    margin: 0 auto;
    font-size: 1em;
    background: var(--prod-page-bg);
}

/* Home scan filter — fixed bottom bar (either/or: Afventer scan | Scannet). */
[b-jgi52y4g1f] .prod-home-list {
    padding-bottom: 5.25rem;
}

[b-jgi52y4g1f] .prod-scan-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    padding: 0.65rem 1rem max(0.75rem, env(safe-area-inset-bottom, 0));
    background: var(--prod-page-bg);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06);
}

[b-jgi52y4g1f] .prod-scan-segment {
    display: flex;
    max-width: 40rem;
    margin: 0 auto;
    border: 1px solid rgba(13, 92, 99, 0.28);
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--prod-card-bg);
}

[b-jgi52y4g1f] .prod-scan-segment button {
    flex: 1 1 0;
    border: none;
    margin: 0;
    padding: 0.75rem 0.4rem;
    font-size: 0.88em;
    font-weight: 800;
    line-height: 1.15;
    color: var(--prod-muted);
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

[b-jgi52y4g1f] .prod-scan-segment button + button {
    border-left: 1px solid rgba(13, 92, 99, 0.2);
}

[b-jgi52y4g1f] .prod-scan-segment button.active {
    color: #fff;
    background: var(--prod-teal);
}

/* Legacy bottom tabs removed — time is registered per visit. Keep unused rules out of layout. */
.prod-tabs[b-jgi52y4g1f],
.prod-tabs-inner[b-jgi52y4g1f],
.prod-tab[b-jgi52y4g1f] {
    display: none !important;
}

/* Status actions on visit detail — same pill language as bottom tabs. */
[b-jgi52y4g1f] .prod-status-actions {
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    gap: 0.55rem;
    width: 100%;
}

[b-jgi52y4g1f] .prod-status-action {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2em;
    min-height: 3.65rem;
    padding: 0.45rem 0.4rem;
    color: var(--prod-teal);
    font-size: 0.9em;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    border: 2px solid var(--prod-teal);
    border-radius: 999px;
    background: var(--prod-card-bg);
    box-shadow: var(--prod-shadow);
    cursor: pointer;
}

[b-jgi52y4g1f] .prod-status-action i {
    font-size: 1.4em;
    line-height: 1;
}

[b-jgi52y4g1f] .prod-status-action:disabled {
    opacity: 0.55;
    cursor: default;
}

[b-jgi52y4g1f] .prod-status-action.is-active,
[b-jgi52y4g1f] .prod-status-action:not(:disabled):active {
    color: #fff;
    background: var(--prod-teal);
    border-color: var(--prod-teal);
    opacity: 1;
}

[b-jgi52y4g1f] .prod-time-list {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 0.35rem;
}

[b-jgi52y4g1f] .prod-time-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.2rem 0.5rem;
    align-items: center;
    width: 100%;
    text-align: left;
    border: 1px solid color-mix(in srgb, var(--prod-teal) 22%, #dbe3e8);
    border-radius: var(--prod-radius);
    background: var(--prod-card-bg);
    box-shadow: var(--prod-shadow);
    padding: 0.75rem 0.85rem;
    color: var(--prod-ink);
    cursor: pointer;
}

[b-jgi52y4g1f] .prod-time-row:disabled {
    opacity: 0.7;
    cursor: default;
}

[b-jgi52y4g1f] .prod-time-row-main {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    align-items: baseline;
    grid-column: 1;
}

[b-jgi52y4g1f] .prod-time-row-when {
    font-weight: 750;
    font-size: 1.02em;
}

[b-jgi52y4g1f] .prod-time-row-dur {
    color: var(--prod-muted);
    font-weight: 650;
    font-size: 0.95em;
}

[b-jgi52y4g1f] .prod-time-row-note {
    grid-column: 1;
    color: var(--prod-muted);
    font-size: 0.92em;
}

[b-jgi52y4g1f] .prod-time-row-edit {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--prod-teal);
    font-size: 1.15em;
}

/* ——— @Body content (isolation pierce) ——— */

[b-jgi52y4g1f] .btn {
    font-size: 1.05em;
    font-weight: 700;
    line-height: 1.2;
    border-radius: calc(var(--prod-radius) - 0.15rem);
}

[b-jgi52y4g1f] .btn-primary {
    background: var(--prod-teal);
    border-color: var(--prod-teal);
    color: #fff;
}

[b-jgi52y4g1f] .btn-outline-primary {
    color: var(--prod-teal);
    border-color: var(--prod-teal);
    background: var(--prod-card-bg);
}

[b-jgi52y4g1f] .prod-card {
    background: var(--prod-card-bg);
    border: none;
    border-radius: var(--prod-radius);
    box-shadow: var(--prod-shadow);
    padding: 1.05em 1.1em;
    margin-bottom: 0.85rem;
}

[b-jgi52y4g1f] .prod-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

[b-jgi52y4g1f] .prod-card-link:active {
    background: #f8fafc;
}

[b-jgi52y4g1f] .prod-card-visit {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-right: 0.75em;
}

[b-jgi52y4g1f] .prod-card-visit-body {
    flex: 1 1 auto;
    min-width: 0;
}

[b-jgi52y4g1f] .prod-card-chevron {
    flex-shrink: 0;
    font-size: 1.65em;
    color: var(--prod-muted);
    line-height: 1;
}

/* Circle 1 — full-width date BOX (not plain text) */
[b-jgi52y4g1f] .prod-day-pill {
    display: flex;
    align-items: center;
    gap: 0.6em;
    width: 100%;
    box-sizing: border-box;
    margin: 0.85rem 0 0.85rem;
    padding: 0.85em 1.15em;
    border-radius: 0.85rem;
    background: var(--prod-teal-soft);
    color: var(--prod-teal);
    font-weight: 700;
    font-size: 1.08em;
    line-height: 1.3;
}

[b-jgi52y4g1f] .prod-day-pill:first-child {
    margin-top: 0.15rem;
}

[b-jgi52y4g1f] .prod-day-pill i {
    font-size: var(--prod-icon);
    line-height: 1;
    flex-shrink: 0;
}

[b-jgi52y4g1f] .prod-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.35em 0.8em;
    border-radius: 999px;
    background: #e8eef0;
    color: var(--prod-teal);
    font-weight: 800;
    font-size: 0.98em;
    line-height: 1.2;
    white-space: nowrap;
}

[b-jgi52y4g1f] .prod-time-badge i {
    font-size: 1.15em;
    line-height: 1;
}

[b-jgi52y4g1f] .prod-time-badge-primary {
    background: var(--prod-teal);
    color: #fff;
}

[b-jgi52y4g1f] .prod-time-badge-outline {
    background: var(--prod-card-bg);
    border: 1.5px solid #d1d5db;
    color: var(--prod-ink);
}

[b-jgi52y4g1f] .prod-card-title {
    margin: 0.45em 0 0.15em;
    font-size: 1.28em;
    font-weight: 800;
    line-height: 1.22;
    color: var(--prod-ink);
}

[b-jgi52y4g1f] .prod-card-sub {
    color: var(--prod-muted);
    font-size: 1.05em;
    line-height: 1.35;
    margin-bottom: 0.5em;
}

[b-jgi52y4g1f] .prod-order-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.28em 0.72em;
    border-radius: 999px;
    border: 1.5px solid #d1d5db;
    background: var(--prod-card-bg);
    color: var(--prod-muted);
    font-size: 0.95em;
    font-weight: 700;
    line-height: 1.2;
}

[b-jgi52y4g1f] .prod-order-badge i {
    font-size: 1.15em;
    line-height: 1;
}

[b-jgi52y4g1f] .prod-order-badge-accent {
    border-color: color-mix(in srgb, var(--prod-teal) 35%, #d1d5db);
    background: var(--prod-teal-soft);
    color: var(--prod-teal);
    margin-top: 0.65em;
}

[b-jgi52y4g1f] .prod-meta {
    color: var(--prod-muted);
    font-size: 1em;
    line-height: 1.4;
}

[b-jgi52y4g1f] .prod-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin-top: 0.95em;
}

[b-jgi52y4g1f] .prod-actions .btn {
    min-height: 3.35rem;
    font-size: 1.05em;
}

[b-jgi52y4g1f] .prod-actions .btn i {
    font-size: 1.25em;
    line-height: 1;
    vertical-align: -0.1em;
}

[b-jgi52y4g1f] .prod-install {
    background: var(--prod-teal-soft);
    border: 1px solid color-mix(in srgb, var(--prod-teal) 25%, #d1d5db);
    border-radius: var(--prod-radius);
    padding: 1em 1.1em;
    margin-bottom: 1.1rem;
}

[b-jgi52y4g1f] .prod-install h2 {
    font-size: 1.15em;
    margin: 0 0 0.4em;
}

[b-jgi52y4g1f] .prod-install p {
    margin: 0 0 0.85em;
    color: var(--prod-muted);
    font-size: 1em;
}

[b-jgi52y4g1f] .prod-empty {
    text-align: center;
    padding: 2.75rem 1rem;
    color: var(--prod-muted);
    font-size: 1.1em;
}

/* Circle 3 — bold section headings */
[b-jgi52y4g1f] .prod-section-title {
    font-size: 1.2em;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    color: var(--prod-ink);
    margin: 1.35rem 0 0.65rem;
}

/* Full planning notes — never truncate / ellipsis. */
[b-jgi52y4g1f] .prod-notes-card {
    overflow: visible;
}

[b-jgi52y4g1f] .prod-note-block + .prod-note-block {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e5e7eb;
}

[b-jgi52y4g1f] .prod-note-body {
    margin-top: 0.25rem;
    font-size: 1.08em;
    font-weight: 600;
    line-height: 1.45;
    color: var(--prod-ink);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    overflow: visible;
    text-overflow: unset;
    max-height: none;
}

[b-jgi52y4g1f] .prod-detail-nav {
    position: sticky;
    top: 0;
    z-index: 18;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin: -0.25rem -1rem 0.9rem;
    padding: 0.7rem 1rem 0.7rem;
    padding-top: max(0.7rem, env(safe-area-inset-top, 0));
    background: var(--prod-card-bg);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

[b-jgi52y4g1f] .prod-back {
    display: inline-flex;
    align-items: center;
    gap: 0.12em;
    font-weight: 700;
    color: var(--prod-teal);
    text-decoration: none;
    font-size: 1.08em;
    margin-right: auto;
    flex-shrink: 0;
}

[b-jgi52y4g1f] .prod-back i {
    font-size: 1.35em;
    line-height: 1;
}

[b-jgi52y4g1f] .prod-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 0.35em 0.8em;
    border-radius: 999px;
    background: var(--prod-teal-soft);
    color: var(--prod-teal);
    font-weight: 800;
    font-size: 0.95em;
    line-height: 1.2;
    flex-shrink: 0;
}

[b-jgi52y4g1f] .prod-status-dot {
    width: 0.55em;
    height: 0.55em;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

/* Hero card — BBR Kort top-right; address tap → Apple Maps */
[b-jgi52y4g1f] .prod-detail-hero {
    position: relative;
    display: block;
    padding-right: 5.5rem;
}

[b-jgi52y4g1f] .prod-detail-hero-main {
    min-width: 0;
}

[b-jgi52y4g1f] .prod-detail-address-title {
    display: block;
    margin: 0 0 0.35em;
    font-size: 1.4em;
    font-weight: 800;
    line-height: 1.2;
    color: var(--prod-ink);
    padding-right: 0.25rem;
}

[b-jgi52y4g1f] .prod-detail-address-row {
    display: flex;
    align-items: flex-start;
    gap: 0.4em;
    margin: 0 0 0.35em;
    color: var(--prod-muted);
    font-size: 1.05em;
    font-weight: 600;
    line-height: 1.35;
}

[b-jgi52y4g1f] .prod-detail-address-row i {
    color: var(--prod-teal);
    font-size: 1.15em;
    line-height: 1.35;
    flex-shrink: 0;
}

[b-jgi52y4g1f] a.prod-detail-address-link {
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--prod-teal) 45%, transparent);
    text-underline-offset: 0.18em;
    color: inherit;
}

[b-jgi52y4g1f] a.prod-detail-address-link.prod-detail-address-title {
    color: var(--prod-ink);
}

[b-jgi52y4g1f] a.prod-detail-address-link:active {
    opacity: 0.75;
}

[b-jgi52y4g1f] .prod-detail-customer {
    margin: 0 0 0.45em;
    color: var(--prod-muted);
    font-size: 1.05em;
    font-weight: 600;
    line-height: 1.3;
}

[b-jgi52y4g1f] .prod-map-btn {
    position: absolute;
    top: 1em;
    right: 1em;
    z-index: 2;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.35em;
    min-width: 4.5rem;
    min-height: 2.6rem;
    padding: 0.45em 0.7em;
    border-radius: 0.65rem;
    background: var(--prod-card-bg);
    color: var(--prod-teal);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95em;
    line-height: 1.1;
    border: 2px solid var(--prod-teal);
    box-shadow: none;
}

[b-jgi52y4g1f] .prod-map-btn i {
    font-size: 1.2em;
    color: var(--prod-teal);
    line-height: 1;
}

[b-jgi52y4g1f] .prod-building-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

[b-jgi52y4g1f] .prod-building-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.55rem;
    padding: 0.45em 0.85em;
    border-radius: 999px;
    border: 2px solid var(--prod-teal);
    background: var(--prod-card-bg);
    color: var(--prod-teal);
    font-weight: 800;
    font-size: 1.05em;
    line-height: 1.2;
}

/* Circle 4 — full-width ordrelinje rows (page scrolls; no nested max-height). */
[b-jgi52y4g1f] .prod-lines-scroll {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
    margin-bottom: 0.25rem;
}

[b-jgi52y4g1f] .prod-line-row {
    display: flex;
    align-items: center;
    gap: 0.7em;
    width: 100%;
    box-sizing: border-box;
    padding: 0.85em 0.95em;
    border-radius: var(--prod-radius);
    border: none;
    background: var(--prod-card-bg);
    box-shadow: var(--prod-shadow);
}

[b-jgi52y4g1f] .prod-line-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    flex-shrink: 0;
    border-radius: 0.55rem;
    border: 1.5px solid color-mix(in srgb, var(--prod-teal) 40%, #d1d5db);
    color: var(--prod-teal);
    background: var(--prod-teal-soft);
}

[b-jgi52y4g1f] .prod-line-icon i {
    font-size: 1.35em;
    line-height: 1;
}

[b-jgi52y4g1f] .prod-line-qty {
    flex-shrink: 0;
    font-weight: 800;
    color: var(--prod-teal);
    font-size: 1.08em;
    white-space: nowrap;
}

[b-jgi52y4g1f] .prod-line-sep {
    width: 1px;
    align-self: stretch;
    background: #e5e7eb;
    flex-shrink: 0;
}

[b-jgi52y4g1f] .prod-line-name {
    font-weight: 600;
    font-size: 1.05em;
    line-height: 1.3;
    color: var(--prod-ink);
    min-width: 0;
    flex: 1 1 auto;
}

[b-jgi52y4g1f] .prod-file-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
    gap: 0.55rem;
    width: 100%;
    margin-bottom: 0.25rem;
}

[b-jgi52y4g1f] .prod-file-thumb-btn {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    border: none;
    border-radius: var(--prod-radius);
    background: var(--prod-card-bg);
    box-shadow: var(--prod-shadow);
    overflow: hidden;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

[b-jgi52y4g1f] .prod-file-thumb-btn:active {
    opacity: 0.82;
}

[b-jgi52y4g1f] .prod-file-thumb-btn:disabled {
    opacity: 0.55;
    cursor: wait;
}

[b-jgi52y4g1f] .prod-file-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #e5e7eb;
}

[b-jgi52y4g1f] .prod-file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--prod-teal);
    background: var(--prod-teal-soft);
}

[b-jgi52y4g1f] .prod-file-icon i {
    font-size: 1.85em;
    line-height: 1;
}

[b-jgi52y4g1f] .prod-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    background: rgba(15, 23, 42, 0.92);
    -webkit-tap-highlight-color: transparent;
}

[b-jgi52y4g1f] .prod-image-lightbox-viewport {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
    padding: 3.5rem 0.75rem 0.5rem;
}

[b-jgi52y4g1f] .prod-image-lightbox-viewport.is-zoomed {
    cursor: grab;
}

[b-jgi52y4g1f] .prod-image-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.35rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    transform-origin: center center;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

[b-jgi52y4g1f] .prod-image-lightbox-footer {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1rem max(1rem, env(safe-area-inset-bottom));
    background: rgba(15, 23, 42, 0.55);
    pointer-events: auto;
    touch-action: manipulation;
}

[b-jgi52y4g1f] .prod-image-lightbox-hint {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

[b-jgi52y4g1f] .prod-image-lightbox-close-text {
    min-width: 8rem;
    font-weight: 700;
    pointer-events: auto;
    touch-action: manipulation;
}

[b-jgi52y4g1f] .prod-image-lightbox-close {
    position: absolute;
    top: max(0.75rem, env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
}

[b-jgi52y4g1f] .prod-image-lightbox-close:active {
    opacity: 0.85;
}

[b-jgi52y4g1f] .prod-sticky-actions {
    position: sticky;
    bottom: 0.35rem;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.35rem;
    padding: 0.75rem 0 max(0.35rem, env(safe-area-inset-bottom, 0));
    background: linear-gradient(
        to top,
        var(--prod-page-bg) 72%,
        color-mix(in srgb, var(--prod-page-bg) 35%, transparent));
}

[b-jgi52y4g1f] .prod-action-primary,
[b-jgi52y4g1f] .prod-action-secondary {
    width: 100%;
    min-height: 3.6rem;
    font-weight: 800 !important;
    font-size: 1.12em !important;
    border-radius: calc(var(--prod-radius) - 0.1rem) !important;
}

[b-jgi52y4g1f] .prod-action-primary i,
[b-jgi52y4g1f] .prod-action-secondary i {
    font-size: 1.4em;
    line-height: 1;
    vertical-align: -0.12em;
}

[b-jgi52y4g1f] .prod-time {
    font-weight: 800;
    color: var(--prod-teal);
    font-size: 1.15em;
}

[b-jgi52y4g1f] .prod-contact-name {
    font-weight: 700;
    font-size: 1.15em;
    line-height: 1.3;
    color: var(--prod-ink);
}

[b-jgi52y4g1f] .prod-stempelur-clock {
    font-size: 2.55em;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

[b-jgi52y4g1f] .prod-stempelur-btn {
    min-height: 3.6rem !important;
    font-size: 1.12em !important;
    font-weight: 800 !important;
}

[b-jgi52y4g1f] .prod-stempelur-btn i {
    font-size: 1.45em;
    line-height: 1;
    vertical-align: -0.12em;
}

[b-jgi52y4g1f] .form-control,
[b-jgi52y4g1f] .form-select {
    font-size: 1.05em;
    min-height: 3rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-enkc0jdxao],
.components-reconnect-repeated-attempt-visible[b-enkc0jdxao],
.components-reconnect-failed-visible[b-enkc0jdxao],
.components-pause-visible[b-enkc0jdxao],
.components-resume-failed-visible[b-enkc0jdxao],
.components-rejoining-animation[b-enkc0jdxao] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-enkc0jdxao {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Admin/BrandingAdmin.razor.rz.scp.css */
.branding-preview-sidebar .bp-logo[b-jtkxv0yabm] {
    margin-bottom: 1rem;
    padding: 0 0.35rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.branding-preview-sidebar .bp-logo img[b-jtkxv0yabm] {
    height: 22px;
    width: auto;
    max-width: 96px;
    max-height: 22px;
    object-fit: contain;
    display: block;
}

.branding-preview-sidebar .bp-cat[b-jtkxv0yabm] {
    font-size: 0.62rem;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.55rem 0.25rem;
}

.branding-preview-sidebar .bp-item[b-jtkxv0yabm] {
    border-radius: var(--erp-control-radius, 8px);
    padding: 0.45rem 0.7rem;
    min-height: var(--erp-sidebar-item-height, 40px);
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: var(--erp-sidebar-item-gap, 0.3rem);
}

.branding-preview-content[b-jtkxv0yabm] {
    flex: 1;
    padding: 1.25rem;
    min-width: 0;
}

.branding-preview-content .bp-card[b-jtkxv0yabm] {
    border-radius: var(--preview-radius, 10px);
    padding: var(--preview-pad, 1rem);
}

.bp-tabs[b-jtkxv0yabm] {
    display: inline-flex;
    gap: 0.2rem;
    padding: 0.15rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--erp-border) 55%, transparent);
}

.bp-tab[b-jtkxv0yabm] {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    color: var(--erp-muted);
}

.bp-input[b-jtkxv0yabm] {
    border: 1px solid;
    border-radius: var(--erp-control-radius, 6px);
    padding: 0.35rem 0.5rem;
    background: #fff;
    min-height: 1.9rem;
}

.map-swatch[b-jtkxv0yabm] {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    margin-right: 0.35rem;
    vertical-align: -0.05rem;
    border: 1px solid rgba(15, 23, 42, 0.15);
}

.erp-design-profile-grid[b-jtkxv0yabm] {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--erp-page-section-gap, 1rem);
}

@media (min-width: 900px) {
    .erp-design-profile-grid[b-jtkxv0yabm] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.erp-design-profile-card[b-jtkxv0yabm] {
    appearance: none;
    text-align: left;
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-card-radius, 10px);
    background: var(--erp-surface);
    padding: 0.85rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color var(--erp-transition), box-shadow var(--erp-transition);
    color: inherit;
    width: 100%;
}

.erp-design-profile-card:hover:not(:disabled)[b-jtkxv0yabm] {
    border-color: var(--erp-primary);
}

.erp-design-profile-card.is-selected[b-jtkxv0yabm] {
    border-color: var(--erp-primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--erp-primary) 28%, transparent);
}

.erp-design-profile-card:disabled[b-jtkxv0yabm] {
    cursor: default;
    opacity: 0.85;
}

.erp-design-profile-mini[b-jtkxv0yabm] {
    display: flex;
    height: 88px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--erp-border);
    background: var(--erp-page-bg);
}

.erp-design-profile-mini .dpm-sidebar[b-jtkxv0yabm] {
    width: 28%;
    background: var(--erp-sidebar-bg);
}

.erp-design-profile-mini .dpm-main[b-jtkxv0yabm] {
    flex: 1;
    padding: 0.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.erp-design-profile-mini .dpm-top[b-jtkxv0yabm] {
    height: 10px;
    border-radius: 4px;
    background: color-mix(in srgb, var(--erp-border) 80%, transparent);
}

.erp-design-profile-mini .dpm-card[b-jtkxv0yabm] {
    flex: 1;
    border-radius: 6px;
    background: var(--erp-surface);
    border: 1px solid var(--erp-border);
}

.erp-design-profile-mini .dpm-rows[b-jtkxv0yabm] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.erp-design-profile-mini .dpm-rows span[b-jtkxv0yabm] {
    display: block;
    height: 5px;
    border-radius: 2px;
    background: color-mix(in srgb, var(--erp-border) 90%, transparent);
}

.erp-design-profile-mini[data-profile="executive"] .dpm-main[b-jtkxv0yabm] {
    padding: 0.65rem;
    gap: 0.5rem;
}

.erp-design-profile-mini[data-profile="executive"] .dpm-card[b-jtkxv0yabm] {
    border-radius: 10px;
}

.erp-design-profile-mini[data-profile="operations"] .dpm-main[b-jtkxv0yabm] {
    padding: 0.3rem;
    gap: 0.2rem;
}

.erp-design-profile-mini[data-profile="operations"] .dpm-card[b-jtkxv0yabm] {
    border-radius: 3px;
}

.erp-design-profile-mini[data-profile="operations"] .dpm-rows[b-jtkxv0yabm] {
    gap: 0.12rem;
}

.erp-design-profile-meta[b-jtkxv0yabm] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.erp-design-profile-meta strong[b-jtkxv0yabm] {
    font-size: 0.95rem;
}

.erp-design-profile-tags[b-jtkxv0yabm] {
    font-size: 0.75rem;
    color: var(--erp-muted);
}

.erp-design-profile-desc[b-jtkxv0yabm] {
    font-size: 0.8rem;
    color: var(--erp-text-secondary);
    line-height: 1.35;
}

.erp-design-profile-selected[b-jtkxv0yabm] {
    font-size: 0.72rem;
    font-weight: 650;
    color: var(--erp-primary);
    margin-top: 0.15rem;
}

.erp-design-profile-card:not(.is-selected) .erp-design-profile-selected[b-jtkxv0yabm] {
    color: var(--erp-muted);
    font-weight: 500;
}
/* /Components/Pages/Admin/CompanyProfileAdmin.razor.rz.scp.css */
/* Logo preview + color picker live in wwwroot/app.css (.erp-logo-preview, .form-control-color). */
/* /Components/Pages/Admin/PermissionChecklist.razor.rz.scp.css */
.perm-checklist[b-ppmsfhclxl] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
    gap: 0.75rem;
}

.perm-module[b-ppmsfhclxl] {
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius, 0.65rem);
    background: var(--erp-surface, #fff);
    overflow: hidden;
    min-width: 0;
}

.perm-module-header[b-ppmsfhclxl] {
    padding: 0.55rem 0.75rem;
    background: var(--erp-surface-2, #f8fafc);
    border-bottom: 1px solid var(--erp-border);
}

.perm-module-name[b-ppmsfhclxl] {
    font-weight: 650;
    font-size: 0.875rem;
    color: var(--erp-text);
}

.perm-module-count[b-ppmsfhclxl] {
    font-size: 0.75rem;
    margin-left: 0.35rem;
}

.perm-module-body[b-ppmsfhclxl] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 0.75rem 0.65rem;
    max-height: 14rem;
    overflow-y: auto;
}

.perm-item[b-ppmsfhclxl] {
    margin: 0;
    padding: 0.2rem 0.15rem;
    border-radius: 0.35rem;
}

.perm-item:hover[b-ppmsfhclxl] {
    background: color-mix(in srgb, var(--erp-primary, #087f7b) 6%, transparent);
}

.perm-item .form-check-label[b-ppmsfhclxl] {
    font-size: 0.84rem;
    line-height: 1.3;
}
/* /Components/Pages/Admin/Roles.razor.rz.scp.css */
.roles-table .table[b-ixvp3eli4j] {
    min-width: 640px;
}

.roles-table thead th[b-ixvp3eli4j] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--erp-muted);
    font-weight: 650;
    border-bottom-width: 1px;
}

.roles-table tbody tr[b-ixvp3eli4j] {
    cursor: default;
}

.roles-table tbody tr.is-expanded > td[b-ixvp3eli4j] {
    border-bottom-color: transparent;
}

.roles-expand-btn[b-ixvp3eli4j] {
    --bs-btn-padding-x: 0.25rem;
    --bs-btn-padding-y: 0.15rem;
    color: var(--erp-muted);
    line-height: 1;
}

.roles-expand-btn:hover[b-ixvp3eli4j] {
    color: var(--erp-primary, #087f7b);
}

.roles-perm-summary[b-ixvp3eli4j] {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: 0;
    font-size: 0.875rem;
    color: inherit;
    line-height: 1.35;
}

.roles-perm-summary:hover strong[b-ixvp3eli4j] {
    color: var(--erp-primary, #087f7b);
}

.roles-detail-row > td[b-ixvp3eli4j] {
    background: var(--erp-surface-2, #f8fafc);
    padding-top: 0.35rem;
    padding-bottom: 0.85rem;
    border-top: 0;
}

.roles-perm-groups[b-ixvp3eli4j] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 0.75rem 1rem;
}

.roles-perm-group-title[b-ixvp3eli4j] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--erp-muted);
    margin-bottom: 0.35rem;
}

.roles-perm-chips[b-ixvp3eli4j] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.roles-perm-chips .erp-badge[b-ixvp3eli4j] {
    font-weight: 600;
    background: #fff;
    border: 1px solid var(--erp-border);
    color: var(--erp-text);
}

[b-ixvp3eli4j] .erp-card-footer {
    justify-content: flex-end;
}
/* /Components/Pages/Crm/Customers.razor.rz.scp.css */
/* Kundeliste: højere kontrast, lidt større tekst og mere rækkeafstand (scoped). */
[b-ipuvf2ao9u] .customers-list-table {
    font-size: calc(0.875rem + 2px);
    color: var(--erp-text);
}

[b-ipuvf2ao9u] .customers-list-table > :not(caption) > * > * {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    color: var(--erp-text);
}

[b-ipuvf2ao9u] .customers-list-table .erp-row-link {
    color: var(--erp-text);
    font-weight: 650;
}

[b-ipuvf2ao9u] .customers-list-table .text-muted {
    color: var(--erp-text-muted) !important;
}
/* /Components/Pages/External/PartnerProfile.razor.rz.scp.css */
.profile-layout[b-smd12ilatn] {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.profile-photo-panel[b-smd12ilatn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile-photo-preview[b-smd12ilatn] {
    width: 8.5rem;
    height: 8.5rem;
    border-radius: 999px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--erp-accent, #0aa39e), var(--erp-primary, #087f7b));
    color: var(--erp-primary-fg, #fff);
    font-size: 1.75rem;
    font-weight: 700;
}

.profile-photo-preview img[b-smd12ilatn] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-photo-actions[b-smd12ilatn] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.profile-form[b-smd12ilatn] {
    max-width: 36rem;
}

.profile-address-row[b-smd12ilatn] {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 0.75rem;
}

@media (max-width: 800px) {
    .profile-layout[b-smd12ilatn] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Hr/Approvals.razor.rz.scp.css */
/*
 * Vis week-approval dialog scroll styles live in wwwroot/app.css
 * (.erp-modal-dialog.modal-dialog-scrollable + .erp-approvals-week-dialog).
 *
 * Do NOT put ::deep modal rules here: ErpModal renders as a sibling of
 * .erp-page with no Approvals scope attribute on any ancestor, so Blazor
 * CSS isolation never matched (#131 shipped rules that were dead on PROD).
 */
/* /Components/Pages/Hr/TeamWeek.razor.rz.scp.css */
/* Team-uger matrix — page-scoped; reuses erp tokens only. */

.team-week-matrix-shell[b-yvy8k7r77i] {
    overflow-x: auto;
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius-sm, 0.5rem);
}

.team-week-matrix[b-yvy8k7r77i] {
    width: 100%;
    min-width: 44rem;
    border-collapse: collapse;
    margin: 0;
}

.team-week-matrix th[b-yvy8k7r77i],
.team-week-matrix td[b-yvy8k7r77i] {
    padding: 0.4rem 0.35rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--erp-border);
}

.team-week-matrix thead th[b-yvy8k7r77i] {
    background: var(--erp-surface-2, #f8fafc);
    font-size: var(--erp-type-meta, 0.75rem);
    font-weight: 600;
    color: var(--erp-muted);
    text-align: center;
}

.team-week-matrix-emp[b-yvy8k7r77i] {
    text-align: left !important;
    width: 11.5rem;
    min-width: 10rem;
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--erp-surface, #fff);
}

.team-week-matrix thead .team-week-matrix-emp[b-yvy8k7r77i] {
    background: var(--erp-surface-2, #f8fafc);
    z-index: 2;
}

.team-week-matrix tbody tr.is-selected .team-week-matrix-emp[b-yvy8k7r77i],
.team-week-matrix tbody tr.is-selected td[b-yvy8k7r77i] {
    background: color-mix(in srgb, var(--erp-primary, #087F7B) 8%, var(--erp-surface, #fff));
}

.team-week-matrix-day[b-yvy8k7r77i] {
    width: 4.5rem;
}

.team-week-matrix-total[b-yvy8k7r77i] {
    text-align: right !important;
    width: 4.25rem;
    white-space: nowrap;
    padding-right: 0.75rem !important;
}

.team-week-emp-btn[b-yvy8k7r77i] {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    padding: 0.15rem 0.25rem;
    color: inherit;
    cursor: pointer;
}

.team-week-emp-meta[b-yvy8k7r77i] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.15rem;
    font-size: var(--erp-type-meta, 0.75rem);
}

.team-week-cell[b-yvy8k7r77i] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.25rem;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.35rem 0.3rem;
    border: 1px solid var(--erp-border);
    border-radius: var(--erp-radius-sm, 0.375rem);
    background: var(--erp-surface-2, #f8fafc);
    cursor: pointer;
    color: inherit;
}

.team-week-cell.is-active[b-yvy8k7r77i] {
    border-color: var(--erp-primary, #087F7B);
    background: color-mix(in srgb, var(--erp-primary, #087F7B) 12%, var(--erp-surface, #fff));
}

.team-week-cell.is-off:not(.is-active)[b-yvy8k7r77i] {
    background: transparent;
}

.team-week-cell-hours[b-yvy8k7r77i] {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
}

.team-week-cell-off[b-yvy8k7r77i] {
    font-size: 0.75rem;
    color: var(--erp-muted);
    text-align: center;
}

.team-week-split[b-yvy8k7r77i] {
    display: flex;
    height: 0.25rem;
    border-radius: 2px;
    overflow: hidden;
    width: 100%;
    background: var(--erp-border);
}

.team-week-split-ordre[b-yvy8k7r77i] {
    background: var(--erp-success, #059669);
    height: 100%;
}

.team-week-split-intern[b-yvy8k7r77i] {
    background: #94a3b8;
    height: 100%;
}

.team-week-legend[b-yvy8k7r77i] {
    display: inline-block;
    width: 0.75rem;
    height: 0.25rem;
    border-radius: 2px;
}

.team-week-legend-ordre[b-yvy8k7r77i] { background: var(--erp-success, #059669); }
.team-week-legend-intern[b-yvy8k7r77i] { background: #94a3b8; }

.team-week-entries[b-yvy8k7r77i] {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.team-week-entry[b-yvy8k7r77i] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    padding-left: 0.65rem;
    border-left: 3px solid var(--erp-border);
}

.team-week-entry.is-ordre[b-yvy8k7r77i] {
    border-left-color: var(--erp-success, #059669);
}

.team-week-entry-time[b-yvy8k7r77i] {
    min-width: 5.75rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.team-week-entry-body[b-yvy8k7r77i] {
    flex: 1 1 10rem;
    min-width: 0;
}

.team-week-entry-mins[b-yvy8k7r77i] {
    font-size: 0.875rem;
}
/* /Components/Pages/Locations/CustomerLocationDetailPage.razor.rz.scp.css */
.crm-loc-upload-dropzone[b-h3trspd2tg] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 8.5rem;
    padding: 1.25rem 1rem;
    border: 1.5px dashed var(--erp-border, #cbd5e1);
    border-radius: var(--erp-radius, 0.5rem);
    background: var(--erp-surface-2, #f8fafc);
    text-align: center;
    cursor: pointer;
}

.crm-loc-upload-dropzone.is-busy[b-h3trspd2tg] {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.crm-loc-upload-dropzone[b-h3trspd2tg]  input[type="file"],
.crm-loc-upload-dropzone[b-h3trspd2tg]  .crm-loc-upload-dropzone-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.crm-loc-upload-dropzone-title[b-h3trspd2tg] {
    font-weight: 600;
    pointer-events: none;
}

.crm-loc-upload-dropzone-hint[b-h3trspd2tg] {
    font-size: 0.875rem;
    pointer-events: none;
}
/* /Components/Pages/Locations/LocationDetailPage.razor.rz.scp.css */
.crm-loc-upload-dropzone[b-qqxhpt9o9r] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 8.5rem;
    padding: 1.25rem 1rem;
    border: 1.5px dashed var(--erp-border, #cbd5e1);
    border-radius: var(--erp-radius, 0.5rem);
    background: var(--erp-surface-2, #f8fafc);
    text-align: center;
    cursor: pointer;
}

.crm-loc-upload-dropzone.is-dragover[b-qqxhpt9o9r],
.crm-loc-upload-dropzone:hover[b-qqxhpt9o9r] {
    border-color: var(--erp-accent, #0f766e);
    background: color-mix(in srgb, var(--erp-accent, #0f766e) 8%, transparent);
}

.crm-loc-upload-dropzone.is-busy[b-qqxhpt9o9r] {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.crm-loc-upload-dropzone input[type="file"][b-qqxhpt9o9r],
.crm-loc-upload-dropzone .crm-loc-upload-dropzone-input[b-qqxhpt9o9r] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.crm-loc-upload-dropzone-title[b-qqxhpt9o9r] {
    font-weight: 600;
    pointer-events: none;
}

.crm-loc-upload-dropzone-hint[b-qqxhpt9o9r] {
    font-size: 0.875rem;
    pointer-events: none;
}
/* /Components/Pages/MyProfile.razor.rz.scp.css */
.profile-layout[b-om4gpbk4p4] {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.profile-photo-panel[b-om4gpbk4p4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile-photo-preview[b-om4gpbk4p4] {
    width: 8.5rem;
    height: 8.5rem;
    border-radius: 999px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--erp-accent, #0aa39e), var(--erp-primary, #087f7b));
    color: var(--erp-primary-fg, #fff);
    font-size: 1.75rem;
    font-weight: 700;
}

.profile-photo-preview img[b-om4gpbk4p4] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-photo-actions[b-om4gpbk4p4] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.profile-form[b-om4gpbk4p4] {
    max-width: 36rem;
}

.profile-address-row[b-om4gpbk4p4] {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: 0.75rem;
}

@media (max-width: 800px) {
    .profile-layout[b-om4gpbk4p4] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Orders/Orders.razor.rz.scp.css */
/* Keep Søg compact so Kunde/Status/Ordretype fit on one toolbar row. */
[b-qwlq2xfdym] .erp-toolbar > .erp-toolbar-field.flex-1 {
    flex: 0 1 14rem;
    min-width: 10rem;
    max-width: 16rem;
}
/* /Components/Pages/Planning/LocationMapPage.razor.rz.scp.css */
/* Page chrome — map sizing lives on LocationMapView.razor.css */
.location-map-page .erp-page-header[b-809e6f2drs] {
    margin-bottom: 0.75rem;
}

.location-map-page-filters[b-809e6f2drs] {
    margin-bottom: 0.75rem;
}

.location-map-page-split[b-809e6f2drs] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
}

.location-map-page-split.with-map[b-809e6f2drs] {
    /* Desktop side-by-side applied below */
}

.location-map-page-list[b-809e6f2drs] {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.location-map-page-list .location-directory-scroll.table-responsive[b-809e6f2drs] {
    flex: 1 1 auto;
    min-height: 0;
    /* Vertical only — global erp-table-shell min-width:720px must not force H-scroll here */
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-gutter: stable;
}

/* Sticky only inside the scrollable directory list (scoped; not global list tables) */
.erp-table-shell[b-809e6f2drs]  .location-directory-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--erp-surface-2);
}

/* Fit columns in the side pane: drop global table min-width and allow wrap on long cells */
.location-map-page-list.erp-table-shell[b-809e6f2drs]  .location-directory-table {
    width: 100%;
    min-width: 0 !important;
    table-layout: fixed;
}

.location-map-page-list.erp-table-shell[b-809e6f2drs]  .location-directory-table > :not(caption) > * > * {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    vertical-align: top;
}

.location-map-page-list.erp-table-shell[b-809e6f2drs]  .location-directory-table .text-nowrap,
.location-map-page-list.erp-table-shell[b-809e6f2drs]  .location-directory-table .col-compact,
.location-map-page-list.erp-table-shell[b-809e6f2drs]  .location-directory-table .col-ordrenr,
.location-map-page-list.erp-table-shell[b-809e6f2drs]  .location-directory-table .col-files {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

.location-map-page-list.erp-table-shell[b-809e6f2drs]  .location-directory-table .col-ordrenr {
    width: 4.25rem;
    max-width: 4.75rem;
}

.location-map-page-list.erp-table-shell[b-809e6f2drs]  .location-directory-table .col-compact {
    width: 7.25rem;
}

.location-map-page-list.erp-table-shell[b-809e6f2drs]  .location-directory-table .col-files {
    width: 5.5rem;
}

.location-map-page-map[b-809e6f2drs] {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.location-map-page-map .location-map-view[b-809e6f2drs],
.location-map-page-map .scan360-map-root[b-809e6f2drs],
.location-map-page-map .scan360-map-shell[b-809e6f2drs] {
    flex: 1 1 auto;
    min-height: 320px;
    height: 100%;
    width: 100%;
    align-self: stretch;
}

.location-map-page-map .scan360-map-host--side[b-809e6f2drs],
.location-map-page-map .erp-location-map--side[b-809e6f2drs] {
    /* Absolute fill inside canvas-wrap — do not force a separate flex min-height on the Leaflet host. */
    width: 100%;
    height: 100%;
}

.location-map-page-map .scan360-map-canvas-wrap[b-809e6f2drs] {
    flex: 1 1 auto;
    min-height: 360px;
    height: 100%;
    position: relative;
}

[b-809e6f2drs] .location-directory-table tbody tr {
    cursor: pointer;
}

[b-809e6f2drs] .location-directory-table tbody tr:hover {
    background: color-mix(in srgb, var(--erp-accent, #0f766e) 8%, transparent);
}

[b-809e6f2drs] .location-directory-table tbody tr.is-selected {
    background: color-mix(in srgb, var(--erp-accent, #0f766e) 14%, transparent);
    outline: 1px solid color-mix(in srgb, var(--erp-accent, #0f766e) 35%, var(--erp-border));
}

@media (min-width: 992px) {
    .location-map-page-split.with-map[b-809e6f2drs] {
        flex-direction: row;
        align-items: stretch;
        height: min(70vh, 720px);
    }

    /* Wider list (~62%) / slightly smaller map (~38%) so columns fit without H-scroll */
    .location-map-page-split.with-map .location-map-page-list[b-809e6f2drs] {
        flex: 1.6 1 0;
        max-width: none;
        min-width: 0;
    }

    .location-map-page-split.with-map .location-map-page-map[b-809e6f2drs] {
        flex: 1 1 0;
        max-width: 38%;
        min-width: 18rem;
    }

    .location-map-page-split.list-only .location-map-page-list[b-809e6f2drs] {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .location-map-page-split.with-map .location-map-page-map .location-map-view[b-809e6f2drs],
    .location-map-page-split.with-map .location-map-page-map .scan360-map-canvas-wrap[b-809e6f2drs] {
        min-height: 320px;
        height: min(48vh, 420px);
    }
}
/* /Components/Pages/Planning/PlanningCalendar.razor.rz.scp.css */
/* Map mode: keep page toolbar visible (complements app.css is-map-fs z-index:250). */
.erp-planning-page.is-map-fs .erp-page-header[b-vyl7dw1f7h] {
    flex: 0 0 auto;
    display: flex;
    visibility: visible;
    opacity: 1;
    z-index: 5;
    background: var(--erp-page-bg, var(--erp-bg));
}

.erp-planning-page.is-map-fs .erp-planning-toolbar[b-vyl7dw1f7h] {
    display: flex;
    visibility: visible;
    opacity: 1;
    flex-wrap: wrap;
    pointer-events: auto;
}

.crm-loc-upload-dropzone[b-vyl7dw1f7h] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 6rem;
    padding: 0.85rem;
    border: 1.5px dashed var(--erp-border, #cbd5e1);
    border-radius: var(--erp-radius, 0.5rem);
    background: var(--erp-surface-2, #f8fafc);
    text-align: center;
    cursor: pointer;
}

.crm-loc-upload-dropzone.is-busy[b-vyl7dw1f7h] {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.crm-loc-upload-dropzone[b-vyl7dw1f7h]  input[type="file"],
.crm-loc-upload-dropzone[b-vyl7dw1f7h]  .crm-loc-upload-dropzone-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.crm-loc-upload-dropzone-title[b-vyl7dw1f7h] {
    font-weight: 600;
    pointer-events: none;
}

.crm-loc-upload-dropzone-hint[b-vyl7dw1f7h] {
    font-size: 0.875rem;
    pointer-events: none;
}

/* Month calendar: ISO week gutter + Mon–Sun day bands */
.erp-planning-month[b-vyl7dw1f7h] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
    overflow: auto;
}

.erp-planning-month-week[b-vyl7dw1f7h] {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 0.5rem;
    align-items: stretch;
    min-width: 0;
}

.erp-planning-month-weeknum[b-vyl7dw1f7h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    padding: 0.35rem 0.2rem;
    border-radius: var(--erp-radius, 0.5rem);
    background: var(--erp-surface-muted, #eef1ef);
    border: 1px solid var(--erp-border, #d8dde3);
    color: var(--erp-text-muted, #5b6570);
    text-align: center;
    line-height: 1.15;
    user-select: none;
}

.erp-planning-month-weeknum-label[b-vyl7dw1f7h] {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.erp-planning-month-weeknum-value[b-vyl7dw1f7h] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--erp-text, #1f2933);
}

.erp-planning-month-days[b-vyl7dw1f7h] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.5rem;
    min-width: 0;
}

.erp-planning-month .erp-planning-day.is-outside[b-vyl7dw1f7h] {
    opacity: 0.42;
    background: var(--erp-surface-2, #f8fafc);
}

.erp-planning-month .erp-planning-day.is-outside .erp-planning-day-name[b-vyl7dw1f7h],
.erp-planning-month .erp-planning-day.is-outside .erp-planning-day-num[b-vyl7dw1f7h] {
    color: var(--erp-text-muted, #5b6570);
}

/* Offer planning: real order visits as muted capacity context */
.erp-planning-legend-swatch[b-vyl7dw1f7h] {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 0.15rem;
    vertical-align: -0.1rem;
    margin-right: 0.2rem;
    border: 1px solid transparent;
}
.erp-planning-legend-swatch.is-offer[b-vyl7dw1f7h] {
    background: #eef2ff;
    border-color: #6366f1;
}
.erp-planning-legend-swatch.is-order-context[b-vyl7dw1f7h] {
    background: #e2e8f0;
    border-color: #64748b;
}
.erp-planning-legend-swatch.is-offer-context[b-vyl7dw1f7h] {
    background: #eef2ff;
    border-color: #a5b4fc;
}

.erp-planning-legend-swatch.is-delivery[b-vyl7dw1f7h] {
    background: #d97706;
    border-color: #b45309;
}

[b-vyl7dw1f7h] .erp-week-event.is-order-context,
[b-vyl7dw1f7h] .erp-planning-card.is-order-context {
    border-left-color: #64748b !important;
    background: #e2e8f0 !important;
    color: #334155;
    opacity: 0.92;
    cursor: default;
}

[b-vyl7dw1f7h] .erp-week-event.is-order-context .erp-week-event-meta,
[b-vyl7dw1f7h] .erp-week-event.is-order-context .erp-week-event-title {
    color: #475569;
}

/* Main calendar: tilbudsplanlægning visits as muted secondary capacity */
[b-vyl7dw1f7h] .erp-week-event.is-offer-context,
[b-vyl7dw1f7h] .erp-planning-card.is-offer-context {
    border-left-color: #818cf8 !important;
    background: #eef2ff !important;
    color: #4338ca;
    opacity: 0.88;
    cursor: default;
}

[b-vyl7dw1f7h] .erp-week-event.is-offer-context .erp-week-event-meta,
[b-vyl7dw1f7h] .erp-week-event.is-offer-context .erp-week-event-title {
    color: #6366f1;
}

[b-vyl7dw1f7h] .erp-week-block {
    position: absolute;
    left: 2px;
    right: 2px;
    z-index: 1;
    pointer-events: auto;
    border-radius: 0.25rem;
    background: repeating-linear-gradient(
        -45deg,
        color-mix(in srgb, #94a3b8 22%, transparent),
        color-mix(in srgb, #94a3b8 22%, transparent) 6px,
        color-mix(in srgb, #64748b 16%, transparent) 6px,
        color-mix(in srgb, #64748b 16%, transparent) 12px);
    border: 1px dashed #64748b;
    color: #334155;
    font-size: 0.7rem;
    font-weight: 650;
    padding: 0.15rem 0.35rem;
    overflow: hidden;
}

[b-vyl7dw1f7h] .erp-week-block span {
    background: color-mix(in srgb, #fff 70%, transparent);
    padding: 0 0.2rem;
    border-radius: 0.15rem;
}

.erp-planning-sms-title[b-vyl7dw1f7h] {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--erp-muted, #64748b);
}

[b-vyl7dw1f7h] .erp-week-sms {
    font-size: 0.78rem;
    margin-right: 0.2rem;
    vertical-align: -0.05em;
}
[b-vyl7dw1f7h] .erp-week-sms.is-scheduled { color: #2563eb; }
[b-vyl7dw1f7h] .erp-week-sms.is-sent { color: #15803d; }
[b-vyl7dw1f7h] .erp-week-sms.is-warning { color: #b45309; }
[b-vyl7dw1f7h] .erp-week-sms.is-optout,
[b-vyl7dw1f7h] .erp-week-sms.is-skipped,
[b-vyl7dw1f7h] .erp-week-sms.is-none { color: #94a3b8; }

@media (max-width: 900px) {
    .erp-planning-month-week[b-vyl7dw1f7h] {
        grid-template-columns: 2.5rem minmax(0, 1fr);
    }

    .erp-planning-month-weeknum-label[b-vyl7dw1f7h] {
        display: none;
    }

    .erp-planning-month-days[b-vyl7dw1f7h] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Public/PublicEstimate.razor.rz.scp.css */
/* Scoped public accept landing — not global design-system tokens. */
.pub-est[b-vh0f01ddaw] {
    max-width: 40rem;
    margin: 0 auto;
    padding: 2rem 1.25rem 3.5rem;
    text-align: center;
}

.pub-est-brand[b-vh0f01ddaw] {
    margin-bottom: 1.5rem;
}

.pub-est-logo[b-vh0f01ddaw] {
    display: block;
    max-height: 3.25rem;
    max-width: 12rem;
    width: auto;
    height: auto;
    margin: 0 auto 0.75rem;
    object-fit: contain;
}

.pub-est-company[b-vh0f01ddaw] {
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #334155;
}

.pub-est-card[b-vh0f01ddaw] {
    text-align: left;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.pub-est-kicker[b-vh0f01ddaw] {
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pub-accent, #1b5e9c);
    margin-bottom: 0.35rem;
}

.pub-est-title[b-vh0f01ddaw] {
    font-size: 1.65rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 0.35rem;
}

.pub-est-ver[b-vh0f01ddaw] {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
}

.pub-est-customer[b-vh0f01ddaw] {
    margin: 0 0 1.25rem;
    color: #475569;
    font-size: 1.05rem;
}

.pub-est-validity[b-vh0f01ddaw] {
    border: 2px solid var(--pub-accent, #1b5e9c);
    background: color-mix(in srgb, var(--pub-accent, #1b5e9c) 8%, white);
    border-radius: 0.85rem;
    padding: 1rem 1.15rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.pub-est-validity-label[b-vh0f01ddaw] {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pub-accent, #1b5e9c);
}

.pub-est-validity-date[b-vh0f01ddaw] {
    font-size: 1.45rem;
    font-weight: 750;
    color: #0f172a;
    margin-top: 0.2rem;
}

.pub-est-validity-meta[b-vh0f01ddaw] {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.pub-est-comment[b-vh0f01ddaw] {
    color: #475569;
    font-size: 0.95rem;
    margin: 0 0 1rem;
}

.pub-est-actions-top[b-vh0f01ddaw] {
    margin-bottom: 1rem;
}

.pub-est-decision[b-vh0f01ddaw] {
    border: 2px solid #cbd5e1;
    border-radius: 0.85rem;
    padding: 1.15rem 1rem 1.25rem;
    margin: 0 0 1.5rem;
    background: #f8fafc;
}

.pub-est-decision-title[b-vh0f01ddaw] {
    font-size: 1.15rem;
    font-weight: 750;
    margin: 0 0 0.35rem;
    color: #0f172a;
}

.pub-est-decision-help[b-vh0f01ddaw] {
    margin: 0 0 1rem;
}

.pub-est-actions-main[b-vh0f01ddaw] {
    gap: 0.75rem;
}

.pub-est-actions-main .pub-est-btn[b-vh0f01ddaw] {
    min-height: 2.75rem;
    min-width: 10rem;
    font-size: 1rem;
}

.pub-est-table[b-vh0f01ddaw] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.pub-est-table th[b-vh0f01ddaw],
.pub-est-table td[b-vh0f01ddaw] {
    padding: 0.55rem 0.35rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

.pub-est-table th[b-vh0f01ddaw] {
    color: #64748b;
    font-weight: 650;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pub-est-table .num[b-vh0f01ddaw] {
    text-align: right;
    white-space: nowrap;
}

.pub-est-line-name[b-vh0f01ddaw] {
    font-weight: 600;
    color: #0f172a;
}

.pub-est-line-desc[b-vh0f01ddaw] {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

.pub-est-text-h[b-vh0f01ddaw] {
    font-weight: 650;
    padding-top: 1rem !important;
}

.pub-est-text-n[b-vh0f01ddaw] {
    color: #64748b;
}

.pub-est-totals[b-vh0f01ddaw] {
    text-align: right;
    margin: 0.5rem 0 1.25rem;
}

.pub-est-total-main[b-vh0f01ddaw] {
    font-size: 1.1rem;
    font-weight: 750;
    color: #0f172a;
}

.pub-est-muted[b-vh0f01ddaw] {
    color: #64748b;
    font-size: 0.9rem;
}

.pub-est-field[b-vh0f01ddaw] {
    margin-bottom: 1rem;
}

.pub-est-label[b-vh0f01ddaw] {
    display: block;
    font-size: 0.85rem;
    font-weight: 650;
    color: #334155;
    margin-bottom: 0.35rem;
}

.pub-est-input[b-vh0f01ddaw] {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 0.55rem;
    padding: 0.65rem 0.75rem;
    font: inherit;
}

.pub-est-otp-input[b-vh0f01ddaw] {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    max-width: 12rem;
}

.pub-est-actions[b-vh0f01ddaw] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.pub-est-btn[b-vh0f01ddaw] {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 0.55rem;
    padding: 0.7rem 1.1rem;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pub-est-btn:disabled[b-vh0f01ddaw] {
    opacity: 0.55;
    cursor: not-allowed;
}

.pub-est-btn-primary[b-vh0f01ddaw] {
    background: var(--pub-accent, #1b5e9c);
    color: #fff;
}

.pub-est-btn-secondary[b-vh0f01ddaw] {
    background: #fff;
    border-color: #cbd5e1;
    color: #0f172a;
}

.pub-est-btn-danger[b-vh0f01ddaw] {
    background: #fff;
    border-color: #fecaca;
    color: #b91c1c;
}

.pub-est-btn-ghost[b-vh0f01ddaw] {
    background: transparent;
    color: #64748b;
}

.pub-est-otp[b-vh0f01ddaw] {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.25rem;
    margin-top: 0.5rem;
}

.pub-est-otp-title[b-vh0f01ddaw] {
    font-size: 1.15rem;
    font-weight: 750;
    margin: 0 0 0.5rem;
}

.pub-est-alert[b-vh0f01ddaw] {
    border-radius: 0.65rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.92rem;
    text-align: left;
}

.pub-est-alert-info[b-vh0f01ddaw] {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
}

.pub-est-alert-warn[b-vh0f01ddaw] {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}

@media (max-width: 520px) {
    .pub-est[b-vh0f01ddaw] {
        padding: 1.25rem 0.85rem 2.5rem;
    }

    .pub-est-card[b-vh0f01ddaw] {
        padding: 1.25rem 1rem;
    }

    .pub-est-validity-date[b-vh0f01ddaw] {
        font-size: 1.25rem;
    }
}

.pub-est-receipt-backdrop[b-vh0f01ddaw] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    overflow-y: auto;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.48);
}

.pub-est-receipt[b-vh0f01ddaw] {
    width: 100%;
    max-width: 40rem;
    margin: auto;
    padding: clamp(1.5rem, 5vw, 3rem);
    text-align: center;
}

.pub-est-receipt .pub-est-logo[b-vh0f01ddaw] {
    max-height: 7rem;
    max-width: min(100%, 18rem);
    margin-bottom: 2rem;
}

.pub-est-receipt-check[b-vh0f01ddaw] {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    border: 3px solid #99f6e4;
    border-radius: 50%;
    background: #ecfdf5;
    color: #0f766e;
    font-size: 2.25rem;
}

.pub-est-receipt p[b-vh0f01ddaw] {
    margin: 1.25rem 0 2rem;
    color: #64748b;
    font-size: 1.1rem;
}

.pub-est-receipt .pub-est-btn[b-vh0f01ddaw] {
    min-width: 10rem;
    background: #1B5E9C;
    color: #fff;
}
/* /Components/Pages/Sales/EstimateEdit.razor.rz.scp.css */
/* Full-bleed when Tilføj/Rediger lokation is open (also lifted via MainLayout .nav-hidden). */
.erp-page--immersive[b-fx27whcv9n] {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}
/* /Components/Pages/Sales/NewsletterEdit.razor.rz.scp.css */
.nl-top[b-58gtj5fbv4]{display:flex;justify-content:space-between;align-items:center;gap:20px}.nl-top h1[b-58gtj5fbv4]{font-size:28px;margin:10px 0}.nl-steps[b-58gtj5fbv4]{display:flex;gap:8px;margin:20px 0;border-bottom:1px solid var(--bs-border-color,#dce5e2);padding-bottom:12px}.nl-steps>button[b-58gtj5fbv4]{border:0;border-radius:8px;background:var(--bs-tertiary-bg,#f1f5f4);color:var(--bs-body-color,#18332f);padding:12px 20px;font-weight:600}.nl-steps>button.active[b-58gtj5fbv4]{background:#246b5e;color:#fff}.nl-steps span[b-58gtj5fbv4]{border-radius:20px;padding:2px 8px;background:#ffffff30}.nl-metadata[b-58gtj5fbv4]{display:grid;grid-template-columns:1fr 1.4fr 1.4fr 1fr;gap:16px;margin:18px 0}.nl-metadata label[b-58gtj5fbv4],.nl-settings label[b-58gtj5fbv4],.nl-recipient-filters label[b-58gtj5fbv4],.nl-consent label[b-58gtj5fbv4],.nl-review-settings label[b-58gtj5fbv4]{font-size:13px;font-weight:600;display:flex;flex-direction:column;gap:6px}.nl-studio[b-58gtj5fbv4]{display:grid;grid-template-columns:155px minmax(320px,1fr) 290px;gap:20px;align-items:start}.nl-tools[b-58gtj5fbv4]{display:flex;flex-direction:column;gap:8px;position:sticky;top:12px}.nl-tools button[b-58gtj5fbv4]{display:flex;justify-content:space-between;text-align:left}.nl-eyebrow[b-58gtj5fbv4],.nl-canvas-header[b-58gtj5fbv4]{font-size:11px;font-weight:700;letter-spacing:.08em;color:var(--bs-secondary-color,#60736d)}.nl-tools p[b-58gtj5fbv4]{margin-top:20px}.nl-canvas[b-58gtj5fbv4]{background:var(--bs-tertiary-bg,#eef3f1);border:1px solid var(--bs-border-color,#dce5e2);border-radius:12px;padding:20px}.nl-canvas-header[b-58gtj5fbv4]{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.nl-header-preview[b-58gtj5fbv4],.nl-footer-preview[b-58gtj5fbv4]{display:block;width:100%;border:0;white-space:pre-wrap;overflow-wrap:anywhere}.nl-block[b-58gtj5fbv4]{max-width:600px;background:#fff;color:#18332f;margin:0 auto;border:2px solid transparent;padding:10px 22px}.nl-block.selected[b-58gtj5fbv4]{border-color:#246b5e}.nl-block-actions[b-58gtj5fbv4]{display:flex;gap:4px;justify-content:flex-end;opacity:.6;margin-bottom:8px}.nl-block:hover .nl-block-actions[b-58gtj5fbv4],.nl-block.selected .nl-block-actions[b-58gtj5fbv4]{opacity:1}.nl-block-content[b-58gtj5fbv4]{display:block;background:none;border:0;padding:0;text-align:left;color:inherit;width:100%;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.nl-block-content h2[b-58gtj5fbv4]{font-size:28px;font-weight:700}.nl-block-content img[b-58gtj5fbv4]{max-width:100%;height:auto;display:block}.nl-header-preview img[b-58gtj5fbv4]{height:auto}.nl-image-placeholder[b-58gtj5fbv4]{background:#eef3f1;padding:50px;text-align:center;border:1px dashed #a9beb4}.nl-mail-button[b-58gtj5fbv4]{display:inline-block;padding:10px 22px;border-radius:6px;background:#246b5e;color:white}.nl-columns[b-58gtj5fbv4]{display:grid;grid-template-columns:1fr 1fr;gap:22px}.nl-settings[b-58gtj5fbv4]{border:1px solid var(--bs-border-color,#dce5e2);padding:20px;border-radius:12px;position:sticky;top:12px;max-height:85vh;overflow:auto}.nl-settings h2[b-58gtj5fbv4],.nl-consent h2[b-58gtj5fbv4],.nl-review-settings h2[b-58gtj5fbv4]{font-size:18px;font-weight:700;margin-bottom:20px}.nl-settings label[b-58gtj5fbv4]{margin-bottom:16px}.nl-settings input[type=color][b-58gtj5fbv4]{width:100%;height:38px;border:1px solid #ddd;border-radius:6px;background:none}.nl-link[b-58gtj5fbv4]{padding-top:12px;margin-top:12px;border-top:1px solid #ddd;display:grid;gap:8px}.nl-footer-preview[b-58gtj5fbv4]{font-size:13px}.nl-preview[b-58gtj5fbv4]{width:100%;height:75vh;min-height:650px;border:0;border-radius:8px;background:#fff}.nl-recipient-filters[b-58gtj5fbv4]{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:16px;padding:20px;border-radius:12px;background:var(--bs-tertiary-bg,#f1f5f4)}.nl-checkbox[b-58gtj5fbv4]{flex-direction:row!important;align-items:center;font-weight:400!important}.nl-checkbox input[b-58gtj5fbv4]{width:18px;height:18px;flex-shrink:0}.nl-consent[b-58gtj5fbv4]{margin:20px 0;padding:24px;border:1px solid #246b5e;border-radius:12px;max-width:700px}.nl-consent label[b-58gtj5fbv4]{margin-top:12px}.nl-review[b-58gtj5fbv4]{display:grid;grid-template-columns:340px minmax(320px,1fr);gap:28px}.nl-review-settings[b-58gtj5fbv4]{padding:24px;border:1px solid var(--bs-border-color,#dce5e2);border-radius:12px}.nl-review dt[b-58gtj5fbv4]{font-size:12px;color:var(--bs-secondary-color,#60736d)}.nl-review dd[b-58gtj5fbv4]{margin:3px 0 16px;overflow-wrap:anywhere}.nl-bottom[b-58gtj5fbv4]{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:24px;padding:16px 0;border-top:1px solid var(--bs-border-color,#dce5e2)}@media(max-width:1200px){.nl-studio[b-58gtj5fbv4]{grid-template-columns:130px minmax(280px,1fr) 250px;gap:12px}.nl-metadata[b-58gtj5fbv4]{grid-template-columns:1fr 1fr}}@media(max-width:900px){.nl-studio[b-58gtj5fbv4]{grid-template-columns:120px minmax(0,1fr)}.nl-settings[b-58gtj5fbv4]{position:static;grid-column:1/-1;max-height:none}.nl-recipient-filters[b-58gtj5fbv4]{grid-template-columns:1fr 1fr}.nl-review[b-58gtj5fbv4]{grid-template-columns:1fr}.nl-top[b-58gtj5fbv4]{align-items:flex-start;flex-wrap:wrap}}@media(max-width:600px){.nl-metadata[b-58gtj5fbv4],.nl-recipient-filters[b-58gtj5fbv4]{grid-template-columns:1fr}.nl-studio[b-58gtj5fbv4]{grid-template-columns:1fr}.nl-tools[b-58gtj5fbv4]{position:static;display:grid;grid-template-columns:1fr 1fr}.nl-tools p[b-58gtj5fbv4],.nl-eyebrow[b-58gtj5fbv4]{grid-column:1/-1}.nl-steps button[b-58gtj5fbv4]{padding:10px;font-size:12px}.nl-canvas[b-58gtj5fbv4]{padding:10px}.nl-bottom span[b-58gtj5fbv4]{display:none}}

/* Direct editing occupies the main column; rendered mail stays visible on the right. */
.nl-studio[b-58gtj5fbv4]{grid-template-columns:140px minmax(360px,1.8fr) minmax(300px,1fr);gap:16px}
.nl-editor[b-58gtj5fbv4]{min-width:0;display:flex;flex-direction:column;gap:12px}
.nl-editor .nl-settings[b-58gtj5fbv4]{order:-1;position:static;max-height:none;overflow:visible;padding:12px 16px;border-radius:8px}
.nl-settings summary[b-58gtj5fbv4]{font-weight:600;cursor:pointer}
.nl-setting-fields[b-58gtj5fbv4]{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:16px}
.nl-setting-fields label[b-58gtj5fbv4]{margin:0}.nl-setting-fields .nl-link[b-58gtj5fbv4],.nl-setting-fields p[b-58gtj5fbv4]{grid-column:1/-1}
.nl-format-title[b-58gtj5fbv4]{font-size:12px;font-weight:600;margin-bottom:10px}
.nl-format[b-58gtj5fbv4]{display:flex;flex-wrap:wrap;gap:10px;align-items:end}
.nl-format label[b-58gtj5fbv4]{margin:0;max-width:130px;font-size:12px}
.nl-format input[type=number][b-58gtj5fbv4]{width:90px}.nl-format input[type=color][b-58gtj5fbv4]{width:48px;height:38px}
.nl-format .nl-checkbox[b-58gtj5fbv4]{align-self:center}.nl-format .nl-checkbox input[b-58gtj5fbv4]{width:18px}
.nl-canvas[b-58gtj5fbv4]{padding:16px}.nl-canvas-header[b-58gtj5fbv4]{flex-wrap:wrap;gap:6px;letter-spacing:0}
.nl-block[b-58gtj5fbv4]{max-width:600px;padding:8px 12px}.nl-block-actions[b-58gtj5fbv4]{opacity:1;flex-wrap:wrap}
.nl-text-editor[b-58gtj5fbv4],.nl-inline-input[b-58gtj5fbv4]{display:block;width:100%;min-width:0;box-sizing:border-box;border:1px dashed #ccd9d4;border-radius:3px;background:transparent;color:inherit;font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;resize:vertical;field-sizing:content;min-height:1.6em}
.nl-text-editor:focus[b-58gtj5fbv4],.nl-inline-input:focus[b-58gtj5fbv4]{outline:2px solid #246b5e;outline-offset:1px}
.nl-text-editor[readonly][b-58gtj5fbv4],.nl-inline-input[readonly][b-58gtj5fbv4]{border-color:transparent;resize:none}
.nl-header-preview .nl-inline-input[b-58gtj5fbv4]{margin-top:8px}.nl-footer-text[b-58gtj5fbv4]{border-color:transparent}
.nl-mail-button[b-58gtj5fbv4]{border:0;max-width:100%;box-sizing:border-box}
.nl-image-edit[b-58gtj5fbv4]{display:block;border:0;background:transparent;width:100%;padding:0}
.nl-live-preview[b-58gtj5fbv4]{position:sticky;top:12px;min-width:0;border:1px solid var(--bs-border-color,#dce5e2);border-radius:10px;padding:14px;background:var(--bs-tertiary-bg,#eef3f1)}
.nl-preview-heading[b-58gtj5fbv4]{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.nl-preview-heading h2[b-58gtj5fbv4]{font-size:17px;font-weight:700;margin:0}.nl-preview-heading select[b-58gtj5fbv4]{max-width:110px}
.nl-preview-subject[b-58gtj5fbv4]{font-size:13px;overflow-wrap:anywhere;margin-bottom:12px}.nl-preview-subject small[b-58gtj5fbv4]{font-size:10px;color:var(--bs-secondary-color,#60736d)}
.nl-live-preview .nl-preview[b-58gtj5fbv4]{display:block;width:100%;min-height:600px;height:70vh;margin:0 auto 10px}.nl-live-preview .nl-preview-mobile[b-58gtj5fbv4]{max-width:375px}
.nl-test-send[b-58gtj5fbv4]{display:grid;gap:10px;border-top:1px solid var(--bs-border-color,#dce5e2);padding-top:14px}
.nl-test-send label[b-58gtj5fbv4]{font-size:13px;font-weight:600}.nl-test-send small[b-58gtj5fbv4]{color:var(--bs-secondary-color,#60736d)}
@media(max-width:1400px){.nl-studio[b-58gtj5fbv4]{grid-template-columns:120px minmax(300px,1.5fr) minmax(280px,1fr);gap:12px}}
@media(max-width:1100px){.nl-studio[b-58gtj5fbv4]{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr)}.nl-tools[b-58gtj5fbv4]{grid-column:1/-1;position:static;display:flex;flex-direction:row;flex-wrap:wrap}.nl-tools p[b-58gtj5fbv4],.nl-tools .nl-eyebrow[b-58gtj5fbv4]{display:none}.nl-tools button[b-58gtj5fbv4]{font-size:12px}.nl-editor .nl-settings[b-58gtj5fbv4]{grid-column:auto}.nl-columns[b-58gtj5fbv4]{gap:10px}}
@media(max-width:760px){.nl-studio[b-58gtj5fbv4]{grid-template-columns:minmax(0,1fr)}.nl-live-preview[b-58gtj5fbv4]{position:static}.nl-setting-fields[b-58gtj5fbv4]{grid-template-columns:1fr}.nl-canvas[b-58gtj5fbv4]{padding:10px}.nl-live-preview .nl-preview[b-58gtj5fbv4]{height:650px;min-height:0}.nl-top h1[b-58gtj5fbv4]{font-size:23px}}
/* /Components/Pages/Sales/Newsletters.razor.rz.scp.css */
.nl-stats[b-jjdfnca7g5]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.nl-stats>div[b-jjdfnca7g5]{padding:20px;border:1px solid var(--bs-border-color,#dce5e2);border-radius:12px;background:var(--bs-body-bg,#fff)}.nl-stats span[b-jjdfnca7g5]{display:block;color:var(--bs-secondary-color,#60736d);font-size:13px}.nl-stats strong[b-jjdfnca7g5]{display:block;font-size:30px;margin-top:6px}@media(max-width:800px){.nl-stats[b-jjdfnca7g5]{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* /Components/Shared/Crm/CustomerLocationsTab.razor.rz.scp.css */
/* Same split layout as Drift → Lokationer (LocationMapPage); map sizing lives on LocationMapView. */
.customer-locations-tab[b-lykv4bjm85] {
    min-height: 0;
}

.customer-locations-tab .location-map-page-split[b-lykv4bjm85] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
}

.customer-locations-tab .location-map-page-list[b-lykv4bjm85] {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.customer-locations-tab .location-directory-scroll[b-lykv4bjm85] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    scrollbar-gutter: stable;
}

.customer-locations-tab .location-directory-table thead th[b-lykv4bjm85] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--erp-surface-2);
}

.customer-locations-tab .location-map-page-map[b-lykv4bjm85] {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.customer-locations-tab .location-map-page-map .location-map-view[b-lykv4bjm85],
.customer-locations-tab .location-map-page-map .scan360-map-root[b-lykv4bjm85],
.customer-locations-tab .location-map-page-map .scan360-map-shell[b-lykv4bjm85] {
    flex: 1 1 auto;
    min-height: 320px;
    height: 100%;
    width: 100%;
    align-self: stretch;
}

.customer-locations-tab .location-map-page-map .scan360-map-canvas-wrap[b-lykv4bjm85] {
    flex: 1 1 auto;
    min-height: 320px;
    height: 100%;
    position: relative;
}

.customer-locations-tab .location-directory-table tbody tr[b-lykv4bjm85] {
    cursor: pointer;
}

.customer-locations-tab .location-directory-table tbody tr:hover[b-lykv4bjm85] {
    background: color-mix(in srgb, var(--erp-accent, #0f766e) 8%, transparent);
}

.customer-locations-tab .location-directory-table tbody tr.is-selected[b-lykv4bjm85] {
    background: color-mix(in srgb, var(--erp-accent, #0f766e) 14%, transparent);
    outline: 1px solid color-mix(in srgb, var(--erp-accent, #0f766e) 35%, var(--erp-border));
}

@media (min-width: 992px) {
    .customer-locations-tab .location-map-page-split.with-map[b-lykv4bjm85] {
        flex-direction: row;
        align-items: stretch;
        height: min(70vh, 720px);
    }

    .customer-locations-tab .location-map-page-split.with-map .location-map-page-list[b-lykv4bjm85] {
        flex: 1.15 1 0;
        max-width: none;
    }

    .customer-locations-tab .location-map-page-split.with-map .location-map-page-map[b-lykv4bjm85] {
        flex: 1 1 0;
    }
}

@media (max-width: 991.98px) {
    .customer-locations-tab .location-map-page-split.with-map .location-map-page-map .location-map-view[b-lykv4bjm85],
    .customer-locations-tab .location-map-page-split.with-map .location-map-page-map .scan360-map-canvas-wrap[b-lykv4bjm85] {
        min-height: 320px;
        height: min(48vh, 420px);
    }
}
/* /Components/Shared/DanishDatePicker.razor.rz.scp.css */
.erp-danish-date[b-tre6qhgfka] {
    position: relative;
}

.erp-danish-date-field[b-tre6qhgfka] {
    position: relative;
    display: flex;
    align-items: stretch;
}

.erp-danish-date-field .form-control[b-tre6qhgfka] {
    padding-right: 2.5rem;
}

.erp-danish-date-toggle[b-tre6qhgfka] {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--erp-muted, #6c757d);
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--erp-radius-sm, 0.375rem);
    padding: 0;
    line-height: 1;
}

.erp-danish-date-toggle:hover:not(:disabled)[b-tre6qhgfka] {
    color: var(--erp-primary, #087f7b);
    background: color-mix(in srgb, var(--erp-primary, #087f7b) 10%, transparent);
}

.erp-danish-date-toggle:disabled[b-tre6qhgfka] {
    opacity: 0.5;
}

.erp-danish-date-backdrop[b-tre6qhgfka] {
    position: fixed;
    inset: 0;
    z-index: 2050;
    background: transparent;
}

/* Fixed + JS place(): escapes modal-body / modal-dialog-scrollable overflow clip. */
.erp-danish-date-popup[b-tre6qhgfka] {
    position: fixed;
    z-index: 2051;
    min-width: 18.5rem;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid var(--erp-border-strong, #ced4da);
    border-radius: var(--erp-radius-sm, 0.5rem);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.erp-danish-date-popup.is-measuring[b-tre6qhgfka] {
    visibility: hidden;
    pointer-events: none;
}

.erp-danish-date-nav[b-tre6qhgfka] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.erp-danish-date-month[b-tre6qhgfka] {
    font-weight: 600;
    font-size: 0.9375rem;
    text-transform: capitalize;
    text-align: center;
    flex: 1;
}

.erp-danish-date-nav-btn[b-tre6qhgfka] {
    border: 0;
    background: var(--erp-surface-2, #f5f6f7);
    color: var(--erp-text, #212529);
    width: 2rem;
    height: 2rem;
    border-radius: var(--erp-radius-sm, 0.375rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.erp-danish-date-nav-btn:hover[b-tre6qhgfka] {
    background: color-mix(in srgb, var(--erp-primary, #087f7b) 14%, transparent);
    color: var(--erp-primary, #087f7b);
}

.erp-danish-date-grid[b-tre6qhgfka] {
    display: grid;
    grid-template-columns: 2.1rem repeat(7, 1.9rem);
    gap: 0.2rem;
    justify-content: center;
}

.erp-danish-date-weekhdr[b-tre6qhgfka],
.erp-danish-date-dayhdr[b-tre6qhgfka] {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    color: var(--erp-muted, #6c757d);
    padding: 0.15rem 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.erp-danish-date-weekhdr[b-tre6qhgfka] {
    color: var(--erp-primary, #087f7b);
}

.erp-danish-date-weeknum[b-tre6qhgfka] {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--erp-primary, #087f7b);
    opacity: 0.85;
}

.erp-danish-date-day[b-tre6qhgfka] {
    width: 1.9rem;
    height: 1.9rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--erp-text, #212529);
    font-size: 0.8125rem;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.erp-danish-date-day:hover:not(:disabled):not(.selected)[b-tre6qhgfka] {
    background: color-mix(in srgb, var(--erp-primary, #087f7b) 12%, transparent);
}

.erp-danish-date-day.outside[b-tre6qhgfka] {
    color: var(--erp-muted, #adb5bd);
}

.erp-danish-date-day.today:not(.selected)[b-tre6qhgfka] {
    box-shadow: inset 0 0 0 1.5px var(--erp-primary, #087f7b);
}

.erp-danish-date-day.selected[b-tre6qhgfka] {
    background: var(--erp-primary, #087f7b);
    color: #fff;
    font-weight: 600;
}

.erp-danish-date-day:disabled[b-tre6qhgfka] {
    opacity: 0.45;
}
/* /Components/Shared/ErpUploadProgress.razor.rz.scp.css */
.erp-upload-progress[b-85vorpw0op] {
    margin-top: 0.75rem;
    width: 100%;
}

.erp-upload-progress-meta[b-85vorpw0op] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
}

.erp-upload-progress-label[b-85vorpw0op] {
    font-weight: 600;
    min-width: 0;
}

.erp-upload-progress-size[b-85vorpw0op] {
    flex-shrink: 0;
}
/* /Components/Shared/Estimates/EstimateBbrLocationMap.razor.rz.scp.css */
.estimate-bbr-map-host[b-gf145kpj43] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    min-height: 360px;
    height: 100%;
}

.estimate-bbr-map-header[b-gf145kpj43],
.estimate-bbr-map-footer[b-gf145kpj43] {
    flex: 0 0 auto;
}

.estimate-bbr-map-iframe[b-gf145kpj43] {
    flex: 1 1 auto;
    width: 100%;
    min-height: 360px;
    height: 100%;
    border: 0;
    background: color-mix(in srgb, var(--erp-surface, #fff) 92%, var(--erp-muted, #6c757d));
}
/* /Components/Shared/Estimates/EstimateBbrLocationPicker.razor.rz.scp.css */
.estimate-locations-list .table > :not(caption) > * > *[b-9j8rtu55tn] {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    vertical-align: middle;
}

.estimate-locations-meta[b-9j8rtu55tn] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.estimate-bbr-toolbar[b-9j8rtu55tn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.estimate-bbr-property-select[b-9j8rtu55tn] {
    width: auto;
    max-width: 100%;
    min-width: 10rem;
}

.estimate-bbr-form-section[b-9j8rtu55tn] {
    /* Map flush to card right edge */
    padding: 1rem 0 1rem 1rem;
}

/* Desktop/tablet: narrow single-column form, BBR-kort gets the majority width */
.estimate-bbr-split[b-9j8rtu55tn] {
    display: grid;
    grid-template-columns: minmax(18rem, 0.72fr) minmax(28rem, 1.4fr);
    gap: 1rem;
    align-items: start;
    width: 100%;
}

/* Immersive: full-bleed page + hidden sidebar — form compact, map dominant */
.estimate-locations-immersive[b-9j8rtu55tn] {
    width: 100%;
}

.estimate-locations-immersive .estimate-bbr-split[b-9j8rtu55tn] {
    grid-template-columns: minmax(18rem, 0.62fr) minmax(32rem, 1.55fr);
}

.estimate-locations-immersive .estimate-bbr-map-col[b-9j8rtu55tn],
.estimate-locations-immersive .estimate-bbr-map-col[b-9j8rtu55tn]  .estimate-bbr-map-host {
    min-height: max(560px, 72vh);
}

.estimate-locations-immersive .estimate-bbr-map-col[b-9j8rtu55tn]  .estimate-bbr-map-iframe,
.estimate-locations-immersive .estimate-bbr-map-placeholder[b-9j8rtu55tn] {
    min-height: max(520px, 68vh);
}

.estimate-bbr-form-col[b-9j8rtu55tn] {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding-right: 0;
}

/* Single line: area transferred to offer lines — below buildings, above Gem/Annuller */
.estimate-locations-transfer-area[b-9j8rtu55tn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.estimate-locations-transfer-area-input[b-9j8rtu55tn] {
    width: auto;
    max-width: 10rem;
}

.estimate-locations-transfer-area-input .form-control[b-9j8rtu55tn] {
    min-width: 5.5rem;
}

.estimate-bbr-form-col > .row[b-9j8rtu55tn] {
    /* Do not shrink/clip — show full building list without inner scroll */
    flex: 0 0 auto;
    min-height: auto;
}

.estimate-bbr-form-col .form-control[b-9j8rtu55tn],
.estimate-bbr-form-col .form-select[b-9j8rtu55tn] {
    max-width: 100%;
}

.estimate-bbr-map-col[b-9j8rtu55tn] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    min-height: max(420px, 55vh);
    align-self: stretch;
}

.estimate-bbr-map-col[b-9j8rtu55tn]  .estimate-bbr-map-host {
    flex: 1 1 auto;
    width: 100%;
    min-height: max(420px, 55vh);
    height: 100%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.estimate-bbr-map-col[b-9j8rtu55tn]  .estimate-bbr-map-iframe {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: max(380px, 50vh);
}

.estimate-bbr-map-placeholder[b-9j8rtu55tn] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    width: 100%;
    min-height: max(360px, 45vh);
    height: 100%;
    border: 1px dashed var(--erp-border, #dee2e6);
    border-right: 0;
    border-radius: var(--erp-radius, 0.375rem) 0 0 var(--erp-radius, 0.375rem);
    background: color-mix(in srgb, var(--erp-surface, #fff) 96%, var(--erp-muted, #6c757d));
    color: var(--erp-muted, #6c757d);
    text-align: center;
    padding: 1rem;
}

/*
 * Override global .erp-table-shell (min-width:720px + overflow) so the building
 * checklist is compact and fully visible without scrolling.
 */
.estimate-bbr-building-table.erp-table-shell[b-9j8rtu55tn],
.estimate-bbr-building-table[b-9j8rtu55tn] {
    width: max-content;
    max-width: 100%;
    max-height: none !important;
    overflow: visible !important;
    box-shadow: none;
}

.estimate-bbr-building-table .table-responsive[b-9j8rtu55tn] {
    width: max-content;
    max-width: 100%;
    overflow: visible !important;
}

.estimate-bbr-building-table .table[b-9j8rtu55tn] {
    width: auto !important;
    min-width: 0 !important;
    max-width: none;
    margin-bottom: 0;
    table-layout: auto;
}

.estimate-bbr-building-table .table > :not(caption) > * > *[b-9j8rtu55tn] {
    padding-top: 0.28rem;
    padding-bottom: 0.28rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
    white-space: nowrap;
    width: 1%;
    vertical-align: middle;
}

.estimate-bbr-building-table .table th:nth-child(3)[b-9j8rtu55tn],
.estimate-bbr-building-table .table td:nth-child(3)[b-9j8rtu55tn] {
    /* Anvendelse may wrap slightly; keep column tight */
    white-space: normal;
    max-width: 11rem;
    width: auto;
}

.estimate-bbr-building-table tbody tr[b-9j8rtu55tn] {
    cursor: default;
}

.estimate-bbr-col-check[b-9j8rtu55tn] {
    width: 1.5rem !important;
    min-width: 1.5rem;
    padding-left: 0.4rem !important;
    padding-right: 0.15rem !important;
}

.estimate-bbr-col-check .form-check-input[b-9j8rtu55tn] {
    margin-top: 0;
    margin-left: 0;
}

/* Phone only (erp 768px): stack form above map */
@media (max-width: 767.98px) {
    .estimate-bbr-form-section[b-9j8rtu55tn] {
        padding: 1rem;
    }

    .estimate-bbr-split[b-9j8rtu55tn] {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .estimate-bbr-form-col[b-9j8rtu55tn] {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .estimate-bbr-map-col[b-9j8rtu55tn] {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
        min-height: min(420px, 55vh);
    }

    .estimate-bbr-map-col[b-9j8rtu55tn]  .estimate-bbr-map-host {
        border-radius: var(--erp-radius, 0.375rem);
    }

    .estimate-bbr-map-placeholder[b-9j8rtu55tn] {
        border-right: 1px dashed var(--erp-border, #dee2e6);
        border-radius: var(--erp-radius, 0.375rem);
    }

    .estimate-bbr-building-table.erp-table-shell[b-9j8rtu55tn],
    .estimate-bbr-building-table[b-9j8rtu55tn] {
        width: 100%;
        max-height: none !important;
        overflow: visible !important;
    }

    .estimate-bbr-building-table .table-responsive[b-9j8rtu55tn] {
        width: 100%;
    }
}
/* /Components/Shared/Estimates/EstimateLocationsPanel.razor.rz.scp.css */
.estimate-locations-list .table > :not(caption) > * > *[b-nkuja27091] {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    vertical-align: middle;
}

.estimate-locations-row[b-nkuja27091] {
    cursor: pointer;
}

.estimate-locations-row:hover > *[b-nkuja27091] {
    background: var(--erp-surface-muted, #f1f5f4);
}

.estimate-locations-meta[b-nkuja27091] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.estimate-bbr-toolbar[b-nkuja27091] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.estimate-bbr-property-select[b-nkuja27091] {
    width: auto;
    max-width: 100%;
    min-width: 10rem;
}

.estimate-bbr-form-section[b-nkuja27091] {
    /* Map flush to card right edge */
    padding: 1rem 0 1rem 1rem;
}

/* Desktop/tablet: narrow single-column form, BBR-kort gets the majority width */
.estimate-bbr-split[b-nkuja27091] {
    display: grid;
    grid-template-columns: minmax(18rem, 0.72fr) minmax(28rem, 1.4fr);
    gap: 1rem;
    align-items: start;
    width: 100%;
}

/* Immersive: full-bleed page + hidden sidebar — form compact, map dominant */
.estimate-locations-immersive[b-nkuja27091] {
    width: 100%;
}

.estimate-locations-immersive .estimate-bbr-split[b-nkuja27091] {
    grid-template-columns: minmax(18rem, 0.62fr) minmax(32rem, 1.55fr);
}

.estimate-locations-immersive .estimate-bbr-map-col[b-nkuja27091],
.estimate-locations-immersive .estimate-bbr-map-col[b-nkuja27091]  .estimate-bbr-map-host {
    min-height: max(560px, 72vh);
}

.estimate-locations-immersive .estimate-bbr-map-col[b-nkuja27091]  .estimate-bbr-map-iframe,
.estimate-locations-immersive .estimate-bbr-map-placeholder[b-nkuja27091] {
    min-height: max(520px, 68vh);
}

.estimate-bbr-form-col[b-nkuja27091] {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding-right: 0;
}

/* Single line: area transferred to offer lines — below buildings, above Gem/Annuller */
.estimate-locations-transfer-area[b-nkuja27091] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.estimate-locations-transfer-area-input[b-nkuja27091] {
    width: auto;
    max-width: 10rem;
}

.estimate-locations-transfer-area-input .form-control[b-nkuja27091] {
    min-width: 5.5rem;
}

.estimate-bbr-form-col > .row[b-nkuja27091] {
    /* Do not shrink/clip — show full building list without inner scroll */
    flex: 0 0 auto;
    min-height: auto;
}

.estimate-bbr-form-col .form-control[b-nkuja27091],
.estimate-bbr-form-col .form-select[b-nkuja27091] {
    max-width: 100%;
}

.estimate-bbr-map-col[b-nkuja27091] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    min-height: max(420px, 55vh);
    align-self: stretch;
}

.estimate-bbr-map-col[b-nkuja27091]  .estimate-bbr-map-host {
    flex: 1 1 auto;
    width: 100%;
    min-height: max(420px, 55vh);
    height: 100%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.estimate-bbr-map-col[b-nkuja27091]  .estimate-bbr-map-iframe {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: max(380px, 50vh);
}

.estimate-bbr-map-placeholder[b-nkuja27091] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    width: 100%;
    min-height: max(360px, 45vh);
    height: 100%;
    border: 1px dashed var(--erp-border, #dee2e6);
    border-right: 0;
    border-radius: var(--erp-radius, 0.375rem) 0 0 var(--erp-radius, 0.375rem);
    background: color-mix(in srgb, var(--erp-surface, #fff) 96%, var(--erp-muted, #6c757d));
    color: var(--erp-muted, #6c757d);
    text-align: center;
    padding: 1rem;
}

/*
 * Override global .erp-table-shell (min-width:720px + overflow) so the building
 * checklist is compact and fully visible without scrolling.
 */
.estimate-bbr-building-table.erp-table-shell[b-nkuja27091],
.estimate-bbr-building-table[b-nkuja27091] {
    width: max-content;
    max-width: 100%;
    max-height: none !important;
    overflow: visible !important;
    box-shadow: none;
}

.estimate-bbr-building-table .table-responsive[b-nkuja27091] {
    width: max-content;
    max-width: 100%;
    overflow: visible !important;
}

.estimate-bbr-building-table .table[b-nkuja27091] {
    width: auto !important;
    min-width: 0 !important;
    max-width: none;
    margin-bottom: 0;
    table-layout: auto;
}

.estimate-bbr-building-table .table > :not(caption) > * > *[b-nkuja27091] {
    padding-top: 0.28rem;
    padding-bottom: 0.28rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
    white-space: nowrap;
    width: 1%;
    vertical-align: middle;
}

.estimate-bbr-building-table .table th:nth-child(3)[b-nkuja27091],
.estimate-bbr-building-table .table td:nth-child(3)[b-nkuja27091] {
    /* Anvendelse may wrap slightly; keep column tight */
    white-space: normal;
    max-width: 11rem;
    width: auto;
}

.estimate-bbr-building-table tbody tr[b-nkuja27091] {
    cursor: default;
}

.estimate-bbr-col-check[b-nkuja27091] {
    width: 1.5rem !important;
    min-width: 1.5rem;
    padding-left: 0.4rem !important;
    padding-right: 0.15rem !important;
}

.estimate-bbr-col-check .form-check-input[b-nkuja27091] {
    margin-top: 0;
    margin-left: 0;
}

/* Phone only (erp 768px): stack form above map */
@media (max-width: 767.98px) {
    .estimate-bbr-form-section[b-nkuja27091] {
        padding: 1rem;
    }

    .estimate-bbr-split[b-nkuja27091] {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .estimate-bbr-form-col[b-nkuja27091] {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

    .estimate-bbr-map-col[b-nkuja27091] {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
        min-height: min(420px, 55vh);
    }

    .estimate-bbr-map-col[b-nkuja27091]  .estimate-bbr-map-host {
        border-radius: var(--erp-radius, 0.375rem);
    }

    .estimate-bbr-map-placeholder[b-nkuja27091] {
        border-right: 1px dashed var(--erp-border, #dee2e6);
        border-radius: var(--erp-radius, 0.375rem);
    }

    .estimate-bbr-building-table.erp-table-shell[b-nkuja27091],
    .estimate-bbr-building-table[b-nkuja27091] {
        width: 100%;
        max-height: none !important;
        overflow: visible !important;
    }

    .estimate-bbr-building-table .table-responsive[b-nkuja27091] {
        width: 100%;
    }
}
/* /Components/Shared/Locations/CustomerLocationFilerPanel.razor.rz.scp.css */
.crm-loc-upload-dropzone[b-f2ko2n1o0n] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 8.5rem;
    padding: 1.25rem 1rem;
    border: 1.5px dashed var(--erp-border, #cbd5e1);
    border-radius: var(--erp-radius, 0.5rem);
    background: var(--erp-surface-2, #f8fafc);
    text-align: center;
    cursor: pointer;
}

.crm-loc-upload-dropzone.is-dragover[b-f2ko2n1o0n],
.crm-loc-upload-dropzone:hover[b-f2ko2n1o0n] {
    border-color: var(--erp-accent, #0f766e);
    background: color-mix(in srgb, var(--erp-accent, #0f766e) 8%, transparent);
}

.crm-loc-upload-dropzone.is-busy[b-f2ko2n1o0n] {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.crm-loc-upload-dropzone input[type="file"][b-f2ko2n1o0n],
.crm-loc-upload-dropzone .crm-loc-upload-dropzone-input[b-f2ko2n1o0n] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.crm-loc-upload-dropzone-title[b-f2ko2n1o0n] {
    font-weight: 600;
    pointer-events: none;
}

.crm-loc-upload-dropzone-hint[b-f2ko2n1o0n] {
    font-size: 0.875rem;
    pointer-events: none;
}

.crm-loc-docked-uploads[b-f2ko2n1o0n] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--erp-border, #e2e8f0);
}

.crm-loc-docked-upload[b-f2ko2n1o0n] {
    min-width: 0;
}

.crm-loc-docked-uploads[b-f2ko2n1o0n] {
    border-bottom: 1px solid var(--erp-border, #e2e8f0);
}

.crm-loc-docked-upload[b-f2ko2n1o0n] {
    padding: 0.75rem 1rem;
}

.crm-loc-docked-upload + .crm-loc-docked-upload[b-f2ko2n1o0n] {
    border-top: 1px solid var(--erp-border, #e2e8f0);
}
/* /Components/Shared/Locations/CustomerLocationUploadDialog.razor.rz.scp.css */
.crm-loc-upload-dropzone[b-2qpkj5w4le] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 8.5rem;
    padding: 1.25rem 1rem;
    border: 1.5px dashed var(--erp-border, #cbd5e1);
    border-radius: var(--erp-radius, 0.5rem);
    background: var(--erp-surface-2, #f8fafc);
    text-align: center;
    cursor: pointer;
}

.crm-loc-upload-dropzone.is-dragover[b-2qpkj5w4le],
.crm-loc-upload-dropzone:hover[b-2qpkj5w4le] {
    border-color: var(--erp-accent, #0f766e);
    background: color-mix(in srgb, var(--erp-accent, #0f766e) 8%, transparent);
}

.crm-loc-upload-dropzone.is-busy[b-2qpkj5w4le] {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

/* InputFile renders in a child component scope — :deep so overlay covers the dropzone. */
.crm-loc-upload-dropzone[b-2qpkj5w4le]  input[type="file"],
.crm-loc-upload-dropzone[b-2qpkj5w4le]  .crm-loc-upload-dropzone-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.crm-loc-upload-dropzone-title[b-2qpkj5w4le] {
    font-weight: 600;
    pointer-events: none;
}

.crm-loc-upload-dropzone-hint[b-2qpkj5w4le] {
    font-size: 0.875rem;
    pointer-events: none;
}
/* /Components/Shared/Locations/LocationListCell.razor.rz.scp.css */
/* Circular count chip for multi-location list cells (reuses erp-badge colors). */
.erp-location-count[b-wo0gn12x0m] {
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.35rem;
    justify-content: center;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}
/* /Components/Shared/Locations/LocationMapView.razor.rz.scp.css */
/* Host chrome compatibility — Scan360Map owns the engine; this keeps page flex chains working. */
.location-map-view[b-zlol7d26y9] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    height: 100%;
    width: 100%;
    flex: 1 1 auto;
}

.location-map-view--side[b-zlol7d26y9] {
    min-height: 320px;
}

.location-map-view--compact[b-zlol7d26y9] {
    flex: none;
    height: auto;
    min-height: 0;
}

/* Legacy class hooks used by LocationMapPage / CRM / Planning CSS — map to Scan360 root. */
.location-map-view :deep(.scan360-map-root)[b-zlol7d26y9] {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    width: 100%;
    align-self: stretch;
}

.location-map-view :deep(.scan360-map-shell)[b-zlol7d26y9] {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    width: 100%;
    height: 100%;
    align-self: stretch;
}

.location-map-view :deep(.scan360-map-canvas-wrap)[b-zlol7d26y9] {
    flex: 1 1 auto;
    min-height: 320px;
    height: 100%;
    width: 100%;
    position: relative;
}

.location-map-view :deep(.scan360-map-host--side)[b-zlol7d26y9],
.location-map-view :deep(.leaflet-container)[b-zlol7d26y9] {
    width: 100% !important;
    height: 100% !important;
}
/* /Components/Shared/Locations/OrderLocationModelingPanel.razor.rz.scp.css */
[b-ulovn1cwvz] .property-delivery-modal { --erp-modal-width-lg: 900px; }
[b-ulovn1cwvz] .property-delivery-modal .modal-content { border-radius: 0; }
/* /Components/Shared/Locations/PartnerModelingInstructionsContent.razor.rz.scp.css */
.property-instruction-text[b-3oao0lysrt] { white-space: pre-wrap; overflow-wrap: anywhere; }
/* /Components/Shared/Locations/PropertyCustomerFileShareButton.razor.rz.scp.css */
[b-olcebpvg8t] .property-delivery-modal { --erp-modal-width-lg: 900px; }
[b-olcebpvg8t] .property-delivery-modal .modal-content { border-radius: 0; }
/* /Components/Shared/Maps/Scan360Map.razor.rz.scp.css */
/* Root fills host flex/grid panels (Drift Lokationer, CRM tab, Planlægning). */
.scan360-map-root[b-m0dhc2bdi6] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    height: 100%;
    width: 100%;
}

.scan360-map-root--side[b-m0dhc2bdi6] {
    min-height: 320px;
}

.scan360-map-shell[b-m0dhc2bdi6] {
    min-height: 0;
    min-width: 0;
    flex: 1 1 auto;
    align-self: stretch;
    width: 100%;
    height: 100%;
}

/* Card chrome without .erp-card (align-self:start / height:auto breaks Leaflet). */
.scan360-map-shell--card[b-m0dhc2bdi6] {
    background: var(--erp-surface, #fff);
    border: var(--erp-card-border-width, 1px) solid var(--erp-border, #d7dcdf);
    border-radius: var(--erp-card-radius, var(--erp-radius, 10px));
    box-shadow: var(--erp-card-shadow, var(--erp-shadow, 0 1px 2px rgba(15, 23, 42, 0.06)));
}

.scan360-map[b-m0dhc2bdi6] {
    display: flex;
    flex-direction: row;
    min-height: 0;
    height: 100%;
    flex: 1 1 auto;
    gap: 0;
    position: relative;
}

/*
  Absolute-fill wrap: Leaflet must measure a real box. Flex height:100% chains often
  leave the host at min-height only → one tile on white (Snagit failure).
*/
.scan360-map-canvas-wrap[b-m0dhc2bdi6] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 320px;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #d9e2ec;
}

.scan360-map-host[b-m0dhc2bdi6] {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    z-index: 0;
    margin: 0;
    padding: 0;
}

.scan360-map-host--full[b-m0dhc2bdi6] {
    /* absolute fill inherits wrap min-height via parent */
}

.scan360-map-root--compact .scan360-map-canvas-wrap[b-m0dhc2bdi6] {
    height: 200px;
    min-height: 180px;
    flex: none;
}

.scan360-map-canvas-wrap :global(.leaflet-control-zoom)[b-m0dhc2bdi6] {
    display: none !important;
}

.scan360-map-canvas-wrap :global(.leaflet-container)[b-m0dhc2bdi6] {
    width: 100% !important;
    height: 100% !important;
    background: #d9e2ec;
    font: inherit;
}

/* Defensive: Bootstrap/reboot must never shrink tile imgs (classic checkerboard gaps). */
.scan360-map-canvas-wrap :global(.leaflet-container img.leaflet-tile)[b-m0dhc2bdi6],
.scan360-map-canvas-wrap :global(img.leaflet-tile)[b-m0dhc2bdi6] {
    max-width: none !important;
    max-height: none !important;
}

.scan360-map-root.is-fullscreen[b-m0dhc2bdi6] {
    background: var(--erp-surface, #fff);
}

.scan360-map-root.is-fullscreen .scan360-map-canvas-wrap[b-m0dhc2bdi6] {
    min-height: 100vh;
    height: 100%;
}

/* Compact corner control — collapsed by default; popover overlays map. */
.scan360-map-layer-ctrl[b-m0dhc2bdi6] {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    max-width: min(240px, calc(100% - 1.3rem));
    pointer-events: none;
}

.scan360-map-fs-ctrl[b-m0dhc2bdi6] {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 500;
    pointer-events: none;
}

.scan360-map-fs-ctrl .scan360-map-layer-btn[b-m0dhc2bdi6] {
    pointer-events: auto;
}

.scan360-map-layer-btn[b-m0dhc2bdi6],
.scan360-map-layer-popover[b-m0dhc2bdi6] {
    pointer-events: auto;
}

.scan360-map-layer-btn[b-m0dhc2bdi6] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
    border: 1px solid var(--erp-border, #d7dcdf);
    border-radius: 8px;
    background: color-mix(in srgb, var(--erp-surface, #fff) 94%, transparent);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--erp-text, #0f172a);
    cursor: pointer;
    line-height: 1.2;
}

.scan360-map-layer-btn:hover[b-m0dhc2bdi6],
.scan360-map-layer-btn.is-open[b-m0dhc2bdi6] {
    border-color: color-mix(in srgb, var(--erp-accent, #0f766e) 45%, var(--erp-border));
    background: var(--erp-surface, #fff);
}

.scan360-map-layer-btn-icon[b-m0dhc2bdi6] {
    font-size: 0.95rem;
    line-height: 1;
    opacity: 0.85;
}

.scan360-map-layer-popover[b-m0dhc2bdi6] {
    width: min(240px, 100%);
    max-height: min(56vh, 360px);
    overflow: auto;
    border: 1px solid var(--erp-border, #d7dcdf);
    border-radius: 10px;
    background: var(--erp-surface, #fff);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
    padding: 0.55rem 0.65rem 0.65rem;
}

.scan360-map-layer-popover-head[b-m0dhc2bdi6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--erp-text-muted, #757b86);
}

.scan360-map-layer-popover-head strong[b-m0dhc2bdi6] {
    font-weight: 650;
    color: var(--erp-text, #0f172a);
}

.scan360-map-group[b-m0dhc2bdi6] {
    margin-bottom: 0.55rem;
}

.scan360-map-group:last-child[b-m0dhc2bdi6] {
    margin-bottom: 0;
}

.scan360-map-group-label[b-m0dhc2bdi6] {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--erp-text, #0f172a);
}

.scan360-map-option[b-m0dhc2bdi6] {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.8125rem;
    margin: 0.12rem 0;
    line-height: 1.25;
}

.scan360-map-option.is-disabled[b-m0dhc2bdi6] {
    opacity: 0.55;
}

.scan360-map-option-note[b-m0dhc2bdi6] {
    display: block;
    font-size: 0.7rem;
    color: var(--erp-text-muted, #757b86);
    margin: 0 0 0.2rem 1.35rem;
}

.scan360-map-stubs[b-m0dhc2bdi6] {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--erp-border, #d7dcdf);
    font-size: 0.75rem;
    color: var(--erp-text-muted, #757b86);
}

.scan360-map-stubs summary[b-m0dhc2bdi6] {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.scan360-map-stubs summary[b-m0dhc2bdi6]::-webkit-details-marker {
    display: none;
}

.scan360-map-stub-list[b-m0dhc2bdi6] {
    margin: 0.35rem 0 0;
    padding-left: 1.1rem;
    list-style: disc;
}

.scan360-map-info[b-m0dhc2bdi6] {
    width: 260px;
    min-width: 220px;
    max-width: 300px;
    border-left: 1px solid var(--erp-border, #d7dcdf);
    background: var(--erp-surface, #fff);
    padding: 0.75rem;
    overflow: auto;
    flex-shrink: 0;
}

.scan360-map-info-title[b-m0dhc2bdi6] {
    font-weight: 650;
    margin-bottom: 0.35rem;
}

.scan360-map-info-source[b-m0dhc2bdi6] {
    font-size: 0.75rem;
    color: var(--erp-text-muted, #757b86);
    margin-bottom: 0.55rem;
}

.scan360-map-info-body[b-m0dhc2bdi6] {
    font-size: 0.78rem;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.scan360-map-filters[b-m0dhc2bdi6] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.map-legend-dot[b-m0dhc2bdi6] {
    display: inline-block;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    margin: 0 0.25rem 0 0.15rem;
    vertical-align: -0.05rem;
    border: 1px solid rgba(15, 23, 42, 0.18);
}

.map-filter-chip[b-m0dhc2bdi6] {
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--erp-border);
    border-radius: 8px;
    background: var(--erp-surface);
}

.location-map-loading-overlay[b-m0dhc2bdi6] {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--erp-surface, #fff) 82%, transparent);
    pointer-events: none;
}

:global(.erp-map-divicon)[b-m0dhc2bdi6] {
    background: transparent !important;
    border: none !important;
}

:global(.erp-map-pin)[b-m0dhc2bdi6] {
    line-height: 0;
    pointer-events: auto;
}

:global(.erp-map-pin svg)[b-m0dhc2bdi6] {
    display: block;
    overflow: visible;
    filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.35));
}

@media (max-width: 900px) {
    .scan360-map[b-m0dhc2bdi6] {
        flex-direction: column;
    }

    .scan360-map-info[b-m0dhc2bdi6] {
        width: 100%;
        max-width: none;
        border-left: none;
        border-top: 1px solid var(--erp-border, #d7dcdf);
        max-height: 180px;
    }

    .scan360-map-layer-popover[b-m0dhc2bdi6] {
        max-height: min(38vh, 240px);
    }
}
/* /Components/Shared/PlanningAttachmentThumbnail.razor.rz.scp.css */
.planning-attachment-thumbnail[b-vrf6tckybq] {
    width: 84px;
    height: 96px;
    flex: 0 0 84px;
    overflow: hidden;
    position: relative;
}

.planning-attachment-thumbnail img[b-vrf6tckybq] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.planning-attachment-thumbnail iframe[b-vrf6tckybq] {
    width: 420px;
    height: 480px;
    border: 0;
    transform: scale(.2);
    transform-origin: top left;
    pointer-events: none;
}
/* /Components/Shared/StempelurClock.razor.rz.scp.css */
.erp-stempelur[b-3eqvg6rqxo] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-right: 0.15rem;
}

.erp-stempelur--running[b-3eqvg6rqxo] {
    padding: 0.15rem 0.35rem 0.15rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--erp-danger, #dc3545) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--erp-danger, #dc3545) 35%, transparent);
}

.erp-stempelur-status[b-3eqvg6rqxo] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--erp-danger, #dc3545);
    font-weight: 600;
    white-space: nowrap;
}

.erp-stempelur-label[b-3eqvg6rqxo] {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
}

.erp-stempelur-running-text[b-3eqvg6rqxo] {
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.7rem;
}

.erp-stempelur-elapsed[b-3eqvg6rqxo] {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--erp-text, #212529);
}

.erp-stempelur-dot[b-3eqvg6rqxo] {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--erp-danger, #dc3545);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--erp-danger, #dc3545) 22%, transparent);
    flex-shrink: 0;
    animation: erp-stempelur-pulse-b-3eqvg6rqxo 1.4s ease-in-out infinite;
}

.erp-stempelur-btn[b-3eqvg6rqxo] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding-inline: 0.55rem;
    height: 2.1rem;
    border-radius: 8px;
}

.erp-stempelur-btn--stop[b-3eqvg6rqxo] {
    font-weight: 600;
}

@keyframes erp-stempelur-pulse-b-3eqvg6rqxo {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}
/* /Components/Shared/UserProfileMenu.razor.rz.scp.css */
/* Profile menu lives in a child component — styles must be here (not MainLayout scoped CSS). */

.erp-user-menu[b-j76e9cslty] {
    position: relative;
}

.erp-user-menu-btn[b-j76e9cslty] {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* No vertical padding: avatar is max 80% of header height. */
    padding: 0 0.55rem 0 0;
    border: 1px solid var(--erp-border);
    border-radius: 999px;
    background: var(--erp-surface);
    cursor: pointer;
    color: inherit;
    transition: background var(--erp-transition), border-color var(--erp-transition);
}

.erp-user-menu-btn[b-j76e9cslty]::-webkit-details-marker {
    display: none;
}

.erp-user-menu-btn:hover[b-j76e9cslty],
.erp-user-menu[open] > .erp-user-menu-btn[b-j76e9cslty] {
    background: var(--erp-surface-2);
    border-color: var(--erp-border-strong);
}

.top-avatar[b-j76e9cslty] {
    width: calc(var(--erp-header-h, 52px) * 0.8);
    height: calc(var(--erp-header-h, 52px) * 0.8);
    max-height: 80%;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--erp-border-strong, #c5d4d0) 70%, transparent);
    background: linear-gradient(145deg, var(--erp-accent, #0aa39e), var(--erp-primary, #087f7b));
    color: var(--erp-primary-fg, #fff);
    font-size: 0.65rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
}

.top-avatar--photo[b-j76e9cslty] {
    padding: 0;
    background: var(--erp-surface-2, #dceeea);
}

.top-avatar--photo img[b-j76e9cslty] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 999px;
}

.top-user-name[b-j76e9cslty] {
    font-size: 0.8rem;
    font-weight: 550;
    color: var(--erp-text-secondary);
    max-width: 9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* HomeFM-style fold-out card */
.erp-user-menu-panel[b-j76e9cslty] {
    position: absolute;
    z-index: 220;
    top: calc(100% + 0.55rem);
    right: 0;
    width: 17.5rem;
    max-width: min(17.5rem, calc(100vw - 1.5rem));
    padding: 1.15rem 1.15rem 1.2rem;
    border: 1px solid var(--erp-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}

.erp-user-menu-info[b-j76e9cslty] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 0.1rem 1.05rem;
}

.erp-user-menu-info strong[b-j76e9cslty] {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--erp-primary, #087f7b);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.erp-user-menu-info span[b-j76e9cslty] {
    font-size: 0.875rem;
    color: var(--erp-muted, #6b7280);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.erp-user-menu-last-login[b-j76e9cslty] {
    margin-top: 0.1rem;
    white-space: normal !important;
    font-size: 0.8125rem !important;
    line-height: 1.4;
}

.erp-user-menu-actions[b-j76e9cslty] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.erp-user-menu-action[b-j76e9cslty] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.55rem 1rem;
    border: 1px solid var(--erp-border-strong, #d1d5db);
    border-radius: var(--erp-radius-sm, 8px);
    background: #fff;
    color: var(--erp-primary, #087f7b);
    font-family: var(--erp-font);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background var(--erp-transition), border-color var(--erp-transition), color var(--erp-transition);
}

.erp-user-menu-action:hover[b-j76e9cslty] {
    background: var(--erp-surface-2, #f3f6f5);
    border-color: color-mix(in srgb, var(--erp-primary, #087f7b) 35%, var(--erp-border-strong, #d1d5db));
    color: var(--erp-primary, #087f7b);
}

.erp-user-menu-action:focus-visible[b-j76e9cslty] {
    outline: var(--erp-focus-ring-size, 3px) solid color-mix(in srgb, var(--erp-primary) 45%, transparent);
    outline-offset: 2px;
}

@media (max-width: 640.98px) {
    .top-user-name[b-j76e9cslty] {
        display: none;
    }

    .erp-user-menu-btn[b-j76e9cslty] {
        padding: 0;
    }
}
