@font-face {
    font-family: "Saira Condensed";
    src: url("/assets/fonts/saira-condensed/saira-condensed-v10-latin-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Saira Condensed";
    src: url("/assets/fonts/saira-condensed/saira-condensed-v10-latin-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Saira Condensed";
    src: url("/assets/fonts/saira-condensed/saira-condensed-v10-latin-900.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --bs-font-sans-serif: "Saira Condensed", system-ui, -apple-system, "Segoe UI", sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1.2rem;
    --wm-primary-dark: #000000;
    --wm-primary: #b3db2d;
    --wm-accent-light: #d9eda1;
    --wm-background: #F4F7FA;
    --wm-surface: #FFFFFF;
    --wm-text: #000000;
    --wm-text-muted: #999999;
    --wm-border: #d9eda1;
    --wm-sidebar-width: 15.5rem;
    --wm-sidebar-collapsed-width: 4.75rem;
    --wm-shadow: 0 18px 45px rgba(16, 24, 39, 0.08);
}

* {
    letter-spacing: 0;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--wm-background);
    color: var(--wm-text);
    font-size: 1.2rem;
    font-family: var(--bs-body-font-family);
}

a {
    color: var(--wm-primary);
}

a:hover {
    color: #007E86;
}

.portal-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    width: var(--wm-sidebar-width);
    padding: 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--wm-primary-dark);
    color: var(--wm-surface);
    transition: width 0.22s ease, box-shadow 0.22s ease;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 3rem;
    margin-bottom: 1.25rem;
}

.sidebar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    color: var(--wm-surface);
    text-decoration: none;
}

.sidebar-brand:hover {
    color: var(--wm-surface);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    background: var(--wm-primary);
    color: var(--wm-surface);
    font-weight: 700;
}

.brand-text {
    overflow: hidden;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--wm-surface);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.sidebar-toggle:hover,
.sidebar-toggle:focus {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    color: var(--wm-surface);
}

.sidebar-nav {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 0.35rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    min-height: 2.65rem;
    padding: 0.62rem 0.75rem;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}

.sidebar-link i {
    flex: 0 0 1.35rem;
    font-size: 1.45rem;
    line-height: 1;
    text-align: center;
}

.sidebar-link:hover,
.sidebar-link:focus {
    background: rgba(255, 255, 255, 0.08);
    color: var(--wm-surface);
}

.sidebar-link.active {
    background: var(--wm-accent-light);
    color: var(--wm-primary-dark);
    font-weight: 700;
}

.nav-label {
    overflow: hidden;
    line-height: 1.2;
    white-space: nowrap;
}

.portal-main {
    min-height: calc(100vh - 5.25rem);
    margin-left: var(--wm-sidebar-width);
    transition: margin-left 0.22s ease;
}

.portal-footer {
    margin-left: var(--wm-sidebar-width);
    color: var(--wm-text-muted);
    transition: margin-left 0.22s ease;
}

.page-heading {
    max-width: 58rem;
}

.page-kicker {
    color: var(--wm-primary);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
}

.page-heading h1 {
    margin: 0;
    color: var(--wm-text);
    font-size: 2.35rem;
    font-weight: 750;
}

.portal-card {
    max-width: 58rem;
    border: 1px solid var(--wm-border);
    border-radius: 8px;
    background: var(--wm-surface);
    box-shadow: var(--wm-shadow);
}

.portal-card .card-body {
    padding: 1.5rem;
}

