/* /Components/Controls/Controls/SyncWorkerCard.razor.rz.scp.css */
/* Shared auto-sync worker card. Reused by Internal > Sync (with controls) and read-only
   views such as Settings > Software (view-only). Design tokens fall back to sane defaults so the
   card renders consistently even when the host page hasn't defined the --sync-* custom properties
   (Internal/Sync/View.razor.css defines them on .sync-dashboard). */

.sync-worker[b-v22k4yljde] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: auto;
    border: 1px solid var(--sync-waiting, var(--color-light));
}

    .sync-worker.state-running[b-v22k4yljde] {
        border-color: var(--sync-running, var(--color-2));
    }

    .sync-worker.state-paused[b-v22k4yljde] {
        border-color: var(--sync-paused, var(--color-8));
    }

    .sync-worker.state-completed[b-v22k4yljde] {
        border-color: var(--sync-completed, var(--color-success));
    }

    .sync-worker.state-failed[b-v22k4yljde] {
        border-color: var(--sync-failed, var(--color-error));
    }

.sync-worker-top[b-v22k4yljde] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sync-worker-name[b-v22k4yljde] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-darkest);
    min-width: 0;
}

    .sync-worker-name i[b-v22k4yljde] {
        flex: 0 0 auto;
        color: var(--color-gray);
    }

    .sync-worker-name span[b-v22k4yljde] {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.sync-worker-pill[b-v22k4yljde] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
    background: rgba(0, 0, 0, .06);
    color: var(--color-gray);
}

    .sync-worker-pill.state-running[b-v22k4yljde] {
        background: rgba(69, 123, 157, .14);
        color: var(--color-2);
    }

    .sync-worker-pill.state-paused[b-v22k4yljde] {
        background: rgba(255, 199, 0, .18);
        color: #8a6d00;
    }

    .sync-worker-pill.state-completed[b-v22k4yljde] {
        background: var(--color-success-light);
        color: var(--color-success);
    }

    .sync-worker-pill.state-failed[b-v22k4yljde] {
        background: var(--color-error-light);
        color: var(--color-error);
    }

.sync-worker-progress-row[b-v22k4yljde] {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .sync-worker-progress-row .sync-bar[b-v22k4yljde] {
        flex: 1 1 auto;
    }

.sync-worker-total-percent[b-v22k4yljde] {
    flex: 0 0 auto;
    font-size: .9rem;
    font-weight: 600;
    color: var(--color-darker);
    min-width: 40px;
    text-align: right;
}

.sync-worker-summary[b-v22k4yljde] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 24px;
}

.sync-worker-summary-item[b-v22k4yljde] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

    .sync-worker-summary-item .k[b-v22k4yljde] {
        font-size: .72rem;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: var(--color-gray);
    }

        .sync-worker-summary-item .k i[b-v22k4yljde] {
            margin-right: 5px;
        }

    .sync-worker-summary-item .v[b-v22k4yljde] {
        font-size: .9rem;
        line-height: 1.2rem;
        color: var(--color-darker);
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.sync-worker-actions[b-v22k4yljde] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sync-worker-buttons[b-v22k4yljde] {
    display: flex;
    gap: 8px;
}

.sync-details-toggle[b-v22k4yljde] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .sync-details-toggle i[b-v22k4yljde] {
        transition: transform .2s ease;
    }

/* ---------- Per-database details panel ---------- */

.sync-worker-details[b-v22k4yljde] {
    border-top: 1px solid var(--border-light-color);
    padding-top: 12px;
    animation: sync-details-in-b-v22k4yljde .18s ease;
}

    .sync-worker-details .sync-feed[b-v22k4yljde] {
        max-height: 320px;
    }

    .sync-worker-details .sync-feed-item:first-child[b-v22k4yljde] {
        padding-top: 0;
    }

    .sync-worker-details .sync-empty.small[b-v22k4yljde] {
        padding: 20px;
    }

@keyframes sync-details-in-b-v22k4yljde {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Progress bars ---------- */

.sync-bar[b-v22k4yljde] {
    width: 100%;
    height: 10px;
    background: var(--color-lighter);
    border-radius: 5px;
    overflow: hidden;
}

    .sync-bar.small[b-v22k4yljde] {
        height: 8px;
    }

    .sync-bar.tiny[b-v22k4yljde] {
        height: 5px;
        margin-top: 6px;
    }

.sync-bar-fill[b-v22k4yljde] {
    height: 100%;
    width: 0;
    background: var(--sync-running, var(--color-2));
    border-radius: 5px;
    transition: width .4s ease;
}

/* ---------- Live item feed ---------- */

.sync-feed[b-v22k4yljde] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    max-height: 420px;
    overflow-y: auto;
}

.sync-feed-item[b-v22k4yljde] {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light-color);
}

    .sync-feed-item:last-child[b-v22k4yljde] {
        border-bottom: 0;
    }

