.marcom-north {
  --north-muted: #58687f;
  --north-line: #e6ebf2;
  --north-ink: #182943;
  color: var(--north-ink);
}
.marcom-north-head, .marcom-north-chart, .marcom-north-table {padding: 24px}
.marcom-north-headline {display: flex; align-items: flex-start; justify-content: space-between; gap: 16px}
.marcom-north-headline h2 {margin: 6px 0; font-size: 26px}
.marcom-north-headline p {margin: 0; color: var(--north-muted); font-size: 13px}
.marcom-north-actions, .marcom-north-meta, .marcom-north-source-fields {display: flex; align-items: center; flex-wrap: wrap; gap: 8px}
.marcom-north-actions a, .marcom-north-actions button, .marcom-north-source-fields button {
  border: 1px solid var(--north-line);
  border-radius: 99px;
  padding: 9px 13px;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}
.marcom-north-actions a {color: var(--north-ink); text-decoration: none}
.marcom-north-meta {margin-top: 16px; color: var(--north-muted); font-size: 12px}
.marcom-north-meta [role="status"] {background: #edf5f1; color: #215743; border-radius: 99px; padding: 5px 10px}
.marcom-north-alert {margin: 12px 0 0; border-radius: 10px; padding: 10px 12px; color: #864a12; background: #fff6e8; font-size: 13px}
.marcom-north-source {margin-top: 12px; color: var(--north-muted); font-size: 12px}
.marcom-north-source summary {cursor: pointer; width: fit-content}
.marcom-north-source-form {display: grid; gap: 7px; max-width: 720px; margin-top: 14px}
.marcom-north-source-form label {color: var(--north-ink); font-size: 13px; font-weight: 600}
.marcom-north-source-fields input {
  min-width: min(230px, 100%);
  flex: 1;
  border: 1px solid #cdd6e2;
  border-radius: 10px;
  padding: 9px 12px;
  color: var(--north-ink);
  font: inherit;
}
.marcom-north-source-form small {color: var(--north-muted); font-size: 11px}
.marcom-north-kpis, .marcom-north-charts {display: grid; gap: 14px; margin: 14px 0}
.marcom-north-kpis {grid-template-columns: repeat(3, minmax(0, 1fr))}
.marcom-north-kpi {display: grid; align-content: space-between; padding: 18px 20px; gap: 10px}
.marcom-north-kpi:first-child {background: #fff8dd}
.marcom-north-kpi span {color: var(--north-muted); font-size: 12px}
.marcom-north-kpi strong {font-size: clamp(18px, 2.2vw, 29px); line-height: 1.15; overflow-wrap: anywhere}
.marcom-north-charts {grid-template-columns: repeat(2, minmax(0, 1fr))}
.marcom-north h3 {margin: 0 0 12px; font-size: 15px}
.marcom-north-bars {list-style: none; margin: 0; padding: 0 7px 0 0; max-height: 245px; overflow-y: auto}
.marcom-north-bars li {
  display: grid;
  grid-template-columns: 40px minmax(42px, 1fr) minmax(84px, auto);
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  font-size: 11px;
}
.marcom-north-bars time {white-space: nowrap; color: var(--north-muted)}
.marcom-north-bars strong {text-align: right; white-space: nowrap}
.marcom-north-track {height: 8px; border-radius: 99px; background: #f0f3f7; overflow: hidden}
.marcom-north-track i {display: block; height: 100%; border-radius: inherit; background: #dfb000}
.marcom-north-chart:nth-child(2) .marcom-north-track i {background: #243d60}
.marcom-north-track i.is-zero {min-width: 3px}
.marcom-north-table .table-wrap {overflow: auto; max-height: 360px}
.marcom-north-table table {width: 100%; min-width: 420px}
.marcom-north-table th {position: sticky; top: 0; background: #f7f9fc}
.marcom-north-table th:nth-child(n+3), .marcom-north-table td:nth-child(n+3) {text-align: right; white-space: nowrap}
.marcom-north-empty {margin-top: 14px; padding: 20px; color: var(--north-muted); font-size: 13px}
.marcom-north :focus-visible {outline: 2px solid #425e85; outline-offset: 2px}
@media(max-width: 900px) {
  .marcom-north-charts {grid-template-columns: 1fr}
}
@media(max-width: 620px) {
  .marcom-north-headline {display: block}
  .marcom-north-actions {margin-top: 12px}
  .marcom-north-head, .marcom-north-chart, .marcom-north-table {padding: 16px}
  .marcom-north-kpis {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px}
  .marcom-north-kpi {padding: 12px}
  .marcom-north-kpi:first-child {grid-column: 1 / -1}
}
