/* Shared INFOMAC palette for machine monitoring and backup management. */
:root,body,body.dark{--surface:#f8faff;--line:#d8e1ef;--muted:#6682a5;--ink:#102e4d;--soft:#edf3fc;--blue:#10384e;background:#edf2fc;color:#102e4d;font-family:Arial,Segoe UI,sans-serif}
.sidebar{background:linear-gradient(160deg,#081e2e,#10384e);border-color:#203e52}.sidebar a,.sidebar small{color:#afc3d3}.sidebar .brand{color:#fff}.sidebar nav a.selected{background:#1d465a;color:#ffab23;border-left:3px solid #ffab23}
.topbar,.monitor-header{background:#10384e;color:#e5edf6;border-color:#203e52}.topbar strong,.monitor-brand strong{color:#ffab23}.topbar a,.monitor-header a,.monitor-header button{color:#e4edf5;background:#21495e;border-color:#486476}.topbar #theme{display:none}
.monitor-body{background:#edf2fc}.monitor-body h1,.monitor-body h2,.monitor-body h3{color:#102e4d}.monitor-compliance-dashboard,.backup-company-card,.monitor-side-card,.backup-dashboard-metric{background:#f8faff;border-color:#d8e1ef;box-shadow:0 3px 12px #10384e0b}.monitor-body button{border-color:#cddaea}.monitor-body button.active{background:#10384e;color:#fff}.monitor-compliance-table thead{background:#edf3fc}.monitor-body .monitor-compliance-dashboard>header{background:#f8faff;border-color:#d8e1ef}
/* Company connectivity and separate activity view */
[hidden]{display:none!important}.monitor-tabs{display:flex;gap:8px;border-bottom:1px solid #d9e2ee;margin:16px 0}.monitor-tabs button{border:0;border-radius:8px 8px 0 0;padding:12px 20px;background:transparent;color:#36536e}.monitor-tabs button[aria-selected=true]{background:#10384e;color:#fff}.company summary>strong{display:flex;align-items:center;gap:10px}.station-icon{display:inline-flex;flex:none;width:36px;height:36px;align-items:center;justify-content:center;border-radius:10px;background:currentColor}.station-icon svg{width:25px;height:25px;stroke:white;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round;fill:none}.station-icon.online{color:#1fa346}.station-icon.warning{color:#d49c1c}.station-icon.offline{color:#d14444}.dot.offline{background:#d14444!important}.dot.unknown{background:#d49c1c!important}.activity-row{display:grid;grid-template-columns:1fr auto auto;gap:20px;align-items:center;background:#fff;border:1px solid #d9e2ee;border-radius:12px;padding:18px;margin:10px 0;color:#18344e}.activity-row p{margin:6px 0}.activity-row small,.activity-row time{color:#607990}.activity-state{background:#eaf0f8;padding:6px 12px;border-radius:20px}.activity-state.concluido{color:#15763a;background:#e1f5e9}.activity-state.erro{color:#b62f39;background:#fde9eb}.activity-state.executando,.activity-state.pendente{color:#87621a;background:#fff2d9}@media(max-width:640px){.activity-row{grid-template-columns:1fr auto;gap:12px}.activity-row time{grid-column:1/-1}.monitor-tabs button{padding:12px}.company summary>strong{min-width:0;overflow-wrap:anywhere}}
#criticalAlerts{border:1px solid #e8bf75;border-left:4px solid #d49c1c;border-radius:12px;background:#fff8e9;padding:12px 18px;margin:12px 0}#criticalAlerts h2{font-size:17px;margin:0}#criticalAlerts p{font-size:14px;margin:10px 0}

/* R6: concise company status; verbose alerts are available only in collapsed PC details. */
.company-status-name{min-width:0;overflow-wrap:anywhere}.company-status-name.online,.company-status-label.online{color:#168238}.company-status-name.warning,.company-status-label.warning{color:#997000}.company-status-name.offline,.company-status-label.offline{color:#111}.company-status-name.error,.company-status-label.error{color:#c02632}.station-icon.offline{color:#111}.station-icon.error{color:#c02632}.dot.offline{background:#111!important}.company-status-label{font-size:11px;font-weight:600;white-space:nowrap}#groups summary{gap:10px}#groups summary>.counts{margin-left:auto}.company-root>.machine-row{margin-left:12px;width:calc(100% - 12px)}.alert-list{overflow-wrap:anywhere;white-space:pre-wrap}@media(max-width:640px){#groups summary{gap:7px;flex-wrap:wrap}.station-icon{width:30px;height:30px}.station-icon svg{width:22px;height:22px}.company-status-name{flex:1;min-width:100px}.company-status-label{font-size:10px}#groups summary>.counts{font-size:10px}}
