:root {
  --navy: #102f3d;
  --navy-deep: #071d26;
  --teal: #1f8a83;
  --teal-dark: #13615d;
  --gold: #d8a633;
  --coral: #cc6f4e;
  --mint: #e7f6f2;
  --paper: #f7faf9;
  --white: #ffffff;
  --ink: #11242d;
  --muted: #64747b;
  --line: #d7e2df;
  --shadow: 0 18px 45px rgba(7, 29, 38, 0.16);
  --radius: 8px;
  --ecs-header-logo-width: clamp(210px, 13vw, 270px);
  --ecs-header-overlay-height: clamp(196px, 14vw, 288px);
  --ecs-social-button-size: 52px;
  --ecs-social-button-gap: 12px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: clip;
  overflow-y: visible;
}

body[data-platform-page] .site-header,
body[data-platform-page] .site-footer {
  display: none;
}

body[data-platform-page] {
  min-height: 100vh;
  overflow-y: auto;
  overscroll-behavior-y: auto;
}

.dashboard-options-page {
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(231, 246, 242, 0.88), rgba(247, 250, 249, 0.96) 340px),
    var(--paper);
}

.dashboard-options-shell {
  width: min(1760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.dashboard-options-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(7, 29, 38, 0.08);
  backdrop-filter: blur(12px);
}

.dashboard-options-brand {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.dashboard-options-brand img {
  width: 70px;
}

.dashboard-options-brand span {
  display: grid;
  gap: 2px;
}

.dashboard-options-brand strong,
.dashboard-options-intro h1,
.option-summary h2,
.option-main h3 {
  color: var(--navy-deep);
  letter-spacing: 0;
}

.dashboard-options-brand strong {
  font-size: 1.25rem;
}

.dashboard-options-brand small,
.dashboard-options-intro span,
.dashboard-options-intro aside span,
.option-summary p,
.option-dashboard p,
.option-dashboard em,
.option-dashboard span,
.approval-table span {
  color: var(--muted);
}

.dashboard-options-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.dashboard-options-header nav a,
.option-title-row button,
.mission-row a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  color: var(--navy-deep);
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.dashboard-options-header nav a.is-primary,
.option-title-row button,
.mission-row a {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

.dashboard-options-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 18px;
  align-items: stretch;
  margin: 18px 0;
}

.dashboard-options-intro > div,
.dashboard-options-intro aside,
.dashboard-option {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(7, 29, 38, 0.09);
}

.dashboard-options-intro > div,
.dashboard-options-intro aside {
  padding: clamp(20px, 3vw, 34px);
}

.dashboard-options-intro p,
.option-summary > span,
.option-summary strong,
.option-title-row span,
.impact-hero span,
.dashboard-options-intro aside strong {
  margin: 0;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-options-intro h1 {
  margin: 4px 0 10px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.dashboard-options-intro aside {
  display: grid;
  align-content: center;
  gap: 8px;
  background: var(--mint);
  border-color: rgba(31, 138, 131, 0.25);
}

.dashboard-option {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
}

.option-summary {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 8px 6px;
}

.option-summary h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
  line-height: 1.05;
}

.option-summary p {
  margin: 0;
  font-size: 0.96rem;
}

.option-dashboard {
  min-height: 520px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.option-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  background: var(--navy-deep);
  border-radius: 8px;
}

.option-sidebar.compact {
  grid-template-columns: 1fr;
}

.option-sidebar img {
  width: 112px;
  margin: 0 auto 8px;
  padding: 8px;
  background: var(--white);
  border-radius: 8px;
}

.option-sidebar a {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.option-sidebar a.is-active,
.option-sidebar a:hover,
.option-sidebar a:focus-visible {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}

.option-main {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
}

.option-title-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.option-title-row h3,
.impact-hero h3 {
  margin: 2px 0 4px;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1;
}

.option-title-row p,
.option-grid p,
.impact-hero p,
.mission-row p {
  margin: 0;
}

.work-ribbon,
.kpi-strip,
.care-map-grid,
.impact-metrics,
.finance-ledger {
  display: grid;
  gap: 8px;
}

.work-ribbon {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.work-ribbon a,
.kpi-strip article,
.care-map-grid article,
.impact-metrics article,
.finance-ledger article,
.option-grid article,
.ops-board > div,
.mission-row,
.approval-table {
  display: grid;
  gap: 6px;
  padding: 12px;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.work-ribbon a {
  min-height: 82px;
}

.work-ribbon span,
.kpi-strip span,
.care-map-grid span,
.impact-metrics span,
.finance-ledger span,
.option-grid span,
.ops-board span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-ribbon strong,
.kpi-strip strong,
.care-map-grid strong,
.impact-metrics strong,
.finance-ledger strong,
.option-grid strong {
  color: var(--navy-deep);
  font-size: clamp(1rem, 1.7vw, 1.55rem);
  line-height: 1;
}

.option-grid.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.option-grid.four,
.executive-analytics,
.care-analytics-grid,
.impact-analytics-grid,
.finance-analytics-grid {
  display: grid;
  gap: 10px;
}

.option-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-analytics article {
  min-height: 106px;
  background: linear-gradient(180deg, var(--white), #f7fbfa);
}

.executive-analytics,
.care-analytics-grid,
.impact-analytics-grid,
.finance-analytics-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
}

.executive-analytics article,
.care-analytics-grid article,
.impact-analytics-grid article,
.finance-analytics-grid article {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.kpi-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.kpi-strip article {
  min-height: 106px;
  background: linear-gradient(180deg, var(--white), #f3fbf8);
}

.dashboard-mix {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 10px;
}

.bar-chart {
  height: 138px;
  display: flex;
  align-items: end;
  gap: 8px;
  padding: 12px;
  background: var(--mint);
  border-radius: 8px;
}

.bar-chart i {
  flex: 1;
  display: block;
  min-height: 18px;
  background: linear-gradient(180deg, var(--teal), var(--navy));
  border-radius: 6px 6px 0 0;
}

.mini-schedule {
  display: grid;
  gap: 6px;
}

.mini-schedule div,
.risk-matrix div {
  display: grid;
  gap: 2px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-schedule strong,
.risk-matrix strong,
.report-pack-grid b,
.integration-flow b {
  color: var(--navy-deep);
}

.mini-schedule span,
.mini-schedule em,
.risk-matrix span {
  font-size: 0.78rem;
}

.donut-stat {
  --value: 72;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  margin: 2px auto;
  text-align: center;
  background:
    radial-gradient(circle at center, var(--white) 0 54%, transparent 55%),
    conic-gradient(var(--teal) calc(var(--value) * 1%), #cfe2df 0);
  border-radius: 50%;
}

.donut-stat strong,
.donut-stat em {
  grid-area: 1 / 1;
}

.donut-stat strong {
  margin-top: -16px;
  font-size: 1.35rem;
}

.donut-stat em {
  margin-top: 28px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.donut-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-around;
}

.donut-row .donut-stat {
  width: 86px;
  height: 86px;
}

.donut-row .donut-stat strong {
  font-size: 1rem;
}

.donut-row .donut-stat em {
  margin-top: 22px;
}

.integration-flow {
  display: grid;
  grid-template-columns: 1fr 18px 1fr 18px 1fr;
  gap: 6px;
  align-items: center;
}

.integration-flow.vertical {
  grid-template-columns: 1fr;
}

.integration-flow b {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 8px;
  text-align: center;
  background: var(--mint);
  border: 1px solid rgba(31, 138, 131, 0.24);
  border-radius: 8px;
}

.integration-flow i {
  display: block;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
}

.integration-flow.vertical i {
  width: 2px;
  height: 14px;
  margin: 0 auto;
}

.stacked-bars {
  display: grid;
  gap: 8px;
}

.stacked-bars div {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) 58px;
  gap: 8px;
  align-items: center;
}

.stacked-bars b {
  height: 12px;
  display: block;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 999px;
}

.stacked-bars em {
  text-align: right;
  font-size: 0.74rem;
}

.report-pack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.report-pack-grid b {
  min-height: 34px;
  display: grid;
  align-items: center;
  padding: 7px 8px;
  font-size: 0.77rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.care-map-grid,
.finance-ledger {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.care-ops .option-main {
  grid-template-rows: auto auto 1fr;
}

.ops-board {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 10px;
}

.ops-board b {
  display: block;
  height: 18px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 999px;
}

.ops-board p {
  margin: 0;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.heat-map {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.heat-map b {
  min-height: 34px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  color: var(--navy-deep);
  border-radius: 8px;
}

.heat-map b.ok {
  background: #dff3ed;
  border: 1px solid rgba(31, 138, 131, 0.24);
}

.heat-map b.warn {
  background: #fff3d7;
  border: 1px solid rgba(216, 166, 51, 0.38);
}

.heat-map b.risk {
  background: #ffe2d7;
  border: 1px solid rgba(204, 111, 78, 0.38);
}

.risk-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.impact-board {
  background: linear-gradient(135deg, #f8fbfa, #e8f6f2);
}

.impact-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
  border-radius: 8px;
}

.impact-hero span,
.impact-hero h3 {
  color: var(--white);
}

.impact-hero strong {
  align-self: start;
  padding: 8px 10px;
  color: var(--navy-deep);
  background: var(--white);
  border-radius: 8px;
}

.impact-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mission-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.approval-table {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.approval-table > div {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.approval-table > div:first-child {
  color: var(--white);
  background: var(--navy);
}

.approval-table > div:last-child {
  border-bottom: 0;
}

.finance-control .finance-ledger article:nth-child(1),
.finance-control .finance-ledger article:nth-child(2) {
  border-left: 5px solid var(--gold);
}

.line-chart {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 24%, rgba(215, 226, 223, 0.7) 25%, transparent 26%),
    linear-gradient(180deg, transparent 49%, rgba(215, 226, 223, 0.7) 50%, transparent 51%),
    linear-gradient(180deg, transparent 74%, rgba(215, 226, 223, 0.7) 75%, transparent 76%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.line-chart::before {
  content: "";
  position: absolute;
  inset: 24px 22px 30px;
  background: linear-gradient(135deg, transparent 47%, rgba(31, 138, 131, 0.55) 48%, rgba(31, 138, 131, 0.55) 52%, transparent 53%);
  clip-path: polygon(0 78%, 20% 60%, 38% 36%, 54% 54%, 72% 25%, 100% 32%, 100% 100%, 0 100%);
  opacity: 0.42;
}

.line-chart i {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--teal);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(31, 138, 131, 0.16);
}

@media (max-width: 1180px) {
  .ecs-dashboard-view-tabs,
  .ecs-my-dashboard-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-options-header,
  .dashboard-options-intro,
  .dashboard-option,
  .option-dashboard {
    grid-template-columns: 1fr;
  }

  .staff-ethos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-options-header nav {
    justify-content: flex-start;
  }

  .work-ribbon,
  .kpi-strip,
  .care-map-grid,
  .impact-metrics,
  .finance-ledger,
  .option-grid.four,
  .option-grid.three,
  .executive-analytics,
  .care-analytics-grid,
  .impact-analytics-grid,
  .finance-analytics-grid,
  .dashboard-mix,
  .ops-board,
  .mission-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ecs-dashboard-view-tabs,
  .ecs-my-dashboard-ribbon {
    grid-template-columns: 1fr;
  }

  .ecs-family-message,
  .ecs-dashboard-access-note,
  .ecs-dashboard-panel .option-title-row {
    display: grid;
  }

  .dashboard-options-shell {
    width: min(100% - 16px, 100%);
  }

  .staff-ethos-grid,
  .staff-ethos-callout {
    grid-template-columns: 1fr;
  }

  .dashboard-options-header,
  .dashboard-option,
  .option-dashboard,
  .dashboard-options-intro > div,
  .dashboard-options-intro aside {
    padding: 10px;
  }

  .work-ribbon,
  .kpi-strip,
  .care-map-grid,
  .impact-metrics,
  .finance-ledger,
  .option-grid.four,
  .option-grid.three,
  .executive-analytics,
  .care-analytics-grid,
  .impact-analytics-grid,
  .finance-analytics-grid,
  .dashboard-mix,
  .ops-board,
  .mission-row {
    grid-template-columns: 1fr;
  }

  .integration-flow,
  .stacked-bars div,
  .risk-matrix,
  .report-pack-grid {
    grid-template-columns: 1fr;
  }
}

#platform-root {
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  margin-bottom: calc(-1 * var(--ecs-header-overlay-height));
  pointer-events: none;
}

#site-header .site-header {
  position: relative;
  top: auto;
  z-index: auto;
  pointer-events: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: var(--ecs-header-logo-width) minmax(0, 1fr);
  grid-template-areas:
    "brand actions"
    "brand nav";
  grid-template-rows: auto minmax(54px, auto);
  column-gap: clamp(12px, 1.6vw, 24px);
  row-gap: 7px;
  align-items: stretch;
  min-height: var(--ecs-header-overlay-height);
  padding: 7px clamp(16px, 3vw, 44px) 8px;
  background: linear-gradient(180deg, rgba(7, 29, 38, 0.72), rgba(7, 29, 38, 0.32) 58%, transparent);
  border-bottom: 0;
  backdrop-filter: none;
}

.header-top {
  display: contents;
}

.brand {
  grid-area: brand;
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1px;
  width: var(--ecs-header-logo-width);
  justify-self: start;
  align-self: stretch;
  color: var(--white);
  text-decoration: none;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
}

.brand-mark {
  display: block;
  width: clamp(190px, 12vw, 238px);
  height: auto;
  overflow: visible;
}

.brand-mark-original {
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.38));
}

.brand-logo-white,
.brand-mark img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
}

.brand-icon {
  display: block;
  width: 100%;
  height: 100%;
  color: currentColor;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.34));
  overflow: visible;
}

.brand-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-icon circle {
  fill: currentColor;
}

.brand-icon .brand-hands {
  stroke-width: 8;
}

.brand-wordmark,
.brand-submark,
.brand-tagline {
  display: block;
  max-width: 100%;
  color: var(--white);
  line-height: 1;
}

.brand-wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.32rem, 1.38vw, 1.96rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-submark {
  font-size: clamp(0.55rem, 0.58vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.26em;
}

.brand-tagline {
  margin-top: 2px;
  font-size: clamp(0.55rem, 0.54vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  align-self: end;
  justify-self: end;
  margin: 0;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: var(--ecs-social-button-gap);
  flex-wrap: nowrap;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--ecs-social-button-size);
  height: var(--ecs-social-button-size);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(7, 29, 38, 0.62);
  font: inherit;
  font-size: 1.16rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(7, 29, 38, 0.24);
}

.social-button:hover,
.social-button:focus-visible {
  border-color: rgba(31, 138, 131, 0.48);
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.social-facebook {
  color: var(--white);
  background: #1877f2;
  border-color: #1877f2;
}

.social-instagram {
  color: var(--white);
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 42%, #8134af 72%, #515bd4 100%);
  border-color: #dd2a7b;
}

.social-linkedin {
  color: var(--white);
  background: #0a66c2;
  border-color: #0a66c2;
}

.social-youtube {
  color: var(--white);
  background: #ff0000;
  border-color: #ff0000;
}

.social-linkedin {
  font-size: 1rem;
}

.instagram-glyph {
  position: relative;
  display: block;
  width: 21px;
  height: 21px;
  border: 2px solid currentColor;
  border-radius: 7px;
}

.instagram-glyph::before,
.instagram-glyph::after {
  content: "";
  position: absolute;
  display: block;
}

.instagram-glyph::before {
  inset: 4px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.instagram-glyph::after {
  top: 2px;
  right: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.youtube-glyph {
  position: relative;
  display: block;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid var(--white);
}

.youtube-glyph::after {
  content: none;
}

.site-nav {
  grid-area: nav;
  align-self: end;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  margin-bottom: 11px;
  transform: translateY(-6px);
  font-size: clamp(0.76rem, 0.78vw, 0.92rem);
  font-weight: 800;
}

.site-nav > a,
.site-nav > .nav-dropdown {
  min-width: 0;
  width: 100%;
  min-height: clamp(64px, 5.2vw, 86px);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: clamp(64px, 5.2vw, 86px);
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: var(--white);
  text-decoration: none;
  border-radius: 14px;
  white-space: normal;
  line-height: 1.14;
  text-align: center;
  background: transparent;
  box-shadow: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.36);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.76);
  transform: translateY(-1px);
  outline: none;
}

.site-nav a.is-current {
  border-color: rgba(255, 255, 255, 0.82);
  background: transparent;
}

.nav-dropdown {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
}

.nav-dropdown-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: clamp(64px, 5.2vw, 86px);
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 14px;
  color: var(--white);
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-weight: 800;
  line-height: 1.14;
  text-align: center;
  cursor: pointer;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.36);
}

.nav-dropdown-trigger::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-top: 6px solid currentColor;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 80;
  display: none;
  min-width: 255px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 29, 38, 0.94);
  box-shadow: 0 18px 45px rgba(7, 29, 38, 0.28);
  backdrop-filter: blur(12px);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
  gap: 6px;
}

.site-nav .nav-dropdown-menu a {
  justify-content: flex-start;
  min-height: 0;
  padding: 10px 12px;
  border-radius: 6px;
  text-align: left;
  box-shadow: none;
  background: transparent;
}

.nav-dropdown.is-current .nav-dropdown-trigger {
  border-color: rgba(255, 255, 255, 0.82);
  background: transparent;
}

.site-nav .nav-action {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.48);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.section-band {
  background:
    linear-gradient(135deg, rgba(31, 138, 131, 0.11), rgba(216, 166, 51, 0.1)),
    var(--white);
}

.borderless-video-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.borderless-video-hero > .page-hero-bg-video {
  display: block;
  max-width: none;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 64px);
}

.home-video-hero {
  position: relative;
  grid-template-columns: minmax(0, 860px);
  align-items: end;
  min-height: clamp(660px, 90vh, 920px);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--navy-deep);
  padding-top: calc(var(--ecs-header-overlay-height) + clamp(44px, 6vw, 88px));
  padding-bottom: clamp(62px, 8vw, 108px);
}

.home-video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 29, 38, 0.82), rgba(7, 29, 38, 0.5) 48%, rgba(7, 29, 38, 0.16)),
    linear-gradient(0deg, rgba(7, 29, 38, 0.72), rgba(7, 29, 38, 0.04) 60%);
  pointer-events: none;
}

.home-video-hero .hero-copy {
  position: relative;
  z-index: 1;
}

.home-video-hero .statement {
  color: var(--gold);
}

.home-video-hero h1 {
  color: var(--white);
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.42);
}

.home-video-hero .hero-lede {
  color: #edf6f4;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.36);
}

.home-video-hero .button.primary {
  color: var(--navy-deep);
  background: var(--white);
}

.home-video-hero .button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

.hero-copy,
.hero-media,
.stream-detail,
.contact-form {
  min-width: 0;
}

.statement,
.section-heading span,
.contact span,
.detail-kicker {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  color: var(--navy-deep);
  font-size: clamp(2.55rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: normal;
}

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-lede {
  max-width: 720px;
  color: #3e565f;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions,
.detail-grid,
.site-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--navy);
}

.button.secondary {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}

.hero-media {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(16, 47, 61, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 4vw, 42px);
  bottom: clamp(20px, 4vw, 42px);
  max-width: 250px;
  padding: 16px;
  border-left: 5px solid var(--gold);
  border-radius: 6px;
  color: var(--white);
  background: rgba(7, 29, 38, 0.9);
  box-shadow: 0 12px 28px rgba(7, 29, 38, 0.25);
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel span {
  color: #dbe7e4;
  font-size: 0.92rem;
}

.intro,
.services,
.governance,
.staff,
.roadmap,
.contact {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
  scroll-margin-top: 230px;
}

.stream-card {
  scroll-margin-top: 230px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.5fr);
  gap: clamp(24px, 5vw, 70px);
  background: var(--navy-deep);
  color: var(--white);
}

.intro h2 {
  color: var(--white);
}

.intro p {
  max-width: 760px;
  color: #d1dfdc;
  font-size: 1.1rem;
}

.intro-list {
  display: grid;
  gap: 10px;
  align-self: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-list li {
  padding: 13px 14px;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 750;
}

.section-heading {
  max-width: 790px;
  margin: 0 auto clamp(28px, 5vw, 54px);
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.06rem;
}

.stream-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: stretch;
}

