:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #171a1f;
  --muted: #5f6875;
  --line: #d8dde5;
  --accent: #176b87;
  --ok: #1d7a46;
  --warn: #a56200;
  --danger: #b42318;
  --unknown: #5f6875;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1.1;
}

h2 {
  margin-bottom: 0;
  font-size: 18px;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 48px;
}

.updated,
.section-heading span,
.muted {
  color: var(--muted);
  font-size: 14px;
}

.notice {
  padding: 14px 16px;
  border: 1px solid #f0d58c;
  border-radius: 6px;
  background: #fff8e6;
  color: #5c4400;
}

.section {
  margin-top: 28px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.firm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.firm-card,
.change-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  padding: 16px;
}

.firm-card header,
.change-item header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.firm-card h3,
.change-item h3 {
  margin: 0;
  font-size: 17px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.sev-high {
  background: #fee4e2;
  color: var(--danger);
}

.sev-medium,
.sev-unknown {
  background: #fff0d5;
  color: var(--warn);
}

.sev-low,
.sev-none {
  background: #e7f6ed;
  color: var(--ok);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.summary {
  margin: 12px 0 0;
}

.timeline {
  display: grid;
  gap: 10px;
}

@media (max-width: 640px) {
  .topbar,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar {
    padding: 22px 16px 18px;
  }
}
