:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: #ffffff;
  color: #f4f7fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.56), transparent 34rem), #f9f9f9;
  color: #1c1c1c;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #0000003b;
  position: fixed;
  z-index: 10000;
  width: 100vw;
}

.header-content,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.store-intelligence-section > .section-heading {
  margin: 14px 0;
}


.site-header h1 {
  margin-bottom: 0;
  font-size: 1.3rem;
  display: none;
}

.hero > .eyebrow {
  color: #202020;
}

.eyebrow,
.agent-name {
  margin-bottom: 0px;
  /* color: #8fa9c7; */
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-link > .eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.eyebrow > svg {
  height: 78px;
  width: 78px;
}

.agent-name {
  display: none;
}

.brand-link > .eyebrow {
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

.eyebrow > span {
  /* border: #d0e2f7 1px solid; */
  padding: 1px 6px;
  margin-top: 1px;
  transform: scale(0.8);
  color: #00000087;
}

.release-badge,
.status {
  padding: 7px 18px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 750;
  color: #353535;
}

.hero {
  padding: 45px 0 0px;
}

.hero h2 {
  max-width: 780px;
  margin-bottom: 16px;
  /* font-size: clamp(2.2rem, 6vw, 4.7rem); */
  line-height: 0.98;
}

.hero-copy {
  max-width: 650px;
  color: #aeb9c6;
  font-size: 1.1rem;
}

.store-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 22px 0 64px;
}

.store-card,
.mission {
  border: 1px solid #27303c;
  border-radius: 16px;
  background: rgba(18, 24, 32, 0.78);
}

.store-card {
  min-height: 190px;
  padding: 22px;
}

.store-card h3 {
  font-size: 1.25rem;
}

.placeholder {
  color: #8996a5;
  line-height: 1.5;
}

.status-building {
  background: rgb(225, 225, 225);
}

.mission {
  margin-bottom: 64px;
  padding: 32px;
  display: none;
}

.mission blockquote {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 700;
}

.mission p:last-child {
  margin-bottom: 0;
  color: #aeb9c6;
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  /* .header-content,
  .section-heading {
    align-items: flex-start;
  } */

  .hero {
    padding-top: 30px;
  }
}

.brand-link {
  color: inherit;
  text-decoration: none;
}

.header-actions,
.site-nav {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 28px;
}

.site-nav {
  gap: 20px;
}

.site-nav a,
.secondary-link {
  color: #262626;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.secondary-link:hover {
  color: #aeaeae;
}

.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 64px 0 40px;
}

.page-intro h2 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
}

.as-of {
  color: #7f8b99;
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: right;
}

.as-of strong {
  display: block;
  color: #c7d0da;
}

.summary-block {
  /* margin-bottom: 30px; */
}

.card-base {
  border: 1px solid #00000030;
  padding: 18px;
  background-color: #fff;
  border-radius: 6px;
  -webkit-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.42);
  box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.42);
}

.summary-container {
  margin-top: 25px;
}

main.container {
  margin-top: 100px;
}

.summary-container > .hero {
  margin: 0 0 10px 0;
  padding: 10px 0 0 0;
  border-bottom: 1px solid #0e0e0e4a;
  display: none;
}

.summary-block > .metric-label {
}

.summary-block > .metric-value {
  margin-bottom: 4px;
}

.metric-value > span {
  font-size: 0.50em;
  color: #646262;
  position: relative;
  top: -12px;
  left: -2px;
  font-weight: 500;
  font-style: italic;
}

.summary-grid {
  display: flex;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 12px 0px;
  justify-content: space-around;
}

.summary-card {
  width: 46%;
  display: flex;
  flex-direction: column;
  justify-content: inherit;
}

.metric-label {
  margin: 8px 0 9px 0;
  color: #202020;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-value {
  margin-bottom: 0;
  font-size: 1.8rem;
  font-weight: 750;
}

.section-note {
  margin-bottom: 0;
  color: #8794a3;
  font-size: 0.84rem;
}

.buffer-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  padding: 22px 0 64px;
}

.buffer-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.buffer-card h3 {
  margin-bottom: 0;
}

.status-critical {
  color: #ffb9b9;
  border-color: rgba(255, 105, 105, 0.45);
  background: rgba(255, 105, 105, 0.1);
}

