* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #080d16;
    color: #e8f1ff;
    font-family: Arial, sans-serif;
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 235px;
    background: #0c1422;
    border-right: 1px solid #1b2c40;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 4px;
    color: #e8f1ff;
    margin-bottom: 50px;
}

.logo span {
    color: #00c8ff;
}

.system-label {
    color: #61758e;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.nav {
    background: transparent;
    color: #91a3ba;
    border: none;
    text-align: left;
    padding: 15px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 5px;
    border-radius: 5px;
}

.nav:hover,
.nav.active {
    background: #14283d;
    color: #00c8ff;
}

.sidebar-bottom {
    margin-top: auto;
    font-size: 11px;
    color: #91a3ba;
    display: flex;
    align-items: center;
    gap: 10px;
}

.indicator {
    width: 8px;
    height: 8px;
    background: #00df91;
    border-radius: 50%;
    display: inline-block;
}

main {
    flex: 1;
    padding: 35px;
    min-width: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 15px;
}

header h1 {
    font-size: 23px;
    letter-spacing: 2px;
}

header p,
.muted {
    color: #72859d;
    font-size: 12px;
    margin-top: 8px;
}

.status {
    color: #00df91;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.welcome {
    background: linear-gradient(120deg, #10283e, #101a2c);
    border: 1px solid #1e4561;
    border-radius: 10px;
    padding: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.eyebrow {
    color: #00c8ff;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.welcome h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.welcome p:last-child {
    color: #91a3ba;
    font-size: 13px;
}

.core-symbol {
    font-size: 65px;
    color: #00c8ff;
    border: 2px solid #00c8ff;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
    box-shadow: 0 0 30px #007da455;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 25px;
}

.card,
.panel {
    background: #101a29;
    border: 1px solid #1c3047;
    border-radius: 8px;
    padding: 23px;
}

.card p {
    color: #8296ae;
    font-size: 10px;
    letter-spacing: 1px;
}

.card h2 {
    font-size: 29px;
    margin: 20px 0 10px;
    color: #00c8ff;
}

.card span {
    color: #8296ae;
    font-size: 11px;
}

.panel {
    margin-bottom: 20px;
}

.panel h2,
.panel h3 {
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

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

.module {
    background: #0b1421;
    padding: 18px;
    border-radius: 5px;
    border: 1px solid #1d354b;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
}

.module span {
    color: #00df91;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.chat-output {
    height: 350px;
    overflow-y: auto;
    background: #080e18;
    border: 1px solid #1b3047;
    border-radius: 5px;
    padding: 20px;
    margin: 20px 0;
}

.message {
    white-space: pre-wrap;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.nexus-message {
    color: #00c8ff;
}

.user-message {
    color: #e8f1ff;
}

#command-form {
    display: flex;
    gap: 10px;
}

#command-input {
    flex: 1;
    min-width: 0;
    background: #080e18;
    border: 1px solid #29435c;
    border-radius: 5px;
    padding: 15px;
    color: white;
    outline: none;
}

button[type="submit"] {
    background: #007fa8;
    color: white;
    border: none;
    padding: 0 22px;
    border-radius: 5px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background: #00a9dc;
}

#telemetry-details,
#memory-details,
#system-details {
    color: #91a3ba;
    line-height: 2.2;
    font-size: 13px;
    white-space: pre-wrap;
}

footer {
    color: #53677f;
    font-size: 10px;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

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

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

@media (max-width: 600px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 15px;
    }

    .logo {
        margin-bottom: 20px;
    }

    .sidebar-bottom {
        display: none;
    }

    main {
        padding: 18px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

    .welcome {
        padding: 20px;
    }

    .core-symbol {
        display: none;
    }
}

.memory-record {
    background: #080e18;
    border: 1px solid #1c3047;
    border-left: 3px solid #00c8ff;
    padding: 14px;
    margin-bottom: 10px;
    border-radius: 4px;
    color: #a9bdd3;
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

#memory-details {
    color: #00c8ff;
    line-height: 2;
}


/* ======================================
   NEXUS LIVE TELEMETRY V2
====================================== */

.gauge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.gauge-card {
    background: #0b1421;
    border: 1px solid #1d354b;
    border-radius: 8px;
    padding: 25px 12px;
    text-align: center;
}

.gauge {
    --value: 0;
    --gauge-color: #00c8ff;

    width: 145px;
    height: 145px;
    margin: 0 auto 20px;
    border-radius: 50%;

    display: grid;
    place-items: center;

    background: conic-gradient(
        var(--gauge-color) calc(var(--value) * 1%),
        #1b2b40 0
    );

    transition: background 0.4s ease;
}

.gauge-inner {
    width: 117px;
    height: 117px;
    border-radius: 50%;
    background: #0b1421;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gauge-inner strong {
    font-size: 27px;
    color: var(--gauge-color);
}

.gauge-inner span {
    color: #8296ae;
    font-size: 10px;
    letter-spacing: 2px;
    margin-top: 5px;
}

.gauge-card h4 {
    color: #e8f1ff;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.gauge-card p {
    color: #8296ae;
    font-size: 11px;
}

.monitor-footer {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #1c3047;
    color: #8296ae;
    font-size: 10px;
    letter-spacing: 1px;
}

#monitor-status {
    color: #00df91;
}

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


/* ======================================
   NEXUS LIVE TELEMETRY V2
====================================== */

.gauge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.gauge-card {
    background: #0b1421;
    border: 1px solid #1d354b;
    border-radius: 8px;
    padding: 25px 12px;
    text-align: center;
}

.gauge {
    --value: 0;
    --gauge-color: #00c8ff;

    width: 145px;
    height: 145px;
    margin: 0 auto 20px;
    border-radius: 50%;

    display: grid;
    place-items: center;

    background: conic-gradient(
        var(--gauge-color) calc(var(--value) * 1%),
        #1b2b40 0
    );

    transition: background 0.4s ease;
}

.gauge-inner {
    width: 117px;
    height: 117px;
    border-radius: 50%;
    background: #0b1421;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gauge-inner strong {
    font-size: 27px;
    color: var(--gauge-color);
}

.gauge-inner span {
    color: #8296ae;
    font-size: 10px;
    letter-spacing: 2px;
    margin-top: 5px;
}

.gauge-card h4 {
    color: #e8f1ff;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.gauge-card p {
    color: #8296ae;
    font-size: 11px;
}

.monitor-footer {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #1c3047;
    color: #8296ae;
    font-size: 10px;
    letter-spacing: 1px;
}

#monitor-status {
    color: #00df91;
}

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