.stream-list {
  display: grid;
  gap: 10px;
}

.stream-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 14px;
  width: 100%;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}

.stream-card span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--mint);
  font-weight: 900;
}

.stream-card strong,
.stream-card small,
.stream-card b {
  display: block;
}

.stream-card small {
  color: var(--muted);
  font-size: 0.92rem;
}

.stream-card b {
  grid-column: 2;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
}

.stream-card em {
  grid-column: 2;
  justify-self: start;
  padding: 5px 9px;
  border-radius: 999px;
  color: #6c4600;
  background: #f5d995;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stream-card.is-future {
  border-color: #dfbd69;
  background:
    linear-gradient(135deg, rgba(245, 217, 149, 0.32), rgba(255, 255, 255, 0.72)),
    #fffaf0;
}

.stream-card.is-future[data-stream="allied"] {
  border-color: rgba(43, 149, 173, 0.44);
  background:
    linear-gradient(135deg, rgba(64, 190, 204, 0.24), rgba(255, 255, 255, 0.72)),
    rgba(232, 250, 251, 0.72);
}

.stream-card.is-future[data-stream="licenced"] {
  border-color: rgba(196, 95, 112, 0.42);
  background:
    linear-gradient(135deg, rgba(224, 113, 130, 0.22), rgba(255, 255, 255, 0.72)),
    rgba(255, 239, 242, 0.74);
}

.stream-card.is-future[data-stream="housing"] {
  border-color: rgba(73, 142, 96, 0.42);
  background:
    linear-gradient(135deg, rgba(86, 167, 110, 0.22), rgba(255, 255, 255, 0.72)),
    rgba(236, 250, 241, 0.74);
}

.stream-card.is-future span {
  color: #684500;
  background: #f5d995;
}

.stream-card.is-future[data-stream="allied"] span {
  color: #073d48;
  background: rgba(92, 213, 225, 0.58);
}

.stream-card.is-future[data-stream="licenced"] span {
  color: #4d1620;
  background: rgba(237, 136, 151, 0.48);
}

.stream-card.is-future[data-stream="housing"] span {
  color: #173f28;
  background: rgba(126, 205, 146, 0.5);
}

.stream-card.is-future small {
  color: #67583d;
}

.stream-card.is-active {
  border-color: rgba(31, 138, 131, 0.45);
  box-shadow: 0 14px 30px rgba(16, 47, 61, 0.1);
}

.stream-card.is-future.is-active {
  border-color: #b98923;
  box-shadow: 0 14px 30px rgba(104, 69, 0, 0.16);
}

.stream-detail {
  min-height: 100%;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(31, 138, 131, 0.32), rgba(204, 111, 78, 0.22)),
    var(--navy);
  box-shadow: var(--shadow);
}

.stream-detail h3 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.stream-detail p {
  color: #d9e8e5;
  font-size: 1.05rem;
}

.stream-detail.is-future {
  background:
    linear-gradient(140deg, rgba(216, 166, 51, 0.34), rgba(204, 111, 78, 0.22)),
    #40324f;
}

.stream-detail.is-future[data-stream="allied"] {
  background:
    linear-gradient(140deg, rgba(64, 190, 204, 0.36), rgba(216, 166, 51, 0.2)),
    #103d4a;
}

.stream-detail.is-future[data-stream="licenced"] {
  background:
    linear-gradient(140deg, rgba(224, 113, 130, 0.34), rgba(216, 166, 51, 0.18)),
    #4b2333;
}

.stream-detail.is-future[data-stream="housing"] {
  background:
    linear-gradient(140deg, rgba(86, 167, 110, 0.34), rgba(31, 138, 131, 0.2)),
    #163f37;
}

.service-provision {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.service-provision span {
  display: block;
  margin-bottom: 12px;
  color: #a9cac5;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-provision ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.service-provision li {
  color: var(--white);
  font-weight: 750;
}

.detail-grid {
  align-items: stretch;
  margin-top: 28px;
}

.detail-grid div {
  flex: 1 1 220px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.detail-grid span,
.detail-grid strong {
  display: block;
}

.detail-grid span {
  margin-bottom: 8px;
  color: #a9cac5;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.governance {
  background: var(--white);
}

.governance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 14px;
}

.governance-grid article,
.staff-tile {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.governance-grid article:nth-child(2),
.staff-tile:nth-child(2) {
  border-top: 4px solid var(--teal);
}

.governance-grid article:nth-child(3),
.staff-tile:nth-child(3) {
  border-top: 4px solid var(--gold);
}

.governance-grid article:nth-child(4),
.staff-tile:nth-child(4) {
  border-top: 4px solid var(--coral);
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 6px;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 0;
  max-width: 980px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 26px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.timeline strong {
  color: var(--teal-dark);
  font-size: 1.05rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.65fr);
  gap: clamp(24px, 5vw, 64px);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(16, 47, 61, 0.08);
}

label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #c8d7d4;
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 750;
}

.site-footer {
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #d8e4e1;
  background: var(--navy-deep);
}

.site-footer img {
  width: 190px;
  padding: 8px;
  border-radius: 6px;
  background: var(--white);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.page-hero.compact {
  grid-template-columns: 1fr;
}

.page-hero h1 {
  font-size: clamp(2.65rem, 5.5vw, 5rem);
}

.stream-video-hero {
  grid-template-columns: 1fr;
  place-items: center;
  min-height: clamp(620px, 84vh, 900px);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  text-align: center;
  background: var(--navy-deep);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.stream-video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 29, 38, 0.78), rgba(7, 29, 38, 0.52), rgba(7, 29, 38, 0.78)),
    rgba(7, 29, 38, 0.38);
  pointer-events: none;
}

.page-hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.page-hero-bg-video.is-changing {
  opacity: 0.25;
}

.hero-video-count {
  position: absolute;
  right: clamp(18px, 4vw, 52px);
  bottom: clamp(18px, 4vw, 34px);
  z-index: 2;
  display: flex;
  gap: 8px;
  pointer-events: none;
}

.hero-video-count span {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-video-count span.is-active {
  background: var(--gold);
  border-color: var(--gold);
}

.stream-video-hero .page-hero-copy {
  max-width: 960px;
  padding: clamp(28px, 5vw, 56px) 0;
}

.stream-video-hero .statement {
  color: var(--gold);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.stream-video-hero h1 {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  color: var(--white);
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.42);
}

.stream-video-hero .hero-lede {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  color: #edf6f4;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.36);
}

.stream-video-hero .hero-actions {
  justify-content: center;
}

.stream-video-hero .button.primary {
  color: var(--navy-deep);
  background: var(--white);
}

.stream-video-hero .button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

.stream-video-hero.campaign-hero {
  place-items: end start;
  min-height: clamp(680px, 88vh, 940px);
  padding-right: clamp(18px, 5vw, 84px);
  padding-left: clamp(18px, 5vw, 84px);
  text-align: left;
}

.stream-video-hero.campaign-hero::after {
  background:
    linear-gradient(90deg, rgba(7, 29, 38, 0.82), rgba(7, 29, 38, 0.48) 48%, rgba(7, 29, 38, 0.08)),
    linear-gradient(0deg, rgba(7, 29, 38, 0.72), rgba(7, 29, 38, 0.02) 58%);
}

.stream-video-hero.campaign-hero .page-hero-copy {
  width: min(920px, 100%);
  max-width: 920px;
  margin: 0;
  padding-bottom: clamp(58px, 9vw, 112px);
}

.stream-video-hero.campaign-hero h1,
.stream-video-hero.campaign-hero .hero-lede {
  margin-right: 0;
  margin-left: 0;
}

.stream-video-hero.campaign-hero .hero-actions {
  justify-content: flex-start;
}

.future-status-pill {
  display: inline-flex;
  width: fit-content;
  max-width: min(100%, 620px);
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(245, 217, 149, 0.62);
  border-radius: 999px;
  color: #fff2c7;
  background: rgba(74, 48, 17, 0.58);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.18;
  text-transform: uppercase;
  white-space: normal;
  backdrop-filter: blur(8px);
}

.future-stream-hero::after {
  background:
    linear-gradient(90deg, rgba(37, 25, 48, 0.88), rgba(37, 25, 48, 0.5)),
    linear-gradient(0deg, rgba(7, 29, 38, 0.7), rgba(7, 29, 38, 0.04) 62%);
}

.future-stream-hero.allied-stream-hero::after {
  background:
    linear-gradient(90deg, rgba(8, 47, 61, 0.86), rgba(28, 104, 120, 0.46) 52%, rgba(7, 29, 38, 0.08)),
    linear-gradient(0deg, rgba(7, 29, 38, 0.7), rgba(7, 29, 38, 0.03) 60%);
}

.future-stream-hero.licenced-stream-hero::after {
  background:
    linear-gradient(90deg, rgba(62, 25, 40, 0.86), rgba(138, 58, 78, 0.46) 52%, rgba(7, 29, 38, 0.08)),
    linear-gradient(0deg, rgba(7, 29, 38, 0.7), rgba(7, 29, 38, 0.03) 60%);
}

.future-stream-hero.housing-stream-hero::after {
  background:
    linear-gradient(90deg, rgba(18, 58, 47, 0.86), rgba(50, 118, 75, 0.46) 52%, rgba(7, 29, 38, 0.08)),
    linear-gradient(0deg, rgba(7, 29, 38, 0.7), rgba(7, 29, 38, 0.03) 60%);
}

.stream-campaign-section {
  background: var(--white);
}

.future-campaign-section {
  background:
    radial-gradient(circle at top right, rgba(245, 217, 149, 0.34), transparent 34%),
    #fffaf0;
}

.dream-journey-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 29, 38, 0.96), rgba(19, 97, 93, 0.88)),
    var(--navy-deep);
}

.dream-journey-section .section-heading {
  margin-bottom: 0;
}

.dream-journey-section .section-heading span {
  color: var(--gold);
}

.dream-journey-section .section-heading h2 {
  color: var(--white);
}

.dream-journey-section .section-heading p {
  color: #dbece8;
}

.future-dream-section {
  background:
    linear-gradient(135deg, rgba(7, 29, 38, 0.94), rgba(43, 69, 83, 0.84)),
    var(--navy-deep);
}

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

.dream-point-grid article {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
}

.dream-point-grid p {
  margin: 0;
  color: #edf8f5;
  font-weight: 750;
  line-height: 1.55;
}

.campaign-opening {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.campaign-copy {
  position: sticky;
  top: 220px;
}

.campaign-copy span,
.connected-care-copy span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.campaign-copy p,
.connected-care-copy p {
  color: #3e565f;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.campaign-copy .faith-line {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 5px solid var(--gold);
  border-radius: 0 6px 6px 0;
  color: var(--navy);
  background: rgba(216, 166, 51, 0.13);
  font-weight: 800;
}

.campaign-photo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(180px, 24vw);
  gap: 12px;
}

.campaign-photo {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--navy);
  box-shadow: 0 16px 34px rgba(16, 47, 61, 0.12);
}

.campaign-photo.is-large {
  grid-column: span 2;
  grid-row: span 2;
}

.campaign-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.campaign-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 5px;
  padding: 54px 18px 18px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(7, 29, 38, 0.86), rgba(7, 29, 38, 0));
}

.campaign-photo figcaption strong {
  font-size: 1.02rem;
  line-height: 1.2;
}

.campaign-photo figcaption span {
  color: #dceae7;
  font-size: 0.9rem;
  line-height: 1.35;
}

.campaign-promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(30px, 5vw, 58px);
}

.campaign-promise-grid article,
.connected-care-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdfc;
}

.campaign-promise-grid h3 {
  margin-bottom: 10px;
}

.campaign-promise-grid p,
.connected-care-grid p {
  margin: 0;
  color: var(--muted);
}

.connected-care-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.connected-care-copy h2 {
  max-width: 720px;
}

.connected-care-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.connected-care-grid article {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  background: var(--white);
}

.connected-care-grid article span {
  width: 18px;
  height: 18px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--teal-dark);
  box-shadow: 0 0 0 8px rgba(31, 138, 131, 0.12);
}

.scripture-foundation-section {
  color: var(--ink);
  background:
    radial-gradient(circle at bottom left, rgba(216, 166, 51, 0.18), transparent 32%),
    #f4f0e8;
}

.scripture-foundation-section .section-heading span {
  color: #78520b;
}

.scripture-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.scripture-theme-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(120, 82, 11, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 30px rgba(70, 48, 15, 0.08);
}

.scripture-theme-grid article > span {
  color: #78520b;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.45;
  text-transform: uppercase;
}

.scripture-theme-grid h3,
.scripture-theme-grid p {
  margin: 0;
}

.scripture-theme-grid p {
  color: var(--muted);
}

.scripture-reference-library {
  margin-top: 22px;
  border: 1px solid rgba(120, 82, 11, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
}

.scripture-reference-library summary {
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.scripture-reference-library > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 20px;
}

.scripture-reference-library > div span {
  padding: 7px 10px;
  border: 1px solid rgba(120, 82, 11, 0.2);
  border-radius: 999px;
  color: #5f481f;
  background: #fffaf0;
  font-size: 0.82rem;
  font-weight: 800;
}

.scripture-context-note {
  max-width: 920px;
  margin: 18px 0 0;
  color: #665b48;
  font-size: 0.9rem;
}

.campaign-context-section {
  padding-top: clamp(38px, 5vw, 68px);
}

.campaign-services-section {
  background: var(--navy-deep);
}

.campaign-services-section .section-heading h2,
.campaign-services-section .service-card-link h3 {
  color: var(--white);
}

.campaign-services-section .section-heading span {
  color: var(--gold);
}

.campaign-services-section .section-heading p {
  color: #d7e5e2;
}

.campaign-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.campaign-service-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 12px;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.campaign-service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.campaign-service-card span,
.campaign-service-card h3,
.campaign-service-card p,
.campaign-service-card strong {
  margin-right: 20px;
  margin-left: 20px;
}

.campaign-service-card span {
  margin-top: 4px;
  color: #9bd7d0;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.campaign-service-card h3 {
  color: var(--white);
}

.campaign-service-card p {
  color: #d7e5e2;
}

.campaign-service-card strong {
  align-self: end;
  margin-bottom: 20px;
  color: var(--gold);
}

.campaign-service-card:hover,
.campaign-service-card:focus-visible {
  border-color: rgba(216, 166, 51, 0.62);
  background: rgba(255, 255, 255, 0.13);
  outline: none;
}

.page-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 47, 61, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.page-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-photo figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.page-section {
  padding: clamp(48px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.evidence-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(16, 47, 61, 0.08);
}

.evidence-panel ul,
.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.who-communication-page {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 0.44fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.content-lede {
  max-width: 980px;
}

.content-lede span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.content-lede p {
  color: #3e565f;
  font-size: 1.08rem;
}

.purpose-panel {
  position: sticky;
  top: 245px;
}

.content-section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.content-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(16, 47, 61, 0.08);
}

.content-card p {
  color: var(--muted);
}

.content-card-link {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.content-card-link h3 {
  color: var(--navy);
}

.content-card-link strong {
  align-self: end;
  color: var(--teal-dark);
}

.content-card-link:hover,
.content-card-link:focus-visible {
  border-color: var(--teal-dark);
  background: #f1faf8;
  box-shadow: 0 18px 38px rgba(16, 47, 61, 0.12);
  outline: none;
}

.purpose-panel ul {
  padding: 0;
  list-style: none;
}

.purpose-panel li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid #d6e4e1;
  border-radius: 6px;
  color: var(--navy);
  background: #f8fcfb;
  font-weight: 750;
  text-decoration: none;
}

.purpose-panel li a:hover,
.purpose-panel li a:focus-visible {
  color: #fff;
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  outline: none;
}

.story-timeline {
  display: grid;
  gap: 0;
  max-width: 1100px;
  margin-top: clamp(30px, 5vw, 58px);
  border-top: 1px solid var(--line);
}

.story-timeline > a {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr) auto;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  text-decoration: none;
}

.story-timeline strong {
  color: var(--teal-dark);
}

.story-timeline p {
  margin: 0;
  color: var(--muted);
}

.story-timeline > a > span {
  align-self: center;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.story-timeline > a:hover,
.story-timeline > a:focus-visible {
  background: #f1faf8;
  outline: none;
}

.who-campaign-section {
  background: var(--white);
}

.who-campaign-section .campaign-copy h2 {
  max-width: 760px;
}

.who-advice-section {
  padding-top: clamp(42px, 5vw, 70px);
}

.who-advice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.who-advice-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(16, 47, 61, 0.06);
}

.who-advice-card h3 {
  color: var(--navy);
}

.who-advice-card p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card-link {
  display: grid;
  gap: 12px;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(16, 47, 61, 0.08);
}

.service-card-link span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card-link p {
  color: var(--muted);
}

.service-card-link strong {
  align-self: end;
  color: var(--navy);
}

.service-card-link:hover,
.service-card-link:focus-visible {
  border-color: rgba(31, 138, 131, 0.5);
  background: var(--mint);
  outline: none;
}

.service-detail-page {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.5fr);
  gap: clamp(24px, 5vw, 64px);
}

.onboarding-section {
  background: var(--white);
}

.onboarding-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.onboarding-step {
  display: grid;
  gap: 10px;
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(31, 138, 131, 0.08), rgba(255, 255, 255, 0) 42%),
    var(--white);
  box-shadow: 0 12px 26px rgba(16, 47, 61, 0.08);
}

.onboarding-step strong {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
}

.onboarding-step h3,
.onboarding-timeline h3 {
  margin: 0;
}

.onboarding-step p,
.onboarding-timeline p,
.onboarding-records p,
.onboarding-system-panel p {
  margin: 0;
  color: var(--muted);
}

.onboarding-system-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mint);
}

.onboarding-system-panel span,
.onboarding-records span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.onboarding-system-panel ul,
.onboarding-records ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.onboarding-detail {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

.onboarding-timeline {
  display: grid;
  gap: 0;
  max-width: 1120px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: onboarding;
}

.onboarding-timeline li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: onboarding;
}

.onboarding-timeline li::before {
  content: counter(onboarding, decimal-leading-zero);
  color: var(--gold);
  font-weight: 900;
}

.onboarding-timeline p {
  grid-column: 2;
}

.onboarding-records {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.onboarding-records article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(16, 47, 61, 0.08);
}

.digital-document-body {
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(31, 138, 131, 0.1), rgba(216, 166, 51, 0.08)),
    #f6fbfa;
}

.digital-document-page {
  display: grid;
  gap: 18px;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(18px, 4vw, 44px) 0;
}

.onboarding-review-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.onboarding-review-nav a {
  display: grid;
  gap: 4px;
  min-height: 82px;
  align-content: center;
  padding: 15px 17px;
  border: 1px solid #bfd8d4;
  border-radius: 12px;
  background: #fff;
  color: #092733;
  text-decoration: none;
}

.onboarding-review-nav a:hover,
.onboarding-review-nav a.is-active {
  border-color: #0d6b67;
  box-shadow: inset 0 0 0 1px #0d6b67;
}

.onboarding-review-nav span {
  color: #57717a;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.onboarding-review-nav strong {
  font-size: 0.96rem;
}

.onboarding-review-nav .onboarding-return-link {
  background: #0b2f3b;
  color: #fff;
}

.onboarding-review-nav .onboarding-return-link span {
  color: #9adbd4;
}

.digital-document-hero,
.digital-invite-strip,
.digital-form-card,
.digital-form-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 32px rgba(16, 47, 61, 0.08);
}

.digital-document-hero {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  padding: clamp(20px, 4vw, 38px);
}

.digital-document-hero img {
  width: 100%;
  max-width: 176px;
  border-radius: 8px;
}

.digital-document-hero span,
.digital-section-title span,
.digital-invite-strip span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.digital-document-hero h1 {
  max-width: 820px;
  margin: 8px 0 10px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.digital-document-hero p,
.digital-form-section p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.digital-invite-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.digital-invite-strip div {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--white);
}

.digital-invite-strip strong {
  font-size: 1rem;
}

.digital-form-card {
  display: grid;
  gap: 14px;
  padding: clamp(14px, 3vw, 24px);
}

.digital-form-section {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.digital-section-title {
  display: grid;
  gap: 6px;
}

.digital-section-title h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
}

.digital-field-grid,
.digital-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.digital-field-grid label,
.digital-upload-grid label,
.digital-consent-stack label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.digital-field-grid label.full,
.digital-field-grid label.signature-field,
.digital-field-grid .full {
  grid-column: 1 / -1;
}

