:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #17211c; background: #f2f5f3; }
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(1180px, calc(100% - 32px)); margin: 36px auto 72px; }
header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
h1 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 6px; letter-spacing: -0.04em; }
h2 { font-size: 20px; margin: 0 0 16px; }
p { margin: 0; color: #5d6a63; }
.loading { min-height: 60vh; display: grid; place-items: center; padding: 32px; text-align: center; }
.loading .error { max-width: 620px; border: 1px solid #f1c4bf; border-radius: 12px; background: #fff0ef; color: #8c2922; padding: 18px; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card { grid-column: span 12; background: #fff; border: 1px solid #dbe3de; border-radius: 14px; padding: 20px; box-shadow: 0 8px 28px rgba(25, 45, 34, .05); overflow: hidden; }
.half { grid-column: span 6; }
.card-heading { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.card-heading h2 { margin-bottom: 6px; }
.eyebrow { margin-bottom: 5px; color: #657269; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.attention-card { padding: 24px; }
.attention-card.has-issues { border-color: #efc2bd; box-shadow: 0 8px 28px rgba(140, 41, 34, .07); }
.attention-card.all-clear { border-color: #bcdcc9; }
.issue-total { min-width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 12px; background: #e8f6ee; color: #12683c; font-size: 20px; font-weight: 750; }
.has-issues .issue-total { background: #fff0ef; color: #8c2922; }
.issue-metrics { display: flex; gap: 10px; margin-top: 18px; }
.issue-metric { min-width: 140px; display: flex; align-items: baseline; gap: 8px; border: 1px solid #e3e9e5; border-radius: 10px; padding: 10px 12px; background: #f8faf9; }
.issue-metric strong { font-size: 18px; }
.issue-metric span { color: #657269; font-size: 13px; }
.issue-list { margin-top: 18px; border-top: 1px solid #edf1ee; }
.issue-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid #edf1ee; }
.issue-row:last-child { border-bottom: 0; padding-bottom: 0; }
.issue-main { min-width: 0; display: grid; gap: 7px; }
.issue-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #748078; font-size: 12px; }
.issue-kind { border-radius: 999px; padding: 4px 8px; background: #fff0ef; color: #8c2922; font-weight: 700; }
.error-summary, .error-details summary { color: #8c2922; font-size: 13px; line-height: 1.45; }
.error-details summary { cursor: pointer; }
.error-details pre { max-width: 760px; max-height: 260px; overflow: auto; margin: 10px 0 0; border-radius: 8px; padding: 12px; background: #18201c; color: #e9f2ed; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-word; }
.disclosure { padding: 0; }
.section-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-size: 17px; font-weight: 700; list-style: none; }
.section-summary::-webkit-details-marker { display: none; }
.section-summary::after { content: '+'; color: #657269; font-size: 20px; font-weight: 500; }
.disclosure[open] > .section-summary::after { content: '−'; }
.disclosure[open] > .section-summary { border-bottom: 1px solid #edf1ee; }
.disclosure > :not(summary) { margin-inline: 20px; }
.disclosure > :last-child { margin-bottom: 20px; }
.count-badge { margin-left: auto; min-width: 28px; border-radius: 999px; padding: 4px 8px; background: #f0f5f2; color: #425048; font-size: 12px; text-align: center; }
.status { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 7px 11px; font-size: 13px; font-weight: 650; background: #e8f6ee; color: #12683c; }
.status.off { background: #fff0e5; color: #8a430a; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
form.inline { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
label { display: grid; gap: 6px; color: #425048; font-size: 13px; font-weight: 650; }
input { min-width: 220px; border: 1px solid #cbd6cf; border-radius: 8px; padding: 10px 11px; font: inherit; }
button, .button { border: 0; border-radius: 8px; background: #1a5e3c; color: #fff; padding: 11px 15px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; }
.button.secondary { border: 1px solid #cbd6cf; background: #fff; color: #425048; }
button.danger { background: transparent; color: #9a2b2b; padding: 4px 7px; }
button.retry { padding: 7px 11px; font-size: 13px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { color: #657269; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; text-align: left; }
th, td { padding: 11px 9px; border-bottom: 1px solid #edf1ee; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
code { color: #244c37; background: #f0f5f2; border-radius: 5px; padding: 2px 5px; }
.muted { color: #748078; }
.alert { white-space: pre-line; margin-bottom: 18px; border-radius: 10px; padding: 13px 15px; background: #e7f6ed; color: #185f39; }
.alert.error { background: #fff0ef; color: #8c2922; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.overflow-x { overflow-x: auto; }
.pager { margin-top: 16px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pagination a, .pagination span { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d7e0da; border-radius: 8px; padding: 0 10px; color: #244c37; background: #fff; font-size: 13px; font-weight: 650; text-decoration: none; }
.pagination a:hover { border-color: #1a5e3c; background: #f0f5f2; }
.pagination .active { border-color: #1a5e3c; background: #1a5e3c; color: #fff; }
.pagination .disabled { color: #9aa39d; background: #f7f9f8; cursor: default; }
.pagination .ellipsis { min-width: auto; border-color: transparent; padding-inline: 5px; }
@media (max-width: 800px) { .half { grid-column: span 12; } header, .issue-row { align-items: start; flex-direction: column; } .issue-metrics { width: 100%; } .issue-metric { min-width: 0; flex: 1; } table { min-width: 680px; } }
