/* styles.css */

/* Navigation Bar */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #005a9e;
    color: white;
    padding: 10px 20px;
    margin: -20px -20px 20px -20px;
    font-size: 0.95em;
}
.nav-title {
    font-weight: 600;
    font-size: 1.1em;
}
.nav-links {
    display: flex;
    gap: 5px;
}
.nav-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 4px;
    transition: background-color 0.2s;
}
.nav-link:hover {
    background-color: rgba(255,255,255,0.15);
    color: white;
}
.nav-link.active {
    background-color: rgba(255,255,255,0.2);
    color: white;
    font-weight: 500;
}
.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
#nav-username {
    font-size: 0.9em;
    opacity: 0.85;
}
.nav-logout-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    transition: background-color 0.2s;
}
.nav-logout-btn:hover {
    background: rgba(255,255,255,0.25);
}

/* Setup page layout */
.setup-container {
    max-width: 1280px;
    margin: auto;
    padding: 0;
}
.setup-layout {
    display: flex;
    flex-direction: row;
    gap: 0;
    min-height: 600px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.setup-nav {
    width: 220px;
    min-width: 220px;
    border-right: 1px solid #e8ecf0;
    overflow-y: auto;
    padding: 12px 0;
    border-radius: 8px 0 0 8px;
}

.setup-nav-cat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    font-weight: 600;
    font-size: 0.8em;
    color: #555;
    cursor: pointer;
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.setup-nav-cat-header:hover { background-color: #f5f7fa; }

.setup-nav-chevron {
    font-size: 0.65em;
    color: #999;
    display: inline-block;
    transition: transform 0.15s ease;
}
.setup-nav-cat-header.open .setup-nav-chevron { transform: rotate(90deg); }

.setup-nav-cat-items { display: none; }
.setup-nav-cat-items.open { display: block; }

.setup-nav-item {
    display: block;
    padding: 8px 16px 8px 30px;
    font-size: 0.9em;
    color: #555;
    cursor: pointer;
    border-left: 3px solid transparent;
}
.setup-nav-item:hover { background-color: #f0f4f8; color: #333; }
.setup-nav-item.active {
    border-left-color: #005a9e;
    background-color: #e8f0fb;
    color: #005a9e;
    font-weight: 500;
}

.setup-content {
    flex: 1;
    padding: 24px;
    min-width: 0;
    background: #f7f9fc;
    border-radius: 0 8px 8px 0;
}
.setup-placeholder .placeholder-text, .placeholder-text {
    color: #888;
    font-style: italic;
    margin: 10px 0 0 0;
}

/* Config edit forms */
.config-edit-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.config-edit-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.85em;
    color: #555;
    gap: 3px;
}
.config-edit-form input, .config-edit-form select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95em;
}
.btn-save {
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #005a9e;
    color: white;
    cursor: pointer;
    font-size: 0.95em;
    margin-top: 5px;
}
.btn-save:hover { background-color: #004b82; }
.btn-add {
    padding: 5px 12px;
    border: none;
    border-radius: 4px;
    background-color: #2e7d32;
    color: white;
    cursor: pointer;
    font-size: 0.85em;
}
.btn-add:hover { background-color: #1b5e20; }
.btn-sm {
    padding: 4px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8em;
}
.btn-edit { background-color: #1565c0; color: white; }
.btn-edit:hover { background-color: #0d47a1; }
.btn-toggle { background-color: #ff9800; color: white; }
.btn-toggle:hover { background-color: #e68a00; }
.btn-delete { background-color: #d32f2f; color: white; }
.btn-delete:hover { background-color: #b71c1c; }

/* Config list items */
.config-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.config-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f7f9fc;
    border-radius: 4px;
    border: 1px solid #eee;
}
.config-list-info { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.config-list-actions { display: flex; gap: 5px; }
.config-tag {
    font-size: 0.75em;
    padding: 2px 6px;
    border-radius: 3px;
    background-color: #e0e0e0;
    color: #555;
}
.tag-on { background-color: #c8e6c9; color: #2e7d32; }
.tag-off { background-color: #ffcdd2; color: #c62828; }
.tag-filter { background-color: #e3f2fd; color: #1565c0; }

/* Form status */
.form-status { font-size: 0.85em; margin-top: 5px; padding: 6px; border-radius: 4px; }
.status-ok { background-color: #e8f5e9; color: #2e7d32; }
.status-err { background-color: #ffebee; color: #c62828; }

/* MQTT payload fields grid */
.mqtt-payload-section h4 {
    margin: 14px 0 8px;
    font-size: 0.88em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
}
.mqtt-payload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}
.mqtt-group-panel {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 12px;
    background: #f7f9fb;
    transition: background 0.15s;
}
.mqtt-group-panel.disabled {
    background: #f0f0f0;
}
.mqtt-group-panel.disabled .mqtt-subfields {
    opacity: 0.4;
    pointer-events: none;
}
.mqtt-group-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 6px;
    font-size: 0.85em !important;
    font-weight: 600;
    color: #333 !important;
    margin-bottom: 0;
    cursor: pointer;
}
.mqtt-group-header + .mqtt-group-header {
    margin-top: 6px;
}
.mqtt-group-header input[type="checkbox"] {
    width: auto;
    padding: 0;
    border: none;
    margin: 0;
    flex-shrink: 0;
}
.mqtt-subfields {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: opacity 0.15s;
}
.mqtt-subfields label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 5px;
    font-size: 0.80em !important;
    color: #555 !important;
    cursor: pointer;
}
.mqtt-subfields input[type="checkbox"] {
    width: auto;
    padding: 0;
    border: none;
    margin: 0;
    flex-shrink: 0;
}
.mqtt-panel-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 8px 0;
}

/* License banner */
/* NTP status badge */
.ntp-status {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 500;
    width: fit-content;
}
.ntp-synced     { background-color: #c8e6c9; color: #1b5e20; }
.ntp-nofix      { background-color: #fff3e0; color: #e65100; }
.ntp-nostream   { background-color: #f5f5f5; color: #757575; }
.ntp-unlicensed { background-color: #f5f5f5; color: #9e9e9e; font-style: italic; }

/* Sensor card */
.sensor-card h3 { margin-top: 0; margin-bottom: 12px; }
.ntp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}
.net-status {
    font-size: 0.88em;
    font-family: 'Courier New', monospace;
    color: #333;
}
.net-active   { color: #1b5e20; }
/* Network row: a label/value list under the "Network" label, using the card's full width */
.net-row { flex-direction: column; align-items: stretch; gap: 4px; }
.net-status.net-active {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 2px 12px;
    font-family: inherit;
}
.net-key { color: #777; font-size: 0.95em; }
.net-val { color: #1b5e20; font-family: 'Courier New', monospace; overflow-wrap: anywhere; }
.net-inactive { color: #9e9e9e; font-style: italic; }

.net-warning {
    background-color: #ffebee;
    border: 1px solid #ef9a9a;
    color: #b71c1c;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.btn-reboot {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: #c62828;
    color: white;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
}
.btn-reboot:hover    { background-color: #b71c1c; }
.btn-reboot:disabled { background-color: #e57373; cursor: not-allowed; }

.gnss-section-block {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eee;
}
.gnss-section-label {
    font-size: 0.78em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-bottom: 8px;
    font-weight: 600;
}
.gnss-port-cols { display: flex; gap: 12px; flex-wrap: wrap; }
.gnss-port-col {
    flex: 1 1 220px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fafafa;
}
.gnss-port-col.gnss-port-shared { opacity: 0.6; }
.gnss-port-title { font-size: 0.85em; font-weight: 600; color: #333; margin-bottom: 8px; }
.gnss-port-field { display: flex; flex-direction: column; gap: 3px; font-size: 0.8em; color: #555; }
.gnss-port-field select { padding: 6px; }
.gnss-port-host {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    margin-top: 8px; padding-top: 8px; border-top: 1px dashed #ddd;
    font-size: 0.8em; color: #555;
}
.gnss-port-host code {
    font-size: 1em; padding: 2px 8px; border-radius: 4px;
    background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; white-space: nowrap;
}
.gnss-rtcm-table { width: 100%; border-collapse: collapse; margin-bottom: 4px; }
.gnss-rtcm-table td { padding: 3px 6px; vertical-align: middle; }
.gnss-rtcm-label { font-size: 0.88em; color: #444; width: 130px; }
.gnss-rtcm-table .btn-save { padding: 5px 10px; font-size: 0.82em; margin: 0; }
/* Live confirmation from the module's own serial output (/api/gnss/stream_seen) - not the enabled/disabled
   setting, which only reflects intent. Grey until confirmed, green once seen within the last 60s. */
.gnss-bulb {
    display: inline-block; width: 9px; height: 9px; border-radius: 50%;
    background: #9e9e9e; margin-right: 2px; vertical-align: middle;
}
.gnss-result-box {
    font-family: 'Courier New', monospace;
    font-size: 0.82em;
    color: #333;
    background: #f5f5f5;
    padding: 8px;
    border-radius: 4px;
    min-height: 40px;
    white-space: pre-wrap;
    word-break: break-all;
}

.sensor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}
.sensor-item { display: flex; flex-direction: column; gap: 2px; }
.sensor-label { font-size: 0.78em; color: #777; }
.sensor-value { font-size: 1em; font-weight: 500; color: #222; }

.license-banner {
    background-color: #fff3e0;
    color: #e65100;
    padding: 12px 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 15px;
    border: 1px solid #ffcc02;
}
.license-status {
    margin-bottom: 10px;
}
.license-banner a { color: #bf360c; font-weight: 600; }
.license-portal { margin: 0 0 12px; font-size: 0.9em; color: #555; line-height: 1.5; }
.license-portal a { color: #005a9e; font-weight: 600; }

/* Modal overlay */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.modal-content {
    background: white;
    border-radius: 8px;
    padding: 25px;
    width: 420px;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
.modal-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #005a9e;
}
.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: flex-end;
}
.btn-cancel {
    padding: 10px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 0.95em;
}
.btn-cancel:hover { background: #f5f5f5; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f7f9fc;
    color: #333;
    margin: 0;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    display: grid;
    /* --- FIX 1: Make the right column slightly smaller for better balance --- */
    grid-template-columns: minmax(450px, 1fr) 1.1fr; 
    gap: 20px;
    max-width: 1280px;
    margin: auto;
    /* This aligns the top of the cards in each column */
    align-items: start; 
}

.left-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.right-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    align-self: start;
}

.card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 10px;
}

.header h2 {
    margin: 0;
    color: #005a9e;
    font-weight: 600;
}

.live-clock {
    font-size: 1.1em;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    color: #333;
    background-color: #eef2f7;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Position and Status Card */
.position-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.position-item {
    display: flex;
    flex-direction: column;
}

.position-item .label {
    font-size: 0.8em;
    color: #777;
    margin-bottom: 4px;
}

.position-item .value {
    font-size: 1.1em;
    font-weight: 500;
}

.position-item .coord-dd {
    font-size: 0.78em;
    color: #555;
    margin-top: 1px;
}

/* Local grid coordinates: a full-width row under Latitude/Longitude */
.position-card .position-local {
    grid-column: 1 / -1;
}

.rtk-status {
    padding: 3px 8px;
    border-radius: 4px;
    text-align: center;
    color: white;
    background-color: #888;
    transition: background-color 0.5s ease;
    width: fit-content;
}

/* Constellation Table Card */
.card-header-with-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-header-with-total h3 {
    margin: 0;
}

.total-sat-count {
    font-size: 0.9em;
    font-weight: 500;
    color: #333;
    background-color: #eef2f7;
    padding: 4px 10px;
    border-radius: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    word-break: break-word; /* Helps prevent table overflow on mobile */
}

th, td {
    text-align: left;
    padding: 10px 4px;
    border-bottom: 1px solid #eee;
}

th {
    color: #555;
    font-weight: normal;
}

.freq-header {
    text-align: center;
}

td:not(:first-child) {
    text-align: center;
}

/* Mean Signal Level */
.mean-signal-value {
    font-size: 1.5em;
    font-weight: bold;
    color: #005a9e;
    margin: 10px 0;
}

.bar-chart-container {
    height: 180px;
    position: relative;
}

/* Skyplot and Legend */
.skyplot-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Creates a square aspect ratio container */
}

#skyplot-chart {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.legend-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    font-size: 0.9em;
}

.legend-bar {
    width: 80%;
    height: 15px;
    background: linear-gradient(to right, hsl(0, 65%, 42%), hsl(60, 65%, 42%), hsl(120, 65%, 42%));
    border-radius: 5px;
    margin: 5px 0;
}

.legend-labels {
    display: flex;
    justify-content: space-between;
    width: 82%;
    font-size: 0.8em;
    color: #777;
}

/* Satellite hover tooltip */
.skyplot-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.8em;
    pointer-events: none;
    z-index: 100;
    display: none;
    white-space: nowrap;
    line-height: 1.5;
}
.skyplot-tooltip.visible { display: block; }

/* Login, Config, and Password Styles */
.hidden {
    display: none !important;
}

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.login-modal {
    background-color: white;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    width: 320px;
}

.login-modal h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
}

#login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#login-form input, #password-change-form input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

#login-form button, #password-change-form button {
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: #005a9e;
    color: white;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.2s;
}

#login-form button:hover, #password-change-form button:hover {
    background-color: #004b82;
}

.login-error-message {
    color: #d32f2f;
    font-size: 0.9em;
    margin-top: 10px;
    height: 1.2em;
}

.config-card h3, .password-change-card h3 {
    margin-top: 0;
}

.config-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    margin-top: 15px;
}

#command-select, #custom-command-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    grid-column: 1 / -1; /* Span full width */
}

#send-command-btn {
    padding: 8px 16px;
    border: none;
    background-color: #2e7d32;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    grid-column: 2 / 3; /* Position in the second column */
    justify-self: end;
}

#send-command-btn:hover {
    background-color: #1b5e20;
}

.command-status-message, .password-status-message {
    margin-top: 15px;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.9em;
    display: none; /* Hidden by default */
}

.command-status-message.success, .password-status-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    display: block;
}

.command-status-message.error, .password-status-message.error {
    background-color: #ffebee;
    color: #c62828;
    display: block;
}

#password-change-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}


/* --- NEW: RESPONSIVE STYLES FOR MOBILE AND TABLETS --- */

@media (max-width: 992px) {
    body {
        padding: 10px;
    }

    .container {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }
    .setup-layout {
        flex-direction: column;
    }
    .setup-nav {
        width: 100%;
        min-width: unset;
        border-right: none;
        border-bottom: 1px solid #e8ecf0;
        border-radius: 8px 8px 0 0;
    }
    .setup-content {
        border-radius: 0 0 8px 8px;
    }

    .top-nav {
        margin: -10px -10px 10px -10px;
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Make text slightly smaller and more readable on mobile */
    .header h2 {
        font-size: 1.3em;
    }
    .card h3 {
        font-size: 1.1em;
    }

    /* Stack position items instead of having them side-by-side */
    .position-card {
        grid-template-columns: 1fr;
    }

    /* Make the config form controls stack vertically */
    .config-form {
        grid-template-columns: 1fr;
    }

    #send-command-btn {
        grid-column: 1 / -1; /* Span full width */
        justify-self: stretch; /* Make button full width */
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens (phones) */
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .card {
        padding: 15px;
    }

    .login-modal {
        width: 90%;
        padding: 20px;
    }
    
    .position-item .value {
        font-size: 1em;
    }
}

/* --- Software update --- */
.update-grid { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.update-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.9em; }
.update-label { color: #666; }
.update-row code { padding: 2px 8px; border-radius: 4px; background: #f1f1f1; word-break: break-all; text-align: right; }
.update-row code.update-new { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }
.update-notes { font-size: 0.85em; color: #444; background: #fafafa; border: 1px solid #eee; border-radius: 6px; padding: 8px 10px; margin-bottom: 10px; white-space: pre-wrap; }
.update-msg { font-size: 0.85em; min-height: 1.2em; margin: 6px 0; color: #555; }
.update-msg.update-error { color: #c62828; }
.update-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.update-actions .btn-save { margin: 0; }
.update-actions .btn-save:disabled { opacity: 0.5; cursor: not-allowed; }
.update-hint { font-size: 0.78em; color: #888; margin: 10px 0 0; }
.setup-nav-item.has-update::after { content: " \25CF"; color: #e65100; }
.update-offline { margin-top: 14px; border-top: 1px solid #eee; padding-top: 10px; font-size: 0.9em; }
.update-offline summary { cursor: pointer; color: #005a9e; }

/* --- Rover: distance to the RTK source --- */
.rtk-source-far { color: #c62828; font-weight: 700; }
.rtk-source-warning {
    margin: 8px 0 0; padding: 10px 12px; border-radius: 6px;
    background: #fff3e0; border: 1px solid #ffb74d; color: #8a4b00; font-size: 0.9em;
}

/* --- Input Source --- */
.input-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.input-fieldset:disabled { opacity: 0.45; }
.input-fieldset:disabled .btn-save { cursor: not-allowed; }
.rover-check small { color: #888; font-size: 0.85em; }
.rover-check input[type="checkbox"] { width: auto; margin-right: 6px; }

/* Wi-Fi signal strength in the home page Network row */
.wifi-signal { white-space: nowrap; font-weight: 600; }
.net-val.wifi-good { color: #2e7d32; } .net-val.wifi-fair { color: #ef6c00; } .net-val.wifi-weak { color: #c62828; }
.wifi-good { color: #2e7d32; }
.wifi-fair { color: #ef6c00; }
.wifi-weak { color: #c62828; }
