
/* Site OS Overview: a compact workspace with readable, recorded site information. */
.site-overview-dashboard {
  --overview-accent: #086f86;
  --overview-ink: #13293d;
  --overview-muted: #50667b;
  --overview-line: #d8e4ed;
  --overview-surface: #ffffff;
  --overview-soft: #f1f7fa;
  gap: 18px;
}
.dark .site-overview-dashboard {
  --overview-accent: #82dfeb;
  --overview-ink: #eff7fc;
  --overview-muted: #adc0d2;
  --overview-line: #2b4053;
  --overview-surface: #0e1b28;
  --overview-soft: #132635;
}
.site-overview-dashboard .overview-site-hero {
  gap: 14px;
  padding: 16px 20px 12px;
  border-color: #c5dfe8;
  border-radius: 18px;
  background: radial-gradient(ellipse at 0 0, #dff5f6, transparent 62%), linear-gradient(115deg, #ffffff, #f4f8ff);
  box-shadow: 0 4px 18px rgb(16 63 86 / 4%);
}
.dark .site-overview-dashboard .overview-site-hero {
  border-color: #29495a;
  background: radial-gradient(ellipse at 0 0, #173d49, transparent 62%), linear-gradient(115deg, #0e1b28, #142336);
  box-shadow: 0 4px 18px rgb(0 0 0 / 10%);
}
.site-overview-dashboard .overview-site-identity {
  flex-basis: 280px;
  gap: 12px;
}
.site-overview-dashboard .overview-site-avatar {
  width: 46px;
  height: 50px;
  border-radius: 13px;
  font-size: 25px;
}
.site-overview-dashboard .overview-site-hero h1 {
  margin-bottom: 3px;
  font-size: clamp(23px, 2vw, 28px);
  line-height: 1.2;
  font-weight: 720;
  letter-spacing: -.035em;
}
.site-overview-dashboard .overview-kicker {
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .07em;
}
.site-overview-dashboard .overview-site-hero .overview-kicker {
  font-size: 10px;
  line-height: 1.3;
}
.site-overview-dashboard .overview-site-address {
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-hero-actions {
  gap: 8px;
}
.site-overview-dashboard :is(.overview-hero-actions, .overview-heading-actions, .overview-insights-footer, .overview-inline-error, .overview-attention) :is(button, a)[data-slot="button"] {
  height: auto;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
}
.site-overview-dashboard .overview-hero-actions button[data-site-open-editor][data-slot="button"] {
  border: 1px solid #086f86;
  background: #086f86;
  color: #ffffff;
  box-shadow: 0 3px 9px rgb(8 111 134 / 13%);
}
.dark .site-overview-dashboard .overview-hero-actions button[data-site-open-editor][data-slot="button"] {
  border-color: #82dfeb;
  background: #82dfeb;
  color: #0e2635;
}
.site-overview-dashboard :is(.overview-hero-actions, .overview-heading-actions) :is(button, a)[data-slot="button"][aria-label] {
  flex: 0 0 auto;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
}
.site-overview-dashboard .overview-hero-actions a[data-slot="button"] {
  border-color: var(--overview-line);
  background: var(--overview-surface);
  color: var(--overview-ink);
}
.site-overview-dashboard .overview-site-status {
  gap: 8px 14px;
  padding-top: 10px;
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-status-pill {
  gap: 7px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--overview-surface);
}
.site-overview-dashboard .overview-status-pill.is-published {
  border-color: color-mix(in srgb, var(--overview-accent) 32%, var(--overview-line));
  color: var(--overview-accent);
}
.site-overview-dashboard .overview-site-menu summary {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.site-overview-dashboard .overview-site-menu > div {
  top: calc(100% + 6px);
}
.site-overview-dashboard .overview-card {
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 3px 14px rgb(18 39 60 / 3%);
}
.site-overview-dashboard .overview-card-heading {
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.site-overview-dashboard .overview-card h2 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
}
.site-overview-dashboard .overview-heading-actions {
  gap: 6px;
  flex-shrink: 0;
}
.site-overview-dashboard .overview-timezone {
  padding: 4px 6px;
  font-size: 11px;
  line-height: 1.4;
}
.site-overview-dashboard .overview-audience-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 18px;
}
.site-overview-dashboard .overview-traffic {
  flex: 2 1 460px;
  min-width: 0;
}
.site-overview-dashboard .overview-periods {
  width: max-content;
  max-width: 100%;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--overview-line);
  border-radius: 11px;
}
.site-overview-dashboard .overview-periods > button {
  min-width: 0;
  min-height: 44px;
  height: auto;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
}
.site-overview-dashboard .overview-traffic-totals {
  gap: 10px;
  padding: 8px 0 10px;
}
.site-overview-dashboard .overview-traffic-totals > .overview-number {
  padding: 6px 12px;
  border: 1px solid var(--overview-line);
  border-radius: 12px;
  background: var(--overview-soft);
}
.site-overview-dashboard .overview-number > div {
  gap: 6px;
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-number > strong {
  margin-top: 4px;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 700;
}
.site-overview-dashboard .overview-number.is-prominent > strong {
  font-size: 30px;
}
.site-overview-dashboard .overview-definition summary {
  width: 24px;
  height: 24px;
  font-size: 12px;
  background: var(--overview-surface);
}
.site-overview-dashboard .overview-definition p {
  top: calc(100% + 6px);
  width: 250px;
  font-size: 12px;
  line-height: 1.6;
}
.site-overview-dashboard .overview-trend-heading {
  gap: 10px;
  margin-bottom: 8px;
}
.site-overview-dashboard .overview-trend-heading > div:first-child {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 9px;
  min-width: 0;
}
.site-overview-dashboard .overview-trend-heading h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 650;
}
.site-overview-dashboard .overview-trend-heading span {
  font-size: 11px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-chart-metrics {
  flex-shrink: 0;
}
.site-overview-dashboard .overview-chart-metrics > button {
  min-height: 44px;
  height: auto;
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: 8px;
}
.site-overview-dashboard .overview-chart-metrics > button[aria-pressed="true"] {
  border-color: var(--overview-line);
}
.site-overview-dashboard .overview-chart {
  height: 144px;
}
.site-overview-dashboard .overview-chart-targets > button {
  min-width: 0;
}
.site-overview-dashboard .overview-chart-reading {
  gap: 4px 10px;
  padding-top: 8px;
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-chart-reading strong,
.site-overview-dashboard .overview-chart-reading small {
  font-size: 12px;
}
.site-overview-dashboard .overview-comparison {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-daily-table {
  margin-top: 8px;
  font-size: 12px;
}
.site-overview-dashboard .overview-daily-table > summary {
  min-height: 44px;
  font-size: 12px;
}
.site-overview-dashboard .overview-daily-table table {
  font-size: 12px;
}
.site-overview-dashboard .overview-daily-table caption {
  font-size: 11px;
}
.site-overview-dashboard .overview-live {
  display: block;
  flex: 1 1 270px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--overview-line);
  border-radius: 14px;
  background: var(--overview-soft);
}
.site-overview-dashboard .overview-live-title h3 {
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
}
.site-overview-dashboard .overview-online-total {
  padding: 10px 0;
}
.site-overview-dashboard .overview-online-total strong {
  font-size: 36px;
  line-height: 1.1;
  font-weight: 700;
}
.site-overview-dashboard .overview-online-total span {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-online-total > svg {
  top: 22px;
}
.site-overview-dashboard .overview-live-counts {
  gap: 12px;
  padding: 10px 0;
}
.site-overview-dashboard .overview-roster {
  margin-top: 12px;
}
.site-overview-dashboard .overview-roster-heading {
  margin-bottom: 4px;
}
.site-overview-dashboard .overview-roster h4 {
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-roster-heading > span {
  font-size: 11px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-roster li {
  gap: 8px;
  padding: 7px 0;
}
.site-overview-dashboard .overview-roster li > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1px 7px;
}
.site-overview-dashboard .overview-roster li strong {
  display: inline;
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-roster li span,
.site-overview-dashboard .overview-roster li time {
  font-size: 11px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-roster li span {
  display: inline;
}
.site-overview-dashboard .overview-live-empty {
  min-height: 52px;
  padding: 10px 0;
}
.site-overview-dashboard .overview-live-empty p,
.site-overview-dashboard .overview-roster > p {
  font-size: 12px;
  line-height: 1.6;
}
.site-overview-dashboard .overview-live-caption {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-insights-footer {
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
}
.site-overview-dashboard .overview-insights-footer > span {
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-text-action {
  min-height: 44px;
  padding: 5px 0;
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-site-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px;
}
.site-overview-dashboard .overview-content-card {
  flex: 1.25 1 430px;
}
.site-overview-dashboard .overview-side-stack {
  flex: 1 1 340px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}
.site-overview-dashboard .overview-content-stats {
  gap: 10px;
  padding-bottom: 18px;
}
.site-overview-dashboard .overview-content-stats > div {
  padding: 12px 10px;
  border: 1px solid var(--overview-line);
  border-radius: 12px;
  background: var(--overview-soft);
}
.site-overview-dashboard .overview-content-stats svg {
  margin-bottom: 8px;
}
.site-overview-dashboard .overview-content-stats strong {
  font-size: 27px;
  line-height: 1.2;
  font-weight: 700;
}
.site-overview-dashboard .overview-content-stats span {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-publication-strip {
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
}
.site-overview-dashboard .overview-publication-strip > svg {
  margin-top: 2px;
}
.site-overview-dashboard .overview-publication-strip strong {
  font-size: 13px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-publication-strip span {
  font-size: 12px;
  line-height: 1.6;
}
.site-overview-dashboard .overview-saved-pages li {
  gap: 10px;
  padding: 11px 0;
}
.site-overview-dashboard .overview-saved-pages strong {
  font-size: 13px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-saved-pages div span {
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-page-state {
  max-width: 106px;
  padding: 5px 8px;
  border: 1px solid var(--overview-line);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.4;
}
.site-overview-dashboard .overview-readiness {
  gap: 8px 12px;
  margin-top: 16px;
  padding-top: 14px;
}
.site-overview-dashboard .overview-readiness > div {
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-inline-note {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
}
.site-overview-dashboard .overview-activity-list {
  gap: 14px;
}
.site-overview-dashboard .overview-activity-list strong {
  font-size: 13px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-activity-list span,
.site-overview-dashboard .overview-activity-list time {
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-activity-list li > i {
  border-color: color-mix(in srgb, var(--overview-accent) 32%, var(--overview-line));
  background: var(--overview-soft);
}
.site-overview-dashboard .overview-capacity-row > div:first-child {
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-capacity-row strong,
.site-overview-dashboard .overview-capacity-row small {
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-capacity-meter {
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
}
.site-overview-dashboard .overview-capacity-note {
  font-size: 12px;
  line-height: 1.6;
}
.site-overview-dashboard .overview-capacity-note > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.site-overview-dashboard .overview-support {
  gap: 8px 12px;
  font-size: 12px;
  line-height: 1.5;
}
.site-overview-dashboard .overview-support a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-overview-dashboard :is(button, a, summary):focus-visible {
  outline-width: 3px;
}
.site-overview-dashboard .overview-chart-targets > button:focus-visible {
  outline-offset: 0;
}
@media (max-width: 640px) {
  .site-overview-dashboard {
    gap: 14px;
  }
  .site-overview-dashboard .overview-site-hero,
  .site-overview-dashboard .overview-card {
    padding: 16px;
    border-radius: 15px;
  }
  .site-overview-dashboard .overview-site-identity {
    flex-basis: 100%;
  }
  .site-overview-dashboard .overview-hero-actions {
    width: 100%;
  }
  .site-overview-dashboard .overview-hero-actions > :is(button, a)[data-slot="button"]:not([aria-label]) {
    flex: 1 1 110px;
  }
  .site-overview-dashboard .overview-site-status {
    gap: 7px 12px;
  }
  .site-overview-dashboard .overview-card h2 {
    font-size: 18px;
  }
  .site-overview-dashboard .overview-periods {
    width: 100%;
  }
  .site-overview-dashboard .overview-periods > button {
    flex: 1 1 0;
    padding-inline: 6px;
  }
  .site-overview-dashboard .overview-traffic-totals > .overview-number {
    padding-inline: 9px;
  }
  .site-overview-dashboard .overview-number.is-prominent > strong {
    font-size: 27px;
  }
  .site-overview-dashboard .overview-trend-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .site-overview-dashboard .overview-chart-reading {
    align-items: flex-start;
  }
  .site-overview-dashboard .overview-content-stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .site-overview-dashboard .overview-content-stats > div {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    padding: 10px;
  }
  .site-overview-dashboard .overview-content-stats svg,
  .site-overview-dashboard .overview-content-stats span {
    margin: 0;
  }
  .site-overview-dashboard .overview-content-stats strong {
    font-size: 24px;
  }
  .site-overview-dashboard .overview-saved-pages li {
    align-items: flex-start;
  }
  .site-overview-dashboard .overview-page-state {
    max-width: 88px;
    font-size: 11px;
  }
  .site-overview-dashboard .overview-site-grid,
  .site-overview-dashboard .overview-side-stack {
    gap: 14px;
  }
}
@media (pointer: coarse) {
  .site-overview-dashboard .overview-definition summary {
    width: 32px;
    height: 32px;
  }
}
@media (prefers-contrast: more) {
  .site-overview-dashboard .overview-site-hero,
  .site-overview-dashboard .overview-card,
  .site-overview-dashboard .overview-live,
  .site-overview-dashboard .overview-traffic-totals > .overview-number {
    border-color: var(--overview-muted);
  }
}
@media (forced-colors: active) {
  .site-overview-dashboard .overview-site-hero,
  .site-overview-dashboard .overview-card,
  .site-overview-dashboard .overview-live,
  .site-overview-dashboard .overview-traffic-totals > .overview-number,
  .site-overview-dashboard .overview-content-stats > div,
  .site-overview-dashboard .overview-hero-actions button[data-site-open-editor][data-slot="button"] {
    background: Canvas;
    color: CanvasText;
    border-color: CanvasText;
    box-shadow: none;
  }
  .site-overview-dashboard :is(button, a, summary):focus-visible {
    outline-color: Highlight;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-overview-dashboard *,
  .site-overview-dashboard *::before,
  .site-overview-dashboard *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Pair recorded audience and saved-site information when both fit the workspace. */
.site-overview-dashboard:has(> .site-overview-insights) {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 550px), 1fr));
  align-items: start;
}
.site-overview-dashboard:has(> .site-overview-insights) > * {
  grid-column: 1 / -1;
  min-width: 0;
}
.site-overview-dashboard:has(> .site-overview-insights) > :is(.site-overview-insights, .overview-site-grid) {
  grid-column: auto;
}
.site-overview-dashboard:has(> .site-overview-insights) > .site-overview-insights .overview-traffic {
  flex-basis: 360px;
}
.site-overview-dashboard:has(> .site-overview-insights) > .site-overview-insights .overview-live {
  flex-basis: 210px;
}
