/* /Components/Layout/WareVisionLayout.razor.rz.scp.css */
/* Scoped styles for the portal layout (WareVisionLayout). */
html[data-ui="legacy"] .app-wrapper[b-vh7hoz5zl9]{
    background: var(--surface);
    position: relative;
}

/* Sidebar - Updated gradient with new primary and dark colors */
html[data-ui="legacy"] .sidebar[b-vh7hoz5zl9]{
    width: 240px;
    height: 100vh;
    background: linear-gradient(180deg, var(--signal) 0%, var(--signal) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    transition: width 0.25s ease;
    z-index: 1050;
    pointer-events: auto;
    flex-shrink: 0;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
}


    /* Brand */
    html[data-ui="legacy"] .sidebar .brand[b-vh7hoz5zl9]{
        border-bottom: 1px solid color-mix(in srgb, var(--on-inverse) 6%, transparent);
    }

    html[data-ui="legacy"] .sidebar .logo[b-vh7hoz5zl9]{
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: color-mix(in srgb, var(--on-inverse) 12%, transparent);
        border-radius: 8px;
    }

    /* Force brand text white */
    html[data-ui="legacy"] .sidebar .brand-text[b-vh7hoz5zl9], html[data-ui="legacy"] .sidebar .brand-text *[b-vh7hoz5zl9]{
        color: var(--on-inverse) !important;
    }

    /* Nav items - high specificity to override Bootstrap .nav-link styles */
    html[data-ui="legacy"] .sidebar a.nav-link[b-vh7hoz5zl9], html[data-ui="legacy"] .sidebar .nav-link[b-vh7hoz5zl9], html[data-ui="legacy"] .sidebar .nav-link *[b-vh7hoz5zl9], html[data-ui="legacy"] .sidebar .nav-link i[b-vh7hoz5zl9]{
        color: var(--on-inverse) !important;
        text-decoration: none;
    }

        /* Ensure icons explicitly white and inherit properly */
        html[data-ui="legacy"] .sidebar .nav-link i[b-vh7hoz5zl9]{
            font-size: 1.1rem;
            min-width: 24px;
            text-align: center;
            color: var(--on-inverse) !important;
        }

    /* Link container styling */
    html[data-ui="legacy"] .sidebar .nav[b-vh7hoz5zl9]{
        margin-top: 16px;
    }

    /* Ensure nav-item wrapper doesn't add extra spacing */
    html[data-ui="legacy"] .sidebar .nav-item[b-vh7hoz5zl9]{
        margin-bottom: 6px;
        width: 100%;
    }

    /* Remove margin from the parent link row when it has a submenu */
    html[data-ui="legacy"] .sidebar .nav-item > .wv-flex[b-vh7hoz5zl9]{
        width: 100%;
        margin-bottom: 0;
    }

    /* Remove margin from nav-links inside the flex row (parent dropdown) */
    html[data-ui="legacy"] .sidebar .nav-item > .wv-flex > .nav-link[b-vh7hoz5zl9]{
        margin-bottom: 0;
    }

    /* Submenu container - remove gap between parent and first child */
    html[data-ui="legacy"] .sidebar .nav-item > .nav.wv-flex-column[b-vh7hoz5zl9]{
        margin-top: 0;
        padding-top: 0;
    }

    /* Submenu container spans the same content width as the head items (no left
       margin), so the active card keeps an equal gutter on both sides and is never
       clipped on the right. Hierarchy is conveyed by indenting the content below. */
    html[data-ui="legacy"] .sidebar .nav-item > .nav.wv-flex-column.submenu[b-vh7hoz5zl9]{
        margin-left: 0;
        padding-left: 0;
    }

    /* Submenu nav-links: smaller vertical margin, and the icon/text stepped in via
       left padding rather than a container margin. */
    html[data-ui="legacy"] .sidebar .nav-item > .nav.wv-flex-column > .nav-link[b-vh7hoz5zl9]{
        margin-bottom: 2px;
        padding-left: 32px;
    }

    /* First child in submenu should not have extra top margin */
    html[data-ui="legacy"] .sidebar .nav-item > .nav.wv-flex-column > .nav-link:first-child[b-vh7hoz5zl9]{
        margin-top: 0;
    }

    /* Last child in submenu should not have extra bottom margin */
    html[data-ui="legacy"] .sidebar .nav-item > .nav.wv-flex-column > .nav-link:last-child[b-vh7hoz5zl9]{
        margin-bottom: 0;
    }

    html[data-ui="legacy"] .sidebar .nav-item .nav-link.rounded-end[b-vh7hoz5zl9]{
        padding: 10px 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        html[data-ui="legacy"] .sidebar .nav-item > .nav-link[b-vh7hoz5zl9]{
            padding: 10px 12px;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

    html[data-ui="legacy"] .sidebar .nav-link[b-vh7hoz5zl9]{
        padding: 10px 12px;
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        gap: 8px;
        background: transparent;
        border: none;
        cursor: pointer;
        transition: background 0.2s ease;
    }

        html[data-ui="legacy"] .sidebar .nav-link:hover[b-vh7hoz5zl9]{
            background: color-mix(in srgb, var(--on-inverse) 6%, transparent);
        }

        /* Active state - using contrast color accent */
        html[data-ui="legacy"] .sidebar .nav-link.active[b-vh7hoz5zl9]{
            background: color-mix(in srgb, var(--on-inverse) 15%, transparent);
            box-shadow: inset 3px 0 0 var(--crit);
        }

    /* Sidebar footer button: make text & icon white and ensure clickable */
    html[data-ui="legacy"] .sidebar .sidebar-footer[b-vh7hoz5zl9]{
        border-top: 1px solid color-mix(in srgb, var(--on-inverse) 8%, transparent);
    }

        html[data-ui="legacy"] .sidebar .sidebar-footer .btn[b-vh7hoz5zl9]{
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            color: var(--on-inverse) !important;
            border-color: color-mix(in srgb, var(--on-inverse) 25%, transparent) !important;
            background: transparent;
            cursor: pointer;
            transition: all 0.2s ease;
        }

            html[data-ui="legacy"] .sidebar .sidebar-footer .btn:hover[b-vh7hoz5zl9]{
                background: color-mix(in srgb, var(--on-inverse) 10%, transparent);
                border-color: color-mix(in srgb, var(--on-inverse) 35%, transparent) !important;
            }

            html[data-ui="legacy"] .sidebar .sidebar-footer .btn i[b-vh7hoz5zl9]{
                color: var(--on-inverse) !important;
            }

    /* Nav text */
    html[data-ui="legacy"] .sidebar .nav-text[b-vh7hoz5zl9], html[data-ui="legacy"] .sidebar .btn-text[b-vh7hoz5zl9]{
        color: var(--on-inverse) !important;
    }

    /* Collapsed state - narrow width showing only icons */
    html[data-ui="legacy"] .sidebar.collapsed[b-vh7hoz5zl9]{
        width: 64px;
    }

        html[data-ui="legacy"] .sidebar.collapsed .brand[b-vh7hoz5zl9]{
            justify-content: center;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

            html[data-ui="legacy"] .sidebar.collapsed .brand .logo[b-vh7hoz5zl9]{
                margin-right: 0 !important;
                margin-left: 0 !important;
            }

        /* Remove nav container padding when collapsed */
        html[data-ui="legacy"] .sidebar.collapsed .nav[b-vh7hoz5zl9]{
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

        html[data-ui="legacy"] .sidebar.collapsed .nav-link[b-vh7hoz5zl9]{
            justify-content: center;
            align-items: center;
            padding: 12px 0;
            text-align: center;
            margin-left: 0;
            margin-right: 0;
        }

            html[data-ui="legacy"] .sidebar.collapsed .nav-link i[b-vh7hoz5zl9]{
                margin: 0 !important;
                margin-right: 0 !important;
                margin-left: 0 !important;
                font-size: 1.25rem;
                width: 100%;
                text-align: center;
            }

        html[data-ui="legacy"] .sidebar.collapsed .nav-text[b-vh7hoz5zl9], html[data-ui="legacy"] .sidebar.collapsed .btn-text[b-vh7hoz5zl9]{
            display: none;
        }

        /* Hide submenu items when sidebar is collapsed */
        html[data-ui="legacy"] .sidebar.collapsed .nav-item .wv-ps-4[b-vh7hoz5zl9]{
            display: none;
        }

        /* Ensure nav-item also centers properly */
        html[data-ui="legacy"] .sidebar.collapsed .nav-item[b-vh7hoz5zl9]{
            width: 100%;
        }

            html[data-ui="legacy"] .sidebar.collapsed .nav-item > a.nav-link[b-vh7hoz5zl9]{
                justify-content: center;
                padding-left: 0;
                padding-right: 0;
            }

/* Main area */
html[data-ui="legacy"] .main[b-vh7hoz5zl9]{
    background: transparent;
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-left: 240px;
    transition: margin-left 0.25s ease;
    min-width: 0;
    max-width: calc(100vw - 240px);
    overflow-x: hidden;
}

html[data-ui="legacy"] .sidebar.collapsed ~ .main[b-vh7hoz5zl9]{
    margin-left: 64px;
    max-width: calc(100vw - 64px);
}

html[data-ui="legacy"] .header[b-vh7hoz5zl9]{
    height: 64px;
    background: var(--surface-raised);
    border-bottom: 1px solid var(--line);
    align-items: center;
    flex-shrink: 0;
}

html[data-ui="legacy"] .search-input[b-vh7hoz5zl9]{
    max-width: 420px;
}

/* Avatar - Updated with new primary gradient */
html[data-ui="legacy"] .avatar[b-vh7hoz5zl9]{
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--signal), var(--signal));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Notifications badge - Using contrast color */
html[data-ui="legacy"] .notifications-badge[b-vh7hoz5zl9]{
    position: absolute;
    top: 4px;
    right: 2px;
    font-size: 0.625rem;
    padding: 0.25rem 0.35rem;
    border-radius: 999px;
    background-color: var(--crit) !important;
}

/* Content area */
html[data-ui="legacy"] .content[b-vh7hoz5zl9]{
    background: transparent;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 80px;
    min-width: 0;
    max-width: 100%;
}

/* Footer - Positioned absolutely at bottom, overlapping sidebar */
html[data-ui="legacy"] .footer[b-vh7hoz5zl9]{
    background: transparent;
    border-top: 1px solid var(--line);
    flex-shrink: 0;
    z-index: 1040;
    width: 100%;
}

/* Sidebar footer copyright text - lighter gray */
html[data-ui="legacy"] .sidebar-footer-copyright[b-vh7hoz5zl9]{
    color: color-mix(in srgb, var(--on-inverse) 40%, transparent) !important;
}

html[data-ui="legacy"] .sidebar-footer-copyright small[b-vh7hoz5zl9]{
    color: color-mix(in srgb, var(--on-inverse) 40%, transparent) !important;
}

/* Global tooltip icon styling (e.g., info icons) - lighter gray */
html[data-ui="legacy"] .fr-info-tooltip[b-vh7hoz5zl9]{
    color: color-mix(in srgb, var(--on-inverse) 75%, transparent) !important;
    transition: color 0.2s ease;
}

html[data-ui="legacy"] .fr-info-tooltip:hover[b-vh7hoz5zl9]{
    color: var(--on-inverse) !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    html[data-ui="legacy"] .sidebar[b-vh7hoz5zl9]{
        left: -240px;
    }

        html[data-ui="legacy"] .sidebar.collapsed[b-vh7hoz5zl9]{
            left: 0;
            width: 64px;
        }

    html[data-ui="legacy"] .main[b-vh7hoz5zl9]{
        margin-left: 0;
        max-width: 100vw;
    }

    html[data-ui="legacy"] .content[b-vh7hoz5zl9]{
        padding-bottom: 80px;
    }
}

/* /Components/Pages/Account/NotificationSettings.razor.rz.scp.css */
/* One row per alert: what it is on the left, the choice on the right; stacked on a narrow screen. */
.note-list[b-1g46pn9fio] { list-style: none; margin: 0; padding: 0; }

.note-row[b-1g46pn9fio] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    padding: 10px 16px;
    border-top: 1px solid var(--line);
}
.note-row:first-child[b-1g46pn9fio] { border-top: 0; }

.note-what[b-1g46pn9fio] { flex: 1 1 260px; min-width: 0; }
.note-what b[b-1g46pn9fio] { display: block; font-size: 13.5px; color: var(--ink); }

.note-choice[b-1g46pn9fio] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
}

.note-state[b-1g46pn9fio] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 96px;
}
/* /Components/Pages/Admin/SystemStatusPage.razor.rz.scp.css */
/* System status. Rows are the page's own markup; the chips, notices and detail lists inside
   them are shared components, reached with ::deep. */

.ss-banner[b-7l2tad9pdf] {
    margin-bottom: var(--gap, 14px);
}

.ss-meta[b-7l2tad9pdf] {
    font-size: 12px;
    color: var(--ink-muted);
    margin-top: -6px;
}

.ss-check[b-7l2tad9pdf] {
    padding: 12px var(--pad, 18px);
    border-top: 1px solid var(--line);
    min-width: 0;
}

.ss-check:first-child[b-7l2tad9pdf] {
    border-top: 0;
}

.ss-check-head[b-7l2tad9pdf] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.ss-check-head[b-7l2tad9pdf]  .ss-chip {
    flex: 0 0 auto;
    min-width: 96px;
    justify-content: center;
    text-align: center;
}

.ss-check-text[b-7l2tad9pdf] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ss-check-text span[b-7l2tad9pdf] {
    color: var(--ink-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.ss-check-time[b-7l2tad9pdf] {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--ink-muted);
    white-space: nowrap;
}

.ss-hint[b-7l2tad9pdf] {
    margin: 8px 0 0 108px;
    font-size: 13px;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.ss-details[b-7l2tad9pdf] {
    margin: 6px 0 0 108px;
    font-size: 13px;
}

.ss-details summary[b-7l2tad9pdf] {
    cursor: pointer;
    color: var(--signal);
    font-size: 12.5px;
    width: max-content;
}

.ss-details[open] summary[b-7l2tad9pdf] {
    margin-bottom: 8px;
}

.ss-details .ss-hint[b-7l2tad9pdf] {
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 8px;
}

.ss-details[b-7l2tad9pdf]  .dl dd {
    overflow-wrap: anywhere;
    min-width: 0;
}

.ss-detail[b-7l2tad9pdf] {
    margin: 8px 0 0;
    padding: 8px 10px;
    background: var(--surface-sunken);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 12px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.ss-history[b-7l2tad9pdf] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ss-history li[b-7l2tad9pdf] {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    font-size: 13px;
    min-width: 0;
}

.ss-history li:first-child[b-7l2tad9pdf] {
    border-top: 0;
    padding-top: 0;
}

.ss-history-time[b-7l2tad9pdf] {
    flex: 0 0 auto;
    color: var(--ink-muted);
    font-size: 12px;
    white-space: nowrap;
    padding-top: 2px;
}

.ss-history-text[b-7l2tad9pdf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.ss-history-summary[b-7l2tad9pdf] {
    flex-basis: 100%;
    color: var(--ink-muted);
    overflow-wrap: anywhere;
}

.ss-note[b-7l2tad9pdf] {
    margin: 14px 0 0;
    font-size: 12px;
    color: var(--ink-muted);
}

/* Phone width: the chip goes above the text, and hint and details lose their indent. */
@media (max-width: 640px) {
    .ss-check[b-7l2tad9pdf] {
        padding: 12px 14px;
    }

    .ss-check-head[b-7l2tad9pdf] {
        flex-wrap: wrap;
        gap: 6px 10px;
    }

    .ss-check-head[b-7l2tad9pdf]  .ss-chip {
        min-width: 0;
    }

    .ss-check-text[b-7l2tad9pdf] {
        flex-basis: 100%;
        order: 3;
    }

    .ss-check-time[b-7l2tad9pdf] {
        margin-left: auto;
    }

    .ss-hint[b-7l2tad9pdf],
    .ss-details[b-7l2tad9pdf] {
        margin-left: 0;
    }
}
/* /Components/Pages/Analytics/Accessories.razor.rz.scp.css */
.site-survey-container[b-lgzldigld1] {
    /* Filter section styling */
}

.site-survey-container .card-body .form-control-sm[b-lgzldigld1],
.site-survey-container .card-body .form-select-sm[b-lgzldigld1] {
    font-size: 0.8125rem;
}

.site-survey-container .table th[b-lgzldigld1] {
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.site-survey-container .table td[b-lgzldigld1] {
    vertical-align: middle;
}

.site-survey-container .table .progress[b-lgzldigld1] {
    border-radius: 2px;
}

.site-survey-container .badge[b-lgzldigld1] {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Sticky table header */
.site-survey-container .table-responsive[b-lgzldigld1] {
    max-height: 600px;
    overflow-y: auto;
}

.site-survey-container .sticky-top[b-lgzldigld1] {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Sortable column headers */
.site-survey-container th.sortable:hover[b-lgzldigld1] {
    background-color: color-mix(in srgb, var(--ink) 5%, transparent);
}

/* Warning row for below threshold */
.site-survey-container .table-warning[b-lgzldigld1] {
    --bs-table-bg: rgba(255, 193, 7, 0.1);
}

/* Filter card compact styling */
.site-survey-container .form-label[b-lgzldigld1] {
    font-weight: 500;
}
/* /Components/Pages/Analytics/BatteryHealth.razor.rz.scp.css */
/* ── Tier summary cards ── */
[b-yiung05p46] .tier-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[b-yiung05p46] .tier-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem color-mix(in srgb, var(--ink) 10%, transparent) !important;
}

.tier-icon[b-yiung05p46] {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.tier-count[b-yiung05p46] {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.tier-label[b-yiung05p46] {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tier color schemes */
[b-yiung05p46] .tier-healthy .tier-icon,
[b-yiung05p46] .tier-healthy .tier-count { color: var(--good); }
[b-yiung05p46] .tier-healthy { border-left: 4px solid var(--good) !important; }

[b-yiung05p46] .tier-fair .tier-icon,
[b-yiung05p46] .tier-fair .tier-count { color: var(--warn); }
[b-yiung05p46] .tier-fair { border-left: 4px solid var(--warn) !important; }

[b-yiung05p46] .tier-degrading .tier-icon,
[b-yiung05p46] .tier-degrading .tier-count { color: var(--warn); }
[b-yiung05p46] .tier-degrading { border-left: 4px solid var(--warn) !important; }

[b-yiung05p46] .tier-replace .tier-icon,
[b-yiung05p46] .tier-replace .tier-count { color: var(--crit); }
[b-yiung05p46] .tier-replace { border-left: 4px solid var(--crit) !important; }

/* ── Table ── */
[b-yiung05p46] th[role="button"] {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

[b-yiung05p46] th[role="button"]:hover {
    background-color: color-mix(in srgb, var(--ink) 4%, transparent);
}

/* ── Badge colors ── */
.bg-orange[b-yiung05p46] {
    background-color: var(--warn) !important;
    color: var(--on-inverse);
}
/* /Components/Pages/Analytics/OperatorStatistics.razor.rz.scp.css */
.operator-statistics-container[b-a9t3dr8pab] {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.operator-statistics-container .card-body .form-control-sm[b-a9t3dr8pab],
.operator-statistics-container .card-body .form-select-sm[b-a9t3dr8pab] {
    font-size: 0.8125rem;
}

.operator-statistics-container .table th[b-a9t3dr8pab] {
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.operator-statistics-container .table td[b-a9t3dr8pab] {
    vertical-align: middle;
}

.operator-statistics-container .badge[b-a9t3dr8pab] {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Sticky table header */
.operator-statistics-container .table-responsive[b-a9t3dr8pab] {
    max-height: 600px;
    overflow: auto;
    display: block;
    width: 100%;
}

.operator-statistics-container .sticky-top[b-a9t3dr8pab] {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Sortable column headers */
.operator-statistics-container th.sortable:hover[b-a9t3dr8pab] {
    background-color: color-mix(in srgb, var(--ink) 5%, transparent);
}

/* Filter card compact styling */
.operator-statistics-container .form-label[b-a9t3dr8pab] {
    font-weight: 500;
}
/* /Components/Pages/Analytics/SiteSurvey.razor.rz.scp.css */
.site-survey-container[b-90to06v689] {
    /* Filter section styling */
}

.site-survey-container .card-body .form-control-sm[b-90to06v689],
.site-survey-container .card-body .form-select-sm[b-90to06v689] {
    font-size: 0.8125rem;
}

.site-survey-container .table th[b-90to06v689] {
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
}

.site-survey-container .table td[b-90to06v689] {
    vertical-align: middle;
}

.site-survey-container .table .progress[b-90to06v689] {
    border-radius: 2px;
}

.site-survey-container .badge[b-90to06v689] {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Sticky table header */
.site-survey-container .table-responsive[b-90to06v689] {
    max-height: 600px;
    overflow-y: auto;
}

.site-survey-container .sticky-top[b-90to06v689] {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Sortable column headers */
.site-survey-container th.sortable:hover[b-90to06v689] {
    background-color: color-mix(in srgb, var(--ink) 5%, transparent);
}

/* Warning row for below threshold */
.site-survey-container .table-warning[b-90to06v689] {
    --bs-table-bg: rgba(255, 193, 7, 0.1);
}

/* Filter card compact styling */
.site-survey-container .form-label[b-90to06v689] {
    font-weight: 500;
}
/* /Components/Pages/Automations/AutomationEditor.razor.rz.scp.css */
/* Automations editor: bar on top; palette, canvas and settings side by side, filling the page. */

.ed[b-j39nqmb49e] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--topbar-height, 56px) - 32px);
    min-height: 560px;
    gap: 10px;
    /* The bar reacts to the room the editor has, not the window: the sidebar takes its share. */
    container-type: inline-size;
}

/* ── Bar ── */
.ed-bar[b-j39nqmb49e] {
    display: flex;
    align-items: center;
    gap: 10px;
    /* At wide widths everything fits on one line; when it does not, the bar grows a line (the
       body below is the one that gives up height) and Publish never falls off the end. */
    flex-wrap: wrap;
    flex: none;
    min-width: 0;
    padding: 8px 12px;
    background: var(--surface-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}
.ed-name[b-j39nqmb49e] {
    font: 600 18px/24px var(--font-display);
    color: var(--ink);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    padding: 4px 8px;
    min-width: 120px;
    flex: 1 1 200px;
}
.ed-name:hover[b-j39nqmb49e] { border-color: var(--line); }
.ed-name:focus[b-j39nqmb49e] { border-color: var(--signal); outline: none; background: var(--surface-raised); }
.ed-scope[b-j39nqmb49e] { width: auto; min-width: 140px; max-width: 200px; flex: none; }
.ed-saved[b-j39nqmb49e] { font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
/* On a narrower editor the save note gives way first, then Test, Runs and History keep only their
   icon (the word stays their name for screen readers, and their tooltip), so the name and Publish
   keep their room. */
@container (max-width: 1240px) { .ed-saved[b-j39nqmb49e] { display: none; } }
@container (max-width: 1180px) {
    .ed-lbl[b-j39nqmb49e] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .ed-scope[b-j39nqmb49e] { min-width: 120px; max-width: 160px; }
}
.ed-bar[b-j39nqmb49e]  .btn, .ed-bar[b-j39nqmb49e]  .wv-status { flex: none; }
.ed-push[b-j39nqmb49e] { flex: 0 1 0; }
[b-j39nqmb49e] .ed-msg { margin: 0; }

/* ── Body ── */
.ed-body[b-j39nqmb49e] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr) 340px;
    gap: 10px;
}

/* ── Palette ── */
.ed-palette[b-j39nqmb49e], .ed-side[b-j39nqmb49e] {
    overflow-y: auto;
    background: var(--surface-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 12px;
}
.ed-palette-hint[b-j39nqmb49e] { font-size: 12px; color: var(--ink-muted); margin-bottom: 8px; }
.ed-palette-group[b-j39nqmb49e] {
    font: var(--type-label);
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-muted);
    margin: 14px 0 6px;
}
.ed-palette-item[b-j39nqmb49e] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    text-align: left;
    padding: 8px;
    margin-bottom: 4px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: none;
    cursor: grab;
    color: var(--ink);
}
.ed-palette-item:hover[b-j39nqmb49e] { background: var(--surface); border-color: var(--line); }
.ed-palette-item b[b-j39nqmb49e] { display: block; font-size: 13px; font-weight: 600; }
.ed-palette-item small[b-j39nqmb49e] { display: block; font-size: 11.5px; line-height: 15px; color: var(--ink-muted); }
.ed-ico[b-j39nqmb49e] {
    flex: none;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--surface-sunken);
    color: var(--ink-muted);
}
.ed-ico[b-j39nqmb49e]  svg { width: 15px; height: 15px; }

/* ── Canvas ── */
.ed-canvas[b-j39nqmb49e] {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background-color: var(--surface);
    background-image: radial-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 1px, transparent 1px);
    background-size: 20px 20px;
    cursor: grab;
    touch-action: none;
    outline: none;
}
.ed-canvas:focus-visible[b-j39nqmb49e] { box-shadow: inset 0 0 0 2px var(--focus); }
.ed-canvas.is-panning[b-j39nqmb49e] { cursor: grabbing; }

.flow-world[b-j39nqmb49e] {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    transform-origin: 0 0;
}
.flow-edges[b-j39nqmb49e] {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: visible;
    pointer-events: none;
}
.flow-edge[b-j39nqmb49e] {
    fill: none;
    stroke: var(--line-strong);
    stroke-width: 2;
    pointer-events: stroke;
    cursor: pointer;
}
.flow-edge:hover[b-j39nqmb49e] { stroke: var(--ink-muted); }
.flow-edge.is-selected[b-j39nqmb49e] { stroke: var(--ink); stroke-width: 3; }
.flow-edge.is-taken[b-j39nqmb49e] { stroke: var(--signal); stroke-width: 3; }
[b-j39nqmb49e] .flow-ghost { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 6 4; }

.flow-insert[b-j39nqmb49e] {
    position: absolute;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border-radius: var(--radius-full);
    border: 1px solid var(--line-strong);
    background: var(--surface-raised);
    color: var(--ink-muted);
    font: 600 14px/1 var(--font-sans);
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    transition: opacity .12s ease;
}
.ed-canvas:hover .flow-insert[b-j39nqmb49e], .flow-insert:focus-visible[b-j39nqmb49e] { opacity: 1; }
.flow-insert:hover[b-j39nqmb49e] { color: var(--ink); border-color: var(--ink); }

/* Cards */
.flow-node[b-j39nqmb49e] {
    position: absolute;
    width: 240px;
    padding: 10px 12px 14px;
    background: var(--surface-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-1);
    cursor: move;
    user-select: none;
}
.flow-node.is-logic[b-j39nqmb49e] { background: color-mix(in srgb, var(--surface-sunken) 55%, var(--surface-raised)); }
.flow-node.is-trigger[b-j39nqmb49e] {
    background: var(--night);
    border-color: var(--night-line);
    color: var(--on-night);
}
.flow-node.is-selected[b-j39nqmb49e] { border-color: var(--ink); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ink) 18%, transparent), var(--shadow-2); }
.flow-node.is-trigger.is-selected[b-j39nqmb49e] { border-color: var(--amber); box-shadow: 0 0 0 2px color-mix(in srgb, var(--amber) 35%, transparent), var(--shadow-2); }
.flow-node.is-target[b-j39nqmb49e] { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.flow-node.is-dim[b-j39nqmb49e] { opacity: .45; }

.flow-node-head[b-j39nqmb49e] { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.flow-ico[b-j39nqmb49e] {
    width: 24px;
    height: 24px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: var(--surface-sunken);
    color: var(--ink-muted);
}
.flow-ico[b-j39nqmb49e]  svg { width: 14px; height: 14px; }
.is-trigger .flow-ico[b-j39nqmb49e] { background: var(--night-raised); color: var(--amber); }
.flow-kind[b-j39nqmb49e] { font: var(--type-label); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); flex: 1; }
.is-trigger .flow-kind[b-j39nqmb49e] { color: var(--on-night-muted); }
.flow-node-name[b-j39nqmb49e] { font-weight: 600; font-size: 14px; line-height: 18px; }
.flow-node-sum[b-j39nqmb49e] {
    margin-top: 2px;
    font-size: 12px;
    line-height: 16px;
    color: var(--ink-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.is-trigger .flow-node-sum[b-j39nqmb49e] { color: var(--on-night-muted); }

.flow-warn[b-j39nqmb49e] {
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: grid;
    place-items: center;
    background: var(--warn-soft);
    color: var(--warn);
    font: 700 11px/1 var(--font-sans);
}

/* Result of a test or run, on the card and in the list. */
.flow-result[b-j39nqmb49e] {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: var(--surface-sunken);
    color: var(--ink-muted);
    white-space: nowrap;
}
.flow-result.ok[b-j39nqmb49e] { background: var(--good-soft); color: var(--good); }
.flow-result.dry[b-j39nqmb49e] { background: var(--signal-soft); color: var(--signal); }
.flow-result.wait[b-j39nqmb49e] { background: var(--amber-soft); color: var(--amber-text); }
.flow-result.fail[b-j39nqmb49e] { background: var(--crit-soft); color: var(--crit); }

/* Ports: the way in on top, the ways out at the bottom. */
.flow-in[b-j39nqmb49e] {
    position: absolute;
    left: 50%;
    top: -6px;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    border-radius: var(--radius-full);
    background: var(--surface-raised);
    border: 2px solid var(--line-strong);
}
.flow-ports[b-j39nqmb49e] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7px;
    display: flex;
    justify-content: space-evenly;
}
.flow-port[b-j39nqmb49e] {
    position: relative;
    width: 14px;
    height: 14px;
    border-radius: var(--radius-full);
    background: var(--ink);
    border: 2px solid var(--surface-raised);
    cursor: crosshair;
}
.is-trigger .flow-port[b-j39nqmb49e] { background: var(--amber); border-color: var(--night); }
.flow-port:hover[b-j39nqmb49e] { transform: scale(1.25); }
.flow-port i[b-j39nqmb49e] {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    font: 600 10.5px/1 var(--font-sans);
    font-style: normal;
    color: var(--ink-muted);
    background: var(--surface);
    padding: 2px 4px;
    border-radius: var(--radius-xs);
}
.flow-port-yes[b-j39nqmb49e] { background: var(--good); }
.flow-port-no[b-j39nqmb49e] { background: var(--ink-muted); }

/* Empty canvas, the add-step menu, zoom controls */
.ed-empty[b-j39nqmb49e] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--ink-muted);
    pointer-events: none;
}
.ed-empty b[b-j39nqmb49e] { color: var(--ink); font-size: 16px; }
.ed-empty[b-j39nqmb49e]  button { pointer-events: auto; margin-top: 6px; }

.ed-menu[b-j39nqmb49e] {
    position: absolute;
    z-index: 5;
    width: 240px;
    padding: 6px;
    background: var(--surface-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-2);
}
.ed-menu-head[b-j39nqmb49e] { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 6px; font-weight: 600; font-size: 13px; }
.ed-menu-x[b-j39nqmb49e] { border: 0; background: none; font-size: 18px; line-height: 1; color: var(--ink-muted); cursor: pointer; }
.ed-menu-item[b-j39nqmb49e] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 7px 8px;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    text-align: left;
    font-size: 13px;
    color: var(--ink);
    cursor: pointer;
}
.ed-menu-item:hover[b-j39nqmb49e] { background: var(--surface); }
.ed-menu-item[b-j39nqmb49e]  svg { width: 14px; height: 14px; color: var(--ink-muted); }

.ed-zoom[b-j39nqmb49e] {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: flex;
    gap: 6px;
    padding: 6px;
    background: var(--surface-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-1);
}

/* ── Side panel ── */
.ed-side-head[b-j39nqmb49e] { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 14px; }
.ed-events[b-j39nqmb49e] { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; max-height: 280px; overflow-y: auto; }
.ed-event[b-j39nqmb49e] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-raised);
    color: var(--ink);
    cursor: pointer;
}
.ed-event:hover[b-j39nqmb49e] { border-color: var(--line-strong); }
.ed-event.on[b-j39nqmb49e] { border-color: var(--signal); box-shadow: 0 0 0 2px var(--signal-soft); }
.ed-event b[b-j39nqmb49e] { font-size: 13px; }
.ed-event small[b-j39nqmb49e] { font-size: 11.5px; color: var(--ink-muted); }
.ed-event-top[b-j39nqmb49e] { display: flex; gap: 6px; }
.ed-steps[b-j39nqmb49e] { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ed-steps li[b-j39nqmb49e] { display: block; font-size: 13px; }
.ed-steps .flow-result[b-j39nqmb49e] { margin-right: 6px; }
.ed-problems[b-j39nqmb49e] { margin: 0; padding-left: 18px; font-size: 13px; color: var(--warn); }

@media (max-width: 1180px) {
    .ed-body[b-j39nqmb49e] { grid-template-columns: 200px minmax(0, 1fr) 300px; }
}
@media (max-width: 960px) {
    .ed[b-j39nqmb49e] { height: auto; }
    .ed-body[b-j39nqmb49e] { grid-template-columns: 1fr; }
    .ed-canvas[b-j39nqmb49e] { height: 520px; }
}
.insp-foot[b-j39nqmb49e] { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Read-only: the cards can be selected, not dragged. */
.ed-canvas.is-readonly .flow-node[b-j39nqmb49e] { cursor: pointer; }
.ed-canvas.is-readonly .flow-port[b-j39nqmb49e] { cursor: default; }
.ed-canvas.is-readonly .flow-port:hover[b-j39nqmb49e] { transform: none; }
.ed-fields[b-j39nqmb49e] { border: 0; padding: 0; margin: 0; min-width: 0; }

/* The selected step's connections, reachable from the keyboard. */
.ed-conns[b-j39nqmb49e] { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.ed-conns-head[b-j39nqmb49e] { font: var(--type-label); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); margin-bottom: 6px; }
.ed-conns ul[b-j39nqmb49e] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ed-conns li[b-j39nqmb49e] { display: flex; align-items: center; gap: 4px; }
.ed-conn-show[b-j39nqmb49e] {
    flex: 1;
    min-width: 0;
    text-align: left;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--ink);
    font-size: 13px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ed-conn-show:hover[b-j39nqmb49e] { background: var(--surface); border-color: var(--line); }
.ed-conn-show:focus-visible[b-j39nqmb49e] { outline: 2px solid var(--focus); outline-offset: 1px; }

/* The runs filter: the same checkbox row as the settings panel uses. */
.ed-side .insp-check[b-j39nqmb49e] { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; padding: 3px 0; cursor: pointer; }
.ed-side .insp-check input[b-j39nqmb49e] { margin-top: 3px; }
/* /Components/Pages/Automations/AutomationsPage.razor.rz.scp.css */
.auto-name[b-w0zyussekl] { font-weight: 600; color: var(--ink); text-decoration: none; }
.auto-name:hover[b-w0zyussekl] { text-decoration: underline; }
.auto-desc[b-w0zyussekl] { max-width: 520px; white-space: normal; }

.auto-templates[b-w0zyussekl] { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.auto-template[b-w0zyussekl] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-align: left;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    color: var(--ink);
    cursor: pointer;
}
.auto-template:hover[b-w0zyussekl] { border-color: var(--line-strong); }
.auto-template.on[b-w0zyussekl] { border-color: var(--ink); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ink) 15%, transparent); }
.auto-template b[b-w0zyussekl] { display: block; font-size: 13.5px; }
.auto-template small[b-w0zyussekl] { display: block; font-size: 12px; line-height: 16px; color: var(--ink-muted); margin-top: 2px; }
.auto-template-ico[b-w0zyussekl] {
    flex: none;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--surface-sunken);
    color: var(--ink-muted);
}
.auto-template-ico[b-w0zyussekl]  svg { width: 15px; height: 15px; }
/* /Components/Pages/Automations/StepInspector.razor.rz.scp.css */
/* The settings of the selected step. */

.insp[b-7u9qtrfkf0] { display: flex; flex-direction: column; gap: 4px; }
.insp-head[b-7u9qtrfkf0] { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.insp-ico[b-7u9qtrfkf0] {
    flex: none;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--surface-sunken);
    color: var(--ink-muted);
}
.insp-ico[b-7u9qtrfkf0]  svg { width: 16px; height: 16px; }
.insp-title[b-7u9qtrfkf0] { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.insp-title small[b-7u9qtrfkf0] { font-size: 12px; line-height: 16px; }
.insp-name[b-7u9qtrfkf0] { font-weight: 600; }

.insp-group[b-7u9qtrfkf0] {
    font: var(--type-label);
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ink-muted);
    margin: 10px 0 2px;
}
.insp-check[b-7u9qtrfkf0] { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; padding: 3px 0; cursor: pointer; }
.insp-check input[b-7u9qtrfkf0] { margin-top: 3px; }
.insp-scroll[b-7u9qtrfkf0] { max-height: 180px; overflow-y: auto; padding-right: 4px; }
.insp-row[b-7u9qtrfkf0] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.insp-num[b-7u9qtrfkf0] { width: 90px; }
.insp-defaults[b-7u9qtrfkf0] { display: grid; grid-template-columns: auto auto auto; gap: 2px 12px; align-items: center; font-size: 13px; }

.insp-cond[b-7u9qtrfkf0] {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
    margin-bottom: 6px;
}

.insp-vars[b-7u9qtrfkf0] { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.insp-var[b-7u9qtrfkf0] {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink-muted);
    border-radius: var(--radius-full);
    font-size: 11.5px;
    padding: 2px 8px;
    cursor: pointer;
}
.insp-var:hover[b-7u9qtrfkf0] { color: var(--ink); border-color: var(--line-strong); }

.insp-hint[b-7u9qtrfkf0] { font-size: 12px; line-height: 16px; color: var(--ink-muted); margin: 4px 0 8px; }
.insp-foot[b-7u9qtrfkf0] { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }

/* ── Sections: a title, one line on what it is for, then the choice ── */
.insp-section[b-7u9qtrfkf0] { padding: 14px 0; border-top: 1px solid var(--line); }
.insp-section:first-of-type[b-7u9qtrfkf0] { border-top: 0; padding-top: 4px; }
.insp-section-title[b-7u9qtrfkf0] { margin: 0 0 2px; font: 600 14px/18px var(--font-sans); color: var(--ink); }
.insp-section-sub[b-7u9qtrfkf0] { margin: 0 0 10px; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.insp-label[b-7u9qtrfkf0] { margin: 12px 0 6px; font: var(--type-label); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); }

/* ── Event tiles ── */
.insp-tiles[b-7u9qtrfkf0] { display: flex; flex-direction: column; gap: 6px; }
.insp-tile[b-7u9qtrfkf0] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    text-align: left;
    background: var(--surface-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    color: var(--ink);
    cursor: pointer;
    transition: border-color .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.insp-tile:hover[b-7u9qtrfkf0] { border-color: var(--line-strong); background: var(--surface); }
.insp-tile:focus-visible[b-7u9qtrfkf0] { outline: 2px solid var(--focus); outline-offset: 1px; }
.insp-tile.on[b-7u9qtrfkf0] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: var(--surface-raised); }
.insp-tile-ico[b-7u9qtrfkf0] {
    flex: none;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--surface-sunken);
    color: var(--ink-muted);
}
.insp-tile-ico[b-7u9qtrfkf0]  svg { width: 15px; height: 15px; }
.insp-tile.on .insp-tile-ico[b-7u9qtrfkf0] { background: var(--night); color: var(--amber); }
.insp-tile-text[b-7u9qtrfkf0] { flex: 1; min-width: 0; }
.insp-tile-text b[b-7u9qtrfkf0] { display: block; font-size: 13px; font-weight: 600; line-height: 17px; }
.insp-tile-text small[b-7u9qtrfkf0] { display: block; font-size: 11.5px; line-height: 15px; color: var(--ink-muted); margin-top: 1px; }
.insp-tile-check[b-7u9qtrfkf0] {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 6px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--line-strong);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--on-inverse);
}
.insp-tile.on .insp-tile-check[b-7u9qtrfkf0] { background: var(--ink); border-color: var(--ink); }

/* ── Chips: a choice that reads as a choice ── */
.insp-chips[b-7u9qtrfkf0] { display: flex; flex-wrap: wrap; gap: 6px; }
.insp-chip[b-7u9qtrfkf0] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--line);
    background: var(--surface-raised);
    color: var(--ink-muted);
    font: 500 12.5px/1 var(--font-sans);
    cursor: pointer;
    white-space: nowrap;
}
.insp-chip[b-7u9qtrfkf0]  svg { width: 13px; height: 13px; }
.insp-chip:hover[b-7u9qtrfkf0] { border-color: var(--line-strong); color: var(--ink); }
.insp-chip:focus-visible[b-7u9qtrfkf0] { outline: 2px solid var(--focus); outline-offset: 1px; }
.insp-chip.on[b-7u9qtrfkf0] { background: var(--ink); border-color: var(--ink); color: var(--on-inverse); }
.insp-chip-x[b-7u9qtrfkf0] { cursor: default; padding-right: 6px; }
.insp-chip-x button[b-7u9qtrfkf0] {
    border: 0;
    background: color-mix(in srgb, var(--on-inverse) 18%, transparent);
    color: var(--on-inverse);
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.insp-add[b-7u9qtrfkf0] { margin-top: 8px; font-size: 13px; }

.insp-matrix[b-7u9qtrfkf0] { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; font-size: 13px; }

/* ── A switch with its explanation ── */
.insp-switch[b-7u9qtrfkf0] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: var(--surface);
}
.insp-switch > div[b-7u9qtrfkf0] { flex: 1; }
.insp-switch b[b-7u9qtrfkf0] { display: block; font-size: 13px; }
.insp-switch small[b-7u9qtrfkf0] { display: block; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
/* /Components/Pages/Communication/CommunicationConsole.razor.rz.scp.css */
.comm[b-t6sfm783y6] {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: var(--gap);
    height: calc(100vh - var(--topbar-height) - 260px);
    min-height: 480px;
}

.comm[b-t6sfm783y6]  .comm-list,
.comm[b-t6sfm783y6]  .comm-thread {
    /* Side by side in the grid: no stacking margin from "panel after panel", so both cards start on the same line. */
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.comm-conversations[b-t6sfm783y6] {
    list-style: none;
    margin: 0;
    padding: 6px;
    overflow-y: auto;
    flex: 1;
}

.comm-section[b-t6sfm783y6] {
    padding: 10px 10px 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.comm-section:first-child[b-t6sfm783y6] { padding-top: 4px; }

.comm-conversation[b-t6sfm783y6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.comm-conversation:hover[b-t6sfm783y6] { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.comm-conversation.active[b-t6sfm783y6] { background: var(--signal-soft); color: var(--ink); }

.comm-conversation-title[b-t6sfm783y6] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.comm-conversation-title .name[b-t6sfm783y6] {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comm-conversation-last[b-t6sfm783y6] {
    color: var(--ink-muted);
    font-size: 12.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comm-thread-head[b-t6sfm783y6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--gap);
    padding: 12px var(--pad);
    border-bottom: 1px solid var(--line);
}

.comm-thread-head h3[b-t6sfm783y6] { margin: 0; font-size: 16px; }

.comm-thread-actions[b-t6sfm783y6] { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.comm-live[b-t6sfm783y6] { color: var(--crit); font-weight: 500; }

.comm-ptt[b-t6sfm783y6] {
    min-width: 132px;
    background: var(--surface-raised);
    border: 1px solid var(--line);
    color: var(--ink);
    user-select: none;
    touch-action: none;
}

.comm-ptt.talking[b-t6sfm783y6] {
    background: var(--crit);
    border-color: var(--crit);
    color: var(--on-inverse);
}

.comm-messages[b-t6sfm783y6] {
    flex: 1;
    overflow-y: auto;
    padding: var(--pad);
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--surface-sunken);
}

.comm-empty[b-t6sfm783y6] { margin: auto; }
.comm-older[b-t6sfm783y6] { align-self: center; }

.comm-message[b-t6sfm783y6] { display: flex; flex-direction: column; align-items: flex-start; max-width: 72%; }
.comm-message.mine[b-t6sfm783y6] { align-self: flex-end; align-items: flex-end; }

.comm-meta[b-t6sfm783y6] {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    color: var(--ink-muted);
    margin-bottom: 3px;
}

.comm-bubble[b-t6sfm783y6] {
    background: var(--surface-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    color: var(--ink);
    word-break: break-word;
}

.comm-message.mine .comm-bubble[b-t6sfm783y6] { background: var(--signal); border-color: var(--signal); color: var(--on-inverse); }
.comm-message.mine .comm-bubble .muted[b-t6sfm783y6] { color: color-mix(in srgb, var(--on-inverse) 80%, transparent); }

.comm-message.urgent .comm-bubble[b-t6sfm783y6] { border-color: var(--crit); box-shadow: inset 3px 0 0 var(--crit); }
.comm-message.mine.urgent .comm-bubble[b-t6sfm783y6] { box-shadow: inset 3px 0 0 var(--on-inverse); }

.comm-receipts[b-t6sfm783y6] {
    margin-top: 3px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink-muted);
    font-size: 11.5px;
    cursor: pointer;
}

.comm-receipts:hover[b-t6sfm783y6] { color: var(--ink); text-decoration: underline; }

.comm-receipt-list[b-t6sfm783y6] {
    list-style: none;
    margin: 4px 0 0;
    padding: 6px 10px;
    min-width: 220px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-raised);
    font-size: 12.5px;
}

.comm-receipt-list li[b-t6sfm783y6] { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }

.comm-bubble img[b-t6sfm783y6] {
    display: block;
    max-width: 320px;
    max-height: 240px;
    border-radius: var(--radius-sm);
}

.comm-text[b-t6sfm783y6] { white-space: pre-wrap; }
.comm-bubble img + .comm-text[b-t6sfm783y6],
.comm-voice + .comm-text[b-t6sfm783y6] { margin-top: 6px; }

.comm-voice[b-t6sfm783y6] { display: flex; flex-direction: column; gap: 4px; }
.comm-voice audio[b-t6sfm783y6] { height: 32px; max-width: 260px; }

.comm-composer[b-t6sfm783y6] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px var(--pad);
    border-top: 1px solid var(--line);
}

/* Wraps onto its own line on a phone rather than pushing Send out of view. */
.comm-composer .inp[b-t6sfm783y6] { flex: 1 1 200px; min-width: 0; }

.comm-urgent[b-t6sfm783y6] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ink);
}

.comm-monitoring[b-t6sfm783y6] { color: var(--signal); }

.comm-attach[b-t6sfm783y6] { position: relative; overflow: hidden; }

.comm-attach[b-t6sfm783y6]  input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.comm-members[b-t6sfm783y6] {
    display: flex;
    flex-direction: column;
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.comm-member[b-t6sfm783y6] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
}

.comm-member:last-child[b-t6sfm783y6] { border-bottom: 0; }

@media (max-width: 900px) {
    .comm[b-t6sfm783y6] {
        grid-template-columns: minmax(0, 1fr);
        height: auto;
    }

    .comm[b-t6sfm783y6]  .comm-list { max-height: 280px; }
    .comm[b-t6sfm783y6]  .comm-thread { height: 70vh; }
    .comm-message[b-t6sfm783y6] { max-width: 90%; }
}
/* /Components/Pages/Communication/CommunicationHistory.razor.rz.scp.css */
.hist-filters[b-cgxi07826g] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.hist-field[b-cgxi07826g] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--ink-muted);
}