.status-warning {
  color: #ffe0a3;
  border-color: rgba(255, 191, 82, 0.4);
  background: rgba(255, 191, 82, 0.1);
}

.status-healthy {
  color: #b5edc4;
  border-color: rgba(86, 194, 116, 0.4);
  background: rgba(86, 194, 116, 0.1);
}

.status-unknown {
  color: #c4ccd5;
}

.buffer-number {
  margin: 28px 0 24px;
  font-size: 3rem;
  font-weight: 760;
  line-height: 1;
}

.buffer-number small {
  color: #8794a3;
  font-size: 0.9rem;
  font-weight: 600;
}

.buffer-prefix {
  display: block;
  margin-bottom: 6px;
  color: #8794a3;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.operational-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 0 0 22px;
  border: 1px solid #27303c;
  border-radius: 10px;
  background: #27303c;
}

.operational-details div {
  padding: 13px;
  background: #111820;
}

.operational-details dt {
  margin-bottom: 5px;
  color: #7f8b99;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.operational-details dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.slot-detail {
  padding-top: 18px;
  border-top: 1px solid #27303c;
}

.slot-detail p:last-child,
.coverage-through {
  margin-bottom: 0;
  color: #c0c9d3;
}

.coverage-through {
  margin-top: 10px;
  color: #7f8b99;
  font-size: 0.78rem;
}

.task-section {
  padding-bottom: 70px;
}

.table-shell {
  overflow-x: auto;
  margin-top: 22px;
  border: 1px solid #27303c;
  border-radius: 14px;
}

.task-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  background: rgba(18, 24, 32, 0.78);
}

.task-table th,
.task-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #27303c;
  text-align: left;
}

.task-table th {
  color: #8290a0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.task-table td {
  color: #c2cbd5;
  font-size: 0.88rem;
}

.task-table td:first-child strong,
.task-table td:first-child span {
  display: block;
}

.task-table td:first-child strong {
  color: #f4f7fb;
}

.task-table td:first-child span {
  margin-top: 5px;
  color: #7f8b99;
  font-size: 0.78rem;
}

.task-table tr:last-child td {
  border-bottom: 0;
}

.task-status {
  display: inline-block;
  padding: 5px 9px;
  border: 1px solid #344355;
  border-radius: 999px;
  color: #bad9ff;
  background: rgba(62, 115, 180, 0.1);
}

.empty-table {
  padding: 34px !important;
  color: #7f8b99 !important;
  text-align: center !important;
}

@media (max-width: 820px) {

  .header-content,
  .header-actions,
  .page-intro {
    align-items: flex-start;
  }

  .header-actions {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .page-intro {
    flex-direction: column;
  }

  .as-of {
    text-align: left;
  }

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

@media (max-width: 560px) {
  .site-nav {
    gap: 12px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }
}

.audience-card {
  min-height: 250px;
}

.audience-metrics {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.audience-metrics>div {
  padding-top: 14px;
  border-top: 1px solid #27303c;
}

.audience-value {
  margin-bottom: 5px;
  font-size: 1.65rem;
  font-weight: 750;
  line-height: 1;
}

.data-status {
  margin-bottom: 0;
  color: #718092;
  font-size: 0.7rem;
}
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #5f8fc5;
  border-radius: 10px;
  color: #f4f7fb;
  background: rgba(75, 130, 191, 0.2);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.primary-action:hover {
  background: rgba(75, 130, 191, 0.3);
}

.message-list {
  margin-bottom: 28px;
}

.message-success {
  padding: 14px 16px;
  border: 1px solid rgba(86, 194, 116, 0.4);
  border-radius: 10px;
  color: #b5edc4;
  background: rgba(86, 194, 116, 0.1);
}

.audience-store-section {
  margin-bottom: 54px;
}

.platform-audience-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.platform-audience-card h3 {
  margin-bottom: 18px;
  color: #9eabba;
  font-size: 0.86rem;
}

.audience-total {
  margin-bottom: 24px;
  font-size: 2.25rem;
  font-weight: 750;
  line-height: 1;
}

.audience-change {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid #27303c;
  border-bottom: 1px solid #27303c;
  color: #8492a1;
  font-size: 0.76rem;
}

.audience-change strong {
  color: #f4f7fb;
  font-size: 0.95rem;
}

.audience-provenance {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  color: #718092;
  font-size: 0.68rem;
}

.snapshot-form {
  padding-bottom: 70px;
}

.form-meta-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 1.3fr;
  gap: 18px;
  margin-bottom: 52px;
}

.snapshot-field-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: #aab5c1;
  font-size: 0.76rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #344253;
  border-radius: 9px;
  color: #f4f7fb;
  background: #111820;
  font: inherit;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: #5f8fc5;
  outline: none;
}

.snapshot-field {
  padding: 16px;
  border: 1px solid #27303c;
  border-radius: 12px;
  background: rgba(18, 24, 32, 0.78);
}

.form-errors,
.field-error {
  color: #ffb9b9;
}

.form-errors {
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid rgba(255, 105, 105, 0.45);
  border-radius: 10px;
  background: rgba(255, 105, 105, 0.1);
}

.field-error {
  margin-bottom: 0;
  font-size: 0.73rem;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 30px;
}

@media (max-width: 680px) {
  .form-meta-grid {
    grid-template-columns: 1fr;
  }

  .audience-provenance {
    flex-direction: column;
  }
}

.audience-summary-grid {
  margin-top: -16px;
}

.metric-denominator {
  color: #728093;
  font-size: 1rem;
  font-weight: 650;
}

.summary-date {
  margin-bottom: 0;
  font-size: 1.45rem;
  font-weight: 750;
}

.momentum-notice {
  margin: 20px 0 14px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 191, 82, 0.28);
  border-radius: 10px;
  color: #c8b484;
  background: rgba(255, 191, 82, 0.07);
  font-size: 0.8rem;
  line-height: 1.5;
}

