html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #eef1f5;
  color: #1f2937;
}

a {
  color: #0f766e;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  background: #ffffff;
  border-bottom: 1px solid #d7dde6;
  padding: 12px 24px 10px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.topbar h1 {
  margin: 2px 0 0;
  font-size: 24px;
  line-height: 1.1;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #0f766e;
}

.topbar-meta {
  margin-top: 6px;
  font-size: 13px;
  color: #4b5563;
  word-break: break-all;
}

.nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.nav a:hover {
  text-decoration: none;
  background: #f0fdfa;
  border-color: #99f6e4;
}

.subnav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trend-subnav {
  gap: 8px;
}

.subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #111827;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.subnav a.active {
  background: #0f766e;
  color: #ffffff;
  border-color: #0f766e;
  box-shadow: 0 8px 16px rgba(15, 118, 110, 0.18);
}

.subnav a:hover {
  text-decoration: none;
  background: #f0fdfa;
  border-color: #99f6e4;
}

.subnav a.active:hover {
  background: #0f766e;
  border-color: #0f766e;
}

.page {
  padding: 16px 24px 20px;
}

.site-footer {
  border-top: 1px solid #d7dde6;
  background: #ffffff;
  margin-top: 24px;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 24px 18px;
  color: #4b5563;
  font-size: 13px;
}

.site-footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.static-page {
  max-width: 960px;
  margin: 0 auto;
}

.static-page-header {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 20px 22px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  margin-bottom: 14px;
}