.digital-field-grid input,
.digital-field-grid textarea,
.digital-field-grid select,
.digital-upload-grid input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfdfc;
  font: inherit;
  font-weight: 700;
}

.digital-field-grid select {
  background: var(--white);
}

.digital-field-grid small,
.digital-address-panel small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.digital-field-grid textarea {
  min-height: 112px;
  resize: vertical;
}

.pathway-specific-panel {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #c8dedb;
  border-radius: 14px;
  background: #f4f9f8;
}

.pathway-specific-panel[hidden] {
  display: none;
}

.digital-section-title.compact {
  margin-bottom: 14px;
}

.digital-section-title.compact h3 {
  margin: 3px 0 0;
  color: #092733;
  font-size: 1.2rem;
}

.form-guidance {
  max-width: none;
  padding: 14px 16px;
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: #eef8f6;
}

.contact-record-grid,
.identity-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-record-grid > article,
.identity-evidence-card,
.staff-verification-panel,
.signature-pad-panel {
  padding: 20px;
  border: 1px solid #c8dedb;
  border-radius: 14px;
  background: #f7fbfa;
}

.inline-checkbox {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  font-weight: 800;
}

.inline-checkbox input {
  width: 18px;
  min-height: 18px;
}

.identity-evidence-card {
  display: grid;
  gap: 16px;
}

.identity-upload {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.identity-upload input {
  width: 100%;
  min-height: 52px;
  padding: 12px;
  border: 1px dashed #8fbcb7;
  border-radius: 8px;
  background: var(--white);
  font: inherit;
}

.identity-preview {
  display: grid;
  gap: 7px;
  min-height: 86px;
  align-content: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.identity-preview span {
  color: var(--muted);
}

.identity-preview img {
  width: min(100%, 420px);
  max-height: 260px;
  margin-top: 8px;
  border-radius: 8px;
  object-fit: contain;
  object-position: left center;
  background: #eef3f2;
}

.staff-verification-panel {
  display: grid;
  gap: 16px;
}

.verification-checks {
  grid-template-columns: 1fr;
}

.identity-readiness {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #edc98e;
  border-radius: 10px;
  color: #6f4300;
  background: #fff8e8;
}

.identity-readiness.is-ready {
  border-color: #8fcabe;
  color: #0d6159;
  background: #ebf8f5;
}

.signature-pad-panel {
  display: grid;
  gap: 14px;
}

.signature-pad-panel > div:first-child {
  display: grid;
  gap: 5px;
}

.signature-pad-panel > div:first-child span {
  color: var(--muted);
  line-height: 1.5;
}

.signature-pad-panel canvas {
  width: 100%;
  height: 240px;
  border: 2px solid #9dbfbb;
  border-radius: 12px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(13, 107, 103, 0.08) 40px) border-box;
  cursor: crosshair;
  touch-action: none;
}

.signature-pad-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.signature-pad-actions button {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--teal-dark);
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.signature-pad-actions span {
  color: var(--muted);
  font-weight: 800;
}

.signature-declaration {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-weight: 800;
  line-height: 1.5;
}

.signature-declaration input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.digital-address-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mint);
}

.digital-address-panel > label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.digital-address-panel > label input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 700;
}

.address-fields {
  gap: 12px;
}

.clinical-grade-overview {
  display: grid;
  gap: 18px;
  margin: 22px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #9fd2cc;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 138, 131, 0.11), rgba(216, 166, 51, 0.06)),
    var(--white);
}

.clinical-grade-heading {
  max-width: 1120px;
}

.clinical-grade-heading span {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.clinical-grade-heading h2 {
  max-width: 980px;
  margin: 6px 0 10px;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.08;
}

.clinical-grade-heading p {
  max-width: 1020px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
}

.clinical-pathway-grid,
.clinical-source-register,
.support-plan-workflow {
  display: grid;
  gap: 12px;
}

.clinical-pathway-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clinical-pathway-grid article,
.source-evidence-card,
.support-plan-workflow article {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.clinical-pathway-grid strong,
.source-evidence-card strong,
.support-plan-workflow strong {
  color: var(--teal-dark);
}

.clinical-pathway-grid span,
.source-evidence-card em,
.source-evidence-card small,
.support-plan-workflow span,
.support-plan-workflow li {
  color: var(--muted);
  line-height: 1.45;
}

.source-evidence-card span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.source-evidence-card em {
  font-style: normal;
  font-weight: 800;
}

.medical-ai-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid #9fd2cc;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 138, 131, 0.1), rgba(255, 255, 255, 0)),
    #f8fdfc;
}

.medical-ai-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.medical-ai-header span,
.medical-issue-card > span,
.medical-reporting-summary strong {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.medical-ai-header h3 {
  margin: 4px 0 6px;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
}

.medical-ai-header p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.medical-ai-header button,
.medical-actions button {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--teal-dark);
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.medical-standard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.medical-standard-grid div,
.medical-reporting-summary,
.medical-issue-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.medical-standard-grid div {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.medical-standard-grid span,
.medical-reporting-summary span,
.medical-actions span {
  color: var(--muted);
  line-height: 1.45;
}

.medical-upload,
.medical-report-source {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.medical-upload input,
.medical-report-source textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font: inherit;
}

.medical-report-source textarea {
  min-height: 104px;
  color: var(--ink);
  line-height: 1.45;
  resize: vertical;
}

.medical-issue-list {
  display: grid;
  gap: 12px;
}

.medical-issue-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.medical-issue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.medical-issue-grid label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.medical-issue-grid label.full {
  grid-column: 1 / -1;
}

.medical-issue-grid input,
.medical-issue-grid textarea,
.medical-issue-grid select {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fbfdfc;
  font: inherit;
  font-weight: 700;
}

.medical-issue-grid textarea {
  min-height: 96px;
  resize: vertical;
}

.medical-classification-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.medical-classification-grid div {
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mint);
}

.medical-classification-grid span {
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.medical-classification-grid strong,
.medical-classification-grid em {
  color: var(--ink);
  font-style: normal;
  line-height: 1.35;
}

.medical-source-citation {
  display: grid;
  grid-template-columns: minmax(140px, 0.22fr) 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(31, 138, 131, 0.25);
  border-radius: 8px;
  background: #f0fbf9;
}

.medical-source-citation strong {
  color: var(--teal-dark);
}

.medical-source-citation span {
  color: var(--muted);
  line-height: 1.4;
}

.medical-source-citation a {
  color: var(--navy);
  font-weight: 900;
}

.support-plan-workflow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-plan-workflow ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.clinical-approval-button {
  justify-self: start;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--teal-dark);
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.medical-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.medical-reporting-summary {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.digital-check-grid,
.digital-consent-stack {
  display: grid;
  gap: 10px;
}

.digital-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.digital-check-grid label,
.digital-consent-stack label {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mint);
}

.digital-check-grid [data-pathway-option][hidden] {
  display: none;
}

.digital-check-grid input,
.digital-consent-stack input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.digital-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.digital-action-row button {
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid var(--teal-dark);
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.digital-action-row .primary-action {
  color: var(--white);
  background: var(--teal);
}

.staff-hero {
  background:
    linear-gradient(135deg, rgba(31, 138, 131, 0.14), rgba(216, 166, 51, 0.08)),
    var(--white);
}

.microsoft-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.microsoft-card,
.operations-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(16, 47, 61, 0.08);
}

.microsoft-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 22px;
  color: var(--ink);
  text-decoration: none;
}

.microsoft-card span,
.operations-card > span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.microsoft-card p {
  color: var(--muted);
}

.microsoft-card strong {
  align-self: end;
  color: var(--navy);
}

.microsoft-card:hover,
.microsoft-card:focus-visible {
  border-color: rgba(31, 138, 131, 0.48);
  background: var(--mint);
  outline: none;
}

.operations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.operations-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.operations-card p {
  color: var(--muted);
}

.operations-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.source-strip small {
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--navy);
  background: var(--mint);
  font-weight: 800;
}

.intake-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 26px rgba(16, 47, 61, 0.08);
}

.intake-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.intake-table th,
.intake-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.intake-table th {
  color: var(--navy);
  background: var(--mint);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.intake-table td span,
.intake-table td a {
  display: block;
}

.intake-table a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.intake-table td span {
  margin-top: 6px;
  color: var(--muted);
}

.staff-steps {
  display: grid;
  gap: 12px;
  max-width: 1060px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.staff-steps li {
  display: grid;
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.staff-steps strong {
  color: var(--navy);
}

.staff-steps span {
  color: var(--muted);
}

.platform-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: calc(100vh - 1px);
  background: #f4f8f7;
}

.platform-main-wrap {
  position: relative;
  min-width: 0;
}

@media (min-width: 1181px) {
  body[data-platform-page="cms"],
  body[data-platform-page="fms"] {
    height: 100vh;
    overflow: hidden;
  }

  body[data-platform-page="cms"] .platform-shell,
  body[data-platform-page="fms"] .platform-shell {
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
  }

  body[data-platform-page="cms"] .platform-sidebar,
  body[data-platform-page="fms"] .platform-sidebar {
    overflow-y: auto;
  }

  body[data-platform-page="cms"] .platform-main-wrap,
  body[data-platform-page="fms"] .platform-main-wrap {
    height: 100vh;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scroll-behavior: auto;
  }
}

.platform-shell + .site-footer {
  display: none;
}

.platform-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  padding: 22px 18px;
  color: var(--white);
  background: var(--navy-deep);
}

.platform-brand {
  display: block;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
}

.platform-brand img {
  display: block;
  width: 158px;
  max-width: 100%;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.32));
}

.platform-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.platform-nav button,
.phone-header button,
.app-panels button,
.phone-tabbar button,
.cms-tabs button,
.segmented button,
.panel-title button,
.generator-actions button,
.app-action {
  font: inherit;
}

.platform-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.platform-nav button.is-active,
.platform-nav button:hover,
.platform-nav button:focus-visible {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.78);
  background: transparent;
  outline: none;
}

.platform-nav svg,
.app-panels svg,
.phone-tabbar svg,
.check-list svg,
.evidence-list svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.platform-user {
  display: grid;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.platform-user span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
}

.cms-workspace {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.fms-workspace {
  background:
    linear-gradient(180deg, rgba(238, 247, 245, 0.94), rgba(247, 250, 249, 0.98)),
    #eef4f3;
}

.cms-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.cms-topbar h1,
.app-copy h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.cms-topbar p,
.app-copy p {
  max-width: 760px;
  margin: 6px 0 0;
  color: var(--muted);
}

.platform-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pipeline-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.ecs-ai-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(31, 138, 131, 0.35);
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(7, 29, 38, 0.08);
}