/* The categories take a row of their own; the filters line up under them, left to right. */
.hist-filters[b-cgxi07826g]  .hist-tabs { flex: 1 1 100%; }

.hist-field .inp[b-cgxi07826g] { width: 150px !important; flex: 0 0 150px; }

.hist-operator[b-cgxi07826g] { width: 220px !important; flex: 0 0 220px; }

.hist-urgent[b-cgxi07826g] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--ink);
}

.hist-what[b-cgxi07826g] {
    max-width: 480px;
    overflow-wrap: anywhere;
}
/* /Components/Pages/Communication/MessageTimeline.razor.rz.scp.css */
.comm-timeline[b-zuvrbh0oas] {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.comm-timeline-item[b-zuvrbh0oas] {
    display: grid;
    grid-template-columns: 118px 14px 1fr;
    gap: 10px;
    align-items: start;
    padding: 5px 0;
    font-size: 13px;
    position: relative;
}

/* The line through the dots. */
.comm-timeline-item[b-zuvrbh0oas]::before {
    content: "";
    position: absolute;
    left: 134px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--line);
}

.comm-timeline-item:first-child[b-zuvrbh0oas]::before { top: 12px; }
.comm-timeline-item:last-child[b-zuvrbh0oas]::before { bottom: calc(100% - 12px); }

