@import '_content/FluxForge.Modules.LegalCompliance/FluxForge.Modules.LegalCompliance.jfi0f70b6h.bundle.scp.css';
@import '_content/FluxForge.Modules.ScheuHub/FluxForge.Modules.ScheuHub.4jhtoz8cd4.bundle.scp.css';
@import '_content/FluxForge.Modules.Sdk/FluxForge.Modules.Sdk.0tk8tcy5di.bundle.scp.css';
@import '_content/FluxForge.Modules.Storage/FluxForge.Modules.Storage.im5o6joo5i.bundle.scp.css';
@import '_content/Havit.Blazor.Components.Web.Bootstrap/Havit.Blazor.Components.Web.Bootstrap.0hqt4twfv7.bundle.scp.css';

/* /Shell/Account/ChangePassword.razor.rz.scp.css */
[b-437k4h0kpn] .invalid-feedback {
    white-space: pre-wrap;
}
/* /Shell/Admin/Admin.razor.rz.scp.css */
.admin-workspace[b-fzr68fgt4n] {
    padding: 0.5rem 0.75rem 1.5rem;
    --admin-muted: color-mix(in srgb, rgb(var(--sd-ink-rgb)) 78%, rgb(var(--sd-surface-rgb)));
    --bs-secondary-color: var(--admin-muted);
}

.admin-workspace__toolbar[b-fzr68fgt4n] {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 44px;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--sd-line);
}

.admin-workspace[b-fzr68fgt4n]  .admin-page-header {
    height: auto;
    max-height: none;
    min-height: 0;
    margin-bottom: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
}

.admin-workspace[b-fzr68fgt4n]  .admin-page-header h1 {
    margin: 0;
    font-size: var(--sd-fs-h1);
    color: inherit;
    letter-spacing: -0.01em;
    line-height: 1.25;
    outline: none;
}

.admin-workspace[b-fzr68fgt4n]  .admin-page-header p {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
}