.ecs-ai-button img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.ecs-ai-button.phone,
.ecs-ai-button.phone-header,
.assistant-tab-button {
  border-color: rgba(31, 138, 131, 0.32);
  background: linear-gradient(135deg, #ffffff, #ecfbf8);
}

.ecs-ai-button.topbar,
.ecs-ai-button.inline,
.ecs-ai-button.phone {
  background: linear-gradient(135deg, #ffffff, var(--mint));
}

.ecs-ai-button.phone-header {
  min-height: 36px;
  padding: 6px 8px;
  font-size: 0.78rem;
}

.ecs-ai-button.phone-header img {
  width: 22px;
  height: 22px;
}

.ecs-ai-button.is-active {
  border-color: var(--gold);
  color: var(--navy-deep);
  background: #fff7df;
}

.ecs-ai-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 220px);
  gap: 10px;
  align-items: center;
  max-width: min(420px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid rgba(31, 138, 131, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.ecs-ai-dock strong {
  display: block;
  color: var(--navy-deep);
  font-size: 0.86rem;
}

.ecs-ai-dock span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.assistant-voice-panel {
  position: fixed;
  right: 22px;
  bottom: 106px;
  z-index: 32;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: min(520px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid rgba(31, 138, 131, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.assistant-voice-panel.is-open {
  display: grid;
}

.assistant-voice-panel.is-listening {
  border-color: var(--gold);
  box-shadow: 0 18px 42px rgba(31, 138, 131, 0.22);
}

.assistant-voice-panel span,
.assistant-voice-panel strong {
  display: block;
}

.assistant-voice-panel span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.assistant-voice-panel strong {
  margin-top: 3px;
  color: var(--navy-deep);
  line-height: 1.35;
}

.assistant-voice-panel button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-weight: 900;
}

.fms-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.fms-hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.25rem);
}

.fms-metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.fms-metric-card {
  display: grid;
  gap: 8px;
  min-height: 154px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.fms-metric-card span,
.fms-reporting-card > span,
.fms-table-head strong {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.fms-metric-card strong {
  color: var(--ink);
  font-size: 1.5rem;
}

.fms-metric-card em,
.fms-metric-card small {
  color: var(--muted);
  font-style: normal;
}

.fms-metric-card small {
  align-self: end;
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.fms-panel {
  display: grid;
  gap: 18px;
}

.fms-reporting-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fms-reporting-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fbfa;
}

.fms-reporting-card h4 {
  margin: 0;
  font-size: 1.18rem;
}

.fms-report-list,
.fms-ledger-list,
.fms-control-list,
.fms-forecast-grid,
.fms-payment-grid,
.fms-process-lane,
.fms-geo-grid {
  display: grid;
  gap: 10px;
}

.fms-report-list div,
.fms-ledger-list div,
.fms-control-list div,
.fms-forecast-grid div,
.fms-payment-grid div,
.fms-process-lane div,
.fms-geo-grid div {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.fms-report-list strong,
.fms-ledger-list strong,
.fms-control-list strong,
.fms-forecast-grid strong,
.fms-payment-grid strong,
.fms-process-lane strong,
.fms-geo-grid strong {
  color: var(--ink);
}

.fms-report-list p,
.fms-report-list em,
.fms-ledger-list span,
.fms-control-list span,
.fms-forecast-grid span,
.fms-payment-grid span,
.fms-process-lane span,
.fms-geo-grid span {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.fms-report-list em {
  color: var(--teal-dark);
  font-style: normal;
  font-weight: 900;
}

.fms-invoice-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.fms-delegation-table,
.fms-geo-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.fms-table-row {
  display: grid;
  grid-template-columns: 0.75fr 1.2fr 0.8fr 1.2fr 0.7fr 1fr;
  gap: 10px;
  align-items: start;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.fms-delegation-table .fms-table-row {
  grid-template-columns: 0.9fr 1.25fr 1.6fr;
}

.fms-geo-table .fms-table-row {
  grid-template-columns: 1.1fr 0.8fr 0.8fr 0.8fr 0.8fr 1.4fr;
}

.fms-table-row:last-child {
  border-bottom: 0;
}

.fms-table-head {
  background: var(--mint);
}

.fms-table-row span,
.fms-table-row em,
.fms-table-row small {
  color: var(--muted);
  font-style: normal;
}

.fms-table-row small {
  grid-column: 1 / -1;
  padding-top: 2px;
  color: var(--teal-dark);
  font-weight: 800;
}

.fms-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fms-forecast-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fms-payment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fms-process-lane {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.fms-geo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fms-pack-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.fms-pack-list li {
  color: var(--muted);
  line-height: 1.45;
}

.fms-source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.fms-source-grid a {
  min-height: 58px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--mint);
  font-weight: 900;
  text-decoration: none;
}

.fms-source-grid a:hover {
  border-color: rgba(31, 138, 131, 0.5);
  background: var(--white);
}

.audit-centre-panel {
  display: grid;
  gap: 18px;
}

.audit-metric-grid,
.audit-flow-grid,
.audit-summary-strip {
  display: grid;
  gap: 12px;
}

.audit-metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audit-metric-grid article,
.audit-flow-grid article,
.audit-summary-strip div,
.audit-group-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.audit-metric-grid article,
.audit-flow-grid article,
.audit-summary-strip div {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 15px;
}

.audit-metric-grid span,
.audit-tabs button,
.audit-group-header span,
.audit-report-head strong {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.audit-metric-grid strong,
.audit-summary-strip strong,
.audit-group-header strong {
  color: var(--ink);
  font-size: 1.34rem;
}

.audit-metric-grid em,
.audit-metric-grid small,
.audit-flow-grid span,
.audit-summary-strip span,
.audit-report-row span,
.audit-report-row em,
.audit-report-row b,
.audit-report-row small {
  color: var(--muted);
  font-style: normal;
  line-height: 1.4;
}

.audit-metric-grid small,
.audit-group-header em,
.audit-report-row small {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.audit-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.audit-tabs button {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(31, 138, 131, 0.28);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.audit-tabs button.is-active,
.audit-tabs button:hover,
.audit-tabs button:focus-visible {
  color: var(--white);
  background: var(--teal);
  outline: none;
}

.audit-summary-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audit-flow-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.audit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.audit-group-stack {
  display: grid;
  gap: 14px;
}

.audit-group-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.audit-group-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: start;
}

.audit-group-header h4 {
  margin: 3px 0 0;
  font-size: 1.25rem;
}

.audit-group-card > i {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dceae7;
}

.audit-group-card > i b {
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.audit-report-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.audit-report-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.45fr 1fr 0.8fr 0.65fr;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #fbfdfc;
}

.audit-report-row:last-child {
  border-bottom: 0;
}

.audit-report-head {
  background: var(--mint);
}

.audit-report-row > strong,
.audit-report-row > b {
  color: var(--ink);
}

.audit-source-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.audit-source-grid a {
  min-height: 56px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--mint);
  font-weight: 900;
  text-decoration: none;
}

.audit-source-grid a:hover,
.audit-source-grid a:focus-visible {
  border-color: rgba(31, 138, 131, 0.5);
  background: var(--white);
  outline: none;
}

.cms-alert {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(31, 138, 131, 0.28);
  border-radius: var(--radius);
  background: var(--mint);
}

.cms-alert strong {
  color: var(--teal-dark);
  white-space: nowrap;
}

.cms-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cms-tabs button {
  display: grid;
  min-width: 220px;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  text-align: left;
  cursor: pointer;
}

.cms-tabs.compact button {
  min-width: 132px;
}

.cms-tabs button span {
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cms-tabs button.is-active {
  border-color: rgba(31, 138, 131, 0.5);
  background: var(--mint);
}

.pipeline-panel,
.cms-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(7, 29, 38, 0.07);
}

.pipeline-panel {
  padding: 20px;
}

.pipeline-head,
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pipeline-head span,
.panel-title span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pipeline-head h2,
.panel-title h3 {
  margin: 0;
}

.ecs-system-workspace .panel-title {
  gap: 8px;
}

.ecs-system-workspace .panel-title h3 {
  font-size: 1rem;
}

.ecs-system-workspace .panel-title span {
  font-size: 0.68rem;
}

.pipeline-head > strong {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--teal-dark);
  background: var(--mint);
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.pipeline-steps li {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding-top: 12px;
  border-top: 3px solid var(--line);
  color: var(--muted);
}

.pipeline-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 900;
}

.pipeline-steps li strong {
  font-size: 0.82rem;
}

.pipeline-steps li.is-complete,
.pipeline-steps li.is-current {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.pipeline-steps li.is-current span {
  color: var(--white);
  background: var(--teal-dark);
}

.cms-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(360px, 1.4fr) minmax(280px, 0.9fr);
  gap: 16px;
  align-items: start;
}

.cms-panel {
  padding: 18px;
}

.funding-panel {
  grid-column: span 2;
}

.cms-shift-report-panel {
  grid-column: 1 / -1;
}

.cms-shift-report-panel > .report-field {
  margin-top: 10px;
}

.detail-row,
.generated-preview dl div,
.app-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.44fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.detail-row span,
.generated-preview dt,
.app-row span {
  color: var(--muted);
}

.detail-row strong,
.generated-preview dd {
  margin: 0;
}

.panel-title button,
.panel-title a,
.funding-panel a,
.evidence-panel-app a {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fbfa;
}

.segmented button {
  min-width: 88px;
  padding: 7px 10px;
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.segmented button.is-active {
  color: var(--white);
  background: var(--teal-dark);
}

.generated-preview {
  min-height: 350px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
}

.generated-preview h4 {
  margin: 0 0 12px;
}

.generated-preview ul,
.check-list,
.evidence-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.generated-preview li {
  padding-left: 18px;
}

.generator-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.generator-actions button,
.app-action {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--teal-dark);
  border-radius: 6px;
  color: var(--teal-dark);
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.generator-actions .primary-action,
.app-action {
  color: var(--white);
  background: var(--teal-dark);
}

.progress-ring {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-top: 16px;
  border-radius: 50%;
  background: conic-gradient(var(--teal) var(--progress), #e5ecea 0);
}

.progress-ring span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--white);
  font-weight: 900;
}

.check-list li,
.evidence-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.check-list li.is-done,
.evidence-list em.is-done {
  color: var(--teal-dark);
}

.evidence-list li {
  align-items: center;
}

.evidence-list div {
  display: grid;
  flex: 1;
}

.evidence-list span {
  color: var(--muted);
  font-size: 0.84rem;
}

.evidence-list em {
  font-style: normal;
  color: var(--gold);
  font-weight: 900;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.metric-grid div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.funding-table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
}

.funding-table th,
.funding-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.funding-table th {
  color: var(--teal-dark);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.funding-table td span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.best-practice-panel {
  padding: 18px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.practice-grid div {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
}

.practice-grid strong {
  color: var(--gold);
}

.workforce-panel {
  padding: 18px;
}

.workforce-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.workforce-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfc;
}

.workforce-grid h4,
.workforce-onboarding h4 {
  margin: 0 0 10px;
}

.compact-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.system-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.workforce-onboarding {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.workforce-onboarding div {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.workforce-onboarding strong {
  color: var(--gold);
}

.package-panel {
  padding: 18px;
}

.package-lead {
  max-width: 980px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.shell-note {
  display: grid;
  grid-template-columns: minmax(150px, 0.3fr) 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid rgba(31, 138, 131, 0.24);
  border-radius: var(--radius);
  background: var(--mint);
}

.shell-note strong,
.shell-base span {
  color: var(--teal-dark);
}

.shell-note span,
.shell-base p,
.shell-base li,
.cadence-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.shell-base {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.shell-base article {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.shell-base h4,
.shell-base p,
.shell-base ul {
  margin: 0;
}

.shell-base ul {
  display: grid;
  gap: 6px;
  padding-left: 18px;
}

.process-map,
.readiness-grid,
.cadence-grid,
.package-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.process-map div,
.readiness-grid div,
.cadence-grid div,
.package-preview-grid article,
.package-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.process-map strong,
.readiness-grid strong,
.cadence-grid strong,
.package-card span {
  color: var(--teal-dark);
}

.process-map span,
.readiness-grid span,
.cadence-grid span,
.package-card p,
.package-card li,
.package-preview-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.cadence-grid {
  margin-bottom: 14px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.phone-package-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.document-ai-panel,
.ai-report-panel {
  padding: 18px;
}

.scan-intake-grid,
.ai-report-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1fr;
  gap: 14px;
}

.scan-upload-card,
.scan-workflow-card,
.phone-scan-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.scan-upload-card h4,
.scan-upload-card p,
.scan-workflow-card h4,
.phone-scan-card h3,
.phone-scan-card p {
  margin: 0;
}

.scan-upload-card p,
.phone-scan-card p,
.phone-scan-card small {
  color: var(--muted);
  line-height: 1.55;
}

.scan-example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.scan-example-grid article {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.scan-example-grid span,
.scan-example-grid em,
.ai-report-chip {
  color: var(--teal-dark);
  font-weight: 900;
}

.scan-example-grid h4,
.scan-example-grid p {
  margin: 0;
}

.scan-example-grid p,
.scan-example-grid li {
  color: var(--muted);
  line-height: 1.45;
}

.scan-example-grid ul {
  margin: 0;
  padding-left: 18px;
}

.medical-model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.medical-model-grid .cms-alert {
  grid-column: 1 / -1;
}

.medical-model-grid article {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.medical-model-grid strong {
  color: var(--teal-dark);
}

.medical-model-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.outlook-ai-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.outlook-dashboard-grid,
.outlook-workflow-grid {
  display: grid;
  gap: 14px;
}

.outlook-dashboard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.outlook-workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.outlook-dashboard-grid article,
.outlook-workflow-grid article,
.outlook-queue-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.outlook-dashboard-grid article,
.outlook-workflow-grid article {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px;
}

.outlook-workflow-grid article {
  grid-template-columns: auto 1fr;
}

.outlook-dashboard-grid span,
.outlook-workflow-grid strong {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.outlook-dashboard-grid h4,
.outlook-workflow-grid h4,
.outlook-dashboard-grid p,
.outlook-workflow-grid p,
.outlook-queue-panel h4 {
  margin: 0;
}

.outlook-dashboard-grid p,
.outlook-workflow-grid p,
.outlook-queue-row small {
  color: var(--muted);
  line-height: 1.45;
}

.outlook-queue-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.outlook-queue-row {
  display: grid;
  grid-template-columns: 80px minmax(190px, 1.1fr) minmax(120px, 0.7fr) minmax(180px, 1fr) minmax(220px, 1.25fr);
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.outlook-queue-row strong,
.outlook-queue-row b {
  color: var(--teal-dark);
}

.outlook-queue-row em,
.outlook-queue-row small {
  font-style: normal;
}

.ai-report-layout > div {
  display: grid;
  gap: 8px;
}

.ai-report-chip {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 138, 131, 0.24);
  border-radius: 6px;
  background: var(--mint);
  font: inherit;
  text-align: left;
}

.assistant-grid,
.learning-grid,
.weekly-report-header,
.kpi-grid,
.tier-dashboard-grid,
.dashboard-two-column {
  display: grid;
  gap: 14px;
}

.assistant-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.learning-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.weekly-report-header {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kpi-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tier-dashboard-grid,
.dashboard-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.assistant-grid article,
.learning-grid article,
.weekly-report-header article,
.kpi-card,
.dashboard-block,
.tier-dashboard-grid article,
.concern-register article {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.assistant-grid span,
.weekly-report-header span,
.tier-dashboard-grid span,
.kpi-card span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.assistant-grid h4,
.dashboard-block h4,
.tier-dashboard-grid h4,
.concern-register h4 {
  margin: 0;
}

.assistant-grid p,
.weekly-report-header p,
.tier-dashboard-grid p,
.learning-grid span,
.weekly-section-list,
.concern-register span,
.concern-register em {
  color: var(--muted);
  line-height: 1.45;
}

.guardrail-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guardrail-strip span {
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--navy);
  background: var(--mint);
  font-size: 0.78rem;
  font-weight: 900;
}

.kpi-card strong {
  color: var(--ink);
  font-size: 1.55rem;
}

.kpi-card em,
.concern-register em {
  font-style: normal;
}

.kpi-card i,
.deliverable-row i {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #e6efec;
}

.kpi-card i::before,
.deliverable-row b {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  content: "";
}

.deliverable-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(0, 1.2fr);
  gap: 6px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.deliverable-row strong {
  color: var(--ink);
}

.deliverable-row span,
.deliverable-row em {
  color: var(--muted);
}

.deliverable-row i,
.deliverable-row em {
  grid-column: 1 / -1;
}

.projection-chart {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  min-height: 230px;
}

.projection-chart div {
  display: grid;
  grid-template-rows: minmax(96px, 1fr) auto auto auto;
  gap: 6px;
  min-height: 210px;
}

.projection-chart i {
  align-self: end;
  min-height: 28px;
  height: var(--height);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--teal), var(--navy));
}

.projection-chart strong,
.projection-chart span,
.projection-chart em {
  font-size: 0.78rem;
}

.projection-chart em {
  color: var(--muted);
  font-style: normal;
}

.department-finance-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.department-finance-table > div {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr 0.9fr 0.8fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.department-finance-table > div:last-child {
  border-bottom: 0;
}

.department-finance-table .finance-head {
  color: var(--white);
  background: var(--navy);
}

.department-finance-table em {
  width: fit-content;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--mint);
  font-style: normal;
  font-weight: 900;
}

.concern-register {
  display: grid;
  gap: 10px;
}

.concern-register article {
  grid-template-columns: 80px minmax(0, 1fr);
}

.concern-register em {
  grid-column: 2;
}

.phone-scan-card {
  margin-top: 10px;
  background: linear-gradient(180deg, #ffffff, #f4fbf9);
}

.phone-scan-card .ecs-ai-button {
  width: fit-content;
}

.phone-scan-card input[type="file"],
.scan-upload-card input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px dashed rgba(31, 138, 131, 0.45);
  border-radius: 6px;
  background: var(--paper);
}

.staff-ethos-section {
  display: grid;
  gap: 22px;
}

.staff-ethos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.staff-ethos-grid article,
.staff-ethos-callout {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.staff-ethos-grid article span,
.staff-ethos-callout strong {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.staff-ethos-grid article h3,
.staff-ethos-grid article p,
.staff-ethos-callout span {
  margin: 0;
}

.staff-ethos-grid article h3 {
  color: var(--navy-deep);
  font-size: 1.15rem;
  line-height: 1.15;
}

.staff-ethos-grid article p,
.staff-ethos-callout span {
  color: var(--muted);
}

.staff-ethos-callout {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  background: linear-gradient(135deg, var(--mint), var(--white));
  border-color: rgba(31, 138, 131, 0.26);
}

.package-card h4,
.package-card h5,
.package-preview-grid h3 {
  margin: 0;
}

.package-card h5 {
  color: var(--ink);
  font-size: 0.9rem;
}

.package-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
}

.package-section {
  display: grid;
  gap: 22px;
}

.package-section > .button {
  justify-self: start;
}

.app-review-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 430px);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  min-height: calc(100vh - 150px);
  padding: clamp(28px, 6vw, 74px);
  background:
    linear-gradient(135deg, rgba(31, 138, 131, 0.12), rgba(216, 166, 51, 0.08)),
    var(--paper);
}

.app-copy {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.app-cross-link {
  width: fit-content;
}

.phone-frame {
  width: min(100%, clamp(330px, 34vw, 430px));
  margin-inline: auto;
  padding: 12px;
  border-radius: 38px;
  background: var(--navy-deep);
  box-shadow: 0 24px 70px rgba(7, 29, 38, 0.28);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  min-height: min(760px, calc(100dvh - 48px));
  border-radius: 30px;
  color: var(--ink);
  background: #f7faf9;
}

.priority-updates {
  display: grid;
  gap: 8px;
  padding: 12px 16px;
  background: #eff7f5;
}

.priority-updates h3 {
  margin: 0;
  color: var(--teal-dark);
  font-size: 0.9rem;
}

.priority-updates button {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 138, 131, 0.28);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  text-align: left;
  font: inherit;
}

.priority-updates span,
.auth-step-list span,
.secure-login-copy span {
  color: var(--muted);
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 20px 16px;
  color: var(--white);
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
}

.phone-header strong {
  font-size: 2rem;
}

.phone-header button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
}

.app-home-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 18px 20px;
  color: var(--white);
  background: linear-gradient(180deg, var(--navy), var(--navy-deep));
  text-align: center;
}

.app-home-card img {
  width: 98px;
  padding: 8px;
  border-radius: 22px;
  background: var(--white);
}

.app-home-card h2,
.app-home-card p {
  margin: 0;
}

.app-home-card h2 {
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1.1;
}

.app-home-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.app-panels {
  display: grid;
  gap: 9px;
  padding: 16px;
}

.app-panels button {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 12px;
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--white);
  text-align: left;
  cursor: pointer;
}

.app-panels button.is-active {
  border-color: rgba(31, 138, 131, 0.5);
  background: var(--mint);
}

.app-panels em {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.update-dot {
  width: 9px;
  height: 9px;
  justify-self: end;
  border-radius: 999px;
  background: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.14);
}

.phone-tabbar button {
  position: relative;
}

.phone-tabbar .update-dot {
  position: absolute;
  top: 5px;
  right: 18px;
  width: 7px;
  height: 7px;
}

.app-detail-panel {
  margin: 0 16px 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.app-detail-panel h3 {
  margin: 0 0 8px;
}

.auth-step-list {
  display: grid;
  gap: 8px;
}

.auth-step-list div,
.secure-login-copy {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(31, 138, 131, 0.3);
  border-radius: var(--radius);
  background: var(--mint);
}

.auth-step-list strong,
.secure-login-copy strong {
  color: var(--teal-dark);
}

.app-link-action {
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
}

.secondary-action {
  color: var(--teal-dark);
  background: var(--mint);
}

.app-funding-bar {
  height: 10px;
  margin: 8px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe6e3;
}

.app-funding-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.phone-tabbar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px 12px 12px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.phone-tabbar button {
  display: grid;
  justify-items: center;
  gap: 3px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 0.72rem;
  text-transform: capitalize;
}

.phone-tabbar button.is-active {
  color: var(--teal-dark);
}

.phone-tabbar .assistant-tab-button {
  grid-column: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 8px;
  border: 1px solid rgba(31, 138, 131, 0.32);
  border-radius: 8px;
  color: var(--navy-deep);
  background: linear-gradient(135deg, #ffffff, #edfbf8);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: none;
  box-shadow: 0 8px 18px rgba(7, 29, 38, 0.08);
}

.phone-tabbar .assistant-tab-button img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.phone-tabbar .assistant-tab-button.is-active {
  border-color: var(--teal);
  background: #f7fffd;
}

.staff-direct-tabbar {
  display: flex;
  grid-template-columns: none;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.staff-direct-tabbar button {
  flex: 0 0 104px;
  min-height: 58px;
  padding: 5px 4px;
}

.staff-direct-tabbar button span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-app-page {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 430px);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  min-height: 72vh;
  padding: clamp(28px, 6vw, 74px);
  background:
    linear-gradient(135deg, rgba(16, 47, 61, 0.08), rgba(31, 138, 131, 0.12)),
    var(--paper);
}

.staff-app-copy {
  display: grid;
  gap: 18px;
  max-width: 780px;
}

.staff-app-copy h1 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.staff-app-copy p {
  max-width: 700px;
  color: var(--muted);
}

.staff-login-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(7, 29, 38, 0.08);
}

.staff-login-photo {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  object-fit: cover;
  background: var(--mint);
}

.staff-login-panel div {
  display: grid;
  gap: 4px;
}

.staff-login-panel span,
.staff-status-card span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-login-panel em,
.staff-status-card p {
  color: var(--muted);
  font-style: normal;
}

.ecs-system-desktop-page {
  min-height: 100vh;
  padding: clamp(24px, 4vw, 52px);
  background:
    linear-gradient(135deg, rgba(16, 47, 61, 0.08), rgba(31, 138, 131, 0.12)),
    var(--paper);
}

.ecs-system-desktop-page.is-logged-in {
  padding: 18px;
}

.ecs-system-desktop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  max-width: 1680px;
  margin: 0 auto 22px;
}

.ecs-system-desktop-page.is-logged-in .ecs-system-desktop-hero {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 12px;
  margin-bottom: 12px;
}

.ecs-system-title-stack,
.ecs-system-identity-card,
.ecs-system-login-card,
.ecs-system-panel,
.ecs-dashboard-banner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(7, 29, 38, 0.07);
}

.ecs-system-title-stack {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: clamp(24px, 4vw, 42px);
}

.ecs-system-desktop-page.is-logged-in .ecs-system-title-stack {
  gap: 8px;
  padding: 14px 16px;
}

.ecs-system-title-stack > span,
.ecs-system-login-card span,
.ecs-dashboard-banner span,
.ecs-system-identity-card span,
.ecs-system-platform-tabs span,
.ecs-system-branch-tile span,
.ecs-system-sidebar-note strong {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ecs-system-title-stack h1,
.ecs-system-login-card h2,
.ecs-dashboard-banner h2 {
  margin: 0;
  color: var(--navy-deep);
  line-height: 1.02;
}

.ecs-system-title-stack h1 {
  font-size: clamp(2.4rem, 5vw, 4.9rem);
}

.ecs-system-desktop-page.is-logged-in .ecs-system-title-stack h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.ecs-system-title-stack p,
.ecs-system-login-card p,
.ecs-dashboard-banner p,
.ecs-system-sidebar-note span,
.eport-handoff-panel p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
}

.ecs-system-desktop-page.is-logged-in .ecs-system-title-stack p,
.ecs-dashboard-banner p,
.eport-handoff-panel p {
  font-size: 0.88rem;
  line-height: 1.35;
}

.ecs-system-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ecs-system-identity-card {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 24px;
}

.ecs-system-desktop-page.is-logged-in .ecs-system-identity-card {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
}

.ecs-system-identity-card img {
  width: 98px;
  height: 98px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: var(--mint);
}

.ecs-system-desktop-page.is-logged-in .ecs-system-identity-card img {
  width: 64px;
  height: 64px;
}

.ecs-system-identity-card div {
  display: grid;
  gap: 4px;
}

.ecs-system-identity-card strong {
  color: var(--navy-deep);
  font-size: 1.25rem;
}

.ecs-system-desktop-page.is-logged-in .ecs-system-identity-card strong {
  font-size: 0.98rem;
}

.ecs-system-identity-card em,
.ecs-system-identity-card small {
  color: var(--muted);
  font-style: normal;
}

.ecs-system-desktop-page.is-logged-in .ecs-system-identity-card em,
.ecs-system-desktop-page.is-logged-in .ecs-system-identity-card small {
  font-size: 0.78rem;
}

.ecs-system-login-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(18px, 3vw, 32px);
  max-width: 1680px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
}

.ecs-system-login-form,
.desktop-auth-steps {
  display: grid;
  gap: 12px;
}

.ecs-system-login-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 900;
}

.ecs-system-login-form input {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 700;
}

.desktop-auth-steps {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.desktop-auth-steps div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(31, 138, 131, 0.32);
  border-radius: 8px;
  background: var(--mint);
}

.desktop-auth-steps strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--white);
  background: var(--teal-dark);
}

.desktop-auth-steps span {
  color: var(--navy);
  font-weight: 800;
}

.ecs-system-desktop-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 12px;
  max-width: 1680px;
  margin: 0 auto;
}

.ecs-system-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: calc(100vh - 72px);
  padding: 14px;
  border-radius: var(--radius);
  background: var(--navy-deep);
}

.ecs-system-sidebar img {
  width: 164px;
  max-width: 100%;
  justify-self: center;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.32));
  backdrop-filter: blur(10px);
}

.ecs-system-sidebar nav {
  display: grid;
  gap: 8px;
}

.ecs-system-sidebar a {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  font-size: 0.92rem;
  text-decoration: none;
}

.ecs-system-sidebar a.is-active,
.ecs-system-sidebar a:hover,
.ecs-system-sidebar a:focus-visible {
  border-color: rgba(255, 255, 255, 0.78);
  color: var(--white);
  background: transparent;
  outline: none;
}

.ecs-system-sidebar a.is-locked {
  opacity: 0.48;
}

.ecs-system-sidebar svg {
  width: 20px;
  height: 20px;
}

.ecs-system-sidebar span {
  font-weight: 900;
}

.ecs-system-sidebar-note {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.ecs-system-sidebar-note span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
}

.ecs-system-workspace {
  display: grid;
  gap: 10px;
}

.ecs-dashboard-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  padding: 9px 14px;
}

.ecs-dashboard-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.dashboard-task-flags,
.shift-escalation-panel {
  border: 1px solid rgba(31, 138, 131, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), #f7fbfa);
}

.task-flags-title strong,
.shift-escalation-panel strong {
  color: var(--navy-deep);
}

.daily-devotional-hero {
  position: relative;
  display: grid;
  min-height: 840px;
  margin-top: 12px;
  overflow: hidden;
  color: var(--white);
  background: #082732 var(--sermon-poster) center / cover no-repeat;
  isolation: isolate;
}

.daily-devotional-video,
.daily-devotional-scrim {
  position: absolute;
  inset: 0;
}

.daily-devotional-video {
  z-index: 0;
  overflow: hidden;
  background: #082732 var(--sermon-poster) center / cover no-repeat;
}

.daily-devotional-video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.daily-devotional-video iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0.34;
  filter: saturate(0.9) contrast(1.04);
  transform: scale(1.04);
  transform-origin: center;
  pointer-events: none;
}

.daily-devotional-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 26, 36, 0.98) 0%, rgba(4, 26, 36, 0.93) 46%, rgba(4, 26, 36, 0.58) 72%, rgba(4, 26, 36, 0.22) 100%),
    linear-gradient(0deg, rgba(4, 26, 36, 0.84) 0%, rgba(4, 26, 36, 0.08) 54%, rgba(4, 26, 36, 0.2) 100%);
}

