:root {
  --navy: #14213d;
  --gold: #c9a227;
  --blue: #2457a7;
  --text: #263447;
  --muted: #526172;
  --line: #dce2e9;
  --bg: #f3f6f9;
  --red: #b42318;
  --green: #176342;
  --pale: #eef3fb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    14px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--blue);
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
:focus-visible {
  outline: 3px solid #dbaf28;
  outline-offset: 3px;
}
button {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  padding: 8px 13px;
  color: var(--navy);
  font-weight: 600;
}
button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
button.quiet {
  border-color: transparent;
  background: transparent;
  padding: 6px 9px;
  font-weight: 500;
}
button:hover:not(:disabled) {
  filter: brightness(0.96);
}
.brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 3.2%;
  background: var(--navy);
  color: white;
  gap: 18px;
}
.brand {
  font:
    27px/1.1 Georgia,
    serif;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.brand span {
  color: #e2bf56;
}
.brand small {
  font:
    12px/1.4 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  display: block;
  margin-top: 7px;
  color: #c9d3e4;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #d3dcea;
}
.header-right .quiet {
  color: #fff;
}
.header-right form {
  margin: 0;
}
nav {
  display: flex;
  background: #fff;
  padding: 0 3.2%;
  border-bottom: 1px solid var(--line);
  gap: 26px;
}
.nav {
  border: 0;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  padding: 16px 0 13px;
  background: transparent;
  color: var(--muted);
}
.nav.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.nav span {
  display: inline-block;
  background: var(--pale);
  border-radius: 20px;
  padding: 0 7px;
  font-size: 11px;
  margin-left: 5px;
}
main {
  padding: 28px 3.2% 40px;
  min-height: 75vh;
  max-width: 1720px;
  margin: auto;
}
h1 {
  font:
    32px/1.2 Georgia,
    serif;
  color: var(--navy);
  margin: 0 0 10px;
}
h2 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--navy);
}
h3 {
  font-size: 15px;
  margin: 0 0 8px;
}
.subtitle {
  color: var(--muted);
  margin: 0;
  max-width: 75ch;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 24px;
}
.note,
.alert {
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  background: #fff8df;
  margin-bottom: 20px;
  font-size: 13px;
  max-width: none;
}
.alert {
  border-color: var(--red);
  background: #fff0ee;
  color: #7c241a;
}
.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  align-items: end;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.field.search {
  flex: 1;
  min-width: 210px;
}
.field input,
.field select,
.field textarea {
  border: 1px solid #bbc5d0;
  border-radius: 4px;
  background: #fff;
  padding: 9px 10px;
  color: var(--text);
  min-height: 40px;
}
.field label {
  font-weight: 600;
}
.sheet {
  background: white;
  border: 1px solid var(--line);
  border-radius: 0 0 7px 7px;
  overflow: hidden;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  background: #edf2f7;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  padding: 11px 15px;
  white-space: nowrap;
}
td {
  padding: 15px;
  border-top: 1px solid #e9edf2;
  vertical-align: top;
}
td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
td small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.name-button {
  border: 0;
  background: none;
  color: var(--blue);
  text-align: left;
  font-weight: 650;
  padding: 0;
  font-size: 14px;
}
.reason {
  max-width: 340px;
  color: #3a4657;
}
.pill {
  display: inline-block;
  padding: 3px 8px;
  background: #edf2f7;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
}
.pill.red {
  background: #fff0ee;
  color: var(--red);
}
.pill.green {
  background: #e8f5ed;
  color: var(--green);
}
.pill.gold {
  background: #fff5d6;
  color: #705d13;
}
.pagination {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.pagination div {
  display: flex;
  gap: 8px;
}
.empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--muted);
}
.empty h2 {
  font-family: Georgia, serif;
  font-size: 23px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 22px 0;
}
.metric {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}
.metric:last-child {
  border: 0;
}
.metric strong {
  display: block;
  font-size: 30px;
  font-weight: 650;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.metric span {
  display: block;
  font-size: 12px;
  margin-top: 8px;
  color: var(--muted);
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 22px;
}
.panel p {
  font-size: 12px;
  color: var(--muted);
  max-width: 80ch;
}
.panel.full {
  margin-bottom: 22px;
}
.panel .table-scroll {
  margin: 18px -22px -22px;
}
.chart {
  height: 180px;
  display: flex;
  gap: 3px;
  align-items: end;
  margin-top: 24px;
  border-bottom: 1px solid var(--line);
}
.chart-bar {
  flex: 1;
  min-width: 2px;
  background: #d3dde9;
  position: relative;
  border-radius: 2px 2px 0 0;
}
.chart-bar i {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--blue);
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}
.legend {
  display: flex;
  gap: 18px;
  font-size: 11px;
  margin-top: 12px;
}
.legend span:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--blue);
  margin-right: 6px;
}
.legend span + span:before {
  background: #d3dde9;
}
.bars {
  margin-top: 20px;
}
.bar-row {
  margin: 14px 0;
  font-size: 12px;
}
.bar-row > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.bar-track {
  height: 7px;
  background: #eef2f6;
  margin-top: 6px;
  border-radius: 5px;
}
.bar-track i {
  display: block;
  height: 7px;
  background: #6683ae;
  border-radius: 5px;
}
.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.source-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px;
}
.source-card h3 {
  display: flex;
  justify-content: space-between;
}
.source-card p {
  font-size: 12px;
  margin: 7px 0;
  color: var(--muted);
}
.definition {
  margin: 13px 0;
  font-size: 13px;
  max-width: 100ch;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 3.2%;
  border-top: 1px solid var(--line);
  font:
    14px Georgia,
    serif;
  color: var(--navy);
}
footer span {
  font:
    11px/1.4 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--muted);
}
#drawer-backdrop {
  position: fixed;
  inset: 0;
  background: #14213d55;
  z-index: 10;
}
#drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(620px, 100%);
  background: white;
  z-index: 11;
  overflow: auto;
  box-shadow: -8px 0 40px #14213d22;
  padding: 28px;
}
.drawer-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}
.drawer-head h2 {
  font:
    27px Georgia,
    serif;
  margin: 10px 0;
}
.detail-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 15px 0 22px;
}
.timeline {
  margin-top: 24px;
}
.event {
  border-left: 2px solid #dce3ec;
  padding: 0 0 25px 18px;
  position: relative;
}
.event:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: -5px;
  top: 5px;
  background: #879ebd;
  border-radius: 50%;
}
.event time {
  font-size: 11px;
  color: var(--muted);
}
.event strong {
  display: block;
  font-size: 13px;
  margin: 3px 0;
}
.event p {
  font-size: 13px;
  white-space: pre-wrap;
  margin: 6px 0;
}
.event .source-ref {
  font-size: 10px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
details {
  margin-top: 7px;
  font-size: 11px;
}
summary {
  cursor: pointer;
  color: var(--blue);
}
pre {
  background: #f3f6f9;
  padding: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 11px;
}
.action-form {
  background: #f3f6f9;
  padding: 18px;
  margin: 20px 0;
  border-radius: 5px;
}
.action-form .field {
  margin-bottom: 12px;
}
.action-form textarea {
  width: 100%;
  min-height: 75px;
}
.action-form button {
  margin-right: 6px;
}
.muted {
  color: var(--muted);
}
.nowrap {
  white-space: nowrap;
}
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--navy);
  padding: 20px;
}
.login-box {
  width: min(430px, 100%);
  background: #fff;
  padding: 36px;
  border-top: 5px solid var(--gold);
  border-radius: 8px;
}
.login-box .brand {
  color: var(--navy);
  font-size: 31px;
}
.login-box h1 {
  font:
    24px Georgia,
    serif;
  margin: 30px 0 10px;
}
.login-box p {
  color: var(--muted);
  font-size: 13px;
}
.login-box .field {
  margin: 22px 0 15px;
}
.login-box .primary {
  width: 100%;
  padding: 11px;
}
.login-error {
  color: var(--red) !important;
}
.split-label {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
@media (max-width: 900px) {
  .header-right #freshness {
    display: none;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric:nth-child(2) {
    border-right: 0;
  }
  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .source-grid {
    grid-template-columns: 1fr;
  }
  .page-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .reason {
    min-width: 230px;
  }
}
@media (max-width: 600px) {
  .brandbar {
    padding: 18px 20px;
  }
  .brand {
    font-size: 23px;
  }
  .header-right {
    gap: 1px;
  }
  nav {
    padding: 0 20px;
    gap: 20px;
  }
  .nav {
    font-size: 12px;
  }
  main {
    padding: 24px 16px;
  }
  h1 {
    font-size: 29px;
  }
  .toolbar {
    padding: 15px;
  }
  .field.search {
    width: 100%;
    flex-basis: 100%;
  }
  .field {
    flex: 1;
  }
  .field select {
    width: 100%;
  }
  .metric {
    padding: 18px;
  }
  .metric strong {
    font-size: 26px;
  }
  .panel {
    padding: 18px;
  }
  .panel .table-scroll {
    margin: 18px -18px -18px;
  }
  footer {
    flex-direction: column;
    padding: 20px;
  }
  .pagination {
    padding: 12px;
  }
  .source-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

.login-box {
  min-height: 0;
}

.report-details > summary {
  font-size: 15px;
  font-weight: 600;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 20px;
}
.metric strong {
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .report-details > summary {
    font-size: 14px;
  }
  .toolbar .field:not(.search) {
    min-width: 42%;
  }
  .page-heading .primary {
    width: 100%;
  }
  .metric span {
    font-size: 11px;
  }
  nav {
    gap: 16px;
  }
  .header-right .quiet {
    padding: 8px;
  }
  .metric strong {
    font-size: 25px;
  }
}

/* Executive workspace: navy navigation, clear blue call volume, teal response. */
:root {
  --navy: #172d50;
  --blue: #365fc7;
  --text: #263c58;
  --muted: #617089;
  --line: #e1e7ef;
  --bg: #f4f7fb;
  --green: #18776d;
}
body {
  font-family:
    "Avenir Next",
    Avenir,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
}
.workspace-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  background: #172d50;
  color: #d3def0;
  padding: 34px 18px 22px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.workspace-rail .brand {
  font-size: 25px;
  padding: 0 10px;
}
.workspace-rail .brand small {
  font-family: "Avenir Next", sans-serif;
  font-size: 12px;
  color: #aabdd8;
  margin-top: 13px;
}
.workspace-rail nav {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  padding: 0;
  margin-top: 48px;
  gap: 9px;
}
.workspace-rail .nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  color: #c5d3e8;
  border: 0;
  border-radius: 7px;
  font-size: 12px;
  text-align: left;
  font-weight: 500;
  white-space: nowrap;
}
.workspace-rail .nav.active {
  background: #2b4469;
  color: #fff;
  box-shadow: inset 3px 0 #89b9ff;
}
.workspace-rail .nav svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.workspace-rail .nav span {
  margin-left: auto;
  background: #405a7f;
  color: white;
  font-size: 10px;
  padding: 1px 6px;
}
.rail-bottom {
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 20px 8px 0;
  border-top: 1px solid #344b6b;
  font-size: 12px;
}
.rail-bottom small {
  display: block;
  color: #aabdd8;
  font-size: 10px;
  margin-top: 3px;
}
.firm-avatar {
  border: 1px solid #506783;
  padding: 8px;
  border-radius: 7px;
  font-family: Georgia, serif;
  font-size: 16px;
}
.workspace-top {
  margin-left: 224px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 34px;
  border-bottom: 1px solid var(--line);
  background: white;
  gap: 12px;
}
.workspace-label {
  font-size: 12px;
  font-weight: 600;
  color: #53657e;
}
.workspace-top .header-right {
  color: var(--muted);
  gap: 14px;
  font-size: 11px;
}
.workspace-top .quiet {
  color: var(--muted);
  font-size: 11px;
}
body > main {
  margin-left: 224px;
  padding: 30px 34px 36px;
  max-width: none;
  min-height: 85vh;
}
body > footer {
  margin-left: 224px;
  padding: 20px 34px;
  font-size: 12px;
}
h1 {
  font-family: inherit;
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 650;
}
h2 {
  font-size: 16px;
  letter-spacing: -0.3px;
}
button {
  border-radius: 6px;
}
button.primary {
  background: #365fc7;
  border-color: #365fc7;
  font-weight: 600;
  font-size: 12px;
  padding: 11px 17px;
}
.executive-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.executive-heading h1 {
  margin-bottom: 6px;
}
.executive-heading p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.period {
  padding: 10px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  min-width: 174px;
}
.period span {
  font-size: 10px;
  display: block;
  color: var(--muted);
}
.period strong {
  font-size: 12px;
  display: block;
  margin-top: 2px;
}
.executive-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.executive-kpi {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 20px 21px;
}
.executive-kpi h2 {
  font-size: 12px;
  font-weight: 500;
  color: #52657f;
  margin: 0 0 13px;
  letter-spacing: 0;
}
.executive-kpi > strong {
  display: block;
  font-size: 35px;
  letter-spacing: -1.3px;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.executive-kpi p {
  color: var(--muted);
  font-size: 10px;
  margin: 13px 0 0;
  line-height: 1.6;
  max-width: 28ch;
}
.executive-kpi.attention-kpi {
  border-top: 3px solid #da9364;
  padding-top: 18px;
}
.executive-kpi.attention-kpi > strong {
  color: #ac5b31;
}
.executive-kpi.response-kpi {
  border-top: 3px solid #218c80;
  padding-top: 18px;
}
.executive-kpi.response-kpi > strong {
  color: #167b70;
}
.executive-charts {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(290px, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}
.volume-panel,
.response-panel,
.focus-panel,
.channel-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
}
.volume-panel,
.response-panel {
  padding: 22px 24px 17px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
}
.section-heading h2 {
  margin: 0 0 5px;
}
.section-heading p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.segment {
  display: flex;
  padding: 3px;
  background: #f0f3f9;
  border-radius: 6px;
  flex-shrink: 0;
}
.segment button {
  border: 0;
  background: transparent;
  font-size: 10px;
  color: var(--muted);
  padding: 5px 9px;
  font-weight: 500;
}
.segment button[aria-pressed="true"] {
  background: white;
  color: var(--navy);
  box-shadow: 0 1px 3px #263c581a;
}
.volume-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 22px 0 10px;
  flex-wrap: wrap;
}
.volume-summary > strong {
  font-size: 26px;
  letter-spacing: -0.5px;
  font-weight: 600;
  line-height: 1.2;
}
.volume-summary small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 400;
  margin-top: 5px;
}
.volume-summary > span {
  font-size: 10px;
  color: var(--muted);
}
.volume-summary b {
  font-weight: 600;
  color: var(--text);
}
.volume-summary i {
  font-style: normal;
  background: #edf7f4;
  color: #18776d;
  padding: 3px 5px;
  margin-left: 3px;
  border-radius: 4px;
}
.plot-legend {
  display: flex;
  gap: 12px;
  margin-left: auto;
  font-size: 9px;
  color: var(--muted);
  flex-wrap: wrap;
}
.plot-legend span:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #3964cc;
  margin-right: 5px;
}
.plot-legend span + span:before {
  background: #dce5f5;
}
.volume-plot {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.volume-plot text {
  font-family: inherit;
  fill: #6a7b93;
  font-size: 10px;
}
.volume-plot g:hover rect:not(:first-of-type),
.volume-plot g:focus rect:not(:first-of-type) {
  filter: brightness(0.88);
}
.chart-readout {
  font-size: 10px;
  color: var(--muted);
  margin: 4px 0 0;
  min-height: 30px;
}
.response-visual {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 14px 0 7px;
}
.response-visual svg {
  width: 140px;
  max-width: 48%;
  flex-shrink: 0;
}
.response-visual p {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 17ch;
}
.response-visual strong {
  font-size: 15px;
  color: var(--text);
  display: block;
  font-weight: 600;
}
.ring-value {
  font:
    600 25px "Avenir Next",
    sans-serif;
  fill: #172d50;
}
.ring-label {
  font:
    9px "Avenir Next",
    sans-serif;
  fill: #617089;
}
.response-key {
  padding: 0;
  margin: 0;
  list-style: none;
}
.response-key li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  gap: 6px;
  padding: 7px 0;
}
.response-key strong {
  font-size: 12px;
  font-weight: 600;
}
.response-key i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
}
.panel-footnote {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  margin: 13px 0 0;
  max-width: 80ch;
}
.response-panel .panel-footnote {
  border-top: 1px solid #edf1f6;
  padding-top: 12px;
}
.executive-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr);
  gap: 22px;
  margin-bottom: 18px;
}
.focus-panel,
.channel-panel {
  padding: 22px 24px;
}
.attention-dot {
  font-size: 9px;
  background: #fff3e9;
  color: #a45225;
  padding: 4px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.focus-content {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 26px 0;
}
.focus-number {
  font-size: 45px;
  color: #a95d36;
  font-weight: 500;
  letter-spacing: -1.5px;
  min-width: 112px;
}
.focus-number span {
  display: block;
  font-size: 10px;
  letter-spacing: 0;
  color: var(--muted);
}
.focus-content h3 {
  font-size: 13px;
  margin-bottom: 6px;
}
.focus-content p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 14px;
  max-width: 46ch;
}
.focus-content button span {
  margin-left: 14px;
}
.coverage-note {
  border-top: 1px solid #edf1f6;
  padding-top: 16px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.coverage-note strong {
  display: block;
  color: var(--text);
  font-size: 11px;
  margin-bottom: 3px;
}
.channel-bars {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.channel-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  margin-bottom: 5px;
}
.channel-label strong {
  font-weight: 600;
}
.channel-track {
  height: 5px;
  background: #eff3f9;
  border-radius: 4px;
}
.channel-track i {
  display: block;
  height: 100%;
  background: #7898d0;
  border-radius: 4px;
}
.channel-bars > div:first-child i {
  background: #365fc7;
}
.overview-integrity {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 23px;
  color: var(--muted);
  font-size: 9px;
}
.overview-integrity .quiet {
  font-size: 10px;
  padding: 6px 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.overview-integrity > span:last-child {
  margin-left: auto;
}
.health-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #218c80;
  border-radius: 50%;
}
.health-dot.incomplete {
  background: #bd5c30;
}
.report-details > summary {
  font-size: 12px;
  padding: 15px 18px;
  border-radius: 7px;
}
@media (min-width: 1600px) {
  body > main {
    padding-left: 46px;
    padding-right: 46px;
  }
  .executive-kpi {
    padding: 24px;
  }
  .executive-kpi p {
    font-size: 11px;
  }
  .section-heading p,
  .response-key li,
  .channel-label {
    font-size: 12px;
  }
}
@media (max-width: 1200px) {
  .workspace-rail {
    width: 194px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .workspace-rail .brand {
    font-size: 23px;
    padding-left: 8px;
  }
  .workspace-rail .nav {
    font-size: 11px;
    gap: 9px;
    padding-left: 10px;
  }
  .workspace-top,
  body > main,
  body > footer {
    margin-left: 194px;
  }
  .workspace-top {
    padding: 18px 24px;
  }
  body > main {
    padding: 26px 24px;
  }
  .executive-charts {
    grid-template-columns: minmax(0, 1.5fr) minmax(265px, 1fr);
    gap: 16px;
  }
  .executive-bottom {
    grid-template-columns: minmax(0, 1.2fr) minmax(265px, 1fr);
    gap: 16px;
  }
  .volume-panel,
  .response-panel,
  .focus-panel,
  .channel-panel {
    padding: 20px;
  }
  .executive-kpis {
    gap: 12px;
  }
  .executive-kpi {
    padding: 18px 16px;
  }
  .executive-kpi.attention-kpi,
  .executive-kpi.response-kpi {
    padding-top: 16px;
  }
  .plot-legend {
    margin-left: 0;
  }
  .focus-content {
    gap: 15px;
  }
  .focus-number {
    min-width: 88px;
    font-size: 38px;
  }
}
@media (max-width: 1000px) {
  .executive-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .executive-kpi p {
    max-width: none;
  }
  .executive-charts,
  .executive-bottom {
    grid-template-columns: 1fr;
  }
  .volume-plot {
    max-height: 290px;
  }
  .response-visual {
    max-width: 330px;
    margin: 12px auto;
  }
  .response-key li {
    font-size: 12px;
  }
  .response-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 22px;
  }
  .response-panel .section-heading,
  .response-panel .panel-footnote {
    grid-column: 1/-1;
  }
  .response-key {
    align-self: center;
  }
  .workspace-label {
    display: none;
  }
  .workspace-top {
    justify-content: flex-end;
  }
  .overview-integrity > span:last-child {
    margin-left: 0;
  }
}
@media (max-width: 700px) {
  .workspace-rail {
    position: static;
    width: 100%;
    padding: 18px 18px 0;
  }
  .workspace-rail .brand {
    font-size: 24px;
    padding: 0;
  }
  .workspace-rail .brand small {
    display: none;
  }
  .workspace-rail nav {
    margin-top: 20px;
    flex-direction: row;
    gap: 8px;
  }
  .workspace-rail .nav {
    padding: 12px 7px;
    font-size: 11px;
    gap: 6px;
    border-radius: 6px 6px 0 0;
  }
  .workspace-rail .nav.active {
    box-shadow: inset 0 -3px #89b9ff;
  }
  .workspace-rail .nav svg {
    display: none;
  }
  .workspace-rail .nav span {
    font-size: 9px;
  }
  .rail-bottom {
    display: none;
  }
  .workspace-top,
  body > main,
  body > footer {
    margin-left: 0;
  }
  .workspace-top {
    padding: 10px 16px;
  }
  .workspace-top .header-right {
    gap: 8px;
    width: 100%;
  }
  .workspace-top .header-right #freshness {
    display: block;
    margin-right: auto;
    font-size: 9px;
  }
  .workspace-top .quiet {
    padding: 5px;
    font-size: 10px;
  }
  body > main {
    padding: 24px 16px;
  }
  .executive-heading {
    align-items: start;
    margin-bottom: 22px;
    gap: 10px;
  }
  .executive-heading h1 {
    font-size: 25px;
  }
  .executive-heading p {
    font-size: 11px;
    max-width: 23ch;
  }
  .period {
    min-width: 0;
    padding: 8px 10px;
    white-space: nowrap;
  }
  .period strong {
    font-size: 10px;
  }
  .period span {
    font-size: 9px;
  }
  .executive-kpis {
    gap: 10px;
    margin-bottom: 18px;
  }
  .executive-kpi h2 {
    font-size: 11px;
  }
  .executive-kpi > strong {
    font-size: 32px;
  }
  .executive-kpi p {
    font-size: 9px;
  }
  .section-heading h2 {
    font-size: 15px;
  }
  .volume-panel,
  .response-panel,
  .focus-panel,
  .channel-panel {
    padding: 18px;
  }
  .volume-summary {
    gap: 12px;
  }
  .plot-legend {
    width: 100%;
  }
  .volume-plot {
    min-height: 175px;
  }
  .response-panel {
    display: block;
  }
  .response-visual {
    margin: 14px auto;
    justify-content: center;
  }
  .response-key li {
    font-size: 11px;
  }
  .focus-content {
    align-items: start;
  }
  .focus-number {
    font-size: 35px;
    min-width: 78px;
  }
  .focus-number span {
    max-width: 11ch;
  }
  .focus-content h3 {
    font-size: 12px;
  }
  .focus-content button {
    font-size: 11px;
    padding: 10px;
  }
  .focus-content button span {
    margin-left: 4px;
  }
  .attention-dot {
    font-size: 8px;
  }
  .channel-label {
    font-size: 11px;
  }
  body > footer {
    padding: 18px;
    font-size: 11px;
  }
  .overview-integrity {
    gap: 8px 14px;
  }
}