.comm-timeline-time[b-zuvrbh0oas] {
    color: var(--ink-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.comm-timeline-dot[b-zuvrbh0oas] {
    width: 10px;
    height: 10px;
    margin: 4px 0 0 2px;
    border-radius: 50%;
    background: var(--signal);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 3px var(--surface-raised);
}

.comm-timeline-dot.crit[b-zuvrbh0oas] { background: var(--crit, var(--crit)); }
.comm-timeline-dot.good[b-zuvrbh0oas] { background: var(--good); }

.comm-timeline-body[b-zuvrbh0oas] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
    min-width: 0;
}

.comm-timeline-body .dim[b-zuvrbh0oas] {
    flex-basis: 100%;
    overflow-wrap: anywhere;
}
/* /Components/Pages/Configuration/TabbedConfiguration.razor.rz.scp.css */
/* Custom styling for configuration tabs and buttons using sidebar light blue */

/* Tab pills styling */
.config-tabs .nav-link[b-5c73mhug4l] {
    color: var(--ink-muted);
    background-color: transparent;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.config-tabs .nav-link:hover[b-5c73mhug4l] {
    color: var(--signal);
    background-color: color-mix(in srgb, var(--signal) 10%, transparent);
}

.config-tabs .nav-link.active[b-5c73mhug4l] {
    color: var(--on-inverse);
    background: linear-gradient(135deg, var(--signal) 0%, var(--signal) 100%);
    border-color: transparent;
}

/* Save button styling */
[b-5c73mhug4l] .btn-save-config {
    color: var(--on-inverse);
    background: linear-gradient(135deg, var(--signal) 0%, var(--signal) 100%);
    border: none;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

[b-5c73mhug4l] .btn-save-config:hover {
    color: var(--on-inverse);
    background: linear-gradient(135deg, var(--signal) 0%, var(--signal) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--signal) 30%, transparent);
}

[b-5c73mhug4l] .btn-save-config:disabled {
    color: var(--on-inverse);
    background: linear-gradient(135deg, var(--signal) 0%, var(--signal) 100%);
    opacity: 0.65;
    transform: none;
    box-shadow: none;
}

[b-5c73mhug4l] .btn-save-config:focus {
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--signal) 25%, transparent);
}
/* /Components/Pages/Login/ForgotPassword.razor.rz.scp.css */
/* Scoped styles for Forgot Password page - consistent with Login/Signup theme */
.forgot-page[b-63kalpkzum] {
    background: linear-gradient(135deg, var(--signal) 0%, var(--signal) 100%);
    padding: 20px;
}