.daily-devotional-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: clamp(18px, 2.4vw, 34px);
  align-content: stretch;
  min-width: 0;
  padding: clamp(28px, 4vw, 58px);
}

.daily-devotional-heading {
  display: grid;
  gap: 5px;
  max-width: 880px;
}

.daily-devotional-heading > span,
.daily-devotional-reading span,
.daily-devotional-scriptures > span,
.daily-sermon-link > span {
  color: #bfeae6;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.daily-devotional-heading > strong {
  color: var(--white);
  font-size: clamp(2.6rem, 5.3vw, 5.4rem);
  line-height: 0.98;
}

.daily-devotional-heading h3 {
  margin: 0;
  color: #d7f3ef;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.15;
}

.daily-devotional-reading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  max-width: 760px;
}

.daily-devotional-reading article {
  display: grid;
  gap: 9px;
  align-content: start;
  min-width: 0;
}

.daily-devotional-reading article + article {
  padding-top: 15px;
  border-top: 1px solid rgba(191, 234, 230, 0.34);
}

.daily-devotional-reading p,
.daily-devotional-reading blockquote {
  margin: 0;
  max-width: 70ch;
  color: rgba(255, 255, 255, 0.93);
  font-size: clamp(0.92rem, 1.12vw, 1.08rem);
  line-height: 1.58;
}

.daily-devotional-reading blockquote {
  margin-top: 3px;
  padding-left: 14px;
  color: #fff3c7;
  font-weight: 800;
  border-left: 4px solid var(--gold);
}

.daily-devotional-scriptures {
  display: grid;
  gap: 8px;
  max-width: 820px;
}

.daily-devotional-scriptures > div {
  display: flex;
  gap: 7px 16px;
  flex-wrap: wrap;
}

.daily-devotional-scriptures strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  line-height: 1.25;
}

.daily-devotional-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: 24px;
  align-items: end;
  max-width: 820px;
  padding-top: 16px;
  border-top: 1px solid rgba(191, 234, 230, 0.3);
}

.daily-devotional-quotes {
  display: grid;
  gap: 4px;
  max-width: 760px;
}

.daily-devotional-quotes blockquote {
  margin: 0;
  color: var(--white);
  font-size: clamp(0.95rem, 1.35vw, 1.18rem);
  font-weight: 900;
  line-height: 1.35;
}

.daily-devotional-quotes small {
  color: #bfeae6;
  font-size: 0.74rem;
}

.daily-sermon-link {
  display: grid;
  gap: 2px;
  justify-self: end;
  color: var(--white);
  text-align: right;
  text-decoration: none;
}

.daily-sermon-link strong {
  color: var(--white);
  font-size: 1rem;
}

.daily-sermon-link em,
.daily-sermon-link small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.35;
}

.daily-sermon-link:hover strong,
.daily-sermon-link:focus-visible strong {
  color: #fff3c7;
}

.dashboard-task-flags {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  padding: 10px;
}

.task-flags-title {
  display: grid;
  gap: 3px;
  align-content: center;
  min-width: 0;
}

.task-flags-title span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.task-flag-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.dashboard-task-flags.is-compact {
  grid-template-columns: 1fr;
}

.dashboard-task-flags.is-compact .task-flag-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.task-link-phone {
  display: none !important;
}

.dashboard-domain-ribbon {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(31, 138, 131, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white), #f7fbfa);
}

.dashboard-domain-heading {
  display: flex;
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
}

.dashboard-domain-heading span {
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-domain-heading strong {
  color: var(--muted);
  font-size: 0.8rem;
}

.dashboard-domain-grid {
  display: grid;
  gap: 7px;
}

.shift-domain-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.training-domain-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-domain-card {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 116px;
  align-content: start;
  padding: 10px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.dashboard-domain-card:hover,
.dashboard-domain-card:focus-visible {
  border-color: rgba(31, 138, 131, 0.55);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 138, 131, 0.12);
}

.dashboard-domain-card span {
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-domain-card strong {
  color: var(--navy-deep);
  font-size: 1.05rem;
  line-height: 1.08;
}

.dashboard-domain-card p,
.dashboard-domain-card em {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.28;
}

.dashboard-domain-card em {
  align-self: end;
  color: var(--teal-dark);
  font-weight: 900;
}

.ecs-my-dashboard-ribbon a {
  align-content: start;
  min-height: 132px;
}

.ecs-my-dashboard-ribbon a > small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.28;
}

.ecs-my-dashboard-ribbon a > em {
  align-self: end;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.employment-trend {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px;
  align-items: center;
}

.employment-trend b {
  display: inline-grid;
  min-width: 70px;
  min-height: 28px;
  place-items: center;
  padding: 4px 7px;
  color: var(--white);
  border-radius: 6px;
  font-size: 0.78rem;
  line-height: 1;
}

.employment-trend.is-up b {
  background: #17834f;
}

.employment-trend.is-down b {
  background: #ba3f38;
}

.employment-trend small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.15;
}

.ecs-my-dashboard-ribbon a.is-wellbeing-alert {
  border-color: #ba3f38;
  border-left: 6px solid #ba3f38;
  background: #fff4f3;
}

.ecs-my-dashboard-ribbon a.is-wellbeing-alert > em {
  color: #a52f2a;
}

.devotional-review-platform {
  gap: 12px;
}

.devotional-review-header {
  padding: 0;
}

.devotional-review-totals {
  display: grid;
  gap: 3px;
  min-width: 190px;
  padding: 12px;
  color: var(--white);
  border-radius: 8px;
  background: var(--navy);
}

.devotional-review-totals span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.devotional-month-nav {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 5px;
}

.devotional-month-nav a {
  padding: 8px 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.devotional-month-nav a.is-active {
  color: var(--white);
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.devotional-review-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.3fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.devotional-date-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  max-height: 690px;
  overflow-y: auto;
}

.devotional-date-list a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 3px 7px;
  padding: 8px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-left: 4px solid #d5b05b;
  border-radius: 7px;
  background: var(--white);
}

.devotional-date-list a.is-approved {
  border-left-color: #17834f;
}

.devotional-date-list a.is-active {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(31, 138, 131, 0.14);
}

.devotional-date-list a > span {
  grid-row: span 2;
  color: var(--teal-dark);
  font-size: 1.1rem;
  font-weight: 900;
}

.devotional-date-list strong {
  overflow: hidden;
  color: var(--navy-deep);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.devotional-date-list em {
  color: var(--muted);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.devotional-editor-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.devotional-editor-status {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
}

.devotional-editor-status h3,
.devotional-editor-status span {
  margin: 0;
}

.devotional-editor-status > strong {
  padding: 7px 9px;
  color: #8a5b06;
  border-radius: 6px;
  background: #fff3d6;
  font-size: 0.72rem;
}

.devotional-editor-status > strong.is-approved {
  color: #11613c;
  background: #e6f5eb;
}

.devotional-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.devotional-editor-grid section {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.devotional-editor-grid span {
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.devotional-editor-grid h4,
.devotional-editor-grid p,
.devotional-editor-grid blockquote {
  margin: 0;
}

.devotional-editor-grid p,
.devotional-editor-grid blockquote {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.42;
}

.devotional-editor-grid blockquote {
  padding-left: 10px;
  color: var(--teal-dark);
  font-weight: 900;
  border-left: 4px solid var(--gold);
}

.devotional-editor-grid a {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.devotional-editor-grid small,
.devotional-governance-note {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.devotional-supporting-scriptures {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.devotional-supporting-scriptures strong {
  padding: 6px 8px;
  color: var(--navy-deep);
  border: 1px solid rgba(31, 138, 131, 0.2);
  border-radius: 6px;
  background: #eef8f6;
  font-size: 0.72rem;
}

.devotional-editor-grid .devotional-sermon-review {
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  align-items: center;
}

.devotional-sermon-review > span,
.devotional-sermon-review > a {
  grid-column: 1 / -1;
}

.devotional-sermon-preview {
  position: relative;
  grid-row: span 4;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #082732 var(--sermon-poster) center / cover no-repeat;
}

.devotional-sermon-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.devotional-sermon-preview iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0.38;
}

.devotional-approval-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.devotional-governance-note {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.dashboard-support-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.task-flag-card {
  display: grid;
  gap: 4px;
  min-width: 0;
  min-height: 96px;
  padding: 10px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-left-width: 6px;
  border-radius: 8px;
  background: var(--white);
}

.task-flag-card:hover,
.task-flag-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 138, 131, 0.12);
}

.task-flag-card.is-current,
.task-flag-card.is-green {
  border-left-color: var(--teal);
}

.task-flag-card.is-warning,
.task-flag-card.is-orange {
  border-left-color: var(--gold);
  background: #fffaf0;
}

.task-flag-card.is-overdue,
.task-flag-card.is-red {
  border-left-color: #b84c3f;
  background: #fff5f3;
}

.task-flag-card span,
.task-flag-card em,
.task-flag-card b {
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.task-flag-card span {
  color: var(--teal-dark);
}

.task-flag-card.is-warning span,
.task-flag-card.is-orange span {
  color: #9b6a11;
}

.task-flag-card.is-overdue span,
.task-flag-card.is-red span {
  color: #9d3d31;
}

.task-flag-card strong {
  color: var(--navy-deep);
  line-height: 1.15;
}

.task-flag-card em,
.task-flag-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.25;
}

.task-flag-card p {
  font-size: 0.76rem;
}

.task-flag-card small {
  color: #4f666d;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.3;
}

.task-flag-card b {
  color: var(--teal-dark);
}

.eport-attention-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-left: 6px solid var(--teal);
  background: #eef8f6;
}

.eport-attention-strip.is-orange {
  border-left-color: var(--gold);
  background: #fff8e9;
}

.eport-attention-strip.is-red {
  border-left-color: #b84c3f;
  background: #fff1ef;
}

.eport-attention-strip > div {
  display: grid;
  gap: 2px;
}

.eport-attention-strip span {
  color: var(--teal-dark);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eport-attention-strip strong {
  color: var(--navy-deep);
  font-size: 0.82rem;
}

.eport-attention-strip small {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.eport-attention-strip button {
  min-width: 76px;
  min-height: 38px;
  padding: 7px 9px;
  color: var(--white);
  border: 0;
  border-radius: 6px;
  background: var(--teal-dark);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.shift-escalation-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.shift-escalation-panel > div:first-child {
  display: grid;
  gap: 4px;
}

.shift-escalation-panel span {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shift-escalation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.shift-escalation-grid article {
  display: grid;
  gap: 4px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.shift-escalation-grid p,
.shift-escalation-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.32;
}

.ecs-dashboard-now {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--teal-dark));
}

.ecs-dashboard-now strong {
  font-size: 0.98rem;
}

.ecs-dashboard-now span,
.ecs-dashboard-now em {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-style: normal;
}

.ecs-system-platform-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(156px, 1fr));
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(7, 29, 38, 0.06);
}

.ecs-system-platform-tabs a {
  display: grid;
  gap: 2px;
  min-height: 64px;
  align-content: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: #fbfdfc;
  text-decoration: none;
}

.ecs-system-platform-tabs a.is-active,
.ecs-system-platform-tabs a:hover,
.ecs-system-platform-tabs a:focus-visible {
  border-color: rgba(31, 138, 131, 0.5);
  background: var(--mint);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 138, 131, 0.12);
}

.ecs-system-platform-tabs a.is-locked {
  opacity: 0.54;
}

.ecs-system-platform-tabs em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.25;
}

.ecs-system-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.ecs-system-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ecs-system-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 10px;
  align-items: start;
}

.ecs-system-dashboard-grid .personal-task-list,
.ecs-system-dashboard-grid .dashboard-feed-list {
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}

.ecs-desktop-analytics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ecs-workweek-ribbon {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  align-items: start;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(7, 29, 38, 0.05);
}

.ecs-workweek-ribbon .panel-title {
  display: block;
}

.ecs-workweek-ribbon .panel-title h3 {
  font-size: 0.86rem;
  line-height: 1;
}

.ecs-workweek-ribbon .panel-title span {
  display: none;
}

.ecs-workweek-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.ecs-workweek-strip a {
  display: grid;
  gap: 1px;
  min-height: 34px;
  align-content: center;
  padding: 4px 6px;
  border: 1px solid rgba(31, 138, 131, 0.22);
  border-radius: 6px;
  color: inherit;
  background: #f7fbfa;
  text-decoration: none;
}

.ecs-system-dashboard-grid .personal-task-list div,
.ecs-system-dashboard-grid .dashboard-feed-list div {
  min-height: 82px;
  align-content: start;
}

.ecs-dashboard-view-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ecs-dashboard-view-tabs button {
  min-height: 92px;
  display: grid;
  gap: 4px;
  align-content: center;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
}

.ecs-dashboard-view-tabs button.is-active {
  color: var(--white);
  border-color: var(--teal-dark);
  background: linear-gradient(135deg, var(--teal), var(--navy));
}

.ecs-dashboard-view-tabs button.is-summary:not(.is-active) {
  background: linear-gradient(180deg, var(--white), #f6fbf9);
}

.ecs-dashboard-view-tabs strong,
.ecs-dashboard-view-tabs span,
.ecs-dashboard-view-tabs em {
  line-height: 1.25;
}

.ecs-dashboard-view-tabs strong {
  color: inherit;
  font-size: 0.98rem;
}

.ecs-dashboard-view-tabs span,
.ecs-dashboard-view-tabs em {
  color: currentColor;
  opacity: 0.78;
  font-size: 0.74rem;
}

.ecs-dashboard-view-tabs em {
  width: fit-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(31, 138, 131, 0.12);
  font-style: normal;
  font-weight: 900;
}

.ecs-dashboard-view-tabs button.is-active em {
  background: rgba(255, 255, 255, 0.18);
}

.ecs-dashboard-panel {
  display: grid;
  gap: 12px;
}

.ecs-family-message,
.ecs-dashboard-access-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: linear-gradient(135deg, var(--mint), var(--white));
  border: 1px solid rgba(31, 138, 131, 0.26);
  border-radius: var(--radius);
}

.ecs-family-message.is-impact {
  background: var(--white);
}

.ecs-family-message span,
.ecs-dashboard-access-note strong {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ecs-family-message h2,
.ecs-family-message p {
  margin: 0;
}

.ecs-family-message h2 {
  color: var(--navy-deep);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.05;
}

.ecs-family-message p,
.ecs-dashboard-access-note span {
  color: var(--muted);
}

.ecs-family-message > strong {
  flex: 0 0 auto;
  max-width: 220px;
  padding: 10px 12px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  text-align: center;
}

.ecs-dashboard-access-note {
  align-items: start;
  background: #fff8e6;
  border-color: rgba(216, 166, 51, 0.34);
}

.ecs-dashboard-action {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  border-radius: 8px;
  background: var(--navy);
}

.ecs-dashboard-panel .option-title-row {
  align-items: center;
}

.ecs-dashboard-panel .option-title-row h3 {
  font-size: clamp(1.35rem, 2.4vw, 2.35rem);
}

.ecs-my-dashboard-ribbon {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ecs-system-workspace .option-grid,
.ecs-system-workspace .executive-analytics,
.ecs-system-workspace .care-analytics-grid,
.ecs-system-workspace .impact-analytics-grid,
.ecs-system-workspace .finance-analytics-grid,
.ecs-system-workspace .care-map-grid,
.ecs-system-workspace .impact-metrics,
.ecs-system-workspace .finance-ledger,
.ecs-system-workspace .ops-board {
  margin: 0;
}

.dashboard-link-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  background: var(--white);
  text-decoration: none;
}

.dashboard-link-card:hover,
.dashboard-link-card:focus-visible {
  border-color: rgba(31, 138, 131, 0.45);
  box-shadow: 0 14px 28px rgba(31, 138, 131, 0.13);
  outline: none;
}

.panel-title a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--teal-dark);
  border-radius: 6px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.training-overview-strip,
.shift-report-feed,
.shift-report-routing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.training-overview-strip article,
.shift-report-feed article,
.shift-report-routing div {
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.training-overview-strip span,
.training-card span,
.training-requirement-list span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.training-overview-strip strong {
  color: var(--navy-deep);
  font-size: 1.55rem;
  line-height: 1;
}

.training-overview-strip p,
.training-card p,
.training-card em,
.training-requirement-list p,
.training-requirement-list em,
.shift-report-feed span,
.shift-report-routing span {
  margin: 0;
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.training-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.training-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.training-card.is-primary {
  grid-column: span 2;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--teal-dark));
}

.training-card.is-primary span,
.training-card.is-primary p,
.training-card.is-primary strong {
  color: rgba(255, 255, 255, 0.88);
}

.training-card h3 {
  margin: 0;
  color: inherit;
  font-size: 1rem;
  line-height: 1.2;
}

.training-card strong {
  color: var(--navy-deep);
  line-height: 1.35;
}

.training-requirement-matrix {
  display: grid;
  gap: 12px;
}

.training-requirement-list {
  display: grid;
  gap: 8px;
}

.training-requirement-list article {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(220px, 0.75fr) minmax(220px, 0.8fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.training-requirement-list b {
  justify-self: end;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--mint);
  font-size: 0.76rem;
  white-space: nowrap;
}

.shift-report-feed {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shift-report-feed strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--white);
  background: var(--teal-dark);
}

.shift-photo-upload {
  margin: 10px 0;
}

.scan-upload-control {
  display: inline-grid;
  gap: 6px;
  align-items: center;
  justify-items: start;
  font-weight: 900;
}

.scan-upload-control input {
  max-width: 100%;
}

.concern-flag-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.concern-flag-grid legend {
  padding: 0 6px;
  color: var(--navy-deep);
  font-weight: 900;
}

.concern-flag-grid label {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 32px;
  color: var(--ink);
  font-weight: 800;
}

.shift-report-routing {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 12px 0;
}

.ecs-workweek-strip a:hover,
.ecs-workweek-strip a:focus-visible {
  border-color: rgba(31, 138, 131, 0.55);
  outline: none;
  box-shadow: 0 0 0 2px rgba(31, 138, 131, 0.12);
}

.ecs-workweek-strip a.is-schads {
  color: var(--white);
  border-color: rgba(15, 61, 74, 0.25);
  background: linear-gradient(145deg, var(--navy), var(--teal-dark));
}

.ecs-workweek-strip a.is-schads span,
.ecs-workweek-strip a.is-schads strong,
.ecs-workweek-strip a.is-schads em {
  color: var(--white);
}

.ecs-workweek-strip a.is-schads em {
  color: rgba(255, 255, 255, 0.82);
}

.ecs-workweek-strip span {
  color: var(--teal-dark);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ecs-workweek-strip strong {
  color: var(--navy-deep);
  font-size: 0.72rem;
  line-height: 1.05;
}

.ecs-workweek-strip em {
  display: none;
}

.ecs-system-branch-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.ecs-system-branch-tile {
  display: grid;
  gap: 8px;
  min-height: 150px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: linear-gradient(180deg, #ffffff, #f7fbfa);
  text-decoration: none;
}

.ecs-system-branch-tile.is-eport {
  border-color: rgba(31, 138, 131, 0.4);
  background: linear-gradient(180deg, #ffffff, #eef9f6);
}

.ecs-system-branch-tile.is-restricted {
  opacity: 0.62;
}

.ecs-system-branch-tile strong {
  color: var(--navy-deep);
  line-height: 1.25;
}

.ecs-system-branch-tile em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.35;
}

.eport-handoff-panel {
  align-content: start;
}

.eport-handoff-panel .button {
  justify-self: start;
}

.eport-staff-page {
  background:
    linear-gradient(135deg, rgba(31, 138, 131, 0.12), rgba(216, 166, 51, 0.08)),
    var(--paper);
}

.ecs-system-hub-overview {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  padding: clamp(34px, 6vw, 74px);
  background: var(--white);
}

.ecs-system-branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.ecs-system-branch-card {
  display: grid;
  gap: 10px;
  min-height: 270px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: linear-gradient(180deg, #ffffff, #f7fbfa);
  box-shadow: 0 12px 26px rgba(7, 29, 38, 0.06);
  text-decoration: none;
}

.ecs-system-branch-card span {
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ecs-system-branch-card strong {
  color: var(--navy-deep);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.ecs-system-branch-card p,
.ecs-system-branch-card em {
  margin: 0;
  color: var(--muted);
  font-style: normal;
}

.ecs-system-branch-card em {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-weight: 800;
}

.ecs-system-flow-lane,
.ecs-system-rule-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.ecs-system-flow-lane article,
.ecs-system-rule-strip span {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(31, 138, 131, 0.3);
  border-radius: 8px;
  background: var(--mint);
}

.ecs-system-flow-lane strong {
  color: var(--teal-dark);
}

.ecs-system-flow-lane span,
.ecs-system-rule-strip span {
  color: #3e565f;
  font-size: 0.76rem;
  line-height: 1.25;
}

.staff-phone-frame {
  width: min(100%, clamp(330px, 34vw, 430px));
  margin-inline: auto;
  padding: 12px;
  border-radius: 38px;
  background: var(--navy-deep);
  box-shadow: 0 24px 70px rgba(7, 29, 38, 0.28);
}

.staff-phone-screen {
  min-height: 760px;
}

.staff-lock-screen {
  display: grid;
  gap: 14px;
  padding: 28px 20px 90px;
}

.staff-lock-screen img {
  width: 118px;
  padding: 10px;
  border-radius: 22px;
  background: var(--white);
}

.staff-lock-screen h2 {
  margin: 0;
  font-size: 1.8rem;
}

.staff-lock-screen label,
.report-field {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 900;
}

.staff-lock-screen input,
.report-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 600;
}

.report-field textarea {
  min-height: 80px;
  resize: vertical;
}

.staff-lock-screen p {
  color: var(--muted);
}

.staff-status-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(180deg, var(--navy), var(--navy-deep));
}

.staff-status-card img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  padding: 7px;
  border-radius: 18px;
  background: var(--white);
}

.staff-status-card h2,
.staff-status-card p {
  margin: 0;
}

.staff-status-card h2 {
  color: var(--white);
  font-size: 1.35rem;
}

.staff-status-card p {
  color: rgba(255, 255, 255, 0.75);
}

.staff-mobile-kpis,
.team-metric-list,
.team-performance-stack,
.phone-deliverable-list,
.system-landing-grid,
.personal-analytics-grid,
.dashboard-feed-list,
.personal-task-list {
  display: grid;
  gap: 8px;
}

.staff-mobile-kpis {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.personal-analytics-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ecs-system-phone-summary {
  display: grid;
  gap: 6px;
  padding: 13px;
  border: 1px solid rgba(31, 138, 131, 0.32);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--teal-dark));
}

.ecs-system-phone-summary strong {
  font-size: 0.84rem;
  text-transform: uppercase;
}

.ecs-system-phone-summary span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.4;
}

.system-landing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staff-mobile-kpis article,
.team-metric-list div,
.team-performance-stack div,
.phone-deliverable-list div,
.system-landing-grid a,
.personal-analytics-grid article,
.dashboard-feed-list div,
.personal-task-list div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.system-landing-grid a {
  color: inherit;
  text-decoration: none;
}

.system-landing-grid a:hover,
.system-landing-grid a:focus-visible {
  border-color: rgba(31, 138, 131, 0.55);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 138, 131, 0.12);
}

.staff-mobile-kpis span,
.system-landing-grid span,
.personal-analytics-grid span,
.personal-task-list span,
.team-metric-list strong,
.dashboard-feed-list strong,
.team-performance-stack strong,
.phone-deliverable-list strong {
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-mobile-kpis strong {
  color: var(--navy-deep);
  font-size: 1rem;
}

.system-landing-grid strong,
.personal-analytics-grid strong,
.personal-task-list strong {
  color: var(--navy-deep);
  font-size: 0.84rem;
  line-height: 1.25;
}

.staff-mobile-kpis em,
.system-landing-grid em,
.personal-analytics-grid em,
.personal-task-list em,
.team-metric-list em,
.team-performance-stack em,
.phone-deliverable-list em,
.phone-deliverable-list span,
.dashboard-feed-list span {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.25;
}

.dashboard-feed-list div {
  border-color: rgba(31, 138, 131, 0.24);
  background: #f7fbfa;
}

.personal-task-list.training div {
  border-left: 4px solid var(--gold);
}

.phone-roster-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.phone-roster-actions button {
  min-height: 42px;
  border: 1px solid rgba(31, 138, 131, 0.32);
  border-radius: 6px;
  color: var(--navy);
  background: var(--mint);
  font: inherit;
  font-weight: 900;
}

.phone-roster-calendar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.phone-open-shift {
  margin-bottom: 10px;
}

.phone-deliverable-list i {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #e6efec;
}

.phone-deliverable-list b {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.staff-app-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px;
  background: #eff7f5;
}

.staff-app-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.staff-app-tabs button.is-active {
  border-color: rgba(31, 138, 131, 0.5);
  color: var(--teal-dark);
  background: var(--mint);
}

.staff-app-tabs .assistant-tab-button {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-color: rgba(31, 138, 131, 0.38);
  color: var(--navy-deep);
  background: linear-gradient(135deg, #ffffff, #edfbf8);
  font-size: 0.9rem;
  text-transform: none;
  box-shadow: 0 8px 18px rgba(7, 29, 38, 0.08);
}

.staff-app-tabs .assistant-tab-button img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.leave-calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.report-field select,
.report-field input[type="date"] {
  min-height: 42px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.manager-roster-console {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 70px);
  border-top: 1px solid var(--line);
  background: #f7fbfa;
}

.delegation-role-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.delegation-role-tabs button,
.open-shift-card button {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-weight: 900;
}

.delegation-role-tabs button.is-active {
  border-color: rgba(31, 138, 131, 0.5);
  color: var(--teal-dark);
  background: var(--mint);
}

.delegation-access-grid,
.roster-console-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.delegation-access-grid article,
.manager-lockout,
.open-shift-card,
.staff-performance-table > div {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.delegation-access-grid article strong,
.manager-lockout strong,
.open-shift-card strong,
.staff-performance-table strong {
  color: var(--navy-deep);
}

.delegation-access-grid article span,
.manager-lockout span,
.open-shift-card span,
.open-shift-card em,
.open-shift-card small,
.staff-performance-table span,
.staff-performance-table em,
.staff-performance-table small,
.staff-performance-table b {
  color: var(--muted);
  font-style: normal;
  line-height: 1.4;
}

.roster-console-grid {
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr) minmax(320px, 1.1fr);
}

.roster-calendar-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
}

.roster-calendar-strip button {
  min-height: 46px;
  border: 1px solid rgba(31, 138, 131, 0.25);
  border-radius: 6px;
  color: var(--teal-dark);
  background: var(--mint);
  font: inherit;
  font-weight: 900;
}

.open-shift-card div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.staff-performance-table {
  display: grid;
  gap: 10px;
}

.manager-lockout.is-hr {
  border-color: rgba(31, 138, 131, 0.42);
  background: var(--mint);
}

.staff-panel-body {
  display: grid;
  gap: 12px;
  padding: 16px 16px 86px;
}

.staff-panel-body h3,
.staff-panel-body h4 {
  margin: 0;
}

.staff-week-list {
  display: grid;
  gap: 10px;
}

.shift-detail-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(31, 138, 131, 0.32);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f4fbf9);
}

