* {
    box-sizing: border-box;
}

:root {
    color-scheme: dark;
    --bg: #07101d;
    --panel: rgba(14, 27, 45, .92);
    --panel-2: rgba(18, 35, 57, .92);
    --line: rgba(148, 178, 210, .16);
    --text: #f4f8fc;
    --muted: #8fa4b9;
    --primary: #20c5ff;
    --primary-2: #4f7cff;
    --success: #32d583;
    --danger: #ff5f70;
    --warning: #fdb022;
    --shadow: 0 24px 60px rgba(0, 0, 0, .34);
}

html {
    min-height: 100%;
    background: var(--bg);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 10% 0%, rgba(32, 197, 255, .13), transparent 30%),
        radial-gradient(circle at 100% 10%, rgba(79, 124, 255, .12), transparent 32%),
        linear-gradient(180deg, #07101d 0%, #091523 100%);
}

button, input, select {
    font: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    position: sticky;
    z-index: 20;
    top: 0;
    min-height: 74px;
    padding: 13px max(18px, calc((100vw - 1280px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 16, 29, .82);
    backdrop-filter: blur(18px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand strong {
    display: block;
    font-size: 15px;
}

.brand span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.brand-mark {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    color: #04101c;
    font-weight: 900;
    letter-spacing: -.04em;
    background: linear-gradient(135deg, #65e2ff, #3f80ff);
    box-shadow: 0 15px 35px rgba(32, 197, 255, .24);
}

.brand-mark.small {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 13px;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.page-shell {
    width: min(1280px, calc(100% - 36px));
    margin: 0 auto;
    padding: 28px 0 60px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.summary-card {
    min-height: 110px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(17, 34, 55, .92), rgba(10, 22, 38, .92));
    box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.summary-card span {
    color: var(--muted);
    font-size: 13px;
}

.summary-card strong {
    font-size: clamp(26px, 4vw, 38px);
}

.summary-card.success strong {
    color: var(--success);
}

.summary-card.danger strong {
    color: var(--danger);
}

.section-heading {
    margin: 34px 0 18px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading h1 {
    margin: 0;
    font-size: 24px;
}

.section-heading p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.live-pill {
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(50, 213, 131, .24);
    border-radius: 999px;
    color: #9cf0c4;
    background: rgba(50, 213, 131, .08);
    font-size: 12px;
}

.live-pill i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(50, 213, 131, .1);
}

.monitor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.monitor-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(17, 34, 55, .96), rgba(10, 22, 38, .96));
    box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
}

.monitor-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: #60758b;
}

.monitor-card.up::before {
    background: var(--success);
}

.monitor-card.down::before {
    background: var(--danger);
}

.monitor-card-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 13px;
}

.service-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #b9c9d9;
    background: rgba(143, 164, 185, .12);
    font-weight: 900;
}

.service-icon.up {
    color: #9cf0c4;
    background: rgba(50, 213, 131, .12);
}

.service-icon.down {
    color: #ffb2bb;
    background: rgba(255, 95, 112, .12);
}

.service-title {
    min-width: 0;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.service-title h2 {
    overflow: hidden;
    margin: 0;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-title > span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.status-badge {
    flex: none;
    padding: 5px 8px;
    border-radius: 999px;
    color: #c3d0dc;
    background: rgba(143, 164, 185, .12);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.status-badge.up {
    color: #9cf0c4;
    background: rgba(50, 213, 131, .1);
}

.status-badge.down {
    color: #ffb2bb;
    background: rgba(255, 95, 112, .1);
}

.url-box {
    overflow: hidden;
    margin: 18px 0;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #a9bdd0;
    background: rgba(4, 13, 24, .38);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.metrics-grid > div {
    min-width: 0;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, .018);
}

.metrics-grid span {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.metrics-grid strong {
    display: block;
    overflow: hidden;
    margin-top: 6px;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-detail {
    margin: 14px 0 0;
    padding: 11px 13px;
    border-radius: 12px;
    color: #c4d2df;
    background: rgba(143, 164, 185, .07);
    font-size: 12px;
}

.service-detail.up {
    color: #a6e9c7;
    background: rgba(50, 213, 131, .07);
}

.service-detail.down {
    color: #ffc1c8;
    background: rgba(255, 95, 112, .07);
}

.status-banner {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-left: 3px solid #60758b;
    border-radius: 12px;
    color: #cdd8e3;
    background: rgba(143, 164, 185, .08);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.status-banner.up {
    border-left-color: var(--success);
    color: #a4edc8;
    background: rgba(50, 213, 131, .08);
}

.status-banner.down {
    border-left-color: var(--danger);
    color: #ffc1c8;
    background: rgba(255, 95, 112, .08);
}

.section-block {
    margin-top: 14px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .02);
}

.section-block-title {
    margin-bottom: 10px;
    color: #dce8f3;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.session-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.session-grid > div {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .018);
}

.session-grid span {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.session-grid strong {
    display: block;
    overflow: hidden;
    margin-top: 6px;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.monitor-footer {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 11px;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.button, .icon-button, .text-button {
    border: 0;
    cursor: pointer;
}

.button {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    color: #d9e6f2;
    background: rgba(143, 164, 185, .12);
    font-weight: 750;
}

.button.primary {
    color: #03111e;
    background: linear-gradient(135deg, #60dfff, #4b7dff);
    box-shadow: 0 10px 24px rgba(32, 197, 255, .18);
}

.button.ghost {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
}

.button.compact {
    min-height: 34px;
    padding: 0 12px;
    font-size: 11px;
}

.button.full {
    width: 100%;
}

.button:disabled {
    opacity: .55;
    cursor: wait;
}

.icon-button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #c3d3e1;
    background: rgba(255, 255, 255, .03);
    font-size: 20px;
}

.text-button {
    padding: 8px;
    color: #8fdfff;
    background: transparent;
    font-size: 11px;
}

.modal-backdrop {
    position: fixed;
    z-index: 100;
    inset: 0;
    padding: 20px;
    display: grid;
    place-items: center;
    background: rgba(2, 8, 16, .75);
    backdrop-filter: blur(12px);
}

.modal {
    width: min(660px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #0d1b2c;
    box-shadow: var(--shadow);
}

.modal-header {
    margin-bottom: 20px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.modal-header h2 {
    margin: 0;
}

.modal-header p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.form-grid label {
    display: grid;
    gap: 7px;
    color: #c8d6e3;
    font-size: 12px;
    font-weight: 700;
}

.form-grid small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
}

.span-2 {
    grid-column: span 2;
}

input, select {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid rgba(148, 178, 210, .18);
    border-radius: 12px;
    outline: none;
    color: var(--text);
    background: rgba(4, 13, 24, .55);
}

input:focus, select:focus {
    border-color: rgba(32, 197, 255, .75);
    box-shadow: 0 0 0 4px rgba(32, 197, 255, .08);
}

.form-note {
    padding: 12px 14px;
    border: 1px solid rgba(253, 176, 34, .18);
    border-radius: 12px;
    color: #e9d6a6;
    background: rgba(253, 176, 34, .06);
    font-size: 11px;
    line-height: 1.55;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.history-modal {
    width: min(760px, 100%);
}

.history-list {
    display: grid;
    gap: 8px;
}

.history-item {
    padding: 12px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .02);
}

.history-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--danger);
}

.history-dot.up {
    background: var(--success);
}

.history-item strong, .history-item span {
    display: block;
}

.history-item span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.history-meta {
    text-align: right;
}

.auth-page {
    display: grid;
    place-items: center;
    padding: 22px;
}

.auth-card {
    width: min(440px, 100%);
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(18, 35, 57, .96), rgba(9, 21, 36, .96));
    box-shadow: var(--shadow);
}

.auth-card .brand-mark {
    margin-bottom: 22px;
}

.auth-card h1 {
    margin: 0;
    font-size: 28px;
}

.auth-card .muted {
    margin: 9px 0 24px;
    color: var(--muted);
    line-height: 1.55;
}

.login-form {
    display: grid;
    gap: 15px;
}

.login-form label {
    display: grid;
    gap: 7px;
    color: #c8d6e3;
    font-size: 12px;
    font-weight: 700;
}

.setup-card {
    width: min(700px, 100%);
}

.alert {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 12px;
}

.alert.success {
    color: #a5ebc7;
    background: rgba(50, 213, 131, .1);
}

.alert.danger {
    color: #ffc0c7;
    background: rgba(255, 95, 112, .1);
}

.empty-state {
    grid-column: 1 / -1;
    min-height: 180px;
    padding: 30px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 1px dashed rgba(148, 178, 210, .22);
    border-radius: 22px;
    color: var(--muted);
    text-align: center;
}

.empty-state strong {
    color: var(--text);
}

.toast {
    position: fixed;
    z-index: 200;
    right: 20px;
    bottom: 20px;
    max-width: min(380px, calc(100vw - 40px));
    padding: 13px 16px;
    border: 1px solid rgba(50, 213, 131, .22);
    border-radius: 13px;
    color: #b7f0d2;
    background: #102c25;
    box-shadow: var(--shadow);
    font-size: 12px;
}

.toast.danger {
    border-color: rgba(255, 95, 112, .22);
    color: #ffc2c9;
    background: #34191f;
}

.hidden {
    display: none !important;
}

@media (max-width: 920px) {
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .monitor-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .topbar {
        min-height: auto;
        padding: 11px 14px;
    }

    .brand span {
        display: none;
    }

    .top-actions .button.ghost {
        display: none;
    }

    .top-actions {
        gap: 6px;
    }

    .button {
        min-height: 40px;
        padding: 0 13px;
    }

    .page-shell {
        width: min(100% - 24px, 1280px);
        padding-top: 18px;
    }

    .summary-grid {
        gap: 9px;
    }

    .summary-card {
        min-height: 92px;
        padding: 15px;
        border-radius: 17px;
    }

    .section-heading {
        margin-top: 25px;
    }

    .section-heading p {
        display: none;
    }

    .monitor-card {
        padding: 16px;
        border-radius: 20px;
    }

    .service-row {
        align-items: start;
        flex-direction: column;
        gap: 5px;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .monitor-times {
        grid-template-columns: 1fr;
    }

    .status-banner {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-left: 3px solid #60758b;
    border-radius: 12px;
    color: #cdd8e3;
    background: rgba(143, 164, 185, .08);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.status-banner.up {
    border-left-color: var(--success);
    color: #a4edc8;
    background: rgba(50, 213, 131, .08);
}

.status-banner.down {
    border-left-color: var(--danger);
    color: #ffc1c8;
    background: rgba(255, 95, 112, .08);
}

.section-block {
    margin-top: 14px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .02);
}

.section-block-title {
    margin-bottom: 10px;
    color: #dce8f3;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.session-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.session-grid > div {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, .018);
}

.session-grid span {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.session-grid strong {
    display: block;
    overflow: hidden;
    margin-top: 6px;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.monitor-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .card-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .modal-backdrop {
        padding: 0;
        align-items: end;
    }

    .modal {
        width: 100%;
        max-height: 94vh;
        padding: 19px 16px max(24px, env(safe-area-inset-bottom));
        border-radius: 24px 24px 0 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .span-2 {
        grid-column: span 1;
    }

    .history-item {
        grid-template-columns: auto 1fr;
    }

    .history-meta {
        grid-column: 2;
        text-align: left;
    }

    .auth-card {
        padding: 24px 20px;
    }
}


/* ===== PANEL NOC / CONSOLA ===== */
.noc-card {
    background:
        linear-gradient(180deg, rgba(3, 9, 18, .98), rgba(4, 13, 24, .98)),
        radial-gradient(circle at top left, rgba(32, 197, 255, .06), transparent 35%);
    border-color: rgba(71, 107, 143, .28);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(23, 42, 67, .45);
}

.noc-card .service-title h2,
.noc-card .service-title > span,
.noc-card .url-box,
.noc-card .monitor-footer,
.noc-card .text-button,
.noc-card .button.compact,
.noc-card .console-shell {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.console-shell {
    margin-top: 14px;
    display: grid;
    gap: 12px;
}

.console-section {
    padding: 12px;
    border: 1px solid rgba(63, 94, 126, .28);
    border-radius: 14px;
    background: rgba(1, 8, 16, .66);
    box-shadow: inset 0 0 0 1px rgba(9, 23, 39, .45);
}

.console-title {
    margin-bottom: 10px;
    color: #7ad9ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.console-line {
    padding: 10px 12px;
    border-left: 3px solid #60758b;
    border-radius: 10px;
    background: rgba(255, 255, 255, .025);
    color: #c8d4e0;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .03em;
}

.console-line.up {
    border-left-color: #32d583;
    color: #8ef0bc;
    background: rgba(50, 213, 131, .08);
}

.console-line.down {
    border-left-color: #ff5f70;
    color: #ffb4bf;
    background: rgba(255, 95, 112, .08);
}

.console-line.unknown {
    border-left-color: #fdb022;
    color: #ffd28a;
    background: rgba(253, 176, 34, .08);
}

.console-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.console-grid.compact {
    margin-top: 12px;
}

.console-grid > div {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid rgba(64, 93, 123, .25);
    border-radius: 12px;
    background: rgba(9, 16, 28, .78);
}

.console-grid span {
    display: block;
    overflow: hidden;
    color: #78a1c8;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.console-grid strong {
    display: block;
    overflow: hidden;
    margin-top: 6px;
    font-size: 13px;
    color: #f2f7fb;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.console-message {
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid rgba(79, 113, 149, .2);
    background: rgba(9, 16, 28, .78);
    color: #dae6f1;
    font-size: 12px;
    line-height: 1.55;
}

.console-message.up {
    color: #9cebc5;
    border-color: rgba(50, 213, 131, .18);
    background: rgba(50, 213, 131, .07);
}

.console-message.down {
    color: #ffc0c7;
    border-color: rgba(255, 95, 112, .18);
    background: rgba(255, 95, 112, .07);
}

.console-message.unknown {
    color: #ffe0a6;
    border-color: rgba(253, 176, 34, .18);
    background: rgba(253, 176, 34, .07);
}

.noc-card .status-badge.up {
    color: #9cf0c4;
    background: rgba(50, 213, 131, .14);
}

.noc-card .status-badge.down {
    color: #ffb2bb;
    background: rgba(255, 95, 112, .14);
}

.noc-card .url-box {
    border-color: rgba(64, 93, 123, .25);
    background: rgba(2, 10, 18, .88);
    color: #9fb8d0;
}

.noc-card .monitor-footer {
    margin-top: 14px;
    padding-top: 2px;
}

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


/* =========================================================
   TABLERO NOC PURO / CONSOLA ASCII
   ========================================================= */

body {
    background:
        linear-gradient(rgba(0, 255, 136, .012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 255, .012) 1px, transparent 1px),
        radial-gradient(circle at 20% 0%, rgba(0, 214, 255, .08), transparent 30%),
        #020912;
    background-size: 28px 28px, 28px 28px, auto, auto;
}

.topbar,
.summary-card,
.monitor-card,
.button,
.icon-button,
.url-box,
.console-section,
.console-grid > div {
    border-radius: 3px !important;
}

.topbar,
.brand,
.summary-card,
.section-heading,
.monitor-card {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.monitor-grid {
    grid-template-columns: repeat(auto-fit, minmax(620px, 1fr));
    align-items: start;
}

.noc-card {
    padding: 16px;
    border: 1px solid rgba(61, 107, 141, .38);
    background: rgba(1, 8, 16, .97);
    box-shadow:
        0 0 0 1px rgba(1, 18, 32, .8),
        0 15px 40px rgba(0, 0, 0, .38);
}

.noc-card::before {
    width: 2px;
}

.noc-service-header {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 2px 12px;
    border-bottom: 1px dashed rgba(73, 117, 150, .35);
}

.noc-service-header h2 {
    margin: 5px 0 2px;
    color: #f4f8fc;
    font-size: 18px;
}

.noc-service-header small {
    color: #73a4c8;
    font-size: 11px;
}

.noc-kicker {
    color: #5edbff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
}

.noc-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.noc-card .url-box {
    margin: 12px 0;
    border: 1px solid rgba(56, 96, 129, .36);
    background: #01060c;
    color: #8cb7d8;
    font-size: 11px;
}

.console-shell {
    display: grid;
    gap: 10px;
}

.console-section {
    padding: 12px;
    border: 1px solid rgba(53, 93, 125, .38);
    background: rgba(1, 6, 12, .88);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, .22);
}

.ascii-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 11px;
    color: #50d9ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .055em;
    white-space: nowrap;
}

.ascii-title i {
    height: 1px;
    flex: 1;
    border-top: 1px dashed rgba(80, 217, 255, .45);
}

.ascii-title b {
    font-weight: 900;
}

.console-line {
    border-radius: 2px !important;
    font-size: 12px;
}

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

.console-grid.three-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.console-grid > div {
    padding: 10px 11px;
    border: 1px solid rgba(57, 92, 121, .36);
    background:
        linear-gradient(180deg, rgba(7, 18, 31, .92), rgba(2, 9, 17, .92));
}

.console-grid span {
    color: #4ea1dc;
    font-size: 9px;
    letter-spacing: .045em;
}

.console-grid strong {
    color: #eff8ff;
    font-size: 12px;
}

.console-grid strong.value-up {
    color: #66f0ab;
}

.console-grid strong.value-down {
    color: #ff7585;
}

.console-message {
    border-radius: 2px !important;
}

.monitor-footer {
    padding-top: 11px;
    border-top: 1px dashed rgba(60, 100, 132, .32);
    color: #69a6cf;
}

.summary-card {
    background: rgba(3, 13, 24, .92);
    border-color: rgba(56, 96, 129, .34);
}

.summary-card strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

    .console-grid.three-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .console-grid,
    .console-grid.three-columns,
    .console-grid.four-columns {
        grid-template-columns: 1fr;
    }

    .ascii-title {
        font-size: 9px;
    }

    .noc-service-header {
        align-items: flex-start;
    }
}