.momentum-table-shell {
  margin-bottom: 68px;
}

.momentum-table {
  min-width: 1080px;
}

.rank-cell {
  color: #8fa9c7 !important;
  font-size: 1.05rem !important;
  font-weight: 750;
}

.momentum-change {
  font-weight: 750;
}

.momentum-positive {
  color: #aee7bd;
}

.momentum-negative {
  color: #ffb5b5;
}

.momentum-status {
  display: inline-block;
  padding: 5px 9px;
  border: 1px solid #344355;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.momentum-status-leader {
  color: #bad9ff;
  border-color: rgba(95, 143, 197, 0.5);
  background: rgba(95, 143, 197, 0.12);
}

.momentum-status-growing {
  color: #b5edc4;
  border-color: rgba(86, 194, 116, 0.4);
  background: rgba(86, 194, 116, 0.1);
}

.momentum-status-declining {
  color: #ffb9b9;
  border-color: rgba(255, 105, 105, 0.4);
  background: rgba(255, 105, 105, 0.1);
}

.momentum-status-flat,
.momentum-status-unknown {
  color: #c4ccd5;
  background: rgba(130, 145, 160, 0.08);
}

.reach-context-section {
  margin-top: 8px;
}

.reach-grid {
  padding-bottom: 68px;
}

.reach-card {
  min-height: 210px;
}

.reach-value {
  margin: 28px 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 760;
  line-height: 1;
}
.audience-summary-grid {
  margin-top: -16px;
}

.metric-denominator {
  color: #728093;
  font-size: 1rem;
  font-weight: 650;
}

.summary-date {
  margin-bottom: 0;
  font-size: 1.45rem;
  font-weight: 750;
}

.momentum-notice {
  margin: 20px 0 14px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 191, 82, 0.28);
  border-radius: 10px;
  color: #c8b484;
  background: rgba(255, 191, 82, 0.07);
  font-size: 0.8rem;
  line-height: 1.5;
}

.momentum-table-shell {
  margin-bottom: 68px;
}

.momentum-table {
  min-width: 1080px;
}

.rank-cell {
  color: #8fa9c7 !important;
  font-size: 1.05rem !important;
  font-weight: 750;
}

.momentum-change {
  font-weight: 750;
}

.momentum-positive {
  color: #aee7bd;
}

.momentum-negative {
  color: #ffb5b5;
}

.momentum-status {
  display: inline-block;
  padding: 5px 9px;
  border: 1px solid #344355;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.momentum-status-leader {
  color: #bad9ff;
  border-color: rgba(95, 143, 197, 0.5);
  background: rgba(95, 143, 197, 0.12);
}