.shift-detail-row,
.shift-file-links {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.shift-detail-row > span,
.shift-file-links > span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.shift-detail-row strong {
  color: var(--ink);
}

.shift-detail-row em,
.shift-detail-row small {
  color: var(--muted);
  font-style: normal;
  line-height: 1.4;
}

.shift-date-row {
  grid-template-columns: minmax(0, 1fr);
}

.inline-map-link {
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.inline-map-link:hover {
  text-decoration: underline;
}

.shift-map {
  width: 100%;
  min-height: 152px;
  border: 0;
  border-radius: 8px;
  background: var(--mint);
}

.staff-week-list button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 3px 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.staff-week-list button.is-active {
  border-color: var(--teal);
  background: var(--mint);
}

.staff-week-list button > strong {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal-dark);
}

.staff-week-list em,
.staff-week-list small,
.staff-schedule-stack em {
  color: var(--muted);
  font-style: normal;
}

.staff-schedule-stack {
  display: grid;
  gap: 8px;
}

.staff-schedule-stack div,
.staff-alert {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.staff-alert {
  border-color: rgba(31, 138, 131, 0.32);
  background: var(--mint);
}

.staff-alert strong {
  color: var(--teal-dark);
}

.staff-alert span {
  color: var(--muted);
}

.staff-mini-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.staff-mini-list li {
  color: var(--muted);
}

.staff-mini-list.risk li::marker {
  color: var(--gold);
}

.worker-photo-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.worker-photo-card img {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--mint);
}

.worker-photo-card div {
  display: grid;
  gap: 3px;
}

.worker-photo-card span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.worker-photo-card em,
.worker-photo-card small {
  color: var(--muted);
  font-style: normal;
}

.customer-worker-card {
  margin-bottom: 10px;
}

.geo-consent-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(199, 143, 46, 0.42);
  border-radius: var(--radius);
  background: #fffaf0;
}

.geo-consent-panel.is-signed {
  border-color: rgba(31, 138, 131, 0.42);
  background: var(--mint);
}

.geo-consent-panel.is-refused {
  border-color: rgba(165, 57, 57, 0.5);
  background: #fff3f2;
}