/* ======================================
   NEXUS SYSTEM DIAGNOSTICS
====================================== */

.diagnostics-heading {
    margin-bottom: 25px;
}

.diagnostics-heading h2 {
    font-size: 28px;
    margin: 8px 0;
}

.health-overview {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: center;
}

.health-score {
    font-size: 55px;
    font-weight: bold;
    margin: 10px 0;
}

.health-score small {
    font-size: 18px;
    opacity: 0.6;
}

.health-status {
    font-weight: bold;
    letter-spacing: 2px;
}

.health-status.normal,
.diagnostic-badge.normal {
    color: #00d99a;
}

.health-status.warning,
.diagnostic-badge.high {
    color: #ffad42;
}

.health-status.critical,
.diagnostic-badge.critical {
    color: #ff4057;
}

.health-description {
    border-left: 2px solid #00c8ff;
    padding-left: 25px;
}

.health-description h3 {
    margin-top: 0;
}

.diagnostic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 20px 0;
}

.diagnostic-card {
    min-width: 0;
}

.diagnostic-value {
    font-size: 38px;
    font-weight: bold;
    margin: 15px 0;
}

.diagnostic-badge {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid currentColor;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

.diagnostic-alert {
    padding: 15px;
    margin: 10px 0;
    border-left: 3px solid #00d99a;
    background: rgba(0, 217, 154, 0.06);
}

.diagnostic-alert p {
    margin-bottom: 0;
}

.diagnostic-alert.high {
    border-left-color: #ffad42;
    background: rgba(255, 173, 66, 0.07);
}

.diagnostic-alert.critical {
    border-left-color: #ff4057;
    background: rgba(255, 64, 87, 0.07);
}

.diagnostic-alert.normal {
    color: #00d99a;
}

#diagnostic-history {
    max-height: 350px;
    overflow-y: auto;
}

@media (max-width: 800px) {

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

    .health-overview {
        grid-template-columns: 1fr;
    }

    .health-description {
        border-left: none;
        border-top: 2px solid #00c8ff;
        padding-left: 0;
        padding-top: 15px;
    }

}


/* ======================================
   NEXUS DIAGNOSTICS CENTER
====================================== */