.portal-placeholder {
    color: var(--wm-text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 5.25rem;
    border-top: 1px solid var(--wm-border);
    font-size: 1.05rem;
}

.footer-copy {
    color: var(--wm-text-muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem 1rem;
}

.footer-links a {
    color: var(--wm-text-muted);
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--wm-primary);
}

html.sidebar-state-collapsed .portal-sidebar,
body.sidebar-collapsed .portal-sidebar {
    width: var(--wm-sidebar-collapsed-width);
}

html.sidebar-state-collapsed .portal-main,
html.sidebar-state-collapsed .portal-footer,
body.sidebar-collapsed .portal-main,
body.sidebar-collapsed .portal-footer {
    margin-left: var(--wm-sidebar-collapsed-width);
}

html.sidebar-state-collapsed .brand-text,
html.sidebar-state-collapsed .nav-label,
body.sidebar-collapsed .brand-text,
body.sidebar-collapsed .nav-label {
    width: 0;
    opacity: 0;
}

html.sidebar-state-collapsed .sidebar-header,
body.sidebar-collapsed .sidebar-header {
    justify-content: center;
}

html.sidebar-state-collapsed .sidebar-brand,
body.sidebar-collapsed .sidebar-brand {
    display: none;
}

html.sidebar-state-collapsed .sidebar-link,
body.sidebar-collapsed .sidebar-link {
    justify-content: center;
    width: 3rem;
    min-height: 3rem;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
}

html.sidebar-state-collapsed .sidebar-link i,
body.sidebar-collapsed .sidebar-link i {
    flex-basis: auto;
    width: 1.45rem;
}

@media (max-width: 767.98px) {
    :root {
        --wm-sidebar-width: 16rem;
        --wm-sidebar-collapsed-width: 4.5rem;
    }

    .portal-sidebar {
        width: var(--wm-sidebar-collapsed-width);
        padding: 0.75rem;
    }

    .portal-main,
    .portal-footer {
        margin-left: var(--wm-sidebar-collapsed-width);
    }

    .brand-text,
    .nav-label {
        width: 0;
        opacity: 0;
    }

    .sidebar-brand {
        display: none;
    }

    .sidebar-link {
        justify-content: center;
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    body.sidebar-expanded .portal-sidebar {
        width: min(var(--wm-sidebar-width), calc(100vw - 1rem));
        box-shadow: 0 20px 55px rgba(16, 24, 39, 0.22);
    }

    body.sidebar-expanded .sidebar-brand {
        display: inline-flex;
    }

    body.sidebar-expanded .brand-text,
    body.sidebar-expanded .nav-label {
        width: auto;
        opacity: 1;
    }

    body.sidebar-expanded .sidebar-header {
        justify-content: space-between;
    }

    body.sidebar-expanded .sidebar-link {
        justify-content: flex-start;
        padding-right: 0.85rem;
        padding-left: 0.85rem;
    }

    .page-heading h1 {
        font-size: 1.95rem;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.status-card {
    border: 1px solid var(--wm-border);
    border-radius: 8px;
    background: var(--wm-surface);
    box-shadow: 0 10px 28px rgba(16, 24, 39, 0.06);
}

.status-card .card-body {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
}

.status-label {
    color: var(--wm-text-muted);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-card strong {
    color: var(--wm-text);
    font-size: 1.2rem;
}

.portal-card-wide {
    max-width: none;
}

.portal-tabs .nav-link,
.view-toggle .nav-link {
    color: var(--wm-text-muted);
    font-weight: 700;
}

.portal-tabs .nav-link.active,
.view-toggle .nav-link.active {
    background-color: var(--wm-primary);
    border-color: var(--wm-primary);
    color: var(--wm-surface);
}

.section-title {
    color: var(--wm-text);
    font-size: 1.45rem;
    font-weight: 750;
}

.schedule-group {
    margin-top: 1.5rem;
}

.schedule-group:first-child {
    margin-top: 0;
}

.schedule-group-title {
    margin-bottom: 0.85rem;
    color: var(--wm-primary-dark);
    font-size: 1.2rem;
    font-weight: 750;
}

.schedule-table-wrap {
    border: 1px solid var(--wm-border);
    border-radius: 8px;
}

.schedule-table {
    min-width: 1060px;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.schedule-table thead th {
    background: var(--wm-accent-light);
    color: var(--wm-primary-dark);
    font-size: 0.95rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.schedule-table td,
.schedule-table th {
    padding: 0.85rem;
}

.team-cell {
    min-width: 9rem;
    font-weight: 650;
}

.normal-badge {
    background: #EEF2F7;
    color: var(--wm-text-muted);
}

.swapped-badge {
    background: #FFF3CD;
    color: #7A5A00;
}

@media (max-width: 1199.98px) {
    .status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .status-grid {
        grid-template-columns: 1fr;
    }

    .portal-card .card-body {
        padding: 1rem;
    }
}

.comparison-table {
    min-width: 1420px;
}

.comparison-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.schedule-group-row td {
    background: var(--wm-primary-dark);
    color: var(--wm-surface);
    font-weight: 750;
}

.comparison-warning-row td {
    background: #FFFDF3;
}

.muted-team {
    color: var(--wm-text-muted);
}

.comparison-badges {
    min-width: 12rem;
}

.comparison-badges .badge {
    margin: 0.1rem 0.15rem 0.1rem 0;
}

.ok-badge {
    background: #E8F6EF;
    color: #146C43;
}

.diff-badge {
    background: #FFF3CD;
    color: #7A5A00;
}

.cron-help-title {
    margin-bottom: 0.5rem;
    color: var(--wm-text);
    font-size: 1.2rem;
    font-weight: 750;
}

.command-block {
    display: block;
    overflow-x: auto;
    padding: 0.85rem;
    border: 1px solid var(--wm-border);
    border-radius: 8px;
    background: #F8FAFC;
    color: var(--wm-primary-dark);
    white-space: nowrap;
}

.log-table {
    min-width: 1180px;
}

.small-json {
    display: block;
    max-width: 34rem;
    max-height: 5rem;
    overflow: auto;
    white-space: pre-wrap;
}

.brand-mark-word {
    flex-basis: auto;
    width: auto;
    min-width: 0;
    padding-right: 0.65rem;
    padding-left: 0.65rem;
    font-size: 0.95rem;
    text-transform: lowercase;
}

.brand-separator {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 700;
}

.login-body {
    min-height: 100vh;
    background: radial-gradient(circle at 50% 0%, rgba(179, 219, 45, 0.22), transparent 34%), var(--wm-background);
}

.login-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.login-panel {
    width: min(100%, 27rem);
    padding: 2rem;
    border: 1px solid var(--wm-border);
    border-radius: 8px;
    background: var(--wm-surface);
    box-shadow: var(--wm-shadow);
}

.login-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.login-logo {
    display: block;
    width: 7.5rem;
    max-height: 3rem;
}

.login-logo-divider {
    color: var(--wm-text-muted);
    font-weight: 750;
}

.login-heading {
    margin-bottom: 1.5rem;
    text-align: center;
}

.login-heading h1 {
    margin: 0 0 0.35rem;
    color: var(--wm-text);
    font-size: 1.9rem;
    font-weight: 750;
}

.login-heading p {
    margin: 0;
    color: var(--wm-text-muted);
}

.login-form .btn-primary {
    border-color: var(--wm-primary-dark);
    background: var(--wm-primary-dark);
    color: var(--wm-surface);
}

.login-form .btn-primary:hover,
.login-form .btn-primary:focus {
    border-color: var(--wm-primary);
    background: var(--wm-primary);
    color: var(--wm-primary-dark);
}

.login-panel {
    border-color: #000000;
    background: #000000;
    color: #FFFFFF;
}

.login-heading h1 {
    color: #FFFFFF;
}

.login-heading p,
.login-logo-divider {
    color: rgba(255, 255, 255, 0.68);
}

.login-form .input-group-text {
    border-color: #2A2A2A;
    background: #111111;
    color: var(--wm-primary);
}

.login-form .form-control {
    border-color: #2A2A2A;
    background: #FFFFFF;
    color: #000000;
}

.login-form .form-control::placeholder {
    color: #777777;
}

.login-form .btn-primary {
    border-color: #000000;
    background: var(--wm-primary);
    color: #000000;
    font-weight: 750;
}

.login-form .btn-primary:hover,
.login-form .btn-primary:focus {
    border-color: #000000;
    background: var(--wm-accent-light);
    color: #000000;
}

.login-heading p {
    color: #FFFFFF;
}


.sidebar-footer-nav {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-link-logout {
    min-height: 2.65rem;
    color: rgba(255, 255, 255, 0.56);
    font-size: 1.05rem;
}

.sidebar-link-logout:hover,
.sidebar-link-logout:focus {
    color: var(--wm-surface);
}

.brand-mark-word {
    height: 2.1rem;
    padding-right: 0.55rem;
    padding-left: 0.55rem;
    font-size: 0.9rem;
}

.sidebar-brand {
    gap: 0.45rem;
    flex-wrap: wrap;
}

.sidebar-toggle {
    flex-basis: 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
}

.log-table {
    min-width: 980px;
}

.customer-status-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.customer-card .card-body {
    padding: 1.25rem;
}

.customer-toolbar-sticky {
    padding: 1rem;
    border: 1px solid var(--wm-border);
    border-radius: 8px;
    background: var(--wm-surface);
    box-shadow: 0 10px 28px rgba(16, 24, 39, 0.07);
}

.customer-table-hint {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--wm-text-muted);
    font-weight: 700;
}

.customer-table-wrap {
    border: 1px solid var(--wm-border);
    border-radius: 8px;
    background: var(--wm-surface);
}

.customer-table {
    min-width: 1180px;
    font-size: 1.05rem;
}

.customer-table thead th {
    background: var(--wm-accent-light);
    color: var(--wm-primary-dark);
    font-size: 0.95rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.customer-table th,
.customer-table td {
    padding: 0.85rem;
}

.customer-sort-button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 900;
    text-transform: inherit;
}

.customer-sort-button:hover,
.customer-sort-button:focus {
    color: #000000;
}

.customer-sort-button[data-sort-direction="asc"] .bi::before {
    content: "\F148";
}

.customer-sort-button[data-sort-direction="desc"] .bi::before {
    content: "\F128";
}

.customer-admin-name {
    font-weight: 700;
}

.demo-badge {
    background: #FFF3CD;
    color: #7A5A00;
}

.source-badge {
    background: #EEF2F7;
    color: var(--wm-primary-dark);
}

@media (max-width: 1399.98px) {
    .customer-status-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .customer-status-grid {
        grid-template-columns: 1fr;
    }
}

.customer-player-warning {
    color: #C1121F;
    font-weight: 900;
}

.customer-admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.customer-admin-tab {
    display: inline-flex;
    align-items: center;
    min-height: 2.45rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--wm-border);
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--wm-text-muted);
    font-weight: 800;
}

.customer-admin-tab:hover,
.customer-admin-tab:focus,
.customer-admin-tab.active {
    border-color: var(--wm-primary);
    background: var(--wm-primary);
    color: #000000;
}

.customer-admin-tab.active .source-badge {
    background: #000000;
    color: #FFFFFF;
}

.customer-table tbody tr.customer-demo-row {
    --bs-table-bg: #F1F3F5;
    --bs-table-hover-bg: #E9ECEF;
}

.customer-demo-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.customer-admin-stats-table {
    min-width: 980px;
    font-size: 1.05rem;
}

.customer-admin-stats-table thead th {
    background: var(--wm-accent-light);
    color: var(--wm-primary-dark);
    font-size: 0.95rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.customer-admin-stats-table th,
.customer-admin-stats-table td {
    padding: 0.85rem;
}

.customer-collapse-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.customer-collapse-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 800;
}

.customer-collapse-toggle[aria-expanded="true"] .bi {
    transform: rotate(180deg);
}

.customer-collapse-toggle .bi {
    transition: transform 0.18s ease;
}

.customer-table a {
    color: #000000;
}

.customer-table a:hover,
.customer-table a:focus {
    color: var(--wm-primary);
}

.customer-collapse-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: auto;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--wm-text);
    text-align: left;
}

.customer-collapse-heading:hover,
.customer-collapse-heading:focus {
    color: #000000;
}

.customer-collapse-heading[aria-expanded="true"] .bi {
    transform: rotate(180deg);
}

.customer-collapse-heading .bi {
    color: var(--wm-primary);
    transition: transform 0.18s ease;
}

.customer-language-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.customer-language-badge {
    background: #EEF2F7;
    color: var(--wm-primary-dark);
    font-size: 0.85rem;
    font-weight: 800;
}

.page-heading-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    max-width: none;
}

.page-meta {
    color: var(--wm-text-muted);
    font-size: 1rem;
    font-weight: 700;
}

.customer-reload-button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 800;
}

.admin-source-link {
    text-decoration: none;
}

.admin-source-link:hover,
.admin-source-link:focus {
    background: var(--wm-primary);
    color: #000000 !important;
}

@media (max-width: 767.98px) {
    .page-heading-actions {
        flex-direction: column;
    }
}

.dashboard-status-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-card .card-body {
    padding: 1.25rem;
}

.dashboard-fixture-wrap {
    border: 1px solid var(--wm-border);
    border-radius: 8px;
    background: var(--wm-surface);
}

.dashboard-fixture-table {
    min-width: 920px;
    font-size: 1.05rem;
}

.dashboard-fixture-table thead th {
    background: var(--wm-accent-light);
    color: var(--wm-primary-dark);
    font-size: 0.95rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.dashboard-fixture-table th,
.dashboard-fixture-table td {
    padding: 0.85rem;
}

@media (max-width: 991.98px) {
    .dashboard-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .dashboard-status-grid {
        grid-template-columns: 1fr;
    }
}

/* Collapsed sidebar alignment override: keep icon-only items truly centered. */
html.sidebar-state-collapsed .sidebar-nav,
html.sidebar-state-collapsed .sidebar-footer-nav,
body.sidebar-collapsed .sidebar-nav,
body.sidebar-collapsed .sidebar-footer-nav {
    align-items: center;
}

html.sidebar-state-collapsed .sidebar-link,
body.sidebar-collapsed .sidebar-link {
    justify-content: center;
    gap: 0;
    width: 3rem;
    height: 3rem;
    min-height: 3rem;
    margin-right: auto;
    margin-left: auto;
    padding: 0;
}

html.sidebar-state-collapsed .sidebar-link i,
body.sidebar-collapsed .sidebar-link i {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
}

.log-response-row td {
    border-top: 0;
    background: #f8fafc;
}

.log-response-panel {
    padding: 1rem;
    border-top: 1px solid var(--wm-border);
    background: #f8fafc;
}

.log-json-pre {
    max-height: 28rem;
    margin: 0.35rem 0 0;
    padding: 1rem;
    overflow: auto;
    border: 1px solid var(--wm-border);
    border-radius: 8px;
    background: #111827;
    color: #f8fafc;
    font-size: 0.95rem;
    line-height: 1.45;
    white-space: pre-wrap;
}

.log-json-pre code {
    color: inherit;
}

.service-response-table th,
.service-response-table td {
    vertical-align: top;
}

.service-response-error-row > td {
    background: #fff5f5;
}

.service-response-panel {
    border-left: 4px solid var(--wm-primary);
}

.service-response-json-details summary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.25rem;
    color: var(--wm-text);
    cursor: pointer;
    font-weight: 800;
}

.service-response-json-details summary:hover,
.service-response-json-details summary:focus {
    color: var(--wm-primary);
}

.clickable-detail-row {
    cursor: pointer;
}

.clickable-detail-row:focus {
    outline: 2px solid var(--wm-primary);
    outline-offset: -2px;
}

.row-detail-button {
    pointer-events: auto;
}

.service-event-block + .service-event-block {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--wm-border);
}

.endpoint-response-card {
    height: 100%;
    padding: 1rem;
    border: 1px solid var(--wm-border);
    border-radius: 8px;
    background: var(--wm-surface);
}

.endpoint-response-card-error {
    border-color: #f3b4b4;
    background: #fff7f7;
}

.service-event-test-fallback {
    border-left-color: #f0ad4e;
}

.endpoint-response-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.9rem;
}

.endpoint-response-metric {
    min-width: 0;
}

.endpoint-response-metric span {
    display: block;
    margin-bottom: 0.12rem;
    color: var(--wm-text-muted);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.endpoint-response-metric strong {
    display: block;
    font-size: 1.18rem;
    line-height: 1.2;
    word-break: break-word;
}

@media (min-width: 1200px) {
    .endpoint-response-metrics {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.manual-list {
    padding-left: 1.35rem;
}

.manual-list li + li {
    margin-top: 0.45rem;
}