.sync-feed-icon[b-v22k4yljde] {
    color: var(--color-gray);
}

.sync-feed-item.success-color .sync-feed-icon[b-v22k4yljde] {
    color: var(--color-success);
}

.sync-feed-item.error-color .sync-feed-icon[b-v22k4yljde] {
    color: var(--color-error);
}

.sync-feed-body[b-v22k4yljde] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sync-feed-top[b-v22k4yljde] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.sync-feed-detail[b-v22k4yljde] {
    font-size: .9rem;
    font-weight: 500;
    color: var(--color-darkest);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sync-feed-time[b-v22k4yljde] {
    flex: 0 0 auto;
    font-size: .75rem;
    color: var(--color-gray);
}

/* ---------- Empty state ---------- */

.sync-empty[b-v22k4yljde] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding: 40px 20px;
    color: var(--color-gray);
    background: var(--border-lightest-color);
}

    .sync-empty.small[b-v22k4yljde] {
        padding: 28px 20px;
        background: none;
    }

    .sync-empty i[b-v22k4yljde] {
        font-size: 1.8rem;
        color: var(--color-light);
    }

    .sync-empty p[b-v22k4yljde] {
        margin: 0;
        font-size: .9rem;
        max-width: 340px;
    }
/* /Components/Controls/Lists/SiteNav.razor.rz.scp.css */
table.list tbody td.action[b-2cyrmlah2r] {
    white-space: nowrap;
}

.redirect-search[b-2cyrmlah2r] {
    position: absolute;
    top: 15px;
    right: 15px;
    margin: 0;
}

.small-col[b-2cyrmlah2r] {
    width: 70px;
}

.drag-col[b-2cyrmlah2r] {
    width: 28px;
    text-align: center;
}

