@import '_content/RTR.WebApp/RTR.WebApp.yghe09rlvu.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* App-specific bits supplied to RtrWebAppShell: the brand mark (top of the
   sidebar) and the signed-in account chip (bottom). Sizes are explicit so the
   layout's global `* { font-size: 13px }` rule (kept for Telerik pages) can't
   shrink them. */

.brand-mark[b-k2g4oev57c] {
    height: 34px;
    width: auto;
    display: block;
    flex: none;
}

/* ── Account chip (bottom of the sidebar) ───────────────────────────── */
.user-chip[b-k2g4oev57c] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px;
    border-radius: var(--rtr-web-radius);
    background: transparent;
    transition: background-color .15s ease;
}

.user-chip:hover[b-k2g4oev57c] {
    background: var(--rtr-web-sidebar-hover);
}

.user-chip__avatar[b-k2g4oev57c] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--rtr-web-accent);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.user-chip__meta[b-k2g4oev57c] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

.user-chip__name[b-k2g4oev57c] {
    font-size: 13px;
    font-weight: 600;
    color: var(--rtr-web-sidebar-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.45;       /* room for descenders */
    padding-block: 1px;
}

.user-chip__sub[b-k2g4oev57c] {
    font-size: 11.5px;
    color: var(--rtr-web-sidebar-text-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.45;
    padding-block: 1px;
}

/* Collapsed rail: keep just the avatar, centered. (.rtr-web-shell--collapsed is
   rendered by RtrWebAppShell; Blazor scopes only the rightmost selector, so this
   ancestor match works across the component boundary.) */
.rtr-web-shell--collapsed .user-chip[b-k2g4oev57c] {
    justify-content: center;
    padding: 8px 0;
}

.rtr-web-shell--collapsed .user-chip__meta[b-k2g4oev57c] {
    display: none;
}

/* Framework error toast (referenced by the host error <div>). */
#blazor-error-ui[b-k2g4oev57c] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-k2g4oev57c] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-mdyrxus911] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-mdyrxus911] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-mdyrxus911] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-mdyrxus911] {
    font-size: 1.1rem;
}

.bi[b-mdyrxus911] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-mdyrxus911] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-mdyrxus911] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-mdyrxus911] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-mdyrxus911] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-mdyrxus911] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-mdyrxus911] {
        padding-bottom: 1rem;
    }

    .nav-item[b-mdyrxus911]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-mdyrxus911]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-mdyrxus911]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-mdyrxus911] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-mdyrxus911] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-mdyrxus911] {
        display: none;
    }

    .nav-scrollable[b-mdyrxus911] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-qego4urqdt],
.components-reconnect-repeated-attempt-visible[b-qego4urqdt],
.components-reconnect-failed-visible[b-qego4urqdt],
.components-pause-visible[b-qego4urqdt],
.components-resume-failed-visible[b-qego4urqdt],
.components-rejoining-animation[b-qego4urqdt] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-qego4urqdt],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-qego4urqdt],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-qego4urqdt],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-qego4urqdt],
#components-reconnect-modal.components-reconnect-retrying[b-qego4urqdt],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-qego4urqdt],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-qego4urqdt],
#components-reconnect-modal.components-reconnect-failed[b-qego4urqdt],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-qego4urqdt] {
    display: block;
}


#components-reconnect-modal[b-qego4urqdt] {
    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-qego4urqdt 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-qego4urqdt 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-qego4urqdt 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-qego4urqdt]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-qego4urqdt 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-qego4urqdt {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-qego4urqdt {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-qego4urqdt {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-qego4urqdt] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-qego4urqdt] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-qego4urqdt] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-qego4urqdt] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-qego4urqdt] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-qego4urqdt] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-qego4urqdt] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-qego4urqdt 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-qego4urqdt] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-qego4urqdt {
    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/AbioticMeasuresPage.razor.rz.scp.css */
/* Abiotic Measures master-detail (ADO 5744): a master list card on the left,
   a read-only detail pane on the right whose body scrolls. Mirrors
   GearTypesTab.razor.css — same geometry, same tokens; the list row is the one
   deliberate difference (two lines + a category count instead of one line). */

.abio-wrap[b-q946go8x38] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}

/* Page title on the left; flex:none so the master-detail region below still owns
   the leftover height. The right side is empty until Add is wired. */
.abio__page-head[b-q946go8x38] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.abio[b-q946go8x38] {
    display: flex;
    gap: 24px;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
}

.abio__list[b-q946go8x38] {
    flex: 0 0 25%;
    width: 25%;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--rtr-web-surface);
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
    padding: 8px;
}

/* Search / data type / Show hidden, stacked on top of the list they filter and
   sharing its width. flex:none keeps them fixed while .abio__scroll below takes
   the remaining height. */
.abio__filters[b-q946go8x38] {
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 4px 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--rtr-web-border);
}

/* Label and switch sit together as one unit rather than being pushed to opposite
   edges — at this rail width, space-between strands them with a dead gap. */
.abio__filters-row[b-q946go8x38] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--rtr-web-text-muted);
}

.abio__scroll[b-q946go8x38] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.abio-row[b-q946go8x38] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--rtr-web-radius);
    cursor: pointer;
    transition: background-color .12s ease;
}

.abio-row:hover[b-q946go8x38] { background: var(--rtr-web-accent-tint); }

.abio-row--active[b-q946go8x38] {
    background: var(--rtr-web-accent-tint);
    box-shadow: inset 3px 0 0 var(--rtr-web-accent);
}

/* Name over data type, taking the row's slack; the category count and Hidden tag
   are shrink-to-fit on the right. */
.abio-row__main[b-q946go8x38] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

/* The label is allowed to wrap — at this rail width, ellipsis would cut away the
   part that distinguishes similar measures ("Secchi Depth (c…" vs "Secchi Dept…"). */
.abio-row__name[b-q946go8x38] {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.3;
    font-size: 14px;
    font-weight: 500;
    color: var(--rtr-web-text);
}

.abio-row--active .abio-row__name[b-q946go8x38] { color: var(--rtr-web-accent); font-weight: 600; }

.abio-row__type[b-q946go8x38] {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--rtr-web-text-subtle);
}

.abio-row__count[b-q946go8x38] {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 500;
    color: var(--rtr-web-text-muted);
}

.abio-hidden-tag[b-q946go8x38] {
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--rtr-web-text-subtle);
    background: var(--rtr-web-neutral-tint);
    border-radius: 999px;
    padding: 1px 8px;
    line-height: 1.6;
}

.abio__empty[b-q946go8x38] { padding: 16px 10px; color: var(--rtr-web-text-faint); font-size: 13px; }

.abio__detail[b-q946go8x38] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.abio__placeholder[b-q946go8x38] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    color: var(--rtr-web-text-faint);
    font-size: 14px;
    border: 1px dashed var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
}

/* The selected measure's display label heads the card. Edit will pin far right on
   this same line once the drawer is wired, which is why MudSpacer is already there. */
.abio__head[b-q946go8x38] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--rtr-web-border);
}

.abio__card[b-q946go8x38] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--rtr-web-surface);
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
}

.abio__body[b-q946go8x38] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 22px 24px;
}

/* Full-bleed section break, for when Measure Categories lands below the fields.
   Negative inline margins span the .abio__body padding so the band runs
   edge-to-edge across the card. */