.forgot-container[b-63kalpkzum] {
    width: 100%;
    max-width: 440px;
}

    .forgot-container .card[b-63kalpkzum] {
        border-radius: 16px;
        backdrop-filter: blur(8px);
    }

.logo-circle[b-63kalpkzum] {
    width: 72px;
    height: 72px;
    background: var(--signal-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-circle i[b-63kalpkzum] {
        color: var(--signal);
    }

.form-control:focus[b-63kalpkzum] {
    border-color: var(--signal);
    box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--signal) 12%, transparent);
}

.btn-primary[b-63kalpkzum] {
    background: linear-gradient(135deg, var(--signal) 0%, var(--signal) 100%);
    border: none;
    font-weight: 600;
}

.alert-info[b-63kalpkzum] {
    background-color: color-mix(in srgb, var(--signal) 8%, transparent);
    border-color: var(--signal);
    color: var(--signal);
}

@media (max-width: 576px) {
    .forgot-container .card-body[b-63kalpkzum] {
        padding: 2rem 1.25rem !important;
    }

    .logo-circle[b-63kalpkzum] {
        width: 60px;
        height: 60px;
    }
}
/* /Components/Pages/Login/Signup.razor.rz.scp.css */
/* Scoped styles for Signup page - consistent with Login theme */
.signup-page[b-eiq5ggiwi1] {
    background: linear-gradient(135deg, var(--signal) 0%, var(--signal) 100%);
    padding: 20px;
}