.static-kicker {
  margin: 0 0 8px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.static-page-header h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.static-intro {
  margin: 12px 0 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.7;
}

.static-updated {
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 13px;
}

.static-sections {
  display: grid;
  gap: 12px;
}

.static-section {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 18px 22px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.static-section h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.static-section p,
.static-section li {
  color: #374151;
  line-height: 1.7;
}

.static-section ul {
  margin: 10px 0 0 18px;
  padding: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.ops-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.ops-status strong {
  display: block;
  font-size: 22px;
  margin-top: 4px;
}

.ops-date {
  display: block;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ops-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ops-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
}

.ops-actions a:hover {
  text-decoration: none;
  border-color: #0f766e;
}

.ops-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.ops-summary article {
  min-height: 70px;
  padding: 12px 14px;
  border-left: 1px solid #e5e7eb;
  box-sizing: border-box;
}

.ops-summary article:first-child {
  border-left: 0;
}

.ops-summary span {
  display: block;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ops-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.ops-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.85fr) minmax(420px, 2.3fr) minmax(260px, 1fr);
  gap: 12px;
  align-items: stretch;
  margin-bottom: 12px;
}

.ops-main {
  display: grid;
  gap: 12px;
}

.ops-panel {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  min-width: 0;
  overflow: hidden;
}

.ops-panel-header {
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ops-panel-header.compact {
  border-top: 1px solid #e5e7eb;
}

.ops-panel-header h2 {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ops-panel-header span,
.ops-panel-header a {
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
}

.incident-feed,
.attention-stack,
.report-list,
.regional-list,
.severity-bars {
  padding: 8px 12px;
}

.incident-feed-item,
.attention-item,
.report-list a,
.regional-list div {
  display: block;
  padding: 11px 2px;
  border-top: 1px solid #e5e7eb;
  color: #111827;
}

.incident-feed-item:first-child,
.attention-item:first-child,
.report-list a:first-child,
.regional-list div:first-child {
  border-top: 0;
}

.incident-feed-item:hover,
.attention-item:hover,
.report-list a:hover {
  text-decoration: none;
}

.incident-time {
  display: block;
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
}

.incident-feed-item strong,
.attention-item strong,
.report-list strong,
.regional-list strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.incident-feed-item small,
.attention-item span,
.report-list span,
.regional-list span {
  display: block;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 4px;
}

.incident-chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 7px;
}

.dashboard-map {
  min-height: 380px;
  width: 100%;
  background: #e5e7eb;
}

.trend-panel {
  min-height: 132px;
}

.trend-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #e5e7eb;
}

.trend-snapshot-grid div {
  background: #ffffff;
  padding: 16px 14px;
  min-height: 76px;
}

.trend-snapshot-grid span {
  display: block;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
}

.trend-snapshot-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.ops-panel-divider {
  height: 8px;
  background: #f3f4f6;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.empty-state {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.45;
  margin: 10px 2px;
}

.ops-bottom-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}

.severity-row {
  display: grid;
  grid-template-columns: 86px minmax(90px, 1fr) 40px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #e5e7eb;
}

.severity-row:first-child {
  border-top: 0;
}

.severity-track {
  height: 9px;
  background: #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}

.severity-track span {
  display: block;
  height: 100%;
  background: #0f766e;
}

.severity-row strong {
  text-align: right;
}

.metric,
.panel {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

.metric {
  padding: 16px;
}

.metric-label {
  display: block;
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 8px;
}

.metric strong {
  font-size: 26px;
}

.panel {
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.trend-metric {
  margin-bottom: 0;
}

.trend-hero-panel {
  padding: 18px;
}

.trend-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 16px;
}

.trend-kicker {
  margin: 0 0 6px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.trend-scope-line {
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 14px;
}

.trend-filters {
  min-width: min(100%, 380px);
}

.trend-hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.2fr) minmax(300px, 0.9fr);
  gap: 16px;
}

.trend-rolling-card,
.trend-signal-card,
.trend-visual-panel {
  border: 1px solid #dbe1ea;
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.trend-rolling-card .panel-header,
.trend-signal-card .panel-header,
.trend-visual-panel .panel-header {
  margin-bottom: 14px;
}

.trend-rolling-card .panel-header h3,
.trend-signal-card .panel-header h3 {
  margin: 0;
  font-size: 15px;
}

.trend-window-list,
.trend-rank-list {
  display: grid;
  gap: 12px;
}

.trend-window-row,
.trend-rank-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
}

.trend-window-meta,
.trend-rank-head,
.trend-rank-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.trend-window-meta strong,
.trend-rank-head strong {
  font-size: 14px;
}

.trend-window-bars {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.trend-compare-bars {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.trend-window-bar {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
}

.trend-compare-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
}

.trend-window-bar span,
.trend-compare-row span,
.trend-rank-meta span,
.trend-signal-grid span,
.trend-window-bar strong {
  font-size: 12px;
}

.trend-compare-row strong {
  font-size: 12px;
  text-align: right;
}

.trend-bar-track {
  height: 10px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.trend-bar-track.large {
  height: 12px;
  margin-top: 10px;
}

.trend-bar-fill {
  height: 100%;
  border-radius: 999px;
}

.trend-bar-fill.current {
  background: #0f766e;
}

.trend-bar-fill.prior {
  background: #94a3b8;
}

.trend-bar-fill.persistent {
  background: #2563eb;
}

.trend-bar-fill.watch {
  background: #b45309;
}

.trend-bar-fill.month {
  background: #7c3aed;
}

.trend-delta,
.trend-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.trend-delta.up {
  background: #dcfce7;
  color: #166534;
}

.trend-delta.down {
  background: #fee2e2;
  color: #991b1b;
}

.trend-delta.flat,
.trend-pill.neutral {
  background: #e5e7eb;
  color: #374151;
}

.trend-rank-meta {
  margin-top: 10px;
  color: #4b5563;
  flex-wrap: wrap;
}

.trend-rank-list.compact .trend-rank-item {
  padding: 10px 12px;
}

.trend-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trend-signal-grid article {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 12px;
}

.trend-signal-grid article span {
  display: block;
  color: #4b5563;
  font-weight: 700;
}

.trend-signal-grid article strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.trend-signal-grid article small {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  line-height: 1.35;
}

.trend-subnav-panel {
  padding-top: 12px;
  padding-bottom: 12px;
}

.trend-overview-grid {
  align-items: start;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.panel-header h2 {
  margin: 0;
  font-size: 20px;
}

.panel-header span,
.panel-header a {
  font-size: 13px;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
}

.filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.filters select,
.filters input,
.filter-actions button,
.filter-actions a {
  min-height: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
  box-sizing: border-box;
}

.filters select,
.filters input {
  padding: 8px 10px;
  background: #ffffff;
}

.checkbox {
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
}

.filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.inline-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.filter-actions button,
.filter-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: #0f766e;
  color: #ffffff;
}

.filter-actions a {
  background: #e5e7eb;
  color: #111827;
}

.table-wrap {
  overflow-x: auto;
}

.incident-map {
  width: 100%;
  min-height: 520px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  border-top: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

thead th {
  border-top: 0;
  color: #4b5563;
  font-weight: 700;
  background: #f8fafc;
}

.subtle {
  color: #6b7280;
  font-size: 12px;
  margin-top: 4px;
}

.summary-cell {
  max-width: 520px;
  line-height: 1.45;
}

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

.late-breaking {
  background: #dbeafe;
  color: #1d4ed8;
}

.severity-high,
.review-needs_followup {
  background: #fee2e2;
  color: #991b1b;
}

.severity-medium,
.review-new {
  background: #fef3c7;
  color: #92400e;
}

.severity-low,
.review-reviewed,
.review-posted {
  background: #dcfce7;
  color: #166534;
}

.review-dismissed {
  background: #e5e7eb;
  color: #374151;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stack-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #e5e7eb;
}

.stack-item:first-child {
  border-top: 0;
}

.detail-list {
  margin: 0;
}

.detail-list div {
  padding: 10px 0;
  border-top: 1px solid #e5e7eb;
}

.detail-list div:first-child {
  border-top: 0;
}

.detail-list dt {
  font-size: 12px;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 4px;
}

.detail-list dd {
  margin: 0;
}

.summary-text {
  white-space: pre-wrap;
  line-height: 1.5;
}

.artifact-list {
  padding-left: 18px;
  margin: 0;
  word-break: break-word;
}

.trend-notes {
  margin: 0;
  padding-left: 18px;
}

.trend-notes li + li {
  margin-top: 10px;
}

.report-text {
  white-space: pre-wrap;
  line-height: 1.5;
}

.report-text {
  margin: 14px 0 0;
  padding: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.5;
}

.auth-shell {
  min-height: calc(100vh - 170px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: min(100%, 420px);
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 24px;
}

.auth-card h2 {
  margin: 8px 0 10px;
}

.auth-copy {
  margin: 0 0 18px;
  color: #4b5563;
  line-height: 1.5;
}

.auth-error {
  margin-bottom: 14px;
  padding: 10px 12px;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-size: 14px;
}

.auth-success {
  margin-bottom: 14px;
  padding: 10px 12px;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-size: 14px;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}

.auth-form input,
.auth-form button,
.auth-form textarea {
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
  box-sizing: border-box;
}

.auth-form input {
  padding: 8px 10px;
  background: #ffffff;
}

.auth-form textarea {
  padding: 10px;
  background: #ffffff;
  resize: vertical;
}

.auth-form button {
  background: #0f766e;
  color: #ffffff;
  padding: 0 14px;
}

.auth-alt-link {
  margin: 16px 0 0;
  color: #4b5563;
  font-size: 14px;
}

@media (max-width: 720px) {
  .page {
    padding: 16px;
  }

  .topbar {
    padding: 16px;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: start;
  }

  .ops-status {
    flex-direction: column;
    align-items: stretch;
  }

  .ops-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-summary article {
    border-top: 1px solid #e5e7eb;
  }

  .ops-summary article:nth-child(-n + 2) {
    border-top: 0;
  }

  .ops-summary article:nth-child(odd) {
    border-left: 0;
  }

  .ops-layout,
  .ops-bottom-grid {
    grid-template-columns: 1fr;
  }

  .trend-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-map {
    min-height: 320px;
  }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .ops-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ops-layout {
    grid-template-columns: 1fr;
  }

  .ops-bottom-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Dashboard refinement layer */
.ops-status {
  margin-bottom: 10px;
}

.ops-status strong {
  font-size: 21px;
  line-height: 1.1;
}

.ops-actions {
  gap: 8px;
}

.ops-actions a {
  min-height: 34px;
  padding: 0 13px;
  border-color: #c8d1dd;
  color: #334155;
}

.ops-summary {
  margin-bottom: 10px;
  border-color: #cbd5e1;
  background: #f8fafc;
}

.ops-summary article {
  min-height: 58px;
  padding: 10px 14px;
  border-left-color: #dbe2ea;
  background: #ffffff;
}

.ops-summary span,
.trend-snapshot-grid span {
  color: #64748b;
  font-size: 11px;
}

.ops-summary strong {
  margin-top: 4px;
  font-size: 22px;
  line-height: 1.1;
}

.ops-layout {
  grid-template-columns: minmax(245px, 0.8fr) minmax(520px, 2.15fr) minmax(270px, 0.95fr);
  gap: 10px;
  margin-bottom: 10px;
}

.ops-main {
  gap: 10px;
}

.ops-panel {
  border-color: #cbd5e1;
  box-shadow: 0 8px 18px rgba(30, 41, 59, 0.05);
}

.ops-panel-header {
  min-height: 40px;
  border-bottom-color: #dfe5ec;
}

.ops-panel-header h2 {
  font-size: 13px;
  color: #1f2937;
}

.incident-feed,
.attention-stack,
.report-list,
.regional-list,
.severity-bars {
  padding: 6px 12px;
}

.incident-feed-item,
.attention-item,
.report-list a,
.regional-list div {
  padding: 10px 2px;
  border-top-color: #edf1f5;
}

.incident-feed-item strong,
.attention-item strong,
.report-list strong,
.regional-list strong {
  color: #1f2937;
}

.incident-feed-item small,
.attention-item span,
.report-list span,
.regional-list span {
  color: #64748b;
}

.dashboard-map {
  min-height: 340px;
  background: #e2e8f0;
}

.trend-panel {
  min-height: 112px;
}

.trend-snapshot-grid {
  background: #dfe5ec;
}

.trend-snapshot-grid div {
  padding: 13px 14px;
  min-height: 66px;
}

.trend-snapshot-grid strong {
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.1;
}

.empty-state {
  margin: 0;
  padding: 14px 2px;
  color: #64748b;
}

.ops-bottom-grid {
  gap: 10px;
}

.severity-row {
  padding: 9px 0;
  border-top-color: #edf1f5;
}

.severity-track {
  height: 8px;
  background: #e2e8f0;
}

.ops-panel .subnav a {
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
}

@media (max-width: 720px) {
  .ops-layout,
  .ops-bottom-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-map {
    min-height: 310px;
  }
}

/* Compact dashboard pass */
.ops-layout {
  align-items: start;
}

.incident-list-panel,
.attention-panel {
  max-height: 462px;
}

.incident-feed,
.attention-stack {
  max-height: 421px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.incident-feed::-webkit-scrollbar,
.attention-stack::-webkit-scrollbar {
  width: 8px;
}

.incident-feed::-webkit-scrollbar-thumb,
.attention-stack::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 8px;
}

.dashboard-map {
  height: 282px;
  min-height: 282px;
  cursor: default;
}

.dashboard-map .leaflet-control-container {
  display: none;
}

.dashboard-map .leaflet-interactive {
  cursor: pointer;
}

.trend-panel {
  min-height: 92px;
}

.trend-snapshot-grid div {
  min-height: 52px;
  padding: 10px 14px;
}

.trend-snapshot-grid strong {
  margin-top: 4px;
  font-size: 21px;
}

.ops-panel-header {
  min-height: 36px;
}

.incident-feed-item,
.attention-item,
.report-list a,
.regional-list div {
  padding: 8px 2px;
}

.ops-bottom-grid .ops-panel {
  min-height: 98px;
}

@media (max-width: 720px) {
  .incident-list-panel,
  .attention-panel {
    max-height: none;
  }

  .incident-feed,
  .attention-stack {
    max-height: 280px;
  }

  .dashboard-map {
    height: 260px;
    min-height: 260px;
  }
}

@media (max-width: 980px) {
  .trend-hero-header,
  .trend-window-meta,
  .trend-rank-head,
  .trend-rank-meta {
    align-items: start;
  }

  .trend-hero-grid,
  .trend-signal-grid {
    grid-template-columns: 1fr;
  }

  .trend-window-bar {
    grid-template-columns: 48px minmax(0, 1fr) 38px;
  }
}

@media (max-width: 720px) {
  .trend-hero-header,
  .trend-window-meta,
  .trend-rank-head,
  .trend-rank-meta {
    flex-direction: column;
  }

  .trend-signal-grid article strong {
    font-size: 22px;
  }

  .trend-window-bar {
    grid-template-columns: 1fr;
  }
}