.diag-overview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.diag-health-card {
    min-width: 150px;
    padding: 20px;
    border: 1px solid rgba(0, 200, 255, 0.3);
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.diag-health-card strong {
    font-size: 2.5rem;
    color: #00c8ff;
}

.diag-health-card span,
.diag-resource > span:first-child {
    font-size: 0.75rem;
    letter-spacing: 1px;
    opacity: 0.75;
}

.diag-status-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.diag-status-panel h3 { margin-bottom: 6px; }
.diag-status-panel p { margin: 4px 0; }

.diag-status-badge {
    display: inline-block;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    background: rgba(150, 150, 150, 0.15);
}

.diag-normal {
    color: #35d49a;
    background: rgba(53, 212, 154, 0.12);
}

.diag-high, .diag-warning {
    color: #ffad42;
    background: rgba(255, 173, 66, 0.12);
}

.diag-critical, .diag-offline {
    color: #ff5268;
    background: rgba(255, 82, 104, 0.12);
}

.diag-resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.diag-resource {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(0, 200, 255, 0.15);
    border-radius: 10px;
}

.diag-resource strong { font-size: 2rem; }

.diag-resource p {
    margin: 0;
    line-height: 1.5;
    opacity: 0.8;
}

.diag-list {
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.diag-record {
    padding: 12px 14px;
    margin: 8px 0;
    border-left: 3px solid #00c8ff;
    border-radius: 4px;
    background: rgba(0, 200, 255, 0.05);
}

@media (max-width: 650px) {
    .diag-overview, .diag-status-panel {
        align-items: flex-start;
    }

    .diag-health-card {
        width: 100%;
    }
}

/* ==========================================
   NEXUS TACTICAL CYBERTECH NETWORK OPERATIONS
========================================== */

:root {
    --nexus-green: #9dff3f;
    --nexus-cyan: #00d9ff;
    --nexus-amber: #ffb547;
    --nexus-red: #ff4966;
    --nexus-panel: #0c1516;
    --nexus-border: rgba(157, 255, 63, 0.19);
}

body {
    background:
        radial-gradient(ellipse at 75% 0%, rgba(0, 90, 70, 0.10), transparent 42%),
        #070c0d;
}

.sidebar {
    background: #080f10;
    border-right: 1px solid rgba(157, 255, 63, 0.18);
}

.logo span {
    color: var(--nexus-green);
}

.nav:hover,
.nav.active {
    background: rgba(157, 255, 63, 0.09);
    color: var(--nexus-green);
    border-left: 2px solid var(--nexus-green);
}

.indicator {
    background: var(--nexus-green);
    box-shadow: 0 0 10px rgba(157, 255, 63, 0.55);
}

header h1 {
    color: #e7f5e9;
    font-family: monospace;
    letter-spacing: 3px;
}

.status {
    color: var(--nexus-green);
}

.panel,
.card {
    background: linear-gradient(145deg, #101a19, #0a1112);
    border: 1px solid var(--nexus-border);
    border-radius: 3px;
}

.eyebrow {
    color: var(--nexus-green);
    font-family: monospace;
    letter-spacing: 2px;
}

.card h2,
.gauge-inner strong {
    color: var(--nexus-green);
}

.welcome {
    background: linear-gradient(115deg, #10241c, #101b1b 65%, #10212a);
    border: 1px solid rgba(157, 255, 63, 0.25);
    border-radius: 3px;
}

.core-symbol {
    color: var(--nexus-green);
    border-color: var(--nexus-green);
    box-shadow: 0 0 25px rgba(157, 255, 63, 0.17);
}

.network-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.network-heading h2 {
    font-family: monospace;
    font-size: 25px;
    letter-spacing: 2px;
}

.network-live-status {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--nexus-green);
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 1px;
}

.network-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--nexus-green);
    box-shadow: 0 0 12px var(--nexus-green);
}

.network-status-dot.offline {
    background: var(--nexus-red);
    box-shadow: 0 0 12px var(--nexus-red);
}

.network-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 18px;
}

.network-stat {
    min-width: 0;
    padding: 18px;
    background: #0c1515;
    border: 1px solid var(--nexus-border);
    border-top: 2px solid rgba(157, 255, 63, 0.55);
}

.network-stat > span {
    display: block;
    color: #849b8e;
    font-size: 10px;
    letter-spacing: 1.3px;
    font-family: monospace;
}

.network-stat strong {
    display: block;
    margin: 13px 0 6px;
    color: #e8f8e9;
    font-family: monospace;
    font-size: 30px;
}

.network-stat small {
    color: #74877d;
    font-size: 10px;
}

.network-green {
    color: var(--nexus-green) !important;
}

.network-red {
    color: var(--nexus-red) !important;
}

.network-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
    gap: 16px;
    margin-bottom: 18px;
}

.radar-panel,
.network-detail-panel {
    min-width: 0;
}

.network-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.network-panel-heading h3,
.network-detail-panel h3 {
    margin: 0;
    font-family: monospace;
    letter-spacing: 1.5px;
}

.radar-label {
    color: var(--nexus-cyan);
    font-family: monospace;
    font-size: 9px;
    letter-spacing: 1px;
}

.network-radar {
    position: relative;
    width: min(100%, 470px);
    aspect-ratio: 1;
    margin: 8px auto 18px;
    overflow: hidden;
    border: 1px solid rgba(157, 255, 63, 0.35);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(24, 90, 55, 0.22), rgba(5, 19, 15, 0.96) 72%),
        #06100c;
    box-shadow:
        inset 0 0 45px rgba(0, 255, 120, 0.08),
        0 0 22px rgba(0, 255, 120, 0.06);
}

.radar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(157, 255, 63, 0.19);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.radar-ring-one {
    width: 30%;
    height: 30%;
}

.radar-ring-two {
    width: 60%;
    height: 60%;
}

.radar-ring-three {
    width: 90%;
    height: 90%;
}

