:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2a24;
  background: #f5f1e8;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; grid-template-columns: 236px 1fr; }
aside { position: sticky; top: 0; height: 100vh; padding: 28px 22px; color: #fff; background: #173c30; display: flex; flex-direction: column; }
.brand { color: inherit; text-decoration: none; display: flex; align-items: center; }
.brand img { display: block; width: 136px; height: auto; }
.environment { margin: 10px 0 34px; color: #afc4b7; font-size: 9px; letter-spacing: 1.2px; font-weight: 800; }
nav { display: grid; gap: 6px; }
nav a { color: #cbd9d0; text-decoration: none; padding: 11px 13px; border-radius: 10px; font-size: 14px; font-weight: 650; display: flex; justify-content: space-between; }
nav a.active, nav a:hover { color: #fff; background: #245846; }
nav small { min-width: 22px; padding: 2px 6px; text-align: center; color: #173c30; background: #f4d49c; border-radius: 999px; }
.sidebar-note { margin-top: auto; color: #afc4b7; font-size: 11px; line-height: 1.5; }
main { width: min(1260px, 100%); padding: 42px clamp(24px, 4vw, 64px); }
header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; }
.eyebrow { margin: 0 0 6px; color: #e67e62; font-size: 10px; letter-spacing: 1.5px; font-weight: 900; }
h1 { margin: 0; font-size: 38px; letter-spacing: -1.3px; }
h2 { margin: 0; font-size: 25px; letter-spacing: -.6px; }
.subtitle { margin: 6px 0 0; color: #667069; }
.header-actions { display: flex; gap: 9px; }
.button { cursor: pointer; border: 1px solid #245846; border-radius: 999px; padding: 11px 17px; font: inherit; font-size: 13px; font-weight: 800; }
.button.primary { color: white; background: #245846; }
.button.secondary { color: #245846; background: transparent; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr)); gap: 12px; margin: 30px 0 22px; }
.stats article { padding: 18px; background: #fffdf8; border: 1px solid #ded8cc; border-radius: 15px; }
.stats span, .stats small { display: block; color: #667069; font-size: 11px; }
.stats strong { display: block; margin: 8px 0 4px; font-size: 28px; }
.panel { overflow: hidden; background: #fffdf8; border: 1px solid #ded8cc; border-radius: 18px; }
.filters { padding: 15px; display: grid; grid-template-columns: minmax(240px, 1fr) 210px 170px; gap: 10px; border-bottom: 1px solid #ded8cc; }
.search { display: flex; align-items: center; gap: 8px; }
input, select { width: 100%; min-height: 42px; border: 1px solid #ded8cc; border-radius: 10px; padding: 0 12px; color: #1f2a24; background: #fff; font: inherit; font-size: 13px; }
.search input { padding-left: 34px; }
.search span { position: absolute; margin-left: 12px; color: #667069; z-index: 1; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th { padding: 12px 16px; text-align: left; color: #667069; background: #f8f5ee; font-size: 10px; letter-spacing: .7px; text-transform: uppercase; }
td { padding: 14px 16px; border-top: 1px solid #ece7de; font-size: 13px; vertical-align: middle; }
.place-name { display: block; font-weight: 800; }
.place-address { display: block; margin-top: 3px; color: #667069; font-size: 11px; }
.status { display: inline-block; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.status.published { color: #245846; background: #dde9df; }
.status.review { color: #7a4d0d; background: #f4d49c; }
.confidence { width: 80px; height: 6px; background: #e8e3d9; border-radius: 99px; overflow: hidden; }
.confidence span { display: block; height: 100%; background: #245846; }
.row-action { border: 0; background: transparent; color: #245846; font-weight: 900; cursor: pointer; }
.panel-footer { display: flex; justify-content: space-between; padding: 13px 16px; color: #667069; background: #f8f5ee; font-size: 11px; }
.notice { min-height: 22px; color: #245846; font-size: 13px; font-weight: 700; }
.source-section { margin-top: 30px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 14px; }
.read-only-note { color: #667069; font-size: 11px; }
.source-link { color: #245846; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.signal-cell { max-width: 430px; color: #4d5851; line-height: 1.45; }
.priority { display: inline-block; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 850; }
.priority.strong { color: #fff; background: #245846; }
.priority.promising { color: #245846; background: #dde9df; }
.priority.normal { color: #7a4d0d; background: #f4d49c; }
.priority.low { color: #667069; background: #ece7de; }
.flags-cell { color: #7a4d0d; font-size: 11px; font-weight: 750; }
.coverage-stats { margin-top: 0; }
.coverage-alerts { margin-top: 14px; }
@media (max-width: 850px) {
  body { grid-template-columns: 1fr; }
  aside { position: static; width: 100%; height: auto; }
  nav { grid-template-columns: repeat(3, 1fr); }
  .sidebar-note { margin-top: 20px; }
  header { align-items: flex-start; flex-direction: column; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}
