:root {
  color-scheme: light;
  font-family: "Basic Sans", Roboto, Arial, sans-serif;

  /* CCCC brand palette: PMS 2187, 7712, 7625, 123, 368, 389, 631, 668, 432. */
  --cccc-blue: #00507c;
  --cccc-teal: #0085a0;
  --cccc-coral: #e45f4e;
  --cccc-gold: #eebe42;
  --cccc-green: #73bc44;
  --cccc-lime: #d4da26;
  --cccc-sky: #2cafc8;
  --cccc-purple: #69537b;
  --cccc-ink: #35474f;
  --cccc-gray: #798787;
  --cccc-mid-blue: #578b9e;

  /* Semantic tokens keep page components visually consistent. */
  --bg: #f3f6f6;
  --panel: #ffffff;
  --ink: var(--cccc-ink);
  --muted: #667779;
  --brand: var(--cccc-blue);
  --accent: var(--cccc-teal);
  --coral: var(--cccc-coral);
  --gold: var(--cccc-gold);
  --green: var(--cccc-green);
  --lime: var(--cccc-lime);
  --purple: var(--cccc-purple);
  --mid-blue: var(--cccc-mid-blue);
  --border: #d4dddd;
  --border-strong: #b8c9cc;
  --surface-subtle: #f2f8f8;
  --surface-accent: #e7f5f6;
  --content-bg: #f5f8f8;
  --sidebar: #102f3d;
  --sidebar-muted: #a9c2c8;
  --sidebar-active: #1c5264;
  --focus: rgba(0, 133, 160, 0.34);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 6px 18px rgba(0, 80, 124, 0.07);
  --shadow: 0 18px 48px rgba(0, 80, 124, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--content-bg);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.app-shell {
  min-height: 100vh;
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
}

.app-sidebar {
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 248px;
  top: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: var(--space-7) var(--space-4) var(--space-5);
  color: white;
  background: var(--sidebar);
}

.sidebar-brand { display: flex; align-items: center; padding: 0 10px var(--space-7); }
.sidebar-brand a { display: block; width: 100%; }
.brand-logo { display: block; width: 100%; max-width: 205px; height: auto; }
.sidebar-label, .sidebar-group-label { color: var(--sidebar-muted); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sidebar-label { padding: 0 10px 10px; }
.sidebar-nav { display: grid; gap: 22px; }
.sidebar-group { display: grid; gap: 4px; }
.sidebar-group + .sidebar-group { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.sidebar-group-label { padding: 0 10px 6px; font-size: .64rem; }
.sidebar-link { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 9px 10px; border-radius: 9px; color: #d9e8eb; font-size: .88rem; font-weight: 650; text-decoration: none; }
.sidebar-link:hover { color: white; background: rgba(44, 175, 200, .16); }
.sidebar-link.active { color: white; background: var(--sidebar-active); box-shadow: inset 3px 0 0 var(--cccc-sky); }
.sidebar-icon { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; color: #9bd8dc; font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif; font-size: 1.32rem; font-weight: 700; line-height: 1; text-align: center; }
.sidebar-icon-operations-overview { font-size: 1.42rem; }
.sidebar-icon-engagement-trends { font-size: 1.42rem; }
.sidebar-icon-regional-map { font-size: 1.38rem; }
.sidebar-icon-member-need { font-size: 1.4rem; }
.sidebar-icon-decision-review { font-size: 1.28rem; }
.sidebar-icon-admin-settings { font-size: 1.3rem; }
.sidebar-footer { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 18px 10px 0; border-top: 1px solid rgba(255,255,255,.12); color: var(--sidebar-muted); font-size: .75rem; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #73bc44; box-shadow: 0 0 0 3px rgba(115,188,68,.15); }

.app-shell > .page-header, .app-shell > section, .app-shell > .panel, .app-shell > footer { margin-left: 292px; margin-right: 44px; }
.app-shell > .page-header { padding: 20px 0 0; }

.hero,
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

.page-header { align-items: flex-start; }
.page-header .page-nav { display: none; }

.header-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  color: var(--brand);
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.intro {
  margin: 0;
  max-width: 760px;
  line-height: 1.45;
  color: var(--muted);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.panel-heading h2 {
  margin: 0 0 8px;
}

.panel-heading p,
.field-card p,
.recommendation-box p,
.hint-box p,
.table-header p {
  color: var(--muted);
  line-height: 1.55;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.field-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--surface-subtle);
}

.field-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 600;
}

.field-note {
  color: var(--brand);
  font-size: 0.85rem;
}

input[type="number"],
input[type="search"],
input[type="file"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font: inherit;
  background: var(--panel);
}

input[type="number"]:focus-visible,
input[type="search"]:focus-visible,
input[type="file"]:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
.download-link:focus-visible,
.nav-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

input[type="range"] {
  flex: 1;
  accent-color: var(--brand);
}

.toggle-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.weight-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.weight-control strong {
  min-width: 2rem;
  text-align: right;
}

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

.dashboard-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
}

.summary-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  background: var(--surface-subtle);
}

.summary-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.score {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.score.small {
  font-size: 1.25rem;
}

.recommendation-box,
.hint-box,
.insight-card {
  margin-top: 20px;
  padding: 18px;
  border-radius: 14px;
  background: #edf7f9;
  border: 1px solid #b9dce3;
}

.export-box {
  margin-top: 20px;
}

.export-header,
.table-header,
.upload-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.upload-stack {
  margin-top: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf4f7;
  color: var(--brand);
  font-weight: 600;
}

.file-control {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.secondary-link {
  background: var(--accent);
}

.inline-link {
  color: var(--brand);
  font-weight: 700;
}

button {
  border: none;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: white;
  padding: 10px 14px;
  font: inherit;
  cursor: pointer;
}

.secondary-button {
  background: var(--accent);
}

button,
.download-link,
.nav-link {
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

button:hover,
.download-link:hover,
.nav-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 80, 124, 0.14);
}

.page-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hierarchy-nav {
  align-items: flex-start;
  justify-content: flex-end;
}

.nav-hierarchy {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.nav-parent {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.nav-parent.active {
  color: var(--purple);
}

.nav-level,
.nav-global {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-level-label {
  margin-left: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-child {
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-child:hover {
  background: #e9f5f7;
}

.nav-child.active {
  background: var(--brand);
  color: white;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.nav-link.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.search-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
  font-weight: 600;
}

.year-filter {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
  color: var(--ink);
  font-weight: 700;
}

.year-filter select {
  min-width: 185px;
}

.participation-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.need-review-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.need-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 520px;
}

.program-weight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.program-weight-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  gap: 8px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fbfdfd;
  font-weight: 700;
}

.program-weight-row small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
}

.decision-review-table {
  background: #fffdf7;
}

.participation-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.action-panel {
  margin-top: 28px;
  padding: 24px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, #00507c 0%, #0085a0 58%, #578b9e 100%);
  box-shadow: 0 16px 34px rgba(0, 80, 124, 0.2);
}

.action-panel .eyebrow,
.action-panel .table-header p {
  color: #d6f0f3;
}

.action-panel h2,
.action-panel h3 {
  margin-top: 0;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.action-card {
  min-height: 174px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.action-card p {
  margin-bottom: 0;
  line-height: 1.5;
  color: #f3fbff;
}

.action-count {
  margin: 0 0 10px !important;
  font-size: 2rem;
  font-weight: 800;
}

.leadership-shell {
  max-width: 1320px;
}

.leadership-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  color: white;
  background: linear-gradient(120deg, #00507c, #0085a0 58%, #2cafc8);
  box-shadow: var(--shadow-sm);
}

.green-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  color: white;
  background: linear-gradient(120deg, #31545b, #0085a0 58%, #73bc44);
  box-shadow: var(--shadow-sm);
}

.board-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  color: white;
  background: linear-gradient(120deg, #433554, #69537b 58%, #578b9e);
  box-shadow: var(--shadow-sm);
}

.operations-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  color: white;
  background: linear-gradient(120deg, #00507c, #2cafc8 58%, #73bc44);
  box-shadow: var(--shadow-sm);
}

.outreach-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  color: white;
  background: linear-gradient(120deg, #31545b, #0085a0 62%, #73bc44);
  box-shadow: var(--shadow-sm);
}

.outreach-hero h2,
.outreach-hero p { margin-top: 0; }
.outreach-hero .eyebrow,
.outreach-hero p { color: #e5f8f5; }
.outreach-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.workspace-hero { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 28px; border-radius: var(--radius-lg); color: white; box-shadow: var(--shadow-sm); }
.workspace-hero h2 { margin-top: 0; color: white; }
.workspace-hero p { margin-top: 0; color: #e5f8f5; }
.workspace-hero .eyebrow { color: #e5f8f5; }
.workspace-hero.light-hero { color: var(--ink); }
.workspace-hero.light-hero h2 { color: var(--brand); }
.workspace-hero.light-hero p, .workspace-hero.light-hero .eyebrow { color: var(--muted); }
.relationship-hero { background: linear-gradient(120deg, #00507c, #0085a0 62%, #578b9e); }
.need-hero { background: linear-gradient(120deg, #69537b, #578b9e 62%, #0085a0); }
.review-hero { background: linear-gradient(120deg, #31545b, #0085a0 62%, #73bc44); }
.detail-hero { background: linear-gradient(120deg, #00507c, #0085a0 58%, #e45f4e); }
.visual-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; }
.visual-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 20px; margin-top: 20px; }
.visual-card { min-width: 0; padding: 22px; }
.visual-bars { display: grid; gap: 20px; margin-top: 28px; }
.visual-bar-row { display: grid; grid-template-columns: 100px minmax(0, 1fr) 32px; align-items: center; gap: 12px; font-weight: 700; }
.visual-bar { height: 12px; overflow: hidden; border-radius: 999px; background: #e7eeee; }
.visual-bar i { display: block; height: 100%; border-radius: inherit; background: var(--brand); }
.visual-bar i.healthy { background: var(--green); }.visual-bar i.watch { background: var(--gold); }.visual-bar i.risk { background: var(--coral); }
.workspace-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.workspace-links a { display: grid; gap: 8px; padding: 20px; border: 1px solid var(--border); border-radius: 14px; color: var(--ink); background: white; text-decoration: none; }
.workspace-links a:hover { border-color: var(--accent); background: #f0fafb; }.workspace-links span { color: var(--muted); }
.review-panel { margin-top: 20px; }
.review-panel td small { display: block; margin-top: 4px; color: var(--muted); }
.review-panel input, .review-panel select { min-width: 120px; padding: 7px 9px; border-radius: 8px; }
.rules-panel { margin-top: 20px; }.rule-builder { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1.1fr 1.6fr auto; gap: 12px; align-items: end; margin-top: 18px; }.rule-builder label { display: grid; gap: 6px; color: var(--ink); font-size: .82rem; font-weight: 750; }.rule-builder input, .rule-builder select { min-width: 0; }.rule-actions { display: flex; gap: 8px; }.rules-table-card { margin-top: 22px; }.rules-table-card td small, .review-panel td small { display: block; margin-top: 4px; color: var(--muted); line-height: 1.35; }.rule-edit-button, .rule-delete-button { padding: 7px 10px; font-size: .78rem; }.rule-delete-button { background: #f6e9e7; color: #a84b40; }
.review-batches { display: grid; gap: 12px; margin-top: 18px; }.review-batch { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; }.review-batch.open { border-color: #9ecbd1; box-shadow: 0 8px 22px rgba(0,80,124,.07); }.review-batch-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 20px; border: 0; border-radius: 0; color: var(--ink); background: #f4f8f8; text-align: left; }.review-batch-toggle:hover { transform: none; box-shadow: none; background: #eaf5f6; }.review-batch-toggle span:first-child { display: grid; gap: 5px; }.review-batch-toggle small { color: var(--muted); font-weight: 500; }.review-batch-chevron { color: var(--brand); font-size: 1.4rem; transition: transform .15s ease; }.review-batch.open .review-batch-chevron { transform: rotate(180deg); }.review-batch-details { padding: 0 18px 18px; }.review-batch-details td small { display: block; margin-top: 4px; color: var(--muted); line-height: 1.35; }.review-batch-details input, .review-batch-details select { min-width: 110px; padding: 7px 9px; border-radius: 8px; }.empty-state { padding: 24px; color: var(--muted); text-align: center; }
.table-link { color: var(--brand); font-weight: 750; }.table-link:hover { color: var(--accent); }
.trend-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.trend-bars { display: flex; align-items: end; gap: 18px; min-height: 270px; margin-top: 24px; padding: 0 12px; border-bottom: 1px solid var(--border); }
.trend-bar-item { display: grid; justify-items: center; gap: 8px; min-width: 48px; height: 235px; align-items: end; }.trend-bar { display: flex; align-items: end; width: 38px; height: 200px; border-radius: 8px 8px 0 0; background: #e9f5f7; }.trend-bar i { display: block; width: 100%; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--accent), var(--brand)); }.trend-bar-value { font-weight: 800; color: var(--brand); }.trend-bar-item strong { font-size: .78rem; color: var(--muted); }
.trend-card-note { margin: 7px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.35; }.trend-summary .summary-card { min-width: 0; }
.trend-chart { min-height: 292px; margin-top: 14px; }.trend-chart-plot { position: relative; min-height: 278px; }.trend-chart svg { display: block; width: 100%; height: 270px; overflow: visible; }.trend-grid-line { stroke: #dbe6e8; stroke-width: 1; }.trend-axis-label { fill: var(--muted); font-size: 11px; }.trend-line { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }.trend-point { position: absolute; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 3px solid white; border-radius: 50%; background: var(--brand); box-shadow: 0 3px 10px rgba(0,80,124,.2); transform: translate(-50%, -50%); }.trend-point:hover, .trend-point:focus-visible, .trend-point.selected { background: var(--coral); transform: translate(-50%, -50%) scale(1.15); }.trend-point span { position: absolute; top: -24px; color: var(--brand); font-size: .75rem; font-weight: 850; }.trend-point.selected span { color: var(--coral); }.trend-x-labels { position: absolute; right: 3.75%; bottom: 0; left: 6.56%; height: 20px; }.trend-x-labels span { position: absolute; color: var(--muted); font-size: .73rem; font-weight: 750; transform: translateX(-50%); white-space: nowrap; }
.trend-mix { display: grid; gap: 10px; margin-top: 24px; }.trend-mix-row { display: grid; grid-template-columns: 94px minmax(0, 1fr) 36px; align-items: center; gap: 10px; width: 100%; padding: 9px; border: 1px solid transparent; border-radius: 9px; color: var(--ink); background: transparent; text-align: left; }.trend-mix-row:hover, .trend-mix-row:focus-visible, .trend-mix-row.selected { border-color: #9ecbd1; background: #f0f8f8; box-shadow: none; transform: none; }.trend-mix-label { display: grid; gap: 1px; }.trend-mix-label small { color: var(--muted); font-size: .7rem; }.trend-mix-bar { display: flex; height: 18px; overflow: hidden; border-radius: 999px; background: #e7eeee; }.trend-mix-bar i { display: block; height: 100%; }.trend-mix-bar .healthy { background: var(--green); }.trend-mix-bar .watch { background: var(--gold); }.trend-mix-bar .risk { background: var(--coral); }.trend-mix-value { color: var(--brand); font-size: .82rem; font-weight: 850; text-align: right; }
.trend-insight-card { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 20px; }.trend-insight-card h2 { margin: 0; }.trend-selected-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }.trend-selected-metrics div { display: grid; gap: 4px; padding: 12px; border-radius: 9px; background: #f2f8f8; }.trend-selected-metrics span, .trend-selected-note { color: var(--muted); font-size: .78rem; }.trend-selected-metrics strong { color: var(--brand); font-size: 1rem; }.trend-selected-note { grid-column: 1 / -1; margin: 0; line-height: 1.45; }.trend-table-card { margin-top: 20px; }.trend-table-button { padding: 0; border: 0; border-radius: 0; color: var(--brand); background: transparent; box-shadow: none; font: inherit; font-weight: 750; }.trend-table-button:hover, .trend-table-button:focus-visible { color: var(--accent); text-decoration: underline; transform: none; box-shadow: none; }.trend-change.positive { color: #477d28; font-weight: 800; }.trend-change.negative { color: #ad4538; font-weight: 800; }
.detail-signal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }.detail-signal-grid div { display: flex; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 10px; background: #f2f8f8; }.detail-signal-grid span { color: var(--muted); }.detail-subheading { margin: 24px 0 10px; font-size: .95rem; }.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }.data-tag { display: inline-flex; padding: 7px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }.data-tag.used { color: #477d28; background: #e9f5e2; }.data-tag.gap { color: #8a6a18; background: #fff5d8; }.muted-copy, .table-header-note { color: var(--muted); }
.score-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.score-guide-card { min-width: 0; }.score-guide-heading { display: flex; align-items: center; gap: 14px; }.score-guide-heading h2 { margin: 0; font-size: 1.2rem; }.score-guide-number { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; color: white; font-weight: 850; }.relationship-number { background: var(--brand); }.need-number { background: var(--purple); }.score-guide-heading .eyebrow { margin: 0 0 3px; }.score-definition { min-height: 72px; margin: 22px 0 16px; line-height: 1.55; }.formula-box { display: grid; gap: 6px; padding: 14px 16px; border-left: 4px solid var(--accent); background: #f0f8f8; line-height: 1.45; }.formula-box strong { color: var(--brand); }.formula-box span { color: var(--ink); font-family: Consolas, monospace; font-size: .85rem; }.score-guide-card h3 { margin: 22px 0 10px; font-size: .95rem; }.score-signal-list { display: flex; flex-wrap: wrap; gap: 8px; }.score-signal-list span { padding: 7px 9px; border-radius: 7px; background: #f2f8f8; color: var(--ink); font-size: .82rem; }.score-note { margin: 18px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }.need-scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }.need-scale div { display: grid; gap: 4px; padding: 12px; background: #f8f4fa; border-radius: 8px; }.need-scale strong { color: var(--purple); font-size: 1.1rem; }.need-scale span { color: var(--muted); font-size: .78rem; line-height: 1.3; }.score-guide-wide { margin-top: 20px; }.score-reading-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }.score-reading-grid div { display: grid; gap: 8px; padding: 15px; border-radius: 9px; background: #f2f8f8; }.score-reading-grid span { color: var(--muted); font-size: .85rem; line-height: 1.45; }.score-guide-callout { margin-top: 18px; padding: 14px 16px; border-radius: 8px; background: #fff8e5; color: #6d581d; line-height: 1.5; }
.score-guide-subnote { margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: #f7f8f8; color: var(--muted); font-size: .84rem; line-height: 1.5; }.score-guide-subnote strong { color: var(--brand); }
.unengaged-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }.guide-card { min-width: 0; }.guide-card h2 { margin-top: 0; font-size: 1.2rem; }.guide-rule { display: grid; gap: 5px; margin-top: 20px; padding: 14px 16px; border-left: 4px solid var(--accent); background: #f0f8f8; }.guide-rule strong { color: var(--brand); }.guide-rule span { color: var(--muted); font-size: .88rem; line-height: 1.45; }.guide-card-wide { margin-top: 20px; }.guide-signal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }.guide-signal-grid div { display: grid; gap: 6px; padding: 14px; border-radius: 9px; background: #f2f8f8; }.guide-signal-grid span { color: var(--muted); font-size: .82rem; line-height: 1.4; }.guide-thresholds { display: grid; gap: 10px; margin-top: 18px; }.guide-thresholds div { display: grid; grid-template-columns: 64px 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; border-radius: 8px; }.guide-thresholds strong { grid-row: span 2; font-size: 1rem; }.guide-thresholds span { font-weight: 800; }.guide-thresholds small { color: var(--muted); }.guide-thresholds .high { background: #fde9e6; color: #ad4538; }.guide-thresholds .standard { background: #fff5d8; color: #7b5d07; }.guide-thresholds .not-queued { background: #e9f5e2; color: #477d28; }.guide-list { display: grid; gap: 10px; margin: 18px 0 0; padding-left: 20px; }.guide-list li { padding-left: 3px; line-height: 1.45; }.guide-callout { margin: 20px 0 40px; }
.regional-layout { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 20px; }.regional-map-card, .regional-detail-card { padding: 22px; }.map-wrap { display: flex; justify-content: center; margin-top: 16px; overflow: hidden; border-radius: 14px; background: #f2f8f8; }.map-wrap svg { display: block; width: 100%; height: min(78vw, 760px); }.map-region { cursor: pointer; outline: none; }.map-region use { stroke: rgba(255,255,255,.9); stroke-width: 2; vector-effect: non-scaling-stroke; transition: filter .15s ease, stroke .15s ease; }.map-region:hover use, .map-region:focus use, .map-region.selected use { filter: brightness(.92); stroke: var(--brand); stroke-width: 4; }.map-region text { fill: #173d4d; font-size: 22px; font-weight: 800; pointer-events: none; }.map-region .map-count { font-size: 13px; font-weight: 700; }.map-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; color: var(--muted); font-size: .78rem; }.legend-swatch { display: inline-block; width: 11px; height: 11px; margin-right: 4px; border-radius: 3px; vertical-align: -1px; }.legend-swatch.strong { background: var(--green); }.legend-swatch.watch { background: var(--gold); }.legend-swatch.risk { background: var(--coral); }.legend-swatch.none { background: #e8eeee; border: 1px solid var(--border); }.regional-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }.regional-metrics div { display: flex; justify-content: space-between; padding: 14px; border-radius: 10px; background: #f2f8f8; }.regional-metrics span { color: var(--muted); }.region-button { padding: 0; border: 0; background: transparent; box-shadow: none; border-radius: 0; }.region-button:hover { transform: none; box-shadow: none; text-decoration: underline; }.regional-table-panel { margin-top: 20px; }
.regional-layout { grid-template-columns: minmax(0, 1fr) 310px; align-items: start; }.map-canvas { position: relative; width: 100%; aspect-ratio: 2000 / 1650; overflow: hidden; }.map-canvas img { display: block; width: 100%; height: 100%; object-fit: contain; }.map-marker { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 3px solid white; border-radius: 50%; color: #173d4d; background: var(--marker-color); box-shadow: 0 3px 12px rgba(16,47,61,.2); font-size: .72rem; font-weight: 850; cursor: pointer; }.map-marker:hover, .map-marker:focus-visible, .map-marker.selected { z-index: 2; transform: translate(-50%, -50%) scale(1.14); border-color: var(--brand); box-shadow: 0 4px 16px rgba(16,47,61,.3); }.regional-detail-card { position: sticky; top: 24px; }
.regional-detail-card { min-width: 0; overflow: hidden; }.regional-detail-card .regional-metrics { grid-template-columns: 1fr; }.regional-metrics div { min-width: 0; align-items: center; gap: 12px; }.regional-metrics span { min-width: 0; overflow-wrap: anywhere; }.regional-metrics strong { flex: 0 0 auto; }
.outreach-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; }
.outreach-overview-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }.outreach-map-card, .outreach-signals-card { margin-top: 20px; }.outreach-priority-map { min-height: 398px; margin-top: 18px; }.outreach-map-axis { display: flex; justify-content: space-between; margin: 0 12px 6px; color: var(--muted); font-size: .75rem; font-weight: 700; }.outreach-map-surface { position: relative; min-height: 330px; overflow: hidden; border-bottom: 2px solid #bfd1d4; border-left: 2px solid #bfd1d4; border-radius: 10px 10px 0 10px; background: linear-gradient(135deg, #fdeeea 0%, #fff8e5 48%, #e9f5e2 100%); }.outreach-map-surface::before { position: absolute; inset: 50% 0 auto; border-top: 1px dashed rgba(53,71,79,.22); content: ""; }.outreach-map-dot { position: absolute; z-index: 1; display: grid; place-items: center; border: 3px solid white; border-radius: 50%; color: white; background: var(--accent); box-shadow: 0 3px 12px rgba(16,47,61,.2); transform: translate(-50%, -50%); }.outreach-map-dot.high { background: var(--coral); }.outreach-map-dot i { font-size: .72rem; font-style: normal; font-weight: 850; }.outreach-reason-bars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin-top: 23px; }.outreach-reason-row { display: grid; grid-template-columns: minmax(105px, .9fr) minmax(0, 1.4fr) 24px; align-items: center; gap: 10px; }.outreach-reason-row > span { color: var(--ink); font-size: .82rem; font-weight: 700; line-height: 1.3; }.outreach-reason-row > div { height: 13px; overflow: hidden; border-radius: 999px; background: #e7eeee; }.outreach-reason-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--coral), var(--gold)); }.outreach-reason-row strong { color: var(--brand); text-align: right; }.outreach-distribution { display: grid; gap: 12px; margin-top: 22px; }.outreach-distribution-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 40px; align-items: center; gap: 10px; padding: 12px; border-radius: 9px; background: #f2f8f8; }.outreach-distribution-row span:nth-child(2) { display: grid; gap: 2px; }.outreach-distribution-row small { color: var(--muted); }.outreach-distribution-row b { color: var(--brand); font-size: 1.1rem; }.outreach-distribution-row em { color: var(--muted); font-size: .8rem; font-style: normal; text-align: right; }.outreach-band-dot { width: 10px; height: 10px; border-radius: 50%; }.outreach-band-dot.high { background: var(--coral); }.outreach-band-dot.standard { background: var(--gold); }.outreach-workload { display: grid; gap: 24px; margin-top: 27px; }.outreach-workload-row { display: grid; gap: 9px; }.outreach-workload-row > div:first-child { display: flex; justify-content: space-between; gap: 12px; }.outreach-workload-row span { color: var(--muted); font-size: .85rem; }.outreach-workload-track { height: 13px; overflow: hidden; border-radius: 999px; background: #e7eeee; }.outreach-workload-track i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }.outreach-workload-track i.high-assigned { background: var(--coral); }.outreach-start-card { margin-top: 20px; }
.outreach-panel { margin-top: 20px; }
.outreach-filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; margin-bottom: 20px; }
.outreach-filters .year-filter { margin-top: 0; min-width: 210px; }
.outreach-filters .year-filter:last-child { flex: 1; max-width: 420px; }
.outreach-table-card { margin-top: 0; }
.outreach-table-card td strong,
.outreach-table-card td small { display: block; }
.outreach-table-card td small { margin-top: 4px; color: var(--muted); font-size: .78rem; }
.outreach-table-card input { min-width: 110px; padding: 7px 9px; border-radius: 8px; }
.engagement-badge { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: #e9f5e2; color: #477d28; font-weight: 800; white-space: nowrap; }
.engagement-badge.high { background: #fde9e6; color: #ad4538; }
.organization-table { border-collapse: separate; border-spacing: 0 8px; background: #fff; }
.organization-table thead th { padding: 12px 16px; border-bottom: 0; color: var(--muted); background: #f4f8f8; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.organization-group-row > td { padding: 0; border: 1px solid #b9dce2; border-radius: 8px; background: #f1fafb; overflow: hidden; }
.organization-toggle { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; width: 100%; padding: 17px 20px; border: 0; border-radius: 0; color: var(--ink); background: #f1fafb; text-align: left; cursor: pointer; font: inherit; }
.organization-group-row:hover > td { background: #e5f4f6; }
.organization-group-row:hover > td .organization-toggle,
.organization-group-row:hover > td .organization-group-summary { background: #e5f4f6; }
.organization-toggle:hover { background: #e5f4f6; transform: none; box-shadow: none; }
.organization-toggle:focus-visible { outline: 3px solid rgba(0, 133, 160, .35); outline-offset: -3px; }
.organization-toggle-icon { display: grid; place-items: center; width: 18px; height: 24px; color: var(--brand); font-size: 1.45rem; font-weight: 400; line-height: 1; transition: transform .16s ease; }
.organization-toggle-icon.expanded { transform: rotate(90deg); }
.organization-toggle strong, .organization-toggle small { display: block; }
.organization-identity { min-width: 0; }
.organization-toggle small { margin-top: 4px; color: var(--muted); font-size: .78rem; }
.organization-score-block { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 8px; min-width: 138px; text-align: right; }
.organization-score-block small { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.organization-score-block strong { color: var(--brand); font-size: 1.35rem; line-height: 1; }
.organization-score-block strong span { color: var(--muted); font-size: .72rem; font-weight: 700; }
.organization-priority { justify-self: end; padding: 4px 7px; border-radius: 999px; color: #477d28; background: #e9f5e2; font-size: .68rem; font-style: normal; font-weight: 800; white-space: nowrap; }
.organization-priority.high { color: #ad4538; background: #fde9e6; }
.organization-group-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 14px 20px 17px 60px; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.organization-group-summary div { display: grid; gap: 4px; }
.organization-group-summary small { color: var(--brand); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.organization-member-row > td { padding: 0; background: #fff; }
.organization-member-table { padding: 0 20px 20px 60px; overflow-x: hidden; }
.organization-member-table table { min-width: 0; table-layout: fixed; }
.organization-member-table th { color: var(--muted); font-size: .72rem; }
.organization-member-table td { padding: 10px 12px; }
.organization-member-table input { width: 100%; min-width: 0; }
@media (max-width: 700px) {
  .organization-toggle { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 15px; }
  .organization-score-block { grid-column: 2; justify-self: start; min-width: 0; text-align: left; }
  .organization-score-block .organization-priority { justify-self: start; }
  .organization-group-summary { grid-template-columns: 1fr; gap: 12px; padding: 13px 15px 16px 51px; }
  .organization-member-table { padding: 0 12px 15px 15px; }
}

.operations-hero h2,
.operations-hero p {
  margin-top: 0;
}

.operations-hero .eyebrow,
.operations-hero p {
  color: #e5f8f5;
}

.operations-filter-panel {
  margin-top: 22px;
}

.operations-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.operations-filters .year-filter {
  margin-top: 0;
}

.operations-summary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 22px;
}

.operations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 20px;
}

.operations-grid .chart-host {
  display: grid;
  gap: 14px;
}

.operations-catalog-section {
  margin-top: 34px;
}

.operations-insights-section {
  margin-top: 34px;
}

.operations-insights-section h2 {
  margin: 0 0 8px;
}

.operations-insights-section > p:last-of-type {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.operations-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.operations-insight-card {
  display: grid;
  gap: 8px;
  min-height: 184px;
  padding: 18px;
  border: 1px solid #c9dce3;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff, #f1f9fa);
  color: var(--ink);
  text-decoration: none;
}

.operations-insight-card:hover {
  border-color: var(--accent);
  background: #eaf7f8;
}

.operations-insight-card strong {
  font-size: 1.05rem;
}

.operations-insight-card > span:not(.program-report-status),
.operations-insight-card small {
  color: var(--muted);
  line-height: 1.4;
}

.operations-insight-link {
  margin-top: auto;
  color: var(--brand) !important;
  font-weight: 800;
}

.program-report-status.with-data {
  background: #e9f5e2;
  color: #477d28;
}

.program-insight-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(120deg, #00507c, #0085a0 58%, #73bc44);
  box-shadow: var(--shadow);
}

.program-insight-hero h2,
.program-insight-hero p {
  margin-top: 0;
}

.program-insight-hero .eyebrow,
.program-insight-hero p {
  color: #e5f8f5;
}

.program-source-note {
  margin: 22px 0;
}

.program-source-note h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.program-focus-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.program-focus-list div {
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fbfdfd;
}

.program-focus-list strong,
.program-focus-list span {
  display: block;
}

.program-focus-list span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.4;
}

.operations-catalog-section h2 {
  margin: 0 0 8px;
}

.operations-catalog-section > p:last-of-type {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.program-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.program-report-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  color: var(--ink);
  text-align: left;
}

.program-report-card:hover {
  border-color: var(--accent);
  background: #f0fafb;
}

.program-report-card strong {
  align-self: center;
  line-height: 1.35;
}

.program-report-card > span:last-child {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.program-report-status {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf4f7;
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 800;
}

.program-report-card.has-data .program-report-status {
  background: #e9f5e2;
  color: #477d28;
}

.board-hero h2,
.board-hero p {
  margin-top: 0;
}

.board-hero .eyebrow,
.board-hero p {
  color: #f1eafa;
}

.board-brief {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 28px;
  border: 1px solid #d7cee1;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #f7f2fb 100%);
  box-shadow: var(--shadow);
}

.board-brief h2,
.board-scorecard-heading h2 {
  margin: 0 0 8px;
}

.board-headline {
  margin: 0;
  color: var(--purple);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 800;
  line-height: 1.25;
}

.board-scorecard-heading {
  margin: 36px 0 18px;
}

.board-scorecard-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.board-scorecard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.board-metric-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(70, 46, 88, 0.07);
}

.board-metric-card h3,
.board-metric-card .score {
  margin: 0 0 8px;
}

.board-pillar {
  margin: 0 0 8px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.board-target {
  min-height: 1.4em;
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.4;
}

.board-state {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  background: #f1edf5;
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 700;
}

.board-state.on-track { background: #e9f5e2; color: #477d28; }
.board-state.watch { background: #fdeeea; color: #a9372e; }
.board-state.neutral { background: #edf4f7; color: var(--brand); }

.board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 20px;
  margin-top: 20px;
}

.board-discussion-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: board-discussion;
}

.board-discussion-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.board-discussion-list li::before {
  content: counter(board-discussion);
  counter-increment: board-discussion;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
}

.board-discussion-list strong,
.board-discussion-list span {
  grid-column: 2;
}

.board-discussion-list span {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.45;
}

.board-target-panel {
  margin-top: 20px;
}

.board-target-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 16px;
  margin-top: 18px;
}

.board-target-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

.board-target-form button {
  align-self: end;
}

.green-hero h2,
.green-hero p {
  margin-top: 0;
}

.green-hero .eyebrow,
.green-hero p {
  color: #e6f7ed;
}

.green-import-actions {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.light-file-control {
  color: white;
}

.light-file-control input {
  min-width: 260px;
  background: white;
  color: var(--ink);
}

.light-button {
  background: white;
  color: var(--brand);
  white-space: nowrap;
}

.green-sync-note {
  margin: 22px 0;
}

.green-sync-note h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.green-summary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 22px;
}

.green-decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 20px;
}

.green-priority-card {
  background: linear-gradient(145deg, #ffffff, #f0faf3);
  border-color: #c6e0cc;
}

.green-priority-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: green-priority;
}

.green-priority-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.green-priority-list li::before {
  content: counter(green-priority);
  counter-increment: green-priority;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
}

.green-priority-list strong,
.green-priority-list span {
  grid-column: 2;
}

.green-priority-list span {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.45;
}

.signal-status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf4f7;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
}

.signal-status.low { background: #fdeeea; color: #a9372e; }
.signal-status.moderate { background: #fff7df; color: #7b5d07; }
.signal-status.healthy, .signal-status.strong, .signal-status.improving { background: #e9f5e2; color: #477d28; }

.leadership-hero h2,
.leadership-hero p {
  margin-top: 0;
}

.leadership-hero .eyebrow,
.leadership-hero p {
  color: #e1f4f6;
}

.leadership-hero .download-link {
  background: white;
  color: var(--brand);
  white-space: nowrap;
}

.leadership-actions {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.light-filter {
  margin: 0;
  color: white;
}

.light-filter select {
  border-color: rgba(255, 255, 255, 0.5);
}

.leadership-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 22px 0;
}

.leadership-brief {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid #b9dce3;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #eef8fa 100%);
  box-shadow: var(--shadow);
}

.brief-story {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
  gap: 24px;
  align-items: center;
}

.brief-story h2 {
  margin: 0 0 8px;
}

.brief-headline {
  margin: 0;
  color: var(--brand);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 800;
  line-height: 1.25;
}

.brief-summary {
  max-width: 690px;
  margin: 12px 0 0;
  color: var(--ink);
  line-height: 1.6;
}

.brief-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: white;
}

.brief-kpis div {
  padding: 16px 12px;
  border-right: 1px solid var(--border);
}

.brief-kpis div:last-child {
  border-right: 0;
}

.brief-kpis span,
.brief-kpis strong {
  display: block;
}

.brief-kpis span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.brief-kpis strong {
  margin-top: 8px;
  color: var(--brand);
  font-size: 1.55rem;
}

.brief-decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 20px;
  margin-top: 26px;
}

.brief-map-card,
.brief-action-card {
  padding: 20px;
  border-radius: 16px;
}

.brief-map-card {
  border: 1px solid #c7e3e8;
  background: #fff;
}

.brief-map-card h3,
.brief-action-card h3 {
  margin: 0 0 6px;
}

.brief-map-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.brief-map-card .care-map {
  min-height: 250px;
}

.brief-action-card {
  color: white;
  background: var(--brand);
}

.brief-action-card .eyebrow {
  color: #bdebf1;
}

.brief-action-card .inline-link {
  color: white;
  text-decoration-color: var(--gold);
}

.brief-action-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
  counter-reset: brief-action;
}

.brief-action-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.brief-action-list li::before {
  content: counter(brief-action);
  counter-increment: brief-action;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
}

.brief-action-list strong,
.brief-action-list span {
  grid-column: 2;
}

.brief-action-list strong {
  align-self: end;
}

.brief-action-list span {
  margin-top: 3px;
  color: #d9f4f7;
  font-size: 0.9rem;
  line-height: 1.45;
}

.analysis-intro {
  margin: 36px 0 18px;
}

.analysis-intro h2 {
  margin: 0 0 6px;
}

.analysis-intro > p:last-child {
  margin: 0;
  color: var(--muted);
}

.leadership-grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

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

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chart-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.chart-heading h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.chart-heading p,
.chart-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.chart-host {
  margin-top: 18px;
}

.funnel-list {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.funnel-step {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  color: white;
}

.funnel-step:nth-child(2) { opacity: 0.88; }
.funnel-step:nth-child(3) { opacity: 0.76; }
.funnel-step:nth-child(4) { opacity: 0.64; }

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

.bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe9eb;
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.heatmap-wrapper {
  overflow-x: auto;
}

.heatmap-table {
  min-width: 680px;
}

.heatmap-table td:not(:first-child),
.heatmap-table th:not(:first-child) {
  text-align: center;
}

.heat-cell {
  display: inline-grid;
  min-width: 2.6rem;
  padding: 7px 5px;
  border-radius: 7px;
  background: rgb(0 134 160 / var(--heat));
  color: var(--ink);
  font-weight: 700;
}

.scatter-chart {
  width: 100%;
  min-height: 250px;
  overflow: visible;
}

.care-map {
  width: 100%;
  min-height: 280px;
  overflow: visible;
}

.quadrant-label {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.axis-line { stroke: #aebfc1; stroke-width: 1; }
.axis-text { fill: var(--muted); font-size: 12px; }
.scatter-point { stroke-width: 2; }
.renewed-point { fill: var(--green); stroke: #67913d; }
.not-renewed-point { fill: var(--coral); stroke: #b44639; }
.unknown-point { fill: white; stroke: var(--muted); }
.legend {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px 0 12px;
  border-radius: 50%;
}
.renewed-legend { background: var(--accent); margin-left: 0; }
.not-renewed-legend { background: var(--coral); }
.unknown-legend { border: 1px solid var(--muted); background: white; }

.action-queue-card {
  margin-top: 20px;
}

.table-card {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--surface-subtle);
}

.table-wrapper {
  width: 100%;
  overflow-x: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
  table-layout: fixed;
}

th,
td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

th {
  color: var(--brand);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  line-height: 1.2;
}

.operations-grid th,
.action-queue-card th {
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

textarea {
  min-height: 120px;
  resize: vertical;
  font-family: Consolas, monospace;
}

#learningSignalsList {
  padding-left: 18px;
  margin: 0;
  display: grid;
  gap: 8px;
}

#learningSignalsList li {
  color: var(--ink);
  line-height: 1.5;
}

@media (max-width: 760px) {
  .app-shell { display: block; }
  .app-sidebar { position: static; width: auto; min-height: 0; padding: 14px 16px; }
  .sidebar-brand { padding: 0 4px; }
  .sidebar-label, .sidebar-group-label, .sidebar-footer { display: none; }
  .sidebar-nav { display: flex; gap: 4px; overflow-x: auto; padding-top: 12px; }
  .sidebar-group { display: contents; }
  .sidebar-link { flex: 0 0 auto; padding: 8px 10px; font-size: .76rem; }
  .sidebar-icon { display: none; }
  .app-shell > .page-header { padding: 18px 20px 0; }
  .app-shell > section, .app-shell > .panel, .app-shell > footer { margin-left: 20px; margin-right: 20px; }

  .hero,
  .page-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .field-grid,
  .summary-grid,
  .dashboard-summary,
  .participation-summary,
  .program-weight-list,
  .action-grid,
  .leadership-summary,
  .two-up,
  .three-up,
  .brief-story,
  .brief-decision-grid {
    grid-template-columns: 1fr;
  }

  .brief-kpis {
    grid-template-columns: 1fr;
  }

  .brief-kpis div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .brief-kpis div:last-child {
    border-bottom: 0;
  }

  .field-title,
  .export-header,
  .table-header,
  .upload-actions,
  .leadership-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .leadership-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hierarchy-nav {
    align-items: flex-start;
  }

  .nav-level,
  .nav-global {
    align-items: flex-start;
  }

  .green-hero,
  .board-hero,
  .operations-hero,
  .outreach-hero,
  .workspace-hero,
  .program-insight-hero,
  .green-import-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .green-summary,
  .visual-summary,
  .visual-grid,
  .score-guide-grid,
  .score-reading-grid,
  .unengaged-guide-grid,
  .guide-signal-grid,
  .regional-layout,
  .workspace-links,
  .rule-builder,
  .outreach-summary,
  .green-decision-grid,
  .board-brief,
  .board-scorecard,
  .board-grid,
  .board-target-form,
  .operations-summary,
  .operations-grid,
  .program-report-grid,
  .operations-insight-grid,
  .trend-insight-card,
  .trend-selected-metrics {
    grid-template-columns: 1fr;
  }

  .outreach-reason-bars { grid-template-columns: 1fr; }
  .outreach-priority-map { min-height: 330px; }
  .outreach-map-surface { min-height: 265px; }

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

@media (min-width: 761px) and (max-width: 1100px) {
  .app-sidebar { width: 216px; }
  .app-shell > .page-header, .app-shell > section, .app-shell > .panel, .app-shell > footer { margin-left: 244px; margin-right: 28px; }
  .app-shell > .page-header { padding-left: 28px; padding-right: 28px; }
  .sidebar-link { font-size: .82rem; }
}

.outreach-map-dot { text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.outreach-map-dot:hover, .outreach-map-dot:focus-visible { z-index: 2; color: white; box-shadow: 0 5px 18px rgba(16,47,61,.32); transform: translate(-50%, -50%) scale(1.14); }

/* Analytical views use open sections; tables and actions retain framed cards. */
body[data-page="unengaged-overview"] .outreach-map-card,
body[data-page="unengaged-overview"] .outreach-signals-card,
body[data-page="unengaged-overview"] .outreach-overview-grid .chart-card,
body[data-page="engagement-trends"] .trend-grid .chart-card,
body[data-page="relationship-overview"] .visual-grid > article:first-child,
body[data-page="member-need"] .visual-grid > article:first-child {
  padding: 22px 0;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="unengaged-overview"] .outreach-map-card {
  padding-top: 0;
  border-top: 0;
}

body[data-page="unengaged-overview"] .outreach-map-surface,
body[data-page="regional-map"] .map-wrap {
  border-radius: 0;
}

body[data-page="regional-map"] .regional-map-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="engagement-trends"] .trend-insight-card {
  border-color: transparent;
  border-radius: 0;
  background: #edf5f5;
  box-shadow: none;
}

body[data-page="member-need"] .need-map-card,
body[data-page="member-need"] .need-profile-card {
  padding: 22px 0;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="member-need"] .need-map-card { padding-top: 0; border-top: 0; }
.need-insight-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.need-priority-map { min-height: 408px; margin-top: 18px; }
.need-map-axis { display: flex; justify-content: space-between; margin: 0 14px 7px; color: var(--muted); font-size: .75rem; font-weight: 750; }
.need-map-surface { position: relative; min-height: 340px; overflow: hidden; border-bottom: 2px solid #c0d0d3; border-left: 2px solid #c0d0d3; background: linear-gradient(135deg, #f8ece9 0 50%, #f0f7ed 50% 100%); }
.need-map-surface::before, .need-map-surface::after { position: absolute; z-index: 0; content: ""; }.need-map-surface::before { inset: 50% 0 auto; border-top: 1px dashed rgba(53,71,79,.24); }.need-map-surface::after { inset: 0 auto 0 50%; border-left: 1px dashed rgba(53,71,79,.24); }
.need-quadrant { position: absolute; z-index: 1; color: var(--ink); font-size: .76rem; font-weight: 800; }.need-quadrant.top-left { top: 13px; left: 15px; }.need-quadrant.top-right { top: 13px; right: 15px; }.need-quadrant.bottom-left { bottom: 13px; left: 15px; }.need-quadrant.bottom-right { right: 15px; bottom: 13px; }
.need-map-y-label { position: absolute; top: 13px; left: 10px; z-index: 2; color: var(--muted); font-size: .7rem; font-weight: 750; transform: rotate(-90deg) translateX(-100%); transform-origin: top left; }.need-map-y-label.bottom { top: auto; bottom: 14px; }
.need-map-dot { position: absolute; z-index: 2; border: 3px solid white; border-radius: 50%; background: var(--accent); box-shadow: 0 3px 11px rgba(16,47,61,.22); text-decoration: none; transform: translate(-50%, -50%); transition: transform .15s ease, box-shadow .15s ease; }.need-map-dot.high-risk { background: var(--coral); }.need-map-dot:hover, .need-map-dot:focus-visible { z-index: 3; box-shadow: 0 5px 18px rgba(16,47,61,.34); transform: translate(-50%, -50%) scale(1.18); }.need-map-legend { display: inline-block; width: 10px; height: 10px; margin-right: 4px; border-radius: 50%; vertical-align: 0; }.need-map-legend.risk { background: var(--coral); }.need-map-legend.neutral { background: var(--accent); }
.need-profile { display: grid; gap: 22px; margin-top: 26px; }.need-profile-row { display: grid; gap: 8px; }.need-profile-row > div:first-child { display: flex; justify-content: space-between; gap: 12px; }.need-profile-row span { color: var(--muted); font-size: .8rem; text-align: right; }.need-profile-track { height: 13px; overflow: hidden; border-radius: 999px; background: #e7eeee; }.need-profile-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--purple), var(--accent)); }.need-table-card { margin-top: 0; }

@media (max-width: 760px) {
  .need-priority-map { min-height: 330px; }
  .need-map-surface { min-height: 270px; }
  .need-quadrant { max-width: 105px; font-size: .67rem; }
  .need-profile-row > div:first-child { align-items: flex-start; flex-direction: column; gap: 3px; }
  .need-profile-row span { text-align: left; }
}