.momentum-status-growing {
  color: #b5edc4;
  border-color: rgba(86, 194, 116, 0.4);
  background: rgba(86, 194, 116, 0.1);
}

.momentum-status-declining {
  color: #ffb9b9;
  border-color: rgba(255, 105, 105, 0.4);
  background: rgba(255, 105, 105, 0.1);
}

.momentum-status-flat,
.momentum-status-unknown {
  color: #c4ccd5;
  background: rgba(130, 145, 160, 0.08);
}

.reach-context-section {
  margin-top: 8px;
}

.reach-grid {
  padding-bottom: 68px;
}

.reach-card {
  min-height: 210px;
}

.reach-value {
  margin: 28px 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 760;
  line-height: 1;
}

.publication-form-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.publication-form-wide {
  grid-column: 1 / -1;
}

.field-help {
  margin: 0;
  color: #718092;
  font-size: 0.7rem;
  line-height: 1.45;
}

.publication-table {
  min-width: 1120px;
}

.publication-table a {
  color: #a9cff7;
  font-weight: 700;
  text-decoration: none;
}

.empty-state {
  padding: 42px;
  border: 1px solid #27303c;
  border-radius: 14px;
  color: #8f9dad;
  background: rgba(18, 24, 32, 0.78);
  text-align: center;
}

.empty-state h3 {
  margin-bottom: 10px;
  color: #f4f7fb;
}

@media (max-width: 760px) {
  .publication-form-grid {
    grid-template-columns: 1fr;
  }

  .publication-form-wide {
    grid-column: auto;
  }

  .brand-link > .eyebrow {
    justify-content: center;
    height: 12px;
  }

  .brand-link > .eyebrow > svg {
    height: 42px;
    width: 50px;
  }
}

.publication-metadata {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 64px;
}

.publication-meta-value {
  margin: 12px 0 0;
  color: #f4f7fb;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.publication-meta-value a {
  color: #a9cff7;
  text-decoration: none;
}

.performance-grid {
  display: grid;
  grid-template-columns:
    repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.performance-card {
  padding: 20px;
  border: 1px solid #2a3543;
  border-radius: 13px;
  background: rgba(18, 25, 34, 0.9);
}

.performance-value {
  margin: 18px 0 20px;
  color: #f6f8fb;
  font-size: 1.8rem;
  font-weight: 780;
  line-height: 1;
}

.performance-card-footer {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 13px;
  border-top: 1px solid #293441;
  color: #8291a2;
  font-size: 0.67rem;
}

.performance-history-section {
  margin-top: 68px;
}

.performance-history-table {
  min-width: 900px;
}

.publication-metric-form-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1100px) {
  .publication-metadata {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

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

  .publication-metric-form-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .publication-metadata,
  .performance-grid,
  .publication-metric-form-grid {
    grid-template-columns: 1fr;
  }
}

.content-action-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #344254;
  border-radius: 10px;
  color: #dce6f1;
  background: rgba(19, 27, 36, 0.78);
  font-weight: 700;
  text-decoration: none;
}

.content-filter-form {
  margin-bottom: 54px;
  padding: 22px;
  border: 1px solid #293542;
  border-radius: 14px;
  background: rgba(17, 24, 33, 0.82);
}

.content-filter-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-filter-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.content-summary-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 68px;
}

.content-intelligence-table {
  min-width: 1480px;
}

.content-intelligence-table a {
  color: #a9cff7;
  font-weight: 700;
  text-decoration: none;
}

.content-intelligence-table td span {
  display: block;
  margin-top: 5px;
  color: #8190a1;
  font-size: 0.7rem;
}

@media (max-width: 900px) {
  .content-action-group {
    align-items: stretch;
    flex-direction: column;
  }

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

@media (max-width: 620px) {
  .content-filter-grid,
  .content-summary-grid {
    grid-template-columns: 1fr;
  }

  .content-filter-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

.health-summary-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 68px;
}

.health-section {
  margin-bottom: 68px;
}

.metric-note {
  margin: 10px 0 0;
  color: #8292a5;
  font-size: 0.78rem;
}

.attention-list {
  display: grid;
  gap: 14px;
}

.attention-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px;
  border: 1px solid #2d3946;
  border-radius: 14px;
  background: rgba(18, 26, 35, 0.86);
}