.signup-container[b-eiq5ggiwi1] {
    width: 100%;
    max-width: 520px;
}

    .signup-container .card[b-eiq5ggiwi1] {
        border-radius: 16px;
        backdrop-filter: blur(8px);
    }

.logo-circle[b-eiq5ggiwi1] {
    width: 72px;
    height: 72px;
    background: var(--signal-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-circle i[b-eiq5ggiwi1] {
        color: var(--signal);
    }

/* Provider buttons */
.provider-btn[b-eiq5ggiwi1] {
    padding: 12px 16px;
    font-weight: 500;
    transition: all 0.18s ease;
    border-width: 1.5px;
    border-color: var(--line);
}

    .provider-btn:hover[b-eiq5ggiwi1] {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px color-mix(in srgb, var(--signal) 12%, transparent);
        border-color: var(--signal);
        background-color: color-mix(in srgb, var(--signal) 4%, transparent);
    }

/* Form elements */
.form-control:focus[b-eiq5ggiwi1] {
    border-color: var(--signal);
    box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--signal) 12%, transparent);
}

.form-check-input:checked[b-eiq5ggiwi1] {
    background-color: var(--signal);
    border-color: var(--signal);
}

.btn-primary[b-eiq5ggiwi1] {
    background: linear-gradient(135deg, var(--signal) 0%, var(--signal) 100%);
    border: none;
    font-weight: 600;
}

    .btn-primary:hover[b-eiq5ggiwi1] {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px color-mix(in srgb, var(--signal) 28%, transparent);
    }