.radar-cross {
    position: absolute;
    background: rgba(157, 255, 63, 0.14);
}

.radar-cross.horizontal {
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
}

.radar-cross.vertical {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
}

.radar-sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(157, 255, 63, 0.02) 285deg,
        rgba(157, 255, 63, 0.25) 350deg,
        transparent 360deg
    );
    animation: nexus-radar-sweep 6s linear infinite;
    pointer-events: none;
}

@keyframes nexus-radar-sweep {
    to { transform: rotate(360deg); }
}

.radar-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nexus-green);
    box-shadow: 0 0 15px var(--nexus-green);
    transform: translate(-50%, -50%);
}

#network-radar-nodes {
    position: absolute;
    inset: 0;
}

.radar-node {
    position: absolute;
    z-index: 3;
    width: 13px;
    height: 13px;
    padding: 0;
    border: 2px solid #d7ffb2;
    border-radius: 50%;
    background: var(--nexus-green);
    box-shadow: 0 0 12px rgba(157, 255, 63, 0.8);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.radar-node.offline {
    background: var(--nexus-red);
    border-color: #ffd1d8;
    box-shadow: 0 0 12px rgba(255, 73, 102, 0.75);
}

.radar-node.new {
    background: var(--nexus-amber);
    border-color: #fff0cf;
    box-shadow: 0 0 13px rgba(255, 181, 71, 0.8);
}

.radar-node.selected {
    outline: 3px solid rgba(0, 217, 255, 0.8);
    outline-offset: 4px;
}

.radar-node:hover {
    transform: translate(-50%, -50%) scale(1.35);
}

.radar-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    color: #9aada1;
    font-family: monospace;
    font-size: 9px;
}

.radar-legend span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.online {
    background: var(--nexus-green);
}

.legend-dot.offline {
    background: var(--nexus-red);
}

.legend-dot.new {
    background: var(--nexus-amber);
}

.radar-disclaimer {
    margin-top: 15px;
    color: #657b6d;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.network-detail-panel {
    min-height: 300px;
}

.network-device-field {
    padding: 12px 0;
    border-bottom: 1px solid rgba(157, 255, 63, 0.12);
}

.network-device-field span {
    display: block;
    color: #7c9485;
    font-family: monospace;
    font-size: 9px;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.network-device-field strong {
    display: block;
    color: #dcebe0;
    font-size: 12px;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.network-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.network-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    font-size: 11px;
}

.network-table th {
    padding: 12px 10px;
    color: #829b8c;
    text-align: left;
    font-family: monospace;
    font-size: 9px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(157, 255, 63, 0.2);
}

.network-table td {
    padding: 13px 10px;
    color: #c1d1c5;
    border-bottom: 1px solid rgba(157, 255, 63, 0.08);
    overflow-wrap: anywhere;
}

.network-table tbody tr {
    cursor: pointer;
}

.network-table tbody tr:hover,
.network-table tbody tr.selected {
    background: rgba(157, 255, 63, 0.07);
}

.network-device-status {
    font-family: monospace;
    font-size: 9px;
    color: var(--nexus-green);
}

.network-device-status.offline {
    color: var(--nexus-red);
}

.network-device-status.new {
    color: var(--nexus-amber);
}

.network-scan-record {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(157, 255, 63, 0.1);
    color: #9eb2a3;
    font-family: monospace;
    font-size: 10px;
}

.network-scan-record strong {
    color: var(--nexus-green);
}

.network-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: #687d70;
    font-family: monospace;
    font-size: 9px;
    letter-spacing: 0.7px;
    margin: 15px 0;
}

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

    .network-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .network-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .network-heading h2 {
        font-size: 20px;
    }

    .network-stat {
        padding: 13px;
    }

    .network-stat strong {
        font-size: 24px;
    }

    .network-scan-record {
        flex-direction: column;
        gap: 5px;
    }

    .network-footer {
        flex-direction: column;
    }
}



/* ==========================================
   NEXUS HISTORICAL TELEMETRY INTELLIGENCE
   ========================================== */

.telemetry-history {
    margin-top: 24px;
}

.telemetry-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 22px 0;
}

.telemetry-history-header h2 {
    margin: 5px 0;
    letter-spacing: 2px;
}