.attention-item h3 {
  margin: 12px 0 6px;
  color: #f1f5fa;
  font-size: 1.05rem;
}

.attention-item p {
  margin: 0;
  color: #96a5b7;
  line-height: 1.5;
}

.attention-critical {
  border-color: rgba(220, 83, 95, 0.58);
}

.attention-warning {
  border-color: rgba(213, 163, 68, 0.52);
}

.attention-info {
  border-color: rgba(103, 157, 211, 0.48);
}

.attention-count {
  min-width: 58px;
  color: #f4f7fb;
  font-size: 2rem;
  text-align: right;
}

.health-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid #415064;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.health-healthy {
  border-color: rgba(60, 177, 113, 0.58);
  color: #9de2bd;
  background: rgba(35, 110, 70, 0.22);
}

.health-warning {
  border-color: rgba(213, 163, 68, 0.58);
  color: #e8c982;
  background: rgba(120, 84, 26, 0.22);
}

.health-critical {
  border-color: rgba(220, 83, 95, 0.62);
  color: #f0a4ab;
  background: rgba(123, 39, 48, 0.22);
}

.health-info {
  border-color: rgba(103, 157, 211, 0.58);
  color: #b8d5f1;
  background: rgba(50, 91, 133, 0.22);
}

.health-table {
  min-width: 1220px;
}

.health-runs-table {
  min-width: 1180px;
}

.health-table td span,
.health-runs-table td span {
  display: block;
  margin-top: 5px;
  color: #8190a1;
  font-size: 0.7rem;
}

@media (max-width: 900px) {
  .health-summary-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .health-summary-grid {
    grid-template-columns: 1fr;
  }

  .attention-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .attention-count {
    text-align: left;
  }
}

.reconciliation-summary-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.reconciliation-filter-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr)
    minmax(260px, 2fr);
  gap: 18px;
}

.reconciliation-card-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reconciliation-card {
  overflow: hidden;
  border: 1px solid #2d3946;
  border-radius: 14px;
  background: rgba(18, 26, 35, 0.88);
}

.reconciliation-thumbnail-shell {
  min-height: 180px;
  background: rgba(9, 14, 20, 0.9);
}

.reconciliation-thumbnail {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.reconciliation-thumbnail-empty {
  display: grid;
  min-height: 190px;
  place-items: center;
  color: #718095;
  font-size: 0.78rem;
}

.reconciliation-card-body {
  padding: 20px;
}

.reconciliation-card-body h3 {
  min-height: 52px;
  margin: 12px 0 8px;
  color: #f3f6fa;
  font-size: 1rem;
  line-height: 1.45;
}

.reconciliation-card-meta,
.reconciliation-metrics,
.reconciliation-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reconciliation-card-meta,
.reconciliation-date,
.reconciliation-metrics {
  color: #8796a8;
  font-size: 0.72rem;
}

.reconciliation-metrics {
  flex-wrap: wrap;
  margin: 18px 0;
}

.reconciliation-card-footer {
  padding-top: 16px;
  border-top: 1px solid #2a3542;
}

.pagination-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  color: #8796a8;
}

