/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-zecr8z0jsz] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-zecr8z0jsz] {
    flex: 1;
}

@media (min-width: 641px) {
    article[b-zecr8z0jsz] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-zecr8z0jsz] {
    color-scheme: light only;
    background: color-mix(in srgb, var(--app-danger) 8%, var(--color-bg));
    border-top: 1px solid var(--app-danger);
    color: var(--color-text);
    bottom: 0;
    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-zecr8z0jsz] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* The header bar, re-skinned onto the Classical system: paper ground, a single
   hairline underneath, Cormorant brand, gold accent on hover and the current
   page. Bootstrap's collapse and dropdown JS still drive the mechanics; only
   the look lives here, and it comes entirely from the Classical tokens. */

.top-nav[b-8zk8hrecy7] {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-divider);
    padding: var(--space-2) var(--space-4);
}

.navbar-brand[b-8zk8hrecy7] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: var(--font-heading-weight);
    font-size: 22px;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.navbar-brand:hover[b-8zk8hrecy7] {
    color: var(--color-accent);
}

/* Wordmark and its "why a tuna?" mark travel together, so the mark hangs off
   the name rather than drifting into the navigation beside it. */
.brand-group[b-8zk8hrecy7] {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.brand-mark[b-8zk8hrecy7] {
    /* The helmeted-tuna mark, cut down from the full logo art. Height-led
       sizing: the art is portrait, so the width falls out of the ratio. */
    height: 30px;
    width: auto;
    display: block;
}

.main-links[b-8zk8hrecy7] {
    gap: var(--space-2);
}

.top-nav .nav-link[b-8zk8hrecy7] {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
}

.top-nav .nav-link:hover[b-8zk8hrecy7] {
    color: var(--color-accent);
    background: color-mix(in srgb, var(--color-accent) 8%, transparent);
}

.top-nav .nav-link.active[b-8zk8hrecy7] {
    color: var(--color-accent);
}

.top-nav .nav-link .bi[b-8zk8hrecy7] {
    margin-right: 4px;
    opacity: 0.75;
}

.navbar-toggler[b-8zk8hrecy7] {
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
}

.navbar-toggler-icon[b-8zk8hrecy7] {
    /* Bootstrap's default icon is a white-on-dark data URI; redraw it in ink. */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23201f1d' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.register-link[b-8zk8hrecy7] {
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-md);
}

.register-link:hover[b-8zk8hrecy7] {
    background: color-mix(in srgb, var(--color-accent) 12%, transparent);
}

/* — user menu — */

.user-menu-toggle[b-8zk8hrecy7] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
    padding: 4px 10px 4px 4px;
    cursor: pointer;
    color: var(--color-text);
    font-family: var(--font-body);
}

.user-menu-toggle:hover[b-8zk8hrecy7] {
    border-color: var(--color-accent);
    background: color-mix(in srgb, var(--color-accent) 6%, transparent);
}

.user-avatar[b-8zk8hrecy7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-accent-100);
    color: var(--color-accent-800);
    font-family: var(--font-heading);
    font-weight: var(--font-heading-weight);
    font-size: 13px;
}

.user-name[b-8zk8hrecy7] {
    font-size: 13px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.caret[b-8zk8hrecy7] {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid color-mix(in srgb, var(--color-text) 55%, transparent);
}

.user-dropdown[b-8zk8hrecy7] {
    background: var(--color-surface);
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--space-1) 0;
    min-width: 220px;
}

.user-dropdown .dropdown-header[b-8zk8hrecy7] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--space-2) var(--space-3);
}