.telemetry-range-controls {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.telemetry-range {
    background: #101914;
    color: #8fa99a;
    border: 1px solid #294a38;
    padding: 9px 15px;
    font-family: monospace;
    font-weight: bold;
    cursor: pointer;
}

.telemetry-range:hover,
.telemetry-range.active {
    color: #b7ffcc;
    background: #173322;
    border-color: #52db83;
    box-shadow: 0 0 12px rgba(50, 220, 110, 0.12);
}

.telemetry-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.telemetry-summary {
    background: #0c1411;
    border: 1px solid #233a2d;
    border-left: 3px solid #42c979;
    padding: 15px;
    min-width: 0;
}

.telemetry-summary span {
    display: block;
    color: #80968a;
    font-size: 10px;
    letter-spacing: 1.4px;
}

.telemetry-summary strong {
    display: block;
    margin-top: 9px;
    color: #b7ffcc;
    font-family: monospace;
    font-size: 24px;
}

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

.telemetry-chart-panel {
    min-width: 0;
    padding: 18px;
    background: #0b1210;
    border: 1px solid #263d30;
}

.telemetry-chart-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.telemetry-chart-heading h3 {
    color: #b9d9c5;
    font-size: 13px;
    letter-spacing: 1.3px;
}

.telemetry-chart-heading span {
    color: #56d58a;
    font-family: monospace;
    font-size: 11px;
}

.telemetry-chart-panel canvas {
    display: block;
    width: 100%;
    height: 210px;
}

.chart-current {
    color: #81988a;
    font-family: monospace;
    font-size: 11px;
    margin-top: 10px;
}

.telemetry-history-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 15px 3px;
    color: #719080;
    font-family: monospace;
    font-size: 11px;
}

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

    .telemetry-chart-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 450px) {
    .telemetry-summary strong {
        font-size: 19px;
    }

    .telemetry-range {
        padding: 8px 11px;
    }
}




/* ==========================================
   NEXUS CINEMATIC STARTUP SYSTEM
   ========================================== */

#nexus-startup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at center,
            rgba(12, 66, 53, .30) 0%,
            rgba(3, 15, 13, .96) 48%,
            #020605 100%);
    color: #aaffdf;
    font-family: monospace;
    opacity: 1;
    visibility: visible;
    transition: opacity 1.1s ease, visibility 1.1s ease;
}

#nexus-startup.nexus-startup-exit {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nexus-startup-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(57, 205, 161, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 205, 161, .055) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse, black 15%, transparent 78%);
    animation: nexus-grid-pulse 4s ease-in-out infinite;
}

.nexus-startup-scanline {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    top: -5%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(69, 255, 202, .8),
        transparent
    );
    box-shadow: 0 0 20px rgba(69, 255, 202, .65);
    animation: nexus-scan 4.5s linear infinite;
}

.nexus-startup-content {
    position: relative;
    z-index: 2;
    width: min(90vw, 520px);
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    animation: nexus-content-appear 1.2s ease both;
}

.nexus-emblem-container {
    width: min(65vw, 310px);
    aspect-ratio: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: nexus-emblem-arrive 1.7s cubic-bezier(.16,.8,.3,1) both;
}

.nexus-emblem {
    position: relative;
    z-index: 3;
    width: 78%;
    height: 78%;
    overflow: visible;
    filter: drop-shadow(0 0 12px rgba(56, 255, 195, .45));
    animation: nexus-core-pulse 3.2s ease-in-out infinite;
}

.nexus-emblem-glow {
    position: absolute;
    width: 65%;
    height: 65%;
    border-radius: 50%;
    background: rgba(24, 255, 183, .12);
    filter: blur(35px);
    animation: nexus-glow-pulse 2.5s ease-in-out infinite;
}

.nexus-energy-ring {
    position: absolute;
    width: 94%;
    height: 94%;
    border: 1px solid rgba(73, 255, 202, .48);
    border-radius: 50%;
    border-top-color: #9affdf;
    border-bottom-color: transparent;
    box-shadow: 0 0 15px rgba(49, 231, 178, .12);
    animation: nexus-ring-spin 7s linear infinite;
}

.nexus-energy-ring.ring-two {
    width: 108%;
    height: 108%;
    border-color: rgba(31, 137, 116, .5);
    border-left-color: #70ffce;
    border-right-color: transparent;
    animation-duration: 11s;
    animation-direction: reverse;
}

.nexus-energy-ring.ring-three {
    width: 119%;
    height: 119%;
    border-style: dashed;
    border-color: rgba(70, 209, 171, .24);
    animation-duration: 25s;
}

.nexus-wordmark {
    margin-top: 28px;
    color: #d4fff0;
    font-size: clamp(30px, 7vw, 48px);
    font-weight: 900;
    letter-spacing: .42em;
    padding-left: .42em;
    text-shadow:
        0 0 8px rgba(78, 255, 199, .8),
        0 0 28px rgba(34, 211, 160, .5);
    animation: nexus-wordmark-appear 1.5s .6s both;
}

.nexus-startup-divider {
    width: min(70%, 280px);
    height: 1px;
    margin: 20px 0;
    background: linear-gradient(
        90deg,
        transparent,
        #5affc7,
        transparent
    );
    box-shadow: 0 0 10px #3dffb8;
}

.nexus-startup-status {
    min-height: 18px;
    color: #76e9c0;
    font-size: 11px;
    letter-spacing: 2.2px;
    animation: nexus-status-flicker 2s infinite;
}

.nexus-startup-progress {
    width: min(75%, 320px);
    height: 3px;
    margin-top: 18px;
    background: rgba(92, 160, 137, .2);
    overflow: hidden;
}