.abio__divider[b-q946go8x38] {
    height: 1px;
    background: var(--rtr-web-border);
    margin: 32px -24px 26px;
    box-shadow: 0 1px 0 var(--rtr-web-surface-muted);
}

/* Stands in for the categories grid on measures whose control type doesn't use
   option values — dashed, so it reads as an empty slot rather than a message. */
.abio__cats-note[b-q946go8x38] {
    padding: 16px;
    border: 1px dashed var(--rtr-web-border);
    border-radius: var(--rtr-web-radius);
    color: var(--rtr-web-text-subtle);
    font-size: 13px;
    line-height: 1.5;
}

.abio__section-label[b-q946go8x38] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rtr-web-text-subtle);
    margin-bottom: 12px;
}
/* /Components/Pages/Admin/GearTypesTab.razor.rz.scp.css */
/* Gear Types master-detail: a master list card on the left, a read-only detail
   pane on the right whose body scrolls. .gears-wrap fills the RtrWebPage column
   under the page header + tabs. (There's no pinned action bar since ADO 5735 —
   editing moved to the right-hand RtrWebDrawer.) */

.gears-wrap[b-hk9y7djrqc] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}

/* Page title on the left, Add Gear Type on the right, one line (ADO 5735).
   flex:none so the master-detail region below still owns the leftover height. */
.gears__page-head[b-hk9y7djrqc] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.gears[b-hk9y7djrqc] {
    display: flex;
    gap: 24px;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
}

.gears__list[b-hk9y7djrqc] {
    flex: 0 0 25%;
    width: 25%;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--rtr-web-surface);
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
    padding: 8px;
}

/* Search / category / Show hidden, stacked on top of the list they filter and
   sharing its width (ADO 5735). flex:none keeps them fixed while .gears__scroll
   below takes the remaining height. */
.gears__filters[b-hk9y7djrqc] {
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 4px 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--rtr-web-border);
}

/* Label and switch sit together as one unit rather than being pushed to opposite
   edges — at this rail width, space-between stranded them with a dead gap. */
.gears__filters-row[b-hk9y7djrqc] {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--rtr-web-text-muted);
}

.gears__scroll[b-hk9y7djrqc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.gear-row[b-hk9y7djrqc] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--rtr-web-radius);
    cursor: pointer;
    transition: background-color .12s ease;
}

.gear-row:hover[b-hk9y7djrqc] { background: var(--rtr-web-accent-tint); }

.gear-row--active[b-hk9y7djrqc] {
    background: var(--rtr-web-accent-tint);
    box-shadow: inset 3px 0 0 var(--rtr-web-accent);
}

/* Name and category share the row rather than stacking (ADO 5735 review): the
   name takes the slack, the category is shrink-to-fit on the right. The name is
   allowed to wrap — at this rail width the long electrofishing entries would
   otherwise ellipsis away the part that distinguishes them
   ("Electrofishing-Ba…" vs "Electrofishing-Bo…"). */
.gear-row__name[b-hk9y7djrqc] {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.3;
    font-size: 14px;
    font-weight: 500;
    color: var(--rtr-web-text);
}

.gear-row--active .gear-row__name[b-hk9y7djrqc] { color: var(--rtr-web-accent); font-weight: 600; }

.gear-row__cat[b-hk9y7djrqc] {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--rtr-web-text-subtle);
}

.gear-hidden-tag[b-hk9y7djrqc] {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--rtr-web-text-subtle);
    background: var(--rtr-web-neutral-tint);
    border-radius: 999px;
    padding: 1px 8px;
    line-height: 1.6;
}

.gears__empty[b-hk9y7djrqc] { padding: 16px 10px; color: var(--rtr-web-text-faint); font-size: 13px; }

.gears__detail[b-hk9y7djrqc] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gears__placeholder[b-hk9y7djrqc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    color: var(--rtr-web-text-faint);
    font-size: 14px;
    border: 1px dashed var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
}

/* The selected gear type's name heads the card, with Edit pinned far right on
   the same line (ADO 5735) — the pane is read-only, so this is the only way in. */
.gears__head[b-hk9y7djrqc] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--rtr-web-border);
}

.gears__card[b-hk9y7djrqc] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--rtr-web-surface);
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
}

.gears__body[b-hk9y7djrqc] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 22px 24px;
}

/* Full-bleed section break between the gear-type info (above) and Gear Details
   (below). Negative inline margins span the .gears__body padding so the band runs
   edge-to-edge across the card; the tinted strip makes the break unmistakable. */
.gears__divider[b-hk9y7djrqc] {
    height: 1px;
    background: var(--rtr-web-border);
    margin: 32px -24px 26px;
    box-shadow: 0 1px 0 var(--rtr-web-surface-muted);
}

.gears__section-label[b-hk9y7djrqc] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rtr-web-text-subtle);
    margin-bottom: 12px;
}
/* /Components/Pages/Admin/ProjectFormPanel.razor.rz.scp.css */
/* Project add/edit drawer panel.

   RtrWebDrawer's body is `height:100%` + `flex-direction:column`, so anything left
   as its direct child becomes a flex item and gets spread down the full panel.
   Holding the whole form in one `flex:0 0 auto` block keeps it content-sized and
   packed at the top, with its own even spacing. */
.pfp[b-8k6wfgh9u1] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 0 0 auto;
}

.pfp__years[b-8k6wfgh9u1] {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* min-width:0 is load-bearing: a flex item defaults to min-width:auto and so
   refuses to shrink below its content width, and a MudNumericField (label plus
   spin buttons) is wider than half the 420px drawer. Without it the two year
   fields break out of the row instead of sharing it. */
.pfp__year[b-8k6wfgh9u1] {
    flex: 1 1 0;
    min-width: 0;
}

.pfp__actions[b-8k6wfgh9u1] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}
/* /Components/Pages/Admin/ProjectManagement.razor.rz.scp.css */
/* Project Management — master-detail. Mirrors the Teams tab list styling; the
   detail pane is a flex column whose stack of collapsible sections scrolls while
   the Save/Cancel bar stays pinned at the bottom. */

/* Title block + New Project on one line. `align-items: flex-start` keeps the
   button on the title's line rather than centering it against the description
   paragraph below. */
.projects__page-head[b-6lp7m9t4za] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.projects__page-titles[b-6lp7m9t4za] {
    min-width: 0;
}

.projects[b-6lp7m9t4za] {
    display: flex;
    gap: 24px;
    align-items: stretch;
    height: 100%;
    min-height: 0;
}

/* ── Master list (white card) ───────────────────────────────────────── */
.projects__list[b-6lp7m9t4za] {
    /* Just over a quarter of the page: project names are short and now wrap, so
       the pane earns less width than the detail side it sits next to. */
    flex: 0 0 27%;
    width: 27%;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--rtr-web-surface);
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
    padding: 8px;
}

/* Search lives in the list card it filters, sitting on the card's own padding
   and ruled off from the rows below it. */
.projects__list-head[b-6lp7m9t4za] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 2px 4px 8px;
}

/* Team + Survey Type share one line under the search row (ADO 5793). Equal flex
   with a 0 basis splits the pane evenly and lets both shrink together rather than
   one starving the other; min-width:0 is what actually permits the shrink, since
   form controls default to an intrinsic min-content floor. */
.projects__list-filters[b-6lp7m9t4za] {
    flex: none;
    display: flex;
    gap: 8px;
    padding: 0 4px 8px;
}

.projects__list-filters > *[b-6lp7m9t4za] {
    flex: 1 1 0;
    min-width: 0;
}