/* Small responsive tweaks */
@media (max-width: 576px) {
    .signup-container .card-body[b-eiq5ggiwi1] {
        padding: 2rem 1.25rem !important;
    }

    .logo-circle[b-eiq5ggiwi1] {
        width: 60px;
        height: 60px;
    }
}
/* /Components/Pages/Login/TermsAcceptance.razor.rz.scp.css */
/* What is left of this file after the page moved into AuthScene. The rest of it
   dressed a wrapper that no longer exists: .terms-page's gradient, a
   .logo-circle, .card and .card-body, and overrides for Bootstrap's four .alert
   tones and two .btn variants. The scene draws all of that now.

   These three are the reading box itself, which the scene has no opinion about.
   Values moved off hardcoded hex onto the concept's tokens. */

.terms-content-wrapper[b-j5w69n5fv4] {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 18px;
}

.terms-content[b-j5w69n5fv4] {
    max-height: 42vh;
    overflow-y: auto;
    padding: var(--pad);
    background: var(--surface-sunken);
    scroll-behavior: smooth;
    font-size: 13px;
    line-height: 1.65;
    color: var(--ink);
}

    .terms-content[b-j5w69n5fv4]::-webkit-scrollbar {
        width: 8px;
    }

    .terms-content[b-j5w69n5fv4]::-webkit-scrollbar-track {
        background: transparent;
    }

    .terms-content[b-j5w69n5fv4]::-webkit-scrollbar-thumb {
        background: var(--line);
        border-radius: 99px;
    }

        .terms-content[b-j5w69n5fv4]::-webkit-scrollbar-thumb:hover {
            background: var(--ink-muted);
        }