.admin-layout[b-fzr68fgt4n] {
    display: grid;
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.admin-navigation[b-fzr68fgt4n] {
    position: sticky;
    top: 1rem;
}

.admin-navigation__heading[b-fzr68fgt4n] {
    margin: 1rem 0 0.375rem;
    padding: 1rem 12px 0;
    border-top: 1px solid var(--sd-line);
    color: var(--sd-muted);
    font-size: var(--sd-fs-xs);
    font-weight: 500;
}

.admin-navigation__heading:first-child[b-fzr68fgt4n] {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.admin-navigation[b-fzr68fgt4n]  .admin-area-links {
    gap: 0.2rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.admin-navigation[b-fzr68fgt4n]  .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    background: transparent;
    color: var(--sd-navy);
    font-size: var(--sd-fs-base);
    font-weight: 500;
    line-height: 1.4;
    transition: background-color 0.3s ease;
}

.admin-navigation[b-fzr68fgt4n]  .nav-link .hx-icon,
.admin-navigation[b-fzr68fgt4n]  .nav-link .nf {
    font-size: 1.125rem;
}

.admin-navigation[b-fzr68fgt4n]  .nav-link.active {
    background: var(--sd-sky);
    color: var(--sd-sky-ink);
    box-shadow: inset 3px 0 0 var(--sd-sky-ink);
}

.admin-navigation[b-fzr68fgt4n]  .nav-link:not(.active):hover {
    background: var(--sd-ice);
}

.admin-navigation[b-fzr68fgt4n]  .nav-link:focus-visible {
    outline: 2px solid var(--sd-sky-ink);
    outline-offset: 2px;
}

.admin-content[b-fzr68fgt4n] {
    min-width: 0;
}

.admin-workspace[b-fzr68fgt4n]  .text-muted,
.admin-workspace[b-fzr68fgt4n]  .form-text,
.admin-workspace[b-fzr68fgt4n]  thead th {
    color: var(--admin-muted) !important;
}

.admin-content[b-fzr68fgt4n]  .admin-api-reference { min-width: 0; }
.admin-content[b-fzr68fgt4n]  .admin-api-reference__header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.admin-content[b-fzr68fgt4n]  .admin-api-reference__frame { display: block; width: 100%; height: 72vh; min-height: 24rem; border: 1px solid rgb(var(--sd-line-rgb)); border-radius: var(--sd-radius-control); background: rgb(var(--sd-surface-rgb)); }

.admin-content[b-fzr68fgt4n]  .admin-user-management {
    border: 0;
    box-shadow: none;
}

.admin-content[b-fzr68fgt4n]  .admin-user-management > .card-body {
    padding: 0;
}

.admin-content[b-fzr68fgt4n]  [role="tab"]:not(.active) {
    color: var(--admin-muted);
}

.admin-content[b-fzr68fgt4n]  .admin-user-management > .card-body > .d-flex > div > p {
    display: none;
}

.admin-content[b-fzr68fgt4n]  > .container-fluid {
    padding: 0 !important;
}

.admin-mobile-navigation[b-fzr68fgt4n] {
    display: none;
}

@media (max-width: 991.98px) {
    .admin-layout[b-fzr68fgt4n] {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-navigation[b-fzr68fgt4n] {
        display: none;
    }

    .admin-mobile-navigation[b-fzr68fgt4n] {
        display: block;
        flex: 1;
        min-width: 0;
        max-width: 24rem;
        margin-left: auto;
    }

    .admin-mobile-navigation[b-fzr68fgt4n]  label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .admin-mobile-navigation[b-fzr68fgt4n]  .mb-3 { margin-bottom: 0 !important; }

    .admin-workspace__toolbar[b-fzr68fgt4n] { gap: .75rem; margin-bottom: .75rem; }

    .admin-mobile-navigation[b-fzr68fgt4n]  select {
        min-height: 44px;
    }

    .admin-content[b-fzr68fgt4n]  .admin-user-management button {
        min-height: 44px;
    }

    .admin-content[b-fzr68fgt4n]  .admin-api-reference button,
    .admin-content[b-fzr68fgt4n]  .admin-developer-tools button { min-height: 44px; }

    .admin-workspace[b-fzr68fgt4n] {
        padding: 0.25rem 0 1rem;
    }
}
/* /Shell/Admin/DevelopmentPagesPanel.razor.rz.scp.css */
.admin-development-links[b-iofk39hryu] {
    max-width: 48rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.admin-development-links > li + li[b-iofk39hryu] {
    border-top: 1px solid rgb(var(--sd-line-rgb));
}

.admin-development-links[b-iofk39hryu]  .admin-development-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: rgb(var(--sd-ink-rgb));
    border-radius: var(--sd-radius-control);
}

.admin-development-links[b-iofk39hryu]  .admin-development-link:focus-visible {
    outline: 2px solid var(--sd-sky-ink);
    outline-offset: 4px;
}

.admin-development-link__title[b-iofk39hryu],
.admin-development-link__description[b-iofk39hryu],
.admin-development-link__hint[b-iofk39hryu] {
    display: block;
}

.admin-development-link__title[b-iofk39hryu] {
    font-weight: 600;
}

.admin-development-links[b-iofk39hryu]  .admin-development-link:hover .admin-development-link__title {
    text-decoration: underline;
}

.admin-development-link__description[b-iofk39hryu] {
    margin-top: 0.25rem;
    color: var(--admin-muted);
}

.admin-development-link__hint[b-iofk39hryu] {
    margin-top: 0.35rem;
    color: var(--admin-muted);
    font-size: 0.875rem;
}
/* /Shell/Admin/GrpcSidecarDiagnostics.razor.rz.scp.css */
.grpc-diagnostics[b-44ff47r7z2] {
    display: grid;
    gap: 1rem;
    min-width: 0;
}
.grpc-diagnostics__connection[b-44ff47r7z2] {
    padding: 1rem 0 0;
    border-top: 1px solid rgb(var(--sd-line-rgb));
}
.grpc-diagnostics__connection .mb-3[b-44ff47r7z2] {
    margin-bottom: 0 !important;
}
.grpc-diagnostics__operation[b-44ff47r7z2] {
    padding-top: 1rem;
    max-width: 48rem;
}
.grpc-diagnostics .font-monospace[b-44ff47r7z2] {
    overflow-wrap: anywhere;
}
@media (max-width: 767.98px) {
    .grpc-diagnostics[b-44ff47r7z2]  input,
    .grpc-diagnostics[b-44ff47r7z2]  select,
    .grpc-diagnostics[b-44ff47r7z2]  button {
        min-height: 44px;
    }
    .grpc-diagnostics[b-44ff47r7z2]  [role="tab"] { min-height: 44px; }
}
/* /Shell/Admin/SystemDiagnostics.razor.rz.scp.css */
.system-diagnostics__metrics[b-4qzl8lnb3a] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 1rem 0;
    border-block: 1px solid rgb(var(--sd-line-rgb));
}
.system-diagnostics__metrics dt[b-4qzl8lnb3a] {
    font-size: .8125rem;
    font-weight: 500;
}
.system-diagnostics__metrics dd[b-4qzl8lnb3a] {
    margin: .25rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
.system-diagnostics__metrics span[b-4qzl8lnb3a] {
    display: block;
    font-weight: 400;
    font-size: .75rem;
    color: rgb(var(--sd-ink-rgb));
}
.system-diagnostics dl[b-4qzl8lnb3a] {
    overflow-wrap: anywhere;
}
@media (max-width: 1199.98px) {
    .system-diagnostics__metrics[b-4qzl8lnb3a] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767.98px) {
    .system-diagnostics[b-4qzl8lnb3a]  button {
        min-height: 44px;
    }
}
/* /Shell/Admin/Users/PermissionSelector.razor.rz.scp.css */
.permission-selector fieldset[b-z0qi67fvo7] { min-width: 0; margin: 0; }
/* /Shell/Admin/Users/RoleManagement.razor.rz.scp.css */
.role-create-form[b-urtx04dn2y] { padding: 1rem 0; }
.role-name-field[b-urtx04dn2y] { flex: 1; min-width: 0; max-width: 24rem; }
.role-management[b-urtx04dn2y]  .permission-selector legend { font-weight: 600; color: var(--bs-secondary-color); }
@media (max-width: 767.98px) {
    .role-management[b-urtx04dn2y]  button,
    .role-management[b-urtx04dn2y]  input:not([type=checkbox]) { min-height: 44px; min-width: 44px; }
}
/* /Shell/Admin/Users/UserDirectory.razor.rz.scp.css */
.user-directory-identity[b-n1k5ofqihr] { overflow-wrap: anywhere; }
.user-directory[b-n1k5ofqihr]  .user-directory-row { cursor: pointer; }
.user-directory[b-n1k5ofqihr]  .user-directory-row:hover,
.user-directory[b-n1k5ofqihr]  .user-directory-row:focus-within { background: rgb(var(--sd-surface-muted-rgb)); }
.user-directory[b-n1k5ofqihr]  .user-directory-row:focus-within { outline: 2px solid var(--sd-sky-ink); outline-offset: -2px; }
.user-directory-identity[b-n1k5ofqihr]  .user-directory-open { padding: 0; border: 0; color: inherit; font-weight: 600; text-align: left; text-decoration: none; overflow-wrap: anywhere; }
.user-directory[b-n1k5ofqihr]  .user-directory-layout .card { border: 0; box-shadow: none; }
.user-directory[b-n1k5ofqihr]  .user-directory-layout .card-header { padding: .5rem 0; background: transparent; }
.user-directory[b-n1k5ofqihr]  .user-directory-layout .card-body { padding: 0; }
.directory-mobile-label[b-n1k5ofqihr] { display: none; }
@media (max-width: 767.98px) {
    .user-directory[b-n1k5ofqihr]  button,
    .user-directory[b-n1k5ofqihr]  input:not([type=checkbox]) { min-height: 44px; min-width: 44px; }
    .directory-mobile-label[b-n1k5ofqihr] { display: inline; font-weight: 600; }
    .user-directory[b-n1k5ofqihr]  .user-directory-table table,
    .user-directory[b-n1k5ofqihr]  .user-directory-table tbody { display: block; width: 100%; }
    .user-directory[b-n1k5ofqihr]  .user-directory-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .user-directory[b-n1k5ofqihr]  .user-directory-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; padding: .75rem 0; border-bottom: 1px solid rgb(var(--sd-line-rgb)); }
    .user-directory[b-n1k5ofqihr]  .user-directory-table td { min-width: 0; padding: 0; border: 0; }
}
/* /Shell/Admin/Users/UserManagement.razor.rz.scp.css */
.user-management-shell[b-2phk3g3shu]  .admin-refresh { width: 44px; min-height: 44px; padding: .5rem; }
/* /Shell/Admin/WorkPoolManagementPanel.razor.rz.scp.css */
.resources[b-dihwqvml91] {
    display: grid;
    gap: 1.25rem;
    color: var(--bs-body-color);
    font-variant-numeric: tabular-nums;
}

.resources__header[b-dihwqvml91],
.resources__pool-heading[b-dihwqvml91] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
}

.resources__instance[b-dihwqvml91] {
    display: grid;
    gap: .25rem;
    overflow-wrap: anywhere;
}

.resources__workspace[b-dihwqvml91] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 28rem);
    grid-template-areas: "monitor editor" "outcomes editor";
    grid-template-rows: min-content 1fr;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--sd-radius-panel);
}