/* Status chips get their own line and close off the toolbar block — the rule that
   used to sit on .projects__list-head now lives here, so search + selects + chips
   read as one band instead of three ruled sections. */
.projects__list-chips[b-6lp7m9t4za] {
    flex: none;
    padding: 0 4px 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--rtr-web-border);
}

.projects__list-head > :first-child[b-6lp7m9t4za] {
    flex: 1 1 auto;
    min-width: 0;
}

/* Show-hidden toggle label, same treatment as SampleStations.razor's. */
.projects__hidden-label[b-6lp7m9t4za] {
    color: var(--rtr-web-text-muted);
    white-space: nowrap;
    font-size: 13px;
}

.projects__scroll[b-6lp7m9t4za] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.project-row[b-6lp7m9t4za] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--rtr-web-radius);
    cursor: pointer;
    transition: background-color .12s ease;
}

.project-row:hover[b-6lp7m9t4za] {
    background: var(--rtr-web-accent-tint);
}

.project-row--active[b-6lp7m9t4za] {
    background: var(--rtr-web-accent-tint);
    box-shadow: inset 3px 0 0 var(--rtr-web-accent);
}

/* Now that the name wraps, the pill must hold its natural width — otherwise flex
   shrinks the pill first and the name never gets the second line. `::deep` because
   RtrWebStatusPill's root carries no scope attribute of ours. */
.project-row[b-6lp7m9t4za]  .rtr-web-pill {
    flex: none;
}

.project-row__main[b-6lp7m9t4za] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

/* Wraps rather than truncating — a project is identified by its full name, and
   several of them share a long prefix that an ellipsis would cut before the part
   that distinguishes them. `overflow-wrap: anywhere` covers the odd unbroken
   token (a code or a URL) that would otherwise widen the row. */
.project-row__name[b-6lp7m9t4za] {
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 14px;
    font-weight: 500;
    color: var(--rtr-web-text);
}

.project-row--active .project-row__name[b-6lp7m9t4za] {
    color: var(--rtr-web-accent);
    font-weight: 600;
}

/* "Hidden" tag on archived-project rows (only visible when Show hidden is on). */
.project-row__hidden-tag[b-6lp7m9t4za] {
    display: inline-block;
    margin-left: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--rtr-web-text-subtle);
    background: var(--rtr-web-neutral-tint);
    border-radius: 999px;
    padding: 1px 8px;
    line-height: 1.6;
}

.projects__empty[b-6lp7m9t4za] {
    padding: 16px 10px;
    color: var(--rtr-web-text-faint);
    font-size: 13px;
}

/* ── Detail pane ────────────────────────────────────────────────────── */
.projects__detail[b-6lp7m9t4za] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.projects__placeholder[b-6lp7m9t4za] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    color: var(--rtr-web-text-faint);
    font-size: 14px;
    border: 1px dashed var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
}

.projects__head[b-6lp7m9t4za] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* A MudSpacer in the header now does the pushing, so this must NOT also
   margin-left:auto — that would shove the Edit button off the right edge. */
.projects__dirty[b-6lp7m9t4za] {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--rtr-web-warn);
}

/* Project Details on a single row. The four short fields take one column each and
   Description — the only prose here — takes a double-width last column so it wraps
   to two or three lines instead of a narrow ragged stack. Overrides the global
   .sd-grid track list; the scope attribute gives this the higher specificity. */
.projects__details-grid[b-6lp7m9t4za] {
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 2fr);
}

/* Stacked collapsible sections (Details · Teams · Abiotic Config), the same
   pattern as Survey Details. This is the scrolling region — RtrWebExpansionSection
   draws its own bordered surface, so there is deliberately no card wrapper here;
   nesting them in one would read as cards inside a card. */
.projects__sections[b-6lp7m9t4za] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Each section keeps its natural height. Flex children default to
   flex-shrink:1, so without this an expanded section is compressed to fit the
   pane — squashing the sections around it — instead of growing and letting this
   container scroll. Expanding a section now simply pushes the ones below it down.

   `::deep` is required: these are RtrWebExpansionSection component roots, which
   carry no scope attribute, so a plain `> *` rule would compile to `> *[b-xxx]`
   and match nothing. */
.projects__sections[b-6lp7m9t4za]  > * {
    flex: 0 0 auto;
}

/* Pinned below the scrolling stack rather than inside a card, so the rule sits
   on the pane itself. */
.projects__actions[b-6lp7m9t4za] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--rtr-web-border);
}

/* Custom head for the Project Details section (it carries the Edit button, so it
   uses HeaderContent instead of Title). */
.projects__section-head[b-6lp7m9t4za] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* Mirrors RtrWebExpansionSection's own .rtr-web-expansion__title: that class is
   scoped to RTR.WebApp, so a HeaderContent caller can't reuse it and has to restate
   the type treatment to match the plain-Title heads of Teams and Abiotic Config.
   Keep in sync with RtrWebExpansionSection.razor.css. */
.projects__section-title[b-6lp7m9t4za] {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--rtr-web-text-subtle);
}

/* ── Teams / Abiotic Config tab surface ─────────────────────────────── */
/* One bordered card carrying its own tab strip — the same surface treatment
   RtrWebExpansionSection draws, so the tabbed block sits level with the Details
   section above it rather than reading as a different kind of thing. */
/* Takes the height the Details section above it leaves, rather than sizing to its
   content — the tab body is the working surface here. This deliberately overrides
   the `flex: 0 0 auto` the .projects__sections rule above puts on every child, so
   it has to stay *after* that rule: both selectors score 0,2,0 and source order
   breaks the tie. min-height stops a long expanded Details from squeezing it to
   nothing; past that the sections column scrolls as before. */
.projects__tabs[b-6lp7m9t4za] {
    flex: 1 1 auto;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius);
    background: var(--rtr-web-surface);
    overflow: hidden;
}

.projects__tabbar[b-6lp7m9t4za] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--rtr-web-surface-muted);
    border-bottom: 1px solid var(--rtr-web-border);
}

/* Fills the card and scrolls itself, so the long Abiotic grid stays inside the
   tab instead of extending the pane. */
.projects__tabpanel[b-6lp7m9t4za] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
}

/* Abiotic filter bar: search on the left, All/Enabled/Required segments right of
   it. The search takes the slack so the segments keep their natural width. */
.projects__measure-bar[b-6lp7m9t4za] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.projects__measure-search[b-6lp7m9t4za] {
    flex: 0 1 320px;
    min-width: 0;
}

/* The em-dash a disabled row shows in place of a position. */
.projects__sort[b-6lp7m9t4za] {
    font-variant-numeric: tabular-nums;
    color: var(--rtr-web-text-subtle);
}

/* Editable Sort cell, squeezed to the size of the switches beside it so toggling
   a measure on doesn't change the row height — even Mud's Dense outlined field is
   roughly twice the 20px switch pill. Held narrow too: these are one- and
   two-digit positions, and a default-width field would make Sort the widest
   column in the grid.

   `::deep` throughout because the class lands on MudNumericField's own root and
   everything styled below is Mud's markup, none of which carries a scope
   attribute of ours. Heights are stated on both the wrapper and the input slot —
   Mud sets a min-height on each, so trimming only one leaves the other holding
   the row open. */
.projects__tabpanel[b-6lp7m9t4za]  .projects__sort-field {
    max-width: 68px;
    margin: 0 !important;
}