.drag-handle[b-2cyrmlah2r] {
    cursor: grab;
    color: var(--sub-text-color, #9ca3af);
    display: flex;
    align-items: center;
    padding: 2px 4px;
}

.drag-handle:hover[b-2cyrmlah2r] {
    color: var(--text-color, #374151);
}

[b-2cyrmlah2r] .nav-node.dragging .drag-handle {
    cursor: grabbing;
}

/* ---- Nested menu editor ---- */

.nav-add-row[b-2cyrmlah2r] {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    align-items: center;
}

.nav-add-title[b-2cyrmlah2r] {
    flex: 0 1 200px;
    min-width: 0;
}

.nav-add-page[b-2cyrmlah2r] {
    flex: 0 1 220px;
}

/* Custom URL input (also carries .nav-add-page) should take the remaining width. */
.nav-add-row input.nav-add-page[b-2cyrmlah2r] {
    flex: 1 1 auto;
}

.nav-add-small[b-2cyrmlah2r] {
    flex: 0 0 110px;
    min-width: 0;
}

.nav-empty[b-2cyrmlah2r] {
    color: var(--color-gray-500, #6b7280);
    font-style: italic;
    margin: 8px 0;
}

.nav-tree[b-2cyrmlah2r] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-node[b-2cyrmlah2r] {
    border: 1px solid var(--color-gray-200, #e5e7eb);
    border-radius: 6px;
    background: var(--color-white, #fff);
    margin-bottom: 6px;
}

.nav-node.is-child[b-2cyrmlah2r] {
    margin-left: 36px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    border: none;
    background: transparent;
}

/* The inner row becomes the visual card so the arrow can sit outside it. */
.nav-node.is-child .nav-row[b-2cyrmlah2r] {
    flex: 1 1 auto;
    min-width: 0;
    border: 1px solid var(--color-gray-200, #e5e7eb);
    border-radius: 6px;
    background: var(--border-lightest-color);
}

/* Sit the arrow in the left gutter, lined up with the parent's drag handle. */
.nav-child-icon[b-2cyrmlah2r] {
    position: absolute;
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gray-400, #9ca3af);
    text-align: center;
}

[b-2cyrmlah2r] .nav-node.dragging {
    opacity: 0.5;
}

.nav-row[b-2cyrmlah2r] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
}

.nav-summary[b-2cyrmlah2r] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-title[b-2cyrmlah2r] {
    font-weight: 600;
}

.nav-meta[b-2cyrmlah2r] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 0.85em;
    color: var(--color-gray-500, #6b7280);
}

.nav-badge[b-2cyrmlah2r] {
    background: var(--color-gray-100, #f3f4f6);
    border-radius: 4px;
    padding: 1px 6px;
}

.nav-badge-args[b-2cyrmlah2r] {
    font-family: monospace;
}

.nav-badge-template[b-2cyrmlah2r] {
    background: color-mix(in srgb, var(--color-10) 15%, transparent);
    color: var(--color-10);
}

.nav-actions[b-2cyrmlah2r] {
    display: flex;
    gap: 4px;
    align-items: center;
    flex: 0 0 auto;
}

.button-icon[b-2cyrmlah2r] {
    padding: 6px 8px;
}

.button.is-disabled[b-2cyrmlah2r],
.button:disabled[b-2cyrmlah2r] {
    opacity: 0.4;
    cursor: not-allowed;
}

.nav-editor[b-2cyrmlah2r] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
    border-top: 1px solid var(--color-gray-200, #e5e7eb);
    background: var(--color-gray-50, #f9fafb);
}

.nav-editor label[b-2cyrmlah2r] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85em;
    font-weight: 600;
    color: var(--color-gray-600, #4b5563);
}

.nav-editor label input[b-2cyrmlah2r],
.nav-editor label select[b-2cyrmlah2r] {
    width: 100%;
}

.nav-editor-actions[b-2cyrmlah2r] {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
}

/* /Components/Controls/Lists/SiteRedirect.razor.rz.scp.css */
table.list tbody td.action[b-dlga6409kd] {
    white-space: nowrap;
}

.redirect-search[b-dlga6409kd] {
    position: absolute;
    top: 15px;
    right: 15px;
    margin: 0;
}
/* /Components/Controls/Stats/Content/ContentDrafts.razor.rz.scp.css */
/* Small status pill shown against each not-live record. Colors follow the shared CMS variables so
   the card matches the rest of the dashboard theming. */
.content-drafts-status[b-4o7n520r8u] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 16px;
    white-space: nowrap;
}

    .content-drafts-status.scheduled[b-4o7n520r8u] {
        background-color: var(--color-3);
        color: var(--color-1);
    }

    .content-drafts-status.expired[b-4o7n520r8u] {
        background-color: var(--color-error-light);
        color: var(--color-error);
    }

    .content-drafts-status.hidden[b-4o7n520r8u] {
        background-color: var(--color-lighter);
        color: var(--color-grayer);
    }
/* /Components/Controls/Stats/Property/PropertyActiveSyncRun.razor.rz.scp.css */
.sync-section-head[b-a5ia6wetky] {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .sync-section-head h2[b-a5ia6wetky] {
        margin: 0;
    }

    .sync-section-head.no-margin[b-a5ia6wetky] {
        margin-bottom: 0;
    }

/* Blazor CSS isolation scopes rules per-component, so the empty-state styling from the shared
   SyncWorkerCard.razor.css doesn't reach markup rendered directly by this control. */
.sync-empty[b-a5ia6wetky] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding: 40px 20px;
    color: var(--color-gray);
    background: var(--border-lightest-color);
}

    .sync-empty.small[b-a5ia6wetky] {
        padding: 28px 20px;
        background: none;
    }

    .sync-empty i[b-a5ia6wetky] {
        font-size: 1.8rem;
        color: var(--color-light);
    }

    .sync-empty p[b-a5ia6wetky] {
        margin: 0;
        font-size: .9rem;
        max-width: 340px;
    }
/* /Components/Layout/Breadcrumb.razor.rz.scp.css */
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.cms-appbar[b-tlq4stsj7a] {
    border-bottom: 1px solid #e0e0e0 !important;
    width: 100%;
}

.cms-appbar[b-tlq4stsj7a]  .mud-toolbar.mud-toolbar-appbar {
    width: 100%;
}

    .cms-appbar div[role="toolbar"][b-tlq4stsj7a] {
        width: 100%;
    }

    .cms-appbar > div[role="toolbar"][b-tlq4stsj7a] {
        width: 100%;
    }

.appbar-header-host[b-tlq4stsj7a] {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.appbar-header-host[b-tlq4stsj7a]  header {
    width: 100%;
    position: relative;
    top: auto;
    left: auto;
    height: 100%;
    padding: 0 0 0 10px;
    background: transparent;
    display: grid;
    grid-template-columns: minmax(220px, 340px) 1fr auto;
    column-gap: 24px;
    align-items: center;
}

.appbar-header-host[b-tlq4stsj7a]  header .search {
    margin-left: 0;
}

.appbar-header-host[b-tlq4stsj7a]  header .search button {
    background: none;
    border: none;
    padding: 0;
    margin-left: 10px;
    color: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.appbar-header-host[b-tlq4stsj7a]  header .search input {
    min-width: 180px;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
}

.appbar-header-host[b-tlq4stsj7a]  header .dash-filter .date-input .date-filter-icon {
    margin: 0 8px;
    color: var(--sub-text-color);
}

.page-transition[b-tlq4stsj7a] {
    animation: page-fade-in-b-tlq4stsj7a 0.18s ease-out;
}

@keyframes page-fade-in-b-tlq4stsj7a {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-transition[b-tlq4stsj7a] {
        animation: none;
    }
}

#blazor-error-ui[b-tlq4stsj7a] {
    color-scheme: light only;
    background: lightyellow;
    color: #000;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 1rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-tlq4stsj7a] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* /Components/Layout/NavMenu.razor.rz.scp.css */
.drawer-logo[b-4ri67jral0] {
    padding: 0 1.2rem 1.2rem 0.6rem;
}

.logo-link[b-4ri67jral0] {
    text-decoration: none;
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1;
}

.logo-o[b-4ri67jral0] {
    color: #e8f1ff;
}

.logo-liver[b-4ri67jral0] {
    color: #ff5a1f;
}

/* MudNavMenu overrides for dark drawer */
.drawer-nav[b-4ri67jral0]  .mud-nav-link {
    color: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    margin: 1px 8px;
}

    .drawer-nav[b-4ri67jral0]  .mud-nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }

    .drawer-nav[b-4ri67jral0]  .mud-nav-link.active {
        background-color: rgba(255, 255, 255, 0.15);
        color: #ffffff;
    }

.drawer-nav[b-4ri67jral0]  .mud-nav-group-title {
    color: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    margin: 1px 8px;
}

    .drawer-nav[b-4ri67jral0]  .mud-nav-group-title:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }

.drawer-nav[b-4ri67jral0]  .mud-nav-group-title .mud-icon-root,
.drawer-nav[b-4ri67jral0]  .mud-nav-group-expand-button .mud-icon-root {
    color: rgba(255, 255, 255, 0.6);
}

.drawer-nav[b-4ri67jral0]  .mud-nav-link .mud-icon-root {
    color: rgba(255, 255, 255, 0.6);
}

.drawer-nav[b-4ri67jral0]  .mud-nav-group .mud-nav-link {
    padding-left: 2rem;
    font-size: 0.9rem;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-bc8hwhue0i],
.components-reconnect-repeated-attempt-visible[b-bc8hwhue0i],
.components-reconnect-failed-visible[b-bc8hwhue0i],
.components-pause-visible[b-bc8hwhue0i],
.components-resume-failed-visible[b-bc8hwhue0i],
.components-rejoining-animation[b-bc8hwhue0i] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-bc8hwhue0i],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-bc8hwhue0i],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-bc8hwhue0i],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-bc8hwhue0i],
#components-reconnect-modal.components-reconnect-retrying[b-bc8hwhue0i],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-bc8hwhue0i],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-bc8hwhue0i],
#components-reconnect-modal.components-reconnect-failed[b-bc8hwhue0i],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-bc8hwhue0i] {
    display: block;
}


#components-reconnect-modal[b-bc8hwhue0i] {
    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-bc8hwhue0i 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-bc8hwhue0i 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-bc8hwhue0i 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-bc8hwhue0i]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-bc8hwhue0i 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-bc8hwhue0i {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-bc8hwhue0i {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-bc8hwhue0i {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-bc8hwhue0i] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-bc8hwhue0i] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-bc8hwhue0i] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-bc8hwhue0i] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-bc8hwhue0i] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-bc8hwhue0i] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-bc8hwhue0i] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-bc8hwhue0i 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-bc8hwhue0i] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-bc8hwhue0i {
    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/Internal/ApiLogging/View.razor.rz.scp.css */
.api-error-detail[b-o8hfx6d8hw] {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
    max-height: 32rem;
    margin: 0;
    padding: 1rem;
    background: var(--color-surface-muted, #f5f5f7);
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.5;
}
/* /Components/Pages/Internal/Billing/Products/Grid.razor.rz.scp.css */
/* Spreadsheet-style product editor. Cells fill their column so the table reads like a
   grid rather than a stack of form fields. */
.product-grid td[b-vby0dubgvr] {
    padding: 4px 6px;
    vertical-align: middle;
}

.product-grid input[type='text'][b-vby0dubgvr],
.product-grid input[type='number'][b-vby0dubgvr] {
    width: 100%;
    min-width: 60px;
}

.product-grid input.ar[b-vby0dubgvr] {
    text-align: right;
}

/* The switch is absolutely positioned inside its label, so keep the label sized
   and centered within the narrow Active column. */
.product-grid .switch[b-vby0dubgvr] {
    vertical-align: middle;
}
/* /Components/Pages/Internal/Clients/Onboard.razor.rz.scp.css */
.log-info .onboard-log-level[b-i7hwusw1tl] {
    color: var(--sub-text-color);
}

.log-success .onboard-log-level[b-i7hwusw1tl] {
    color: var(--color-success);
}

.log-warning .onboard-log-level[b-i7hwusw1tl] {
    color: var(--color-warning-reverse);
}

.log-warning[b-i7hwusw1tl] {
    background: var(--color-warning-light);
}

.log-error .onboard-log-level[b-i7hwusw1tl] {
    color: var(--color-error);
}

.log-error[b-i7hwusw1tl] {
    background: var(--color-error-light);
}
/* /Components/Pages/Internal/Sync/Log.razor.rz.scp.css */
/* Internal > Sync — single run detail. Reuses the global card/list/color utilities; only the
   run-detail layout lives here (scoped to this component, mirroring View.razor.css). */

.sync-log-back[b-k716z52zld] {
    margin-bottom: 12px;
}

.sync-log-meta[b-k716z52zld] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.sync-log-meta-item[b-k716z52zld] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

    .sync-log-meta-item .label[b-k716z52zld] {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: var(--color-light);
        padding-left: 0;
        padding-right: 0;
    }

    .sync-log-meta-item .value[b-k716z52zld] {
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.sync-log-head[b-k716z52zld] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sync-log-count[b-k716z52zld] {
    font-size: 13px;
    color: var(--color-light);
}

.sync-log-message[b-k716z52zld] {
    max-width: 520px;
    white-space: pre-wrap;
    word-break: break-word;
}

.sync-log-empty[b-k716z52zld] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px 16px;
    text-align: center;
    color: var(--color-light);
}

    .sync-log-empty i[b-k716z52zld] {
        font-size: 28px;
    }

    .sync-log-empty.small[b-k716z52zld] {
        padding: 20px 16px;
    }

        .sync-log-empty.small i[b-k716z52zld] {
            font-size: 20px;
        }
/* /Components/Pages/Internal/Sync/View.razor.rz.scp.css */
/* Internal > Sync operator dashboard. Built on existing design tokens (variables.css). */

.sync-dashboard[b-53kk9cnico] {
    --sync-running: var(--color-2);
    --sync-paused: var(--color-8);
    --sync-completed: var(--color-success);
    --sync-failed: var(--color-error);
    --sync-waiting: var(--color-light);
}

/* ---------- Hero / command bar ---------- */

.sync-hero[b-53kk9cnico] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    border: 1px solid var(--sync-waiting);
}

    .sync-hero.state-running[b-53kk9cnico] {
        border-color: var(--sync-running);
    }

    .sync-hero.state-on[b-53kk9cnico],
    .sync-hero.state-queued[b-53kk9cnico] {
        border-color: var(--sync-completed);
    }

    .sync-hero.state-off[b-53kk9cnico] {
        border-color: var(--color-light);
    }

.sync-hero-status[b-53kk9cnico] {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 240px;
    min-width: 0;
}

.sync-hero-text[b-53kk9cnico] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sync-hero-state[b-53kk9cnico] {
    font-size: 1.5rem;
    line-height: 1.6rem;
    font-weight: 600;
    color: var(--color-darkest);
}

.sync-hero-sub[b-53kk9cnico] {
    font-size: .85rem;
    line-height: 1.1rem;
    color: var(--color-gray);
}

.sync-hero-meta[b-53kk9cnico] {
    display: flex;
    gap: 28px;
    flex: 1 1 auto;
    flex-wrap: wrap;
}

.sync-hero-meta-item[b-53kk9cnico] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .sync-hero-meta-item .label[b-53kk9cnico] {
        font-size: .75rem;
        line-height: .8rem;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: var(--color-gray);
        padding-left: 0;
    }

    .sync-hero-meta-item .value[b-53kk9cnico] {
        font-size: .95rem;
        line-height: 1.2rem;
        font-weight: 500;
        color: var(--color-darker);
    }

.sync-hero-actions[b-53kk9cnico] {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
    align-items: center;
}

/* Full-width row below the status/meta/actions that carries the Run Now (idle) or Pause/Resume
   (running) button, so the on/off toggle can stay by itself on the right. Matches the .sync-live
   divider/spacing so the hero's stacked rows read consistently. */
.sync-hero-run[b-53kk9cnico] {
    flex: 1 1 100%;
    display: flex;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 4px;
    margin-bottom: 4px;
    border-top: 1px solid var(--color-lighter);
    border-bottom: 1px solid var(--color-lighter);
}

    .sync-hero-run .button[b-53kk9cnico] {
        min-width: 140px;
    }

/* When a run is active the Pause/Resume row sits directly above the live progress; drop the live
   section's own divider so the two full-width rows share the single .sync-hero-run separator. */
.sync-hero-run + .sync-live[b-53kk9cnico] {
    border-top: none;
    border-bottom: none;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

/* ---------- Master on/off toggle switch ---------- */

.sync-toggle[b-53kk9cnico] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

    .sync-toggle.is-busy[b-53kk9cnico] {
        cursor: default;
        opacity: .6;
    }

    .sync-toggle input[b-53kk9cnico] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

.sync-toggle-track[b-53kk9cnico] {
    position: relative;
    flex: 0 0 auto;
    width: 46px;
    height: 26px;
    border-radius: 13px;
    background: var(--color-light);
    transition: background .2s ease;
}

.sync-toggle-thumb[b-53kk9cnico] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    transition: transform .2s ease;
}

.sync-toggle input:checked + .sync-toggle-track[b-53kk9cnico] {
    background: var(--sync-completed);
}

    .sync-toggle input:checked + .sync-toggle-track .sync-toggle-thumb[b-53kk9cnico] {
        transform: translateX(20px);
    }

.sync-toggle input:focus-visible + .sync-toggle-track[b-53kk9cnico] {
    box-shadow: 0 0 0 3px rgba(69, 123, 157, .35);
}

.sync-toggle-label[b-53kk9cnico] {
    font-size: .95rem;
    font-weight: 600;
    color: var(--color-darker);
    min-width: 26px;
}

/* ---------- Status dot ---------- */

.sync-status-dot[b-53kk9cnico] {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-light);
    position: relative;
}

    .sync-status-dot.state-running[b-53kk9cnico],
    .sync-status-dot.state-queued[b-53kk9cnico] {
        background: var(--sync-running);
    }

        .sync-status-dot.state-running[b-53kk9cnico]::after,
        .sync-status-dot.state-queued[b-53kk9cnico]::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 50%;
            background: var(--sync-running);
            animation: sync-pulse-b-53kk9cnico 1.6s ease-out infinite;
        }

    .sync-status-dot.state-on[b-53kk9cnico] {
        background: var(--sync-completed);
    }

    .sync-status-dot.state-off[b-53kk9cnico] {
        background: var(--color-light);
    }