.resources__monitor[b-dihwqvml91],
.resources__editor[b-dihwqvml91],
.resources__outcomes[b-dihwqvml91] {
    min-width: 0;
    padding: 1.5rem;
}

.resources__monitor[b-dihwqvml91] {
    grid-area: monitor;
}

.resources__editor[b-dihwqvml91] {
    --bs-secondary-color: var(--bs-body-color);
    grid-area: editor;
    background: var(--bs-tertiary-bg);
    border-inline-start: 1px solid var(--bs-border-color);
    border-radius: 0 var(--sd-radius-panel) var(--sd-radius-panel) 0;
}

.resources__monitor > p[b-dihwqvml91] {
    max-width: 70ch;
}

.resources__state[b-dihwqvml91] {
    padding: .25rem .625rem;
    background: var(--bs-success-bg-subtle);
    color: var(--bs-success-text-emphasis);
    border-radius: var(--sd-radius-control);
    font-size: .8125rem;
    font-weight: 600;
}

.resources__state[data-state="Processing"][b-dihwqvml91] {
    background: var(--bs-info-bg-subtle);
    color: var(--bs-info-text-emphasis);
}

.resources__state[data-state="Saturated"][b-dihwqvml91],
.resources__state[data-state="Reconfiguring"][b-dihwqvml91],
.resources__pending[b-dihwqvml91] {
    background: var(--bs-warning-bg-subtle);
    color: var(--bs-warning-text-emphasis);
}

.resources__utilization[b-dihwqvml91] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-block: 1.75rem 1rem;
}

.resources__meter-heading[b-dihwqvml91] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .5rem;
}

.resources__meter-heading strong[b-dihwqvml91] {
    font-size: 1.5rem;
    white-space: nowrap;
}

.resources__meter[b-dihwqvml91] {
    display: block;
    width: 100%;
    height: .625rem;
    background: var(--bs-secondary-bg);
    border: 0;
    border-radius: var(--sd-radius-control);
}

.resources__meter[b-dihwqvml91]::-webkit-meter-bar {
    background: var(--bs-secondary-bg);
    border: 0;
    border-radius: var(--sd-radius-control);
}

.resources__meter[b-dihwqvml91]::-webkit-meter-optimum-value {
    background: var(--bs-body-color);
    border-radius: var(--sd-radius-control);
}

.resources__meter[b-dihwqvml91]::-moz-meter-bar {
    background: var(--bs-body-color);
    border-radius: var(--sd-radius-control);
}

.resources__effective[b-dihwqvml91] {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .75rem;
    margin: 0;
    color: var(--bs-secondary-color);
}

.resources__effective dd[b-dihwqvml91] {
    margin: 0;
}

.resources__pending[b-dihwqvml91] {
    margin-top: 1.25rem;
    padding: 1rem;
    border-radius: var(--sd-radius-control);
}

.resources__outcomes[b-dihwqvml91] {
    grid-area: outcomes;
    border-top: 1px solid var(--bs-border-color);
}

.resources__counters > div[b-dihwqvml91] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-block: .625rem;
    border-top: 1px solid var(--bs-border-color);
}

.resources__counters dt[b-dihwqvml91] {
    font-size: .875rem;
    font-weight: 400;
}

.resources__counters dd[b-dihwqvml91] {
    margin: 0;
    font-weight: 600;
}

.resources__fields[b-dihwqvml91],
.resources__actions[b-dihwqvml91] {
    display: grid;
    gap: 1rem;
}

.resources__editor[b-dihwqvml91]  form {
    gap: 0;
}