.user-dropdown .header-label[b-8zk8hrecy7] {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.user-dropdown .header-name[b-8zk8hrecy7] {
    font-size: 13px;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown .dropdown-divider[b-8zk8hrecy7] {
    border-color: var(--color-divider);
    opacity: 1;
    margin: var(--space-1) 0;
}

.user-dropdown .dropdown-item[b-8zk8hrecy7] {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text);
    padding: 7px var(--space-3);
    background: transparent;
}

.user-dropdown .dropdown-item .bi[b-8zk8hrecy7] {
    margin-right: 8px;
    opacity: 0.6;
}

.user-dropdown .dropdown-item:hover[b-8zk8hrecy7] {
    background: color-mix(in srgb, var(--color-accent) 9%, transparent);
    color: var(--color-text);
}

.user-dropdown .dropdown-item:active[b-8zk8hrecy7] {
    background: color-mix(in srgb, var(--color-accent) 16%, transparent);
    color: var(--color-text);
}

.user-dropdown form[b-8zk8hrecy7] {
    margin: 0;
}

.user-dropdown button.dropdown-item[b-8zk8hrecy7] {
    width: 100%;
    text-align: left;
    border: 0;
    cursor: pointer;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-sqhpt7gmae],
.components-reconnect-repeated-attempt-visible[b-sqhpt7gmae],
.components-reconnect-failed-visible[b-sqhpt7gmae],
.components-pause-visible[b-sqhpt7gmae],
.components-resume-failed-visible[b-sqhpt7gmae],
.components-rejoining-animation[b-sqhpt7gmae] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-sqhpt7gmae {
    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/Jobs.razor.rz.scp.css */
/* Scoped: the table, buttons and status strip come from the shared admin
   stylesheet; only the job-specific columns are here. */

.progress-cell[b-5tm8ftj0bd] {
    max-width: 22rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status[b-5tm8ftj0bd] {
    font-weight: 600;
    font-size: 0.85rem;
}

.status-complete[b-5tm8ftj0bd] { color: #2f9e44; }
.status-failed[b-5tm8ftj0bd] { color: #c92a2a; }
.status-cancelled[b-5tm8ftj0bd], .status-expired[b-5tm8ftj0bd] { opacity: 0.6; }
.status-tracking[b-5tm8ftj0bd], .status-rendering[b-5tm8ftj0bd], .status-finalizing[b-5tm8ftj0bd], .status-downloading[b-5tm8ftj0bd], .status-uploading[b-5tm8ftj0bd] { color: #1971c2; }

/* Spelled out, not just coloured, so the flag survives a reader who cannot
   separate the hues. */
.stranded[b-5tm8ftj0bd] {
    margin-left: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #9a6b00;
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 0.05rem 0.4rem;
    cursor: help;
}

/* The family's own tidying, not a fault: same chip, muted rather than amber. */
.aside[b-5tm8ftj0bd] {
    margin-left: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280;
    border: 1px solid currentColor;
    border-radius: 999px;
    padding: 0.05rem 0.4rem;
    cursor: help;
}

.actions[b-5tm8ftj0bd] {
    white-space: nowrap;
}

.confirm[b-5tm8ftj0bd] {
    display: block;
    margin-top: 0.4rem;
    padding: 0.5rem 0.6rem;
    border-left: 3px solid #e8a317;
    background: rgba(232, 163, 23, 0.08);
    font-size: 0.82rem;
    white-space: normal;
    max-width: 32rem;
}

.confirm .btn[b-5tm8ftj0bd] {
    margin-top: 0.4rem;
    margin-right: 0.35rem;
}
/* /Components/Pages/Admin/Workers.razor.rz.scp.css */
/* Scoped to the page so the fleet grid needs nothing from the shared admin
   stylesheet beyond the container and header it already provides. */

.worker-grid[b-hty4c94zvc] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.worker-card[b-hty4c94zvc] {
    border: 1px solid rgba(128, 128, 128, 0.28);
    border-left-width: 4px;
    border-radius: 8px;
    padding: 0.9rem 1rem 0.75rem;
    background: rgba(128, 128, 128, 0.04);
}

.worker-card.ok[b-hty4c94zvc] { border-left-color: #2f9e44; }
.worker-card.warn[b-hty4c94zvc] { border-left-color: #e8a317; }
.worker-card.down[b-hty4c94zvc] { border-left-color: #c92a2a; }

.card-top[b-hty4c94zvc] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}

.hostname[b-hty4c94zvc] {
    font-size: 1rem;
    margin: 0;
    overflow-wrap: anywhere;
}

.pill[b-hty4c94zvc] {
    flex: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    border: 1px solid currentColor;
}

/* Colour is not the only carrier: the pill always spells the state out, so
   the card reads the same to anyone who cannot separate the three hues. */
.pill-ok[b-hty4c94zvc] { color: #2f9e44; }
.pill-warn[b-hty4c94zvc] { color: #9a6b00; }
.pill-down[b-hty4c94zvc] { color: #c92a2a; }

.state-line[b-hty4c94zvc] {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0.55rem 0 0.7rem;
    font-size: 0.85rem;
}

.state[b-hty4c94zvc] {
    font-weight: 600;
}

.state-busy[b-hty4c94zvc] { color: #1971c2; }

.activity[b-hty4c94zvc] {
    color: inherit;
    opacity: 0.7;
    overflow-wrap: anywhere;
}

.facts[b-hty4c94zvc] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.2rem 0.75rem;
    margin: 0;
    font-size: 0.82rem;
}

.facts dt[b-hty4c94zvc] {
    opacity: 0.65;
    font-weight: 400;
}

.facts dd[b-hty4c94zvc] {
    margin: 0;
    text-align: right;
    overflow-wrap: anywhere;
}

.refreshed[b-hty4c94zvc] {
    opacity: 0.6;
}

.empty[b-hty4c94zvc] {
    padding: 1.5rem 0;
    max-width: 46rem;
}
/* /Components/Shared/DivisionBadge.razor.rz.scp.css */
/* The chip: quiet stroke language matching the finder's filter chips, but a
   real button - it opens the reminder popover. Inherits surrounding font
   sizing contexts, so sizes are absolute. */

.dvb-wrap[b-4z8i85p918] {
    position: relative;
    display: inline-block;
    vertical-align: 2px;
    margin-left: 6px;
}

.dvb-chip[b-4z8i85p918] {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1.5;
    padding: 1px 7px;
    border: 1px solid var(--color-divider);
    border-radius: calc(var(--radius-md) * 0.75);
    background: transparent;
    color: var(--color-neutral-600);
    cursor: pointer;
    white-space: nowrap;
}

.dvb-chip:hover[b-4z8i85p918] {
    border-color: var(--color-accent);
    color: var(--color-accent-700);
}

.dvb-chip:focus-visible[b-4z8i85p918] {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Invisible click-away layer under the popover. */
.dvb-backdrop[b-4z8i85p918] {
    position: fixed;
    inset: 0;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: default;
    z-index: 40;
}

.dvb-pop[b-4z8i85p918] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 41;
    width: min(280px, 82vw);
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--color-bg);
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.55;
    letter-spacing: normal;
    text-transform: none;
    text-align: left;
    color: var(--color-text);
    white-space: normal;
}

.dvb-pop strong[b-4z8i85p918] { font-size: 12px; letter-spacing: 0.06em; }

.dvb-pop a[b-4z8i85p918] { font-size: 12px; align-self: flex-start; }