@keyframes sync-pulse-b-53kk9cnico {
    0% {
        transform: scale(1);
        opacity: .6;
    }

    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

/* ---------- Help card ---------- */

.sync-help-list[b-53kk9cnico] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .sync-help-list li[b-53kk9cnico] {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: .9rem;
        line-height: 1.3rem;
        color: var(--color-darker);
    }

        .sync-help-list li i[b-53kk9cnico] {
            flex: 0 0 auto;
            margin-top: 2px;
            color: var(--color-2);
        }

/* ---------- Section heads ---------- */

.sync-section-head[b-53kk9cnico] {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .sync-section-head h2[b-53kk9cnico],
    .sync-section-head h3[b-53kk9cnico] {
        margin: 0;
    }

    .sync-section-head.no-margin[b-53kk9cnico] {
        margin-bottom: 0;
    }

.sync-badge[b-53kk9cnico] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 500;
}

    .sync-badge.running[b-53kk9cnico] {
        background: rgba(69, 123, 157, .12);
        color: var(--color-2);
    }

    .sync-badge.idle[b-53kk9cnico] {
        background: rgba(0, 0, 0, .06);
        color: var(--color-gray);
    }

.sync-worker-count[b-53kk9cnico] {
    font-size: .85rem;
    color: var(--color-gray);
    margin-left: auto;
}

/* ---------- Progress bars ---------- */

.sync-bar[b-53kk9cnico] {
    width: 100%;
    height: 10px;
    background: var(--color-lighter);
    border-radius: 5px;
    overflow: hidden;
}

    .sync-bar.small[b-53kk9cnico] {
        height: 8px;
    }

    .sync-bar.tiny[b-53kk9cnico] {
        height: 5px;
        margin-top: 6px;
    }

.sync-bar-fill[b-53kk9cnico] {
    height: 100%;
    width: 0;
    background: var(--sync-running);
    border-radius: 5px;
    transition: width .4s ease;
}

    .sync-bar-fill.has-failures[b-53kk9cnico] {
        background: var(--color-8);
    }

    .sync-bar-fill.state-running[b-53kk9cnico] {
        background: var(--sync-running);
    }

    .sync-bar-fill.state-paused[b-53kk9cnico] {
        background: var(--sync-paused);
    }

    .sync-bar-fill.state-completed[b-53kk9cnico] {
        background: var(--sync-completed);
    }

    .sync-bar-fill.state-failed[b-53kk9cnico] {
        background: var(--sync-failed);
    }

    .sync-bar-fill.state-waiting[b-53kk9cnico] {
        background: var(--color-light);
    }

.sync-progress-card[b-53kk9cnico] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: auto;
}