.resources__fields[b-dihwqvml91]  .hx-form-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 8rem;
    column-gap: .75rem;
}

.resources__fields[b-dihwqvml91]  .form-label {
    grid-column: 1;
    margin-bottom: 0;
    align-self: center;
    font-size: .875rem;
}

.resources__fields[b-dihwqvml91]  .form-control {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
}

.resources__fields[b-dihwqvml91]  .hx-form-group > div {
    grid-column: 1 / -1;
}

.resources__fields[b-dihwqvml91]  .invalid-feedback {
    color: var(--bs-danger-text-emphasis);
}

.resources__actions[b-dihwqvml91] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    margin-top: 1rem;
}

.resources__actions[b-dihwqvml91]  .btn {
    min-height: 2.75rem;
    font-size: .875rem;
    white-space: normal;
}

.resources__lifetime[b-dihwqvml91] {
    margin-block: 1.25rem .5rem;
}

.resources summary[b-dihwqvml91] {
    width: fit-content;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.resources summary:focus-visible[b-dihwqvml91] {
    outline: 2px solid var(--bs-body-color);
    outline-offset: .25rem;
    border-radius: var(--sd-radius-control);
}

@media (max-width: 991.98px) {
    .resources__workspace[b-dihwqvml91] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "monitor" "editor" "outcomes";
    }

    .resources__editor[b-dihwqvml91] {
        border-inline-start: 0;
        border-top: 1px solid var(--bs-border-color);
        border-radius: 0;
    }
}

@media (max-width: 575.98px) {
    .resources__monitor[b-dihwqvml91],
    .resources__editor[b-dihwqvml91],
    .resources__outcomes[b-dihwqvml91] {
        padding: 1rem;
    }

    .resources__utilization[b-dihwqvml91] {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
        margin-top: 1.25rem;
    }

    .resources__actions[b-dihwqvml91] {
        grid-template-columns: minmax(0, 1fr);
    }

    .resources__fields[b-dihwqvml91]  .hx-form-group {
        grid-template-columns: minmax(0, 1fr);
        row-gap: .375rem;
    }

    .resources__fields[b-dihwqvml91]  .form-control {
        grid-column: 1;
        grid-row: auto;
    }
}
/* /Shell/Error/Error.razor.rz.scp.css */
/* A real error uses the rose tone; the technical details stay folded. */
.error-page__state[b-qhuukk81pp] {
    background: var(--sd-rose);
}

.error-page__state .sd-empty-state__icon[b-qhuukk81pp] {
    color: var(--sd-rose-ink);
}

.error-page__state h1[b-qhuukk81pp] {
    margin: 0;
    font-size: var(--sd-fs-lg);
    font-weight: 500;
}

.error-page__details h2[b-qhuukk81pp] {
    margin: var(--sd-space-3) 0 var(--sd-space-1);
    font-size: var(--sd-fs-base);
    font-weight: 500;
}

.error-page__details p[b-qhuukk81pp] {
    margin: 0 0 var(--sd-space-2);
    color: var(--sd-muted);
}
/* /Shell/Layout/MainLayout.razor.rz.scp.css */
/* Page frame of the "Leicht" layout: white canvas, one content width, quiet footer. */

.fluxforge-shell[b-3emt8qbyhc] {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: var(--cookie-banner-height, 0px);
    background: #fff;
}

.fluxforge-shell__main[b-3emt8qbyhc] {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    min-width: 0;
    padding-top: 34px;
    padding-bottom: 64px;
}

.fluxforge-shell__page[b-3emt8qbyhc] {
    width: 100%;
    min-width: 0;
}

/* ---------- Footer ---------- */