.projects__tabpanel[b-6lp7m9t4za]  .projects__sort-field .mud-input-control,
.projects__tabpanel[b-6lp7m9t4za]  .projects__sort-field .mud-input-control-input-container {
    margin: 0 !important;
}

.projects__tabpanel[b-6lp7m9t4za]  .projects__sort-field .mud-input {
    height: 22px;
    min-height: 22px;
    font-size: 12px;
}

.projects__tabpanel[b-6lp7m9t4za]  .projects__sort-field input {
    height: 22px;
    min-height: 22px;
    padding: 0 8px !important;
    font-size: 12px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* The outlined variant draws its border on a fieldset behind the input; its
   legend reserves space for a floating label this field never shows. */
.projects__tabpanel[b-6lp7m9t4za]  .projects__sort-field .mud-input-outlined-border {
    border-radius: 6px;
    top: 0;
}

.projects__tabpanel[b-6lp7m9t4za]  .projects__sort-field .mud-input-outlined-border legend {
    display: none;
}

/* ── Teams tab: two-list transfer ───────────────────────────────────── */
/* Deliberately the same treatment as the membership transfer on the Teams tab of
   Users and Teams (TeamsTab.razor.css) — the two pages do the same job and should
   look the same doing it. Restated rather than shared because Blazor scoped CSS
   can't be reached across components; the pattern is a candidate for a RTR.WebApp
   component (RtrWebTransferList) once a third caller shows up. Keep in sync. */
.members[b-6lp7m9t4za] {
    display: flex;
    gap: 16px;
    align-items: stretch;
    /* Fills the tab panel, so the two lists scroll inside their own panels rather
       than growing the pane — the point of the tabs is to stop the detail side
       scrolling. The panel is a flex item with a resolved height, so this
       percentage has something definite to resolve against. */
    height: 100%;
    min-height: 0;
}

.members__panel[b-6lp7m9t4za] {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--rtr-web-surface);
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
    overflow: hidden;
}

.members__head[b-6lp7m9t4za] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 8px 12px;
    background: var(--rtr-web-surface-muted);
    border-bottom: 1px solid var(--rtr-web-border);
}

.members__title[b-6lp7m9t4za] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rtr-web-text-subtle);
    flex: none;
}

.members__search[b-6lp7m9t4za] {
    flex: 0 1 240px;
    min-width: 0;
}

/* The head is a strip, not a form row — bring the 38px search box down to it.
   RtrWebSearchBox's markup isn't authored here, so this needs ::deep. */
.members__search[b-6lp7m9t4za]  .rtr-web-search {
    height: 30px;
    border-radius: 8px;
}

.members__search[b-6lp7m9t4za]  .rtr-web-search__input {
    font-size: 13px;
}

/* Pushed right on the assigned side, where there is no search box between it
   and the title. */
.members__count[b-6lp7m9t4za] {
    margin-left: auto;
    flex: none;
    font-size: 12px;
    color: var(--rtr-web-text-faint);
    white-space: nowrap;
}

.members__list[b-6lp7m9t4za] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

/* 4px + the 24px small-button height = a 32px row. */
.members__row[b-6lp7m9t4za] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 12px;
    border-bottom: 1px solid var(--rtr-web-border);
}

.members__row:last-child[b-6lp7m9t4za] {
    border-bottom: none;
}

.members__row:hover[b-6lp7m9t4za] {
    background: var(--rtr-web-accent-tint);
}

.members__name[b-6lp7m9t4za] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    color: var(--rtr-web-text);
}

/* The action always sits hard right. MudButton's output isn't authored here, so
   this needs ::deep to reach it. */
.members__row[b-6lp7m9t4za]  .mud-button-root {
    flex: none;
    margin-left: auto;
}

.members__empty[b-6lp7m9t4za] {
    padding: 14px 12px;
    color: var(--rtr-web-text-faint);
    font-size: 13px;
}

.members__foot[b-6lp7m9t4za] {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-top: 1px solid var(--rtr-web-border);
    color: var(--rtr-web-text-faint);
    font-size: 12px;
}
/* /Components/Pages/Admin/RoleFormPanel.razor.rz.scp.css */
/* New/edit role drawer panel — same split as the team/user editors: fields
   packed at the top of the drawer, actions pinned to the bottom however tall
   the panel gets. */
.rfp[b-pmhnp7g38u] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.rfp__fields[b-pmhnp7g38u] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 0 0 auto;
}

/* Mud's dense inputs carry their own 4px block margins; stacked with the gap
   above they space the fields unevenly, so the gap owns the rhythm. */
.rfp__fields[b-pmhnp7g38u]  .mud-input-control {
    margin-top: 0;
    margin-bottom: 0;
}

.rfp__title[b-pmhnp7g38u] {
    margin-bottom: 4px;
}

.rfp__actions[b-pmhnp7g38u] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--rtr-web-border);
}
/* /Components/Pages/Admin/RolePermissionsTab.razor.rz.scp.css */
/* Fill the height handed down by the tab host (.view is a flex:1 child of the
   fixed-height .rtr-web-page): lay out as a column so the toolbar keeps its
   natural height and the grid grows to take the rest, scrolling internally
   instead of the whole box floating above empty page. */
.rpm[b-4lsa2dq0t3] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.rpm__dirty[b-4lsa2dq0t3] {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--rtr-web-warn);
    white-space: nowrap;
}

.rpm__scroll[b-4lsa2dq0t3] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius);
}

.rpm__table[b-4lsa2dq0t3] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.rpm__table thead th[b-4lsa2dq0t3] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--rtr-web-surface);
    border-bottom: 1px solid var(--rtr-web-border);
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--rtr-web-text-subtle);
    white-space: nowrap;
}

.rpm__table .rpm__perm-col[b-4lsa2dq0t3] {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--rtr-web-surface);
    min-width: 260px;
}

.rpm__table thead .rpm__perm-col[b-4lsa2dq0t3] {
    z-index: 2;
}

.rpm__table .rpm__role-col[b-4lsa2dq0t3] {
    text-align: center;
    min-width: 96px;
}

/* Each role column header is a button: the name plus a pencil that fades in on
   hover, opening the add/edit-role drawer for that column. */
.rpm__role-head[b-4lsa2dq0t3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: none;
    border: 0;
    margin: -3px -6px;
    padding: 3px 6px;
    border-radius: var(--rtr-web-radius);
    font: inherit;
    font-weight: 600;
    color: inherit;
    white-space: nowrap;
    cursor: pointer;
}

.rpm__role-head:hover[b-4lsa2dq0t3] {
    background: var(--rtr-web-neutral-tint);
    color: var(--rtr-web-text);
}

.rpm__role-pencil[b-4lsa2dq0t3] {
    display: inline-flex;
    color: var(--rtr-web-text-subtle);
    opacity: 0;
    transition: opacity .12s ease;
}

.rpm__role-head:hover .rpm__role-pencil[b-4lsa2dq0t3],
.rpm__role-head:focus-visible .rpm__role-pencil[b-4lsa2dq0t3] {
    opacity: 1;
}

.rpm__role-tag[b-4lsa2dq0t3] {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--rtr-web-text-faint);
    border: 1px solid var(--rtr-web-border);
    border-radius: 4px;
    padding: 0 4px;
    line-height: 1.6;
}

.rpm__role-col--inactive .rpm__role-name[b-4lsa2dq0t3] {
    color: var(--rtr-web-text-faint);
}