#nexus-startup-progress-bar {
    width: 0%;
    height: 100%;
    background: #69ffca;
    box-shadow: 0 0 12px #4dffc0;
    transition: width .35s ease;
}

.nexus-startup-footer {
    display: flex;
    justify-content: space-between;
    width: min(90%, 390px);
    margin-top: 22px;
    color: #527c6e;
    font-size: 9px;
    letter-spacing: 1px;
}

.nexus-startup-coordinates,
.nexus-startup-version {
    position: absolute;
    bottom: 22px;
    color: rgba(103, 194, 162, .45);
    font-size: 9px;
    letter-spacing: 1.5px;
}

.nexus-startup-coordinates {
    left: 22px;
}

.nexus-startup-version {
    right: 22px;
}

#nexus-replay-voice {
    margin-top: 22px;
    padding: 9px 14px;
    color: #8bffda;
    background: rgba(13, 45, 37, .55);
    border: 1px solid rgba(77, 221, 175, .4);
    font-family: monospace;
    font-size: 9px;
    letter-spacing: 1px;
    cursor: pointer;
}

#nexus-replay-voice:hover {
    background: rgba(32, 104, 80, .7);
    box-shadow: 0 0 15px rgba(62, 255, 189, .2);
}

@keyframes nexus-scan {
    from { top: -5%; }
    to { top: 105%; }
}

@keyframes nexus-ring-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes nexus-grid-pulse {
    0%, 100% { opacity: .35; }
    50% { opacity: .85; }
}

@keyframes nexus-content-appear {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes nexus-emblem-arrive {
    from {
        opacity: 0;
        transform: scale(.35) rotate(-35deg);
        filter: blur(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
        filter: blur(0);
    }
}

@keyframes nexus-core-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.035); }
}

@keyframes nexus-glow-pulse {
    0%, 100% { opacity: .35; transform: scale(.85); }
    50% { opacity: .9; transform: scale(1.2); }
}

@keyframes nexus-wordmark-appear {
    from { opacity: 0; letter-spacing: .8em; filter: blur(5px); }
    to { opacity: 1; letter-spacing: .42em; filter: blur(0); }
}

@keyframes nexus-status-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: .65; }
}

@media (max-width: 600px) {
    .nexus-startup-footer {
        font-size: 8px;
    }

    .nexus-startup-coordinates,
    .nexus-startup-version {
        font-size: 7px;
        bottom: 10px;
    }

    .nexus-startup-coordinates { left: 10px; }
    .nexus-startup-version { right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    #nexus-startup *,
    #nexus-startup *::before,
    #nexus-startup *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* ==========================================
   NEXUS PERSONNEL IDENTITY INTERFACE
========================================== */

#nexus-identity {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    overflow-y: auto;
    background:
        radial-gradient(
            ellipse at center,
            rgba(30, 58, 44, .28),
            rgba(3, 8, 9, .98) 72%
        );
    color: #d8e8df;
    font-family: monospace;
}

#nexus-identity[hidden] {
    display: none !important;
}

.nexus-identity-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .2;
    background-image:
        linear-gradient(rgba(157, 255, 63, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(157, 255, 63, .08) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.nexus-identity-card {
    position: relative;
    width: min(100%, 480px);
    padding: 34px;
    border: 1px solid rgba(157, 255, 63, .3);
    background: rgba(7, 15, 15, .96);
    box-shadow:
        0 0 45px rgba(0, 0, 0, .65),
        0 0 28px rgba(157, 255, 63, .06),
        inset 0 0 30px rgba(157, 255, 63, .025);
}

.nexus-identity-label,
.nexus-identity-eyebrow {
    color: #8fa99a;
    font-size: 10px;
    letter-spacing: 2px;
}

.nexus-identity-title {
    margin-top: 22px;
    color: #e4f4e8;
    font-size: clamp(23px, 5vw, 31px);
    font-weight: 700;
    letter-spacing: 3px;
}

.nexus-identity-title span {
    color: #9dff3f;
}

.nexus-identity-divider {
    height: 1px;
    margin: 20px 0 28px;
    background: linear-gradient(
        90deg,
        rgba(157, 255, 63, .7),
        rgba(157, 255, 63, .02)
    );
}

.nexus-identity-name {
    margin: 14px 0 24px;
    color: #9dff3f;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 2px;
    overflow-wrap: anywhere;
}

#nexus-identity-create label {
    display: block;
    margin: 22px 0 9px;
    color: #9dff3f;
    font-size: 10px;
    letter-spacing: 1.5px;
}

#nexus-identity-name {
    box-sizing: border-box;
    width: 100%;
    padding: 14px;
    color: #e4f4e8;
    background: #091111;
    border: 1px solid rgba(157, 255, 63, .3);
    outline: none;
    font-family: monospace;
    font-size: 14px;
}

