
:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #102033; background: #f4f7f8; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.auth-shell { width: min(92vw, 440px); margin: 10vh auto; }
.command-shell { width: min(96vw, 1480px); margin: 28px auto 60px; }
.brand-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.brand-bar > div { display: flex; align-items: baseline; gap: 10px; }
.brand-bar strong { font-size: 23px; color: #073f3a; }
.brand-bar span { color: #526579; }
.panel { background: #fff; border: 1px solid #dce5e8; border-radius: 8px; padding: 28px; box-shadow: 0 14px 34px rgba(16,32,51,.08); }
.command-panel { background: #fff; border: 1px solid #dce5e8; border-radius: 8px; overflow: hidden; box-shadow: 0 14px 34px rgba(16,32,51,.07); }
.command-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px 18px; border-bottom: 1px solid #e6ecee; }
h1 { margin: 0 0 16px; font-size: 25px; letter-spacing: 0; }
.command-heading h1 { margin: 0; font-size: 28px; }
h2 { margin: 0; font-size: 18px; letter-spacing: 0; }
.eyebrow { margin: 0 0 6px; color: #087d69; font-size: 12px; font-weight: 800; text-transform: uppercase; }
form, #enroll { display: grid; gap: 16px; }
label { display: grid; gap: 7px; color: #34475a; font-size: 14px; font-weight: 600; }
input, textarea, select { width: 100%; border: 1px solid #aebdc5; border-radius: 6px; padding: 11px 12px; background: #fff; color: #102033; font: inherit; }
textarea { min-height: 92px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(0,151,122,.18); border-color: #007c68; }
button { min-height: 42px; border: 0; border-radius: 6px; padding: 10px 15px; background: #007c68; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
button.secondary { border: 1px solid #9fb2ba; background: #fff; color: #18384b; }
button.compact { min-height: 36px; padding: 7px 12px; }
button:disabled { opacity: .6; cursor: wait; }
.status { min-height: 20px; margin: 6px 0 0; color: #b42318; font-size: 14px; }
.panel .status { margin: -10px 0 16px; }
#qr { width: 220px; height: 220px; margin: 0 auto; }
.identity { display: flex; gap: 18px; margin: 0; padding: 12px 28px; border-bottom: 1px solid #e6ecee; background: #f8fafb; font-size: 13px; }
.identity div { display: flex; gap: 6px; }
.identity dt { color: #637486; }
.identity dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 20px 28px; border-bottom: 1px solid #e6ecee; }
.summary-item { min-height: 104px; border: 1px solid #dce5e8; border-radius: 6px; padding: 17px; }
.summary-item strong { display: block; margin-top: 9px; font-size: 27px; }
.summary-item span { color: #607284; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.summary-item small { display: block; margin-top: 7px; color: #607284; }
.notice { margin: 22px 28px; border-left: 4px solid #d4a72c; padding: 14px 16px; background: #fff9e8; }
.data-section { padding: 24px 28px; border-bottom: 1px solid #e6ecee; }
.data-section:last-child { border-bottom: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.section-heading p { margin: 5px 0 0; color: #607284; font-size: 13px; }
.count { color: #607284; font-size: 13px; white-space: nowrap; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { padding: 9px 10px; border-bottom: 1px solid #cfdadd; color: #607284; text-align: left; font-size: 11px; text-transform: uppercase; }
td { padding: 12px 10px; border-bottom: 1px solid #edf1f2; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.primary-text { display: block; font-weight: 750; }
.secondary-text { display: block; margin-top: 4px; color: #607284; font-size: 12px; overflow-wrap: anywhere; }
.badge { display: inline-flex; align-items: center; min-height: 24px; border-radius: 999px; padding: 3px 8px; background: #e8eef1; color: #314859; font-size: 11px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.badge.healthy, .badge.resolved { background: #dcf8ea; color: #087443; }
.badge.degraded, .badge.warning, .badge.acknowledged { background: #fff0c7; color: #805d00; }
.badge.unhealthy, .badge.urgent, .badge.open { background: #ffe3df; color: #a93226; }
.badge.critical { background: #b42318; color: #fff; }
.badge.unknown, .badge.info, .badge.suppressed { background: #e8eef1; color: #43596a; }
.component-list { display: flex; flex-wrap: wrap; gap: 5px; min-width: 280px; }
.row-actions { display: flex; gap: 7px; min-width: 150px; }
.row-actions button { min-height: 32px; padding: 5px 9px; font-size: 12px; }
.pager { display: flex; justify-content: center; padding: 12px 0 2px; }
.empty { padding: 24px 10px; color: #607284; text-align: center; }
dialog { width: min(92vw, 480px); border: 1px solid #cad6da; border-radius: 8px; padding: 24px; box-shadow: 0 22px 60px rgba(16,32,51,.25); }
dialog::backdrop { background: rgba(7,31,43,.42); }
dialog h2 { margin-bottom: 8px; }
dialog p { margin: 0 0 16px; color: #607284; font-size: 13px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; }
[hidden] { display: none !important; }
@media (max-width: 880px) {
  .summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .command-heading, .identity, .summary-grid, .data-section { padding-left: 18px; padding-right: 18px; }
  .identity { flex-wrap: wrap; }
}
@media (max-width: 540px) {
  .command-shell { width: 100%; margin: 0; }
  .brand-bar { padding: 14px 16px; margin: 0; }
  .command-panel { border-left: 0; border-right: 0; border-radius: 0; }
  .summary-grid { grid-template-columns: 1fr; }
  .command-heading { align-items: flex-start; }
}