.rpm__module-row td[b-4lsa2dq0t3] {
    padding: 8px 12px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--rtr-web-text-faint);
    background: var(--rtr-web-neutral-tint);
}

.rpm__table tbody tr:not(.rpm__module-row)[b-4lsa2dq0t3] {
    border-bottom: 1px solid var(--rtr-web-border);
}

.rpm__table td[b-4lsa2dq0t3] {
    padding: 6px 12px;
    vertical-align: middle;
}

.rpm__perm-name[b-4lsa2dq0t3] {
    font-weight: 500;
    color: var(--rtr-web-text);
}

.rpm__perm-desc[b-4lsa2dq0t3] {
    font-size: 11.5px;
    color: var(--rtr-web-text-subtle);
}
/* /Components/Pages/Admin/SampleStationFormPanel.razor.rz.scp.css */
/* Sits inside RtrWebDrawer's body, which is already a padded flex column with a
   16px gap — so the panel only owns the map block and the action row. */

/* The drawer body is a flex column: without a fixed basis the map would be
   collapsed to nothing (atlas measures a zero-height container and never draws).
   flex:none keeps it at its declared height instead of shrinking to fit. */
.station-panel__map[b-qkydbwb0h9] {
    flex: none;
    height: 300px;
}

/* Pushed to the bottom when the form is shorter than the drawer. */
.station-panel__actions[b-qkydbwb0h9] {
    margin-top: auto;
    padding-top: 4px;
}

/* Start/Stop coordinate pairs (ADO 5728): the client wants Start visibly red
   and Stop visibly blue, matching their pin colors on the map. The caption is
   authored here; the Mud input labels need ::deep to be reachable. */
.station-panel__pair-label[b-qkydbwb0h9] {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: 4px;
}

.station-panel__pair--start .station-panel__pair-label[b-qkydbwb0h9],
.station-panel__pair--start[b-qkydbwb0h9]  .mud-input-label {
    color: var(--rtr-web-danger);
}

.station-panel__pair--stop .station-panel__pair-label[b-qkydbwb0h9],
.station-panel__pair--stop[b-qkydbwb0h9]  .mud-input-label {
    color: var(--rtr-web-accent);
}
/* /Components/Pages/Admin/SampleStations.razor.rz.scp.css */
/* Sample Stations (ADO 6052) — a fixed 290px location list on the left; on the
   right the location title, the filter row, then the station grid (~54%) over the
   map (~46%). RtrWebPage doesn't scroll, so each region scrolls internally. */
.ss[b-aneukpskst] {
    display: flex;
    gap: 20px;
    flex: 1 1 auto;
    min-height: 0;
}

/* ---- location list ---- */
.ss__locs[b-aneukpskst] {
    flex: 0 0 290px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ss__locs-count[b-aneukpskst] {
    font-size: 12px;
    color: var(--rtr-web-text-subtle);
    margin: 0 2px 6px;
}

.ss__locs-scroll[b-aneukpskst] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px;
    background: var(--rtr-web-surface);
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
}

.ss__loc[b-aneukpskst] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: var(--rtr-web-radius-sm, 6px);
    padding: 7px 10px;
    font-size: 13px;
    color: var(--rtr-web-text);
    cursor: pointer;
}

.ss__loc:hover[b-aneukpskst] {
    background: var(--rtr-web-surface-hover, var(--rtr-web-neutral-tint));
}

.ss__loc--active[b-aneukpskst],
.ss__loc--active:hover[b-aneukpskst] {
    background: var(--rtr-web-accent-tint);
    color: var(--rtr-web-accent);
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--rtr-web-accent);
}

.ss__loc-name[b-aneukpskst] {
    flex: 1 1 auto;
    min-width: 0;
}

.ss__loc-count[b-aneukpskst] {
    font-size: 11px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 10px;
    background: var(--rtr-web-neutral-tint);
    color: var(--rtr-web-text-subtle);
    white-space: nowrap;
}

.ss__locs-empty[b-aneukpskst] {
    padding: 12px;
    font-size: 13px;
    color: var(--rtr-web-text-subtle);
}

/* ---- right side ---- */
.ss__main[b-aneukpskst] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.ss__title[b-aneukpskst] {
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.ss__title-name[b-aneukpskst] { font-weight: 600; }
.ss__title-count[b-aneukpskst] { color: var(--rtr-web-text-subtle); }
.ss__title-none[b-aneukpskst] { color: var(--rtr-web-text-faint); }

.ss__filters[b-aneukpskst] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

/* Filter selects: fill the rounded input white, like the old waterbody picker. */
.ss__filters[b-aneukpskst]  .mud-input.mud-input-outlined {
    background-color: var(--rtr-web-surface);
    border-radius: var(--rtr-web-radius);
}

/* The table and map sit in an RtrWebSplitPane (draggable divider), which sizes
   the two panes; each card just fills its pane. */

/* Table card: a white surface that bounds the rtr-web-grid--fill region. */
.stations__table[b-aneukpskst] {
    flex: 1 1 auto;
    min-height: 0;
    background: var(--rtr-web-surface);
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
    overflow: hidden;
    padding: 4px 8px 8px;
}

.stations__map[b-aneukpskst] {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
    overflow: hidden;
}

/* "n stations have no coordinates" — over the map's top-left corner. */
.stations__unmapped[b-aneukpskst] {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--rtr-web-surface);
    border: 1px solid var(--rtr-web-border);
    color: var(--rtr-web-text-muted);
    pointer-events: none;
}

.stations__empty[b-aneukpskst],
.stations__placeholder[b-aneukpskst] {
    color: var(--rtr-web-text-faint);
    font-size: 14px;
}

.stations__empty[b-aneukpskst] {
    padding: 18px 10px;
}

.stations__placeholder[b-aneukpskst] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1 1 auto;
    border: 1px dashed var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
}

/* Show-hidden toggle: our own label before the switch. */
.stations__hidden-label[b-aneukpskst] {
    margin-right: 10px;
    color: var(--rtr-web-text-muted);
    white-space: nowrap;
    font-size: 13px;
}

/* "Hidden" tag on hidden-station rows (only visible when Show hidden is on). */
.station-hidden-tag[b-aneukpskst] {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--rtr-web-text-subtle);
    background: var(--rtr-web-neutral-tint);
    border-radius: 999px;
    padding: 1px 8px;
    line-height: 1.6;
}

/* Station name reads as a link (spec §4) — the row is clickable. */
.station-name[b-aneukpskst] {
    color: var(--rtr-web-accent);
}

/* Leading row-actions column: shrink to the icons ("width:1%" shrink-wrap). */
[b-aneukpskst] .stations__actions-col {
    width: 1%;
    white-space: nowrap;
    padding-right: 0;
}

[b-aneukpskst] .stations__num {
    text-align: right;
}

/* Column sizing. The table is auto-layout, so each column already takes its
   content width; what made them all ~140px was the header chrome (sort arrow +
   options menu), now trimmed by ShowColumnOptions="false". Short values never
   wrap, so their columns shrink to fit; the space they free goes to the text
   columns. Project names run long ("Fairport Management Walleye Tailwater
   Sampling"), so Project gets a floor: it wraps only past that width. */
[b-aneukpskst] .stations__nowrap {
    white-space: nowrap;
}

[b-aneukpskst] .stations__project {
    min-width: 300px;
}

/* Hidden rows are dimmed in addition to the HIDDEN tag (spec §4). */
[b-aneukpskst] .station-row--hidden td {
    opacity: .55;
}

