:root {
  font-family: Inter, Arial, sans-serif;
  color: #152e46;
  background: #f3f6fa;
  font-synthesis: none;
  --ink: #102b43;
  --blue: #0868b3;
  --line: #dce4ed;
  --muted: #5a6d80;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
.button {
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  padding: 11px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}
button:hover,
.button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.secondary {
  background: #fff;
  border-color: #c9d5e3;
  color: var(--ink);
}
.quiet {
  background: transparent;
  border-color: #586c80;
  color: inherit;
  padding: 7px 12px;
}
a {
  color: var(--blue);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #e8a942;
  outline-offset: 3px;
}
.topbar {
  min-height: 78px;
  background: #102b43;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 16px max(28px, calc((100vw - 1360px) / 2));
  flex-wrap: wrap;
}
.topbar a {
  color: #d5e3f0;
  text-decoration: none;
}
.wordmark {
  font-weight: 900;
  letter-spacing: -1px;
  font-size: 23px;
  color: #fff !important;
  white-space: nowrap;
}
.wordmark span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4.6px;
  margin-top: 2px;
  color: #b2d7f6;
}
.topbar nav {
  display: flex;
  gap: 24px;
  align-self: stretch;
  align-items: center;
}
.topbar nav a {
  font-size: 13px;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
.topbar nav .active {
  color: #fff;
  border-bottom-color: #6ec7ff;
}
.account {
  margin-left: auto;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
}
main {
  max-width: 1360px;
  margin: auto;
  padding: 32px 28px 20px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 800;
  color: var(--blue);
  display: block;
  margin-bottom: 9px;
}
h1 {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 0 0 10px;
  font-weight: 800;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
  margin: 0;
}
h3 {
  margin: 0;
  font-size: 17px;
}
.intro p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.live-tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 16px;
  background: #e1edf8;
  color: #1b5b89;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 4px;
  padding: 7px 9px;
}
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 400px;
}
.intro-actions .small {
  width: 100%;
  text-align: right;
}
.filters {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 20px;
}
.filters label {
  flex: 1;
  min-width: 130px;
}
label {
  font-size: 11px;
  font-weight: 700;
  color: #526579;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.search-label {
  flex: 1.8 !important;
}
select,
input {
  width: 100%;
  border: 1px solid #cad5e1;
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  min-height: 42px;
  padding: 9px 11px;
  font-size: 13px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 32px;
}
.stat {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  border-top: 3px solid #2b7cb6;
}
.stat strong {
  display: block;
  font-size: 31px;
  letter-spacing: -1px;
  margin: 5px 0;
}
.stat .stat-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}
.stat .small {
  font-size: 11px;
}
.section {
  margin-bottom: 30px;
}
.section-heading {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.section-heading p {
  font-size: 12px;
  margin: 0;
  color: var(--muted);
}
.section-heading .eyebrow {
  margin-bottom: 7px;
}
.priority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.priority-card,
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.priority-card {
  border-top: 4px solid #0d73ba;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-top {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.brand-name {
  font-weight: 800;
  font-size: 14px;
}
.tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  border-radius: 5px;
  padding: 6px 8px;
  background: #e6f1fa;
  color: #1b6394;
}
.tag.new {
  background: #fff0cc;
  color: #775000;
}
.tag.neutral {
  background: #eef1f5;
  color: #506174;
}
.tag.warning {
  background: #fff0df;
  color: #84551d;
}
.tag.ok {
  background: #e4f3ec;
  color: #1e6c4c;
}
.tag.bad {
  background: #fce8e8;
  color: #993535;
}
.theme-label {
  font-size: 11px;
  color: #536c82;
  font-weight: 700;
}
.priority-card blockquote {
  margin: 0;
  padding: 12px 14px;
  background: #f2f6fa;
  border-left: 3px solid #8fb3d2;
  line-height: 1.6;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.callout-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #3e6381;
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
}
.priority-card p,
.recommendation p {
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}
.next-check {
  background: #f9f6ed;
  border-radius: 7px;
  padding: 12px;
}
.card-link {
  font-size: 12px;
  font-weight: 700;
  margin-top: auto;
}
.small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.theme-row {
  padding: 15px 0;
  border-bottom: 1px solid #edf1f5;
}
.theme-row:first-child {
  padding-top: 0;
}
.theme-row strong {
  font-size: 14px;
}
.theme-row .small {
  margin: 6px 0;
}
.theme-row meter {
  display: block;
  width: 100%;
  height: 12px;
  accent-color: #1273b8;
}
.recommendation {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.recommendation h3 {
  font-size: 14px;
  margin-bottom: 8px;
}
.recommendation .small {
  margin-top: 8px;
}
.inline-label {
  min-width: 180px;
}
.table-wrap {
  overflow: auto;
  margin: 16px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  min-width: 650px;
}
caption {
  text-align: left;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 10px;
}
th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: #f0f5fa;
  color: #45617a;
  padding: 12px;
}
td {
  border-bottom: 1px solid #e7edf3;
  padding: 14px 12px;
  vertical-align: top;
  line-height: 1.6;
}
td:first-child {
  font-weight: 700;
  min-width: 150px;
}
td:last-child {
  max-width: 310px;
}
.campaign-row {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13px;
}
.campaign-row .small {
  display: block;
  margin-top: 5px;
}
.text-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 16px;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0;
}
.event {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid #b4c9db;
  border-radius: 8px;
  padding: 17px 20px;
}
.event.changed {
  border-left-color: #e8a942;
}
.event-top {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.event-top time {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}
.event-summary {
  font-size: 12px;
  margin: 12px 0 0;
  color: var(--muted);
}
details {
  margin-top: 14px;
}
summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: #315675;
}
.event ul {
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.8;
}
.event .removed {
  color: #914848;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.source {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  font-size: 12px;
}
.source .tag {
  margin: 10px 0;
}
.source p {
  margin: 4px 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.source button {
  margin-top: 10px;
  min-height: 30px;
  font-size: 10px;
  padding: 5px 9px;
}
.coverage-note {
  background: #e9eff5;
  border-radius: 9px;
  padding: 18px;
  color: #53697e;
}
.coverage-note p {
  font-size: 12px;
  line-height: 1.8;
}
.empty {
  padding: 26px;
  background: #eef3f8;
  border: 1px dashed #bdccda;
  border-radius: 9px;
  line-height: 1.7;
  color: #526a80;
  font-size: 13px;
}
.priority-grid > .empty {
  grid-column: 1/-1;
}
.message {
  border: 1px solid #a9c8e4;
  background: #e5f1fb;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.message.error {
  border-color: #e2abab;
  background: #fff0ef;
  color: #843d3d;
}
.signin {
  max-width: 650px;
  margin: 8vh auto;
  padding: 50px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 70px #1234510a;
}
.signin h1 {
  font-size: 52px;
  line-height: 1.04;
  margin: 20px 0;
}
.signin p {
  line-height: 1.8;
  color: var(--muted);
}
.signin .button {
  margin-left: 8px;
}
.signin .eyebrow {
  font-size: 11px;
}
.signin .small {
  margin-top: 26px;
}
code {
  background: #e8eef5;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 11px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 8px;
  font-size: 10px;
  letter-spacing: 0.7px;
  color: #6c7f90;
}
@media (max-width: 1050px) {
  .source-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .priority-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .priority-card:last-child {
    grid-column: 1/-1;
  }
  .intro {
    align-items: flex-start;
  }
  .live-tag {
    display: block;
    width: max-content;
    margin: 12px 0 0;
  }
  .filters {
    flex-wrap: wrap;
  }
  .filters label {
    flex: 1 1 40%;
  }
}
@media (max-width: 680px) {
  main {
    padding: 24px 16px;
  }
  .topbar {
    padding: 16px 20px;
    gap: 16px;
  }
  .topbar nav {
    order: 3;
    width: 100%;
    gap: 28px;
  }
  .account {
    font-size: 10px;
    gap: 8px;
  }
  .intro {
    display: block;
  }
  .intro-actions {
    margin-top: 18px;
    justify-content: flex-start;
  }
  .intro-actions .small {
    text-align: left;
  }
  h1 {
    font-size: 28px;
  }
  .priority-grid,
  .two-column {
    grid-template-columns: 1fr;
  }
  .priority-card:last-child {
    grid-column: auto;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 27px;
  }
  .filters {
    padding: 14px;
    gap: 12px;
  }
  .filters label {
    min-width: 115px;
  }
  .search-label {
    flex-basis: 100% !important;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .source-grid {
    grid-template-columns: 1fr 1fr;
  }
  .signin {
    padding: 28px;
    margin: 5vh 0;
  }
  .signin h1 {
    font-size: 43px;
  }
  .signin .button {
    margin: 12px 0 0;
  }
  .event-top time {
    margin-left: 0;
    width: 100%;
  }
  footer {
    flex-direction: column;
  }
  .inline-label {
    width: 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background 0.15s,
      opacity 0.15s;
  }
}