.reconciliation-detail-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.4fr)
    minmax(340px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.reconciliation-preview-panel,
.reconciliation-action-card {
  border: 1px solid #2d3946;
  border-radius: 14px;
  background: rgba(18, 26, 35, 0.88);
}

.reconciliation-detail-image {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
}

.reconciliation-preview-content {
  padding: 24px;
}

.reconciliation-preview-content h3 {
  margin: 16px 0;
  color: #f3f6fa;
}

.reconciliation-description {
  color: #96a5b7;
  line-height: 1.6;
}

.reconciliation-stat-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.reconciliation-action-panel {
  display: grid;
  gap: 18px;
}

.reconciliation-action-card {
  padding: 22px;
}

.reconciliation-action-card h3 {
  margin: 8px 0 12px;
  color: #f3f6fa;
}

.reconciliation-action-card > p {
  color: #96a5b7;
  line-height: 1.5;
}

.reconciliation-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.reconciliation-suggestions {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.reconciliation-suggestion {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid #344354;
  border-radius: 10px;
  background: rgba(10, 17, 24, 0.55);
}

.reconciliation-suggestion strong {
  color: #edf3f9;
}

.reconciliation-suggestion span {
  color: #8494a7;
  font-size: 0.7rem;
}

.reconciliation-ignore-card {
  border-color: rgba(213, 163, 68, 0.45);
}

@media (max-width: 1000px) {
  .reconciliation-card-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .reconciliation-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .reconciliation-summary-grid,
  .reconciliation-filter-grid,
  .reconciliation-card-grid,
  .reconciliation-stat-grid {
    grid-template-columns: 1fr;
  }
}

:root {
  --chart-instagram: #E1306C;
  --chart-facebook: #1877F2;
  --chart-tiktok: #000000;
  --chart-youtube: #FF0000;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.store-intelligence-section {
  margin-bottom: 72px;
}

.store-intelligence-intro {
  max-width: 720px;
  margin: 16px 0 24px;
  color: #95a3b3;
  line-height: 1.6;
  display: none;
}

.enterprise-store-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.intelligence-card {
  min-width: 0;
}

.intelligence-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #0003;
}

.store-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.store-avatar {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: 100%;
  -webkit-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.33);
  box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.33);
}

.store-avatar-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.store-avatar-image {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.store-identity h3 {
  margin-bottom: 0;
  /* font-size: 1rem; */
  font-size: 1.8rem;
}

.intelligence-data-through {
  flex: 0 0 auto;
  color: #788697;
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.intelligence-data-through strong {
  display: block;
  color: #aeb9c6;
  font-size: 0.7rem;
}

.intelligence-metrics {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 15px 0 0 0;
}

.intelligence-metrics > div {
  min-width: 0;
}

.intelligence-metric-value {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  font-weight: 780;
  line-height: 1;
}

.intelligence-metric-value small {
  color: #718093;
  font-size: 0.8rem;
}

.intelligence-chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.chart-control-group,
.platform-control-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  /* gap: 7px; */
}

.chart-control-group {
  display: none;
}

.ui-button {
  font-weight: 500;
  background: #ffffff;
  border: 1px solid #a2a2a24f;
  border-radius: 8px;
  color: #0e0e0e;
}

.chart-control,
.platform-control {
  min-height: 42px;
  padding: 0 6px;
  font: inherit;
  font-size: 0.72rem;
  cursor: pointer;
  font-weight: 750;
  flex-grow: 100;
  margin: 0 2px;
  transition: 75ms;
}

.platform-control > svg {
  max-height: 24px;
}

.platform-control[data-platform]:hover {
  /* -webkit-box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.80);
  box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.80); */
}

.platform-control {
  border-width: 2px;
  border: 2px solid #2d2d2d;
  border-radius: 999px;
}


.platform-control[data-platform="all"] {
  border-color: #2d2d2d;
  color: #2d2d2d;
}
.platform-control[data-platform="all"]:hover,
.platform-control[data-platform="all"].is-active {
  background-color: #2d2d2d;
  color: #ffffff;
}
.platform-control[data-platform="instagram"] {
  border-color: #E1306C;
  color: #E1306C;
}
.platform-control[data-platform="instagram"]:hover,
.platform-control[data-platform="instagram"].is-active {
  background-color: #E1306C;
  color: #ffffff;
}
.platform-control[data-platform="facebook"] {
  border-color: #1877F2;
  color: #1877F2;
}
.platform-control[data-platform="facebook"]:hover,
.platform-control[data-platform="facebook"].is-active {
  background-color: #1877F2;
  color: #ffffff;
}
.platform-control[data-platform="tiktok"] {
  border-color: #000000;
  color: #000000;
}
.platform-control[data-platform="tiktok"]:hover,
.platform-control[data-platform="tiktok"].is-active {
  background: #000000;
  color: #ffffff;
}
.platform-control[data-platform="youtube"] {
  border-color: #FF0000;
  color: #FF0000;
}
.platform-control[data-platform="youtube"]:hover,
.platform-control[data-platform="youtube"].is-active {
  background-color: #FF0000;
  color: #ffffff;
}

/* .chart-control:hover,
.platform-control:hover {
  color: #fff;
  background: #2d2d2d;
} */

.chart-control.is-active:hover,
.platform-control.is-active:hover {
  pointer-events: none;
}

.chart-control.is-active,
.platform-control.is-active {
  /* color: #fff; */
  /* background: #2d2d2d; */
  font-weight: 750;
}

.chart-control:disabled,
.platform-control:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.chart-mode-label {
  margin: 10px 0 0 0;
  color: #758497;
  font-size: 0.68rem;
  text-align: right;
}

.platform-control-group {
  margin-bottom: 14px;
}

.intelligence-chart-shell {
  position: relative;
  width: 100%;
  height: 280px;
  min-width: 0;
}

.intelligence-chart-shell canvas {
  max-width: 100%;
}

.chart-empty {
  display: grid;
  height: 100%;
  margin: 0;
  place-items: center;
  color: #7f8d9d;
  text-align: center;
}

.chart-disclosure {
  margin: 13px 0 0;
  color: #758497;
  font-size: 0.68rem;
  line-height: 1.5;
  display: none;
}

.intelligence-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #0003;
  display: none; /* Just for right now! */
}