/* Selected row highlight (mirrors the master-detail list accent elsewhere). */
[b-aneukpskst] .station-row--active,
[b-aneukpskst] .station-row--active:hover {
    background: var(--rtr-web-accent-tint) !important;
}

[b-aneukpskst] .station-row--active td {
    box-shadow: inset 3px 0 0 var(--rtr-web-accent);
}

/* Station name is the 2nd cell now that actions lead the row. */
[b-aneukpskst] .station-row--active td:nth-child(2) {
    font-weight: 600;
}
/* /Components/Pages/Admin/TeamFormPanel.razor.rz.scp.css */
/* New/edit team drawer panel — the details-only sibling of UserFormPanel, so
   the same split: fields packed at the top of the drawer, actions pinned to the
   bottom however tall the panel gets. */
.tfp[b-65vn1ttjta] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.tfp__fields[b-65vn1ttjta] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 0 0 auto;
}

/* Mud's dense inputs carry their own 4px block margins; stacked with the gap
   above they space the fields unevenly, so the gap owns the rhythm. */
.tfp__fields[b-65vn1ttjta]  .mud-input-control {
    margin-top: 0;
    margin-bottom: 0;
}

.tfp__title[b-65vn1ttjta] {
    margin-bottom: 4px;
}

.tfp__actions[b-65vn1ttjta] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--rtr-web-border);
}
/* /Components/Pages/Admin/TeamsTab.razor.rz.scp.css */
.teams[b-d29rcev642] {
    display: flex;
    gap: 24px;
    align-items: stretch;
    height: 100%;
    min-height: 0;
}

/* Master list — white card */
.teams__list[b-d29rcev642] {
    width: 340px;
    flex: none;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--rtr-web-surface);
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
    padding: 8px;
}

.teams__scroll[b-d29rcev642] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.team-row[b-d29rcev642] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--rtr-web-radius);
    cursor: pointer;
    transition: background-color .12s ease;
}

.team-row:hover[b-d29rcev642] {
    background: var(--rtr-web-accent-tint);
}

.team-row--active[b-d29rcev642] {
    background: var(--rtr-web-accent-tint);
    box-shadow: inset 3px 0 0 var(--rtr-web-accent);
}

.team-row__name[b-d29rcev642] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: var(--rtr-web-text);
}

.team-row--active .team-row__name[b-d29rcev642] {
    color: var(--rtr-web-accent);
    font-weight: 600;
}

.team-row__edit[b-d29rcev642] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: none;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--rtr-web-text-faint);
    cursor: pointer;
    opacity: 0;
    transition: opacity .12s ease, background-color .12s ease, color .12s ease;
}

.team-row:hover .team-row__edit[b-d29rcev642],
.team-row--active .team-row__edit[b-d29rcev642] {
    opacity: 1;
}

.team-row__edit:hover[b-d29rcev642] {
    background: var(--rtr-web-surface);
    color: var(--rtr-web-text);
}

.teams__empty[b-d29rcev642] {
    padding: 16px 10px;
    color: var(--rtr-web-text-faint);
    font-size: 13px;
}

/* Detail */
.teams__detail[b-d29rcev642] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Membership transfer: available users | assigned members ───────────────
   Two equal panels filling the rest of the detail pane. Each is a flex column
   whose row list is the only scrolling part, so both headers (and the right
   panel's footnote) stay put however long the lists get. */
.members[b-d29rcev642] {
    display: flex;
    gap: 16px;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
}

.members__panel[b-d29rcev642] {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--rtr-web-surface);
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
    overflow: hidden;
}

.members__head[b-d29rcev642] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    padding: 8px 12px;
    background: var(--rtr-web-surface-muted);
    border-bottom: 1px solid var(--rtr-web-border);
}

.members__title[b-d29rcev642] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rtr-web-text-subtle);
    flex: none;
}

.members__search[b-d29rcev642] {
    flex: 0 1 240px;
    min-width: 0;
}

/* The head is a strip, not a form row — bring the 38px search box down to it.
   RtrWebSearchBox's markup isn't authored here, so this needs ::deep. */
.members__search[b-d29rcev642]  .rtr-web-search {
    height: 30px;
    border-radius: 8px;
}

.members__search[b-d29rcev642]  .rtr-web-search__input {
    font-size: 13px;
}

/* Pushed right on the assigned side, where there is no search box between it
   and the title. */
.members__count[b-d29rcev642] {
    margin-left: auto;
    flex: none;
    font-size: 12px;
    color: var(--rtr-web-text-faint);
    white-space: nowrap;
}

.members__list[b-d29rcev642] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

/* 4px + the 24px small-button height = a 32px row. */
.members__row[b-d29rcev642] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 12px;
    border-bottom: 1px solid var(--rtr-web-border);
}

.members__row:last-child[b-d29rcev642] {
    border-bottom: none;
}

.members__row:hover[b-d29rcev642] {
    background: var(--rtr-web-accent-tint);
}

/* Name holds its width, email takes the slack and ellipsizes first — an address
   is the more disposable half of the row when space runs short. */
.members__name[b-d29rcev642] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    color: var(--rtr-web-text);
}

.members__email[b-d29rcev642] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: var(--rtr-web-text-subtle);
}

/* The action always sits hard right — on the assigned side there is no email
   column to take the slack. MudButton's output isn't authored here, so this
   needs ::deep to reach it. */
.members__row[b-d29rcev642]  .mud-button-root {
    flex: none;
    margin-left: auto;
}

.members__empty[b-d29rcev642] {
    padding: 14px 12px;
    color: var(--rtr-web-text-faint);
    font-size: 13px;
}

.members__foot[b-d29rcev642] {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-top: 1px solid var(--rtr-web-border);
    color: var(--rtr-web-text-faint);
    font-size: 12px;
}

.teams__placeholder[b-d29rcev642] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 280px;
    color: var(--rtr-web-text-faint);
    font-size: 14px;
    border: 1px dashed var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
}

/* /Components/Pages/Admin/UserFormPanel.razor.rz.scp.css */
/* Add/edit user drawer panel.

   RtrWebDrawer's body is `height:100%` + `flex-direction:column`, so this root
   takes the full panel height and splits it three ways: the details block is
   content-sized and packed at the top, the Teams section takes everything
   left over, and the action bar stays pinned at the bottom. Nothing scrolls
   but the available-teams list. */
.ufp[b-rxkb8g5thp] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.ufp__fields[b-rxkb8g5thp] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 0 0 auto;
}

/* Mud's dense inputs carry their own 4px block margins; stacked with the gap
   above they spaced the fields unevenly, so drop them and let the gap own the
   rhythm. */
.ufp__fields[b-rxkb8g5thp]  .mud-input-control {
    margin-top: 0;
    margin-bottom: 0;
}

.ufp__title[b-rxkb8g5thp] {
    margin-bottom: 4px;
}

/* Role + Active share a row; min-width:0 lets the select shrink to its share
   instead of holding its content width and pushing the switch out. */
.ufp__row[b-rxkb8g5thp] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ufp__role[b-rxkb8g5thp] {
    flex: 1 1 auto;
    min-width: 0;
}

/* Takes the rest of the drawer: label + chips are content-sized, the picker
   below them absorbs the remaining height. */
.ufp__teams[b-rxkb8g5thp] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--rtr-web-border);
}

.ufp__label[b-rxkb8g5thp] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rtr-web-text-subtle);
    flex: none;
}

