.system-page .tab-panel {
    margin-top: 22px;
    margin-bottom: 22px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.system-page .controls {
    margin-top: 16px;
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.system-page .controls button.secondary {
    margin: 0;
    width: auto;
}

.system-page .system-search {
    margin-top: 12px;
    display: grid;
    gap: 6px;
    max-width: 420px;
}

.system-page .system-search input {
    width: 100%;
}

.system-page .system-filter-grid {
    grid-template-columns: minmax(200px, 240px) auto;
    align-items: end;
}

.system-page .tab-content {
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.system-page .site-section {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.system-page .site-title {
    font-size: 14px;
    font-weight: 700;
    padding: 6px 0;
}

.system-page .table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.system-page .table-note {
    margin: 6px 0 10px;
}

.system-page .calls-pager {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--liquid-glass-radius-md);
    border: 1px solid var(--liquid-glass-edge);
    background: var(--liquid-glass-surface-soft);
    box-shadow: var(--liquid-glass-shadow);
    -webkit-backdrop-filter: blur(calc(var(--liquid-glass-blur) * 0.5)) saturate(var(--liquid-glass-saturation));
    backdrop-filter: blur(calc(var(--liquid-glass-blur) * 0.5)) saturate(var(--liquid-glass-saturation));
}

.system-page .calls-pager.calls-pager--top {
    margin-bottom: 10px;
}

.system-page .calls-pager.calls-pager--bottom {
    margin-top: 10px;
}

.system-page .calls-pager .scaneyes-pager__loading .spinner {
    width: 12px;
    height: 12px;
}

.system-page .hover-actions {
    display: none;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 4px;
    align-self: flex-start;
}

.system-page .hover-actions.is-open {
    display: inline-flex;
}

.system-page tr:hover .hover-actions,
.system-page tr:focus-within .hover-actions {
    display: inline-flex;
}

.system-page .label-stack {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.system-page .label-stack .label-truncate {
    display: block;
    min-width: 0;
    max-width: min(42vw, 440px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.system-page .label-stack .hover-actions {
    margin-top: 0;
}

.system-page .card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.system-page .data-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    background: var(--panel-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
}

.system-page .data-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.system-page .data-card-title {
    font-weight: 600;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.system-page .data-card-sub {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.system-page .card-sub-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.system-page .card-sub-row > * {
    min-width: 0;
}

.system-page .data-card-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    margin-top: 8px;
}

.system-page .card-label {
    color: var(--muted);
}

.system-page .card-value {
    color: var(--text);
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.system-page .card-table-wrap {
    margin-top: 12px;
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.system-page .card-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    table-layout: fixed;
}

.system-page .card-table th,
.system-page .card-table td {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.system-page .card-table .mobile-hide {
    display: table-cell;
}

.system-page .clickable-row {
    cursor: pointer;
}

.system-page .color-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 4px;
    margin-right: 6px;
    margin-bottom: 1px;
    vertical-align: baseline;
    box-shadow: 0 0 0 1px var(--liquid-glass-edge);
}

.system-page .color-swatch.empty {
    display: none;
}

.system-page .color-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid var(--liquid-glass-edge);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    background: var(--panel-alt);
    color: var(--text);
}

.system-page .color-pill.empty {
    color: var(--muted);
}

.system-page .mobile-brief {
    display: none;
}

.system-page .check-icon {
    display: inline-block;
    width: 16px;
    text-align: center;
    color: var(--success);
    font-weight: 700;
}

.system-page .check-icon.off {
    color: var(--muted);
}

.system-page .system-status {
    font-size: 20px;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .system-page .tab-panel th,
    .system-page .tab-panel td {
        white-space: normal;
    }

    .system-page .mobile-brief {
        display: block;
        font-size: 11px;
        color: var(--muted);
        margin-top: 2px;
    }

    .system-page .card-table .mobile-hide {
        display: none;
    }

    .system-page .data-card {
        padding: 12px;
    }

    .system-page .data-card-header > div,
    .system-page .data-card-sub,
    .system-page .card-sub-row {
        width: 100%;
    }
}