/* Live Run block merged into the hero card; spans the full row under the toggle. */
.sync-live[b-53kk9cnico] {
    flex: 1 1 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    margin-top: 4px;
    border-top: 1px solid var(--color-lighter);
}

.sync-progress-head[b-53kk9cnico] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

    .sync-progress-head .label[b-53kk9cnico] {
        font-size: .85rem;
        color: var(--color-gray);
    }

        .sync-progress-head .label i[b-53kk9cnico] {
            margin-right: 6px;
        }

    .sync-progress-head .value[b-53kk9cnico] {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--color-darkest);
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

.sync-chip[b-53kk9cnico] {
    font-size: .7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

    .sync-chip.failed[b-53kk9cnico] {
        background: var(--color-error-light);
        color: var(--color-error);
    }

/* ---------- Worker cards ----------
   Worker-card, per-item feed, and details-panel styling now lives in the shared
   SyncWorkerCard.razor.css component (used here and by read-only views). */

.sync-worker-list[b-53kk9cnico] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---------- Empty states ---------- */

.sync-empty[b-53kk9cnico] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding: 40px 20px;
    color: var(--color-gray);
    background: var(--border-lightest-color);
}

    .sync-empty.small[b-53kk9cnico] {
        padding: 28px 20px;
        background: none;
    }

    .sync-empty i[b-53kk9cnico] {
        font-size: 1.8rem;
        color: var(--color-light);
    }

    .sync-empty p[b-53kk9cnico] {
        margin: 0;
        font-size: .9rem;
        max-width: 340px;
    }