.intelligence-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  font-size: 0.78rem;
  text-decoration: none;
  flex-grow: 100;
  transition: 75ms;
}

.intelligence-action:hover {
  color: #fff;
  background: #2d2d2d;
}

.intelligence-action-primary {
  color: #fff;
  background: #2d2d2d;
  font-weight: 750;
}

.store-detail-card {
  max-width: 900px;
  margin-bottom: 72px;
}

.store-detail-card .intelligence-chart-shell {
  height: 420px;
}

@media (max-width: 900px) {
  .enterprise-store-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 16px 0 4px;
  }

  .header-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .store-identity h3 {
    /* margin-bottom: 0; */
    font-size: 0.9rem;
    /* font-size: 1.8rem; */
  }

  .header-actions {
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .release-badge {
    align-self: flex-start;
  }

  .site-nav {
    width: 100%;
    max-width: 100%;
    gap: 18px;
    padding: 4px 0 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  .site-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 620px) {
  .intelligence-card {
    padding: 18px;
  }

  .intelligence-card-header {
    align-items: center;
  }

  .intelligence-data-through {
    text-align: left;
  }

  .intelligence-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .intelligence-metrics > div:first-child {
    grid-column: 1 / -1;
  }

  .intelligence-chart-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .chart-mode-label {
    text-align: left;
  }

  .intelligence-chart-shell {
    height: 245px;
  }

  .store-detail-card .intelligence-chart-shell {
    height: 300px;
  }

  .intelligence-card-actions {
    display: grid;
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .store-detail-card
    .intelligence-card-actions {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .intelligence-action {
    padding-inline: 9px;
  }
}

.chart-empty[hidden] {
  display: none;
}

/* Enterprise network audience summary */

.network-audience-summary {
  display: grid;
  gap: 24px;
}

/* .network-audience-primary {
  padding: 0px;
  margin-bottom: -16px;
} */

.network-audience-primary .metric-value {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: clamp(3rem, 8vw, 5.25rem);
  font-weight: 760;
  letter-spacing: -0.033em;
  line-height: 0.92;
}

.network-audience-primary .metric-value > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 7px;
  padding: 3px 0px;
  color: #0b0f14;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.network-platform-totals {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.network-platform-total {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  /* min-height: 142px; */
  position: relative;
}

.network-platform-name {
  margin-bottom: 4px;
  font-size: 0.96rem;
  font-weight: 750;
}

.network-platform-metric {
  margin-bottom: 0px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-top: -3px;
}

.network-platform-value-group {
  border-top: 1px solid #0000001c;
  min-width: 0;
  padding-top: 8px;
  margin-top: -12px;
}

.network-platform-value {
  margin-bottom: 7px;
  overflow: hidden;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.network-platform-coverage {
  margin-bottom: 0;
  font-size: 0.7rem;
  font-weight: 400;
  color: #00000070;
}

.network-audience-note {
  max-width: 760px;
  margin-bottom: 0;
  color: #78889a;
  font-size: 0.76rem;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .network-platform-totals {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .network-audience-summary {
    gap: 18px;
  }

  .network-audience-primary {
    /* padding-bottom: 18px; */
  }

  .network-audience-primary .metric-value {
    gap: 9px;
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  .network-audience-primary .metric-value > span {
    min-height: 24px;
    margin-top: 4px;
    /* padding-inline: 8px; */
    font-size: 0.76rem;
    font-weight: 500;
  }

  .network-platform-totals {
    gap: 9px;
  }

  .network-platform-total {
    min-height: 122px;
    gap: 16px;
    padding: 14px;
  }

  .network-platform-value {
    font-size: 1.42rem;
  }
}

.network-platform-total-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.network-platform-icon {
  width: 24px;
  height: 24px;
  opacity: 0.86;
  position: absolute;
  top: 8px;
  right: 8px;
  display: block;
  border: 1px solid #00000030;
  border-radius: 100%;
  padding: 5px;
  box-sizing: content-box;
  transform: scale(0.8);
}

.network-platform-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.network-platform-icon-instagram {
  color: #e1306c;
  border-color: #e1306c;
}

.network-platform-icon-facebook {
  color: #1877f2;
  border-color: #1877f2;
}

.network-platform-icon-tiktok {
  color: #111111;
  border-color: #111111;
}

.network-platform-icon-youtube {
  color: #ff0000;
  border-color: #ff0000;
}

@media (max-width: 340px) {
  .network-platform-totals {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .network-platform-icon,
  .network-platform-icon svg {
    width: 22px;
    height: 22px;
  }
}

/* Executive network audience chart */

.network-audience-primary {
  padding: 0;
  margin-bottom: 0;
}

.network-audience-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.network-audience-kicker {
  margin: 16px 0 0 0;
  color: #687583;
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.network-audience-primary .metric-value {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(3rem, 8vw, 5.25rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.network-audience-subtitle {
  margin-bottom: 0;
  color: #687583;
  font-size: 0.82rem;
}

.network-audience-change {
  flex: 0 0 auto;
  padding-bottom: 3px;
  text-align: right;
  align-self: center;
}

.network-audience-change-value {
  margin-bottom: 5px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.network-audience-change-label,
.network-audience-change-rate {
  margin-bottom: 0;
  font-size: 0.72rem;
}

.network-audience-change-label {
  color: #687583;
  font-weight: 680;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.network-audience-change-rate {
  margin-top: 4px;
  font-weight: 760;
}

.network-audience-change.is-positive {
  color: #067647;
}

.network-audience-change.is-negative {
  color: #b42318;
}

.network-audience-change.is-flat {
  color: #687583;
}

.network-audience-chart-card {
  margin-top: 28px;
  padding-top: 17px;
  border-top: 1px solid rgb(0 0 0 / 10%);
}

.network-audience-chart-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.network-audience-chart-meta p {
  margin-bottom: 0;
  color: #687583;
  font-size: 0.7rem;
}

.network-audience-chart-meta p:first-child {
  color: #17212b;
  font-weight: 760;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.network-audience-chart-frame {
  position: relative;
  height: 185px;
}

.network-audience-chart-frame canvas {
  width: 100% !important;
  height: 100% !important;
}

.network-audience-chart-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #687583;
  font-size: 0.8rem;
  text-align: center;
}

.network-audience-chart-empty[hidden] {
  display: none;
}

.network-audience-chart-dates {
  display: flex;
  justify-content: space-between;
  margin-top: 3px;
  color: #89939e;
  font-size: 0.66rem;
  font-weight: 650;
}

@media (max-width: 520px) {
  .network-audience-header {
    align-items: flex-end;
    gap: 12px;
  }

  .network-audience-primary .metric-value {
    font-size: clamp(2.85rem, 15vw, 4rem);
  }

  .network-audience-subtitle {
    max-width: 220px;
    font-size: 0.72rem;
  }

  .network-audience-change-value {
    font-size: 1.25rem;
  }

  .network-audience-change-label,
  .network-audience-change-rate {
    font-size: 0.62rem;
  }

  .network-audience-chart-card {
    margin-top: 22px;
  }

  .network-audience-chart-frame {
    height: 145px;
  }

  .network-audience-chart-meta {
    gap: 10px;
  }

  .network-audience-chart-meta p {
    font-size: 0.62rem;
  }

  .network-audience-chart-meta p:last-child {
    text-align: right;
  }
}
