/* /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) */
}

.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 1.35rem;
    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: 10px;
    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);
}

.top-avatar[b-011m54lohy] {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    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;
}

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

article.content[b-011m54lohy] {
    padding: 1.35rem 1.35rem 2rem;
    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; }
    .top-user-name[b-011m54lohy] { display: none; }
    article.content[b-011m54lohy] {
        padding: 1rem 0.85rem 1.75rem;
        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);
    }

    article.content[b-011m54lohy] {
        padding: 1.75rem 1.85rem 2.5rem;
    }
}

.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.75rem 0.85rem 0.85rem;
    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: 32px;
    width: auto;
    max-width: 150px;
    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: 8px;
    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: 8px;
    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;
}

/* FM Home rhythm: one vertical column — never wrap into multi-column */
.nav-root[b-8k6gm9ds4r] {
    padding: 0.65rem 0.55rem 1.15rem;
    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: 1.5rem; /* FM Home section break (~24px) */
}

/* Light section headers (EJENDOMMEN style) */
.nav-group-label[b-8k6gm9ds4r] {
    display: block;
    margin: 0.75rem 0.65rem 0.5rem; /* FM Home section title breathing room */
    padding: 0;
    font-size: 0.72rem;
    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.35rem;
}

.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: 48px; /* FM Home .nav-item row height */
    align-items: center;
    justify-content: flex-start;
    gap: 13px;
    margin: 0;
    padding-block: 10px; /* FM Home — taller touch row, not just margin */
    padding-inline: 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--erp-sidebar-text);
    text-decoration: none;
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.35;
    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 — bold + darker teal text (FM Home "Rum og etager") */
.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: 700;
    border-radius: 10px;
    box-shadow: none;
}

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

.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.25rem;
    height: 1.25rem;
    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: 48px;
    }
}

@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/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: 28px;
    width: auto;
    max-width: 140px;
    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: 8px;
    padding: 0.55rem 0.7rem;
    min-height: 40px;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

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

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

.form-control-color[b-jtkxv0yabm] {
    width: 3rem;
    height: 2.4rem;
    padding: 0.15rem;
}

.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);
}
/* /Components/Pages/Admin/CompanyProfileAdmin.razor.rz.scp.css */
.company-logo-preview[b-g2bsk3klp8] {
    background: var(--erp-sidebar-bg, #0B1220);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
}

.company-logo-preview img[b-g2bsk3klp8] {
    height: 32px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.form-control-color[b-g2bsk3klp8] {
    width: 3rem;
    height: 2.4rem;
    padding: 0.15rem;
}
/* /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/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-directory-scroll[b-809e6f2drs] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    scrollbar-gutter: stable;
}

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

.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] {
    flex: 1 1 auto;
    min-height: 320px;
}

.location-map-page-map .erp-location-map--side[b-809e6f2drs] {
    flex: 1;
    height: 100%;
    min-height: 360px;
}

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

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

.location-directory-table tbody tr.is-selected[b-809e6f2drs] {
    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);
    }

    .location-map-page-split.with-map .location-map-page-list[b-809e6f2drs] {
        flex: 1.15 1 0;
        max-width: none;
    }

    .location-map-page-split.with-map .location-map-page-map[b-809e6f2drs] {
        flex: 1 1 0;
    }

    .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 .erp-location-map--side[b-809e6f2drs] {
        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;
}

.erp-danish-date-popup[b-tre6qhgfka] {
    position: absolute;
    left: 0;
    top: calc(100% + 0.35rem);
    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-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/Locations/LocationMapView.razor.rz.scp.css */
.location-map-view[b-zlol7d26y9] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

.location-map-view-card[b-zlol7d26y9] {
    min-height: 0;
    position: relative;
}

.location-map-loading-overlay[b-zlol7d26y9] {
    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;
}

.map-legend-dot[b-zlol7d26y9] {
    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-zlol7d26y9] {
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--erp-border);
    border-radius: 8px;
    background: var(--erp-surface);
}

.erp-location-map[b-zlol7d26y9] {
    width: 100%;
    z-index: 0;
}

.erp-location-map--full[b-zlol7d26y9] {
    height: min(70vh, 720px);
    min-height: 420px;
}

.erp-location-map--compact[b-zlol7d26y9] {
    height: 200px;
    min-height: 180px;
}

.erp-location-map--side[b-zlol7d26y9] {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    /* Floor so Leaflet never measures a near-zero box during flex settle (white tile gaps). */
    min-height: 240px;
}

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

.location-map-view--side .location-map-view-card[b-zlol7d26y9] {
    flex: 1 1 auto;
    min-height: 0;
}

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