#nexus-identity-name:focus {
    border-color: #9dff3f;
    box-shadow: 0 0 12px rgba(157, 255, 63, .12);
}

.nexus-identity-primary,
.nexus-identity-secondary,
.nexus-identity-profile-button {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin-top: 12px;
    padding: 13px 15px;
    font-family: monospace;
    font-size: 11px;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: .2s ease;
}

.nexus-identity-primary {
    color: #081008;
    background: #9dff3f;
    border: 1px solid #9dff3f;
    font-weight: bold;
}

.nexus-identity-primary:hover {
    background: #c0ff80;
    box-shadow: 0 0 18px rgba(157, 255, 63, .2);
}

.nexus-identity-secondary,
.nexus-identity-profile-button {
    color: #b9d0c1;
    background: rgba(12, 25, 23, .9);
    border: 1px solid rgba(157, 255, 63, .2);
}

.nexus-identity-secondary:hover,
.nexus-identity-profile-button:hover {
    color: #9dff3f;
    border-color: rgba(157, 255, 63, .7);
    background: rgba(30, 55, 40, .5);
}

.nexus-identity-profile-list {
    max-height: 230px;
    margin-top: 15px;
    overflow-y: auto;
}

.nexus-identity-empty {
    padding: 18px 8px;
    color: #8fa99a;
    font-size: 11px;
    text-align: center;
}

.nexus-identity-status {
    min-height: 16px;
    margin-top: 22px;
    color: #00d9ff;
    font-size: 10px;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
}

.nexus-identity-footer {
    margin-top: 24px;
    padding-top: 13px;
    border-top: 1px solid rgba(157, 255, 63, .12);
    color: #60786b;
    font-size: 9px;
    letter-spacing: 1px;
}

.nexus-identity-exit {
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

@media (max-width: 600px) {
    #nexus-identity {
        padding: 14px;
    }

    .nexus-identity-card {
        padding: 23px;
    }

    .nexus-identity-label {
        font-size: 8px;
        letter-spacing: 1px;
    }
}


/* ==========================================
   NEXUS STARTUP AUDIO CONTROLS
   ========================================== */

#nexus-enable-audio,
#nexus-replay-voice {
    display: block;
    margin: 14px auto 0;
    padding: 11px 18px;
    color: #8bffda;
    background: rgba(13, 45, 37, .72);
    border: 1px solid rgba(77, 221, 175, .55);
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
}

#nexus-enable-audio:hover,
#nexus-replay-voice:hover {
    background: rgba(32, 104, 80, .85);
    box-shadow: 0 0 18px rgba(62, 255, 189, .25);
}

#nexus-enable-audio[hidden] {
    display: none !important;
}

#nexus-enable-audio {
    animation: nexus-audio-pulse 1.8s ease-in-out infinite;
}

@keyframes nexus-audio-pulse {
    0%, 100% { box-shadow: 0 0 3px rgba(62, 255, 189, .1); }
    50% { box-shadow: 0 0 15px rgba(62, 255, 189, .35); }
}



/* ==========================================
   SYNCHRONIZED NEXUS STARTUP
   ========================================== */

/* Keep startup content visible while holding decorative animations. */
#nexus-startup:not(.nexus-startup-running) .nexus-startup-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
}

/* Hold decorative effects until the launch gesture. */
#nexus-startup:not(.nexus-startup-running) .nexus-emblem-container,
#nexus-startup:not(.nexus-startup-running) .nexus-emblem,
#nexus-startup:not(.nexus-startup-running) .nexus-energy-ring,
#nexus-startup:not(.nexus-startup-running) .nexus-emblem-glow,
#nexus-startup:not(.nexus-startup-running) .nexus-startup-grid,
#nexus-startup:not(.nexus-startup-running) .nexus-startup-scanline {
    animation-play-state: paused !important;
}

/* Startup screen acts as the launch surface. */
#nexus-startup {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.nexus-startup-launch-hint {
    width: min(90%, 620px);
    margin: 22px auto 8px;
    padding: 10px 14px;
    color: #8bffda;
    font-family: monospace;
    font-size: 11px;
    line-height: 1.8;
    letter-spacing: 1.5px;
    text-align: center;
    overflow-wrap: anywhere;
    animation: nexus-launch-pulse 1.8s ease-in-out infinite;
}

.nexus-startup-launch-hint[hidden] {
    display: none !important;
}

@keyframes nexus-launch-pulse {
    0%, 100% {
        opacity: .45;
        text-shadow: 0 0 3px rgba(62, 255, 189, .15);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 12px rgba(62, 255, 189, .65);
    }
}


/* ==========================================
   NEXUS IPHONE STARTUP TOUCH CONTROL
   ========================================== */

html:has(body.nexus-startup-active),
body.nexus-startup-active {
    overflow: hidden !important;
    overscroll-behavior: none;
}

body.nexus-startup-active {
    position: fixed;
    width: 100%;
    height: 100%;
}