/* ---------- Recent data points table ---------- */

.sync-dashboard table.list.stat td i[b-53kk9cnico] {
    margin-right: 4px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .sync-hero[b-53kk9cnico] {
        flex-direction: column;
        align-items: stretch;
    }

    .sync-hero-actions[b-53kk9cnico] {
        justify-content: stretch;
    }

        .sync-hero-actions .button[b-53kk9cnico] {
            flex: 1 1 auto;
        }

    .sync-hero-run .button[b-53kk9cnico] {
        flex: 1 1 auto;
    }

    .sync-worker-summary[b-53kk9cnico] {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sync-worker-actions[b-53kk9cnico] {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .sync-worker-buttons[b-53kk9cnico] {
        justify-content: stretch;
    }

        .sync-worker-buttons .button[b-53kk9cnico] {
            flex: 1 1 auto;
        }
}

/* ---------- Recent data points (clickable rows) ---------- */

.sync-recent-row.clickable[b-53kk9cnico] {
    cursor: pointer;
}

    .sync-recent-row.clickable:hover[b-53kk9cnico] {
        background: rgba(0, 0, 0, .035);
    }

.sync-recent-chevron[b-53kk9cnico] {
    margin-left: 8px;
    opacity: .45;
    transition: opacity .15s ease;
}

.sync-recent-row.clickable:hover .sync-recent-chevron[b-53kk9cnico] {
    opacity: 1;
}

/* /Components/Pages/Settings/Software/SyncLog.razor.rz.scp.css */
/* Settings > Software > Sync Log — single run detail. Reuses the global card/list/color utilities;
   only the run-detail layout lives here (scoped to this component). Mirrors Internal/Sync/Log.razor.css. */

.sync-log-back[b-908k9uwzjc] {
    margin-bottom: 12px;
}

.sync-log-meta[b-908k9uwzjc] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.sync-log-meta-item[b-908k9uwzjc] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

    .sync-log-meta-item .label[b-908k9uwzjc] {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: var(--color-light);
        padding-left: 0;
        padding-right: 0;
    }

    .sync-log-meta-item .value[b-908k9uwzjc] {
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.sync-log-head[b-908k9uwzjc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sync-log-count[b-908k9uwzjc] {
    font-size: 13px;
    color: var(--color-light);
}

.sync-log-message[b-908k9uwzjc] {
    max-width: 520px;
    white-space: pre-wrap;
    word-break: break-word;
}

.sync-log-empty[b-908k9uwzjc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px 16px;
    text-align: center;
    color: var(--color-light);
}

    .sync-log-empty i[b-908k9uwzjc] {
        font-size: 28px;
    }

    .sync-log-empty.small[b-908k9uwzjc] {
        padding: 20px 16px;
    }

        .sync-log-empty.small i[b-908k9uwzjc] {
            font-size: 20px;
        }
