* { box-sizing: border-box; }
body {
  font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
  padding: 16px;
  color: #1f2328;
  background: #f6f7f9;
}
#main { max-width: 1100px; margin: 0 auto; }
header h1 { font-size: 20px; margin: 0 0 12px; }

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.toolbar input {
  flex: 1 1 260px;
  padding: 8px 10px;
  border: 1px solid #d0d5db;
  border-radius: 6px;
  font-size: 14px;
}
.toolbar button {
  padding: 8px 14px;
  border: 1px solid #d0d5db;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}
.toolbar button:hover { background: #eef1f4; }
.summary { font-size: 13px; color: #57606a; }

.status-message { font-size: 14px; color: #57606a; margin-bottom: 8px; }
.status-message.error { color: #b3261e; }

.resource-group { margin-bottom: 20px; background: #fff; border: 1px solid #e2e5e9; border-radius: 8px; overflow: hidden; }
.resource-group h2 {
  font-size: 14px;
  margin: 0;
  padding: 10px 14px;
  background: #eef1f4;
  border-bottom: 1px solid #e2e5e9;
}

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 8px 14px; border-bottom: 1px solid #eef1f4; }
th { color: #57606a; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .02em; }
tr:last-child td { border-bottom: none; }

.badge {
  display: inline-block;
  min-width: 64px;
  text-align: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.badge.green { background: #1f9d55; }
.badge.amber { background: #d97706; }
.badge.red { background: #d0342c; }
.badge.unknown { background: #8b949e; }

.days-cell { font-variant-numeric: tabular-nums; }