/* The marker that says the document has ended, which is what enables the
   checkbox. A hairline and the concept's good green, not a dashed 2px rule. */
.end-of-terms[b-j5w69n5fv4] {
    border-top: 1px solid var(--line);
    margin-top: 18px;
    color: var(--good);
}
/* /Components/Pages/Network/NetworkConnection.razor.rz.scp.css */
.conn-filters[b-566ov2udjb] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.conn-field[b-566ov2udjb] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--ink-muted);
}

.conn-heat-wrap[b-566ov2udjb] {
    overflow-x: auto;
}

.conn-heat[b-566ov2udjb] {
    border-collapse: separate;
    border-spacing: 2px;
    font-size: 11px;
    width: 100%;
    min-width: 760px;
}

.conn-heat th[b-566ov2udjb] {
    font-weight: 500;
    color: var(--ink-muted);
    text-align: center;
    padding: 2px 0;
}

.conn-heat tbody th[b-566ov2udjb] {
    text-align: left;
    padding-right: 6px;
    width: 36px;
}

.conn-heat td[b-566ov2udjb] {
    text-align: center;
    height: 26px;
    border-radius: 3px;
    font-variant-numeric: tabular-nums;
}

/* Status cells on the status tints. The portal is light only, so the old
   prefers-color-scheme dark variant (which painted dark cells on a light page) is gone. */
