.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

code {
    color: #c02d76;
}

html,
body,
#app {
    min-height: 100%;
    background: #dfe2e3;
}

:root {
    --ts-ink: #172126;
    --ts-rail: #1f292d;
    --ts-rail-deep: #151d20;
    --ts-panel: #f4f6f5;
    --ts-line: rgba(18, 28, 34, 0.14);
    --ts-accent: #43c7b5;
    --ts-accent-strong: #24a893;
    --ts-warning: #d8a23a;
}

.ts-topbar.mud-appbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(90deg, #18252a 0%, #253136 54%, #1b2529 100%);
    color: #f4f7f5;
    box-shadow: 0 8px 24px rgba(14, 21, 24, 0.18);
}

.ts-brand {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    margin-left: 0.75rem;
    min-width: 0;
}

.ts-brand__mark {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.03em;
}

.ts-brand__label {
    color: rgba(236, 244, 242, 0.68);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ts-appbar__right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ts-appbar__version-chip {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.ts-appbar__version-chip--local {
    border-color: rgba(190, 206, 218, 0.58) !important;
    color: #d4e0ea !important;
}

.ts-appbar__version-chip--development {
    border-color: rgba(214, 168, 96, 0.64) !important;
    color: #efcf9d !important;
}

.ts-appbar__version-chip--staging {
    border-color: rgba(110, 177, 177, 0.64) !important;
    color: #b1dedb !important;
}

.ts-appbar__version-chip--production {
    border-color: rgba(122, 184, 142, 0.64) !important;
    color: #c3e2cb !important;
}

.ts-appbar__user {
    margin-right: 0.25rem;
    max-width: 340px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
}

.ts-rail-drawer.mud-drawer {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 26%),
        var(--ts-rail);
    color: #dfe9e6;
}

.ts-rail-drawer .mud-drawer-content {
    display: flex;
    min-height: 100%;
}

.ts-nav-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: calc(100vh - 64px);
    padding: 0.85rem 0.65rem;
}

.ts-nav-console {
    margin: 0.15rem 0.15rem 1rem;
    padding: 0.85rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ts-nav-console__label {
    color: rgba(226, 237, 233, 0.52);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ts-nav-console__title {
    margin-top: 0.28rem;
    color: #f9fbfa;
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: 0.01em;
}

.ts-nav-console__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.45rem;
}

.ts-nav-console__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(223, 237, 233, 0.74);
    font-size: 0.72rem;
    font-weight: 700;
}

.ts-nav-console__action.mud-icon-button {
    color: rgba(223, 237, 233, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
}

.ts-nav-console__action.mud-icon-button:hover {
    color: #f9fbfa;
    background: rgba(255, 255, 255, 0.08);
}

.ts-nav-console__dot {
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 999px;
    background: #65d68f;
    box-shadow: 0 0 0 4px rgba(101, 214, 143, 0.12);
}

.ts-nav-section {
    display: flex;
    align-items: center;
    min-height: 1.65rem;
    margin: 0.65rem 0.35rem 0.25rem;
    padding: 0 0.45rem;
    color: rgba(225, 237, 233, 0.48);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
}

.ts-nav-section:first-child {
    margin-top: 0.3rem;
}

.ts-nav-link.mud-nav-link {
    min-height: 3.35rem;
    margin: 0.12rem 0;
    padding: 0.52rem 0.65rem !important;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(237, 245, 243, 0.8);
    transition: background 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.ts-nav-link.mud-nav-link:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.055);
    color: #ffffff;
}

.ts-nav-link.mud-nav-link.active {
    border-color: rgba(67, 199, 181, 0.34);
    background:
        linear-gradient(90deg, rgba(67, 199, 181, 0.28), rgba(67, 199, 181, 0.08) 52%, rgba(67, 199, 181, 0.02)),
        rgba(255, 255, 255, 0.045);
    color: #ffffff;
    box-shadow: inset 3px 0 0 var(--ts-accent);
}

.ts-nav-link .mud-nav-link-icon {
    min-width: 2.05rem;
    color: rgba(223, 235, 231, 0.62) !important;
}

.ts-nav-link.mud-nav-link.active .mud-nav-link-icon {
    color: var(--ts-accent) !important;
}