.ufp__count[b-rxkb8g5thp] {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--rtr-web-text-faint);
}

.ufp__chips[b-rxkb8g5thp] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 0 0 auto;
}

.ufp__muted[b-rxkb8g5thp] {
    color: var(--rtr-web-text-faint);
    font-size: 13px;
}

/* The available-teams picker: a bordered well so it reads as one control
   rather than as loose rows under the chips. */
.ufp__avail[b-rxkb8g5thp] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 120px;
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius);
    background: var(--rtr-web-surface-muted);
    overflow: hidden;
}

.ufp__avail-head[b-rxkb8g5thp] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 8px 10px;
    border-bottom: 1px solid var(--rtr-web-border);
}

.ufp__avail-title[b-rxkb8g5thp] {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rtr-web-text-subtle);
    flex: none;
}

.ufp__avail-search[b-rxkb8g5thp] {
    flex: 1 1 auto;
    min-width: 0;
}

/* The one scrolling region in the drawer. */
.ufp__avail-list[b-rxkb8g5thp] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    background: var(--rtr-web-surface);
}

/* 4px + the 24px small-button height = a 32px row. */
.ufp__avail-row[b-rxkb8g5thp] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-bottom: 1px solid var(--rtr-web-border);
}

.ufp__avail-row:last-child[b-rxkb8g5thp] {
    border-bottom: none;
}

.ufp__avail-name[b-rxkb8g5thp] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: var(--rtr-web-text);
}

.ufp__avail-list .ufp__muted[b-rxkb8g5thp] {
    padding: 10px;
}

.ufp__actions[b-rxkb8g5thp] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid var(--rtr-web-border);
}
/* /Components/Pages/Admin/UsersTab.razor.rz.scp.css */
/* Bounded box for the grid; the grid itself (.rtr-web-grid--fill) handles internal
   scrolling, with its header / horizontal scrollbar / pager pinned. */
.users-scroll[b-wk0riv6jgc] {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

/* Columns size to their content instead of being spread evenly (ADO 5742).
   `width:auto` lets the auto table algorithm shrink each column to its widest
   cell; `min-width:100%` keeps the grid filling the region when the content is
   narrower than it, and `nowrap` stops a long email or timestamp buying a
   second line instead of a wider column. The grid renders inside MudDataGrid,
   so these need ::deep — a bare selector would find nothing. */
.users-scroll[b-wk0riv6jgc]  .users-grid .mud-table-root {
    table-layout: auto;
    width: auto;
    min-width: 100%;
}

.users-scroll[b-wk0riv6jgc]  .users-grid .mud-table-cell {
    white-space: nowrap;
}

/* The edit-button column carries no header text, so it only needs the button. */
.users-scroll[b-wk0riv6jgc]  .users-grid .mud-table-cell:first-child {
    width: 1%;
    padding-left: 8px;
    padding-right: 0;
}
/* /Components/Pages/Admin/UsersTeams.razor.rz.scp.css */
/* The active view fills the remaining height under the title + toolbar (a
   definite height), so its inner grid / master-detail can size to 100% and
   scroll internally instead of the page scrolling. */
.view[b-6vh1uc8o4q] {
    flex: 1 1 auto;
    min-height: 0;
}

/* Role dropdown in the users toolbar: wide enough for the longest role name
   plus its clear button, and fixed so it doesn't stretch with the row. */
.role-filter[b-6vh1uc8o4q] {
    flex: 0 0 auto;
    width: 200px;
}
/* /Components/Pages/SurveyManagement/AbioticEditor.razor.rz.scp.css */
/* Non-blocking advisory under a percent profile that doesn't total 100%. */

.abiotic-editor__warn[b-ztj16o7jy2] {
    margin-top: 6px;
    font-size: 0.8125rem;
    color: var(--rtr-web-warn);
}

/* Category profile (ctrlPctProfile / ctrlCountProfile) entry grid. The full
   category name wraps above a compact number field so long names — e.g.
   macroinvertebrate taxa like "Leptophlebiidae - Paraleptophlebia debilis" —
   show in full at any pane width instead of clipping inside the field. */
.abiotic-editor__profile[b-ztj16o7jy2] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px 16px;
    margin-top: 4px;
}

.abiotic-editor__profile-item[b-ztj16o7jy2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.abiotic-editor__profile-name[b-ztj16o7jy2] {
    font-size: 0.78rem;
    line-height: 1.25;
    color: var(--rtr-web-text-muted);
    overflow-wrap: anywhere;
}
/* /Components/Pages/SurveyManagement/CatchFormPanel.razor.rz.scp.css */
.catch-child-row[b-j3za36flxh] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid var(--rtr-web-border);
    border-radius: var(--rtr-web-radius);
    background: var(--rtr-web-surface-muted);
}

.catch-child-row__remove[b-j3za36flxh] {
    position: absolute;
    top: 4px;
    right: 4px;
}
/* /Components/Pages/SurveyManagement/CatchSection.razor.rz.scp.css */
/* Species table beside the length/weight plot (ADO 5711). Equal grow and equal
   basis splits the row 50/50; the table keeps its own horizontal scroll since
   its 9 columns won't fit in half a row. Both drop to full width below ~800px,
   where the shared 380px basis can no longer sit side by side. */
