/* Shared desktop typography, matching the Devices dashboard. */
:root {
    --font-ui: system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-code: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
body {
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0;
}
body button, body input, body select, body textarea {
    font-family: inherit;
}
body button, body select, body input:not([type="checkbox"]):not([type="radio"]),
body .btn, body a[class^="btn-"], body a[class*=" btn-"],
body .admin-nav-item, body label, body th {
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
}
body th { font-weight: 600; }
body td { font-size: 14px; }
body .header h1 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}
body .page-header h2, body .admin-page-title, body .login-container h1 {
    font-size: 22px;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -.5px;
    text-transform: none;
}
body .admin-section h2, body .admin-section.compact h2,
body .admin-sidebar-title, body .modal-box h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}
body .info-label, body .stat-label, body .stat-label-compact,
body .admin-page-subtitle, body .page-header p {
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
}
body .help-text, body .form-help, body .result-count, body .refresh-note,
body .modal-box p, body small {
    font-size: 13px;
    letter-spacing: 0;
}
body .stat-value, body .stat-value-compact { font-variant-numeric: tabular-nums; }
/* Technical values and command output retain fixed-width alignment. */
pre, code, kbd, samp, .device-id, .device-code, .device-id-c5,
.key-output, .folder-path, .d-evt.d-command, .d-evt.d-command_result {
    font-family: var(--font-code);
}
.leaflet-container { font-family: var(--font-ui); }