.ts-nav-link__body {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.ts-nav-link__title {
    font-size: 0.9rem;
    font-weight: 820;
    line-height: 1.05;
    letter-spacing: 0;
}

.ts-nav-link__hint {
    overflow: hidden;
    color: rgba(225, 237, 233, 0.5);
    font-size: 0.68rem;
    font-weight: 650;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ts-nav-link.mud-nav-link.active .ts-nav-link__hint {
    color: rgba(232, 249, 245, 0.72);
}

.ts-nav-spacer {
    flex: 1 1 auto;
    min-height: 1.25rem;
}

.ts-nav-link--account.mud-nav-link {
    color: rgba(237, 245, 243, 0.66);
}

.mud-main-content {
    min-height: calc(100vh - 64px);
    background: #dfe2e3;
}

.mud-layout {
    min-height: 100vh;
    background: #dfe2e3;
}

@media (max-width: 960px) {
    .ts-appbar__user {
        display: none;
    }

    .ts-brand__label {
        display: none;
    }

    .ts-nav-link__hint,
    .ts-nav-console {
        display: none;
    }

    .ts-nav-menu {
        padding-top: 0.45rem;
    }
}

.train-list-train-cell {
    min-width: 0;
}

.train-list-train-primary {
    min-width: 0;
    white-space: nowrap;
    line-height: 1;
}

.train-list-train-primary .mud-typography {
    line-height: 1;
}

.train-list-train-commercial {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.train-list-train-secondary {
    display: inline;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(0, 0, 0, 0.72);
    font-size: 0.58rem;
    font-weight: 400;
    line-height: 1;
    text-transform: none !important;
}

.train-list-train-alt-number {
    color: var(--mud-palette-info);
    font-weight: 400;
    text-transform: none !important;
}

.closure-status-line {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    max-width: 100%;
    min-width: 0;
    white-space: nowrap;
}

.trip-state {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    max-width: 100%;
    min-width: 0;
    white-space: nowrap;
    font-size: 0.76rem;
    line-height: 1;
    letter-spacing: 0.005em;
}

.trip-state__dot {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    flex: 0 0 auto;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.04);
}

.trip-state__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trip-state--arrived {
    color: var(--mud-palette-success-darken);
}

.trip-state--arrived .trip-state__dot {
    background: var(--mud-palette-success);
}

.trip-state--moving {
    color: var(--mud-palette-info-darken);
}

.trip-state--moving .trip-state__dot {
    background: var(--mud-palette-info);
}

.trip-state--warning {
    color: var(--mud-palette-warning-darken);
}

.trip-state--warning .trip-state__dot {
    background: var(--mud-palette-warning);
}

.closure-reason-token {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    min-width: 0;
    max-width: 180px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.68rem;
    line-height: 1;
    letter-spacing: 0.01em;
    opacity: 0.86;
    vertical-align: middle;
}

.closure-reason-token__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.closure-reason-token .mud-icon-root {
    font-size: 0.82rem;
    opacity: 0.72;
    flex: 0 0 auto;
}

.closure-reason-token--wide {
    max-width: 280px;
}

.closure-reason-token--icon {
    gap: 0;
    max-width: 0.9rem;
    opacity: 0.58;
}

.closure-reason-token--icon .closure-reason-token__text {
    display: none;
}

.closure-reason-token--code {
    max-width: none;
    padding: 0.12rem 0.32rem;
    border: 1px solid rgba(84, 96, 110, 0.22);
    border-radius: 999px;
    background: rgba(84, 96, 110, 0.055);
    color: rgba(42, 52, 63, 0.74);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.closure-reason-token--code .closure-reason-token__text {
    overflow: visible;
}

/*JSON viewer Diff section - START*/
.diff-old-value {
    /* Style for old values (e.g., red color) - already handled by MudBlazor Color="Error" */
}

.diff-new-value {
    /* Style for new values (e.g., green color) - already handled by MudBlazor Color="Success" */
}

.diff-added {
    color: green;
    /* Or use MudBlazor colors */
    font-weight: bold;
}

.diff-removed {
    color: red;
    /* Or use MudBlazor colors */
    font-weight: bold;
}

del {
    /* Default strikethrough style for <del> tag */
    text-decoration: line-through;
}

/*JSON viewer Diff section - END*/

.operations-shell {
    padding: 1rem;
    background: #eef1f3;
    min-height: calc(100vh - 64px);
}

.operations-command,
.operations-filterbar,
.operations-metric {
    border: 1px solid rgba(38, 48, 58, 0.12);
    border-radius: 6px;
    background: #f8fafb;
}

.operations-command {
    position: relative;
    padding: 1rem;
    overflow: visible;
}

.operations-kicker {
    color: #60717d;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.operations-title {
    color: #1c2730;
    font-weight: 800;
    line-height: 1.08;
}

.operations-search-results {
    position: absolute;
    right: 1rem;
    z-index: 12;
    width: min(720px, calc(100vw - 2rem));
    margin-top: 0.25rem;
    border: 1px solid rgba(31, 43, 52, 0.16);
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(21, 30, 38, 0.18);
    overflow: hidden;
}

.operations-search-result {
    display: grid;
    grid-template-columns: 88px minmax(120px, 180px) 1fr;
    width: 100%;
    padding: 0.62rem 0.75rem;
    border: 0;
    border-bottom: 1px solid rgba(38, 48, 58, 0.08);
    background: transparent;
    color: #24313b;
    text-align: left;
    cursor: pointer;
}

.operations-search-result:hover {
    background: #edf4f7;
}

.operations-search-result__type {
    color: #60717d;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.operations-search-result__main {
    font-weight: 800;
}

.operations-search-result__meta {
    overflow: hidden;
    color: #5a6973;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.operations-metric {
    padding: 0.75rem 0.85rem;
    border-left: 4px solid #536473;
}

.operations-metric .mud-typography-caption {
    color: #60717d;
    font-weight: 700;
    text-transform: uppercase;
}

.operations-metric .mud-typography-h5 {
    color: #1d2932;
    font-weight: 900;
}

.operations-metric--warning {
    border-left-color: #b7791f;
}

.operations-metric--critical {
    border-left-color: #b33a3a;
}

.operations-metric--info {
    border-left-color: #28758d;
}

.operations-filterbar {
    padding: 0.85rem;
}

.operations-switches {
    flex-wrap: wrap;
    min-height: 40px;
}

.operations-table {
    border: 1px solid rgba(38, 48, 58, 0.13);
    border-radius: 6px;
    background: #ffffff;
}

.operations-table .mud-table-head {
    background: #27323a;
}

.operations-table .mud-table-head .mud-table-cell,
.operations-table .mud-table-head .mud-table-sort-label {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.operations-table .mud-table-row {
    border-bottom: 1px solid rgba(38, 48, 58, 0.08);
}

.operations-table .mud-table-row:hover {
    background: #f0f6f8;
}

.operations-strong {
    color: #16212a;
    font-weight: 850;
}

.operations-line,
.operations-location {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 960px) {
    .operations-shell {
        padding: 0.6rem;
    }

    .operations-search-results {
        left: 0.6rem;
        right: 0.6rem;
        width: auto;
    }

    .operations-search-result {
        grid-template-columns: 72px 1fr;
    }

    .operations-search-result__meta {
        grid-column: 2;
    }
}

.ops2-shell {
    min-height: calc(100vh - 64px);
    padding: 0.75rem;
    background: #dfe2e3;
    color: #20282d;
}

.ops2-command {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.2fr);
    gap: 1rem;
    align-items: center;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(32, 40, 45, 0.14);
    border-radius: 6px;
    background: #f7f8f8;
}

.ops2-command--desk {
    grid-template-columns: minmax(230px, 0.7fr) minmax(360px, 1fr) auto;
}

.ops2-kicker {
    color: #60717b;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ops2-command h1 {
    margin: 0.12rem 0 0;
    color: #1c252b;
    font-size: 1.75rem;
    font-weight: 850;
    letter-spacing: 0;
}

.ops2-subtitle {
    color: #5d6c74;
    font-size: 0.84rem;
}

.ops2-search {
    position: relative;
}

.ops2-search-results {
    position: absolute;
    right: 0;
    z-index: 20;
    width: min(720px, 100%);
    margin-top: 0.25rem;
    border: 1px solid rgba(31, 43, 52, 0.16);
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(21, 30, 38, 0.2);
    overflow: hidden;
}

.ops2-search-result {
    display: grid;
    grid-template-columns: 90px 170px 1fr;
    width: 100%;
    padding: 0.62rem 0.75rem;
    border: 0;
    border-bottom: 1px solid rgba(38, 48, 58, 0.08);
    background: transparent;
    color: #24313b;
    text-align: left;
    cursor: pointer;
}

.ops2-search-result:hover {
    background: #edf4f7;
}

.ops2-search-result__type {
    color: #60717d;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ops2-search-result__main {
    font-weight: 850;
}

.ops2-search-result__meta {
    overflow: hidden;
    color: #5a6973;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ops2-board {
    display: grid;
    grid-template-columns: 190px minmax(640px, 1fr) 340px;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.ops2-queues,
.ops2-inspector,
.ops2-main {
    min-width: 0;
}

.ops2-queues {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}

.ops2-queue {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    align-content: start;
    justify-content: stretch;
    justify-items: stretch;
    gap: 0.08rem;
    box-sizing: border-box;
    width: 100%;
    min-height: 78px;
    padding: 0.72rem 0.78rem;
    border: 1px solid rgba(32, 40, 45, 0.12);
    border-left: 4px solid #6a7881;
    border-radius: 6px;
    background: #f7f8f8;
    color: #253038;
    text-align: left;
    cursor: pointer;
}

.ops2-queue:hover {
    background: #ffffff;
}

.ops2-queue--active {
    border-left-color: #275f73;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(39, 95, 115, 0.18);
}

.ops2-queue span {
    display: block;
    justify-self: stretch;
    min-width: 0;
    overflow: hidden;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.05;
    text-overflow: ellipsis;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.ops2-queue strong {
    display: block;
    justify-self: stretch;
    min-width: 0;
    overflow: hidden;
    color: #172127;
    font-size: 1.45rem;
    font-weight: 950;
    line-height: 1;
    text-overflow: ellipsis;
    text-align: left;
    white-space: nowrap;
}

.ops2-queue small {
    display: block;
    justify-self: stretch;
    min-width: 0;
    color: #687780;
    font-size: 0.68rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
    text-align: left;
}

.ops2-main {
    border: 1px solid rgba(32, 40, 45, 0.13);
    border-radius: 6px;
    background: #f7f8f8;
    overflow: hidden;
}

.ops2-filterline {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr 170px;
    gap: 0.45rem;
    padding: 0.55rem;
    border-bottom: 1px solid rgba(32, 40, 45, 0.1);
    background: #ecefef;
}

.ops2-maintenance {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.55rem;
    align-items: center;
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid rgba(133, 88, 13, 0.18);
    background: #f4e8d4;
    color: #46361f;
}

.ops2-maintenance strong {
    display: block;
    font-size: 0.84rem;
    font-weight: 900;
}

.ops2-maintenance span {
    display: block;
    color: #6f5c3b;
    font-size: 0.74rem;
}

.ops2-empty-state {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.45rem;
    min-height: calc(100vh - 286px);
    padding: 2rem;
    color: #63727a;
    text-align: center;
}

.ops2-empty-state strong {
    color: #253038;
    font-size: 1.05rem;
}

.ops2-table .mud-table-head {
    background: #27323a;
}

.ops2-table .mud-table-head .mud-table-cell,
.ops2-table .mud-table-head .mud-table-sort-label {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ops2-table .mud-table-row {
    border-bottom: 1px solid rgba(38, 48, 58, 0.08);
}

.ops2-table .mud-table-row:hover {
    background: #eef5f6;
}

.ops2-rowbutton {
    display: grid;
    gap: 0.18rem;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.ops2-rowbutton a {
    width: fit-content;
}

.ops2-rowbutton--selected .ops2-wagon-number {
    color: #12536a;
}

.ops2-wagon-number {
    color: #182229;
    font-weight: 900;
}

.ops2-train-cell {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    min-width: 0;
}

.ops2-train-commercial {
    color: #52616d;
    font-size: 0.76rem;
    font-weight: 650;
    white-space: nowrap;
}

.ops2-state {
    display: inline-flex;
    width: fit-content;
    padding: 0.08rem 0.36rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 850;
    line-height: 1.3;
}

.ops2-state--live {
    background: #dbeee3;
    color: #1e6c3f;
}

.ops2-state--warning {
    background: #f4e4c9;
    color: #87580d;
}

.ops2-state--critical {
    background: #f1d7d5;
    color: #9b2f2b;
}

.ops2-state--arrived {
    background: #dfe6eb;
    color: #43525b;
}

.ops2-line,
.ops2-location {
    overflow: hidden;
    color: #243039;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ops2-muted {
    overflow: hidden;
    color: #69777f;
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ops2-source,
.ops2-load {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #46545c;
    font-size: 0.78rem;
}

.ops2-load {
    min-width: 2.1rem;
    justify-content: center;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    background: #e9eeee;
}

.ops2-inspector {
    position: sticky;
    top: 72px;
    align-self: start;
    max-height: calc(100vh - 92px);
    overflow: auto;
    padding: 0.85rem;
    border: 1px solid rgba(32, 40, 45, 0.14);
    border-radius: 6px;
    background: #f7f8f8;
}

.ops2-inspector__content {
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
}

.ops2-inspector__empty {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.45rem;
    height: 100%;
    color: #6a7881;
    text-align: center;
}

.ops2-inspector__empty strong {
    color: #253038;
}

.ops2-inspector__head {
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(32, 40, 45, 0.12);
}

.ops2-inspector__head h2 {
    margin: 0.45rem 0 0.15rem;
    color: #172127;
    font-size: 1.65rem;
    font-weight: 950;
    letter-spacing: 0;
}

.ops2-inspector__head div,
.ops2-inspector__section span {
    color: #687780;
    font-size: 0.78rem;
}

.ops2-inspector__section,
.ops2-inspector__grid > div {
    display: grid;
    gap: 0.18rem;
    padding: 0.65rem;
    border: 1px solid rgba(32, 40, 45, 0.1);
    border-radius: 6px;
    background: #ffffff;
}

.ops2-inspector label {
    color: #687780;
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ops2-inspector strong {
    min-width: 0;
    overflow: hidden;
    color: #213039;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ops2-inspector__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
}

.ops2-inspector__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.7rem;
}

.ops2-inspector__actions .mud-button-root {
    flex: 1 1 120px;
}

.ops2-closure-review {
    display: grid;
    gap: 0.55rem;
    padding: 0.65rem;
    border: 1px solid rgba(39, 95, 115, 0.2);
    border-radius: 6px;
    background: #eef5f6;
}

.ops2-closure-review__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.ops2-closure-review__facts {
    display: grid;
    gap: 0.45rem;
}

.ops2-closure-review__facts > div {
    display: grid;
    gap: 0.12rem;
    padding: 0.48rem;
    border: 1px solid rgba(32, 40, 45, 0.1);
    border-radius: 6px;
    background: #ffffff;
}

.ops2-closure-review__facts span,
.ops2-closure-review__facts small {
    color: #687780;
    font-size: 0.68rem;
}

.ops2-closure-review__blockers {
    display: grid;
    gap: 0.25rem;
}

.ops2-closure-review__blockers span {
    padding: 0.35rem 0.45rem;
    border-radius: 6px;
    background: #f4e4c9;
    color: #87580d;
    font-size: 0.72rem;
    font-weight: 800;
}

.ops2-closure-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.1rem 0.35rem;
    align-items: center;
    padding: 0.5rem;
    border: 1px solid rgba(32, 40, 45, 0.1);
    border-radius: 6px;
    background: #ffffff;
}

.ops2-closure-container strong,
.ops2-closure-container span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ops2-closure-container span {
    grid-column: 1 / 2;
    color: #687780;
    font-size: 0.72rem;
}

.ops-desk-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.ops-load-filterline {
    grid-template-columns: minmax(150px, 1.25fr) minmax(140px, 1fr) minmax(110px, 0.8fr) minmax(110px, 0.8fr) minmax(130px, 1fr) 170px;
}

.ops-load-table .mud-table-cell {
    vertical-align: top;
}

.ops-load-metric {
    color: #223039;
    font-size: 0.82rem;
    font-weight: 900;
}

.ops-load-cargo-cell {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.25rem;
}

.ops-load-manifest {
    display: grid;
    gap: 0.42rem;
    padding: 0.65rem;
    border: 1px solid rgba(39, 95, 115, 0.2);
    border-radius: 6px;
    background: #eef5f6;
}

.ops-load-manifest__line {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 0.5rem;
    align-items: baseline;
    padding: 0.42rem 0.5rem;
    border: 1px solid rgba(32, 40, 45, 0.1);
    border-radius: 6px;
    background: #ffffff;
}

.ops-load-manifest__line span {
    color: #687780;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ops-load-manifest__line strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ops-load-manifest__note {
    padding: 0.5rem;
    border-left: 3px solid #87580d;
    border-radius: 4px;
    background: #f4e4c9;
    color: #5d4318;
    font-size: 0.76rem;
    font-weight: 700;
}

@media (max-width: 1280px) {
    .ops2-board {
        grid-template-columns: 170px minmax(560px, 1fr);
    }

    .ops2-inspector {
        grid-column: 1 / -1;
        position: static;
        max-height: none;
    }
}

@media (max-width: 900px) {
    .ops2-command,
    .ops2-board,
    .ops2-filterline,
    .ops-load-filterline,
    .ops2-maintenance {
        grid-template-columns: 1fr;
    }

    .ops-desk-switch {
        justify-content: flex-start;
    }

    .ops2-queues {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
