/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* App shell, top bar and sidebar chrome live in wwwroot/app.css (global, un-scoped)
   so a single source of truth styles both this layout's markup and the NavMenu child. */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Sidebar navigation styling lives in wwwroot/app.css (global, un-scoped).
   It MUST stay global: scoped CSS would not reach the <a> elements rendered
   internally by the <NavLink> child component, leaving those links unstyled. */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-qyg4xdnarb],
.components-reconnect-repeated-attempt-visible[b-qyg4xdnarb],
.components-reconnect-failed-visible[b-qyg4xdnarb],
.components-pause-visible[b-qyg4xdnarb],
.components-resume-failed-visible[b-qyg4xdnarb],
.components-rejoining-animation[b-qyg4xdnarb] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-qyg4xdnarb {
    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/Error.razor.rz.scp.css */
.error-icon[b-p7dciy9kbe] {
    color: var(--error);
}

/* Page scale rather than the panel scale the shared empty state is tuned for. */
.error-title[b-p7dciy9kbe] {
    font-size: 22px;
    margin-bottom: 8px;
}

.error-reference[b-p7dciy9kbe] {
    margin: 22px 0 0;
    font-size: 12.5px;
    color: var(--text-subtle);
}

.error-reference code[b-p7dciy9kbe] {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11.5px;
    padding: 2px 6px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-muted);
    overflow-wrap: anywhere;
}
/* /Components/Pages/Tenant/TenantAdminLayout.razor.rz.scp.css */
/* The tenant admin area shows wide tables (workspaces, members), so it uses the full content
   width rather than the narrow account-settings card. */
.settings-content[b-pnysz4upf2] {
    max-width: none;
}
/* /Components/Pages/Workspaces/Panels/AccountabilityPanel.razor.rz.scp.css */
/* Accountability comparison table. Two peers, side by side.
   Zeros recede (muted) so the card reads calm; overdue/escalated counts
   surface as red/amber badges so real problems are the only thing that pops. */

.acc-scroll[b-yhp1482okn] { overflow-x: auto; }

.acc-table[b-yhp1482okn] {
    width: 100%;
    min-width: 460px;
    border-collapse: collapse;
    font-size: 13px;
    font-feature-settings: 'tnum';      /* tabular figures: digits align across rows */
}

/* ── Header ── */
.acc-table thead th[b-yhp1482okn] {
    padding: 12px 16px;
    background: var(--slate-50);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    white-space: nowrap;
}
.acc-metric[b-yhp1482okn] { text-align: left; }
.acc-co[b-yhp1482okn] { text-align: right; }

.acc-dot[b-yhp1482okn] {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: baseline;
}
.acc-dot--one[b-yhp1482okn] { background: var(--forest); }
.acc-dot--two[b-yhp1482okn] { background: var(--info); }

/* ── Group header rows ── */
.acc-group td[b-yhp1482okn] {
    padding: 10px 16px 6px;
    border-top: 1px solid var(--border);
    color: var(--text-subtle);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.acc-group-inner[b-yhp1482okn] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.acc-group:first-child td[b-yhp1482okn] { border-top: none; }

/* ── Metric rows ── */
.acc-line td[b-yhp1482okn] {
    padding: 8px 16px;
    border-top: 1px solid var(--slate-100);
    vertical-align: middle;
}
.acc-line:hover td[b-yhp1482okn] { background: var(--slate-50); }

.acc-label[b-yhp1482okn] { color: var(--text); }
.acc-label.is-sub[b-yhp1482okn] {
    padding-left: 28px;
    color: var(--text-muted);
    position: relative;
}
.acc-label.is-sub[b-yhp1482okn]::before {
    content: "";
    position: absolute;
    left: 16px; top: 50%;
    width: 6px; height: 1px;
    background: var(--slate-300);
}

.acc-val[b-yhp1482okn] { text-align: right; width: 26%; white-space: nowrap; }

.acc-num[b-yhp1482okn] { color: var(--text); font-weight: 600; }
.acc-num.is-muted[b-yhp1482okn] { color: var(--text-subtle); font-weight: 400; }

/* Attention badges — only rendered when the count is non-zero. */
.acc-badge[b-yhp1482okn] {
    display: inline-block;
    min-width: 22px;
    padding: 1px 8px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}
.acc-badge--error[b-yhp1482okn] { color: var(--error); background: var(--error-bg); }
.acc-badge--warn[b-yhp1482okn]  { color: var(--warning); background: var(--warning-bg); }

/* ── Legend ── */
.acc-legend[b-yhp1482okn] {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
    padding: 0 2px;
}
.acc-legend-item[b-yhp1482okn] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}
.acc-swatch[b-yhp1482okn] { width: 10px; height: 10px; border-radius: 3px; }
.acc-swatch--error[b-yhp1482okn] { background: var(--error-bg); box-shadow: inset 0 0 0 1.5px var(--error); }
.acc-swatch--warn[b-yhp1482okn]  { background: var(--warning-bg); box-shadow: inset 0 0 0 1.5px var(--warning); }
.acc-swatch--zero[b-yhp1482okn]  { background: var(--slate-100); box-shadow: inset 0 0 0 1.5px var(--slate-300); }