#nexus-startup:not(.nexus-startup-exit) {
    touch-action: none;
    overscroll-behavior: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}


/* ==========================================
   NEXUS AUTHENTICATED ACCOUNT CONTROLS
========================================== */

.nexus-account-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

#nexus-account-display {
    color: #9dff3f;
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
}

#nexus-logout {
    padding: 9px 12px;
    color: #ffb1b1;
    background: rgba(80, 15, 15, .35);
    border: 1px solid rgba(255, 90, 90, .4);
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 1px;
    cursor: pointer;
}

#nexus-logout:hover {
    background: rgba(130, 20, 20, .55);
    border-color: #ff6b6b;
}

#nexus-logout[hidden] {
    display: none !important;
}

#nexus-login-form label {
    display: block;
    margin: 20px 0 8px;
    color: #9dff3f;
    font-size: 10px;
    letter-spacing: 1.5px;
}

#nexus-login-form input {
    box-sizing: border-box;
    width: 100%;
    padding: 14px;
    color: #e4f4e8;
    background: #091111;
    border: 1px solid rgba(157, 255, 63, .3);
    outline: none;
    font-family: monospace;
    font-size: 14px;
}

#nexus-login-form input:focus {
    border-color: #9dff3f;
    box-shadow: 0 0 12px rgba(157, 255, 63, .12);
}

#nexus-personal-memory[hidden] {
    display: none !important;
}


/* SECURITY UI: Enforce HTML hidden state over component display rules. */
[hidden] {
    display: none !important;
}

/* Enforce hidden state over component display rules. */
[hidden] {
    display: none !important;
}


/* =========================================================
   NEXUS ADMINISTRATOR ACCOUNT MANAGEMENT
   ========================================================= */

.account-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.account-heading h2 {
    font-size: 23px;
    letter-spacing: 2px;
}

.account-heading-status {
    color: #9dff3f;
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 25px;
}

.account-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 9px;
    color: #9dff3f;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.account-form-grid input {
    width: 100%;
    padding: 13px;
    color: #e8f1ff;
    background: #080e18;
    border: 1px solid #29435b;
    border-radius: 4px;
    outline: none;
    font-family: monospace;
    font-size: 13px;
}

.account-form-grid input:focus {
    border-color: #00c8ff;
    box-shadow: 0 0 12px rgba(0, 200, 255, .12);
}

.account-form-grid small {
    color: #72859d;
    font-size: 10px;
    letter-spacing: 0;
    line-height: 1.5;
}

.account-password-field {
    grid-column: 1 / -1;
}

.account-form-actions,
.account-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.account-list-heading {
    margin-top: 0;
    margin-bottom: 20px;
}

.account-list-heading h2 {
    margin-bottom: 5px;
}

.account-button {
    padding: 10px 14px;
    color: #c5d9ed;
    background: #14283d;
    border: 1px solid #31516d;
    border-radius: 4px;
    cursor: pointer;
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 1px;
    transition: background .2s, border-color .2s;
}

.account-button:hover {
    background: #1b3a55;
    border-color: #00c8ff;
}

.account-button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.account-button-primary {
    color: #06130f;
    background: #54e6b1;
    border-color: #54e6b1;
    font-weight: bold;
}

.account-button-primary:hover {
    background: #86ffd0;
    border-color: #86ffd0;
}

.account-button-danger {
    color: #ffb1b1;
    background: rgba(80, 15, 15, .35);
    border-color: rgba(255, 90, 90, .5);
}

.account-button-danger:hover {
    background: rgba(130, 20, 20, .55);
    border-color: #ff6b6b;
}

.account-status {
    color: #9dff3f;
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
}

.account-error {
    color: #ff7474 !important;
}

.nexus-account-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #26384c;
}

.nexus-account-details {
    min-width: 0;
}

.nexus-account-details h3 {
    color: #00c8ff;
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
}

.nexus-account-details p {
    color: #91a3ba;
    font-family: monospace;
    font-size: 10px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.nexus-account-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex-wrap: wrap;
}

.account-state {
    padding: 7px 10px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 9px;
    letter-spacing: 1px;
}

.account-state-active {
    color: #54e6b1;
    background: rgba(30, 150, 100, .12);
    border: 1px solid rgba(84, 230, 177, .3);
}

.account-state-disabled {
    color: #ff8585;
    background: rgba(150, 40, 40, .12);
    border: 1px solid rgba(255, 100, 100, .3);
}

.account-security-note {
    padding: 15px;
    color: #72859d;
    border: 1px solid #26384c;
    border-radius: 5px;
    font-family: monospace;
    font-size: 10px;
    line-height: 1.7;
    letter-spacing: .5px;
}

@media (max-width: 700px) {

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

    .account-password-field {
        grid-column: auto;
    }

    .nexus-account-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .nexus-account-actions {
        justify-content: flex-start;
        width: 100%;
    }

}

