.ex-root {
  font:
    14px/1.5 system-ui,
    sans-serif;
  color: #1e3d34;
  max-width: 1400px;
  margin: auto;
}
.ex-root * {
  box-sizing: border-box;
}
.ex-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: 8px 0 28px;
}
.ex-heading small {
  font-size: 10px;
  letter-spacing: 2px;
  color: #6a8879;
  font-weight: 700;
}
.ex-heading h1 {
  font:
    clamp(29px, 3vw, 43px) / 1.15 Georgia,
    serif;
  margin: 9px 0;
  color: #153e32;
  font-weight: 400;
}
.ex-heading p {
  margin: 0;
  color: #708177;
}
.ex-heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.ex-live {
  font-size: 11px;
  color: #668475;
  padding: 8px;
}
.ex-live:before {
  content: " ";
  display: inline-block;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  background: #2a997f;
  margin-right: 7px;
}
.ex-btn {
  font: inherit;
  font-size: 12px;
  color: #285344;
  background: #fff;
  border: 1px solid #d9e3db;
  border-radius: 7px;
  padding: 9px 13px;
  cursor: pointer;
  white-space: nowrap;
}
.ex-btn:hover,
.ex-btn:focus-visible {
  background: #edf5ee;
  border-color: #749a87;
}
.ex-root button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.ex-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px;
  background: #f0f5ee;
  border: 1px solid #e0e7dc;
  border-radius: 12px;
  margin-bottom: 26px;
}
.ex-quick {
  display: flex;
  gap: 5px;
}
.ex-period {
  display: flex;
  gap: 9px;
  align-items: end;
  flex-wrap: wrap;
}
.ex-period label {
  display: grid;
  gap: 3px;
  color: #6f8478;
  font-size: 10px;
}
.ex-period input {
  font: inherit;
  font-size: 12px;
  border: 1px solid #d1ded3;
  background: white;
  color: #294e3c;
  border-radius: 6px;
  padding: 6px;
  max-width: 145px;
}
.ex-display {
  position: relative;
  font-size: 12px;
}
.ex-display summary {
  cursor: pointer;
}
.ex-display form {
  position: absolute;
  z-index: 8;
  right: 0;
  top: 30px;
  min-width: 245px;
  border: 1px solid #d0dfd1;
  padding: 18px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 25px #153e321f;
  display: grid;
  gap: 12px;
}
.ex-display label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ex-display p {
  margin: 0;
  color: #6d8174;
}
.ex-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  border-bottom: 1px solid #dee7df;
  padding-bottom: 10px;
}
.ex-tabs button {
  border: 0;
  background: transparent;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  color: #6b8173;
}
.ex-tabs button.active {
  background: #143f32;
  color: #fff;
}
.ex-section-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0 15px;
}
.ex-section-head h2 {
  font-size: 17px;
  margin: 0;
}
.ex-section-head span {
  font-size: 11px;
  color: #7c8c80;
}
.ex-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ex-metric {
  background: white;
  border: 1px solid #dfe7df;
  border-radius: 12px;
  padding: 23px 20px;
  min-height: 202px;
  display: flex;
  flex-direction: column;
}
.ex-scope {
  font-size: 9px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #7e9384;
}
.ex-metric h3 {
  font: 500 13px/1.4 system-ui;
  margin: 14px 0 12px;
  min-height: 36px;
  color: #456150;
}
.ex-metric > strong {
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: -1px;
  font-weight: 600;
  color: #133f31;
  overflow-wrap: anywhere;
}
.ex-metric small {
  font-size: 10px;
  color: #819184;
  margin-top: 12px;
  line-height: 1.6;
}
.ex-comparison {
  font-size: 10px;
  margin: 12px 0 0;
  color: #47775c;
}
.ex-comparison span {
  color: #8b978d;
}
.ex-panel {
  background: white;
  border: 1px solid #dfe7df;
  border-radius: 12px;
  padding: 22px 24px;
  margin-top: 22px;
}
.ex-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.ex-panel-title h2 {
  font-size: 15px;
  margin: 0;
}
.ex-panel-title span {
  color: #8c988d;
  font-size: 11px;
}
.ex-chart svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 310px;
}
.ex-chart details {
  font-size: 11px;
  color: #6c8275;
}
.ex-chart summary,
.ex-method summary {
  cursor: pointer;
}
.ex-trend-values {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 15px;
}
.ex-trend-values span {
  display: grid;
  gap: 3px;
  font-size: 11px;
}
.ex-attention-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.ex-attention article {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: #f7f7ee;
  border: 1px solid #ebe9d5;
  border-radius: 9px;
  padding: 16px;
}
.ex-attention article > b {
  font-size: 25px;
  color: #a28231;
  line-height: 1.1;
}
.ex-attention article strong {
  font-size: 11px;
}
.ex-attention article p {
  font-size: 10px;
  color: #8a8d77;
  line-height: 1.6;
  margin: 6px 0 0;
}
.ex-method {
  margin-top: 22px;
  color: #7b8e7e;
  font-size: 11px;
}
.ex-method p {
  max-width: 950px;
  line-height: 1.8;
}
.ex-note,
.ex-error {
  padding: 14px 17px;
  border: 1px solid #e6dfbc;
  background: #fffdf1;
  border-radius: 9px;
  font-size: 12px;
  margin: 12px 0;
}
.ex-error {
  color: #9e3434;
  border-color: #f1c2c2;
  background: #fff5f5;
}
.ex-muted {
  color: #82917f;
  font-size: 12px;
}
.ex-loading {
  padding: 40px;
  color: #668475;
}
.ex-root [hidden] {
  display: none !important;
}
@media (max-width: 1000px) {
  .ex-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ex-attention-grid {
    grid-template-columns: 1fr;
  }
  .ex-heading-actions {
    max-width: 260px;
  }
}
@media (max-width: 600px) {
  .ex-heading {
    flex-direction: column;
  }
  .ex-heading-actions {
    max-width: none;
    justify-content: flex-start;
  }
  .ex-controls {
    align-items: flex-start;
  }
  .ex-display form {
    left: 0;
    right: auto;
  }
  .ex-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .ex-metric {
    padding: 16px 13px;
    min-height: 180px;
  }
  .ex-metric > strong {
    font-size: 22px;
  }
  .ex-panel {
    padding: 17px;
  }
  .ex-panel-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .ex-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media print {
  .ex-controls,
  .ex-tabs,
  .ex-heading-actions,
  .ex-method {
    display: none;
  }
  .ex-root {
    max-width: none;
  }
  .ex-metrics {
    grid-template-columns: repeat(4, 1fr);
  }
  .ex-panel,
  .ex-metric {
    break-inside: avoid;
  }
  .ex-chart svg {
    max-height: 180px;
  }
}