.catch-summary__split[b-4hm0mhx4l4] {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.catch-summary__table-wrap[b-4hm0mhx4l4] {
    flex: 1 1 380px;
    min-width: 0;
    overflow-x: auto;
}

/* Children stretch (the default) on purpose: the species chip row wraps, so it
   wants the column's full width to decide where to break. */
.catch-summary__chart[b-4hm0mhx4l4] {
    flex: 1 1 380px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.catch-summary__table[b-4hm0mhx4l4] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.catch-summary__table th[b-4hm0mhx4l4] {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--rtr-web-text-faint);
    padding: 6px 10px;
    border-bottom: 1px solid var(--rtr-web-border);
    white-space: nowrap;
}

.catch-summary__table td[b-4hm0mhx4l4] {
    padding: 6px 10px;
    border-bottom: 1px solid var(--rtr-web-border-soft);
    color: var(--rtr-web-text);
}

.catch-summary__table td.mono[b-4hm0mhx4l4] {
    font-variant-numeric: tabular-nums;
}

.catch-summary__total td[b-4hm0mhx4l4] {
    font-weight: 700;
    border-top: 1px solid var(--rtr-web-border);
    border-bottom: none;
}

/* One line per row. Cells nowrap, so each column hugs the wider of its content
   or its (already nowrapped) header — the free-text columns are what would have
   blown that out, and they clip via RtrWebTruncate's max-width instead. width:1%
   is the shrink-to-fit idiom for an auto-layout table: it collapses each column
   onto its content rather than letting them share the width evenly, which also
   makes the cell the box RtrWebTruncate's max-width clips against.
   ::deep because the cells are MudDataGrid's output, not authored here. */
[b-4hm0mhx4l4] .catch-grid .mud-table-cell {
    white-space: nowrap;
    width: 1%;
}

/* Selected row highlight — mirrors SampleStations.razor's grid<->map sync. */
[b-4hm0mhx4l4] .catch-row--active,
[b-4hm0mhx4l4] .catch-row--active:hover {
    background: var(--rtr-web-accent-tint) !important;
}

[b-4hm0mhx4l4] .catch-row--active td:first-child {
    box-shadow: inset 3px 0 0 var(--rtr-web-accent);
}
/* /Components/Pages/SurveyManagement/SampleDetailsDisplay.razor.rz.scp.css */
/* Fields + map side by side (ADO 5711). The map used to be a fixed 260x200 box;
   it now takes whatever width the field grid doesn't need and stretches to the
   grid's height, so it grows with the viewport instead of staying a thumbnail.

   `align-items: stretch` (rather than flex-start) is what gives it the height —
   whichever column is taller sets the row, and the map fills it. Both columns
   drop to full width when the row wraps on a narrow viewport. */
.sd-details[b-qdjs5sdkes] {
    display: flex;
    gap: 24px;
    align-items: stretch;
    flex-wrap: wrap;
}

/* Fields get the larger share of the free space but yield it as the row grows;
   the 420px basis keeps the 3-column grid from crushing before it wraps. */
.sd-details__fields[b-qdjs5sdkes] {
    flex: 2 1 420px;
}

.sd-details__map[b-qdjs5sdkes] {
    flex: 1 1 300px;
    display: flex;
    min-height: 220px;
}

/* RtrWebMap is width/height:100% and lets the host size it, so the fill has to
   come from this wrapper. */
.sd-details__map-canvas[b-qdjs5sdkes] {
    flex: 1 1 auto;
    min-width: 0;
    border-radius: var(--rtr-web-radius);
    overflow: hidden;
}

/* The "no coordinates" state fills the same footprint rather than sitting as a
   short box beside a tall field grid. */
.sd-details__map .sd-map-placeholder[b-qdjs5sdkes] {
    flex: 1 1 auto;
    height: auto;
}
/* /Components/Pages/SurveyManagement/SurveyCard.razor.rz.scp.css */
/* Settings gear: its own column to the right of the Samples/Fish tiles, held at
   the top of that column.

   RtrWebListCard's trailing zone is a flex row with align-items:center, so the stat
   strip centres itself as a sibling and this column stretches to the row height
   independently. Keeping the gear in flow, in a lane of its own, is what makes
   overlap impossible — an absolutely-positioned gear reached the corner but could
   land on top of the tiles once a card was short enough. */

.surveycard__settings-col[b-e6m9qahlot] {
    align-self: stretch;
    display: flex;
    align-items: flex-start;
}

.surveycard__settings[b-e6m9qahlot] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--rtr-web-text-faint);
    cursor: pointer;
    transition: color 120ms ease, background-color 120ms ease;
}

.surveycard__settings:hover[b-e6m9qahlot] {
    color: var(--rtr-web-text);
    background: var(--rtr-web-surface-muted);
}

.surveycard__settings:focus-visible[b-e6m9qahlot] {
    outline: 2px solid var(--rtr-web-accent);
    outline-offset: 2px;
}
/* /Components/Pages/SurveyManagement/SurveyDetail.razor.rz.scp.css */
/* sd-grid/sd-k/sd-v/sd-substrate-* moved to the global
   wwwroot/css/detail-grid.css (ADO 5711) so the new Sample-card components
   can reuse them too — Blazor scoped CSS doesn't cross component files, and
   ::deep only reaches into this page's own child content, not sibling
   components. */

/* RtrWebPage is a fixed-height column with overflow:hidden by design (see its
   own doc comment) — it expects an inner region to own scrolling. Without
   this, expanding the Samples section (or any content taller than the
   viewport) just gets clipped with no way to reach it: overflow:hidden
   blocks wheel/touch/keyboard scrolling even though a scrollTop can still be
   set programmatically. Same flex/overflow shape as SurveyList's
   .surveys__rows. */
.survey-detail__scroll[b-s7w844wkld] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 2px 4px;
}

/* Description sits below the Survey Details grid (ADO 5711) — free text, so it
   gets the full width instead of stretching one grid row to fit a paragraph.
   Matches the grid's own 16px row gap. */
.survey-detail__notes[b-s7w844wkld] {
    margin-top: 16px;
}

/* "Back to Surveys" row (ADO 5793) — sits where the breadcrumb used to, so it
   keeps the same rhythm above the header. min-width:0 lets the context text
   ellipsize on a narrow window instead of pushing the button off the row. */
.survey-detail__back[b-s7w844wkld] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

/* ::deep is required — MudText renders the <p>, so it carries no scope attribute
   and a bare .mud-typography rule here would silently do nothing. */
/* RtrWebIcons has no left-pointing glyph, and adding one would turn a four-line
   change into a submodule PR. ChevronRight rotated is the same Lucide stroke as
   the Settings/Edit/Delete glyphs beside it, and rotating this particular glyph
   is already the library's own idiom (it marks expandable groups). inline-flex
   so the rotated box still sits on the label's baseline. */
.survey-detail__back-glyph[b-s7w844wkld] {
    display: inline-flex;
    transform: rotate(180deg);
}

.survey-detail__back[b-s7w844wkld]  .mud-typography {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/Pages/SurveyManagement/SurveyList.razor.rz.scp.css */
/* Toolbar cells: search + six filters + sort on one dense row. They grow and
   shrink together; per-control flex-basis/min-width are set inline in the markup
   so each label's width is visible next to the control it sizes. */
.surveys__filter[b-xyssgi573y] {
    flex: 1 1 auto;
}

.surveys__filter--search[b-xyssgi573y] {
    flex-basis: 190px;
    min-width: 150px;
}

/* Year and Sort hold their width — they have short, fixed-length contents. */
.surveys__filter--fixed[b-xyssgi573y] {
    flex-grow: 0;
    flex-shrink: 0;
}

.surveys__rows[b-xyssgi573y] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    /* Take the remaining page height and scroll the cards internally so the KPI
       strip, buckets and filter bar stay put. RtrWebPage is a fixed-height column. */
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 2px 4px;   /* room so card hover shadows aren't clipped by the scroll box */
}

.surveys__empty[b-xyssgi573y] {
    padding: 32px;
    text-align: center;
    color: var(--rtr-web-text-faint);
    background: var(--rtr-web-surface-muted);
    border: 1px dashed var(--rtr-web-border);
    border-radius: var(--rtr-web-radius-lg);
}

/* Survey card text (markup lives in SurveyCard.razor, rendered within this page). */
[b-xyssgi573y] .surveycard__ref {
    font-size: 12px;
    color: var(--rtr-web-text-faint);
    font-variant-numeric: tabular-nums;
}

[b-xyssgi573y] .surveycard__title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.1px;
    color: var(--rtr-web-text);
}

[b-xyssgi573y] .surveycard__meta {
    font-size: 12px;
    color: var(--rtr-web-text-muted);
    margin-top: 2px;
}

[b-xyssgi573y] .surveycard__k {
    font-weight: 600;
    color: var(--rtr-web-text-muted);
}
/* /Components/Pages/SurveyManagement/SurveySettingsPanel.razor.rz.scp.css */
/* Survey Settings panel (ADO 5710). The project-derived list is deliberately
   quieter than the toggle list above it: it is context, not a control. */

.survey-settings__required-head[b-2mkr3cesjw] {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rtr-web-text-subtle);
    margin-bottom: 8px;
}

.survey-settings__required-name[b-2mkr3cesjw] {
    color: var(--rtr-web-text-muted);
    font-weight: 600;
}

.survey-settings__badge[b-2mkr3cesjw] {
    flex: none;
    padding: 1px 10px;
    border: 1px solid var(--rtr-web-border);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rtr-web-text-subtle);
    white-space: nowrap;
}