.conn-good[b-566ov2udjb] { background: var(--good-soft); color: var(--good); }
.conn-warn[b-566ov2udjb] { background: var(--warn-soft); color: var(--warn); }
.conn-crit[b-566ov2udjb] { background: var(--crit-soft); color: var(--crit); }
.conn-neutral[b-566ov2udjb] { background: var(--surface-sunken); color: var(--ink); }
.conn-none[b-566ov2udjb] { background: var(--surface); }

.conn-legend[b-566ov2udjb] {
    margin-top: 8px;
    font-size: 12px;
}

@media print {
    .conn-heat td[b-566ov2udjb] { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* /Components/Pages/Operations/AlertDetail.razor.rz.scp.css */
/* When, Who and Me side by side; stacked on a narrow screen. */
.alert-parts[b-i5pbahg7vo] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 24px;
}

.alert-part p[b-i5pbahg7vo] { margin: 0 0 6px; }

.alert-me[b-i5pbahg7vo] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
}

@media (max-width: 900px) {
    .alert-parts[b-i5pbahg7vo] { grid-template-columns: 1fr; }
}
/* /Components/Pages/Operations/AlertRules.razor.rz.scp.css */
/* A list rather than a table, so a narrow screen stacks an alert instead of scrolling sideways. */
.rule-list[b-tbq3eb9uf9] { list-style: none; margin: 0; padding: 0; }

.rule-row[b-tbq3eb9uf9] {
    display: grid;
    grid-template-columns: minmax(170px, 1.7fr) minmax(160px, 1.5fr) minmax(150px, 1.4fr) minmax(90px, 0.8fr) 96px minmax(72px, auto);
    gap: 6px 14px;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid var(--line);
}
.rule-row:first-child[b-tbq3eb9uf9] { border-top: 0; }
.rule-row.is-open[b-tbq3eb9uf9] { background: var(--surface-sunken); }

.rule-head[b-tbq3eb9uf9] {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-muted);
    padding-top: 8px;
    padding-bottom: 8px;
}

.rule-name b[b-tbq3eb9uf9] { display: block; font-size: 13.5px; color: var(--ink); }
.rule-open[b-tbq3eb9uf9] { padding: 0; text-align: left; background: none; border: 0; color: var(--ink); cursor: pointer; }
.rule-open:hover b[b-tbq3eb9uf9] { text-decoration: underline; text-underline-offset: 2px; }
.rule-chips[b-tbq3eb9uf9] { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.rule-desc[b-tbq3eb9uf9] { margin-top: 4px; max-width: 48ch; }
.rule-actions[b-tbq3eb9uf9] { display: flex; justify-content: flex-end; gap: 4px; flex-wrap: wrap; }

/* The column names, written beside each value once the header is hidden. */
.rule-label[b-tbq3eb9uf9] { display: none; color: var(--ink-muted); }

@media (max-width: 1100px) {
    .rule-head[b-tbq3eb9uf9] { display: none; }
    .rule-row[b-tbq3eb9uf9] {
        grid-template-columns: 1fr auto;
        align-items: start;
    }
    .rule-row > .rule-name[b-tbq3eb9uf9] { grid-column: 1 / 2; }
    .rule-row > :nth-child(2)[b-tbq3eb9uf9],
    .rule-row > :nth-child(3)[b-tbq3eb9uf9],
    .rule-row > :nth-child(4)[b-tbq3eb9uf9] { grid-column: 1 / 2; }
    .rule-row > :nth-child(5)[b-tbq3eb9uf9] { grid-column: 2 / 3; grid-row: 1; }
    .rule-row > .rule-actions[b-tbq3eb9uf9] { grid-column: 2 / 3; grid-row: 2; }
    .rule-label[b-tbq3eb9uf9] { display: inline; }
}
/* /Components/Pages/Operations/KpiDefaultTuning.razor.rz.scp.css */
.tune-form[b-uzvfxbkuk7] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0 16px;
    align-items: start;
}
/* /Components/Pages/Operations/KpiRuleEditor.razor.rz.scp.css */
/* Fields side by side where there is room, one under the other where there is not. */
.rule-form[b-hsohxkugrs] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0 16px;
    align-items: start;
}
/* /Components/Pages/Operations/OperationsDashboard.razor.rz.scp.css */
/* Scoped styles for modal/backdrop and responsive layout */

.device-modal-backdrop[b-y0xmjnmwo2] {
    position: fixed;
    inset: 0;
    background-color: color-mix(in srgb, var(--ink) 50%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
}

.device-modal-card[b-y0xmjnmwo2] {
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow: auto;
    border-radius: 0.5rem;
}

/* Ensure small screens look good */
@media (max-width: 576px) {
    .device-modal-card[b-y0xmjnmwo2] {
        max-width: 95%;
    }
}
/* /Components/Pages/Operations/OptimizationLabs.razor.rz.scp.css */
/* Page-local layout for Optimization Labs. Everything else comes from the concept's components. */

/* A select in a page head or toolbar sizes to its content, not to the row. Qualified with .inp so
   it outranks the concept's html[data-ui="next"] .inp { width: 100% }. */
.inp.floor-select[b-5edcoo4n61],
.inp.tour-select[b-5edcoo4n61] {
    width: auto;
}

/* Content inside a flush panel that is not a table or a full-bleed figure. */
.tour-body[b-5edcoo4n61] {
    padding: 12px var(--pad, 12px);
}

.tour-loading .skel-line[b-5edcoo4n61] {
    margin: 8px 0;
}

.tour-loading .long[b-5edcoo4n61] { width: 60%; }
.tour-loading .short[b-5edcoo4n61] { width: 40%; }

/* The service's own rendering of a floor, full bleed inside its panel. */
.figure-img[b-5edcoo4n61] {
    display: block;
    width: 100%;
}

/* What a figure shows, directly under it. */
.figure-caption[b-5edcoo4n61] {
    margin: 8px var(--pad, 12px) 12px;
    font-size: 12.5px;
    color: var(--ink-muted);
}

/* The page's closing notes: parameters the service used, and how to read the figures. */
.page-footnote[b-5edcoo4n61] {
    margin-top: 6px;
    font-size: 12px;
    color: var(--ink-muted);
}
/* /Components/Pages/Support/TabbedSupport.razor.rz.scp.css */
/* Custom styling for support tabs using sidebar light blue */

/* Tab pills styling */
.support-tabs .nav-link[b-qtlj7jkbmq] {
    color: var(--ink-muted);
    background-color: transparent;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.support-tabs .nav-link:hover[b-qtlj7jkbmq] {
    color: var(--signal);
    background-color: color-mix(in srgb, var(--signal) 10%, transparent);
}

.support-tabs .nav-link.active[b-qtlj7jkbmq] {
    color: var(--on-inverse);
    background: linear-gradient(135deg, var(--signal) 0%, var(--signal) 100%);
    border-color: transparent;
}

/* FAQ Accordion styling */
.accordion-button[b-qtlj7jkbmq] {
    font-weight: 500;
}

.accordion-button:not(.collapsed)[b-qtlj7jkbmq] {
    color: var(--signal);
    background-color: color-mix(in srgb, var(--signal) 5%, transparent);
}

.accordion-button:focus[b-qtlj7jkbmq] {
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--signal) 25%, transparent);
}

/* Download card styling */
.card.wv-bg-light[b-qtlj7jkbmq] {
    border-left: 4px solid var(--signal);
}
/* /Components/Whop/Shared/LabSkeleton.razor.rz.scp.css */
.lab-skeleton[b-dmhtlequrr] {
    padding: 12px var(--pad, 12px) 4px;
}

.lab-skeleton .skel-line[b-dmhtlequrr] {
    margin: 8px 0;
}

.lab-skeleton .long[b-dmhtlequrr] { width: 90%; }
.lab-skeleton .mid[b-dmhtlequrr] { width: 70%; }
.lab-skeleton .short[b-dmhtlequrr] { width: 50%; }

.lab-skeleton-note[b-dmhtlequrr] {
    padding: 0 var(--pad, 12px) 12px;
    font-size: 12px;
    color: var(--ink-muted);
}
/* /Components/Whop/Shared/Warehouse3D.razor.rz.scp.css */
/* Why a floor or some overlays could not be drawn, under the chart. */
.scene-note[b-hhwtdwiarq] {
    padding: 6px var(--pad, 12px);
    font-size: 12px;
    color: var(--ink-muted);
}
