/* System Status: the same shared surfaces, buttons and record cards as Activity. */
#system-status-view main { display: flex; flex-direction: column; gap: 20px; min-width: 0; overflow-wrap: anywhere; }
#system-status-view main > .dashboard-card { margin: 0; }
#system-status-view .dashboard-card h2 { margin-top: 0; color: #16324f; }
#system-status-view .dashboard-card p { min-height: 0; }
#system-status-error:empty { display: none; }
.system-status-intro p { margin: 0 0 12px; }
.system-status-summary p { font-weight: 600; color: #16324f; }
.system-status-summary .system-status-summary-problem { color: #8a1c14; }
.system-status-list { display: flex; flex-direction: column; gap: 10px; }
.system-status-job { padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.system-status-job-failed { border-color: #f5c2c0; background: #fff8f7; }
.system-status-job-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px; color: #16324f; }
.system-status-meta { margin: 4px 0 0; font-size: 13px; color: #4b5563; }
.system-status-problem { margin: 6px 0 0; font-size: 14px; color: #8a1c14; }
.system-status-badge { font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.system-status-badge.is-ok { background: #e6f4ea; color: #1e5631; }
.system-status-badge.is-running { background: #e8eef6; color: #16324f; }
.system-status-badge.is-failed { background: #fde8e7; color: #8a1c14; }
.system-status-badge.is-late { background: #fff4d6; color: #7a4b00; }
.system-status-badge.is-none { background: #f1f5f9; color: #4b5563; }
/* Backups (owner, 17 November 2026). */
#system-status-view h3 { color: #16324f; margin: 18px 0 8px; font-size: 16px; }
#backups-error:empty, #backups-summary:empty { display: none; }
.backups-lead, .backups-strong { font-weight: 600; color: #16324f; }
.backups-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
#system-status-view .backups-actions button { margin: 0; }
#system-status-view .backups-actions button + button { margin-left: 0; }
.backups-ok { color: #1e5631; font-weight: 600; }
.backups-message { margin: 0 0 10px; }
.backups-summary p { margin: 4px 0; }

/* Backup reminder on Select Website (owner, 21 November 2026). */
.backup-due-notice { border-left: 5px solid #b45309; background: #fffbeb; margin-bottom: 20px; }
.backup-due-notice h2 { margin-top: 0; }
.backup-due-notice .backups-actions button { margin: 0; }
.backup-due-notice .backups-actions button + button { margin-left: 0; }

/* Restore from a Backup (owner, 21 November 2026). */
.restore-file { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.restore-file label, .restore-confirm label, .restore-filter-label { font-weight: 600; color: #16324f; font-size: 14px; }
.restore-file input[type=file] { font: inherit; max-width: 100%; }
.restore-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.restore-tools input { flex: 1 1 200px; min-width: 0; min-height: 40px; padding: 8px 10px; font: inherit; border: 1px solid #94a3b8; border-radius: 8px; box-sizing: border-box; }
#system-status-view .restore-tools button, #system-status-view .backups-actions button { margin: 0; }
.restore-tables { display: grid; gap: 6px; }
.restore-table { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #d5dde8; border-radius: 8px; padding: 8px 12px; }
.restore-table input { width: 18px; height: 18px; flex: 0 0 auto; }
.restore-table span { overflow-wrap: anywhere; }
.restore-table small { margin-left: auto; color: #4b5563; text-align: right; }
.restore-option { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 6px; font-weight: 600; color: #7a271a; }
.restore-option input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.restore-confirm { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 4px; max-width: 320px; }
.restore-confirm input { min-height: 40px; padding: 8px 10px; font: inherit; border: 1px solid #94a3b8; border-radius: 8px; }
#restore-summary:empty, #restore-progress:empty, #restore-error:empty { display: none; }
@media (max-width: 600px) { .restore-table { flex-wrap: wrap; } .restore-table small { margin-left: 28px; text-align: left; } }