.sd-footer[b-3emt8qbyhc] {
    flex: 0 0 auto;
    border-top: 1px solid var(--sd-line, #e4e8ee);
    background: #fff;
    color: var(--sd-navy, #22384e);
    font-size: var(--sd-fs-sm, 0.8125rem);
}

.sd-footer__inner[b-3emt8qbyhc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
    min-height: 64px;
    padding-top: 18px;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
}

.sd-footer__logo[b-3emt8qbyhc] {
    display: block;
    width: 48px;
    height: auto;
}

.sd-footer__links[b-3emt8qbyhc] {
    min-width: 0;
    margin-left: auto;
}

.sd-footer__links ul[b-3emt8qbyhc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sd-footer__links a[b-3emt8qbyhc],
.sd-footer__cookie-button[b-3emt8qbyhc] {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0;
    border: 0;
    background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1px no-repeat;
    color: var(--sd-navy, #22384e);
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background-size 0.25s var(--sd-ease, ease), color 0.15s ease;
}

.sd-footer__cookie-button[b-3emt8qbyhc] {
    font-weight: 500;
}

.sd-footer__links a:hover[b-3emt8qbyhc],
.sd-footer__cookie-button:hover[b-3emt8qbyhc] {
    background-size: 100% 1px;
    color: var(--sd-sky-ink, #2f5f9e);
}

.sd-footer__links a:focus-visible[b-3emt8qbyhc],
.sd-footer__cookie-button:focus-visible[b-3emt8qbyhc] {
    outline: 2px solid var(--sd-sky-ink, #2f5f9e);
    outline-offset: 2px;
    border-radius: 2px;
}

.sd-footer__copyright[b-3emt8qbyhc] {
    margin: 0;
    white-space: nowrap;
}

[b-3emt8qbyhc] .orcalign-exception-toast {
    margin-bottom: 0.5rem;
}

[b-3emt8qbyhc] .orcalign-exception-toast .toast-header {
    background: var(--sd-amber, #fff4e0);
    color: var(--sd-amber-ink, #8a5300);
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .fluxforge-shell__main[b-3emt8qbyhc] {
        padding-top: 24px;
        padding-bottom: 44px;
    }

    .sd-footer__inner[b-3emt8qbyhc] {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .sd-footer__links[b-3emt8qbyhc] {
        margin-left: 0;
    }

    .sd-footer__links ul[b-3emt8qbyhc] {
        gap: 0 16px;
    }

    .sd-footer__links a[b-3emt8qbyhc],
    .sd-footer__cookie-button[b-3emt8qbyhc] {
        min-height: 44px;
    }
}

/* Touch screens (also tablets): every footer link is at least 44 px high. */
@media (pointer: coarse) {
    .sd-footer__links a[b-3emt8qbyhc],
    .sd-footer__cookie-button[b-3emt8qbyhc] {
        min-height: 44px;
    }
}

/* Reduced motion: app.css keeps the colour change of the footer links and drops the growing underline. */
/* /Shell/Layout/NavMenu.razor.rz.scp.css */
/* Portal header, prototype version 3 "Leicht": white band, quiet navigation with an underline,
   search centred in the free space, coins and the user block at the right page gutter. No red bars. */

.sd-header[b-sgmt4jpbga] {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid var(--sd-line, #e4e8ee);
}

.sd-header__inner[b-sgmt4jpbga] {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
    height: var(--sd-header-height, 64px);
}

/* ---------- Logo ---------- */

.sd-header__brand[b-sgmt4jpbga] {
    display: flex;
    flex: none;
    align-items: center;
    margin-right: 40px;
    border-radius: var(--sd-r-sm, 6px);
}

.sd-header__logo[b-sgmt4jpbga] {
    display: block;
    width: 68px;
    height: auto;
    transition: transform 0.3s var(--sd-spring, ease);
}

.sd-header__brand:hover .sd-header__logo[b-sgmt4jpbga] {
    transform: scale(1.05);
}

.sd-header__brand:focus-visible[b-sgmt4jpbga] {
    outline: 2px solid var(--sd-sky-ink, #2f5f9e);
    outline-offset: 4px;
}

/* ---------- Navigation ---------- */

.sd-header__nav[b-sgmt4jpbga] {
    display: flex;
    flex: none;
    align-items: stretch;
}

.sd-header__nav[b-sgmt4jpbga]  .sd-header__link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 0;
    background: none;
    color: var(--sd-muted, #55687a);
    font-size: var(--sd-fs-sm, 0.8125rem);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.sd-header__nav[b-sgmt4jpbga]  .sd-header__link .nf,
.sd-header__nav[b-sgmt4jpbga]  .sd-header__link .hx-icon {
    font-size: 1.125rem;
    transition: transform 0.25s var(--sd-spring, ease);
}

.sd-header__nav[b-sgmt4jpbga]  .sd-header__link::after {
    position: absolute;
    right: 50%;
    bottom: 0;
    left: 50%;
    height: 2px;
    content: "";
    background: var(--sd-sky-ink, #2f5f9e);
    transition: left 0.25s var(--sd-ease, ease), right 0.25s var(--sd-ease, ease), opacity 0.2s ease;
}

.sd-header__nav[b-sgmt4jpbga]  .sd-header__link:hover {
    color: var(--sd-navy, #22384e);
}

.sd-header__nav[b-sgmt4jpbga]  .sd-header__link:hover .nf {
    transform: translateY(-2px) scale(1.1);
}

.sd-header__nav[b-sgmt4jpbga]  .sd-header__link:hover::after {
    right: 14px;
    left: 14px;
    opacity: 0.45;
}

.sd-header__nav[b-sgmt4jpbga]  .sd-header__link.active,
.sd-header__nav[b-sgmt4jpbga]  .sd-header__link[aria-current="page"] {
    color: var(--sd-navy, #22384e);
}

.sd-header__nav[b-sgmt4jpbga]  .sd-header__link.active::after,
.sd-header__nav[b-sgmt4jpbga]  .sd-header__link[aria-current="page"]::after {
    right: 14px;
    left: 14px;
    opacity: 1;
}

.sd-header__nav[b-sgmt4jpbga]  .sd-header__link:focus-visible {
    outline: 2px solid var(--sd-sky-ink, #2f5f9e);
    outline-offset: -6px;
    border-radius: var(--sd-r-sm, 6px);
}

.sd-header__nav[b-sgmt4jpbga]  .sd-header__group {
    display: flex;
}

/* ---------- Search ---------- */

.sd-header__search[b-sgmt4jpbga] {
    display: flex;
    flex: 0 1 260px;
    align-items: center;
    min-width: 210px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- Right side: module headers (coins) and the user ---------- */

.sd-header__side[b-sgmt4jpbga] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.sd-header__search + .sd-header__side[b-sgmt4jpbga] {
    margin-left: 0;
}

.sd-header__modules[b-sgmt4jpbga] {
    display: flex;
    align-items: center;
    align-self: stretch;
    min-width: 0;
}

.sd-header__user[b-sgmt4jpbga] {
    display: flex;
    align-items: center;
    align-self: stretch;
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu {
    display: flex;
    align-items: center;
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 260px;
    min-height: 44px;
    margin-left: 12px;
    padding: 0 0 0 4px;
    border: 0;
    border-radius: var(--sd-r-pill, 999px);
    background: transparent;
    color: var(--sd-navy, #22384e);
    font-family: inherit;
    font-size: var(--sd-fs-sm, 0.8125rem);
    font-weight: 500;
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__toggle:hover .sd-avatar {
    transform: scale(1.1);
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__toggle:focus-visible {
    outline: 2px solid var(--sd-sky-ink, #2f5f9e);
    outline-offset: 3px;
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__guest {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sd-sky, #eaf2fc);
    color: var(--sd-sky-ink, #2f5f9e);
    font-size: 1rem;
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__chevron {
    color: var(--sd-muted, #55687a);
    font-size: 1rem;
    transition: transform 0.25s var(--sd-ease, ease);
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__toggle[aria-expanded="true"] .sd-user-menu__chevron {
    transform: rotate(180deg);
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__menu {
    width: 14.5rem;
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 80px);
    margin-top: 8px !important;
    padding: 0 0 6px;
    overflow-y: auto;
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__identity {
    padding: 14px 16px;
    margin-bottom: 6px;
    overflow: hidden;
    background: var(--sd-ice, #f7f8fb);
    color: var(--sd-navy, #22384e);
    font-size: var(--sd-fs-sm, 0.8125rem);
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__menu .dropdown-item:hover {
    padding-left: 1.25rem;
}

/* Language row of the first level and the rows of the second level: a flag in the icon place, the language,
   and an arrow or a check at the end. */
.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__language,
.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__back,
.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__choice .dropdown-item {
    display: flex;
    align-items: center;
    width: 100%;
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__menu .sd-flag {
    margin-right: 0.4rem;
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__next,
.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__check {
    margin-left: auto;
    font-size: 1rem;
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__next {
    color: var(--sd-muted, #55687a);
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__check {
    color: var(--sd-sky-ink, #2f5f9e);
}

.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__back {
    font-weight: 600;
}

/* The second level fades in; nothing moves. */
.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__choice,
.sd-header__user[b-sgmt4jpbga]  .sd-user-menu__back {
    animation: sd-fade 0.18s ease backwards;
}

/* ---------- Menu button (below 992 px) ---------- */

.sd-header__menu[b-sgmt4jpbga] {
    display: none;
    flex: none;
    place-items: center;
    align-self: center;
    width: 44px;
    height: 44px;
    margin: 0 8px 0 -10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--sd-navy, #22384e);
    font-size: 1.375rem;
    transition: background-color 0.15s ease;
}

.sd-header__menu:hover[b-sgmt4jpbga],
.sd-header__menu[aria-expanded="true"][b-sgmt4jpbga] {
    background: var(--sd-fill-2, #eef2f7);
}

.sd-header__menu:focus-visible[b-sgmt4jpbga] {
    outline: 2px solid var(--sd-sky-ink, #2f5f9e);
    outline-offset: 2px;
}

@media (max-width: 1199.98px) {
    .sd-header__brand[b-sgmt4jpbga] {
        margin-right: 24px;
    }

    .sd-header__nav[b-sgmt4jpbga]  .sd-header__link {
        padding: 0 10px;
    }

    .sd-header__search[b-sgmt4jpbga] {
        min-width: 160px;
    }
}

@media (max-width: 991.98px) {
    .sd-header__menu[b-sgmt4jpbga] {
        display: grid;
    }

    .sd-header__brand[b-sgmt4jpbga] {
        margin-right: 8px;
    }

    .sd-header__nav[b-sgmt4jpbga] {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        gap: 2px;
        max-height: calc(100dvh - var(--sd-header-height, 64px));
        padding: 8px max(var(--sd-gutter, 32px), env(safe-area-inset-right))
                 14px max(var(--sd-gutter, 32px), env(safe-area-inset-left));
        overflow-y: auto;
        overscroll-behavior: contain;
        border-bottom: 1px solid var(--sd-line, #e4e8ee);
        background: #fff;
        box-shadow: 0 16px 30px rgba(26, 44, 62, 0.12);
    }

    .sd-header__nav.is-open[b-sgmt4jpbga] {
        display: flex;
    }

    /* A navigation group opens in place below its title. A floating menu would be cut off by the scrolling panel.
       Popper sets the position inline, so the overrides need !important. */
    .sd-header__nav[b-sgmt4jpbga]  .sd-header__group {
        flex-direction: column;
    }

    .sd-header__nav[b-sgmt4jpbga]  .sd-header__group .dropdown-menu.show {
        position: static !important;
        inset: auto !important;
        margin: 0 0 4px 30px !important;
        padding: 0;
        border: 0;
        box-shadow: none;
        transform: none !important;
        animation: none;
    }

    .sd-header__nav[b-sgmt4jpbga]  .sd-header__link {
        min-height: 48px;
        padding: 0 12px;
        border-radius: var(--sd-r-md, 10px);
        font-size: var(--sd-fs-base, 0.875rem);
    }

    .sd-header__nav[b-sgmt4jpbga]  .sd-header__link::after {
        display: none;
    }

    .sd-header__nav[b-sgmt4jpbga]  .sd-header__link.active,
    .sd-header__nav[b-sgmt4jpbga]  .sd-header__link[aria-current="page"] {
        background: var(--sd-sky, #eaf2fc);
        color: var(--sd-sky-ink, #2f5f9e);
    }

    .sd-header__search[b-sgmt4jpbga] {
        flex: none;
        min-width: 0;
        margin: 0 0 0 auto;
        padding: 0 4px;
    }
}

@media (max-width: 767.98px) {
    .sd-header__user[b-sgmt4jpbga]  .sd-user-menu__name {
        display: none;
    }

    .sd-header__user[b-sgmt4jpbga]  .sd-user-menu__toggle {
        gap: 4px;
        margin-left: 4px;
    }
}

@media (max-width: 575.98px) {
    .sd-header__inner[b-sgmt4jpbga] {
        height: 56px;
    }

    .sd-header__nav[b-sgmt4jpbga] {
        max-height: calc(100dvh - 56px);
    }

    .sd-header__logo[b-sgmt4jpbga] {
        width: 60px;
    }

    .sd-header__menu[b-sgmt4jpbga] {
        margin-left: -8px;
        margin-right: 4px;
    }

    .sd-header__side[b-sgmt4jpbga] {
        gap: 0;
    }
}

/* Very narrow phones (320 px): the user button shows only the avatar, so the coin balance keeps its room. */
@media (max-width: 359.98px) {
    .sd-header__user[b-sgmt4jpbga]  .sd-user-menu__chevron {
        display: none;
    }
}

/* Reduced motion: app.css keeps colour and opacity fades and drops movement. Hover states stop moving. */
@media (prefers-reduced-motion: reduce) {
    .sd-header__brand:hover .sd-header__logo[b-sgmt4jpbga],
    .sd-header__nav[b-sgmt4jpbga]  .sd-header__link:hover .nf,
    .sd-header__user[b-sgmt4jpbga]  .sd-user-menu__toggle:hover .sd-avatar {
        transform: none;
    }
}
/* /Shell/NotFoundPage.razor.rz.scp.css */
.not-found h1[b-473xyth7lu] {
    margin: 0;
    font-size: var(--sd-fs-lg);
    font-weight: 500;
}
/* /Shell/Search/GlobalSearch.razor.rz.scp.css */
/* Header search ("Leicht"): an underlined field in the header that opens a centred search dialog. */

.global-search[b-40y7zbhxnm] {
    position: relative;
    width: 100%;
}

/* ---------- Trigger in the header ---------- */

.global-search__trigger[b-40y7zbhxnm] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 36px;
    padding: 0 14px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--sd-muted, #55687a);
    font: inherit;
    font-size: var(--sd-fs-sm, 0.8125rem);
    text-align: left;
    white-space: nowrap;
    box-shadow: inset 0 -1px 0 var(--sd-line-2, #c9d1da);
    transition: background-color 0.3s ease, color 0.2s ease, box-shadow 0.3s ease, border-radius 0.3s ease;
}

.global-search__trigger:hover[b-40y7zbhxnm],
.global-search__trigger:focus-visible[b-40y7zbhxnm] {
    border-radius: var(--sd-r-sm, 6px);
    background: var(--sd-ice, #f7f8fb);
    color: var(--sd-navy, #22384e);
    box-shadow: none;
}

.global-search__trigger:focus-visible[b-40y7zbhxnm] {
    outline: 2px solid var(--sd-sky-ink, #2f5f9e);
    outline-offset: 2px;
}

.global-search__trigger[b-40y7zbhxnm]  .global-search__trigger-icon,
.global-search__trigger[b-40y7zbhxnm]  .nf {
    flex: none;
    font-size: 1.125rem;
}

.global-search__trigger-text[b-40y7zbhxnm] {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- Dialog ---------- */

.global-search__dim[b-40y7zbhxnm] {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(22, 36, 52, 0.28);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: global-search-fade-b-40y7zbhxnm 0.2s ease both;
}

.global-search__dialog[b-40y7zbhxnm] {
    position: fixed;
    top: 80px;
    left: 50%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: min(640px, calc(100vw - 32px));
    max-height: calc(100dvh - 120px);
    padding: 26px 30px 24px;
    border-radius: var(--sd-r-dialog, 20px);
    background: #fff;
    color: var(--sd-ink, #22384e);
    box-shadow: 0 30px 80px rgba(22, 36, 52, 0.28);
    transform: translateX(-50%);
    animation: global-search-pop-b-40y7zbhxnm 0.32s var(--sd-spring, ease) both;
}

.global-search__head[b-40y7zbhxnm] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.global-search__head h2[b-40y7zbhxnm] {
    margin: 0;
    font-size: 1.3125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.global-search__close[b-40y7zbhxnm] {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--sd-fill, #f5f7fa);
    color: var(--sd-navy, #22384e);
    font-size: 1.125rem;
    transition: background-color 0.15s ease, transform 0.25s var(--sd-spring, ease);
}

.global-search__close:hover[b-40y7zbhxnm] {
    background: var(--sd-fill-2, #eef2f7);
    transform: rotate(90deg);
}

.global-search__close:focus-visible[b-40y7zbhxnm] {
    outline: 2px solid var(--sd-sky-ink, #2f5f9e);
    outline-offset: 2px;
}

.global-search__field[b-40y7zbhxnm] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 14px;
    border-radius: var(--sd-r-card, 12px);
    background: #fff;
    color: var(--sd-muted, #55687a);
    box-shadow: 0 0 0 2px var(--sd-sky-ink, #2f5f9e);
}

.global-search__field[b-40y7zbhxnm]  .nf {
    flex: none;
    font-size: 1.125rem;
}

/* Quiet loading state: a small ring at the end of the field. Results of the previous query stay visible. */
.global-search__spinner[b-40y7zbhxnm] {
    flex: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--sd-line, #e4e8ee);
    border-top-color: var(--sd-sky-ink, #2f5f9e);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.global-search__field.is-loading .global-search__spinner[b-40y7zbhxnm] {
    opacity: 1;
    animation: global-search-spin-b-40y7zbhxnm 0.8s linear infinite;
}

.global-search__input[b-40y7zbhxnm] {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: var(--sd-navy, #22384e);
    font: inherit;
    font-size: 1rem;
    outline: none;
}

.global-search__input[b-40y7zbhxnm]::placeholder {
    color: var(--sd-subtle, #7d8ea0);
    opacity: 1;
}

.global-search__input[b-40y7zbhxnm]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.global-search__body[b-40y7zbhxnm] {
    min-height: 0;
    margin-top: 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.global-search__results[b-40y7zbhxnm] {
    transition: opacity 0.2s ease;
}

.global-search__results.is-stale[b-40y7zbhxnm] {
    opacity: 0.6;
}

.global-search__group-title[b-40y7zbhxnm] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 14px 0 6px;
    color: var(--sd-navy, #22384e);
    font-size: var(--sd-fs-sm, 0.8125rem);
    font-weight: 500;
}

/* The mark elements come from a render fragment without the scope attribute, so they need ::deep. */
.global-search__option[b-40y7zbhxnm]  mark {
    padding: 0;
    border-radius: 2px;
    background: var(--sd-sky, #eaf2fc);
    color: inherit;
    font-weight: 600;
    box-shadow: 0 0 0 1px var(--sd-sky, #eaf2fc);
}

.global-search__option[b-40y7zbhxnm] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 9px 10px;
    border-radius: var(--sd-r-md, 10px);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.global-search__option.is-active[b-40y7zbhxnm] {
    background: var(--sd-ice, #f7f8fb);
    box-shadow: inset 3px 0 0 var(--sd-sky-ink, #2f5f9e);
}

.global-search__option:hover[b-40y7zbhxnm] {
    background: var(--sd-ice, #f7f8fb);
}

.global-search__option[b-40y7zbhxnm]  .global-search__option-icon,
.global-search__option[b-40y7zbhxnm]  .nf {
    flex: none;
    color: var(--sd-navy, #22384e);
    font-size: 1.125rem;
}

.global-search__title[b-40y7zbhxnm] {
    min-width: 0;
    overflow: hidden;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.global-search__detail[b-40y7zbhxnm] {
    min-width: 0;
    margin-left: auto;
    overflow: hidden;
    color: var(--sd-muted, #55687a);
    font-size: var(--sd-fs-sm, 0.8125rem);
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.global-search__empty[b-40y7zbhxnm],
.global-search__hint[b-40y7zbhxnm],
.global-search__partial[b-40y7zbhxnm] {
    margin: 16px 2px 2px;
    color: var(--sd-muted, #55687a);
}

.global-search__partial[b-40y7zbhxnm] {
    font-size: var(--sd-fs-sm, 0.8125rem);
}

.global-search__foot[b-40y7zbhxnm] {
    flex: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--sd-line, #e4e8ee);
}

.global-search__all[b-40y7zbhxnm] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-height: 32px;
    font-weight: 500;
}

.global-search__all span[b-40y7zbhxnm] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.global-search__all[b-40y7zbhxnm]  .nf {
    flex: none;
    font-size: 1.125rem;
}

.global-search__all:focus-visible[b-40y7zbhxnm] {
    outline: 2px solid var(--sd-sky-ink, #2f5f9e);
    outline-offset: 2px;
}

@keyframes global-search-fade-b-40y7zbhxnm {
    from { opacity: 0; }
}

@keyframes global-search-pop-b-40y7zbhxnm {
    from { opacity: 0; transform: translate(-50%, 14px) scale(0.96); }
}

@keyframes global-search-rise-b-40y7zbhxnm {
    from { opacity: 0; transform: translateY(14px); }
}

@keyframes global-search-spin-b-40y7zbhxnm {
    to { transform: rotate(360deg); }
}

@media (max-width: 991.98px) {
    .global-search__trigger[b-40y7zbhxnm] {
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 50%;
        box-shadow: none;
    }

    .global-search__trigger:hover[b-40y7zbhxnm],
    .global-search__trigger:focus-visible[b-40y7zbhxnm] {
        border-radius: 50%;
    }

    .global-search__trigger[b-40y7zbhxnm]  .nf {
        font-size: 1.25rem;
    }

    .global-search__trigger-text[b-40y7zbhxnm] {
        display: none;
    }
}

/* Phones, also in landscape (short screens): the dialog fills the screen, results show the subtitle in a second
   line. */
@media (max-width: 575.98px), (max-height: 499.98px) {
    .global-search__dialog[b-40y7zbhxnm] {
        inset: 0;
        width: 100%;
        max-height: none;
        height: 100dvh;
        padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
                 max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
        border-radius: 0;
        box-shadow: none;
        transform: none;
        animation-name: global-search-rise-b-40y7zbhxnm;
    }

    .global-search__body[b-40y7zbhxnm] {
        flex: 1;
    }

    .global-search__option[b-40y7zbhxnm] {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 10px;
        row-gap: 2px;
        min-height: 48px;
    }

    .global-search__option[b-40y7zbhxnm]  .global-search__option-icon {
        grid-row: span 2;
    }

    .global-search__detail[b-40y7zbhxnm] {
        margin-left: 0;
        text-align: left;
    }
}

/* Touch screens: the close button, the results and the "all patients" link are at least 44 px high. */
@media (pointer: coarse) {
    .global-search__close[b-40y7zbhxnm] {
        width: 44px;
        height: 44px;
    }

    .global-search__option[b-40y7zbhxnm] {
        min-height: 48px;
    }

    .global-search__all[b-40y7zbhxnm] {
        min-height: 44px;
    }
}

/* Reduced motion: the dialog only fades in (no pop); colour changes stay, the close button does not turn. */
@media (prefers-reduced-motion: reduce) {
    .global-search__dim[b-40y7zbhxnm],
    .global-search__dialog[b-40y7zbhxnm] {
        animation: global-search-fade-b-40y7zbhxnm 0.2s ease both !important;
    }

    /* The ring does not turn; it only shows that a search runs. */
    .global-search__field.is-loading .global-search__spinner[b-40y7zbhxnm] {
        animation: none !important;
        border-color: var(--sd-sky-ink, #2f5f9e);
        opacity: 0.5;
    }

    .global-search__close:hover[b-40y7zbhxnm] {
        transform: none;
    }
}