.geo-consent-panel > span,
.geo-consent-links a {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.geo-consent-panel strong {
  color: var(--ink);
}

.geo-consent-panel p,
.geo-consent-panel small {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.geo-consent-links,
.geo-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.geo-consent-links a,
.geo-consent-actions button {
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
  text-decoration: none;
}

.geo-consent-actions button {
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.geo-consent-actions button:last-child {
  color: #9b2f2f;
}

.app-action:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.secure-access-grid,
.contractor-onboarding-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.secure-access-card,
.contractor-onboarding-grid article,
.preferred-provider-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(7, 29, 38, 0.06);
}

.secure-access-card span,
.contractor-onboarding-grid strong {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.secure-access-card h3,
.secure-access-card p,
.contractor-onboarding-grid h3,
.contractor-onboarding-grid p,
.preferred-provider-panel h3 {
  margin: 0;
}

.secure-access-card p,
.contractor-onboarding-grid p {
  color: var(--muted);
}

.secure-access-card strong {
  color: var(--gold);
}

.preferred-provider-panel {
  margin-top: 16px;
}

.preferred-provider-table {
  display: grid;
  gap: 8px;
}

.preferred-provider-table div {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.1fr 1.1fr 1.2fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.preferred-provider-table span {
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .stream-layout,
  .contact,
  .page-hero,
  .service-detail-page,
  .campaign-opening,
  .connected-care-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .governance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campaign-copy {
    position: static;
  }

  .campaign-photo-wall {
    grid-auto-rows: minmax(170px, 34vw);
  }

  .campaign-promise-grid,
  .campaign-service-grid,
  .connected-care-grid,
  .scripture-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .onboarding-process-grid,
  .onboarding-records {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .digital-document-hero,
  .digital-invite-strip,
  .digital-field-grid,
  .digital-upload-grid,
  .digital-check-grid,
  .contact-record-grid,
  .identity-evidence-grid,
  .clinical-pathway-grid,
  .support-plan-workflow,
  .medical-ai-header,
  .medical-standard-grid,
  .medical-issue-grid,
  .medical-classification-grid {
    grid-template-columns: 1fr;
  }

  .medical-source-citation {
    grid-template-columns: 1fr;
  }

  .medical-ai-header {
    display: grid;
  }

  .onboarding-system-panel {
    grid-template-columns: 1fr;
  }

  .microsoft-grid,
  .operations-grid,
  .secure-access-grid,
  .contractor-onboarding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .who-communication-page,
  .content-section-grid,
  .who-advice-grid {
    grid-template-columns: 1fr;
  }

  .platform-shell {
    grid-template-columns: 1fr;
  }

  .platform-sidebar {
    position: static;
    height: auto;
    grid-template-rows: auto auto;
  }

  .platform-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .platform-user {
    display: none;
  }

  .ecs-system-desktop-hero,
  .ecs-system-desktop-shell,
  .ecs-dashboard-banner,
  .ecs-system-two-column,
  .ecs-system-dashboard-grid,
  .dashboard-task-flags,
  .ecs-system-login-card {
    grid-template-columns: 1fr;
  }

  .daily-devotional-hero {
    min-height: 760px;
    max-height: none;
    aspect-ratio: auto;
  }

  .daily-devotional-reading,
  .daily-devotional-footer {
    grid-template-columns: 1fr;
  }

  .daily-devotional-reading article + article {
    padding-top: 20px;
    padding-left: 0;
    border-top: 1px solid rgba(191, 234, 230, 0.34);
    border-left: 0;
  }

  .daily-sermon-link {
    justify-self: start;
    text-align: left;
  }

  .devotional-review-layout {
    grid-template-columns: 1fr;
  }

  .devotional-date-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: 280px;
  }

  .devotional-month-nav {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .ecs-system-sidebar {
    position: static;
    min-height: 0;
  }

  .ecs-system-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ecs-system-sidebar a {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .ecs-desktop-analytics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shift-domain-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .training-domain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-platform-grid,
  .training-overview-strip,
  .shift-report-feed,
  .shift-report-routing,
  .task-flag-strip,
  .shift-escalation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-card.is-primary {
    grid-column: span 2;
  }

  .training-requirement-list article {
    grid-template-columns: 1fr;
  }

  .training-requirement-list b {
    justify-self: start;
  }

  .cms-grid,
  .delegation-access-grid,
  .fms-metric-grid,
  .fms-reporting-grid,
  .fms-two-column,
  .fms-forecast-grid,
  .fms-payment-grid,
  .fms-process-lane,
  .fms-geo-grid,
  .fms-source-grid,
  .audit-metric-grid,
  .audit-flow-grid,
  .audit-summary-strip,
  .audit-source-grid,
  .roster-console-grid,
  .ecs-system-branch-grid,
  .ecs-system-flow-lane,
  .ecs-system-rule-strip,
  .app-review-page,
  .staff-app-page {
    grid-template-columns: 1fr;
  }

  .audit-group-header,
  .audit-report-row {
    grid-template-columns: 1fr;
  }

  .audit-report-head {
    display: none;
  }

  .audit-actions {
    justify-content: stretch;
  }

  .audit-actions .button {
    flex: 1 1 220px;
  }

  .pipeline-steps,
  .practice-grid,
  .workforce-grid,
  .workforce-onboarding,
  .process-map,
  .readiness-grid,
  .cadence-grid,
  .shell-base,
  .package-grid,
  .package-preview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .phone-frame,
  .staff-phone-frame {
    width: min(100%, 430px);
  }

  .preferred-provider-table div {
    grid-template-columns: 1fr 1fr;
  }

  .funding-panel {
    grid-column: auto;
  }

  .purpose-panel {
    position: static;
  }
}

@media (max-width: 1180px) {
  .site-nav {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    font-size: 0.72rem;
  }

  .site-nav > * {
    min-width: 0;
  }

  .site-nav a,
  .nav-dropdown-trigger {
    padding-right: 6px;
    padding-left: 6px;
  }
}

@media (min-width: 981px) {
  .header-actions {
    margin-bottom: 22px;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: var(--ecs-header-logo-width) minmax(0, 1fr);
    grid-template-areas:
      "brand actions"
      "brand nav";
  }

  .header-top {
    display: contents;
  }

  .brand,
  .header-actions {
    align-self: center;
  }

  .brand-mark {
    width: 86px;
    height: 78px;
  }

  .brand {
    width: var(--ecs-header-logo-width);
  }
}

@media (max-width: 767px) {
  .task-link-desktop {
    display: none !important;
  }

  .task-link-phone {
    display: grid !important;
  }

  .dashboard-domain-heading {
    display: grid;
    gap: 2px;
  }

  .ecs-my-dashboard-ribbon,
  .shift-domain-grid,
  .training-domain-grid,
  .ecs-dashboard-view-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
  }

  .ecs-my-dashboard-ribbon a,
  .dashboard-domain-card,
  .ecs-dashboard-view-tabs button {
    flex: 0 0 min(78vw, 260px);
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  :root {
    --ecs-header-logo-width: clamp(70px, 22vw, 116px);
    --ecs-header-overlay-height: 132px;
    --ecs-social-button-size: clamp(36px, 10.3vw, 40px);
    --ecs-social-button-gap: clamp(4px, 1.2vw, 6px);
  }

  .site-header {
    grid-template-columns: var(--ecs-header-logo-width) minmax(0, 1fr);
    grid-template-areas: "brand actions";
    gap: 12px;
    min-height: var(--ecs-header-overlay-height);
    padding: 7px 14px;
  }

  .brand-mark {
    width: 70px;
    height: 64px;
  }

  .stream-video-hero.campaign-hero {
    min-height: clamp(560px, 78vh, 720px);
    text-align: left;
    background-image: var(--mobile-hero-image, none);
    background-position: center;
    background-size: cover;
  }

  .stream-video-hero.campaign-hero::after {
    background:
      linear-gradient(90deg, rgba(7, 29, 38, 0.82), rgba(7, 29, 38, 0.52)),
      linear-gradient(0deg, rgba(7, 29, 38, 0.74), rgba(7, 29, 38, 0.06) 58%);
  }

  .stream-video-hero .page-hero-bg-video,
  .who-page-hero .page-hero-bg-video {
    display: block;
  }

  .stream-video-hero .hero-video-count,
  .who-page-hero .hero-video-count {
    display: flex;
  }

  .campaign-photo-wall,
  .campaign-promise-grid,
  .campaign-service-grid,
  .connected-care-grid,
  .dream-journey-section,
  .dream-point-grid,
  .scripture-theme-grid,
  .dashboard-scripture-panel,
  .scripture-foundations,
  .dashboard-task-flags,
  .task-flag-strip,
  .training-platform-grid,
  .training-overview-strip,
  .shift-escalation-grid,
  .shift-report-feed,
  .shift-report-routing,
  .concern-flag-grid {
    grid-template-columns: 1fr;
  }

  .devotional-editor-grid,
  .devotional-date-list {
    grid-template-columns: 1fr;
  }

  .devotional-editor-grid .devotional-sermon-review {
    grid-template-columns: 1fr;
  }

  .devotional-sermon-preview {
    grid-row: auto;
  }

  .devotional-month-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
  }

  .devotional-month-nav a {
    flex: 0 0 56px;
  }

  .devotional-editor-status,
  .devotional-approval-actions {
    display: grid;
  }

  .daily-devotional-hero {
    min-height: 0;
  }

  .daily-devotional-content {
    padding: 26px 22px;
  }

  .daily-devotional-heading > strong {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .daily-devotional-reading {
    gap: 18px;
  }

  .daily-devotional-reading p,
  .daily-devotional-reading blockquote {
    font-size: 0.92rem;
    line-height: 1.52;
  }

  .training-card.is-primary {
    grid-column: auto;
  }

  .dashboard-task-flags.is-compact .task-flag-strip {
    grid-template-columns: 1fr;
  }

  .campaign-photo-wall {
    grid-auto-rows: minmax(240px, 62vw);
  }

  .campaign-photo.is-large {
    grid-column: auto;
    grid-row: auto;
  }

  .header-top {
    display: contents;
  }

  .brand-mark {
    width: 42px;
    height: 39px;
  }

  .brand {
    width: var(--ecs-header-logo-width);
  }

  .brand-wordmark {
    font-size: 0.82rem;
  }

  .brand-submark {
    font-size: 0.36rem;
    letter-spacing: 0.18em;
  }

  .brand-tagline {
    font-size: 0.34rem;
    white-space: normal;
  }

  .social-links {
    display: flex;
    gap: var(--ecs-social-button-gap);
  }

  .social-button {
    width: var(--ecs-social-button-size);
    height: var(--ecs-social-button-size);
    font-size: 0.9rem;
  }

  .header-actions {
    gap: clamp(6px, 1.6vw, 8px);
  }

  .instagram-glyph {
    width: 16px;
    height: 16px;
    border-radius: 5px;
  }

  .youtube-glyph {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 10px;
  }

  .nav-toggle {
    display: block;
    width: 38px;
    height: 38px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 132px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: var(--radius);
    background: rgba(7, 29, 38, 0.84);
    box-shadow: 0 18px 45px rgba(7, 29, 38, 0.28);
    transform: none;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 44px;
    padding: 12px;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.48);
    text-align: left;
    background: transparent;
    text-shadow: none;
  }

  .nav-dropdown-menu {
    position: static;
    display: grid;
    gap: 6px;
    min-width: 0;
    margin-top: 6px;
    padding: 8px;
    border-color: rgba(255, 255, 255, 0.24);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav-dropdown-trigger {
    justify-content: flex-start;
    min-height: 44px;
    padding: 12px;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.48);
    text-align: left;
    background: transparent;
    text-shadow: none;
  }

  .site-nav .nav-action {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.48);
  }

  .hero-media {
    padding: 10px;
  }

  .hero-panel {
    position: static;
    max-width: none;
    margin-top: 10px;
  }

  .governance-grid,
  .staff-grid,
  .service-grid,
  .onboarding-process-grid,
  .onboarding-records,
  .microsoft-grid,
  .operations-grid,
  .secure-access-grid,
  .contractor-onboarding-grid,
  .scan-intake-grid,
  .scan-example-grid,
  .medical-model-grid,
  .outlook-dashboard-grid,
  .outlook-workflow-grid,
  .ai-report-layout,
  .process-map,
  .readiness-grid,
  .cadence-grid,
  .shell-base,
  .package-grid,
  .package-preview-grid {
    grid-template-columns: 1fr;
  }

  .preferred-provider-table div {
    grid-template-columns: 1fr;
  }

  .outlook-queue-row {
    grid-template-columns: 1fr;
  }

  .phone-frame,
  .staff-phone-frame {
    width: min(100%, calc(100vw - 24px));
    padding: 8px;
    border-radius: 28px;
  }

  .phone-screen {
    min-height: min(720px, calc(100dvh - 24px));
    border-radius: 22px;
  }

  .shell-note {
    grid-template-columns: 1fr;
  }

  .onboarding-timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .onboarding-timeline p {
    grid-column: auto;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .staff-steps li {
    grid-template-columns: 1fr;
  }

  .story-timeline > a {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .platform-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecs-ai-dock {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
  }

  .ecs-ai-dock > div {
    display: none;
  }

  .cms-topbar,
  .cms-alert,
  .pipeline-head,
  .panel-title,
  .generator-actions,
  .staff-login-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .pipeline-steps,
  .metric-grid,
  .delegation-access-grid,
  .leave-calendar-grid,
  .desktop-auth-steps,
  .ecs-desktop-analytics,
  .ecs-system-sidebar nav,
  .ecs-system-two-column,
  .personal-analytics-grid,
  .system-landing-grid,
  .practice-grid,
  .roster-calendar-strip,
  .roster-console-grid,
  .workforce-grid,
  .workforce-onboarding {
    grid-template-columns: 1fr;
  }

  .open-shift-card div {
    grid-template-columns: 1fr;
  }

  .detail-row,
  .generated-preview dl div,
  .app-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .funding-panel {
    overflow-x: auto;
  }

  .funding-table {
    min-width: 720px;
  }

  .fms-invoice-table {
    overflow-x: auto;
  }

  .fms-table-row {
    min-width: 900px;
  }
}

/* Scripture-first morning devotional */
.daily-devotional-hero {
  min-height: 1180px;
}

.daily-devotional-content {
  grid-template-rows: auto auto auto auto 1fr;
  gap: 22px;
}

.daily-devotional-heading > strong {
  max-width: 980px;
  font-size: clamp(2.5rem, 4.8vw, 4.9rem);
}

.daily-devotional-reading {
  max-width: 920px;
}

.daily-devotional-reading article {
  gap: 12px;
}

.daily-devotional-reading article h4 {
  margin: 0;
  color: #fff3c7;
  font-size: 1.05rem;
}

.daily-devotional-reading p + p {
  margin-top: 6px;
}

.daily-devotional-footer {
  display: none;
}

.licensed-scripture-reading {
  display: grid;
  gap: 12px;
  padding: 18px;
  color: var(--navy-deep);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcfb;
}

.licensed-scripture-reading.is-compact {
  max-width: 920px;
  padding: 16px 0;
  color: var(--white);
  border: 0;
  border-top: 1px solid rgba(191, 234, 230, 0.34);
  border-bottom: 1px solid rgba(191, 234, 230, 0.34);
  border-radius: 0;
  background: transparent;
}

.licensed-scripture-heading,
.licensed-scripture-actions {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
}

.licensed-scripture-heading span,
.licensed-scripture-actions span {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.licensed-scripture-heading strong {
  font-size: 1rem;
}

.licensed-scripture-content {
  max-height: 260px;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-color: var(--teal) transparent;
}

.licensed-scripture-content p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  line-height: 1.58;
}

.licensed-scripture-content small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.licensed-scripture-actions a {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.licensed-scripture-reading.is-compact .licensed-scripture-heading span,
.licensed-scripture-reading.is-compact .licensed-scripture-actions span,
.licensed-scripture-reading.is-compact .licensed-scripture-actions a {
  color: #bfeae6;
}

.licensed-scripture-reading.is-compact .licensed-scripture-content p {
  color: rgba(255, 255, 255, 0.94);
}

.licensed-scripture-reading.is-compact .licensed-scripture-content small {
  color: rgba(255, 255, 255, 0.72);
}

.licensed-scripture-reading.is-loaded .licensed-scripture-content {
  max-height: 420px;
}

.devotional-full-draft {
  grid-column: 1 / -1;
}

.devotional-full-draft p + p {
  margin-top: 7px;
}

.sermon-companion {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcfb;
}

.sermon-companion.is-compact {
  align-self: end;
  width: calc(100% + clamp(56px, 8vw, 116px));
  margin: 4px calc(clamp(28px, 4vw, 58px) * -1) calc(clamp(28px, 4vw, 58px) * -1);
  padding: 18px clamp(28px, 4vw, 58px) 22px;
  color: var(--white);
  border: 0;
  border-top: 1px solid rgba(191, 234, 230, 0.34);
  border-radius: 0;
  background: rgba(2, 19, 27, 0.88);
  backdrop-filter: blur(10px);
}

.sermon-companion-heading {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
}

.sermon-companion-heading > div {
  display: grid;
  gap: 2px;
}

.sermon-companion-heading span,
.sermon-companion-group > span {
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sermon-companion-heading strong {
  color: var(--navy-deep);
  font-size: 1.04rem;
}

.sermon-companion-heading small,
.sermon-companion-note {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.sermon-companion-heading > a {
  flex: 0 0 auto;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.sermon-companion-group {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.sermon-companion-rail {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding: 0 0 5px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--teal) transparent;
}

.sermon-companion-rail a {
  display: grid;
  flex: 0 0 min(300px, 72vw);
  gap: 3px;
  align-content: start;
  min-height: 90px;
  padding: 10px 12px;
  color: var(--navy-deep);
  border-left: 3px solid var(--gold);
  background: var(--white);
  text-decoration: none;
  scroll-snap-align: start;
}

.sermon-companion-rail.is-points a {
  min-height: 66px;
}

.sermon-companion-rail time {
  color: #98670b;
  font-size: 0.68rem;
  font-weight: 900;
}

.sermon-companion-rail strong {
  font-size: 0.82rem;
  line-height: 1.3;
}

.sermon-companion-rail span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.38;
}

.sermon-companion-note {
  margin: 0;
}

.sermon-companion.is-compact .sermon-companion-heading span,
.sermon-companion.is-compact .sermon-companion-group > span,
.sermon-companion.is-compact .sermon-companion-heading > a {
  color: #bfeae6;
}

.sermon-companion.is-compact .sermon-companion-heading strong {
  color: var(--white);
}

.sermon-companion.is-compact .sermon-companion-heading small,
.sermon-companion.is-compact .sermon-companion-note {
  color: rgba(255, 255, 255, 0.7);
}

.sermon-companion.is-compact .sermon-companion-rail a {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.sermon-companion.is-compact .sermon-companion-rail span {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 880px) {
  .daily-devotional-hero {
    min-height: 1320px;
  }

  .licensed-scripture-heading,
  .licensed-scripture-actions,
  .sermon-companion-heading {
    display: grid;
  }
}

@media (max-width: 640px) {
  .daily-devotional-hero {
    min-height: 0;
  }

  .daily-devotional-content {
    gap: 18px;
  }

  .daily-devotional-reading p,
  .licensed-scripture-content p {
    font-size: 0.88rem;
  }

  .sermon-companion.is-compact {
    width: calc(100% + 44px);
    margin-right: -22px;
    margin-bottom: -26px;
    margin-left: -22px;
    padding: 18px 22px 22px;
  }

  .sermon-companion-rail a {
    flex-basis: min(82vw, 290px);
  }
}

@media (min-width: 521px) and (max-width: 640px) {
  :root {
    --ecs-header-logo-width: 156px;
    --ecs-header-overlay-height: 150px;
  }

  .brand-mark {
    width: 92px;
    height: 84px;
  }
}

@media (max-width: 520px) {
  .hero-copy,
  .hero-media {
    width: min(100%, 342px);
  }

  .stream-video-hero {
    min-height: 520px;
    text-align: left;
  }

  .stream-video-hero .page-hero-copy {
    width: 100%;
  }

  .stream-video-hero h1,
  .stream-video-hero .hero-lede {
    margin-left: 0;
  }

  .stream-video-hero .hero-actions {
    justify-content: flex-start;
  }

  h1 {
    font-size: 2.05rem;
    line-height: 1.08;
    max-width: 342px;
    overflow-wrap: break-word;
  }

  .hero-lede {
    font-size: 1rem;
    max-width: 342px;
    overflow-wrap: break-word;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .stream-card {
    grid-template-columns: 1fr;
  }

  .stream-card span {
    grid-row: auto;
  }

  .stream-card em {
    grid-column: 1;
  }

  .stream-card b {
    grid-column: 1;
  }
}

/* ECS public website polish — July 2026 */

:root {
  --future-allied: #117f88;
  --future-family: #b95666;
  --future-housing: #b87a18;
  --future-soft: #fff8e9;
  --ecs-social-button-size: 64px;
  --ecs-social-button-gap: 14px;
}

body:not([data-platform-page]) {
  background: #fbfcfb;
}

body:not([data-platform-page]) #site-header {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  margin: 0;
}

body:not([data-platform-page]) .site-header {
  grid-template-rows: minmax(68px, 1fr) auto;
  row-gap: 18px;
  min-height: var(--ecs-header-overlay-height);
  padding: 14px clamp(18px, 3vw, 48px) 18px;
  background: transparent;
}

body:not([data-platform-page]) .brand {
  align-content: end;
  align-self: stretch;
}

body:not([data-platform-page]) .brand-mark {
  width: clamp(190px, 12vw, 248px);
}

body:not([data-platform-page]) .header-actions {
  align-self: end;
  margin: 0;
}

.social-cluster {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.social-cluster-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

body:not([data-platform-page]) .social-button {
  width: var(--ecs-social-button-size);
  height: var(--ecs-social-button-size);
  border-radius: 10px;
  font-size: 1.34rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

body:not([data-platform-page]) .site-nav {
  gap: 10px;
  align-self: end;
  margin: 0;
  transform: none;
  font-size: clamp(0.76rem, 0.78vw, 0.94rem);
}

body:not([data-platform-page]) .site-nav > a,
body:not([data-platform-page]) .site-nav > .nav-dropdown,
body:not([data-platform-page]) .site-nav a,
body:not([data-platform-page]) .nav-dropdown-trigger {
  min-height: clamp(78px, 5.7vw, 98px);
}

body:not([data-platform-page]) .site-nav > a,
body:not([data-platform-page]) .nav-dropdown-trigger {
  gap: 5px;
  flex-direction: column;
  padding: 11px 10px;
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(5, 22, 31, 0.05);
  backdrop-filter: none;
}

body:not([data-platform-page]) .site-nav > a:hover,
body:not([data-platform-page]) .site-nav > a:focus-visible,
body:not([data-platform-page]) .nav-dropdown-trigger:hover,
body:not([data-platform-page]) .nav-dropdown-trigger:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.nav-stage {
  position: absolute;
  top: 7px;
  left: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.site-nav > a small {
  display: block;
  color: #fff4ce;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body:not([data-platform-page]) .site-nav > a.nav-future-allied {
  border-color: rgba(162, 246, 242, 0.82);
  background: rgba(17, 127, 136, 0.05);
}

body:not([data-platform-page]) .site-nav > a.nav-future-family {
  border-color: rgba(255, 205, 213, 0.82);
  background: rgba(185, 86, 102, 0.05);
}

body:not([data-platform-page]) .site-nav > a.nav-future-housing {
  border-color: rgba(255, 226, 166, 0.9);
  background: rgba(184, 122, 24, 0.05);
}

body:not([data-platform-page]) .site-nav > a.is-current,
body:not([data-platform-page]) .nav-dropdown.is-current .nav-dropdown-trigger {
  border-color: #fff;
  box-shadow: inset 0 -4px 0 var(--gold);
}

body:not([data-platform-page]) .nav-dropdown-menu {
  top: calc(100% + 10px);
  border-radius: 10px;
  background: rgba(5, 22, 31, 0.98);
}

body:not([data-platform-page]) .nav-dropdown-menu a {
  min-height: 0;
  border-radius: 6px;
}

.home-video-hero,
.stream-video-hero,
.who-page-hero {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.home-video-hero {
  min-height: clamp(700px, 94vh, 980px);
  padding-top: calc(var(--ecs-header-overlay-height) + clamp(64px, 8vw, 118px));
  padding-bottom: clamp(70px, 9vw, 120px);
}

.home-video-hero .hero-copy {
  max-width: 940px;
}

.home-video-hero h1 {
  max-width: 920px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 6.2vw, 6.8rem);
  line-height: 0.94;
}

.home-video-hero .hero-lede {
  max-width: 760px;
  font-size: clamp(1.16rem, 1.7vw, 1.42rem);
  line-height: 1.55;
}

.home-welcome,
.journey-invitation,
.enquiry-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  padding: clamp(66px, 8vw, 116px) clamp(20px, 6vw, 92px);
}

.home-welcome > div > span,
.journey-invitation > div > span,
.enquiry-copy > span,
.vision-intro > span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-welcome h2,
.journey-invitation h2,
.enquiry-copy h2,
.vision-intro h2 {
  max-width: 760px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
}

.home-welcome p,
.journey-invitation p,
.enquiry-copy > p {
  color: #4b626b;
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--teal-dark);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.welcome-promises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.welcome-promises li {
  min-height: 150px;
  padding: 0;
  border: 1px solid #d5e4e0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(7, 29, 38, 0.07);
}

.welcome-promises li > a {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  height: 100%;
  min-height: 150px;
  padding: 24px;
  color: var(--navy);
  text-decoration: none;
}

.welcome-promises strong,
.welcome-promises span {
  display: block;
}

.welcome-promises strong {
  margin-bottom: 8px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.welcome-promises span {
  color: #536972;
}

.welcome-promises b {
  align-self: end;
  margin-top: 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
}

.welcome-promises li:hover,
.welcome-promises li:focus-within {
  border-color: var(--teal-dark);
  background: #f1faf8;
  box-shadow: 0 18px 40px rgba(7, 29, 38, 0.12);
}

.welcome-promises li > a:focus-visible {
  outline: 3px solid rgba(18, 126, 124, 0.35);
  outline-offset: 3px;
}

.services {
  padding: clamp(66px, 8vw, 116px) clamp(20px, 5vw, 80px);
}

.home-service-layout {
  display: grid;
  grid-template-columns: minmax(500px, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: start;
}

.stream-list {
  gap: 12px;
}

.stream-card {
  min-height: 128px;
  border-radius: 10px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.stream-card:hover,
.stream-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(7, 29, 38, 0.12);
}

.stream-card.is-future {
  border-width: 2px;
}

.stream-card.is-future[data-stream="allied"] {
  border-color: rgba(17, 127, 136, 0.5);
  background: linear-gradient(135deg, #eefbfa, #fff);
}

.stream-card.is-future[data-stream="licenced"] {
  border-color: rgba(185, 86, 102, 0.48);
  background: linear-gradient(135deg, #fff2f4, #fff);
}

.stream-card.is-future[data-stream="housing"] {
  border-color: rgba(184, 122, 24, 0.52);
  background: linear-gradient(135deg, #fff8e9, #fff);
}

.stream-card.is-future[data-stream="allied"].is-active { border-color: var(--future-allied); }
.stream-card.is-future[data-stream="licenced"].is-active { border-color: var(--future-family); }
.stream-card.is-future[data-stream="housing"].is-active { border-color: var(--future-housing); }

.stream-card em {
  width: max-content;
  padding: 3px 7px;
  border-radius: 4px;
  color: #fff;
  background: var(--future-housing);
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stream-card[data-stream="allied"] em { background: var(--future-allied); }
.stream-card[data-stream="licenced"] em { background: var(--future-family); }

.stream-detail {
  position: sticky;
  top: 24px;
  border-radius: 12px;
  background: #fff;
}

.stream-detail.is-future.future-allied { border-color: var(--future-allied); }
.stream-detail.is-future.future-family { border-color: var(--future-family); }
.stream-detail.is-future.future-housing { border-color: var(--future-housing); }

.stream-detail .button {
  margin-top: 20px;
}

.journey-invitation {
  grid-template-columns: minmax(0, 1fr) auto;
  color: #eef7f5;
  background: linear-gradient(110deg, rgba(7, 29, 38, 0.98), rgba(16, 79, 76, 0.92));
}

.journey-invitation span,
.journey-invitation h2,
.journey-invitation p {
  color: inherit !important;
}

.journey-invitation .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.journey-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.page-section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 82px);
}

.stream-video-hero,
.content-video-hero {
  min-height: clamp(660px, 86vh, 900px);
  padding-top: calc(var(--ecs-header-overlay-height) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(58px, 8vw, 100px);
}

.stream-video-hero .page-hero-copy {
  max-width: 930px;
}

.stream-video-hero h1,
.who-page-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
}

.current-stage-label,
.future-status-pill {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 5px;
  color: #fff;
  background: rgba(7, 29, 38, 0.56);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.future-stream-hero.allied-stream-hero .future-status-pill { background: rgba(17, 127, 136, 0.9); }
.future-stream-hero.family-stream-hero .future-status-pill { background: rgba(185, 86, 102, 0.92); }
.future-stream-hero.housing-stream-hero .future-status-pill { background: rgba(184, 122, 24, 0.94); }

.hero-caveat,
.future-caveat {
  max-width: 760px;
  padding: 13px 16px;
  border-left: 4px solid #ffda83;
  color: #fff8df;
  background: rgba(7, 29, 38, 0.58);
  font-weight: 800;
}

.future-caveat {
  color: #6c5019;
  background: #fff7e5;
}

.stream-promise-section {
  background: #fff;
}

.stream-photo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.stream-photo-row img {
  width: 100%;
  height: clamp(220px, 22vw, 360px);
  object-fit: cover;
  border-radius: 9px;
}

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

.campaign-promise-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid #d1e1dd;
  border-radius: 9px;
  color: var(--navy);
  background: #fbfdfc;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.campaign-promise-card h3 {
  color: var(--navy);
}

.campaign-promise-card p {
  color: #526870;
}

.campaign-promise-card strong {
  align-self: end;
  color: var(--teal-dark);
}

.campaign-promise-card:hover,
.campaign-promise-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--teal-dark);
  background: #f1faf8;
  box-shadow: 0 18px 36px rgba(7, 29, 38, 0.1);
  outline: none;
}

.future-concept-section {
  background: linear-gradient(145deg, #f7fbfa, #fffaf0);
}

.future-concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.future-concept-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 11px;
  min-height: 300px;
  padding: 26px;
  border: 1px solid #cddfdb;
  border-top: 5px solid var(--future-housing);
  border-radius: 9px;
  color: var(--navy);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(7, 29, 38, 0.07);
}

.future-concept-card.future-allied { border-top-color: var(--future-allied); }
.future-concept-card.future-family { border-top-color: var(--future-family); }
.future-concept-card.future-housing { border-top-color: var(--future-housing); }

.future-concept-card > span {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.future-concept-card h3 {
  color: var(--navy);
}

.future-concept-card p {
  color: #526870;
}

.future-concept-card strong {
  align-self: end;
  color: #986616;
}

.future-concept-card:hover,
.future-concept-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--teal-dark);
  box-shadow: 0 22px 42px rgba(7, 29, 38, 0.12);
  outline: none;
}

.evidence-spotlight-section {
  color: #fff;
  background: linear-gradient(135deg, #071d26, #123e48);
}

.evidence-spotlight-section .section-heading span,
.evidence-spotlight-section .section-heading h2,
.evidence-spotlight-section .section-heading p {
  color: #fff;
}

.evidence-spotlight-section .section-heading span {
  color: #f0c65e;
}

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

.evidence-spotlight-grid > a {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 9px;
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

.evidence-spotlight-grid > a > strong {
  color: #f0c65e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
}

.evidence-spotlight-grid h3 {
  color: #fff;
}

.evidence-spotlight-grid p {
  color: #d8e8e5;
}

.evidence-spotlight-grid > a > span {
  align-self: end;
  color: #a9ddd7;
  font-size: 0.76rem;
  font-weight: 850;
}

.evidence-spotlight-grid > a:hover,
.evidence-spotlight-grid > a:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.evidence-caveat-link {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(240, 198, 94, 0.44);
  border-radius: 8px;
  color: #fff;
  background: rgba(240, 198, 94, 0.1);
  text-decoration: none;
}

.evidence-caveat-link strong,
.evidence-caveat-link b {
  color: #f0c65e;
}

.evidence-caveat-link:hover,
.evidence-caveat-link:focus-visible {
  border-color: #f0c65e;
  background: rgba(240, 198, 94, 0.16);
  outline: none;
}

.trusted-information-section {
  background: #08232d;
}

.trusted-information-section .section-heading span,
.trusted-information-section .section-heading h2,
.trusted-information-section .section-heading p {
  color: #fff;
}

.trusted-information-section .section-heading span {
  color: #f0c65e;
}

.trusted-information-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.trusted-information-grid > a {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 11px;
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

.trusted-information-grid span {
  color: #9bd7d0;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trusted-information-grid h3,
.trusted-information-grid strong {
  color: #fff;
}

.trusted-information-grid strong {
  align-self: end;
  color: #f0c65e;
}

.trusted-information-grid > a:hover,
.trusted-information-grid > a:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.campaign-service-card.is-future {
  border-width: 2px;
}

/* Service cards sit on pale content bands, so their text must remain dark and
   readable.  The photo remains the visual lead and the whole card is a link. */
.section-band .campaign-service-card {
  color: var(--navy);
  border-color: #cedfdb;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 29, 38, 0.08);
}

.section-band .campaign-service-card span {
  color: var(--teal-dark);
}

.section-band .campaign-service-card h3 {
  color: var(--navy);
}

.section-band .campaign-service-card p {
  color: #4d646d;
}

.section-band .campaign-service-card strong {
  color: #9a6915;
}

.section-band .campaign-service-card:hover,
.section-band .campaign-service-card:focus-visible {
  border-color: var(--teal-dark);
  background: #f6fbfa;
  box-shadow: 0 20px 44px rgba(7, 29, 38, 0.13);
}

.campaign-service-card.future-allied { border-color: rgba(17, 127, 136, 0.48); }
.campaign-service-card.future-family { border-color: rgba(185, 86, 102, 0.48); }
.campaign-service-card.future-housing { border-color: rgba(184, 122, 24, 0.52); }

.customer-service-detail {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  align-items: start;
}

.service-journey-grid,
.related-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-journey-grid > a {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-height: 260px;
  padding: 25px;
  border: 1px solid #cbded9;
  border-radius: 9px;
  color: var(--navy);
  background: #fff;
  text-decoration: none;
}

.service-journey-grid > a > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal-dark);
  font-weight: 900;
}

.service-journey-grid h3,
.service-journey-grid strong {
  color: var(--navy);
}

.service-journey-grid p {
  color: #526870;
}

.service-journey-grid strong {
  align-self: end;
  color: var(--teal-dark);
}

.service-journey-grid > a:hover,
.service-journey-grid > a:focus-visible {
  border-color: var(--teal-dark);
  background: #f1faf8;
  box-shadow: 0 18px 38px rgba(7, 29, 38, 0.1);
  outline: none;
}

.related-service-grid > a {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 10px;
  overflow: hidden;
  border: 1px solid #d4e2df;
  border-radius: 9px;
  color: var(--navy);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(7, 29, 38, 0.07);
}

.related-service-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.related-service-number {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 24px 20px 4px;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal-dark);
  font-size: 1rem;
  font-weight: 900;
}

.related-service-grid span,
.related-service-grid h3,
.related-service-grid p,
.related-service-grid strong {
  margin-right: 20px;
  margin-left: 20px;
}

.related-service-grid span {
  margin-top: 8px;
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.related-service-grid h3 {
  color: var(--navy);
}

.related-service-grid p {
  color: #526870;
}

.related-service-grid strong {
  align-self: end;
  margin-bottom: 22px;
  color: #956314;
}

.related-service-grid > a:hover,
.related-service-grid > a:focus-visible {
  border-color: var(--teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(7, 29, 38, 0.12);
  outline: none;
}

.service-question-list {
  display: grid;
  gap: 12px;
  max-width: 1060px;
}

.service-question-list details {
  border: 1px solid #cbdeda;
  border-radius: 8px;
  background: #fff;
}

.service-question-list summary {
  padding: 20px 22px;
  color: var(--navy);
  font-weight: 850;
  cursor: pointer;
}

.service-question-list details[open] summary {
  border-bottom: 1px solid #d9e6e3;
  color: var(--teal-dark);
}

.service-question-list details p {
  padding: 0 22px 22px;
  color: #526870;
}

.service-question-list details a {
  color: var(--teal-dark);
  font-weight: 850;
}

.service-next-step {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #cce1dd;
  border-radius: 12px;
  background: #eef8f6;
}

.service-next-step > span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.service-next-step.is-future {
  background: #fff9ed;
}

.service-next-step.future-allied { border-color: var(--future-allied); }
.service-next-step.future-family { border-color: var(--future-family); }
.service-next-step.future-housing { border-color: var(--future-housing); }

.queensland-vision {
  color: var(--navy);
  background: linear-gradient(145deg, #fffaf1, #f4faf8 58%, #fff);
}

.vision-intro {
  max-width: 960px;
  margin-bottom: 42px;
}

.vision-intro p {
  max-width: 900px;
  color: #4b626b;
  font-size: 1.08rem;
}

.vision-why-story {
  display: grid;
  gap: 14px;
  max-width: 1120px;
  margin: 0 0 42px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-left: 7px solid var(--gold);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7, 29, 38, 0.08);
}

.vision-why-story > span {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.vision-why-story h3 {
  max-width: 920px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.3vw, 3rem);
  line-height: 1.06;
}

.vision-why-story p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.72;
}

.vision-why-story > strong {
  max-width: 980px;
  margin-top: 6px;
  padding: 16px 18px;
  border-left: 4px solid var(--teal);
  color: var(--navy);
  background: var(--mint);
  font-size: 1rem;
  line-height: 1.55;
}

.vision-stream-note {
  display: grid;
  gap: 3px;
  margin-top: 20px;
  padding: 15px 18px;
  border-left: 5px solid var(--future-housing);
  background: rgba(255, 255, 255, 0.82);
}

.vision-stream-note.vision-allied { border-color: var(--future-allied); }
.vision-stream-note.vision-family { border-color: var(--future-family); }
.vision-stream-note.vision-housing { border-color: var(--future-housing); }

.vision-layout {
  display: grid;
  grid-template-columns: minmax(390px, 0.86fr) minmax(500px, 1.14fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.vision-filter-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: -16px 0 26px;
}

.vision-filter {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #aacbc5;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.8);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 850;
  cursor: pointer;
}

.vision-filter:hover,
.vision-filter:focus-visible,
.vision-filter.is-active {
  color: #fff;
  border-color: var(--teal-dark);
  background: var(--teal-dark);
  outline: none;
}

.queensland-map-card {
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #d9e4df;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(7, 29, 38, 0.08);
}

.queensland-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.queensland-map-stage {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}

.qld-outline {
  fill: #e9f6f3;
  stroke: #167f82;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.qld-growth-route {
  fill: none;
  stroke: rgba(184, 122, 24, 0.52);
  stroke-width: 1.2;
  stroke-dasharray: 2.4 2.4;
  vector-effect: non-scaling-stroke;
}

.qld-marker-leaders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.qld-marker-leaders line {
  stroke: rgba(139, 91, 16, 0.7);
  stroke-width: 0.45;
  stroke-dasharray: 1.2 1.2;
  vector-effect: non-scaling-stroke;
}

.qld-marker-leaders circle {
  fill: var(--future-housing);
  stroke: #fff;
  stroke-width: 0.45;
  vector-effect: non-scaling-stroke;
}

.qld-map-point {
  position: absolute;
  left: var(--map-x);
  top: var(--map-y);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #fff;
  background: var(--future-housing);
  box-shadow: 0 0 0 3px rgba(184, 122, 24, 0.34), 0 8px 18px rgba(7, 29, 38, 0.2);
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
}

.qld-map-point span {
  font-size: 0.72rem;
  font-weight: 900;
}

.qld-map-point:hover,
.qld-map-point:focus-visible,
.qld-map-point.is-active {
  color: #fff;
  background: var(--teal-dark);
  box-shadow: 0 0 0 6px rgba(18, 126, 124, 0.27), 0 10px 22px rgba(7, 29, 38, 0.26);
  outline: none;
  z-index: 4;
}

.queensland-map-card figcaption,
.vision-caption {
  color: #68787f;
  font-size: 0.78rem;
  font-weight: 700;
}

.queensland-map-card figcaption a {
  color: var(--teal-dark);
  font-weight: 850;
}

.map-location-key {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.map-location-key li {
  display: block;
}

.map-location-link {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 9px;
  border: 1px solid #e3d8bd;
  border-left: 3px solid var(--future-housing);
  border-radius: 5px;
  color: var(--navy);
  background: #fff8e9;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.map-location-link b {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: #fff;
  background: var(--future-housing);
  font-size: 0.7rem;
}

.map-location-link span,
.map-location-link strong,
.map-location-link small {
  display: block;
}

.map-location-link small {
  color: #6d777a;
  font-size: 0.68rem;
}

.map-location-link:hover,
.map-location-link:focus-visible,
.map-location-link.is-active {
  border-color: var(--teal-dark);
  background: #eef8f6;
  outline: none;
}

.map-location-link.is-active b {
  background: var(--teal-dark);
}

.vision-location-panel {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #cddfdb;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(7, 29, 38, 0.09);
}

.vision-location-phase,
.vision-response-card > span,
.vision-site-card > span,
.vision-source-links > span,
.vision-stat-grid article > span {
  color: var(--teal-dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vision-location-panel h3 {
  margin: -9px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.vision-location-intro {
  margin: -8px 0 0;
  color: #4a626b;
  font-size: 1.02rem;
}

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

.vision-stat-grid article,
.vision-response-card,
.vision-site-card {
  padding: 18px;
  border: 1px solid #dce8e5;
  border-radius: 8px;
  background: #f7fbfa;
}

.vision-stat-grid strong {
  display: block;
  margin: 7px 0;
  color: var(--navy);
  font-size: 1.2rem;
}

.vision-stat-grid p,
.vision-response-card p,
.vision-site-card p {
  margin: 0;
  color: #536971;
  font-size: 0.86rem;
}

.vision-growth-chart {
  display: grid;
  gap: 9px;
}

.vision-growth-chart > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #526870;
  font-size: 0.76rem;
}

.vision-growth-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dcece8;
}

.vision-growth-value {
  display: block;
  height: 100%;
  min-width: 12px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal-dark), var(--future-housing));
  transition: width 260ms ease;
}

.vision-source-links {
  display: grid;
  gap: 8px;
}

.vision-source-links div {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vision-source-links a {
  padding: 8px 10px;
  border: 1px solid #b8d2cc;
  border-radius: 5px;
  color: var(--teal-dark);
  background: #fff;
  font-size: 0.75rem;
  font-weight: 850;
  text-decoration: none;
}

.vision-source-links a:hover,
.vision-source-links a:focus-visible {
  color: #fff;
  background: var(--teal-dark);
  outline: none;
}

.vision-phases {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.vision-phases button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid #e0dfd5;
  border-radius: 10px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.vision-phases button > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal-dark);
  font-weight: 900;
}

.vision-phases small,
.vision-phases strong {
  display: block;
}

.vision-phases small {
  color: var(--future-housing);
  font-weight: 900;
  text-transform: uppercase;
}

.vision-phases h3 {
  margin: 2px 0 4px;
}

.vision-phases p {
  margin: 7px 0 0;
  color: #5a6d74;
}

.vision-phases button:hover,
.vision-phases button:focus-visible,
.vision-phases button.is-active {
  border-color: var(--teal-dark);
  background: #eef8f6;
  box-shadow: 0 12px 28px rgba(7, 29, 38, 0.08);
  outline: none;
}

.vision-caption {
  max-width: 1080px;
  margin: 30px 0 0;
  padding-top: 18px;
  border-top: 1px solid #ddd9cc;
}

.who-communication-page {
  gap: clamp(34px, 6vw, 86px);
}

.content-lede > span {
  color: var(--teal-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.content-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--teal-dark);
  font-weight: 850;
}

.who-next-section {
  background: #fff;
}

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

.who-next-grid > a {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-height: 250px;
  padding: 25px;
  border: 1px solid #cddfdb;
  border-radius: 9px;
  color: var(--navy);
  background: #f8fcfb;
  text-decoration: none;
}

.who-next-grid > a > span {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.who-next-grid h3 {
  color: var(--navy);
}

.who-next-grid p {
  color: #526870;
}

.who-next-grid strong {
  align-self: end;
  color: #956314;
}

.who-next-grid > a:hover,
.who-next-grid > a:focus-visible {
  transform: translateY(-3px);
  border-color: var(--teal-dark);
  background: #eef8f6;
  box-shadow: 0 18px 38px rgba(7, 29, 38, 0.11);
  outline: none;
}

.public-link-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 0;
}

.enquiry-section {
  align-items: start;
  background: linear-gradient(145deg, #eef8f6, #fff);
}

.enquiry-copy {
  position: sticky;
  top: 28px;
}

.enquiry-steps {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.enquiry-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.enquiry-steps li > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal-dark);
  font-weight: 900;
}

.enquiry-steps strong,
.enquiry-steps p {
  display: block;
  margin: 0;
}

.contact-form.ecs-enquiry-form {
  width: 100%;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #cbdeda;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(7, 29, 38, 0.11);
}

.form-heading {
  margin-bottom: 22px;
}

.form-heading > span {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-heading h3 {
  margin: 5px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.form-heading p {
  margin: 0;
  color: #5b6d74;
}

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

.ecs-enquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.ecs-enquiry-form input,
.ecs-enquiry-form select,
.ecs-enquiry-form textarea {
  min-height: 48px;
  border-color: #bdceca;
}

.form-message {
  margin-top: 14px;
}

.form-consent {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  margin: 18px 0;
  color: #41565f !important;
  font-weight: 650 !important;
}

.form-consent input {
  width: 20px;
  min-height: 20px;
  margin-top: 2px;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-safety-note {
  margin: 13px 0 0;
  color: #7d4a2f;
  font-size: 0.8rem;
  font-weight: 750;
}

.form-status {
  padding-top: 8px;
  color: var(--teal-dark);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(150px, 0.7fr));
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
  padding: clamp(48px, 7vw, 86px) clamp(20px, 5vw, 82px) 28px;
  background: var(--navy-deep);
}

.site-footer img {
  width: min(250px, 100%);
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.footer-brand p {
  margin: 18px 0 2px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.footer-brand > span {
  color: #b9cfca;
  font-size: 0.86rem;
}

.footer-column {
  display: grid;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 6px;
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .footer-column a {
  color: #dceae7;
  font-weight: 650;
}

.site-footer .footer-column a:hover,
.site-footer .footer-column a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-base {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #9fb9b4;
  font-size: 0.78rem;
}

@media (max-width: 1180px) {
  :root {
    --ecs-social-button-size: 54px;
    --ecs-social-button-gap: 9px;
  }

  body:not([data-platform-page]) .site-header {
    column-gap: 12px;
  }

  body:not([data-platform-page]) .site-nav {
    gap: 6px;
    font-size: 0.7rem;
  }

  body:not([data-platform-page]) .site-nav > a,
  body:not([data-platform-page]) .nav-dropdown-trigger {
    padding-right: 5px;
    padding-left: 5px;
  }

  .social-cluster-label {
    display: none;
  }

  .home-service-layout,
  .vision-layout {
    grid-template-columns: 1fr;
  }

  .stream-detail,
  .enquiry-copy,
  .vision-location-panel {
    position: static;
  }

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

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

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

@media (max-width: 820px) {
  .home-welcome,
  .journey-invitation,
  .enquiry-section,
  .customer-service-detail {
    grid-template-columns: 1fr;
  }

  .journey-actions {
    width: 100%;
  }

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

  .vision-stat-grid {
    grid-template-columns: 1fr;
  }

  .service-journey-grid,
  .related-service-grid,
  .who-next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 640px) {
  :root {
    --ecs-header-logo-width: 84px;
    --ecs-header-overlay-height: 126px;
    --ecs-social-button-size: clamp(34px, 9vw, 40px);
    --ecs-social-button-gap: 5px;
  }

  body:not([data-platform-page]) .site-header {
    grid-template-areas: "brand actions";
    grid-template-columns: var(--ecs-header-logo-width) minmax(0, 1fr);
    grid-template-rows: 1fr;
    min-height: var(--ecs-header-overlay-height);
    padding: 8px 12px;
  }

  body:not([data-platform-page]) .brand-mark {
    width: 82px;
    height: auto;
  }

  body:not([data-platform-page]) .header-actions {
    align-self: center;
    gap: 7px;
  }

  .social-cluster {
    display: block;
  }

  body:not([data-platform-page]) .social-button {
    font-size: 0.86rem;
    border-radius: 7px;
  }

  body:not([data-platform-page]) .site-nav {
    top: calc(100% + 6px);
    right: 10px;
    left: 10px;
    gap: 7px;
    max-height: calc(100dvh - 140px);
    padding: 10px;
    background: rgba(5, 22, 31, 0.98);
  }

  body:not([data-platform-page]) .site-nav > a,
  body:not([data-platform-page]) .site-nav > .nav-dropdown,
  body:not([data-platform-page]) .site-nav a,
  body:not([data-platform-page]) .nav-dropdown-trigger {
    min-height: 50px;
  }

  .vision-phases,
  .map-location-key,
  .service-journey-grid,
  .related-service-grid,
  .evidence-spotlight-grid,
  .who-next-grid {
    grid-template-columns: 1fr;
  }

  .vision-filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:not([data-platform-page]) .site-nav > a,
  body:not([data-platform-page]) .nav-dropdown-trigger {
    align-items: flex-start;
    gap: 1px;
    padding: 10px 12px;
    text-align: left;
  }

  .nav-stage {
    position: static;
    font-size: 0.58rem;
  }

  .site-nav > a small {
    font-size: 0.55rem;
  }

  .home-video-hero {
    min-height: 760px;
    padding-top: calc(var(--ecs-header-overlay-height) + 70px);
    padding-bottom: 56px;
  }

  .home-video-hero h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 13vw, 4.15rem);
  }

  .stream-video-hero,
  .content-video-hero,
  .who-page-hero {
    min-height: 650px;
    padding-top: calc(var(--ecs-header-overlay-height) + 62px);
  }

  .home-welcome,
  .journey-invitation,
  .enquiry-section,
  .page-section,
  .services {
    padding: 54px 18px;
  }

  .welcome-promises,
  .form-grid,
  .map-location-key,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .home-service-layout {
    display: block;
  }

  .stream-list {
    margin-bottom: 22px;
  }

  .stream-card {
    min-height: 0;
  }

  .stream-detail {
    padding: 24px;
  }

  .campaign-promise-grid,
  .campaign-service-grid,
  .content-section-grid,
  .stream-photo-row,
  .vision-layout {
    grid-template-columns: 1fr;
  }

  .stream-photo-row img {
    height: 260px;
  }

  .vision-phases button {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 15px;
  }

  .vision-phases button > span {
    width: 40px;
    height: 40px;
  }

  .contact-form.ecs-enquiry-form {
    padding: 22px 18px;
  }

  .site-footer {
    gap: 28px;
    padding: 48px 20px 24px;
  }

  .footer-base {
    display: grid;
  }
}
