@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Fraunces:ital,opsz,wght@0,9..144,500;1,9..144,500&family=Instrument+Sans:wght@400;500;600;700;800&family=Raleway:wght@700;800&family=Righteous&display=swap");

@font-face {
  font-family: "Photograph Signature";
  src: url("/assets/fonts/Photograph-Signature.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-black: #050d1c;
  --brand-navy: #0d2137;
  --brand-petrol: #0d2137;
  --brand-teal: #0a5c6b;
  --brand-amber: #fbbf24;
  --brand-off-white: #f5f3ee;
  --brand-muted: #99a6b2;
  --bg: #071625;
  --surface: #f5f3ee;
  --surface-soft: #edf2ef;
  --ink: #0b1726;
  --muted: #687482;
  --line: #dcd8cf;
  --line-strong: #b9c6c3;
  --primary: #0a5c6b;
  --primary-strong: #0d2137;
  --accent: #fbbf24;
  --green: #2f7d59;
  --gold: #fbbf24;
  --button-hover-text: #050d1c;
  --red: #a6423a;
  --shadow: 0 18px 46px rgba(5, 13, 28, 0.22);
  --shadow-soft: 0 10px 28px rgba(5, 13, 28, 0.16);
  --section-tint: #f2f4ef;
  --title-band: #0d2137;
  --brand-serif: "Fraunces", Georgia, serif;
  --brand-sans: "Instrument Sans", "Inter", "Aptos", "Segoe UI", Arial, sans-serif;
  --brand-logo: "Raleway", "Instrument Sans", Arial, sans-serif;
  --brand-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --din-font: var(--brand-sans);
  --body-font: var(--brand-sans);
  --display-font: var(--brand-sans);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body-font);
  font-weight: 500;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font-family: var(--body-font);
  font-size: inherit;
}

button {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--brand-black);
  cursor: pointer;
  font-weight: 700;
  padding: 0.68rem 0.85rem;
}

button:hover:not(:disabled) {
  border-color: var(--brand-amber);
  background: var(--brand-amber);
  color: var(--brand-black);
}

button:disabled {
  cursor: not-allowed;
  color: #51656b;
  opacity: 0.68;
}

.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--brand-off-white);
}

.primary:hover {
  color: var(--brand-black);
  background: var(--brand-amber);
  border-color: var(--brand-amber);
}

.primary:hover:not(:disabled),
.primary:focus-visible {
  color: var(--brand-black);
}

.shell {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

.shell.route-landing {
  grid-template-columns: 1fr;
  color: var(--brand-off-white);
  background:
    linear-gradient(rgb(245 243 238 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(245 243 238 / 0.035) 1px, transparent 1px),
    radial-gradient(circle at 72% 22%, rgb(10 92 107 / 0.45), transparent 34rem),
    radial-gradient(circle at 18% 14%, rgb(251 191 36 / 0.12), transparent 18rem),
    linear-gradient(145deg, var(--brand-black) 0%, var(--brand-navy) 48%, var(--brand-teal) 100%);
  background-size: 120px 120px, 120px 120px, auto, auto, auto;
}

.sidebar {
  color: white;
  padding: 0.6rem 1.45rem 0.7rem;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2rem;
  min-height: 132px;
  overflow: visible;
  z-index: 650;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  background:
    radial-gradient(circle at 4.5rem 50%, rgb(245 200 76 / 0.12), transparent 9rem),
    linear-gradient(90deg, #071627 0%, #102e35 42%, #19343e 100%);
  backdrop-filter: blur(12px);
  isolation: isolate;
}

.brand {
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin-bottom: 0;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.brand span,
small,
.muted,
.topbar p,
.metric p,
.login-card p,
.goal-card p,
.report-card p {
  color: var(--muted);
}

.sidebar .brand span,
.sidebar small,
.sidebar .brand div span,
.sidebar .brand-meta span {
  color: #b9cacd;
}

.sidebar .brand-wordmark span {
  color: #f5c84c !important;
}

.brand-logo-panel {
  display: grid;
  place-items: center;
  width: 132px;
  min-height: 126px;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  position: relative;
  isolation: isolate;
}

.brand-home-button {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
  font: inherit;
  text-align: left;
}

.brand-home-button:hover,
.brand-home-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.brand-home-button:focus-visible .brand-wordmark-name,
.brand-home-button:hover .brand-wordmark-name {
  color: #ffe07c !important;
}

.brand-logo-panel::before {
  content: none;
}

.brand-logo-panel::after {
  content: none;
}

.brand-lighthouse {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: end;
  width: 92px;
  height: 118px;
  margin-bottom: 0.7rem;
  filter: drop-shadow(0 14px 24px rgb(0 0 0 / 0.3));
}

.brand-lighthouse::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 19px;
  left: 58px;
  width: min(75vw, 940px);
  height: 62px;
  background:
    linear-gradient(90deg, rgb(245 200 76 / 0.62) 0%, rgb(245 200 76 / 0.34) 34%, rgb(245 200 76 / 0.12) 70%, transparent 100%);
  clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 60%);
  filter: blur(0.5px);
  pointer-events: none;
  transform-origin: 0 50%;
  animation: lighthouse-beam-shimmer 3.4s ease-in-out infinite;
}

.brand-lighthouse::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 11px;
  left: 38px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(245 200 76 / 0.72), rgb(245 200 76 / 0.22) 42%, transparent 70%);
  pointer-events: none;
  animation: lighthouse-halo-pulse 2.2s ease-in-out infinite;
}

.lighthouse-roof,
.lighthouse-light,
.lighthouse-tower,
.lighthouse-base {
  display: block;
  position: absolute;
}

.lighthouse-roof {
  top: 8px;
  width: 62px;
  height: 24px;
  background: #f5c84c;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.lighthouse-light {
  top: 30px;
  width: 50px;
  height: 27px;
  border: 4px solid #f5c84c;
  border-radius: 6px 6px 2px 2px;
  background:
    linear-gradient(90deg, transparent 0 22%, rgb(245 200 76 / 0.5) 22% 34%, transparent 34% 66%, rgb(245 200 76 / 0.5) 66% 78%, transparent 78%),
    #102e35;
  box-shadow: inset 0 0 10px rgb(245 200 76 / 0.22);
  animation: lighthouse-window-flicker 1.5s ease-in-out infinite alternate;
}

.lighthouse-tower {
  bottom: 13px;
  width: 54px;
  height: 68px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.18), transparent 34%),
    repeating-linear-gradient(180deg, #eef4f0 0 13px, #f5c84c 13px 23px);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  border: 3px solid #102e35;
  border-bottom: 0;
}

.lighthouse-base {
  bottom: 2px;
  width: 74px;
  height: 16px;
  border-radius: 7px 7px 3px 3px;
  background: #f5c84c;
  box-shadow: inset 0 -4px 0 rgb(16 46 53 / 0.28);
}

@keyframes lighthouse-beam-shimmer {
  0%, 100% {
    opacity: 0.58;
    transform: scaleX(0.98) skewY(0deg);
  }

  46% {
    opacity: 0.76;
    transform: scaleX(1.02) skewY(-0.8deg);
  }

  68% {
    opacity: 0.64;
    transform: scaleX(1) skewY(0.45deg);
  }
}

@keyframes lighthouse-halo-pulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(0.94);
  }

  50% {
    opacity: 0.98;
    transform: scale(1.08);
  }
}

@keyframes lighthouse-window-flicker {
  0% {
    box-shadow: inset 0 0 8px rgb(245 200 76 / 0.18);
    filter: brightness(0.96);
  }

  52% {
    box-shadow: inset 0 0 15px rgb(245 200 76 / 0.38);
    filter: brightness(1.1);
  }

  100% {
    box-shadow: inset 0 0 11px rgb(245 200 76 / 0.26);
    filter: brightness(1.02);
  }
}

.brand-wordmark {
  position: absolute;
  right: -7.8rem;
  bottom: 1.55rem;
  display: inline-flex;
  align-items: flex-end;
  gap: 0.2rem;
  color: #f5c84c !important;
  line-height: 1;
  white-space: nowrap;
}

.brand-wordmark-my {
  display: inline-block;
  font-family: "Photograph Signature", "Brush Script MT", "Segoe Script", cursive;
  font-size: 4.18rem;
  font-weight: 400;
  line-height: 0.58;
  opacity: 0.92;
  text-transform: lowercase;
  transform: translateY(-0.02rem) scaleX(0.92);
  transform-origin: right bottom;
}

.brand-wordmark-name {
  font-family: Righteous, var(--din-font);
  font-size: 2.08rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-meta {
  display: grid;
  gap: 0.18rem;
  justify-items: end;
  margin-left: 0.4rem;
  min-width: 132px;
  padding: 0 0 0.42rem 0;
  text-align: right;
  transform: none;
}

.brand-login-link {
  width: fit-content;
  border: 0;
  background: transparent;
  color: #f5c84c;
  font-family: var(--display-font);
  font-size: 0.82rem;
  line-height: 1;
  padding: 0.22rem 0;
  text-transform: uppercase;
}

.brand-login-link:hover,
.brand-login-link.active {
  background: transparent;
  color: white;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.brand-mark,
.avatar {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #dcebe7;
  color: var(--primary-strong);
  font-weight: 800;
}

.brand-mark {
  background: #f1d8c8;
  color: #66341f;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin-left: auto;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  display: inline-flex;
  align-items: center;
  list-style: none;
  cursor: pointer;
  border-radius: 8px;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  content: "";
  width: 0.44rem;
  height: 0.44rem;
  margin-left: 0.42rem;
  border-right: 2px solid #f5c84c;
  border-bottom: 2px solid #f5c84c;
  transform: rotate(45deg) translateY(-0.12rem);
  transition: transform 160ms ease;
}

.nav-dropdown[open] > summary::after {
  transform: rotate(225deg) translate(-0.08rem, -0.02rem);
}

.nav-dropdown.active > summary .nav-group-title {
  color: #fff2b8;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-menu {
  display: grid;
  gap: 0.24rem;
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 180px;
  padding: 0.42rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 8px;
  background: #19343e;
  box-shadow: 0 22px 48px rgb(0 0 0 / 0.24);
}

.nav-group-title {
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
  color: #f5c84c;
  letter-spacing: 0;
  padding: 0;
  margin-right: 0.16rem;
}

.nav-group-title-button {
  appearance: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.nav-group-title-button:hover,
.nav-group-title-button.active {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff2b8;
  text-decoration: none;
}

.nav .nav-group-title-button {
  border: 0 !important;
  background: transparent;
  padding: 0;
}

.nav .nav-group-title-button:focus-visible {
  outline: 2px solid rgb(245 200 76 / 0.55);
  outline-offset: 0.28rem;
}

.nav-group-my {
  font-size: 2.25rem;
  transform: translateY(-0.08rem);
}

.nav-group-name {
  font-size: 1.05rem;
}

.nav-group-my {
  display: inline-block;
  font-family: "Photograph Signature", "Brush Script MT", "Segoe Script", cursive;
  font-weight: 400;
  line-height: 0.72;
  text-transform: lowercase;
}

.nav-group-name {
  font-family: var(--display-font);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.nav button {
  color: #e9f2f2;
  text-align: left;
  background: transparent;
  border-color: transparent;
  padding: 0.42rem 0.52rem;
  font-size: 0.84rem;
}

.nav-item-branded {
  padding-top: 0.42rem;
  padding-bottom: 0.42rem;
}

.nav-item-title {
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  color: inherit;
}

.nav-item-my {
  font-family: "Photograph Signature", "Brush Script MT", "Segoe Script", cursive;
  font-size: 2.55rem;
  line-height: 0.72;
  text-transform: lowercase;
}

.nav-item-name {
  font-family: var(--display-font);
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
}

.nav-group-cockpit .nav-item-name {
  font-family: var(--body-font);
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.08;
}

.nav button.active,
.nav button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  color: white;
}

/* Analytics-style navigation shell */
.shell:not(.route-landing) {
  grid-template-columns: var(--sidebar-width, 260px) minmax(0, 1fr);
}

.shell.sidebar-collapsed:not(.route-landing) {
  grid-template-columns: 0 minmax(0, 1fr);
}

.shell.sidebar-resizing {
  cursor: col-resize;
  user-select: none;
}

.sidebar {
  position: sticky;
  top: 0;
  align-items: stretch;
  align-self: start;
  flex-direction: column;
  gap: 0;
  justify-content: flex-start;
  min-height: 100vh;
  height: 100vh;
  padding: 0;
  overflow-x: visible;
  overflow-y: auto;
  border-right: 1px solid rgb(245 200 76 / 0.18);
  border-bottom: 0;
  background:
    radial-gradient(circle at 0 5.5rem, rgb(245 200 76 / 0.16), transparent 11rem),
    linear-gradient(180deg, #071627 0%, #102e35 48%, #0c2630 100%);
  color: #ecf6f4;
  box-shadow: 12px 0 32px rgb(7 22 39 / 0.24);
  backdrop-filter: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.sidebar-collapsed .sidebar {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-100%);
}

.sidebar-size-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 34px;
  padding: 0.42rem 0.8rem 0.24rem;
}

.sidebar-size-controls button,
.sidebar-restore-button {
  border: 1px solid rgb(245 200 76 / 0.42);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.07);
  color: #f5c84c;
  font-size: 0.68rem;
  font-weight: 950;
  padding: 0.28rem 0.62rem;
  text-transform: uppercase;
}

.sidebar-size-controls button:hover,
.sidebar-size-controls button:focus-visible,
.sidebar-restore-button:hover,
.sidebar-restore-button:focus-visible {
  background: #f5c84c;
  color: #102e35;
  outline: none;
}

.sidebar-size-controls span {
  color: #8fb2b5;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sidebar-resizer {
  position: absolute;
  z-index: 900;
  top: 0;
  right: -5px;
  width: 10px;
  height: 100%;
  cursor: col-resize;
}

.sidebar-resizer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 4px;
  width: 2px;
  height: 100%;
  background: rgb(245 200 76 / 0.18);
  transition: background 140ms ease, width 140ms ease;
}

.sidebar-resizer:hover::after,
.sidebar-resizing .sidebar-resizer::after {
  width: 3px;
  background: rgb(245 200 76 / 0.76);
}

.sidebar-restore-button {
  position: fixed;
  z-index: 950;
  left: 0.75rem;
  top: 0.75rem;
  display: none;
  align-items: center;
  gap: 0.38rem;
  box-shadow: 0 14px 34px rgb(0 0 0 / 0.28);
}

.sidebar-collapsed .sidebar-restore-button {
  display: inline-flex;
}

.sidebar::before,
.sidebar::after {
  content: none;
}

.brand {
  align-items: start;
  display: grid;
  gap: 0.62rem;
  min-height: 156px;
  padding: 1.05rem 1rem 0.95rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, rgb(245 200 76 / 0.08), transparent 72%);
}

.brand-logo-panel {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.72rem;
  width: 100%;
  min-height: auto;
  padding: 0;
}

.sidebar .brand-lighthouse {
  display: grid;
  width: 42px;
  height: 58px;
  margin: 0;
  transform: none;
  filter: drop-shadow(0 8px 14px rgb(0 0 0 / 0.26));
}

.sidebar .brand-lighthouse::before {
  top: 15px;
  left: 28px;
  width: 92px;
  height: 26px;
  opacity: 0.55;
}

.sidebar .brand-lighthouse::after {
  top: 8px;
  left: 20px;
  width: 28px;
  height: 28px;
  opacity: 0.8;
}

.sidebar .lighthouse-roof {
  top: 2px;
  width: 36px;
  height: 16px;
  border-radius: 14px 14px 4px 4px;
  clip-path: polygon(50% 0, 94% 78%, 100% 100%, 0 100%, 6% 78%);
}

.sidebar .lighthouse-light {
  top: 17px;
  width: 30px;
  height: 18px;
  border-width: 3px;
  border-radius: 8px 8px 3px 3px;
}

.sidebar .lighthouse-tower {
  bottom: 7px;
  width: 31px;
  height: 34px;
  border-width: 2px;
  clip-path: polygon(22% 0, 78% 0, 94% 100%, 6% 100%);
}

.sidebar .lighthouse-base {
  bottom: 0;
  width: 42px;
  height: 9px;
  border-radius: 10px 10px 4px 4px;
}

.brand-wordmark {
  position: static;
  right: auto;
  bottom: auto;
  display: inline-flex;
  align-items: flex-end;
  gap: 0.14rem;
  margin-left: 0.28rem;
  transform: none;
}

.brand-wordmark-my {
  font-size: 2.2rem;
  line-height: 0.62;
  transform: translateY(-0.03rem) scaleX(0.9);
}

.brand-wordmark-name {
  font-size: 1rem;
  line-height: 0.96;
}

.sidebar-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.58rem;
  width: min(100%, 10.4rem);
  border: 1px solid rgb(245 200 76 / 0.24);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.06);
  box-shadow: 0 8px 22px rgb(0 0 0 / 0.16);
  padding: 0.38rem 0.72rem;
}

.sidebar-identity-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.sidebar-identity-copy span,
.sidebar-identity strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-identity-copy span {
  color: #f5c84c;
  font-family: var(--din-font);
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.sidebar-identity strong {
  color: #ecf6f4;
  font-family: var(--din-font);
  font-size: 0.78rem;
  font-weight: 950;
}

.vessel-switcher {
  display: grid;
  gap: 0.3rem;
  color: #f5c84c;
  font-family: var(--din-font);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.language-switcher {
  display: grid;
  gap: 0.3rem;
  color: #f5c84c;
  font-family: var(--din-font);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.vessel-switcher select,
.language-switcher select {
  min-width: 0;
  width: 100%;
  border: 1px solid rgb(245 200 76 / 0.42);
  border-radius: 8px;
  background: #f7f8f5;
  color: #102e35;
  font: inherit;
  padding: 0.44rem 0.5rem;
  text-transform: none;
}

.sidebar-vessel-switcher {
  grid-column: 1 / -1;
}

.sidebar-language-switcher {
  margin: 0.15rem 1rem 0;
  position: relative;
  z-index: 1;
}

.sidebar .brand span,
.sidebar .brand div span,
.sidebar .brand-wordmark span {
  color: #f5c84c !important;
}

.sidebar .sidebar-identity span {
  color: #f5c84c !important;
}

.analytics-nav {
  display: grid;
  align-content: start;
  align-items: stretch;
  justify-content: stretch;
  gap: 0.8rem;
  flex: 1 1 auto;
  margin: 0;
  padding: 0.85rem 0.62rem;
  position: relative;
  z-index: 40;
  overflow: visible;
}

.nav-section,
.nav-section-items {
  overflow: visible;
}

.nav-section {
  display: grid;
  gap: 0.28rem;
}

.nav-section-title {
  color: #f5c84c;
  font-family: var(--din-font);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  padding: 0 0.75rem 0.12rem;
  text-transform: uppercase;
}

.nav-section-vessel > .nav-section-title {
  display: none;
}

.nav-section-shipyard > .nav-section-title {
  display: none;
}

.nav-section-items {
  display: grid;
  gap: 0.16rem;
}

.nav-cluster {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.nav-cluster-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.55rem;
  align-items: center;
  gap: 0.12rem;
}

.nav-cluster-main > .nav-item {
  min-width: 0;
}

.nav-cluster-children {
  display: grid;
  gap: 0.1rem;
}

.nav-cluster-toggle {
  display: inline-grid;
  place-items: center;
  width: 1.38rem;
  height: 1.38rem;
  border: 1px solid rgb(245 200 76 / 0.34);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  color: #f5c84c;
  cursor: pointer;
  font-family: var(--din-font);
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1;
}

.nav-cluster-toggle:hover,
.nav-cluster-toggle:focus-visible {
  background: #f5c84c;
  color: #102e35;
  outline: none;
}

.analytics-nav .nav-item {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  min-height: 42px;
  width: 100%;
  gap: 0.48rem;
  padding: 0.42rem 0.58rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #d8e6e4;
  font-family: var(--din-font);
  font-size: 0.84rem;
  font-weight: 850;
  text-align: left;
}

.analytics-nav .nav-subitem {
  width: calc(100% - 1.35rem);
  margin-left: 1.35rem;
  grid-template-columns: 1.55rem minmax(0, 1fr);
  min-height: 34px;
  padding-block: 0.28rem;
  font-size: 0.74rem;
  color: #c6d7d5;
}

.analytics-nav .nav-subitem::before {
  content: "";
  position: absolute;
  left: -0.72rem;
  top: -0.28rem;
  bottom: 50%;
  width: 0.6rem;
  border-left: 1px solid rgb(245 200 76 / 0.28);
  border-bottom: 1px solid rgb(245 200 76 / 0.28);
  border-bottom-left-radius: 8px;
}

.analytics-nav .nav-subitem .nav-item-icon {
  width: 1.55rem;
  height: 1.55rem;
}

.analytics-nav .nav-subitem .nav-item-icon svg {
  width: 0.82rem;
  height: 0.82rem;
}

.analytics-nav .nav-item-help {
  position: absolute;
  z-index: 900;
  left: calc(100% + 0.75rem);
  top: 50%;
  width: max-content;
  max-width: 220px;
  padding: 0.38rem 0.52rem;
  border: 1px solid rgb(245 200 76 / 0.42);
  border-radius: 8px;
  background: #12343f;
  box-shadow: 0 14px 34px rgb(0 0 0 / 0.28);
  color: #f7fbfa;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  transform: translate(0.2rem, -50%);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.analytics-nav .nav-item-help::before {
  content: "";
  position: absolute;
  left: -0.36rem;
  top: 50%;
  width: 0.62rem;
  height: 0.62rem;
  border-left: 1px solid rgb(245 200 76 / 0.42);
  border-bottom: 1px solid rgb(245 200 76 / 0.42);
  background: #12343f;
  transform: translateY(-50%) rotate(45deg);
}

.analytics-nav .nav-item:hover .nav-item-help,
.analytics-nav .nav-item:focus-visible .nav-item-help {
  opacity: 1;
  transform: translate(0, -50%);
}

.analytics-nav .nav-item-icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  color: #f5c84c;
}

.analytics-nav .nav-item-icon svg {
  display: block;
  width: 1rem;
  height: 1rem;
  overflow: visible;
}

.analytics-nav .nav-item-icon svg path,
.analytics-nav .nav-item-icon svg circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.05;
}

.analytics-nav .nav-item-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analytics-nav .nav-item:hover,
.analytics-nav .nav-item:focus-visible {
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  outline: none;
}

.analytics-nav .nav-item.active {
  background: transparent;
  color: #fff;
  outline: none;
}

.analytics-nav .nav-item:hover .nav-item-icon,
.analytics-nav .nav-item:focus-visible .nav-item-icon {
  background: #f5c84c;
  color: #102e35;
}

.analytics-nav .nav-item.active .nav-item-icon {
  background: rgb(255 255 255 / 0.08);
  color: #f5c84c;
}

.sidebar-preview-role {
  display: grid;
  gap: 0.48rem;
  margin: 0.15rem 1rem 0.45rem;
  position: relative;
  z-index: 1;
}

.sidebar-preview-role summary {
  position: relative;
  width: fit-content;
  border: 1px solid rgb(245 200 76 / 0.32);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  color: #f5c84c;
  cursor: pointer;
  font-family: var(--din-font);
  font-size: 0.7rem;
  font-weight: 950;
  list-style: none;
  padding: 0.32rem 0.7rem;
  text-transform: uppercase;
}

.sidebar-preview-role summary::-webkit-details-marker {
  display: none;
}

.sidebar-preview-role[open] summary,
.sidebar-preview-role summary:hover,
.sidebar-preview-role summary:focus-visible {
  background: #f5c84c;
  color: #102e35;
  outline: none;
}

.sidebar-preview-role select {
  width: calc(100% - 1rem);
  min-height: 38px;
  border-color: rgb(245 200 76 / 0.38);
  background: #f7f8f5;
  color: #102e35;
  font-size: 0.78rem;
  font-weight: 900;
}

.brand-meta {
  display: grid;
  gap: 0.28rem;
  justify-items: start;
  margin: 0;
  min-width: 0;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  text-align: left;
  position: relative;
  z-index: 1;
}

.brand-login-link,
.page-buoy-button,
.topbar-red-buoy > summary,
.sidebar-profile-panel > summary {
  position: relative;
  overflow: visible;
}

.sidebar-control-help {
  position: absolute;
  z-index: 980;
  left: calc(100% + 0.75rem);
  top: 50%;
  width: max-content;
  max-width: 260px;
  padding: 0.42rem 0.56rem;
  border: 1px solid rgb(245 200 76 / 0.42);
  border-radius: 8px;
  background: #12343f;
  box-shadow: 0 14px 34px rgb(0 0 0 / 0.3);
  color: #f7fbfa !important;
  font-family: var(--din-font);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  text-transform: none;
  transform: translate(0.2rem, -50%);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.sidebar-control-help::before {
  content: "";
  position: absolute;
  left: -0.36rem;
  top: 50%;
  width: 0.62rem;
  height: 0.62rem;
  border-left: 1px solid rgb(245 200 76 / 0.42);
  border-bottom: 1px solid rgb(245 200 76 / 0.42);
  background: #12343f;
  transform: translateY(-50%) rotate(45deg);
}

.sidebar-profile-panel > summary:hover .sidebar-control-help,
.sidebar-profile-panel > summary:focus-visible .sidebar-control-help,
.topbar-red-buoy > summary:hover .sidebar-control-help,
.topbar-red-buoy > summary:focus-visible .sidebar-control-help,
.sidebar-preview-role summary:hover .sidebar-control-help,
.sidebar-preview-role summary:focus-visible .sidebar-control-help,
.brand-login-link:hover .sidebar-control-help,
.brand-login-link:focus-visible .sidebar-control-help,
.page-buoy-button:hover .sidebar-control-help,
.page-buoy-button:focus-visible .sidebar-control-help {
  opacity: 1;
  transform: translate(0, -50%);
}

.page-buoy-button .sidebar-control-help {
  left: auto;
  right: 0;
  top: calc(100% + 0.55rem);
  transform: translateY(0.2rem);
}

.page-buoy-button .sidebar-control-help::before {
  left: auto;
  right: 1rem;
  top: -0.34rem;
  transform: rotate(135deg);
}

.page-buoy-button:hover .sidebar-control-help,
.page-buoy-button:focus-visible .sidebar-control-help {
  transform: translateY(0);
}

.sidebar .brand-meta span {
  color: #b9cacd;
  font-family: var(--din-font);
  font-size: 0.78rem;
  font-weight: 850;
}

.brand-login-link {
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  color: #f5c84c;
  font-family: var(--din-font);
  font-size: 0.76rem;
  padding: 0.38rem 0.72rem;
  text-decoration: none;
}

.brand-login-link:hover,
.brand-login-link.active {
  background: #f5c84c;
  color: #102e35;
  text-decoration: none;
}

.main {
  min-width: 0;
  padding: 1.4rem;
  position: relative;
  isolation: isolate;
  z-index: 40;
  overflow: visible;
  background:
    radial-gradient(circle at 16% 8%, rgb(247 200 76 / 0.13), transparent 21rem),
    radial-gradient(circle at 86% 18%, rgb(79 163 255 / 0.12), transparent 24rem),
    linear-gradient(145deg, #071627 0%, #102e35 45%, #19343e 100%);
  color: var(--ink);
}

.main::before,
.main::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.main::before {
  background:
    repeating-linear-gradient(0deg, rgb(233 244 242 / 0.035) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(90deg, rgb(233 244 242 / 0.028) 0 1px, transparent 1px 88px),
    radial-gradient(circle at calc(100% - 9rem) 8rem, transparent 0 4.3rem, rgb(245 200 76 / 0.11) 4.35rem 4.48rem, transparent 4.55rem 7.4rem, rgb(245 200 76 / 0.08) 7.45rem 7.58rem, transparent 7.65rem 11rem),
    radial-gradient(circle at 10rem calc(100% - 8rem), transparent 0 5.2rem, rgb(233 244 242 / 0.075) 5.25rem 5.36rem, transparent 5.45rem 9rem, rgb(233 244 242 / 0.05) 9.06rem 9.18rem, transparent 9.25rem);
  opacity: 0.9;
}

.main::after {
  background:
    linear-gradient(28deg, transparent 0 36%, rgb(245 200 76 / 0.08) 36.15% 36.35%, transparent 36.5%),
    linear-gradient(153deg, transparent 0 58%, rgb(233 244 242 / 0.055) 58.1% 58.24%, transparent 58.4%),
    conic-gradient(from 38deg at calc(100% - 9rem) 8rem, transparent 0deg 18deg, rgb(245 200 76 / 0.09) 18deg 19deg, transparent 19deg 58deg, rgb(245 200 76 / 0.07) 58deg 59deg, transparent 59deg 360deg);
  mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.95), rgb(0 0 0 / 0.55) 58%, transparent 100%);
}

.main > * {
  position: relative;
  z-index: 1;
}

.route-landing .main {
  padding: 0;
  background:
    radial-gradient(circle at 18% 12%, rgb(79 163 255 / 0.22), transparent 24rem),
    radial-gradient(circle at 86% 20%, rgb(247 176 44 / 0.16), transparent 22rem),
    linear-gradient(145deg, #071627 0%, #102e35 44%, #19343e 100%);
  color: #f7fbfa;
}

.route-my-goals .main,
.route-governance .main,
.route-detail .main,
.route-results .main,
.route-reporting .main {
  background:
    radial-gradient(circle at 16% 8%, rgb(247 200 76 / 0.13), transparent 21rem),
    radial-gradient(circle at 86% 18%, rgb(79 163 255 / 0.12), transparent 24rem),
    linear-gradient(145deg, #071627 0%, #102e35 45%, #19343e 100%);
}

.route-my-goals .main::before {
  background:
    linear-gradient(118deg, transparent 0 18%, rgb(245 200 76 / 0.08) 18.2% 18.55%, transparent 18.8% 100%),
    radial-gradient(ellipse at 82% 18%, transparent 0 5rem, rgb(245 200 76 / 0.12) 5.08rem 5.22rem, transparent 5.32rem 9rem),
    repeating-linear-gradient(0deg, rgb(233 244 242 / 0.035) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(90deg, rgb(233 244 242 / 0.028) 0 1px, transparent 1px 88px);
  opacity: 0.95;
}

.route-governance .main::before,
.route-detail .main::before {
  background:
    linear-gradient(90deg, transparent 0 8rem, rgb(245 200 76 / 0.08) 8.05rem 8.3rem, transparent 8.35rem 100%),
    repeating-linear-gradient(30deg, rgb(245 200 76 / 0.07) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(120deg, rgb(233 244 242 / 0.055) 0 1px, transparent 1px 58px),
    radial-gradient(circle at 84% 18%, rgb(245 200 76 / 0.1), transparent 16rem),
    repeating-linear-gradient(0deg, rgb(233 244 242 / 0.03) 0 1px, transparent 1px 76px);
  opacity: 0.88;
}

.route-results .main::before {
  background:
    radial-gradient(circle at calc(100% - 18rem) 14rem, transparent 0 5.8rem, rgb(245 200 76 / 0.12) 5.86rem 6.05rem, transparent 6.12rem 8.6rem, rgb(245 200 76 / 0.08) 8.68rem 8.82rem, transparent 8.9rem 12rem),
    conic-gradient(from -45deg at calc(100% - 18rem) 14rem, transparent 0deg 42deg, rgb(245 200 76 / 0.12) 42deg 48deg, transparent 48deg 132deg, rgb(233 244 242 / 0.1) 132deg 138deg, transparent 138deg 222deg, rgb(245 200 76 / 0.12) 222deg 228deg, transparent 228deg 312deg, rgb(233 244 242 / 0.1) 312deg 318deg, transparent 318deg 360deg),
    repeating-conic-gradient(from 0deg at calc(100% - 18rem) 14rem, rgb(233 244 242 / 0.08) 0deg 1deg, transparent 1deg 15deg),
    repeating-linear-gradient(0deg, rgb(233 244 242 / 0.035) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(90deg, rgb(233 244 242 / 0.028) 0 1px, transparent 1px 88px);
  opacity: 0.95;
}

.route-reporting .main::before {
  background:
    linear-gradient(90deg, rgb(245 200 76 / 0.08) 0 0.18rem, transparent 0.18rem 100%),
    repeating-linear-gradient(180deg, transparent 0 42px, rgb(233 244 242 / 0.06) 42px 43px, transparent 43px 72px),
    radial-gradient(ellipse at 82% 16%, transparent 0 4.8rem, rgb(245 200 76 / 0.1) 4.86rem 5rem, transparent 5.08rem 8rem),
    linear-gradient(25deg, transparent 0 62%, rgb(245 200 76 / 0.08) 62.15% 62.45%, transparent 62.6%),
    repeating-linear-gradient(90deg, rgb(233 244 242 / 0.028) 0 1px, transparent 1px 88px);
  background-position: 7rem 0, 0 0, 0 0, 0 0, 0 0;
  opacity: 0.92;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 8px;
  background: #19343e;
  color: #f7fbfa;
  position: relative;
  z-index: 500;
  overflow: visible;
  box-shadow: var(--shadow-soft);
}

.topbar-title {
  min-width: 0;
  padding-right: 0;
}

.topbar-brand-lockup {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.18rem;
  width: fit-content;
  min-height: 0;
  margin: 0 0 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f5c84c;
  box-shadow: none;
}

.topbar-brand-lockup:hover,
.topbar-brand-lockup:focus-visible {
  background: transparent;
  color: #ffe07c;
  outline: none;
}

.topbar-brand-lockup:focus-visible {
  text-decoration: underline;
  text-decoration-color: #f5c84c;
  text-underline-offset: 0.32rem;
}

.topbar-brand-lockup svg {
  flex: 0 0 auto;
  width: 1.72rem;
  height: 1.72rem;
  margin-right: 0.08rem;
  transform: translateY(0.08rem);
}

.topbar-brand-lockup svg path {
  fill: currentColor;
  stroke: #102e35;
  stroke-linejoin: round;
  stroke-width: 0.7;
}

.topbar-brand-my {
  display: inline-block;
  color: currentColor;
  font-family: "Photograph Signature", "Brush Script MT", "Segoe Script", cursive;
  font-size: 2.18rem;
  font-weight: 400;
  line-height: 0.62;
  transform: translateY(-0.03rem) scaleX(0.9);
}

.topbar-brand-name {
  color: currentColor;
  font-family: Righteous, var(--din-font);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.topbar-illustration {
  flex: 0 0 clamp(128px, 16vw, 190px);
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 118px;
  margin-left: auto;
  border-inline: 1px solid rgb(255 255 255 / 0.08);
  background:
    radial-gradient(circle at 50% 50%, rgb(245 200 76 / 0.11), transparent 58%),
    linear-gradient(145deg, rgb(255 255 255 / 0.04), transparent);
  overflow: hidden;
}

.topbar-illustration svg {
  width: min(100%, 180px);
  height: 118px;
  overflow: visible;
}

.topbar-illustration text {
  fill: #f5c84c;
  font-family: Righteous, var(--din-font);
  font-size: 13px;
  letter-spacing: 0;
}

.nautical-ring,
.nautical-line,
.nautical-stroke,
.nautical-rope,
.nautical-page {
  fill: none;
  stroke: #e9f4f2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nautical-ring {
  stroke-width: 4;
}

.nautical-ring.soft {
  stroke: rgb(233 244 242 / 0.42);
  stroke-width: 2;
}

.nautical-ring.thick {
  stroke-width: 12;
}

.nautical-line,
.nautical-stroke {
  stroke-width: 4;
}

.nautical-rope {
  stroke: #f5c84c;
  stroke-dasharray: 3 5;
  stroke-width: 4;
}

.nautical-fill {
  fill: #f5c84c;
  stroke: #f5c84c;
  stroke-linejoin: round;
  stroke-width: 2;
}

.nautical-fill.soft-fill {
  fill: #e9f4f2;
  stroke: #e9f4f2;
}

.nautical-beam {
  fill: rgb(245 200 76 / 0.18);
  stroke: #f5c84c;
  stroke-linejoin: round;
  stroke-width: 2;
}

.nautical-center {
  fill: #102e35;
  stroke: #f5c84c;
  stroke-width: 4;
}

.nautical-cutout {
  fill: #19343e;
  stroke: #e9f4f2;
  stroke-width: 4;
}

.nautical-page {
  fill: rgb(233 244 242 / 0.1);
  stroke-width: 4;
}

.nautical-stroke.anchor {
  stroke: #f5c84c;
}

.topbar-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.75rem;
  position: static;
  overflow: visible;
}

.topbar-red-buoy {
  position: relative;
  z-index: 510;
}

.topbar-red-buoy > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.34rem 0.78rem 0.34rem 0.38rem;
  border: 1px solid #72d69d;
  border-radius: 999px;
  background: linear-gradient(180deg, #42b879 0%, #1f7d55 100%);
  color: #f2fff8;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 950;
  list-style: none;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgb(31 125 85 / 0.24), inset 0 1px 0 rgb(255 255 255 / 0.28);
}

.topbar-red-buoy.signal-active > summary {
  border-color: #ff8c79;
  background: linear-gradient(180deg, #e94d3d 0%, #a91f22 100%);
  color: #fff8f4;
  box-shadow: 0 12px 24px rgb(169 31 34 / 0.24), inset 0 1px 0 rgb(255 255 255 / 0.28);
}

.topbar-red-buoy > summary::-webkit-details-marker {
  display: none;
}

.topbar-red-buoy[open] > summary,
.topbar-red-buoy > summary:hover,
.topbar-red-buoy > summary:focus-visible {
  border-color: #f5c84c;
  background: linear-gradient(180deg, #57d992 0%, #258a5f 100%);
  outline: none;
}

.topbar-red-buoy.signal-active[open] > summary,
.topbar-red-buoy.signal-active > summary:hover,
.topbar-red-buoy.signal-active > summary:focus-visible {
  background: linear-gradient(180deg, #ff6f5c 0%, #b72628 100%);
}

.topbar-red-buoy-menu {
  position: absolute;
  z-index: 520;
  top: calc(100% + 0.65rem);
  right: 0;
  width: min(760px, calc(100vw - 2.8rem));
  padding: 0.9rem;
  border: 1px solid rgb(255 140 121 / 0.74);
  border-radius: 8px;
  background:
    radial-gradient(circle at 2rem 1.8rem, rgb(255 111 92 / 0.24), transparent 3.8rem),
    #12343f;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.36);
}

.sidebar .topbar-red-buoy {
  margin: 0.1rem 1.35rem 1rem;
  width: fit-content;
}

.sidebar-identity .topbar-red-buoy {
  margin: 0;
}

.sidebar .brand .topbar-red-buoy-menu,
.sidebar .brand .topbar-red-buoy-menu span,
.sidebar .brand .topbar-red-buoy-menu small,
.sidebar .brand .topbar-red-buoy-menu strong,
.sidebar .brand .topbar-red-buoy-menu label {
  color: #eaf4f0 !important;
}

.sidebar .brand .red-buoy-count {
  color: #102e35 !important;
}

.sidebar .topbar-red-buoy > summary {
  position: relative;
  justify-content: center;
  width: 2.18rem;
  min-height: 2.18rem;
  padding: 0;
  border-color: transparent;
  background: transparent;
  font-size: 0.72rem;
  box-shadow: none;
}

.sidebar .topbar-red-buoy.signal-active > summary {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.sidebar .topbar-red-buoy[open] > summary,
.sidebar .topbar-red-buoy > summary:hover,
.sidebar .topbar-red-buoy > summary:focus-visible,
.sidebar .topbar-red-buoy.signal-active[open] > summary,
.sidebar .topbar-red-buoy.signal-active > summary:hover,
.sidebar .topbar-red-buoy.signal-active > summary:focus-visible {
  border-color: transparent;
  background: rgb(255 255 255 / 0.08);
  box-shadow: none;
}

.sidebar .topbar-red-buoy .staff-signal-light {
  width: 1.34rem;
  height: 1.58rem;
  border: 1px solid rgb(181 255 210 / 0.72);
  border-radius: 0.48rem 0.48rem 0.28rem 0.28rem;
  background:
    linear-gradient(90deg, transparent 0 18%, rgb(217 255 232 / 0.3) 19% 22%, transparent 23% 77%, rgb(217 255 232 / 0.3) 78% 81%, transparent 82%),
    linear-gradient(180deg, #dffff0 0 18%, #2aa46d 19% 76%, #145c42 77% 100%);
  box-shadow: 0 0 0 2px rgb(47 180 112 / 0.1), 0 0 16px rgb(73 220 139 / 0.42);
  animation: sidebar-lantern-glow 2.6s ease-in-out infinite;
}

.sidebar .topbar-red-buoy.signal-active .staff-signal-light {
  border-color: rgb(255 176 160 / 0.76);
  background:
    linear-gradient(90deg, transparent 0 18%, rgb(255 236 225 / 0.34) 19% 22%, transparent 23% 77%, rgb(255 236 225 / 0.34) 78% 81%, transparent 82%),
    linear-gradient(180deg, #fff1e8 0 18%, #de4438 19% 76%, #8b1b1f 77% 100%);
  box-shadow: 0 0 0 2px rgb(220 48 48 / 0.14), 0 0 18px rgb(220 48 48 / 0.62);
}

.sidebar .topbar-red-buoy .staff-signal-light::before {
  position: absolute;
  left: 50%;
  bottom: 0.34rem;
  width: 0.34rem;
  height: 0.58rem;
  border-radius: 60% 60% 54% 54%;
  background: radial-gradient(circle at 50% 70%, #fffde6 0 20%, #ffe06c 38%, #4ddc89 76%);
  box-shadow: 0 0 10px rgb(245 255 196 / 0.74);
  transform: translateX(-50%) rotate(-4deg);
  transform-origin: 50% 85%;
  animation: sidebar-lantern-flame 1.15s ease-in-out infinite alternate;
}

.sidebar .topbar-red-buoy.signal-active .staff-signal-light::before {
  background: radial-gradient(circle at 50% 70%, #fff7df 0 20%, #ffd05d 38%, #ff594d 76%);
  box-shadow: 0 0 12px rgb(255 136 102 / 0.82);
}

.sidebar .topbar-red-buoy .staff-signal-light::after {
  position: absolute;
  left: 50%;
  top: -0.28rem;
  right: auto;
  bottom: auto;
  width: 0.74rem;
  height: 0.48rem;
  border: 1px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  background: transparent;
  opacity: 0.62;
  transform: translateX(-50%);
}

@keyframes sidebar-lantern-flame {
  0% {
    opacity: 0.78;
    transform: translateX(-50%) scale(0.86, 1.02) rotate(-6deg);
  }

  52% {
    opacity: 1;
    transform: translateX(-50%) scale(1.05, 0.94) rotate(5deg);
  }

  100% {
    opacity: 0.86;
    transform: translateX(-50%) scale(0.94, 1.08) rotate(2deg);
  }
}

@keyframes sidebar-lantern-glow {
  0%, 100% {
    filter: brightness(0.95);
  }

  48% {
    filter: brightness(1.16);
  }
}

.red-buoy-count {
  position: absolute;
  right: -0.42rem;
  top: -0.34rem;
  display: inline-grid;
  place-items: center;
  min-width: 1.12rem;
  height: 1.12rem;
  border: 2px solid #102e35;
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
}

.red-buoy-pending-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.18rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgb(255 140 121 / 0.45);
  border-radius: 8px;
  background: rgb(255 111 92 / 0.12);
}

.red-buoy-pending-list strong {
  color: #fff8f4;
  font-size: 0.82rem;
}

.red-buoy-pending-list small {
  color: #ffd9d3;
  font-size: 0.72rem;
  font-weight: 850;
}

.sidebar .topbar-red-buoy-menu {
  top: 0;
  right: auto;
  left: calc(100% + 0.8rem);
  width: min(660px, calc(100vw - 300px));
}

.sidebar .topbar-red-buoy[open] {
  z-index: 720;
}

.page-buoy-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.55rem;
}

.page-buoy-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
  border: 1px solid #ff8c79;
  border-radius: 999px;
  background: linear-gradient(180deg, #e94d3d 0%, #a91f22 100%);
  color: #fff8f4;
  font-size: 0.72rem;
  font-weight: 950;
  padding: 0.28rem 0.72rem 0.28rem 0.34rem;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgb(169 31 34 / 0.2), inset 0 1px 0 rgb(255 255 255 / 0.24);
}

.page-buoy-button:hover:not(:disabled),
.page-buoy-button:focus-visible {
  border-color: #f5c84c;
  background: linear-gradient(180deg, #ff6f5c 0%, #b72628 100%);
  color: #fff8f4;
  outline: none;
}

.topbar-home {
  min-height: 38px;
  border: 1px solid rgb(245 200 76 / 0.6);
  border-radius: 999px;
  background: rgb(245 200 76 / 0.14);
  color: #f5c84c;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.38rem 0.75rem;
  text-transform: uppercase;
}

.topbar-home:hover,
.topbar-home:focus-visible {
  background: #f5c84c;
  color: #102e35;
}

.topbar p,
.role-switcher,
.role-switcher span {
  color: #d6e6e6;
}

.data-mode {
  background: rgb(247 176 44 / 0.16);
  color: #f7c64b;
}

.topbar p {
  font-family: var(--body-font);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
}

.topbar h1 {
  font-family: var(--display-font);
  font-weight: 400;
  margin: 0.2rem 0 0;
  font-size: 1.8rem;
  letter-spacing: 0;
}

.data-mode {
  display: inline-flex;
  margin-top: 0.35rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgb(247 176 44 / 0.16);
  color: #f7c64b;
  font-size: 0.76rem;
  font-weight: 800;
}

.role-switcher {
  display: grid;
  gap: 0.3rem;
  color: #d6e6e6;
  min-width: 280px;
}

select,
input {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0.7rem 0.8rem;
  min-width: 0;
}

.toast {
  background: #fff7df;
  border: 1px solid #ead49a;
  color: #6c4c12;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
}

.login-panel {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1080px);
  align-items: center;
  justify-content: center;
  padding: clamp(1.6rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
  text-align: center;
}

.login-copy,
.login-card,
.panel,
.metric,
.detail-hero {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.route-landing .login-copy,
.route-landing .login-card {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: #f7fbfa;
}

.login-copy {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.landing-lighthouse-illustration {
  width: min(72vw, 420px);
  margin: 0 auto 0.35rem;
  filter: drop-shadow(0 22px 42px rgb(0 0 0 / 0.28));
}

.landing-lighthouse-illustration svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.landing-beam {
  fill: url("#landingBeam");
  opacity: 0;
  animation: landing-beam-sequence 5.8s ease-in-out infinite;
  transform-origin: 202px 68px;
}

.landing-glow {
  fill: #f5c84c;
  opacity: 0;
}

.landing-left-glow,
.landing-right-halo {
  fill: #f5c84c;
  opacity: 0;
  pointer-events: none;
}

.landing-left-glow {
  filter: blur(2px);
  transform-origin: 135px 67px;
  animation: landing-left-light-sequence 5.8s ease-in-out infinite;
}

.landing-right-halo {
  filter: blur(2.4px);
  transform-origin: 220px 68px;
  animation: landing-right-halo-sequence 5.8s ease-in-out infinite;
}

.landing-roof,
.landing-stripe,
.landing-base {
  fill: #f5c84c;
}

.landing-lantern,
.landing-tower {
  fill: #eaf4f0;
  stroke: #f5c84c;
  stroke-linejoin: round;
  stroke-width: 5;
}

.landing-window {
  fill: #102e35;
  animation: landing-window-sequence 5.8s ease-in-out infinite;
}

.landing-window-glow {
  fill: #f5c84c;
  opacity: 0;
  filter: blur(1px);
  transform-origin: 177px 67px;
  animation: landing-window-light-sequence 5.8s ease-in-out infinite;
}

.landing-wave {
  fill: none;
  stroke: rgb(233 244 242 / 0.52);
  stroke-linecap: round;
  stroke-width: 4;
}

@keyframes landing-left-light-sequence {
  0%, 6%, 30%, 100% {
    opacity: 0;
    transform: scale(0.82);
  }

  12% {
    opacity: 0.48;
    transform: scale(1.08);
  }

  18% {
    opacity: 0.28;
    transform: scale(0.96);
  }

  23% {
    opacity: 0.58;
    transform: scale(1.14);
  }
}

@keyframes landing-window-sequence {
  0%, 26%, 58%, 100% {
    fill: #102e35;
  }

  34%, 50% {
    fill: #1d5550;
  }

  42% {
    fill: #24685a;
  }
}

@keyframes landing-window-light-sequence {
  0%, 27%, 60%, 100% {
    opacity: 0;
    transform: scale(0.82);
  }

  34% {
    opacity: 0.34;
    transform: scale(1.04);
  }

  43% {
    opacity: 0.52;
    transform: scale(1.14);
  }

  52% {
    opacity: 0.28;
    transform: scale(0.98);
  }
}

@keyframes landing-right-halo-sequence {
  0%, 56%, 92%, 100% {
    opacity: 0;
    transform: scale(0.82);
  }

  66% {
    opacity: 0.22;
    transform: scale(1);
  }

  76% {
    opacity: 0.42;
    transform: scale(1.16);
  }

  84% {
    opacity: 0.26;
    transform: scale(1.02);
  }
}

@keyframes landing-beam-sequence {
  0%, 55%, 94%, 100% {
    opacity: 0;
    transform: scaleX(0.94) skewY(0deg);
  }

  64% {
    opacity: 0.58;
    transform: scaleX(0.98) skewY(-0.4deg);
  }

  76% {
    opacity: 0.98;
    transform: scaleX(1.03) skewY(-0.8deg);
  }

  86% {
    opacity: 0.48;
    transform: scaleX(1) skewY(0.35deg);
  }
}

.login-copy h2 {
  max-width: 780px;
  margin: 0.4rem 0 0.8rem;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.login-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
}

.route-landing .login-copy p,
.route-landing .login-card p,
.route-landing .login-card dt,
.route-landing .login-card dd {
  color: #d6e6e6;
}

.route-landing .login-copy .eyebrow {
  color: #f5c84c;
}

.login-actions {
  justify-content: center;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.15rem;
}

.landing-public-controls {
  display: flex;
  justify-content: center;
  width: min(100%, 520px);
  margin-top: 1rem;
}

.landing-public-controls .language-switcher {
  display: grid;
  gap: 0.35rem;
  width: min(100%, 240px);
  color: #d6e6e6;
  font-weight: 900;
  text-align: left;
}

.landing-public-controls .language-switcher span {
  color: #d6e6e6;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-public-controls .language-switcher select {
  width: 100%;
  border: 1px solid rgb(245 200 76 / 0.5);
  border-radius: 8px;
  background: #f7f8f5;
  color: #102e35;
  font-size: 0.95rem;
  font-weight: 900;
  padding: 0.66rem 0.8rem;
}

.landing-gates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  width: min(100%, 940px);
  margin-top: 1.55rem;
}

.landing-gates article {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0.7rem;
  align-content: start;
  min-height: 330px;
  padding: 1.35rem;
  border: 1px solid rgb(245 200 76 / 0.38);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.045)),
    rgb(8 30 39 / 0.82);
  box-shadow: 0 18px 46px rgb(0 0 0 / 0.16);
  text-align: left;
}

.landing-gates article::before {
  content: "";
  width: 3.2rem;
  height: 0.34rem;
  border-radius: 999px;
  background: #f5c84c;
}

.landing-gates span {
  color: #f5c84c;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.landing-gates strong {
  color: #f7fbfa;
  font-family: var(--display-font);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.landing-gates small {
  color: #d6e6e6;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.landing-gates ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.landing-gates li {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  color: #f7fbfa;
  font-size: 0.9rem;
  font-weight: 900;
}

.landing-gates li::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #f5c84c;
  box-shadow: 0 0 0 0.18rem rgb(245 200 76 / 0.14);
}

.landing-gates button {
  align-self: end;
  justify-self: start;
  min-width: 100%;
  margin-top: 0.6rem;
}

.landing-access {
  align-self: end;
  justify-self: stretch;
  margin-top: 0.6rem;
}

.landing-access > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  width: 100%;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--public-gold-line);
  border-radius: 0.62rem;
  background: var(--public-amber-strong);
  color: var(--public-black);
  font-family: var(--brand-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  list-style: none;
}

.landing-access > summary::-webkit-details-marker {
  display: none;
}

.landing-access[open] > summary {
  border-radius: 0.62rem 0.62rem 0 0;
}

.landing-access > summary:hover,
.landing-access > summary:focus-visible {
  border-color: #f7d96d;
  background: #f7d96d;
  color: var(--public-black);
  outline: 3px solid rgb(245 200 76 / 0.32);
  outline-offset: 2px;
}

.landing-access-fields {
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem;
  border: 1px solid rgb(245 200 76 / 0.4);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgb(7 26 34 / 0.78);
}

.landing-access-fields label {
  display: grid;
  gap: 0.35rem;
  color: #d6e6e6;
  font-weight: 900;
}

.landing-gates .landing-access-fields label span {
  color: #d6e6e6;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.landing-access-fields select,
.landing-access-fields input {
  width: 100%;
  border: 1px solid rgb(245 200 76 / 0.5);
  border-radius: 8px;
  background: #f7f8f5;
  color: #102e35;
  font-size: 0.95rem;
  font-weight: 900;
  padding: 0.7rem 0.82rem;
}

.landing-access-fields button {
  min-width: 0;
  width: 100%;
  margin-top: 0;
}

.route-landing .landing-gates button.primary {
  border-color: #f5c84c;
  background: #f5c84c;
  color: #102e35;
  font-weight: 950;
}

.route-landing .landing-gates button.primary:hover:not(:disabled),
.route-landing .landing-gates button.primary:focus-visible,
.route-landing .landing-gates button.primary:active {
  border-color: #f7d96d;
  background: #f7d96d;
  color: #102e35;
  outline-color: rgb(245 200 76 / 0.6);
}

.secondary-actions button {
  border-color: rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.08);
  color: #f5c84c;
}

.secondary-actions button:hover:not(:disabled),
.secondary-actions button:focus-visible {
  border-color: #f5c84c;
  background: #f5c84c;
  color: #102e35;
}

.login-form {
  width: min(100%, 520px);
  margin-top: 1.25rem;
}

.login-form label {
  display: grid;
  gap: 0.4rem;
  color: #d6e6e6;
  font-weight: 900;
  text-align: left;
}

.login-form select {
  width: 100%;
  border: 1px solid rgb(245 200 76 / 0.5);
  border-radius: 8px;
  background: #f7f8f5;
  color: #102e35;
  font-size: 1rem;
  font-weight: 900;
  padding: 0.78rem 0.9rem;
}

.sidebar-profile-panel {
  position: relative;
  z-index: 510;
  margin: 0;
  width: 100%;
}

.sidebar-profile-panel > summary {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.48rem;
  min-height: 42px;
  padding: 0.42rem 0.58rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #d8e6e4;
  cursor: pointer;
  font-family: var(--din-font);
  font-size: 0.84rem;
  font-weight: 850;
  list-style: none;
  text-transform: none;
}

.sidebar-profile-panel > summary::-webkit-details-marker {
  display: none;
}

.sidebar-profile-panel[open] {
  z-index: 730;
}

.sidebar-profile-panel[open] > summary,
.sidebar-profile-panel > summary:hover,
.sidebar-profile-panel > summary:focus-visible {
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  outline: none;
}

.sidebar-profile-panel[open] > summary {
  background: transparent;
}

.sidebar-profile-avatar {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  color: #f5c84c;
  font-size: 0.9rem;
  line-height: 1;
}

.sidebar-profile-identity {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.sidebar-profile-line,
.sidebar-profile-identity b,
.sidebar-profile-identity strong,
.sidebar-profile-identity em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-profile-line {
  display: block;
}

.sidebar-profile-line small {
  color: #f5c84c;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.sidebar-profile-identity b,
.sidebar-profile-identity strong {
  color: #ecf6f4;
  font-size: 0.84rem;
  font-weight: 850;
}

.sidebar-profile-identity em {
  justify-self: start;
  margin-top: 0.08rem;
  border: 1px solid rgb(245 200 76 / 0.28);
  border-radius: 999px;
  background: rgb(245 200 76 / 0.12);
  color: #f5c84c;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 900;
  padding: 0.08rem 0.38rem;
  text-transform: lowercase;
}

.sidebar-profile-panel[open] .sidebar-profile-line small,
.sidebar-profile-panel[open] .sidebar-profile-identity b,
.sidebar-profile-panel[open] .sidebar-profile-identity strong,
.sidebar-profile-panel[open] .sidebar-profile-identity em,
.sidebar-profile-panel > summary:hover .sidebar-profile-line small,
.sidebar-profile-panel > summary:hover .sidebar-profile-identity b,
.sidebar-profile-panel > summary:hover .sidebar-profile-identity strong,
.sidebar-profile-panel > summary:hover .sidebar-profile-identity em,
.sidebar-profile-panel > summary:focus-visible .sidebar-profile-line small,
.sidebar-profile-panel > summary:focus-visible .sidebar-profile-identity b,
.sidebar-profile-panel > summary:focus-visible .sidebar-profile-identity strong,
.sidebar-profile-panel > summary:focus-visible .sidebar-profile-identity em {
  color: #fff;
}

.sidebar-profile-panel[open] .sidebar-profile-identity em,
.sidebar-profile-panel > summary:hover .sidebar-profile-identity em,
.sidebar-profile-panel > summary:focus-visible .sidebar-profile-identity em {
  border-color: rgb(16 46 53 / 0.28);
  background: rgb(16 46 53 / 0.08);
}

.sidebar-profile-menu {
  position: fixed;
  z-index: 1400;
  top: 1rem;
  left: calc(var(--sidebar-width, 260px) + 0.85rem);
  display: grid;
  gap: 0.95rem;
  width: min(780px, calc(100vw - var(--sidebar-width, 260px) - 2rem));
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1rem;
  border: 1px solid rgb(245 200 76 / 0.36);
  border-radius: 8px;
  background: #12343f;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.36);
  text-align: left;
}

.sidebar-profile-head {
  display: grid;
  gap: 0.18rem;
}

.sidebar-profile-head span {
  color: #d6e6e6;
  font-size: 0.78rem;
  font-weight: 900;
}

.sidebar-profile-head strong {
  color: #f5c84c;
  font-family: var(--display-font);
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase;
}

.sidebar-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.sidebar-profile-grid label {
  display: grid;
  gap: 0.35rem;
  color: #d6e6e6;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.sidebar-profile-grid .profile-wide {
  grid-column: 1 / -1;
}

.sidebar-profile-grid input,
.sidebar-profile-grid textarea {
  width: 100%;
  border: 1px solid rgb(245 200 76 / 0.36);
  border-radius: 8px;
  background: #f7f8f5;
  color: #102e35;
  font: inherit;
  font-weight: 850;
  padding: 0.68rem 0.75rem;
  text-transform: none;
}

.sidebar-profile-grid textarea {
  min-height: 74px;
  resize: vertical;
}

.avatar-picker {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.45rem;
}

.avatar-choice {
  position: relative;
  display: grid;
  place-items: center;
  gap: 0.25rem;
  min-height: 78px;
  padding: 0.48rem 0.32rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.06);
  color: #ecf6f4;
  cursor: pointer;
  text-align: center;
}

.avatar-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.avatar-choice.selected,
.avatar-choice:has(input:checked),
.avatar-choice:hover {
  border-color: var(--avatar-tone, #f5c84c);
  background: rgb(255 255 255 / 0.12);
  box-shadow: inset 0 0 0 1px var(--avatar-tone, #f5c84c);
}

.avatar-icon {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: var(--avatar-tone, #f5c84c);
  color: #102e35;
  font-size: 1.25rem;
  line-height: 1;
}

.avatar-choice small {
  color: #d6e6e6;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.05;
}

.sidebar-save-profile {
  position: sticky;
  bottom: 0;
  justify-self: start;
  min-height: 40px;
  border-color: #f5c84c;
  background: #f5c84c;
  color: #102e35;
  font-weight: 950;
}

.login-actions button {
  min-width: 160px;
  justify-content: center;
}

.route-landing .login-actions button.primary {
  border-color: #f5c84c;
  background: #f5c84c;
  color: #102e35;
}

.route-landing .login-actions button.primary:hover:not(:disabled),
.route-landing .login-actions button.primary:focus-visible {
  border-color: #f7d96d;
  background: #f7d96d;
  color: #102e35;
}

.cloud-connection-state {
  min-height: 100vh;
}

.connection-error {
  max-width: 720px;
  border: 1px solid rgb(245 200 76 / 0.45);
  border-radius: 8px;
  background: rgb(245 200 76 / 0.12);
  padding: 0.75rem 0.9rem;
  color: #f5c84c;
  font-weight: 900;
}

.login-card {
  padding: 1.5rem;
  align-self: center;
}

.route-landing .login-card {
  justify-self: end;
  width: min(100%, 320px);
  padding: 0;
  opacity: 0.96;
}

.login-card dl {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.login-card div {
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
}

.route-landing .login-card dl {
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.route-landing .login-card div {
  border-top-color: rgb(255 255 255 / 0.14);
  padding-top: 0.5rem;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0.1rem 0 0;
  font-weight: 700;
}

.eyebrow {
  color: var(--accent);
  font-family: var(--display-font);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.metric {
  padding: 1rem;
  min-height: 148px;
  border-top: 4px solid var(--primary);
}

.metric.impact {
  border-top-color: var(--green);
}

.metric.staff-elevation {
  border-top-color: var(--accent);
}

.metric.at-risk {
  border-top-color: var(--red);
}

.metric.approved {
  border-top-color: var(--green);
}

.metric span {
  color: var(--muted);
  font-weight: 700;
}

.metric strong {
  display: block;
  font-size: 2rem;
  margin: 0.45rem 0;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.cargo-manifest {
  display: grid;
  gap: 0.75rem;
}

.cargo-pillars-direct {
  margin-top: 1rem;
}

.cargo-anchor {
  display: block;
  min-height: 1px;
  scroll-margin-top: 1rem;
}

.cargo-group {
  overflow: hidden;
  border: 1px solid rgb(245 200 76 / 0.28);
  border-radius: 8px;
  background: var(--title-band);
  box-shadow: var(--shadow-soft);
}

.cargo-group > summary {
  cursor: pointer;
  border-left: 5px solid #f5c84c;
  background: var(--title-band);
  color: #fff;
}

.cargo-group > summary::before {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
}

.cargo-group > summary strong {
  color: #f5c84c;
  font-family: var(--display-font);
  font-weight: 400;
  text-transform: uppercase;
}

.cargo-group > summary small,
.cargo-group > summary .eyebrow {
  color: #d6e3e2;
}

.cargo-group > summary > span {
  background: #f5c84c;
  color: #102e35;
}

.cargo-group[open] > summary {
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}

.cargo-empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.85rem;
  border: 1px dashed rgb(16 46 53 / 0.2);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.72);
  color: #53666b;
  font-weight: 900;
}

.cargo-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.85rem;
  background: rgb(247 251 250 / 0.96);
}

.cargo-scope-card {
  display: grid;
  gap: 0.8rem;
  min-height: 210px;
  padding: 1rem;
  border: 1px solid rgb(16 46 53 / 0.16);
  border-left: 5px solid #f5c84c;
  border-radius: 8px;
  background: #fff;
  color: #102e35;
}

.cargo-scope-card span {
  color: #26737c;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.cargo-scope-card strong {
  display: block;
  margin-top: 0.2rem;
  color: #102e35;
  font-family: var(--display-font);
  font-size: 1.15rem;
  font-weight: 400;
}

.cargo-scope-card p {
  margin: 0.45rem 0 0;
  color: #53666b;
  font-size: 0.9rem;
  font-weight: 800;
}

.cargo-scope-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: auto 0 0;
}

.cargo-scope-card dl div {
  min-width: 0;
  padding-top: 0.45rem;
  border-top: 1px solid rgb(16 46 53 / 0.12);
}

.cargo-scope-card dt {
  color: #26737c;
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.cargo-scope-card dd {
  margin: 0.16rem 0 0;
  color: #102e35;
  font-size: 0.82rem;
  font-weight: 900;
}

.panel {
  padding: 1rem;
  overflow: hidden;
  border-top: 4px solid rgba(36, 95, 115, 0.32);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin: -0.15rem -0.15rem 0.95rem;
  padding: 0.15rem 0 0.75rem;
  border-bottom: 1px solid var(--line-strong);
}

.panel-head h2 {
  font-family: var(--display-font);
  font-weight: 400;
  margin: 0;
  color: var(--primary-strong);
  font-size: 1.2rem;
}

.panel-head span {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.76rem;
  font-weight: 900;
  padding: 0.18rem 0.55rem;
  white-space: nowrap;
}

.panel-head p,
.impact-category-head small,
.impact-program-head .eyebrow,
.workstream-category-head small {
  font-family: var(--body-font);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
}

.collapsible-panel > .collapsible-panel-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.collapsible-panel > .collapsible-panel-summary > :first-child {
  justify-self: start;
}

.collapsible-panel > .collapsible-panel-summary > :last-child {
  justify-self: end;
}

.collapsible-panel > .collapsible-panel-summary::-webkit-details-marker {
  display: none;
}

.collapsible-panel > .collapsible-panel-summary::before {
  content: "-";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #f5c84c;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 0.95rem;
  font-weight: 900;
}

.collapsible-panel:not([open]) > .collapsible-panel-summary {
  margin: 0 !important;
  padding: 0.68rem 1rem !important;
  border-bottom: 0 !important;
  border-left: 5px solid #f5c84c;
  border-radius: 8px;
  background: var(--title-band);
  color: #f7fbfa;
}

.collapsible-panel:not([open]) {
  padding: 0;
  border: 0 !important;
  background: transparent !important;
}

.collapsible-panel:not([open]) > .collapsible-panel-summary::before {
  content: "+";
  background: #f5c84c;
  color: var(--ink);
}

.collapsible-panel:not([open]) > .collapsible-panel-summary h2,
.collapsible-panel:not([open]) > .collapsible-panel-summary h3 {
  color: #f5c84c;
}

.collapsible-panel:not([open]) > .collapsible-panel-summary p,
.collapsible-panel:not([open]) > .collapsible-panel-summary .muted {
  display: none;
}

.collapsible-panel:not([open]) > .collapsible-panel-summary > span,
.collapsible-panel:not([open]) > .collapsible-panel-summary .impact-panel-actions > span {
  border-radius: 999px;
  background: #f5c84c;
  color: #174759;
  font-family: var(--display-font);
  font-weight: 400;
  padding: 0.24rem 0.62rem;
  text-transform: uppercase;
}

.collapsible-panel:not([open]) > .collapsible-panel-summary .fold-control {
  display: none;
}

.collapsible-panel:not([open]) > .collapsible-panel-summary button,
.collapsible-panel:not([open]) > .collapsible-panel-summary select,
.collapsible-panel:not([open]) > .collapsible-panel-summary label {
  display: none;
}

.collapsible-panel-body {
  display: grid;
  gap: 0.8rem;
}

.collapsible-panel-summary button,
.collapsible-panel-summary select,
.collapsible-panel-summary input,
.collapsible-panel-summary label {
  cursor: pointer;
}

.panel h2,
.panel h3,
.impact-program-head h3,
.user-role-group-head h3,
.workstream-category-head h3,
.report-card h3,
.login-card h3 {
  font-family: var(--display-font);
  font-weight: 400;
  letter-spacing: 0;
}

.workstream-row,
.compact-goal,
.config-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.5fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.objective-mini-line {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.35fr) auto;
  border: 1px solid #d4dfdb;
  border-radius: 8px;
  background: #fff;
  padding: 0.55rem 0.65rem;
}

.compact-goal-progress .progress {
  height: 14px;
  margin: 0;
  min-width: 110px;
}

.compact-goal-progress .progress b {
  font-size: 0.66rem;
}

.workstream-row small,
.goal-card small,
.compact-goal small,
.admin-row small {
  display: block;
}

.bar,
.progress {
  position: relative;
  height: 10px;
  background: var(--surface-soft);
  border-radius: 999px;
  overflow: hidden;
}

.bar span,
.progress span {
  display: block;
  height: 100%;
  background: var(--primary);
  border-radius: inherit;
}

.progress {
  height: 18px;
  margin: 0.85rem 0;
}

.progress b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.76rem;
  color: var(--ink);
}

.goal-card {
  border: 1px solid #d4dfdb;
  border-radius: 8px;
  padding: 0.65rem;
  margin-bottom: 0.75rem;
  background: #fff;
  box-shadow: 0 5px 16px rgba(31, 45, 49, 0.04);
}

.objective-line-card {
  padding: 0;
  overflow: hidden;
}

.objective-line-notes {
  border-top: 1px solid var(--line);
  padding: 0.45rem 0.65rem 0.6rem;
}

.objective-line-notes summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
}

.objective-line-notes p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

.goal-head,
.goal-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: flex-start;
}

.goal-meta {
  color: var(--muted);
  font-size: 0.86rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.badge.at-risk,
.badge.flagged,
.badge.update-requested,
.badge.missing-data {
  background: #f8e7e4;
  color: var(--red);
}

.badge.completed,
.badge.approved,
.badge.ready {
  background: #dff0e8;
  color: var(--green);
}

.badge.submitted,
.badge.needs-review,
.badge.in-progress {
  background: #fff0d6;
  color: var(--gold);
}

.table {
  display: grid;
  min-width: 820px;
}

.table-row {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.1fr 0.9fr 0.9fr 0.7fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.table-head {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.small {
  padding: 0.45rem 0.6rem;
}

.detail-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem;
  margin-bottom: 1rem;
}

.detail-hero h2 {
  margin: 0.2rem 0;
  font-size: 1.7rem;
}

.detail-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.detail-meta,
.action-list,
.connector-grid,
.export-buttons {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.detail-meta {
  align-content: flex-start;
  justify-content: flex-end;
}

.action-list button {
  min-width: 180px;
}

.section-kicker {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 1rem 0 0.2rem;
}

.evidence {
  margin: 0.4rem 0;
  padding: 0.55rem;
  background: var(--surface-soft);
  border-radius: 8px;
}

.upload-zone {
  display: grid;
  gap: 0.8rem;
  place-items: center;
  text-align: center;
  border: 1px dashed var(--primary);
  border-radius: 8px;
  padding: 1.6rem;
  background: #f4faf8;
  margin-bottom: 1rem;
}

.template-download-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary-strong);
  font-weight: 900;
  margin-bottom: 1rem;
  padding: 0.58rem 0.72rem;
  text-decoration: none;
}

.template-download-link:hover {
  border-color: var(--primary);
  background: var(--surface-soft);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.field-grid label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
}

.preview-table {
  overflow-x: auto;
}

.import-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.85rem;
}

.preview-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(140px, 1fr);
  border-top: 1px solid var(--line);
}

.preview-row span {
  padding: 0.6rem;
}

.preview-head {
  font-weight: 800;
  background: var(--surface-soft);
}

.validation-list {
  display: grid;
  gap: 0.75rem;
}

.validation-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem;
}

.validation-item p {
  margin: 0.2rem 0;
  color: var(--muted);
}

.validation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.report-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem;
  background: #fbfcfb;
}

.report-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.report-style-summary {
  margin-bottom: 1rem;
}

.report-style-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.report-style-row img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.report-style-row strong,
.report-style-row small {
  display: block;
}

.report-style-row small {
  margin-top: 0.15rem;
  color: var(--muted);
}

.admin-section {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
  width: 100%;
}

.admin-overview {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
  border-color: rgb(255 255 255 / 0.12);
  border-top-color: #f5c84c;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.02)),
    #102e35;
}

.admin-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-overview-head h2,
.admin-overview-head p {
  margin: 0;
}

.admin-overview-head h2 {
  color: #f7fbfa;
}

.admin-overview-head p {
  color: #d6e3e2;
  font-weight: 800;
}

.admin-overview-head > span {
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-weight: 800;
  padding: 0.22rem 0.55rem;
}

.shipyard-navigation {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}

.shipyard-overview-card,
.shipyard-card {
  border: 1px solid rgb(245 200 76 / 0.28);
  border-left: 5px solid #f5c84c;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.07);
  color: #f7fbfa;
  text-align: left;
}

.shipyard-overview-card {
  display: grid;
  gap: 0.2rem;
  align-content: center;
  min-height: 100%;
  padding: 1rem;
}

.shipyard-overview-card span {
  color: #d6e3e2;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shipyard-overview-card strong {
  color: #f5c84c;
  font-family: var(--display-font);
  font-size: 2.65rem;
  font-weight: 400;
  line-height: 1;
}

.shipyard-overview-card small {
  color: #f7fbfa;
  font-weight: 800;
}

.shipyard-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.shipyard-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.18rem 0.65rem;
  align-items: center;
  min-height: 86px;
  padding: 0.72rem;
}

.shipyard-overview-card:hover,
.shipyard-overview-card:focus-visible,
.shipyard-card:hover,
.shipyard-card:focus-visible {
  border-color: #f5c84c;
  background: rgb(245 200 76 / 0.13);
  outline: none;
}

.shipyard-card-icon {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #f5c84c;
  color: #102e35;
  font-size: 1.15rem;
  font-weight: 950;
}

.shipyard-card-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.shipyard-card-copy strong {
  color: #f5c84c;
  font-family: var(--display-font);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.shipyard-card-copy small {
  color: #d6e3e2;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.shipyard-card-meta {
  grid-column: 2;
  justify-self: start;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  color: #f7fbfa;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.1;
  padding: 0.18rem 0.48rem;
}

.vessel-admin-panel {
  display: grid;
  gap: 1rem;
}

.vessel-admin-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.vessel-directory {
  display: grid;
  gap: 0.65rem;
}

.vessel-directory-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-left: 5px solid rgb(245 200 76 / 0.36);
  border-radius: 8px;
  background: var(--surface);
  padding: 0.8rem;
}

.vessel-directory-card.active {
  border-left-color: #f5c84c;
  background: #102e35;
  color: #f7fbfa;
}

.vessel-directory-card strong,
.vessel-directory-card small {
  display: block;
}

.vessel-directory-card strong {
  color: inherit;
  font-size: 0.95rem;
  font-weight: 900;
}

.vessel-directory-card small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.vessel-directory-card.active small {
  color: #d6e3e2;
}

.vessel-directory-card span {
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.2rem 0.52rem;
  white-space: nowrap;
}

.new-vessel-card {
  display: grid;
  gap: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1rem;
}

.new-vessel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.new-vessel-grid label,
.new-vessel-admin label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.new-vessel-grid input,
.new-vessel-grid select {
  margin-top: 0.24rem;
  width: 100%;
}

.new-vessel-documents,
.crew-document-admin {
  display: grid;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(16 46 53 / 0.52);
  padding: 0.85rem;
}

.new-vessel-documents h4 {
  margin: 0;
  color: var(--primary-strong);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.new-vessel-documents small,
.crew-document-card small {
  color: var(--muted);
  font-weight: 800;
}

.document-requirement-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.document-requirement-row label,
.crew-document-card label {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
}

.new-vessel-admin {
  display: grid;
  gap: 0.65rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.new-vessel-admin h4 {
  margin: 0;
  color: var(--primary-strong);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.new-vessel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.new-vessel-footer small {
  color: var(--muted);
  font-weight: 800;
}

.client-fleet-admin {
  display: grid;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(16 46 53 / 0.72);
  padding: 1rem;
}

.client-fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.crew-document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.crew-document-card {
  display: grid;
  gap: 0.5rem;
  border: 1px solid rgb(245 200 76 / 0.28);
  border-left: 4px solid #f5c84c;
  border-radius: 8px;
  background: var(--surface);
  padding: 0.85rem;
}

.annual-review-card {
  grid-column: span 3;
}

.document-user-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  max-height: 12rem;
  overflow: auto;
  padding-right: 0.2rem;
}

.document-user-picker label {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.42rem 0.5rem;
}

.client-vessel-card {
  display: grid;
  gap: 0.8rem;
  border: 1px solid rgb(245 200 76 / 0.36);
  border-left: 5px solid #f5c84c;
  border-radius: 8px;
  background: var(--surface);
  padding: 0.95rem;
}

.client-vessel-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.client-vessel-card-head strong {
  color: var(--primary-strong);
  font-size: 1rem;
  font-weight: 900;
}

.client-vessel-card-head span {
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.2rem 0.52rem;
  white-space: nowrap;
}

.fleet-crew-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
  max-height: 13rem;
  overflow: auto;
  padding-right: 0.15rem;
}

.fleet-crew-picker label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.42rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 850;
  padding: 0.42rem 0.5rem;
}

.fleet-crew-picker small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
}

.admin-jump-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
}

.admin-setup-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.admin-setup-card {
  display: grid;
  gap: 0.18rem;
  align-content: start;
  min-height: 82px;
  padding: 0.62rem;
  text-align: left;
  border-color: var(--title-band);
  background: var(--title-band);
  color: #fff;
}

.admin-setup-card span {
  color: #d6e3e2;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-setup-card strong {
  color: #f5c84c;
  font-family: var(--display-font);
  font-size: 1.08rem;
  font-weight: 400;
  text-transform: uppercase;
}

.admin-setup-card small {
  color: #d6e3e2;
  font-size: 0.74rem;
  line-height: 1.25;
}

.admin-setup-card:hover {
  border-color: #f5c84c;
}

.admin-setup-card:hover strong {
  color: #fff;
}

.admin-compass-navigation {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 320px;
  padding: 1rem;
  border: 1px solid rgb(245 200 76 / 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 19% 50%, rgb(245 200 76 / 0.18), transparent 15rem),
    linear-gradient(135deg, #102e35 0%, #193f49 100%);
  overflow: hidden;
}

.admin-compass-rose {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 260px);
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #193f49 0 27%, transparent 28%),
    conic-gradient(from 45deg, rgb(245 200 76 / 0.22) 0 12.5%, transparent 12.5% 25%, rgb(245 200 76 / 0.16) 25% 37.5%, transparent 37.5% 50%, rgb(245 200 76 / 0.22) 50% 62.5%, transparent 62.5% 75%, rgb(245 200 76 / 0.16) 75% 87.5%, transparent 87.5%),
    #102e35;
  box-shadow: inset 0 0 0 2px rgb(245 200 76 / 0.46), inset 0 0 0 16px rgb(255 255 255 / 0.04), 0 18px 38px rgb(0 0 0 / 0.24);
}

.admin-compass-ring {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgb(245 200 76 / 0.55);
  border-radius: 50%;
}

.admin-compass-cross {
  position: absolute;
  border-radius: 999px;
  background: rgb(245 200 76 / 0.32);
}

.admin-compass-cross.north-south {
  width: 2px;
  height: 76%;
}

.admin-compass-cross.east-west {
  width: 76%;
  height: 2px;
}

.admin-compass-needle {
  position: absolute;
  width: 28%;
  height: 78%;
  background:
    linear-gradient(180deg, #f5c84c 0 47%, #e94d3d 47% 54%, #eef4f0 54% 100%);
  clip-path: polygon(50% 0, 66% 47%, 54% 47%, 54% 100%, 46% 100%, 46% 47%, 34% 47%);
  filter: drop-shadow(0 8px 10px rgb(0 0 0 / 0.28));
  transform: rotate(28deg);
}

.admin-compass-center {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid #f5c84c;
  border-radius: 50%;
  background: #f8fbfa;
  color: #102e35;
  font-family: "Photograph Signature", "Brush Script MT", "Segoe Script", cursive;
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
  text-transform: lowercase;
}

.admin-compass-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.admin-compass-point {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.08rem 0.48rem;
  align-content: start;
  min-height: 104px;
  padding: 0.72rem;
  border: 1px solid rgb(245 200 76 / 0.28);
  border-left: 4px solid #f5c84c;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.08);
  color: #f7fbfa;
  text-align: left;
}

.admin-compass-point:hover,
.admin-compass-point:focus-visible {
  border-color: #f5c84c;
  background: rgb(245 200 76 / 0.13);
  outline: none;
}

.admin-compass-bearing {
  grid-row: span 3;
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #f5c84c;
  color: #102e35;
  font-size: 0.68rem;
  font-weight: 950;
}

.admin-compass-point strong,
.admin-compass-point small,
.admin-compass-point em {
  display: block;
  min-width: 0;
}

.admin-compass-point strong {
  color: #f5c84c;
  font-family: var(--display-font);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}

.admin-compass-point small {
  color: #f7fbfa;
  font-size: 0.76rem;
  font-weight: 900;
}

.admin-compass-point em {
  grid-column: 2;
  color: #d6e3e2;
  font-size: 0.7rem;
  font-style: normal;
  line-height: 1.18;
}

.admin-jump-nav button,
.admin-subnav button {
  border: 1px solid var(--title-band);
  border-radius: 8px;
  background: var(--title-band);
  color: #f5c84c;
  font-family: var(--display-font);
  font-weight: 400;
  padding: 0.48rem 0.58rem;
  text-align: center;
  text-transform: uppercase;
}

.admin-jump-nav button:hover,
.admin-subnav button:hover {
  border-color: #f5c84c;
  color: #fff;
}

.admin-subnav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.85rem 0;
}

.admin-collapsible {
  margin-bottom: 1rem;
  scroll-margin-top: 1rem;
}

.admin-collapsible > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--title-band);
  border-left: 5px solid #f5c84c;
  border-radius: 8px;
  background: var(--title-band);
  color: #fff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  padding: 0.85rem 1rem;
}

.admin-collapsible > summary::-webkit-details-marker {
  display: none;
}

.admin-collapsible > summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #f5c84c;
  color: var(--ink);
  flex: 0 0 auto;
}

.admin-collapsible[open] > summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: var(--title-band);
  border-color: var(--title-band);
  color: #fff;
}

.admin-collapsible[open] > summary::before {
  content: "-";
  background: #f5c84c;
  color: var(--ink);
}

.admin-collapsible > summary span {
  flex: 1;
  color: #f5c84c;
  font-family: var(--display-font);
  font-size: 1.02rem;
  font-weight: 400;
  text-transform: uppercase;
}

.admin-collapsible > summary small {
  color: #d6e3e2;
  font-weight: 700;
}

.admin-collapsible[open] > summary small {
  color: #d6e3e2;
}

.admin-back-top {
  display: block;
  margin: 0.75rem 0 0 auto;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-weight: 800;
}

.admin-date-requests {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  padding: 0.8rem;
  border: 1px solid rgb(245 200 76 / 0.42);
  border-radius: 8px;
  background: #12343f;
}

.admin-date-requests-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-date-requests-head h3 {
  margin: 0;
  color: #f5c84c;
  font-family: var(--display-font);
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
}

.admin-date-requests-head span {
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.18rem 0.55rem;
}

.admin-date-request-list {
  display: grid;
  gap: 0.5rem;
}

.admin-date-request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-left: 5px solid #f5c84c;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.08);
  padding: 0.65rem;
}

.admin-date-request-card span,
.admin-date-request-card small {
  color: #d7e5e2;
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-date-request-card span {
  color: #f5c84c;
  text-transform: uppercase;
}

.admin-date-request-card strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}

.admin-date-request-meta {
  display: grid;
  justify-items: end;
  gap: 0.38rem;
}

.admin-date-request-meta button {
  border: 1px solid #f5c84c;
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.42rem 0.75rem;
  text-transform: uppercase;
}

.admin-collapsible > .panel,
.admin-collapsible > section {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0;
}

.admin-collapsible > .panel > .panel-head:first-child,
.admin-collapsible > section > .panel-head:first-child {
  display: none;
}

.admin-users-panel {
  width: 100%;
  max-width: none;
  overflow: visible;
}

.admin-users-list {
  display: grid;
  gap: 0.85rem;
}

.admin-users-groups {
  display: grid;
  gap: 1rem;
}

.user-role-group {
  display: grid;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--section-tint);
  padding: 0.75rem;
}

.user-role-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0 0 0.55rem;
  border-bottom: 2px solid #d9e4df;
}

.user-role-group-head h3 {
  margin: 0;
  color: var(--primary-strong);
  font-size: 1rem;
  text-transform: uppercase;
}

.user-role-group-head span {
  min-width: 28px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.12rem 0.45rem;
  text-align: center;
}

.user-admin-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.35fr);
  gap: 0.8rem;
  margin-bottom: 0.45rem;
}

.filter-result {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.seat-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
  border-left: 4px solid #f5c84c;
}

.seat-actions span {
  color: var(--primary-strong);
  font-weight: 800;
}

.admin-user-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fafbf8;
  box-shadow: 0 8px 22px rgba(20, 46, 52, 0.08);
  width: 100%;
}

.user-card-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
}

.user-card-summary > div {
  min-width: 0;
}

.user-card-summary strong {
  display: block;
}

.user-card-summary small {
  display: block;
  margin-top: 0.2rem;
}

.user-photo {
  object-fit: cover;
}

.user-edit-details summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.user-edit-details[open] {
  display: grid;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}

.admin-user-fields {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.85fr) minmax(260px, 1.25fr) minmax(150px, 0.7fr);
  gap: 0.7rem;
  align-items: end;
  min-width: 0;
}

.user-profile-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.7rem;
}

.user-profile-details summary {
  color: var(--primary-strong);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.user-profile-details[open] {
  display: grid;
  gap: 0.75rem;
}

.user-profile-fields,
.user-document-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 0.7rem;
}

.user-profile-fields .profile-wide {
  grid-column: span 3;
}

.user-profile-fields .profile-checkbox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  min-height: 42px;
  color: var(--text);
}

.user-profile-fields .profile-checkbox input {
  width: auto;
  min-width: 0;
}

.user-document-field {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.user-document-field legend {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0 0.25rem;
  text-transform: uppercase;
}

.user-document-field small {
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.user-document-field a {
  color: var(--primary-strong);
}

.user-admin-tools label,
.admin-user-card label {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  min-width: 0;
}

.user-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.user-card-footer small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

.user-assignment-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
  padding: 0.65rem;
}

.user-assignment-details summary {
  color: var(--primary-strong);
  font-family: var(--display-font);
  font-weight: 400;
}

.user-assignment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.65rem;
}

.assignment-box {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  border: 1px solid #d7e2de;
  border-radius: 8px;
  background: #fff;
  padding: 0.7rem;
}

.assignment-box strong,
.assignment-box small {
  display: block;
}

.assignment-box strong {
  color: var(--primary-strong);
  font-family: var(--display-font);
  font-size: 0.9rem;
  font-weight: 400;
}

.assignment-box small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.assignment-checks {
  display: grid;
  gap: 0.28rem;
  max-height: 150px;
  overflow-y: auto;
  padding: 0.1rem;
}

.assignment-checks.grouped {
  gap: 0.4rem;
  max-height: 230px;
}

.assignment-check-category,
.assignment-check-group {
  border: 1px solid #d4dfdb;
  border-radius: 8px;
  background: #fbfdfc;
}

.assignment-check-category {
  border-color: var(--title-band);
  background: #eef4f0;
}

.assignment-check-category > summary,
.assignment-check-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  background: #eef4f1;
  color: var(--primary-strong);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.assignment-check-category > summary {
  border-left: 4px solid #f5c84c;
  border-radius: 8px;
  background: var(--title-band);
  color: #f5c84c;
  font-family: var(--display-font);
  font-weight: 400;
  text-transform: uppercase;
}

.assignment-check-category > summary::-webkit-details-marker,
.assignment-check-group summary::-webkit-details-marker {
  display: none;
}

.assignment-check-category > summary::before,
.assignment-check-group summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #f5c84c;
  color: var(--ink);
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 900;
}

.assignment-check-category[open] > summary::before,
.assignment-check-group[open] > summary::before {
  content: "-";
}

.assignment-check-category > summary b,
.assignment-check-group summary b {
  min-width: 24px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.72rem;
  padding: 0.1rem 0.38rem;
  text-align: center;
}

.assignment-check-category > summary b {
  background: rgb(255 255 255 / 0.12);
  color: #d6e3e2;
}

.assignment-check-category-list {
  display: grid;
  gap: 0.42rem;
  padding: 0.5rem;
}

.assignment-group-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  color: var(--primary-strong);
  cursor: pointer;
}

.assignment-group-toggle input {
  width: auto;
  margin: 0;
}

.assignment-group-toggle span {
  min-width: 0;
}

.assignment-check-sublist {
  display: grid;
  gap: 0.28rem;
  padding: 0 0.55rem 0.5rem;
}

.assignment-checks label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
}

.assignment-checks input {
  width: auto;
  margin-top: 0.18rem;
}

.assignment-checks span {
  min-width: 0;
  line-height: 1.25;
}

.assignment-checks span small {
  display: block;
  margin-top: 0.08rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.user-assignment-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.admin-user-card input,
.admin-user-card select,
.admin-user-card textarea,
.user-admin-tools input,
.user-admin-tools select,
.employee-goal-fields input,
.employee-goal-fields select,
.workstream-admin-tools input,
.workstream-admin-tools select,
.workstream-card-fields input,
.workstream-card-fields select,
.workstream-description-label input,
.fundraising-admin-tools input,
.fundraising-admin-tools select,
.fundraising-card-fields input,
.fundraising-card-fields select,
.client-model-fields input,
.client-model-fields select,
.category-champion-control select {
  width: 100%;
  min-width: 0;
  font-weight: 400;
  color: var(--ink);
}

.save-user-button {
  min-width: 140px;
  white-space: nowrap;
}

@media (max-width: 1450px) {
  .admin-user-fields {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
}

.small-avatar {
  width: 34px;
  height: 34px;
  font-size: 0.8rem;
}

.config-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-workstreams {
  margin: 1rem 0;
}

.admin-scope-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.admin-scope-overview article {
  display: grid;
  gap: 0.12rem;
  padding: 0.72rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #f8faf7;
}

.admin-scope-overview span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.admin-scope-overview strong {
  color: var(--primary-strong);
  font-size: 1.15rem;
  line-height: 1.1;
}

.admin-scope-overview small {
  font-size: 0.72rem;
  line-height: 1.2;
}

.admin-fundraising {
  margin: 1rem 0;
  overflow: visible;
}

.fundraising-portfolio-summary {
  margin-bottom: 1rem;
}

.portfolio-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 0.85rem;
}

.portfolio-category-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.55rem;
}

.portfolio-category-strip article,
.portfolio-due-list {
  display: grid;
  gap: 0.16rem;
  border: 1px solid #d4dfdb;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  background: #fff;
  padding: 0.72rem;
}

.my-goals-command,
.impact-overview,
.results-command,
.results-overview,
.reporting-command {
  margin-bottom: 1rem;
}

.route-my-goals .my-goals-command,
.route-results .results-command,
.route-results .results-overview,
.route-reporting .reporting-command {
  border-color: var(--title-band);
  background: var(--title-band);
  color: #f7fbfa;
  box-shadow: 0 22px 50px rgb(0 0 0 / 0.2);
}

.route-my-goals .my-goals-command h2,
.route-results .results-command h2,
.route-results .results-overview h2,
.route-reporting .reporting-command h2 {
  color: #f5c84c;
  font-family: var(--display-font);
  font-weight: 400;
  text-transform: uppercase;
}

.route-my-goals .my-goals-command .muted,
.route-results .results-command .muted,
.route-results .results-overview .muted,
.route-reporting .reporting-command .muted,
.route-my-goals .my-goals-command .panel-head > span,
.route-results .results-command .panel-head > span,
.route-results .results-overview .panel-head > span,
.route-reporting .reporting-command .panel-head > span {
  color: #d6e3e2;
}

.route-my-goals .my-goals-command .panel-head > span,
.route-results .results-command .panel-head > span,
.route-reporting .reporting-command .panel-head > span {
  border-radius: 999px;
  background: #f5c84c;
  color: #174759;
  font-family: var(--display-font);
  font-size: 0.84rem;
  font-weight: 400;
  padding: 0.24rem 0.62rem;
  text-transform: uppercase;
}

.route-my-goals .my-goals-command,
.route-results .results-command {
  padding: 0.9rem 1rem;
}

.route-my-goals .my-goals-command .panel-head,
.route-results .results-command .panel-head {
  align-items: center;
  margin-bottom: 0.7rem;
  padding-bottom: 0.65rem;
  border-bottom-color: rgb(255 255 255 / 0.14);
}

.goals-command-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.goals-command-summary span {
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  color: #f7fbfa;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.22rem 0.55rem;
}

.route-my-goals .manual-reporting-panel,
.route-my-goals .my-foundation-goals-panel,
.route-my-goals .personal-share-panel,
.route-my-goals .my-goals-assigned-panel,
.route-results .results-foundation-panel,
.route-results .personal-share-panel,
.route-results .results-detail-panel,
.route-results .staff-data-entry-panel,
.route-results .staff-self-scoring,
.route-results .staff-hr-review {
  border-color: var(--title-band);
  background: #eef4f0;
  box-shadow: 0 16px 36px rgb(0 0 0 / 0.16);
  overflow: hidden;
  padding-top: 0;
}

.route-reporting .main > .panel:not(.reporting-command),
.route-reporting .manual-reporting-panel {
  border-color: var(--title-band);
  background: #eef4f0;
  box-shadow: 0 16px 36px rgb(0 0 0 / 0.16);
  overflow: hidden;
  padding-top: 0;
}

.route-my-goals .personal-share-panel {
  margin-bottom: 1rem;
}

.route-my-goals .main > .my-goals-group {
  display: block;
  margin-bottom: 1rem;
  overflow: hidden;
}

.route-my-goals .main > .my-goals-group:last-child {
  margin-bottom: 0;
}

.route-my-goals .manual-reporting-panel > .panel-head,
.route-my-goals .my-foundation-goals-panel > .panel-head,
.route-my-goals .personal-share-panel > .panel-head,
.route-my-goals .my-goals-assigned-panel > .panel-head,
.route-results .results-foundation-panel > .panel-head,
.route-results .personal-share-panel > .panel-head,
.route-results .results-detail-panel > .panel-head,
.route-results .staff-data-entry-panel > .panel-head,
.route-results .staff-self-scoring > .panel-head,
.route-results .staff-hr-review > .panel-head {
  margin: 0 -1rem 0.85rem;
  padding: 0.78rem 1rem;
  border-bottom: 0;
  border-left: 5px solid #f5c84c;
  background: var(--title-band);
  color: #f7fbfa;
}

.route-reporting .main > .panel:not(.reporting-command) > .panel-head,
.route-reporting .manual-reporting-panel > .panel-head {
  margin: 0 -1rem 0.85rem;
  padding: 0.78rem 1rem;
  border-bottom: 0;
  border-left: 5px solid #f5c84c;
  background: var(--title-band);
  color: #f7fbfa;
}

.manual-reporting-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
  list-style: none;
}

.manual-reporting-summary::-webkit-details-marker {
  display: none;
}

.manual-reporting-summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #f5c84c;
  color: var(--ink);
  flex: 0 0 auto;
  font-weight: 900;
}

.manual-reporting-panel[open] .manual-reporting-summary::before {
  content: "-";
}

.manual-reporting-panel:not([open]) .manual-reporting-summary {
  margin: 0 !important;
  padding: 0.68rem 1rem !important;
  border-bottom: 0 !important;
  border-left: 5px solid #f5c84c;
  border-radius: 8px;
  background: var(--title-band);
  color: #f7fbfa;
}

.manual-reporting-panel:not([open]) {
  padding: 0;
  border: 0 !important;
  background: transparent !important;
}

.manual-reporting-panel:not([open]) .manual-reporting-summary h2 {
  color: #f5c84c;
}

.manual-reporting-panel:not([open]) .manual-reporting-summary p {
  display: none;
}

.manual-reporting-panel:not([open]) .manual-reporting-summary > span {
  border-radius: 999px;
  background: #f5c84c;
  color: #174759;
  font-family: var(--display-font);
  font-weight: 400;
  padding: 0.24rem 0.62rem;
  text-transform: uppercase;
}

.route-my-goals .manual-reporting-panel > .panel-head h2,
.route-my-goals .my-foundation-goals-panel > .panel-head h2,
.route-my-goals .personal-share-panel > .panel-head h2,
.route-my-goals .my-goals-assigned-panel > .panel-head h2,
.route-results .results-foundation-panel > .panel-head h2,
.route-results .personal-share-panel > .panel-head h2,
.route-results .results-detail-panel > .panel-head h2,
.route-results .staff-data-entry-panel > .panel-head h2,
.route-results .staff-self-scoring > .panel-head h2,
.route-results .staff-hr-review > .panel-head h2 {
  color: #f5c84c;
  font-family: var(--display-font);
  font-size: 1.03rem;
  font-weight: 400;
  text-transform: uppercase;
}

.route-reporting .main > .panel:not(.reporting-command) > .panel-head h2,
.route-reporting .manual-reporting-panel > .panel-head h2 {
  color: #f5c84c;
  font-family: var(--display-font);
  font-size: 1.03rem;
  font-weight: 400;
  text-transform: uppercase;
}

.route-my-goals .manual-reporting-panel > .panel-head p,
.route-my-goals .manual-reporting-panel > .panel-head span,
.route-my-goals .my-foundation-goals-panel > .panel-head p,
.route-my-goals .my-foundation-goals-panel > .panel-head span,
.route-my-goals .personal-share-panel > .panel-head p,
.route-my-goals .personal-share-panel > .panel-head span,
.route-my-goals .my-goals-assigned-panel > .panel-head span,
.route-results .results-foundation-panel > .panel-head p,
.route-results .results-foundation-panel > .panel-head span,
.route-results .personal-share-panel > .panel-head p,
.route-results .personal-share-panel > .panel-head span,
.route-results .results-detail-panel > .panel-head span,
.route-results .staff-data-entry-panel > .panel-head p,
.route-results .staff-data-entry-panel > .panel-head span,
.route-results .staff-self-scoring > .panel-head p,
.route-results .staff-self-scoring > .panel-head span,
.route-results .staff-hr-review > .panel-head p,
.route-results .staff-hr-review > .panel-head span {
  color: #d6e3e2;
}

.route-reporting .main > .panel:not(.reporting-command) > .panel-head p,
.route-reporting .manual-reporting-panel > .panel-head p,
.route-reporting .manual-reporting-panel > .panel-head span:not(:last-child) {
  color: #d6e3e2;
}

.route-my-goals .my-foundation-goals-panel > .panel-head > span,
.route-my-goals .personal-share-panel > .panel-head > span,
.route-my-goals .my-goals-assigned-panel > .panel-head .impact-panel-actions > span,
.route-results .results-foundation-panel > .panel-head > span,
.route-results .personal-share-panel > .panel-head > span,
.route-results .results-detail-panel > .panel-head .impact-panel-actions > span,
.route-results .staff-data-entry-panel > .panel-head .impact-panel-actions > span,
.route-results .staff-self-scoring > .panel-head > span,
.route-results .staff-hr-review > .panel-head > span {
  border-radius: 999px;
  background: #f5c84c;
  color: #2f7d59;
  font-family: var(--display-font);
  font-size: 0.84rem;
  font-weight: 400;
  padding: 0.24rem 0.62rem;
  text-transform: uppercase;
}

.route-reporting .main > .panel:not(.reporting-command) > .panel-head > span,
.route-reporting .manual-reporting-panel > .panel-head > span {
  border-radius: 999px;
  background: #f5c84c;
  color: #174759;
  font-family: var(--display-font);
  font-size: 0.84rem;
  font-weight: 400;
  padding: 0.24rem 0.62rem;
  text-transform: uppercase;
}

.foundation-goals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.organization-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin: -0.1rem 0 0.85rem;
}

.organization-status-strip span {
  border: 1px solid #cbd8d4;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.22rem 0.55rem;
  white-space: nowrap;
}

.foundation-goal-card {
  display: grid;
  gap: 0.48rem;
  min-width: 0;
  border: 1px solid #cbd8d4;
  border-left: 4px solid #f5c84c;
  border-radius: 8px;
  background: #fbfcfb;
  padding: 0.72rem;
}

.foundation-goal-card span,
.foundation-goal-card strong,
.foundation-goal-card small {
  display: block;
}

.foundation-goal-card span {
  color: var(--primary-strong);
  font-family: var(--display-font);
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
}

.foundation-goal-card strong {
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
}

.foundation-goal-card small {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.25;
}

.foundation-goal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.foundation-goal-meta small {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-weight: 900;
  padding: 0.1rem 0.38rem;
}

.personal-share-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}

.mission-share-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  border: 1px solid #cbd8d4;
  border-left: 4px solid #f5c84c;
  border-radius: 8px;
  background: #fbfcfb;
  padding: 0.85rem;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.mission-share-ring {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fbfcfb 0 55%, transparent 56%),
    conic-gradient(#f5c84c var(--share), #d9e5e0 0);
}

.mission-share-ring strong,
.mission-share-ring small,
.mission-share-hero span,
.mission-share-hero strong,
.mission-share-hero small {
  display: block;
}

.mission-share-ring strong {
  color: var(--title-band);
  font-family: var(--display-font);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

.mission-share-ring small {
  color: var(--muted);
  font-size: 0.66rem;
}

.mission-share-hero span {
  color: var(--primary-strong);
  font-family: var(--display-font);
  font-size: 0.86rem;
  font-weight: 400;
  text-transform: uppercase;
}

.mission-share-hero > div:last-child strong {
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  margin: 0.18rem 0;
}

.mission-share-hero > div:last-child small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.25;
}

.personal-share-family-list {
  display: grid;
  gap: 0.45rem;
}

.personal-share-family {
  display: grid;
  grid-template-columns: minmax(160px, 0.58fr) minmax(140px, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  border: 1px solid #cbd8d4;
  border-radius: 8px;
  background: #fbfcfb;
  padding: 0.58rem 0.65rem;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

button.personal-share-family {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
}

.compass-route-card {
  min-height: 74px;
}

.compass-subpage-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.45fr);
}

.compass-subpage-actions {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.compass-subpage-actions button {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgb(245 200 76 / 0.52);
  background: rgb(255 255 255 / 0.08);
  color: #f5c84c;
  font-family: var(--din-font);
  font-size: 0.8rem;
  font-weight: 950;
  padding: 0.55rem 0.85rem;
  text-transform: uppercase;
}

.compass-subpage-actions button.primary,
.compass-subpage-actions button:hover,
.compass-subpage-actions button:focus-visible {
  background: #f5c84c;
  color: #102e35;
  outline: none;
}

.compass-subpage-body {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.compass-subpage-body > .staff-delivery-block {
  margin: 0;
}

.mission-share-hero:hover,
.mission-share-hero:focus-visible,
.personal-share-family:hover,
.personal-share-family:focus-visible {
  border-color: #f5c84c;
  box-shadow: 0 10px 22px rgba(16, 46, 53, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.focus-pulse {
  animation: focusPulse 0.9s ease;
}

@keyframes focusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 200, 76, 0.68);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(245, 200, 76, 0);
  }
}

.personal-share-family strong,
.personal-share-family small {
  display: block;
}

.personal-share-family strong {
  color: var(--primary-strong);
  font-family: var(--display-font);
  font-size: 0.82rem;
  font-weight: 400;
  text-transform: uppercase;
}

.personal-share-family small {
  color: var(--muted);
  font-size: 0.72rem;
}

.personal-share-track {
  height: 12px;
  border-radius: 999px;
  background: #d9e5e0;
  overflow: hidden;
}

.personal-share-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f5c84c, #62c6b2);
}

.personal-share-family b {
  min-width: 42px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.76rem;
  font-weight: 900;
  padding: 0.12rem 0.4rem;
  text-align: center;
}

.my-goals-assigned-panel,
.my-goals-group,
.results-detail-panel,
.result-detail-group {
  scroll-margin-top: 116px;
}

.fundraising-money-share {
  border-left: 4px solid #f5c84c;
  background: #fffdf2;
}

.fundraising-money-share strong {
  color: #2f7d59;
}

.fundraising-money-share small {
  color: #102e35;
  font-size: 0.78rem;
  font-weight: 900;
}

.money-track span {
  background: linear-gradient(90deg, #2f7d59, #f5c84c);
}

.fundraising-money-share b {
  background: #f5c84c;
  color: #2f7d59;
}

.route-my-goals .my-goals-assigned-panel .impact-panel-actions > span,
.route-results .results-detail-panel .impact-panel-actions > span {
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  color: #d6e3e2;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.2rem 0.55rem;
}

.route-my-goals .my-goals-assigned-panel .fold-control,
.route-results .results-detail-panel .fold-control {
  border-color: rgb(255 255 255 / 0.18);
  background: rgb(255 255 255 / 0.08);
  box-shadow: none;
}

.route-my-goals .my-goals-assigned-panel .impact-panel-actions .fold-control button,
.route-results .results-detail-panel .impact-panel-actions .fold-control button {
  min-width: 58px;
  background: transparent;
  color: #f5c84c;
  font-family: var(--body-font);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.24rem 0.48rem;
  text-transform: uppercase;
}

.route-my-goals .my-goals-assigned-panel .impact-panel-actions .fold-control button + button,
.route-results .results-detail-panel .impact-panel-actions .fold-control button + button {
  border-left-color: rgb(255 255 255 / 0.18);
}

.route-my-goals .my-goals-assigned-panel .impact-panel-actions .fold-control button:hover:not(:disabled),
.route-results .results-detail-panel .impact-panel-actions .fold-control button:hover:not(:disabled) {
  background: #f5c84c;
  color: #102e35;
}

.route-results .results-detail-panel,
.route-results .staff-self-scoring,
.route-results .staff-hr-review {
  border-color: rgb(255 255 255 / 0.14);
  background: linear-gradient(180deg, #12343f 0%, #0f303a 100%);
}

.route-results .compass-direct-panel.results-detail-panel {
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.route-my-goals .direct-progress-panel,
.route-governance .direct-progress-panel,
.route-detail .direct-progress-panel,
.route-reporting .direct-progress-panel {
  padding: 0;
  margin-bottom: 1rem;
  overflow: visible;
  border: 0;
  background: transparent !important;
  box-shadow: none;
}

.route-my-goals .direct-progress-panel .mission-share-hero,
.route-my-goals .direct-progress-panel .personal-share-family,
.route-governance .direct-progress-panel .mission-share-hero,
.route-governance .direct-progress-panel .personal-share-family,
.route-detail .direct-progress-panel .mission-share-hero,
.route-detail .direct-progress-panel .personal-share-family,
.route-reporting .direct-progress-panel .mission-share-hero,
.route-reporting .direct-progress-panel .personal-share-family {
  border-color: rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.07);
  color: #f7fbfa;
}

.route-my-goals .direct-progress-panel .mission-share-ring,
.route-governance .direct-progress-panel .mission-share-ring,
.route-detail .direct-progress-panel .mission-share-ring,
.route-reporting .direct-progress-panel .mission-share-ring {
  background:
    radial-gradient(circle at center, #12343f 0 55%, transparent 56%),
    conic-gradient(#f5c84c var(--share), rgb(255 255 255 / 0.16) 0);
}

.route-my-goals .direct-progress-panel .mission-share-ring strong,
.route-my-goals .direct-progress-panel .mission-share-hero > div:last-child strong,
.route-my-goals .direct-progress-panel .personal-share-family strong,
.route-governance .direct-progress-panel .mission-share-ring strong,
.route-governance .direct-progress-panel .mission-share-hero > div:last-child strong,
.route-governance .direct-progress-panel .personal-share-family strong,
.route-detail .direct-progress-panel .mission-share-ring strong,
.route-detail .direct-progress-panel .mission-share-hero > div:last-child strong,
.route-detail .direct-progress-panel .personal-share-family strong,
.route-reporting .direct-progress-panel .mission-share-ring strong,
.route-reporting .direct-progress-panel .mission-share-hero > div:last-child strong,
.route-reporting .direct-progress-panel .personal-share-family strong {
  color: #f7fbfa;
}

.route-my-goals .direct-progress-panel .mission-share-ring small,
.route-my-goals .direct-progress-panel .mission-share-hero small,
.route-my-goals .direct-progress-panel .personal-share-family small,
.route-governance .direct-progress-panel .mission-share-ring small,
.route-governance .direct-progress-panel .mission-share-hero small,
.route-governance .direct-progress-panel .personal-share-family small,
.route-detail .direct-progress-panel .mission-share-ring small,
.route-detail .direct-progress-panel .mission-share-hero small,
.route-detail .direct-progress-panel .personal-share-family small,
.route-reporting .direct-progress-panel .mission-share-ring small,
.route-reporting .direct-progress-panel .mission-share-hero small,
.route-reporting .direct-progress-panel .personal-share-family small {
  color: #d6e3e2;
}

.route-my-goals .direct-progress-panel .mission-share-hero span,
.route-governance .direct-progress-panel .mission-share-hero span,
.route-detail .direct-progress-panel .mission-share-hero span,
.route-reporting .direct-progress-panel .mission-share-hero span {
  color: #f5c84c;
}

.route-my-goals .direct-progress-panel .fundraising-money-share,
.route-governance .direct-progress-panel .governance-progress-card,
.route-detail .direct-progress-panel .fundraising-money-share,
.route-reporting .direct-progress-panel .fundraising-money-share {
  border-left-color: #f5c84c;
  background: rgb(245 200 76 / 0.12);
}

.route-my-goals .direct-progress-panel .personal-share-family b,
.route-governance .direct-progress-panel .personal-share-family b,
.route-detail .direct-progress-panel .personal-share-family b,
.route-reporting .direct-progress-panel .personal-share-family b {
  background: #f5c84c;
  color: #102e35;
}

.route-my-goals .direct-progress-panel .personal-share-track,
.route-governance .direct-progress-panel .personal-share-track,
.route-detail .direct-progress-panel .personal-share-track,
.route-reporting .direct-progress-panel .personal-share-track {
  background: rgb(255 255 255 / 0.16);
}

.route-results .results-detail-panel .organization-status-strip span {
  border-color: rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.08);
  color: #d6e3e2;
}

.route-results .results-detail-panel .mission-share-hero,
.route-results .results-detail-panel .personal-share-family {
  border-color: rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.07);
}

.route-results .results-detail-panel .mission-share-ring {
  background:
    radial-gradient(circle at center, #12343f 0 55%, transparent 56%),
    conic-gradient(#f5c84c var(--share), rgb(255 255 255 / 0.16) 0);
}

.route-results .results-detail-panel .mission-share-ring strong,
.route-results .results-detail-panel .mission-share-hero > div:last-child strong,
.route-results .results-detail-panel .personal-share-family strong {
  color: #f7fbfa;
}

.route-results .results-detail-panel .mission-share-ring small,
.route-results .results-detail-panel .mission-share-hero small,
.route-results .results-detail-panel .personal-share-family small {
  color: #d6e3e2;
}

.route-results .results-detail-panel .mission-share-hero span {
  color: #f5c84c;
}

.route-results .results-detail-panel .fundraising-money-share {
  border-left-color: #f5c84c;
  background: rgb(245 200 76 / 0.12);
}

.route-results .results-detail-panel .personal-share-family b {
  background: #f5c84c;
  color: #102e35;
}

.route-results .results-detail-panel .personal-share-track {
  background: rgb(255 255 255 / 0.16);
}

.route-results .results-detail-panel .staff-section-block {
  border-color: rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.04);
}

.route-results .results-detail-panel .staff-section-block:not([open]) {
  background: transparent;
}

.route-results .results-detail-panel .staff-delivery-block.staff-section-block {
  background: rgb(255 255 255 / 0.04);
}

.route-results .results-detail-panel .staff-section-body {
  background: rgb(255 255 255 / 0.05);
}

.route-results .results-detail-panel .staff-section-summary {
  background: #12343f;
  border-left: 5px solid #f5c84c;
}

.route-results .results-detail-panel .staff-section-summary .impact-panel-actions {
  justify-content: end;
}

.route-results .results-detail-panel .staff-delivery-block > .staff-section-summary {
  grid-template-columns: minmax(0, 1fr) auto;
  cursor: default;
}

.route-results .results-detail-panel .staff-delivery-block > .staff-section-summary::before {
  content: "";
  display: none;
}

.route-results .results-detail-panel .staff-section-summary .impact-panel-actions > span {
  background: rgb(255 255 255 / 0.08);
  color: #d6e3e2;
}

.route-results .results-detail-panel .fold-control {
  overflow: hidden;
  border: 1px solid rgb(245 200 76 / 0.55);
  border-radius: 999px;
  background: rgb(16 46 53 / 0.8);
}

.route-results .results-detail-panel .impact-panel-actions .fold-control button {
  min-width: 58px;
  min-height: 30px;
  border: 0;
  background: transparent;
  color: #f5c84c;
}

.route-results .results-detail-panel .impact-panel-actions .fold-control button + button {
  border-left: 1px solid rgb(245 200 76 / 0.35);
}

.route-results .results-detail-panel .my-goals-list,
.route-results .results-detail-panel .impact-category-list {
  background: transparent;
}

.route-results .results-detail-panel .impact-category-group,
.route-results .results-detail-panel .impact-kpi-card,
.route-results .staff-self-scoring .impact-category-group,
.route-results .staff-hr-review .impact-category-group {
  border-color: rgb(255 255 255 / 0.16);
  background: rgb(255 255 255 / 0.06);
}

.route-results .results-detail-panel .impact-category-head,
.route-results .staff-self-scoring .impact-category-head,
.route-results .staff-hr-review .impact-category-head {
  background: #12343f;
}

.my-goals-command-grid,
.impact-overview-grid,
.results-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.65rem;
}

.my-goals-command-grid article,
.impact-overview-grid article,
.result-area-card {
  display: grid;
  gap: 0.55rem;
  border: 1px solid #d4dfdb;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  background: #fff;
  padding: 0.72rem;
}

.route-my-goals .my-goals-command-grid article,
.route-reporting .my-goals-command-grid article {
  border-color: rgb(255 255 255 / 0.14);
  border-left-color: #f5c84c;
  background: rgb(255 255 255 / 0.08);
}

.route-results .results-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.route-results .results-metrics .metric {
  min-height: auto;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-top: 3px solid #f5c84c;
  background: rgb(247 248 245 / 0.94);
}

.route-results .results-metrics .metric strong {
  font-size: 1.12rem;
  line-height: 1;
  margin: 0.18rem 0;
}

.route-results .results-metrics .metric p,
.route-results .results-metrics .metric span {
  font-size: 0.72rem;
  line-height: 1.2;
}

.route-results .results-area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.route-results .result-area-list {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 0.35rem;
}

.route-results .result-area-card {
  gap: 0.45rem;
  padding: 0.58rem 0.65rem;
  border-left-width: 3px;
  border-color: #d4dfdb;
  border-left-color: #f5c84c;
  background: rgb(247 248 245 / 0.96);
}

.route-results .result-goal-line {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem;
  padding: 0.42rem 0.5rem;
}

.route-results .result-goal-line .progress {
  grid-column: 1 / -1;
  height: 10px;
}

.route-results .result-goal-line .progress b {
  font-size: 0.58rem;
}

.result-area-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.route-results .result-area-summary strong {
  min-width: 3.2rem;
  font-size: 1.15rem;
  text-align: right;
  color: var(--primary-strong);
}

.route-results .result-area-summary span {
  color: var(--primary-strong);
  font-family: var(--display-font);
  font-size: 0.9rem;
  font-weight: 400;
}

.my-goals-command-grid span,
.impact-overview-grid span,
.result-area-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.route-my-goals .my-goals-command-grid span,
.route-reporting .my-goals-command-grid span {
  color: #f5c84c;
}

.my-goals-command-grid strong,
.impact-overview-grid strong,
.result-area-card strong {
  color: var(--primary-strong);
  font-size: 1rem;
}

.route-my-goals .my-goals-command-grid strong,
.route-reporting .my-goals-command-grid strong {
  color: #fff;
}

.my-goals-command-grid small,
.impact-overview-grid small,
.result-area-card small,
.result-area-card p {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.25;
}

.route-my-goals .my-goals-command-grid small,
.route-reporting .my-goals-command-grid small {
  color: #d6e3e2;
}

.route-results .result-area-card small,
.route-results .result-area-card p {
  color: var(--muted);
}

.result-area-list {
  display: grid;
  gap: 0.45rem;
}

.result-goal-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(105px, 0.35fr);
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #d9e4df;
  border-radius: 8px;
  background: #fbfdfc;
  padding: 0.48rem 0.55rem;
}

.result-goal-line strong,
.objective-line-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
}

.result-goal-line small {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.2;
}

.result-goal-line .progress {
  height: 14px;
  margin: 0;
}

.result-goal-line .progress b {
  font-size: 0.64rem;
}

.result-goal-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem;
}

.result-goal-meta span {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.66rem;
  font-weight: 900;
  padding: 0.1rem 0.35rem;
}

.result-area-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.result-area-meta small {
  border-radius: 999px;
  background: var(--surface-soft);
  padding: 0.1rem 0.4rem;
}

.result-area-list {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.35rem;
}

.result-area-list p {
  margin: 0;
}

.portfolio-category-strip span,
.portfolio-due-list strong {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-category-strip strong {
  color: var(--primary-strong);
  font-size: 0.95rem;
}

.portfolio-category-strip small,
.portfolio-due-list small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.25;
}

.workstream-admin-tools,
.fundraising-admin-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.45fr);
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.workstream-admin-tools label,
.fundraising-admin-tools label,
.workstream-card-fields label,
.workstream-description-label,
.fundraising-card-fields label,
.client-model-fields label {
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.fundraising-custom-range {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.fundraising-custom-range.is-hidden {
  display: none;
}

.fundraising-custom-range input {
  min-height: 2.35rem;
  max-width: 10.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-strong);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.35rem 0.7rem;
}

.fundraising-integration-admin {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
}

.fundraising-integration-status {
  display: grid;
  gap: 0.25rem;
  margin: 0.9rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--primary) 8%, #fff);
}

.fundraising-integration-status strong {
  color: var(--primary-strong);
}

.fundraising-integration-status small {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.workstream-admin-list,
.fundraising-admin-list {
  display: grid;
  gap: 0.85rem;
}

.fundraising-admin-category,
.fundraising-admin-subcategory {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fafbf8;
  overflow: hidden;
}

.fundraising-admin-category > summary,
.fundraising-admin-subcategory > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.fundraising-admin-category > summary::-webkit-details-marker,
.fundraising-admin-subcategory > summary::-webkit-details-marker {
  display: none;
}

.fundraising-admin-category > summary {
  background: var(--title-band);
  color: #fff;
  padding: 0.68rem 0.8rem;
}

.fundraising-admin-subcategory > summary {
  background: #eef4f1;
  color: var(--primary-strong);
  padding: 0.5rem 0.65rem;
}

.fundraising-admin-category > summary strong,
.fundraising-admin-category > summary small,
.fundraising-admin-subcategory > summary strong,
.fundraising-admin-subcategory > summary small {
  display: block;
}

.fundraising-admin-category > summary small {
  color: #d6e3e2;
  margin-top: 0.1rem;
}

.fundraising-admin-subcategory > summary small {
  color: var(--muted);
  margin-top: 0.08rem;
}

.fundraising-admin-category > summary > span,
.fundraising-admin-subcategory > summary > span {
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  padding: 0.12rem 0.44rem;
  white-space: nowrap;
}

.fundraising-admin-category > summary > span {
  background: #f5c84c;
  color: var(--ink);
}

.fundraising-admin-subcategory > summary > span {
  background: #fff;
  color: var(--primary-strong);
}

.fundraising-category-progress {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.42rem;
  max-width: 520px;
}

.fundraising-category-progress::before {
  content: "";
  grid-column: 1;
  grid-row: 1;
  height: 0.56rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.22);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
}

.fundraising-category-progress span {
  grid-column: 1;
  grid-row: 1;
  height: 0.56rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #f5c84c, #ffe99a);
  box-shadow: 0 0 18px rgb(245 200 76 / 0.28);
}

.fundraising-category-progress b {
  color: #fff2b8;
  font-size: 0.76rem;
  line-height: 1;
  min-width: 2.5rem;
  text-align: right;
}

.fundraising-admin-category > summary .fundraising-category-progress b,
.fundraising-admin-subcategory > summary .fundraising-category-progress b,
.impact-category-head .fundraising-category-progress b,
.fundraising-source-head .fundraising-category-progress b {
  display: none;
}

.fundraising-admin-category > summary .fundraising-category-progress,
.fundraising-admin-subcategory > summary .fundraising-category-progress,
.impact-category-head .fundraising-category-progress,
.fundraising-source-head .fundraising-category-progress {
  grid-template-columns: minmax(110px, 1fr);
}

.fundraising-category-progress.compact {
  max-width: 360px;
}

.fundraising-category-progress.compact::before,
.fundraising-category-progress.compact span {
  height: 0.42rem;
}

.fundraising-admin-subcategory .fundraising-category-progress::before,
.portfolio-category-strip .fundraising-category-progress::before,
.fundraising-source-head .fundraising-category-progress::before {
  background: #d8e5e1;
  box-shadow: inset 0 0 0 1px var(--line);
}

.fundraising-admin-subcategory .fundraising-category-progress b,
.portfolio-category-strip .fundraising-category-progress b,
.fundraising-source-head .fundraising-category-progress b {
  color: var(--primary-strong);
}

.fundraising-admin-subcategories {
  display: grid;
  gap: 0.6rem;
  padding: 0.65rem;
  background: #edf4f0;
}

.fundraising-admin-category-direct {
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: #fafbf8;
}

.fundraising-direct-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.48rem 0.6rem;
  color: var(--primary-strong);
}

.fundraising-direct-head small {
  color: var(--muted);
}

.fundraising-admin-subcategory-goals {
  display: grid;
  gap: 0.55rem;
  padding: 0.55rem;
}

.new-scope-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.client-model-admin {
  margin: 1rem 0;
  overflow: visible;
}

.client-model-preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.client-model-preview strong,
.client-model-preview small {
  display: block;
}

.client-model-preview small {
  margin-top: 0.12rem;
  color: var(--muted);
}

.client-model-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.brand-fields {
  grid-template-columns: minmax(120px, 0.8fr) repeat(3, minmax(110px, 0.6fr));
}

.client-model-fields input[type="color"] {
  height: 42px;
  padding: 0.2rem;
}

.report-export-settings {
  margin: 0.85rem 0;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.report-export-settings .panel-head {
  margin-bottom: 0.7rem;
}

.report-export-settings h3 {
  margin: 0;
  font-size: 0.95rem;
}

.report-logo-control {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(240px, 1fr);
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.report-logo-preview {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.report-logo-preview img {
  width: 64px;
  height: 52px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.report-logo-preview small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-logo-control label {
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.report-logo-control input {
  width: 100%;
  min-width: 0;
}

.report-export-fields {
  margin-bottom: 0;
}

.client-model-rules {
  display: grid;
  gap: 0.45rem;
  margin: 0.85rem 0;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.client-model-rules label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

.client-model-rules input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--primary);
}

.client-model-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.85rem 0;
}

.client-model-modules span {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.22rem 0.55rem;
}

.new-scope-quick-actions button {
  border: 1px solid #9fb3ad;
  background: #f7f8f5;
  color: #102e35;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.48rem 0.65rem;
}

.workstream-category-groups {
  display: grid;
  gap: 1rem;
}

.workstream-type-group {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  scroll-margin-top: 1rem;
}

.workstream-subcategory-group {
  display: grid;
  gap: 0.55rem;
  padding-left: 0.65rem;
  border-left: 3px solid var(--line);
}

.workstream-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--line);
}

.workstream-category-head h3,
.workstream-subcategory-head h4 {
  margin: 0;
}

.workstream-category-head h3 {
  font-size: 0.95rem;
}

.workstream-subcategory-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.workstream-subcategory-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 180px;
}

.workstream-subcategory-head h4 {
  color: var(--muted);
  font-size: 0.84rem;
}

.category-champion-control {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: end;
  gap: 0.55rem;
  max-width: 620px;
  flex: 1;
}

.category-champion-control label {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.category-champion-control small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.2;
  padding-bottom: 0.62rem;
  white-space: nowrap;
}

.compact-button {
  min-height: 40px;
  padding-inline: 0.8rem;
}

.workstream-category-head span,
.workstream-subcategory-head span {
  min-width: 28px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.12rem 0.45rem;
  text-align: center;
}

.workstream-admin-card,
.new-workstream-card,
.fundraising-admin-card,
.impact-program-block,
.impact-admin-program,
.impact-admin-card,
.impact-kpi-card {
  display: grid;
  gap: 0.8rem;
  padding: 0.95rem;
  border: 1px solid #d4dfdb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(31, 45, 49, 0.04);
}

.new-workstream-card {
  margin-top: 0.9rem;
  background: #f8fbfa;
  border-left: 4px solid #f5c84c;
}

.new-workstream-card > summary {
  list-style: none;
}

.new-workstream-card > summary::-webkit-details-marker {
  display: none;
}

.expandable-form-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  cursor: pointer;
}

.expandable-form-summary h3,
.expandable-form-summary small {
  display: block;
  margin: 0;
}

.expandable-form-summary small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.25;
}

.expandable-form-summary > span {
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 0.24rem 0.55rem;
  white-space: nowrap;
}

.new-workstream-card[open] .expandable-form-summary {
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
}

.new-workstream-card[open] .expandable-form-summary > span {
  background: #f5c84c;
  color: var(--ink);
}

.new-workstream-card[open] .expandable-form-summary > span::before {
  content: "Close ";
}

.workstream-card-summary,
.fundraising-card-summary,
.workstream-card-footer,
.fundraising-card-footer,
.impact-program-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.impact-category-list,
.impact-category-programs,
.impact-program-list,
.impact-admin-list,
.impact-admin-scopes,
.impact-admin-indicator-list {
  display: grid;
  gap: 1rem;
}

.impact-category-group {
  border: 1px solid #cbd8d4;
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.impact-panel-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.impact-panel-actions button,
.impact-panel-actions select {
  background: #f7f8f5;
  border: 1px solid #9fb3ad;
  border-radius: 8px;
  color: #102e35;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.48rem 0.65rem;
}

.impact-panel-actions button:hover:not(:disabled) {
  border-color: #f5c84c;
  background: #f5c84c;
  color: #102e35;
}

.fold-control {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #cbd8d4;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.impact-panel-actions .fold-control button {
  border-radius: 0;
  background: transparent;
  color: #102e35;
  min-width: 86px;
  padding: 0.46rem 0.72rem;
  text-align: center;
  white-space: nowrap;
}

.impact-panel-actions .fold-control button + button {
  border-left: 1px solid #cbd8d4;
}

.impact-panel-actions .fold-control button:hover:not(:disabled) {
  background: var(--primary-strong);
  color: var(--button-hover-text);
}

.impact-admin-fold-actions {
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef5f2;
}

.impact-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  background: linear-gradient(90deg, #eef4f1 0%, #ffffff 60%);
  cursor: pointer;
  list-style: none;
}

.impact-category-head::-webkit-details-marker {
  display: none;
}

.impact-category-head::before {
  content: "+";
  color: var(--primary-strong);
  font-weight: 900;
}

.impact-category-group[open] .impact-category-head {
  border-bottom: 1px solid #cbd8d4;
  background: var(--title-band);
  color: #fff;
}

.impact-category-group[open] .impact-category-head::before {
  content: "-";
}

.impact-category-head div {
  flex: 1;
  min-width: 0;
}

.impact-category-head strong,
.impact-category-head small {
  display: block;
}

.impact-category-head strong {
  margin-top: 0.15rem;
}

.impact-category-head small {
  margin-top: 0.18rem;
}

.impact-category-group[open] .impact-category-head small,
.impact-category-group[open] .impact-category-head .eyebrow {
  color: #d6e3e2;
}

.impact-category-head > span {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  white-space: nowrap;
}

.impact-category-group[open] .impact-category-head > span {
  background: #f5c84c;
  color: var(--ink);
}

.impact-category-programs {
  padding: 0.85rem;
  gap: 0.7rem;
}

.impact-admin-scopes {
  padding: 0.75rem;
  gap: 0.65rem;
  background: #eef5f2;
}

.kpi-admin-tools {
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 0.35fr);
}

.impact-admin-structured-list {
  gap: 0.75rem;
}

.impact-admin-group {
  box-shadow: var(--shadow-soft);
}

.impact-program-head h3 {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
}

.impact-program-head > span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.impact-kpi-stack {
  display: grid;
  gap: 0.65rem;
}

.fundraising-goal-stack {
  display: grid;
  gap: 0.35rem;
  border-top: 1px solid var(--line);
  padding-top: 0.45rem;
}

.fundraising-scope-block {
  padding: 0;
  overflow: hidden;
}

.fundraising-scope-head {
  cursor: pointer;
  padding: 0.6rem 0.72rem;
}

.fundraising-scope-head small {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.fundraising-scope-block .fundraising-goal-stack {
  margin: 0 0.72rem 0.72rem;
}

.fundraising-source-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.fundraising-source-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  min-height: 34px;
  padding: 0.38rem 0.58rem;
  cursor: pointer;
}

.fundraising-source-head strong {
  display: block;
  font-family: var(--display-font);
  font-size: 0.84rem;
  font-weight: 400;
}

.fundraising-source-head small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.fundraising-source-head > span {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.76rem;
  font-weight: 900;
  padding: 0.1rem 0.45rem;
}

.fundraising-source-lines {
  display: grid;
  gap: 0.28rem;
  border-top: 1px solid var(--line);
  padding: 0.35rem;
}

.fundraising-model-admin {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  margin-bottom: 0.85rem;
  padding: 0.75rem;
}

.fundraising-model-admin summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 900;
}

.fundraising-model-admin textarea {
  min-height: 150px;
  resize: vertical;
}

.fundraising-target-schedule {
  border-top: 1px solid var(--line);
  padding-top: 0.5rem;
}

.goal-milestone-editor {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.goal-deliverable-editor {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.fundraising-target-schedule summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.goal-milestone-editor summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #12343f;
  color: #f5c84c;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.68rem 0.8rem;
  text-transform: uppercase;
}

.goal-deliverable-editor summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #12343f;
  color: #f5c84c;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.68rem 0.8rem;
  text-transform: uppercase;
}

.goal-milestone-editor summary::-webkit-details-marker,
.goal-deliverable-editor summary::-webkit-details-marker {
  display: none;
}

.goal-milestone-editor summary::before,
.goal-deliverable-editor summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
}

.goal-milestone-editor[open] summary::before,
.goal-deliverable-editor[open] summary::before {
  content: "-";
}

.goal-milestone-list,
.goal-deliverable-list {
  display: grid;
  gap: 0.52rem;
  padding: 0.75rem;
  background: #f7fbfa;
}

.goal-milestone-row,
.goal-deliverable-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(130px, 0.42fr) minmax(130px, 0.42fr) minmax(130px, 0.42fr);
  gap: 0.45rem;
  align-items: end;
  border: 1px solid #bdd0ca;
  border-left: 5px solid #f5c84c;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.65rem;
  box-shadow: 0 8px 18px rgb(16 46 53 / 0.08);
}

.admin-staff-objectives .goal-milestone-list,
.admin-staff-objectives .goal-deliverable-list,
.admin-fundraising .goal-milestone-list,
.admin-fundraising .goal-deliverable-list {
  background: #102e35;
}

.admin-staff-objectives .goal-milestone-row,
.admin-staff-objectives .goal-deliverable-row,
.admin-fundraising .goal-milestone-row,
.admin-fundraising .goal-deliverable-row {
  border-color: rgb(255 255 255 / 0.28);
  background: #f7fbfa;
  box-shadow: 0 12px 24px rgb(1 21 29 / 0.18);
}

.admin-staff-objectives .goal-milestone-row label,
.admin-staff-objectives .goal-deliverable-row label,
.admin-fundraising .goal-milestone-row label,
.admin-fundraising .goal-deliverable-row label {
  color: #102e35;
  font-size: 0.82rem;
}

.admin-staff-objectives .goal-milestone-row input,
.admin-staff-objectives .goal-milestone-row select,
.admin-staff-objectives .goal-deliverable-row input,
.admin-staff-objectives .goal-deliverable-row select,
.admin-fundraising .goal-milestone-row input,
.admin-fundraising .goal-milestone-row select,
.admin-fundraising .goal-deliverable-row input,
.admin-fundraising .goal-deliverable-row select {
  min-height: 42px;
  border: 1px solid #718983;
  background: #ffffff;
  color: #102e35;
  font-size: 0.9rem;
  font-weight: 900;
}

.goal-date-change-notice {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgb(245 200 76 / 0.75);
  border-radius: 8px;
  background: #fff7d8;
  color: #102e35;
  padding: 0.5rem 0.58rem;
}

.goal-date-change-notice strong {
  color: #102e35;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.goal-date-change-notice span {
  color: #284a51;
  font-size: 0.76rem;
  font-weight: 800;
}

.goal-deliverable-row {
  border-left-color: #2f7d59;
}

.goal-milestone-row label,
.goal-deliverable-row label {
  color: #102e35;
  font-size: 0.76rem;
  font-weight: 900;
}

.goal-milestone-row input,
.goal-milestone-row select,
.goal-deliverable-row input,
.goal-deliverable-row select {
  border-color: #9fb3ad;
  background: #ffffff;
  color: #102e35;
  font-weight: 700;
}

.my-goal-row .goal-milestone-list {
  border-top: 1px solid var(--line);
  margin: 0 0.6rem 0.55rem;
  padding-top: 0.45rem;
}

.my-goals-stack {
  gap: 0.35rem;
}

.route-my-goals .my-goals-list,
.route-results .my-goals-list {
  gap: 0.65rem;
}

.route-my-goals .my-goals-assigned-panel .my-goals-list,
.route-results .results-detail-panel .my-goals-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.route-my-goals .my-goals-group,
.route-results .result-detail-group {
  border-color: var(--title-band);
  background: #f7f8f5;
  box-shadow: none;
}

.route-my-goals .my-goals-group > .impact-category-head,
.route-results .result-detail-group > .impact-category-head {
  border-left: 5px solid #f5c84c;
  background: var(--title-band);
  color: #f7fbfa;
  padding: 0.72rem 0.9rem;
}

.route-my-goals .my-goals-group > .impact-category-head::before,
.route-results .result-detail-group > .impact-category-head::before {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #f5c84c;
  color: var(--ink);
  flex: 0 0 auto;
}

.route-my-goals .my-goals-group > .impact-category-head strong,
.route-results .result-detail-group > .impact-category-head strong {
  color: #f5c84c;
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
}

.route-my-goals .my-goals-group > .impact-category-head small,
.route-results .result-detail-group > .impact-category-head small {
  color: #d6e3e2;
}

.route-my-goals .my-goals-group > .impact-category-head > span,
.route-results .result-detail-group > .impact-category-head > span {
  background: rgb(255 255 255 / 0.1);
  color: #d6e3e2;
}

.route-my-goals .my-goals-group[open] > .impact-category-head,
.route-results .result-detail-group[open] > .impact-category-head {
  border-bottom-color: rgb(255 255 255 / 0.16);
}

.route-my-goals .my-goals-stack,
.route-my-goals .my-fundraising-goals-list,
.route-my-goals .my-kpi-goals-list,
.route-results .result-detail-group .result-area-list,
.route-results .my-fundraising-goals-list,
.route-results .my-kpi-goals-list {
  background: #eef4f0;
  padding: 0.65rem;
}

.route-my-goals .my-kpi-goals-list {
  display: grid;
  gap: 0.65rem;
}

.route-my-goals .my-kpi-programs {
  display: grid;
  gap: 0.55rem;
}

.route-my-goals .my-kpi-program-goals {
  padding: 0.55rem;
}

.result-goal-delivery {
  grid-column: 1 / -1;
  margin-top: 0.45rem;
  border: 1px solid rgb(16 46 53 / 0.14);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.58);
}

.result-goal-delivery > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  cursor: pointer;
  padding: 0.5rem 0.62rem;
  list-style: none;
}

.result-goal-delivery > summary::-webkit-details-marker {
  display: none;
}

.result-goal-delivery > summary span {
  color: #102e35;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.result-goal-delivery > summary small {
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-size: 0.7rem;
  font-weight: 950;
  padding: 0.14rem 0.45rem;
}

.result-goal-delivery-months {
  padding: 0.55rem;
}

.route-my-goals .objective-line-header {
  border-radius: 6px;
  background: #dbe8e3;
  color: var(--primary-strong);
  padding: 0.34rem 0.62rem;
}

.route-my-goals .person-objective-line,
.route-my-goals .my-fundraising-goal-line {
  border-color: #cbd8d4;
  background: #fbfcfb;
}

.route-my-goals .person-objective-line:hover,
.route-my-goals .my-fundraising-goal-line:hover {
  border-color: var(--title-band);
  box-shadow: 0 8px 18px rgb(20 46 52 / 0.1);
}

.my-fundraising-goals-group {
  display: block;
}

.my-fundraising-goals-list {
  display: grid;
  gap: 0.75rem;
}

.my-fundraising-category,
.my-fundraising-subcategory {
  box-shadow: none;
}

.my-fundraising-goal-lines {
  display: grid;
  gap: 0.45rem;
  padding: 0.55rem;
}

.my-fundraising-goal-line {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(155px, 0.45fr) minmax(160px, 0.45fr);
  gap: 0.65rem;
  align-items: center;
  padding: 0.62rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fafbf8;
}

.my-fundraising-goal-line strong,
.my-fundraising-goal-line small {
  display: block;
}

.my-fundraising-goal-line small {
  color: var(--muted);
  margin-top: 0.12rem;
}

.my-fundraising-goal-target {
  text-align: right;
}

.my-fundraising-goal-progress {
  min-width: 150px;
}

.my-fundraising-goal-milestones {
  grid-column: 1 / -1;
}

.objective-line-header {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.9fr) minmax(135px, 0.35fr);
  gap: 0.65rem;
  align-items: center;
  padding: 0.2rem 0.6rem;
  color: var(--muted);
  font-family: var(--display-font);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
}

.person-objective-line {
  border-radius: 6px;
  box-shadow: none;
}

.person-objective-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.9fr) minmax(135px, 0.35fr);
  min-height: 38px;
  padding: 0.38rem 0.6rem;
}

.person-objective-grid .impact-kpi-row-meta {
  justify-content: flex-start;
  min-width: 0;
}

.person-objective-grid .impact-kpi-row-progress .progress {
  height: 14px;
  margin: 0;
}

.person-objective-grid .impact-kpi-row-progress .progress b {
  font-size: 0.66rem;
}

.staff-goal-review {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  padding: 0 0.6rem 0.55rem;
}

.my-fundraising-goal-line .staff-goal-review {
  grid-column: 1 / -1;
  padding: 0;
}

.staff-goal-review button {
  min-height: 34px;
  border-color: #f5c84c;
  background: #f5c84c;
  color: #2f7d59;
  font-family: var(--display-font);
  font-size: 0.78rem;
  font-weight: 400;
  padding: 0.42rem 0.7rem;
  text-transform: uppercase;
}

.staff-goal-review span {
  border-radius: 999px;
  background: #dff2eb;
  color: #2f7d59;
  font-family: var(--display-font);
  font-size: 0.74rem;
  font-weight: 400;
  padding: 0.2rem 0.55rem;
  text-transform: uppercase;
}

.target-schedule-block {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.6rem;
}

.target-schedule-block strong {
  display: block;
  margin-bottom: 0.35rem;
}

.target-schedule-grid {
  display: grid;
  gap: 0.45rem;
}

.target-schedule-grid.monthly {
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
}

.target-schedule-grid.quarterly {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.target-schedule-grid label {
  gap: 0.22rem;
  font-size: 0.72rem;
}

.fundraising-inline-editor {
  margin-top: 0.55rem;
  border-top: 1px solid var(--line);
  padding-top: 0.55rem;
}

.fundraising-inline-editor summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.fundraising-inline-editor[open] {
  display: grid;
  gap: 0.55rem;
}

.fundraising-inline-fields {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(110px, 0.65fr));
  gap: 0.6rem;
}

.fundraising-inline-fields input,
.fundraising-inline-fields select,
.fundraising-inline-notes input {
  width: 100%;
  min-width: 0;
}

.fundraising-inline-notes {
  display: block;
}

.fundraising-inline-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.fundraising-inline-actions span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.staff-goal-stack {
  display: grid;
  gap: 0.45rem;
}

.my-goals-stack {
  display: grid;
  gap: 0.45rem;
}

.manual-reporting-list {
  display: grid;
  gap: 0.5rem;
}

.manual-reporting-row {
  min-width: 0;
}

.manual-reporting-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem 0.75rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
}

.manual-reporting-main {
  min-width: 0;
}

.manual-reporting-main strong,
.manual-reporting-main small {
  display: block;
}

.manual-reporting-main strong {
  font-size: 0.88rem;
}

.manual-reporting-main small {
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.manual-reporting-meta {
  justify-content: flex-start;
  min-width: 0;
  grid-column: 1 / -1;
}

.manual-reporting-action {
  color: var(--primary-strong);
  font-size: 0.76rem;
  font-weight: 800;
  text-align: right;
}

.manual-reporting-checks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  min-width: 0;
}

.manual-reporting-checks label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text);
  font-size: 0.78rem;
  white-space: nowrap;
}

.manual-reporting-checks input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--primary);
}

.manual-reporting-checks input:disabled + span,
.manual-reporting-checks label:has(input:disabled) {
  color: var(--muted);
}

.manual-reporting-panel .panel-head p {
  margin: 0.25rem 0 0;
}

.impact-narrative-panel {
  margin-bottom: 1rem;
}

.impact-narrative-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 1rem;
  align-items: start;
}

.impact-narrative-form,
.impact-narrative-recent {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

.impact-narrative-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: end;
}

.impact-narrative-fields label {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.impact-narrative-fields label:nth-child(1),
.impact-narrative-fields label:nth-child(2) {
  grid-column: span 2;
}

.impact-narrative-textarea {
  display: grid;
  gap: 0.28rem;
}

.impact-narrative-textarea span,
.impact-narrative-upload span,
.impact-narrative-fields label {
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.impact-narrative-upload {
  display: grid;
  gap: 0.28rem;
}

.impact-narrative-upload input {
  background: #fff;
}

.impact-narrative-textarea textarea {
  width: 100%;
  min-height: 116px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.75rem;
  color: var(--ink);
  font: inherit;
}

.impact-narrative-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  margin-top: -0.2rem;
}

.impact-narrative-prompts span {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.46rem;
}

.impact-narrative-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: flex-end;
}

.impact-dictation-status {
  color: var(--muted);
  font-size: 0.76rem;
}

.impact-narrative-recent {
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0.75rem;
}

.impact-narrative-recent > strong {
  color: var(--primary-strong);
  font-family: var(--display-font);
  font-weight: 400;
  text-transform: uppercase;
}

.impact-narrative-recent article {
  display: grid;
  gap: 0.18rem;
  border-top: 1px solid var(--line);
  padding-top: 0.55rem;
}

.impact-narrative-recent article:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.impact-narrative-recent span,
.impact-narrative-recent small {
  color: var(--muted);
  font-size: 0.74rem;
}

.impact-narrative-recent p {
  margin: 0;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.35;
}

.impact-narrative-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.impact-narrative-attachments a {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.16rem 0.45rem;
  text-decoration: none;
}

.impact-narrative-validation {
  justify-content: flex-start;
  margin-top: 0.18rem;
}

.impact-narrative-validation button {
  border-color: var(--primary-strong);
  background: var(--primary-strong);
  color: #fff;
  padding: 0.34rem 0.52rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.impact-narrative-validation button:hover:not(:disabled) {
  border-color: #f5c84c;
  background: #f5c84c;
  color: var(--primary-strong);
}

.impact-narrative-validation button:disabled {
  border-color: #91aaa5;
  background: #fff;
  color: var(--primary-strong);
  opacity: 1;
}

.logbook-export-panel {
  margin-bottom: 1rem;
}

.logbook-export-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 0.65rem;
  align-items: end;
}

.logbook-export-grid label {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.logbook-export-grid select,
.logbook-export-grid input {
  width: 100%;
}

.logbook-export-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-top: 0.75rem;
}

.logbook-export-summary span {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.16rem 0.48rem;
}

.staff-people-members {
  display: grid;
  gap: 0.45rem;
}

.staff-people-member {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.staff-people-member strong,
.staff-people-member small {
  display: block;
}

.staff-people-member small {
  margin-top: 0.18rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-wellbeing-module .panel-head {
  align-items: flex-start;
}

.staff-wellbeing-module .panel-head p {
  margin: 0.25rem 0 0;
}

.staff-quest-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.staff-quest-card {
  display: grid;
  gap: 0.18rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.staff-quest-card.primary-quest {
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  align-items: center;
  background: linear-gradient(135deg, #fbfcfb 0%, #eef7f3 100%);
}

.staff-quest-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.staff-quest-card strong {
  color: var(--primary-strong);
  font-size: 1.25rem;
  line-height: 1.1;
}

.staff-quest-card small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.25;
}

.staff-quest-progress {
  min-width: 0;
}

.staff-pulse-summary {
  display: grid;
  gap: 0.45rem;
}

.staff-pulse-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.staff-pulse-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-family: var(--body-font);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: none;
}

.staff-game-header {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.4fr);
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.staff-level-card,
.staff-mini-quests article {
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, #12343f 0%, #1f4a55 100%);
  box-shadow: 0 14px 28px rgb(1 21 29 / 0.18);
}

.staff-level-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem;
}

.staff-level-card span,
.staff-mini-quests span {
  color: #f5c84c;
  font-family: var(--display-font);
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
}

.staff-level-card strong,
.staff-mini-quests strong {
  display: block;
  color: #fff;
  font-family: var(--display-font);
  font-weight: 400;
}

.staff-level-card strong {
  margin: 0.12rem 0;
  font-size: 1.25rem;
}

.staff-level-card small,
.staff-mini-quests small {
  display: block;
  color: #d6e3e2;
  font-size: 0.72rem;
  line-height: 1.25;
}

.staff-level-ring {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #153a45 0 55%, transparent 56%),
    conic-gradient(#f5c84c var(--level), rgb(255 255 255 / 0.16) 0);
}

.staff-level-ring strong {
  margin: 0;
  color: #f5c84c;
  font-size: 1.6rem;
  line-height: 1;
}

.staff-level-ring small {
  margin-top: -1.1rem;
  color: #d6e3e2;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.staff-xp-track,
.staff-pulse-track {
  position: relative;
  height: 8px;
  margin-top: 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.15);
}

.staff-xp-track span,
.staff-pulse-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f5c84c;
}

.staff-mini-quests {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.staff-mini-quests article {
  display: grid;
  align-content: center;
  gap: 0.16rem;
  min-height: 112px;
  padding: 0.75rem;
}

.staff-mini-quests article.is-done {
  border-color: rgb(245 200 76 / 0.7);
}

.staff-unlock-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.staff-pulse-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 0 0.85rem;
}

.staff-pulse-path article {
  display: grid;
  gap: 0.4rem;
  padding: 0.62rem 0.7rem;
  border: 1px solid #d4dfdb;
  border-left: 4px solid #f5c84c;
  border-radius: 8px;
  background: #fbfcfb;
}

.staff-pulse-path article.is-done {
  border-color: #f5c84c;
  background: #fffaf0;
}

.staff-pulse-path strong,
.staff-pulse-path small {
  display: block;
}

.staff-pulse-path strong {
  color: var(--primary-strong);
  font-size: 0.82rem;
}

.staff-pulse-path small {
  color: var(--muted);
  font-size: 0.7rem;
}

.staff-pulse-path .staff-pulse-track {
  margin: 0;
  background: #dce7e2;
}

.staff-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.staff-achievement {
  display: grid;
  gap: 0.05rem;
  min-width: 130px;
  padding: 0.48rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
}

.staff-achievement.unlocked {
  border-color: rgba(47, 125, 89, 0.35);
  background: #eef7f3;
  color: var(--primary-strong);
}

.staff-achievement b {
  font-size: 0.78rem;
}

.staff-achievement small {
  font-size: 0.7rem;
}

.staff-delivery-snapshot {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.4fr);
  gap: 0.75rem;
  margin: 0;
}

.staff-section-block {
  margin-top: 0.75rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 8px;
  background: transparent;
}

.staff-section-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  min-height: 58px;
  padding: 0.68rem 1rem;
  cursor: pointer;
  list-style: none;
  background: var(--title-band);
  color: #f7fbfa;
}

.staff-section-summary::-webkit-details-marker {
  display: none;
}

.staff-section-summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 900;
}

.staff-section-block[open] > .staff-section-summary::before {
  content: "-";
}

.staff-section-body {
  display: grid;
  gap: 0.62rem;
  padding: 0.72rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.04);
}

.staff-section-summary h3 {
  margin: 0;
  color: #f5c84c;
  font-family: var(--display-font);
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
}

.staff-section-summary > span,
.staff-section-summary .impact-panel-actions > span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.22rem 0.55rem;
  white-space: nowrap;
}

.staff-section-summary .impact-panel-actions button {
  min-height: 32px;
  border-color: rgb(255 255 255 / 0.18);
  background: rgb(255 255 255 / 0.08);
  color: #f5c84c;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.26rem 0.56rem;
  text-transform: uppercase;
}

.staff-section-summary .impact-panel-actions button:hover:not(:disabled) {
  border-color: #f5c84c;
  background: #f5c84c;
  color: #102e35;
}

.staff-deck-log-body {
  grid-template-columns: 1fr;
}

.staff-deck-log-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.58rem 0.65rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.06);
}

.staff-deck-log-row strong,
.staff-deck-log-row small {
  display: block;
}

.staff-deck-log-row strong {
  color: #fff;
  font-size: 0.82rem;
}

.staff-deck-log-row small {
  color: #d6e3e2;
  font-size: 0.72rem;
  line-height: 1.25;
}

.staff-deck-log-row > span {
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.18rem 0.5rem;
  white-space: nowrap;
}

.staff-confidential-note {
  margin-top: 0.75rem;
  border: 1px solid rgb(211 54 54 / 0.5);
  border-radius: 8px;
  background:
    radial-gradient(circle at 2.1rem 1.8rem, rgb(255 111 92 / 0.24), transparent 3.4rem),
    #12343f;
  overflow: hidden;
}

.staff-confidential-note > summary {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  cursor: pointer;
  list-style: none;
  padding: 0.7rem 0.85rem;
  color: #ffebe7;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-confidential-note > summary::-webkit-details-marker {
  display: none;
}

.staff-confidential-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.7fr);
  gap: 0.65rem;
  padding: 0 0.75rem 0.75rem;
}

.staff-signal-intro {
  grid-column: 1 / -1;
  margin: 0;
  color: #dfecea;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.staff-confidential-grid label {
  display: grid;
  gap: 0.28rem;
  color: #d6e3e2;
  font-size: 0.76rem;
  font-weight: 900;
}

.staff-confidential-check {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.staff-confidential-note-field {
  grid-column: 1 / -1;
}

.staff-signal-send-button {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 38px;
  border: 1px solid #ff8c79;
  border-radius: 999px;
  background: linear-gradient(180deg, #e94d3d 0%, #a91f22 100%);
  color: #fff8f4;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.34rem 0.86rem 0.34rem 0.42rem;
  box-shadow: 0 10px 20px rgb(169 31 34 / 0.24), inset 0 1px 0 rgb(255 255 255 / 0.28);
  text-transform: uppercase;
}

.staff-signal-send-button:hover:not(:disabled) {
  border-color: #f5c84c;
  background: linear-gradient(180deg, #ff6f5c 0%, #b72628 100%);
  color: #fff8f4;
}

.staff-confidential-grid textarea {
  min-height: 78px;
  resize: vertical;
  border: 1px solid #9fb3ad;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font-family: var(--body-font);
}

.staff-signal-light {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(180deg, #67e39b 0%, #218b61 100%);
  box-shadow: 0 0 0 5px rgb(47 180 112 / 0.18), 0 0 22px rgb(47 180 112 / 0.58);
}

.signal-active .staff-signal-light,
.page-buoy-button .staff-signal-light,
.staff-signal-panel:not(.topbar-red-buoy) .staff-signal-light {
  background: linear-gradient(180deg, #ff6f5c 0%, #bf2228 100%);
  box-shadow: 0 0 0 5px rgb(220 48 48 / 0.18), 0 0 22px rgb(220 48 48 / 0.72);
}

.staff-signal-light::before {
  content: "";
  width: 0.54rem;
  height: 0.54rem;
  border-radius: 999px;
  background: #fff3ec;
  box-shadow: 0 0 12px rgb(255 255 255 / 0.9);
}

.staff-signal-light::after {
  content: "";
  position: absolute;
  right: -0.08rem;
  bottom: -0.2rem;
  width: 0.72rem;
  height: 0.32rem;
  border-radius: 0 0 999px 999px;
  background: #15573d;
  opacity: 0.88;
}

.signal-active .staff-signal-light::after,
.page-buoy-button .staff-signal-light::after,
.staff-signal-panel:not(.topbar-red-buoy) .staff-signal-light::after {
  background: #78171b;
}

.staff-signal-button-light {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px 999px 8px 8px;
  background:
    linear-gradient(90deg, transparent 0 38%, rgb(255 255 255 / 0.32) 38% 48%, transparent 48%),
    linear-gradient(180deg, #ffebe7 0 42%, #e94d3d 42% 70%, #ffebe7 70% 100%);
  box-shadow: inset 0 -4px 0 rgb(120 23 27 / 0.35);
}

.staff-signal-light.is-muted {
  width: 0.56rem;
  height: 0.56rem;
  margin-right: 0.28rem;
  box-shadow: 0 0 0 3px rgb(245 200 76 / 0.12), 0 0 10px rgb(245 200 76 / 0.45);
  vertical-align: middle;
}

.staff-signal-alert {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.12rem;
  column-gap: 0.5rem;
  align-items: start;
  margin-top: 0.5rem;
  padding: 0.5rem 0.62rem;
  border-left: 4px solid #f5c84c;
  border-radius: 8px;
  background: #fff7df;
}

.staff-signal-alert strong {
  display: block;
  color: #102e35;
  font-size: 0.8rem;
}

.staff-signal-alert small {
  color: #4f5f66;
}

.staff-signal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.staff-signal-actions button {
  border: 1px solid #d6a91d;
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.32rem 0.62rem;
  text-transform: uppercase;
}

.staff-signal-actions button:hover {
  background: #102e35;
  color: #f5c84c;
}

.staff-delivery-score,
.staff-delivery-card,
.staff-delivery-next {
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, #12343f 0%, #1f4a55 100%);
  box-shadow: 0 14px 28px rgb(1 21 29 / 0.16);
}

.staff-delivery-score {
  display: grid;
  align-content: center;
  gap: 0.35rem;
  padding: 0.85rem;
}

.staff-delivery-score span,
.staff-delivery-card span,
.staff-delivery-next span {
  color: #f5c84c;
  font-family: var(--display-font);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
}

.staff-delivery-score strong {
  color: #fff;
  font-family: var(--display-font);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
}

.staff-delivery-score small,
.staff-delivery-card small,
.staff-delivery-chip small {
  color: #d6e3e2;
  font-size: 0.72rem;
  line-height: 1.25;
}

.staff-delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.staff-delivery-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.62rem;
}

.staff-delivery-card > div:first-child,
.staff-delivery-next > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
}

.staff-delivery-card strong,
.staff-delivery-next strong {
  color: #fff;
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 400;
}

.staff-delivery-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
}

.staff-delivery-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f5c84c;
}

.staff-delivery-next {
  display: grid;
  grid-column: 1 / -1;
  gap: 0.45rem;
  padding: 0.62rem;
}

.staff-delivery-list {
  display: grid;
  gap: 0.4rem;
}

.staff-delivery-chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.5rem 0.58rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.06);
}

.staff-delivery-chip strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-delivery-chip span {
  padding: 0.28rem 0.46rem;
  border-radius: 999px;
  background: #f5c84c;
  color: #0f303a;
  font-family: var(--body-font);
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
}

.staff-delivery-months {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.staff-delivery-month {
  border: 1px solid rgb(245 200 76 / 0.45);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.1);
  box-shadow: 0 12px 24px rgb(1 21 29 / 0.18);
  overflow: hidden;
}

.staff-delivery-month-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
  min-height: 56px;
  padding: 0.62rem;
  cursor: pointer;
  list-style: none;
}

.staff-delivery-month-head::-webkit-details-marker {
  display: none;
}

.staff-delivery-month-head::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-size: 0.9rem;
  font-weight: 900;
}

.staff-delivery-month[open] > .staff-delivery-month-head::before {
  content: "-";
}

.staff-delivery-month-head {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.staff-delivery-month-head > div {
  display: grid;
  gap: 0.08rem;
}

.staff-delivery-month-head strong {
  color: #f5c84c;
  font-family: var(--display-font);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
}

.staff-delivery-month-head small {
  color: #dfecea;
  font-size: 0.7rem;
  font-weight: 900;
}

.staff-delivery-month-head span,
.staff-delivery-month-row span {
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.12rem 0.42rem;
  white-space: nowrap;
}

.staff-delivery-month-open-summary {
  display: none;
  grid-template-columns: repeat(2, max-content);
  gap: 0.4rem;
  padding: 0 0.62rem 0.52rem 3.08rem;
}

.staff-delivery-month[open] .staff-delivery-month-open-summary {
  display: grid;
}

.staff-delivery-month-open-summary span {
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  color: #f0f7f5;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.12rem 0.48rem;
  white-space: nowrap;
}

.staff-delivery-month-list {
  display: none;
  gap: 0.32rem;
  max-height: 420px;
  overflow: auto;
  padding: 0 0.62rem 0.62rem;
}

.staff-delivery-month[open] .staff-delivery-month-list {
  display: grid;
}

.staff-delivery-month-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto minmax(118px, 0.28fr) minmax(178px, 0.48fr);
  padding: 0.32rem 0.42rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.12);
  gap: 0.42rem;
  align-items: center;
}

.staff-delivery-status-control {
  --delivery-status-color: #dfecea;
  min-width: 112px;
}

.staff-delivery-status-control.status-in_progress {
  --delivery-status-color: #f5c84c;
}

.staff-delivery-status-control.status-completed {
  --delivery-status-color: #62c6b2;
}

.staff-delivery-status-control.status-blocked {
  --delivery-status-color: #d94a42;
}

.staff-delivery-status-control select {
  width: 100%;
  min-height: 28px;
  border: 1px solid color-mix(in srgb, var(--delivery-status-color) 72%, transparent);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.94);
  color: #102e35;
  font-size: 0.62rem;
  font-weight: 950;
  padding: 0.12rem 0.58rem;
  text-transform: uppercase;
}

.staff-delivery-status-control select:focus {
  border-color: var(--delivery-status-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--delivery-status-color) 24%, transparent);
}

.staff-delivery-priority-control {
  --delivery-priority-color: #d8d957;
  --delivery-status-color: #dfecea;
  --delivery-status-fill: 8%;
  --delivery-status-point: 8%;
  display: grid;
  grid-template-columns: minmax(48px, 1fr) minmax(58px, auto);
  align-items: center;
  gap: 0.24rem;
}

.staff-delivery-priority-control.priority-low {
  --delivery-priority-color: #62c66f;
}

.staff-delivery-priority-control.priority-normal {
  --delivery-priority-color: #d8d957;
}

.staff-delivery-priority-control.priority-high {
  --delivery-priority-color: #f0a13a;
}

.staff-delivery-priority-control.priority-critical {
  --delivery-priority-color: #d94a42;
}

.staff-delivery-priority-control.status-in_progress {
  --delivery-status-color: #f5c84c;
  --delivery-status-fill: 52%;
  --delivery-status-point: 52%;
}

.staff-delivery-priority-control.status-completed {
  --delivery-status-color: #62c6b2;
  --delivery-status-fill: 100%;
  --delivery-status-point: 96%;
}

.staff-delivery-priority-control.status-blocked {
  --delivery-status-color: #d94a42;
  --delivery-status-fill: 52%;
  --delivery-status-point: 52%;
}

.staff-delivery-status-meter {
  position: relative;
  height: 0.42rem;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.14);
}

.staff-delivery-status-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  width: var(--delivery-status-fill);
  background: var(--delivery-status-color);
  opacity: 0.9;
}

.staff-delivery-status-meter::after {
  content: "";
  position: absolute;
  top: 50%;
  left: var(--delivery-status-point);
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid #f7fbfa;
  border-radius: 999px;
  background: var(--delivery-status-color);
  box-shadow: 0 0 0 0.16rem color-mix(in srgb, var(--delivery-status-color) 24%, transparent);
  transform: translate(-50%, -50%);
}

.staff-delivery-priority-control select {
  min-height: 24px;
  border: 1px solid color-mix(in srgb, var(--delivery-priority-color) 64%, rgb(255 255 255 / 0.35));
  border-radius: 999px;
  background: #f7fbfa;
  color: #102e35;
  font-size: 0.58rem;
  font-weight: 900;
  padding: 0.06rem 0.2rem;
}

.staff-delivery-month-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.2rem 0.42rem;
  min-width: 0;
}

.staff-delivery-month-main strong {
  color: #fff;
  font-size: 0.78rem;
  grid-column: 2;
  line-height: 1.2;
  white-space: normal;
}

.staff-delivery-month-main small {
  color: #f0f7f5;
  font-size: 0.7rem;
  font-weight: 800;
  grid-column: 2;
  white-space: nowrap;
}

.staff-delivery-date-request {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) auto;
  align-items: end;
  gap: 0.22rem;
  justify-self: end;
  width: min(100%, 220px);
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.staff-delivery-date-request label {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.staff-delivery-date-request input {
  min-height: 24px;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 7px;
  background: #f7fbfa;
  color: #102e35;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.08rem 0.22rem;
}

.staff-delivery-date-request button {
  min-height: 24px;
  border: 1px solid #f5c84c;
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-size: 0.56rem;
  font-weight: 900;
  padding: 0.08rem 0.28rem;
  text-transform: uppercase;
}

.staff-delivery-date-request small {
  grid-column: 1 / -1;
  color: #d7e5e2;
  font-size: 0.56rem;
  font-weight: 800;
  white-space: normal;
}

.staff-delivery-date-request .staff-delivery-request-pending {
  color: #f5c84c;
}

@container (max-width: 900px) {
  .staff-delivery-month-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .staff-delivery-priority-control,
  .staff-delivery-date-request {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

.staff-score-grid,
.staff-reflection-inputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.staff-pulse-checkin {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.52rem;
}

.staff-score-grid label,
.staff-reflection-inputs label {
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.staff-score-grid select,
.staff-reflection-inputs input {
  width: 100%;
}

.staff-score-pulse-card {
  display: grid;
  gap: 0.46rem;
  min-width: 0;
  margin: 0;
  padding: 0.62rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, #12343f 0%, #1f4a55 100%);
}

.staff-score-pulse-card legend {
  display: grid;
  gap: 0.08rem;
  width: 100%;
  padding: 0;
}

.staff-score-pulse-card legend span {
  width: fit-content;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-family: var(--body-font);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.staff-score-pulse-card legend strong {
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.2;
}

.staff-score-chip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.26rem;
}

.staff-score-chip {
  min-width: 0;
}

.staff-score-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.staff-score-chip span {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.08);
  color: #d6e3e2;
  font-family: var(--display-font);
  font-size: 0.82rem;
  font-weight: 400;
}

.staff-score-chip input:checked + span {
  border-color: #f5c84c;
  background: #f5c84c;
  color: #102e35;
  box-shadow: 0 8px 18px rgb(0 0 0 / 0.18);
}

.staff-score-chip:focus-within span {
  outline: 2px solid rgb(245 200 76 / 0.45);
  outline-offset: 2px;
}

.staff-reflection-inputs {
  margin-top: 0.75rem;
}

.staff-self-scoring .workstream-card-footer {
  margin-top: 0.75rem;
}

.staff-wellbeing-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.staff-wellbeing-summary article,
.staff-reflection-fields article {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.staff-wellbeing-summary span,
.staff-reflection-fields small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.staff-wellbeing-summary strong {
  color: var(--primary-strong);
  font-size: 1.05rem;
}

.staff-wellbeing-categories {
  display: grid;
  gap: 0.75rem;
}

.staff-wellbeing-indicators {
  display: grid;
  gap: 0.45rem;
}

.staff-indicator-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfb;
}

.staff-indicator-row strong,
.staff-indicator-row small {
  display: block;
}

.staff-indicator-row small {
  margin-top: 0.16rem;
  color: var(--muted);
}

.staff-indicator-row > span {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.12rem 0.42rem;
  white-space: nowrap;
}

.staff-reflection-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.route-results .results-detail-panel,
.route-results .results-detail-panel *,
.route-results .staff-self-scoring,
.route-results .staff-self-scoring *,
.route-results .staff-hr-review,
.route-results .staff-hr-review * {
  text-shadow: none;
}

.route-results .results-detail-panel h2,
.route-results .results-detail-panel h3,
.route-results .results-detail-panel h4,
.route-results .results-detail-panel .impact-category-head strong,
.route-results .results-detail-panel .staff-section-summary h3,
.route-results .staff-self-scoring h2,
.route-results .staff-self-scoring h3,
.route-results .staff-self-scoring h4,
.route-results .staff-self-scoring .impact-category-head strong,
.route-results .staff-hr-review h2,
.route-results .staff-hr-review h3,
.route-results .staff-hr-review h4,
.route-results .staff-hr-review .impact-category-head strong {
  color: #f5c84c !important;
}

.route-results .results-detail-panel strong,
.route-results .results-detail-panel b,
.route-results .results-detail-panel label,
.route-results .results-detail-panel .impact-kpi-row strong,
.route-results .results-detail-panel .impact-kpi-row-meta span,
.route-results .results-detail-panel .staff-delivery-month-main strong,
.route-results .staff-self-scoring strong,
.route-results .staff-self-scoring label,
.route-results .staff-self-scoring .staff-indicator-row strong,
.route-results .staff-hr-review strong,
.route-results .staff-hr-review label,
.route-results .staff-hr-review .staff-indicator-row strong {
  color: #f7fbfa !important;
}

.route-results .results-detail-panel p,
.route-results .results-detail-panel small,
.route-results .results-detail-panel .muted,
.route-results .results-detail-panel .impact-category-head small,
.route-results .results-detail-panel .impact-kpi-row small,
.route-results .results-detail-panel .staff-delivery-card small,
.route-results .results-detail-panel .staff-delivery-chip small,
.route-results .results-detail-panel .staff-delivery-month-main small,
.route-results .staff-self-scoring p,
.route-results .staff-self-scoring small,
.route-results .staff-self-scoring .muted,
.route-results .staff-self-scoring .impact-category-head small,
.route-results .staff-self-scoring .staff-indicator-row small,
.route-results .staff-hr-review p,
.route-results .staff-hr-review small,
.route-results .staff-hr-review .muted,
.route-results .staff-hr-review .impact-category-head small,
.route-results .staff-hr-review .staff-indicator-row small {
  color: #dfecea !important;
  opacity: 1 !important;
}

.route-results .results-detail-panel .eyebrow,
.route-results .staff-self-scoring .eyebrow,
.route-results .staff-hr-review .eyebrow {
  color: #f5c84c !important;
  opacity: 1 !important;
}

.route-results .results-detail-panel .impact-category-head > span,
.route-results .results-detail-panel .staff-section-summary > span,
.route-results .results-detail-panel .staff-section-summary .impact-panel-actions > span,
.route-results .results-detail-panel .impact-kpi-row-meta span,
.route-results .staff-self-scoring .impact-category-head > span,
.route-results .staff-self-scoring .staff-indicator-row > span,
.route-results .staff-hr-review .impact-category-head > span,
.route-results .staff-hr-review .staff-indicator-row > span {
  border: 1px solid rgb(245 200 76 / 0.75) !important;
  background: #f5c84c !important;
  color: #102e35 !important;
}

.route-results .results-detail-panel .impact-category-group,
.route-results .results-detail-panel .result-detail-group,
.route-results .results-detail-panel .impact-kpi-card,
.route-results .results-detail-panel .staff-delivery-card,
.route-results .results-detail-panel .staff-delivery-next,
.route-results .results-detail-panel .staff-delivery-month,
.route-results .staff-self-scoring .impact-category-group,
.route-results .staff-self-scoring .staff-wellbeing-summary article,
.route-results .staff-self-scoring .staff-indicator-row,
.route-results .staff-hr-review .impact-category-group,
.route-results .staff-hr-review .staff-indicator-row {
  border-color: rgb(255 255 255 / 0.26) !important;
  background: #16414b !important;
}

.route-results .results-detail-panel .impact-category-head,
.route-results .results-detail-panel .staff-section-summary,
.route-results .staff-self-scoring .impact-category-head,
.route-results .staff-hr-review .impact-category-head {
  background: #102e35 !important;
}

.route-results .results-detail-panel button,
.route-results .staff-self-scoring button,
.route-results .staff-hr-review button {
  color: #102e35;
}

.route-my-goals .my-fundraising-subcategory > summary,
.route-results .my-fundraising-subcategory > summary,
.route-results .results-detail-panel .my-fundraising-subcategory > summary,
.route-results .results-detail-panel .fundraising-admin-subcategory.my-fundraising-subcategory > summary {
  border: 1px solid #b7cbc5;
  background: #eef4f1 !important;
  color: #102e35 !important;
}

.route-my-goals .my-fundraising-subcategory > summary strong,
.route-my-goals .my-fundraising-subcategory > summary small,
.route-results .my-fundraising-subcategory > summary strong,
.route-results .my-fundraising-subcategory > summary small,
.route-results .results-detail-panel .my-fundraising-subcategory > summary strong,
.route-results .results-detail-panel .my-fundraising-subcategory > summary small,
.route-results .results-detail-panel .fundraising-admin-subcategory.my-fundraising-subcategory > summary strong,
.route-results .results-detail-panel .fundraising-admin-subcategory.my-fundraising-subcategory > summary small {
  color: #102e35 !important;
  opacity: 1 !important;
}

.route-my-goals .my-fundraising-subcategory > summary > span,
.route-results .my-fundraising-subcategory > summary > span,
.route-results .results-detail-panel .my-fundraising-subcategory > summary > span,
.route-results .results-detail-panel .fundraising-admin-subcategory.my-fundraising-subcategory > summary > span {
  background: #ffffff !important;
  color: #102e35 !important;
}

.route-results .staff-self-scoring .staff-quest-card,
.route-results .staff-self-scoring .staff-pulse-path article,
.route-results .staff-self-scoring .staff-achievement {
  border-color: #bfd0cb !important;
  background: #f7fbf8 !important;
  color: #102e35 !important;
  opacity: 1 !important;
}

.route-results .staff-self-scoring .staff-quest-card.primary-quest {
  background: linear-gradient(135deg, #ffffff 0%, #edf6f2 100%) !important;
}

.route-results .staff-self-scoring .staff-quest-card span,
.route-results .staff-self-scoring .staff-quest-card strong,
.route-results .staff-self-scoring .staff-quest-card small,
.route-results .staff-self-scoring .staff-pulse-path article strong,
.route-results .staff-self-scoring .staff-pulse-path article small,
.route-results .staff-self-scoring .staff-achievement b,
.route-results .staff-self-scoring .staff-achievement small {
  color: #102e35 !important;
  opacity: 1 !important;
}

.route-results .staff-self-scoring .staff-quest-card span,
.route-results .staff-self-scoring .staff-pulse-path article small,
.route-results .staff-self-scoring .staff-achievement small {
  color: #52666b !important;
}

.route-results .staff-self-scoring .staff-pulse-stats span {
  background: #f5c84c !important;
  color: #102e35 !important;
}

.route-results .staff-self-scoring .staff-quest-progress,
.route-results .staff-self-scoring .staff-pulse-track {
  background: #d8e5e0 !important;
}

.route-results .staff-self-scoring .staff-quest-progress b {
  color: #102e35 !important;
}

.route-results .staff-self-scoring .staff-achievement.unlocked {
  border-color: #2f7d59 !important;
  background: #e9f6ef !important;
}

.route-results .staff-self-scoring .staff-signal-panel {
  border-color: rgb(211 54 54 / 0.58) !important;
  background:
    radial-gradient(circle at 2.1rem 1.8rem, rgb(255 111 92 / 0.28), transparent 3.4rem),
    #12343f !important;
}

.route-results .staff-self-scoring .staff-signal-panel > summary,
.route-results .staff-self-scoring .staff-signal-panel > summary span:not(.staff-signal-light) {
  color: #ffebe7 !important;
}

.route-results .staff-self-scoring .staff-signal-send-button {
  border-color: #ff8c79 !important;
  background: linear-gradient(180deg, #e94d3d 0%, #a91f22 100%) !important;
  color: #fff8f4 !important;
}

.route-results .staff-self-scoring .staff-signal-send-button:hover:not(:disabled) {
  border-color: #f5c84c !important;
  background: linear-gradient(180deg, #ff6f5c 0%, #b72628 100%) !important;
  color: #fff8f4 !important;
}

.route-results .staff-self-scoring .staff-signal-alert {
  border-left-color: #e94d3d;
  background: #fff1ee;
}

.route-results .compass-subroute,
.route-results .compass-subpage-panel,
.route-results .compass-subpage-body,
.route-results .compass-subpage-body > *,
.route-results .compass-subpage-panel .my-goals-list,
.route-results .compass-subpage-panel .result-detail-group,
.route-results .compass-subpage-panel .staff-self-scoring,
.route-results .compass-subpage-panel .staff-hr-review,
.route-results .compass-subpage-panel .staff-wellbeing-module,
.route-results .compass-subpage-panel .staff-section-block {
  width: 100%;
  max-width: none;
}

.route-results .compass-subpage-panel .compass-subpage-layout {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.28fr);
  gap: 1rem;
}

.route-results .compass-subpage-panel .compass-subpage-body,
.route-results .compass-subpage-panel .my-goals-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
}

.route-results .compass-subpage-panel .my-goals-list,
.route-results .compass-subpage-panel .my-kpi-goals-list,
.route-results .compass-subpage-panel .my-fundraising-goals-list,
.route-results .compass-subpage-panel .result-detail-group .result-area-list,
.route-results .compass-subpage-panel .fundraising-admin-subcategories {
  background: #eaf3f0 !important;
}

.route-results .compass-subpage-panel .my-kpi-pillar,
.route-results .compass-subpage-panel .my-fundraising-category {
  width: 100%;
  border-color: rgb(255 255 255 / 0.2) !important;
  background: #12343f !important;
}

.route-results .compass-subpage-panel .my-kpi-pillar > summary,
.route-results .compass-subpage-panel .my-fundraising-category > summary {
  background: #12343f !important;
  color: #f7fbfa !important;
}

.route-results .compass-subpage-panel .my-kpi-pillar > summary strong,
.route-results .compass-subpage-panel .my-fundraising-category > summary strong {
  color: #f7fbfa !important;
}

.route-results .compass-subpage-panel .my-kpi-pillar > summary small,
.route-results .compass-subpage-panel .my-fundraising-category > summary small {
  color: #d6e3e2 !important;
}

.route-results .compass-subpage-panel .my-kpi-pillar > summary > span,
.route-results .compass-subpage-panel .my-fundraising-category > summary > span {
  border-color: rgb(245 200 76 / 0.75) !important;
  background: #f5c84c !important;
  color: #102e35 !important;
}

.route-results .compass-subpage-panel .my-kpi-program,
.route-results .compass-subpage-panel .my-fundraising-subcategory,
.route-results .compass-subpage-panel .result-goal-line,
.route-results .compass-subpage-panel .impact-kpi-card,
.route-results .compass-subpage-panel .staff-quest-card.primary-quest,
.route-results .compass-subpage-panel .staff-wellbeing-summary article,
.route-results .compass-subpage-panel .staff-achievement {
  border-color: #b7cbc5 !important;
  background: #f7fbf8 !important;
  color: #102e35 !important;
}

.route-results .compass-subpage-panel .my-kpi-program > summary,
.route-results .compass-subpage-panel .my-fundraising-subcategory > summary,
.route-results .compass-subpage-panel .result-goal-line,
.route-results .compass-subpage-panel .impact-kpi-card {
  background: #f7fbf8 !important;
  color: #102e35 !important;
}

.route-results .compass-subpage-panel .my-kpi-program > summary strong,
.route-results .compass-subpage-panel .my-kpi-program > summary small,
.route-results .compass-subpage-panel .my-fundraising-subcategory > summary strong,
.route-results .compass-subpage-panel .my-fundraising-subcategory > summary small,
.route-results .compass-subpage-panel .result-goal-line strong,
.route-results .compass-subpage-panel .result-goal-line small,
.route-results .compass-subpage-panel .impact-kpi-card strong,
.route-results .compass-subpage-panel .impact-kpi-card small,
.route-results .compass-subpage-panel .staff-quest-card.primary-quest strong,
.route-results .compass-subpage-panel .staff-quest-card.primary-quest small,
.route-results .compass-subpage-panel .staff-quest-card.primary-quest span,
.route-results .compass-subpage-panel .staff-wellbeing-summary strong,
.route-results .compass-subpage-panel .staff-wellbeing-summary small,
.route-results .compass-subpage-panel .staff-wellbeing-summary span,
.route-results .compass-subpage-panel .staff-achievement b,
.route-results .compass-subpage-panel .staff-achievement small {
  color: #102e35 !important;
  opacity: 1 !important;
}

.route-results .compass-subpage-panel .result-goal-line .progress,
.route-results .compass-subpage-panel .staff-quest-progress,
.route-results .compass-subpage-panel .staff-pulse-track {
  background: #d7e4df !important;
}

.route-results .compass-subpage-panel .result-goal-line .progress b,
.route-results .compass-subpage-panel .staff-quest-progress b {
  color: #102e35 !important;
}

.route-reporting .impact-narrative-panel,
.route-reporting .manual-reporting-panel,
.route-reporting .main > .panel:not(.reporting-command) {
  width: 100%;
  max-width: none;
}

.fundraising-scope-block .impact-program-head > span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: right;
}

.impact-program-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}

.impact-program-actions button {
  border: 1px solid #9fb3ad;
  background: #f7f8f5;
  color: #102e35;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0.48rem 0.65rem;
}

.impact-kpi-section {
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.impact-kpi-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.45rem;
}

.impact-kpi-section-head h4 {
  margin: 0;
  font-size: 0.86rem;
}

.impact-kpi-section-head span {
  min-width: 28px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  text-align: center;
}

.impact-kpi-card {
  padding: 0;
  background: #fbfcfb;
}

.impact-kpi-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(140px, 0.35fr);
  gap: 0.65rem;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.6rem;
}

.impact-kpi-row-progress .progress {
  min-width: 120px;
}

.impact-kpi-row strong {
  display: block;
  font-size: 0.86rem;
}

.impact-kpi-row small {
  display: block;
  margin-top: 0.2rem;
  max-width: 62ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.impact-kpi-row-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
  min-width: 150px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.impact-kpi-row-meta span {
  border-radius: 999px;
  background: var(--surface-soft);
  padding: 0.12rem 0.42rem;
}

.impact-kpi-row-meta b {
  color: var(--primary-strong);
  font-size: 0.74rem;
}

.impact-inline-edit {
  display: grid;
}

.impact-inline-edit summary {
  cursor: pointer;
  list-style: none;
}

.impact-inline-edit summary::-webkit-details-marker {
  display: none;
}

.impact-inline-edit[open] {
  display: grid;
  gap: 0.6rem;
  padding-bottom: 0.6rem;
}

.impact-inline-edit[open] summary {
  border-bottom: 1px solid var(--line);
}

.impact-inline-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.55rem;
  padding: 0 0.6rem;
}

.impact-inline-fields label {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.impact-inline-fields input,
.impact-inline-fields select {
  width: 100%;
  min-width: 0;
  padding: 0.55rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 400;
}

.impact-inline-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0 0.6rem;
}

.impact-admin-kpis {
  display: grid;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem 0.65rem;
}

.impact-admin-program {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.impact-admin-program > summary,
.impact-admin-card > summary {
  list-style: none;
}

.impact-admin-program:not([open]) > :not(summary),
.impact-admin-card:not([open]) > :not(summary) {
  display: none;
}

.impact-admin-program > summary::-webkit-details-marker,
.impact-admin-card > summary::-webkit-details-marker {
  display: none;
}

.impact-admin-program > .impact-program-head {
  cursor: pointer;
  padding: 0.62rem 0.75rem;
  background: var(--surface);
}

.impact-admin-program.fundraising-admin-subcategory > .impact-program-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  justify-content: initial;
  min-height: 0;
  gap: 0.7rem;
  background: #eef4f1;
  color: var(--primary-strong);
  padding: 0.5rem 0.65rem;
}

.impact-admin-program-scope > .impact-program-head {
  align-items: center;
  justify-content: flex-start;
  min-height: 46px;
}

.impact-admin-program-scope > .impact-program-head div {
  flex: 1;
  min-width: 0;
}

.impact-admin-program.fundraising-admin-subcategory > .impact-program-head div {
  min-width: 0;
}

.impact-admin-program-scope > .impact-program-head h3 {
  margin: 0;
  text-align: left;
}

.impact-admin-program.fundraising-admin-subcategory > .impact-program-head {
  justify-content: stretch;
  width: 100%;
}

.impact-admin-program > .impact-program-head::before {
  content: "+";
  color: var(--primary-strong);
  font-weight: 900;
}

.impact-admin-program[open] > .impact-program-head {
  border-bottom: 1px solid var(--line);
  background: #eef4f1;
}

.impact-admin-program[open] > .impact-program-head::before {
  content: "-";
}

.impact-admin-card {
  gap: 0;
  padding: 0;
  box-shadow: none;
  border-color: #d8e1dd;
}

.impact-admin-indicator-section {
  display: grid;
  gap: 0.35rem;
  border: 1px solid #d8e1dd;
  border-radius: 8px;
  background: #fbfdfc;
  padding: 0.45rem;
}

.impact-admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0 0.1rem;
}

.impact-admin-section-head h4 {
  margin: 0;
  font-size: 0.78rem;
}

.impact-admin-section-head span {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.1rem 0.42rem;
}

.impact-admin-indicator-list {
  gap: 0.35rem;
}

.impact-admin-kpi-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  min-height: 36px;
  padding: 0.42rem 0.55rem;
  cursor: pointer;
}

.impact-admin-kpi-summary strong,
.impact-admin-kpi-summary small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.impact-admin-kpi-summary strong {
  font-size: 0.82rem;
}

.impact-admin-kpi-summary small {
  color: var(--muted);
  font-size: 0.7rem;
}

.impact-admin-kpi-summary > span {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.12rem 0.42rem;
  white-space: nowrap;
}

.impact-admin-card[open] .impact-admin-kpi-summary {
  border-bottom: 1px solid var(--line);
  background: #fbfdfc;
}

.impact-admin-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 0.7rem;
  padding: 0.65rem;
}

.impact-admin-fields label {
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.impact-admin-fields input,
.impact-admin-fields select {
  width: 100%;
  min-width: 0;
  font-weight: 400;
}

.impact-annual-editor {
  display: grid;
  gap: 0.45rem;
  margin: 0 0.65rem 0.65rem;
  padding: 0.55rem;
  border: 1px solid #d8e1dd;
  border-radius: 8px;
  background: #f7faf8;
}

.impact-annual-head,
.impact-annual-compact {
  align-items: center;
}

.impact-annual-head {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
}

.impact-annual-head strong {
  font-size: 0.82rem;
}

.impact-annual-head span {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.1rem 0.42rem;
}

.impact-annual-compact {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(110px, 0.8fr) minmax(110px, 0.8fr);
  gap: 0.5rem;
}

.impact-annual-compact label {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.impact-annual-compact input,
.impact-annual-compact select {
  width: 100%;
  min-width: 0;
  padding: 0.48rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.impact-annual-saved {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.impact-annual-saved span {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--primary-strong);
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.12rem 0.42rem;
}

.impact-annual-hidden {
  display: none;
}

.workstream-title-input,
.fundraising-title-input {
  width: 100%;
  margin-top: 0.25rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 0.25rem 0;
  font-size: 1rem;
  font-weight: 700;
}

.workstream-title-input:focus,
.fundraising-title-input:focus {
  outline: 0;
  border-color: var(--primary);
}

.workstream-card-meta,
.fundraising-card-total {
  min-width: 150px;
  text-align: right;
}

.fundraising-card-total strong {
  display: block;
  font-size: 1.2rem;
}

.workstream-card-meta small {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
}

.workstream-description-details summary {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.workstream-description-details[open] {
  display: grid;
  gap: 0.35rem;
}

.workstream-card-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.7rem;
}

.employee-goal-creator {
  margin-bottom: 1rem;
}

.employee-goal-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.7rem;
}

.employee-goal-fields.compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.employee-goal-fields label {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  min-width: 0;
}

.employee-quarter-milestones,
.employee-quarter-deliverables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 0.75rem;
  background: #f7fbfa;
}

.employee-goal-editor-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.75rem 0;
  background: #f7fbfa;
}

.employee-goal-editor-tools span {
  color: #244a52;
  font-size: 0.78rem;
  font-weight: 900;
}

.employee-goal-editor-tools button,
.employee-item-remove {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-strong);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.42rem 0.7rem;
  text-transform: uppercase;
}

.employee-goal-editor-tools button:hover,
.employee-item-remove:hover {
  background: #f5c84c;
  color: var(--ink);
}

.employee-quarter-milestone-group,
.employee-quarter-deliverable-group {
  display: grid;
  gap: 0.45rem;
  border: 1px solid #d7e2de;
  border-left: 4px solid #f5c84c;
  border-radius: 8px;
  background: #fbfdfc;
  padding: 0.65rem;
}

.employee-quarter-deliverable-group {
  border-left-color: #2f7d59;
}

.employee-quarter-milestone-group > strong,
.employee-quarter-deliverable-group > strong {
  color: var(--primary-strong);
  font-family: var(--display-font);
  font-size: 0.9rem;
  font-weight: 400;
}

.employee-quarter-milestone-row,
.employee-quarter-deliverable-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(135px, 0.45fr) minmax(135px, 0.45fr) auto;
  gap: 0.42rem;
  align-items: end;
  border: 1px solid #bdd0ca;
  border-left: 5px solid #f5c84c;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.72rem;
  box-shadow: 0 8px 18px rgb(16 46 53 / 0.08);
}

.employee-quarter-deliverable-row {
  border-left-color: #2f7d59;
}

.employee-quarter-milestone-row label,
.employee-quarter-deliverable-row label {
  display: grid;
  gap: 0.22rem;
  color: #102e35;
  font-size: 0.76rem;
  font-weight: 900;
}

.employee-quarter-milestone-row input,
.employee-quarter-milestone-row select,
.employee-quarter-deliverable-row input,
.employee-quarter-deliverable-row select {
  width: 100%;
  min-width: 0;
  padding: 0.45rem 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  border-color: #9fb3ad;
  color: #102e35;
}

.fundraising-card-fields {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(170px, 0.8fr) minmax(130px, 0.55fr) minmax(130px, 0.55fr) minmax(130px, 0.55fr);
  gap: 0.7rem;
}

.fundraising-card-contributors summary {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.fundraising-card-contributors[open] {
  display: grid;
  gap: 0.4rem;
}

.contributor-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-height: 92px;
  overflow-y: auto;
  padding: 0.15rem;
}

.contributor-check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.82rem;
}

.contributor-check input {
  width: auto;
}

.fundraising-card-footer {
  border-top: 1px solid var(--line);
  padding-top: 0.75rem;
}

.reporting-governance {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.reporting-governance span {
  font-weight: 800;
  color: var(--primary-strong);
}

.governance-workspace {
  display: grid;
  gap: 0.72rem;
}

.governance-restricted-panel {
  max-width: 780px;
}

.governance-section {
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.07);
  box-shadow: 0 18px 42px rgb(0 0 0 / 0.18);
  overflow: hidden;
}

.governance-section > .impact-category-head {
  border-left: 5px solid #f5c84c;
  background: rgb(22 67 77 / 0.88);
}

.governance-section > .impact-category-head strong {
  color: #f5c84c;
}

.governance-section > .impact-category-head small {
  color: #d6e3e2;
}

.governance-section > .impact-category-head > span {
  background: #f5c84c;
  color: #102e35;
}

.governance-section-body {
  display: grid;
  gap: 0.62rem;
  padding: 0.72rem;
}

.governance-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.08);
  color: #f7fbfa;
}

.governance-row strong,
.governance-row small {
  display: block;
}

.governance-row strong {
  color: #f7fbfa;
  font-weight: 900;
}

.governance-row small,
.governance-empty {
  color: #d6e3e2;
}

.governance-row > span {
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-weight: 900;
  padding: 0.28rem 0.56rem;
}

@media (max-width: 1080px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    height: auto;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    min-height: 118px;
  }

  .brand-logo-panel {
    width: 112px;
    min-height: 118px;
  }

  .brand-lighthouse {
    width: 84px;
    height: 108px;
  }

  .brand-lighthouse::before {
    left: 54px;
    width: min(78vw, 780px);
    height: 58px;
  }

  .brand-wordmark-my {
    font-size: 3rem;
  }

  .brand-wordmark-name {
    font-size: 1.48rem;
  }

  .brand-logo-panel::before {
    width: min(82vw, 820px);
  }

  .nav {
    justify-content: flex-start;
  }

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

  .admin-jump-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-setup-steps,
  .portfolio-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shipyard-navigation,
  .admin-compass-navigation {
    grid-template-columns: 1fr;
  }

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

  .admin-compass-rose {
    width: min(260px, 72vw);
  }

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

  .admin-subnav,
  .admin-scope-overview,
  .staff-quest-board,
  .staff-game-header,
  .staff-delivery-snapshot,
  .staff-mini-quests,
  .staff-pulse-path,
  .foundation-goals-grid,
  .personal-share-layout,
  .client-model-fields,
  .vessel-admin-layout,
  .new-vessel-grid,
  .client-fleet-grid,
  .crew-document-grid,
  .document-user-picker,
  .fleet-crew-picker,
  .brand-fields,
  .report-logo-control {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-profile-menu {
    left: 1rem;
    right: 1rem;
    width: auto;
  }

  .grid.two,
  .login-panel {
    grid-template-columns: 1fr;
  }

  .my-fundraising-goal-line {
    grid-template-columns: minmax(0, 1fr);
  }

  .my-fundraising-goal-target {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .landing-gates {
    grid-template-columns: 1fr;
  }

  .sidebar-profile-grid,
  .avatar-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cargo-scope-grid,
  .cargo-scope-card dl {
    grid-template-columns: 1fr;
  }

  .sidebar .topbar-red-buoy {
    margin-left: 1rem;
  }

  .sidebar .topbar-red-buoy-menu {
    top: calc(100% + 0.55rem);
    left: 0;
    width: calc(100vw - 2rem);
  }

  .collapsible-panel:not([open]) > .collapsible-panel-summary,
  .staff-section-summary,
  .manual-reporting-panel:not([open]) .manual-reporting-summary {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .collapsible-panel:not([open]) > .collapsible-panel-summary > span,
  .collapsible-panel:not([open]) > .collapsible-panel-summary .impact-panel-actions,
  .staff-section-summary > span,
  .staff-section-summary .impact-panel-actions,
  .manual-reporting-panel:not([open]) .manual-reporting-summary > span {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.35rem;
  }

  .collapsible-panel:not([open]) > .collapsible-panel-summary h2,
  .collapsible-panel:not([open]) > .collapsible-panel-summary h3,
  .manual-reporting-panel:not([open]) .manual-reporting-summary h2 {
    overflow-wrap: anywhere;
  }

  .route-my-goals .my-goals-assigned-panel .my-goals-list,
  .route-results .results-detail-panel .my-goals-list {
    grid-template-columns: 1fr;
  }

  .main {
    padding: 1rem;
  }

  .topbar,
  .detail-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .sidebar {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

  .brand-logo-panel {
    width: 92px;
    min-height: 104px;
  }

  .brand-lighthouse {
    width: 72px;
    height: 94px;
  }

  .brand-lighthouse::before {
    top: 16px;
    left: 45px;
    width: 76vw;
    height: 52px;
  }

  .brand-wordmark-my {
    font-size: 2.28rem;
  }

  .brand-wordmark-name {
    font-size: 1.12rem;
  }

  .brand-meta {
    padding-bottom: 0;
    transform: none;
  }

  .brand-logo-panel::before {
    top: 14%;
    left: 52%;
    width: 76vw;
    height: 72%;
  }

  .brand-logo-panel::after {
    width: 142%;
    height: 142%;
  }

  .role-switcher {
    min-width: 0;
  }

  .metrics,
  .field-grid,
  .report-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-overview-head,
  .admin-collapsible > summary {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-jump-nav {
    grid-template-columns: 1fr;
  }

  .admin-setup-steps,
  .portfolio-summary-grid {
    grid-template-columns: 1fr;
  }

  .shipyard-navigation,
  .admin-compass-navigation {
    padding: 0.75rem;
  }

  .shipyard-card-grid {
    grid-template-columns: 1fr;
  }

  .admin-compass-points {
    grid-template-columns: 1fr;
  }

  .admin-subnav,
  .admin-scope-overview,
  .staff-quest-board,
  .staff-game-header,
  .staff-delivery-snapshot,
  .staff-mini-quests,
  .staff-pulse-path,
  .foundation-goals-grid,
  .personal-share-layout,
  .client-model-fields,
  .vessel-admin-layout,
  .new-vessel-grid,
  .client-fleet-grid,
  .crew-document-grid,
  .document-user-picker,
  .fleet-crew-picker,
  .brand-fields,
  .report-logo-control,
  .impact-narrative-grid,
  .impact-narrative-fields,
  .user-profile-fields,
  .user-document-fields,
  .logbook-export-grid {
    grid-template-columns: 1fr;
  }

  .annual-review-card {
    grid-column: auto;
  }

  .user-profile-fields .profile-wide {
    grid-column: auto;
  }

  .impact-narrative-fields label:nth-child(1),
  .impact-narrative-fields label:nth-child(2) {
    grid-column: auto;
  }

  .impact-narrative-actions {
    justify-content: flex-start;
  }

  .impact-kpi-row {
    grid-template-columns: 1fr;
  }

  .staff-wellbeing-summary,
  .staff-quest-board,
  .staff-game-header,
  .staff-delivery-grid,
  .staff-delivery-months,
  .staff-delivery-chip,
  .staff-delivery-month-row,
  .staff-mini-quests,
  .staff-pulse-path,
  .staff-reflection-fields,
  .staff-score-grid,
  .staff-reflection-inputs,
  .staff-confidential-grid,
  .staff-deck-log-body,
  .user-assignment-grid,
  .employee-quarter-milestones,
  .employee-quarter-milestone-row,
  .employee-quarter-deliverables,
  .employee-quarter-deliverable-row,
  .staff-indicator-row,
  .staff-people-member,
  .personal-share-family {
    grid-template-columns: 1fr;
  }

  .impact-kpi-row small {
    white-space: normal !important;
  }

  .employee-goal-editor-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .impact-kpi-row-meta {
    justify-content: flex-start;
    min-width: 0;
  }

  .manual-reporting-action {
    text-align: left;
  }

  .manual-reporting-checks {
    justify-content: flex-start;
    min-width: 0;
    flex-wrap: wrap;
  }

  .workstream-row,
  .compact-goal,
  .validation-item,
  .user-card-summary,
  .admin-user-fields,
  .user-admin-tools,
  .workstream-admin-tools,
  .workstream-card-fields,
  .fundraising-admin-tools,
  .fundraising-card-fields,
  .client-model-fields,
  .report-logo-control,
  .fundraising-inline-fields {
    grid-template-columns: 1fr;
  }

  .workstream-card-summary,
  .workstream-card-footer,
  .fundraising-card-summary,
  .fundraising-card-footer,
  .user-card-footer,
  .user-assignment-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .workstream-card-meta,
  .fundraising-card-total {
    text-align: left;
  }

  .fundraising-inline-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .category-champion-control {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .category-champion-control small {
    padding-bottom: 0;
    white-space: normal;
  }

  .save-user-button {
    grid-column: auto;
    justify-self: stretch;
  }

  .goal-head,
  .goal-meta {
    flex-direction: column;
  }

  .login-copy h2 {
    font-size: 2rem;
  }
}

/* Public funder guide: a product-led explainer that keeps the data visible. */
.funder-guide-site {
  --funder-ink: var(--public-navy);
  --funder-panel: #0d2137;
  --funder-panel-light: #102a43;
  --funder-line: rgb(255 255 255 / 0.13);
}

.funder-guide-brand {
  appearance: none;
  padding: 0;
  color: var(--public-white);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
}

.funder-guide-brand:hover:not(:disabled),
.funder-guide-brand:focus-visible {
  color: var(--public-white);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  outline: 3px solid rgb(247 189 47 / 0.55);
  outline-offset: 0.35rem;
  transform: none;
}

.funder-guide-brand:hover .public-brand-text span,
.funder-guide-brand:focus-visible .public-brand-text span {
  color: var(--public-amber);
}

.funder-guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(30rem, 1.18fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  min-height: min(50rem, calc(100vh - 6.1rem));
  padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 6vw, 7rem);
  background:
    radial-gradient(circle at 85% 40%, rgb(10 92 107 / 0.28), transparent 28rem),
    linear-gradient(135deg, var(--public-petrol) 0%, #0a263b 48%, var(--public-black) 100%);
}

.funder-guide-hero-copy {
  max-width: 42rem;
}

.funder-guide-hero h1 {
  max-width: 38rem;
  margin: 1.4rem 0 0;
  color: var(--public-white);
  font-family: var(--brand-serif);
  font-size: clamp(3rem, 5.2vw, 6rem);
  font-weight: 500;
  line-height: 0.98;
}

.funder-guide-title-blue {
  color: var(--funder-ink);
}

.funder-guide-title-accent {
  color: var(--public-amber-strong);
}

.funder-guide-hero h1::first-line {
  color: var(--public-white);
}

.funder-guide-hero-copy > p {
  max-width: 37rem;
  margin: 2rem 0 0;
  color: rgb(255 250 240 / 0.7);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  font-weight: 600;
  line-height: 1.6;
}

.funder-guide-hero-copy > .funder-guide-hero-note {
  max-width: 31rem;
  margin-top: 1rem;
  color: rgb(255 250 240 / 0.56);
  font-family: var(--brand-sans);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.funder-guide-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.funder-guide-hero-actions .public-button {
  min-height: 3rem;
  padding: 0.72rem 1rem;
  font-size: 0.7rem;
}

.funder-guide-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 3.2rem;
}

.funder-guide-metric {
  display: grid;
  gap: 0.4rem;
  min-height: 6.5rem;
  padding: 1rem;
  background: rgb(13 34 56 / 0.74);
  border: 1px solid var(--funder-line);
  border-radius: 0.8rem;
}

.funder-guide-metric strong {
  color: var(--public-white);
  font-family: var(--brand-serif);
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  font-weight: 500;
}

.funder-guide-metric span {
  color: rgb(255 250 240 / 0.52);
  font-family: var(--brand-mono);
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.funder-guide-devices {
  position: relative;
  min-height: 31rem;
}

.funder-guide-device {
  position: absolute;
  overflow: hidden;
  background: #061321;
  border: 1px solid rgb(255 255 255 / 0.2);
  box-shadow: 0 2rem 4rem rgb(0 0 0 / 0.38);
}

.funder-guide-device-desktop {
  top: 1.5rem;
  right: 0;
  width: min(100%, 39rem);
  border-radius: 0.9rem;
}

.funder-guide-device-tablet {
  bottom: 0;
  left: 0;
  width: 12.5rem;
  border-radius: 0.9rem;
  transform: rotate(-2deg);
}

.funder-guide-device-phone {
  right: 7%;
  bottom: -1.5rem;
  width: 8rem;
  border-radius: 1rem;
  transform: rotate(3deg);
}

.funder-guide-device-top {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0 0.75rem;
  background: #071426;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.funder-guide-device-top > span {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: rgb(255 250 240 / 0.34);
}

.funder-guide-device-top > span:first-child {
  background: var(--public-amber);
}

.funder-guide-device-top strong {
  margin-left: auto;
  color: rgb(255 250 240 / 0.38);
  font-family: var(--brand-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.funder-guide-screen {
  position: relative;
  overflow: hidden;
  min-height: 20rem;
  padding: 1.2rem;
  background-color: #0b1d31;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23e9f0f4' stroke-opacity='.12' stroke-width='.45'%3E%3Cpath d='M0 10 Q50 -2 100 10 M0 30 Q50 22 100 30 M0 50 Q50 50 100 50 M0 70 Q50 78 100 70 M0 90 Q50 102 100 90'/%3E%3Cpath d='M10 0 Q-8 50 10 100 M30 0 Q18 50 30 100 M50 0 Q50 50 50 100 M70 0 Q82 50 70 100 M90 0 Q108 50 90 100'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100% 100%;
}

.funder-guide-device-desktop .funder-guide-screen {
  min-height: 25rem;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-device-desktop .funder-guide-screen {
  height: 25rem;
  min-height: 0;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-device-desktop .funder-guide-screen h2 {
  margin: 0.85rem 0 0.65rem;
  font-size: 1.65rem;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-device-desktop .funder-guide-screen-metrics {
  gap: 0.35rem;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-device-desktop .funder-guide-screen-metrics span {
  gap: 0.15rem;
  padding: 0.45rem 0.5rem;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-device-desktop .funder-guide-screen-metrics b {
  font-size: 0.82rem;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-device-desktop .funder-guide-screen-metrics small {
  font-size: 0.38rem;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-device-desktop .funder-guide-screen-chart {
  height: 4.5rem;
  margin-top: 0.7rem;
  padding-top: 0.35rem;
}

.funder-guide-screen-header {
  display: flex;
  justify-content: space-between;
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.56rem;
  letter-spacing: 0.13em;
}

.funder-guide-screen-appbar {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  min-width: 0;
  margin-bottom: 0.7rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.funder-guide-screen-appbar > span:last-child {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.funder-guide-screen-appbar b {
  overflow: hidden;
  color: var(--public-white);
  font-family: var(--brand-serif);
  font-size: 0.62rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.funder-guide-screen-appbar small {
  overflow: hidden;
  color: rgb(255 250 240 / 0.44);
  font-family: var(--brand-mono);
  font-size: 0.36rem;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.funder-guide-app-icon {
  display: block;
  width: 2.05rem;
  height: 2.05rem;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 0.48rem;
  box-shadow: 0 0.35rem 0.7rem rgb(0 0 0 / 0.25);
}

.funder-guide-app-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.funder-guide-screen-header em {
  color: rgb(255 250 240 / 0.44);
  font-style: normal;
}

.funder-guide-screen h2 {
  margin: 1.4rem 0 1rem;
  color: var(--public-white);
  font-family: var(--brand-serif);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 500;
}

.funder-guide-screen-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.funder-guide-screen-metrics span {
  display: grid;
  gap: 0.25rem;
  padding: 0.65rem;
  background: rgb(255 255 255 / 0.055);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 0.35rem;
}

.funder-guide-screen-metrics b {
  color: var(--public-white);
  font-size: 1rem;
  font-weight: 700;
}

.funder-guide-screen-metrics small {
  color: rgb(255 250 240 / 0.42);
  font-family: var(--brand-mono);
  font-size: 0.46rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.funder-guide-overall-progress {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
}

.funder-guide-overall-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  color: rgb(255 250 240 / 0.58);
  font-family: var(--brand-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.funder-guide-overall-progress b {
  color: var(--public-amber);
  font-weight: 700;
}

.funder-guide-overall-progress > i {
  display: block;
  height: 0.45rem;
  overflow: hidden;
  background: rgb(255 250 240 / 0.14);
  border-radius: 999px;
}

.funder-guide-overall-progress > i em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f7bd2f 0%, #a6c94b 55%, #2f9b63 100%);
  border-radius: inherit;
}

.funder-guide-screen-chart {
  display: flex;
  align-items: end;
  gap: 0.45rem;
  height: 7rem;
  margin-top: 1.2rem;
  padding: 0.75rem 0.7rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
}

.funder-guide-screen-chart i {
  flex: 1;
  min-height: 0.8rem;
  background: linear-gradient(180deg, var(--public-amber), #e68c2a);
  border-radius: 0.2rem 0.2rem 0 0;
}

.funder-guide-screen-chart b {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  margin: 0 0 4.6rem 13.3rem;
  border: 2px solid var(--public-amber);
  border-radius: 50%;
  background: #0b1d31;
}

.funder-guide-screen-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.funder-guide-screen-list span {
  display: grid;
  grid-template-columns: 0.5rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  color: rgb(255 250 240 / 0.62);
  font-size: 0.58rem;
}

.funder-guide-screen-list i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--public-amber);
}

.funder-guide-screen-list b {
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.55rem;
}

.funder-guide-screen-tracking {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
}

.funder-guide-screen-tracking-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: rgb(255 250 240 / 0.62);
  font-family: var(--brand-mono);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.funder-guide-screen-tracking-head b {
  color: #72c47e;
  font-weight: 700;
}

.funder-guide-screen-tracking-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.funder-guide-screen-tracking-grid span {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
  padding: 0.45rem 0.5rem;
  background: rgb(255 255 255 / 0.045);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 0.28rem;
}

.funder-guide-screen-tracking-grid small {
  overflow: hidden;
  color: rgb(255 250 240 / 0.46);
  font-family: var(--brand-mono);
  font-size: 0.4rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.funder-guide-screen-tracking-grid b {
  color: var(--public-white);
  font-family: var(--brand-mono);
  font-size: 0.62rem;
  font-weight: 700;
}

.funder-guide-screen-detail-table {
  display: grid;
  gap: 0.3rem;
  margin-top: 0.8rem;
  padding: 0.65rem 0.7rem;
  background: rgb(5 13 28 / 0.38);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 0.35rem;
}

.funder-guide-screen-detail-table-head,
.funder-guide-screen-detail-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 0.55fr minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
}

.funder-guide-screen-detail-table-head {
  padding-bottom: 0.35rem;
  color: rgb(255 250 240 / 0.42);
  font-family: var(--brand-mono);
  font-size: 0.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.funder-guide-screen-detail-table-row {
  min-height: 1.7rem;
  padding: 0.35rem 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 0.52rem;
}

.funder-guide-screen-detail-table-row b {
  overflow: hidden;
  color: rgb(255 250 240 / 0.78);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.funder-guide-screen-detail-table-row span {
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.52rem;
  font-weight: 700;
}

.funder-guide-screen-detail-table-row small {
  overflow: hidden;
  color: rgb(255 250 240 / 0.52);
  font-size: 0.46rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.funder-guide-screen-telemetry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.funder-guide-screen-telemetry span {
  display: grid;
  gap: 0.18rem;
  padding: 0.4rem 0.45rem;
  background: rgb(19 46 73 / 0.64);
  border-left: 2px solid var(--public-amber);
}

.funder-guide-screen-telemetry small {
  overflow: hidden;
  color: rgb(255 250 240 / 0.48);
  font-family: var(--brand-mono);
  font-size: 0.38rem;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.funder-guide-screen-telemetry b {
  color: var(--public-white);
  font-family: var(--brand-mono);
  font-size: 0.58rem;
  font-weight: 700;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-device-desktop .funder-guide-screen-detail-table {
  gap: 0.15rem;
  margin-top: 0.55rem;
  padding: 0.45rem 0.5rem;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-device-desktop .funder-guide-screen-detail-table-row {
  min-height: 1.35rem;
  padding: 0.2rem 0;
  font-size: 0.46rem;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-device-desktop .funder-guide-screen-detail-table-row small {
  font-size: 0.4rem;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-device-desktop .funder-guide-screen-telemetry {
  gap: 0.3rem;
  margin-top: 0.45rem;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-device-desktop .funder-guide-screen-telemetry span {
  gap: 0.12rem;
  padding: 0.28rem 0.35rem;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-device-desktop .funder-guide-screen-telemetry small {
  font-size: 0.32rem;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-device-desktop .funder-guide-screen-telemetry b {
  font-size: 0.48rem;
}

.funder-guide-device-tablet .funder-guide-screen {
  min-height: 16rem;
  padding: 0.9rem;
}

.funder-guide-device-tablet .funder-guide-app-icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.4rem;
}

.funder-guide-device-tablet .funder-guide-screen h2 {
  margin: 1rem 0;
  font-size: 1.3rem;
}

.funder-guide-review-row {
  display: grid;
  gap: 0.42rem;
  padding: 0.58rem 0;
  color: rgb(255 250 240 / 0.76);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.58rem;
}

.funder-guide-review-row > div {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
}

.funder-guide-review-row span {
  color: var(--public-amber);
  font-family: var(--brand-mono);
}

.funder-guide-review-row > i {
  display: block;
  height: 0.32rem;
  overflow: hidden;
  background: rgb(255 250 240 / 0.14);
  border-radius: 999px;
}

.funder-guide-review-row > i em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f7bd2f 0%, #a6c94b 55%, #2f9b63 100%);
  border-radius: inherit;
}

.funder-guide-device-phone .funder-guide-device-top {
  min-height: 1.5rem;
  justify-content: center;
}

.funder-guide-device-phone .funder-guide-device-top span:not(:first-child) {
  display: none;
}

.funder-guide-device-phone .funder-guide-device-top strong {
  margin: 0;
  font-size: 0.44rem;
}

.funder-guide-device-phone .funder-guide-screen {
  min-height: 17rem;
  padding: 0.75rem;
}

.funder-guide-phone-brand {
  color: var(--public-amber);
  font-family: var(--brand-serif);
  font-size: 0.7rem;
}

.funder-guide-device-phone .funder-guide-screen h2 {
  margin: 1.2rem 0 0.85rem;
  font-size: 1.05rem;
}

.funder-guide-phone-alert {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0;
  color: rgb(255 250 240 / 0.7);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.48rem;
  line-height: 1.25;
}

.funder-guide-phone-alert b {
  display: grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--public-black);
  background: var(--public-amber);
  border-radius: 50%;
}

.funder-guide-phone-line {
  width: 3.2rem;
  height: 0.25rem;
  margin: 2rem auto 0;
  border-radius: 99rem;
  background: rgb(255 250 240 / 0.25);
}

.funder-guide-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 6vw, 7rem);
}

.funder-guide-overview-section,
.funder-guide-views-section {
  background: var(--public-cream);
}

.funder-guide-route-section {
  background:
    radial-gradient(circle at 12% 30%, rgb(247 189 47 / 0.14), transparent 24rem),
    linear-gradient(135deg, var(--public-petrol) 0%, #09192b 52%, var(--public-black) 100%);
}

.funder-guide-section-heading {
  max-width: 54rem;
}

.funder-guide-section-heading h2,
.funder-guide-contact h2 {
  max-width: 48rem;
  margin: 1.25rem 0 0;
  color: var(--public-white);
  font-family: var(--brand-serif);
  font-size: clamp(2.4rem, 4.8vw, 5.2rem);
  font-weight: 500;
  line-height: 1;
}

.funder-guide-overview-section .funder-guide-section-heading h2,
.funder-guide-views-section .funder-guide-section-heading h2 {
  color: var(--funder-ink);
}

.funder-guide-section-heading p,
.funder-guide-contact p {
  max-width: 43rem;
  margin: 1.5rem 0 0;
  color: rgb(255 250 240 / 0.66);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.65;
}

.funder-guide-overview-section .funder-guide-section-heading p,
.funder-guide-views-section .funder-guide-section-heading p {
  color: #52606d;
}

.funder-guide-overview-grid,
.funder-guide-view-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3.5rem;
}

.funder-guide-funding-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 7rem);
  background:
    radial-gradient(circle at 84% 18%, rgb(247 189 47 / 0.13), transparent 22rem),
    linear-gradient(135deg, var(--public-petrol) 0%, #09192b 52%, var(--public-black) 100%);
}

.funder-guide-funding-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.funder-guide-funding-promise {
  display: block;
  margin-top: 1.4rem;
  color: var(--public-amber);
  font-family: var(--brand-serif);
  font-size: clamp(1.45rem, 2.4vw, 2.3rem);
  font-weight: 500;
  line-height: 1.15;
}

.funder-guide-funding-card {
  min-height: 13rem;
  padding: 1.5rem;
  background: rgb(16 43 69 / 0.72);
  border: 1px solid rgb(255 250 240 / 0.18);
  border-radius: 0.6rem;
}

.funder-guide-funding-card > span {
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.funder-guide-funding-card h3 {
  margin: 2.8rem 0 0;
  color: var(--public-white);
  font-family: var(--brand-serif);
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.05;
}

.funder-guide-funding-card p {
  margin: 0.8rem 0 0;
  color: rgb(255 250 240 / 0.68);
  font-family: var(--brand-sans);
  font-size: 0.95rem;
  line-height: 1.55;
}

.funder-guide-view-chain {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  margin-top: 2.4rem;
}

.funder-guide-view-chain-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.65rem;
  min-width: 0;
  padding: 0.75rem 0.85rem;
  background: rgb(5 13 28 / 0.045);
  border: 1px solid rgb(5 13 28 / 0.12);
  border-radius: 0.55rem;
}

.funder-guide-view-chain-item b {
  grid-row: 1 / span 2;
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.funder-guide-view-chain-item strong,
.funder-guide-view-chain-item small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.funder-guide-view-chain-item strong {
  color: var(--funder-ink);
  font-family: var(--brand-mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
}

.funder-guide-view-chain-item small {
  margin-top: 0.2rem;
  color: #697483;
  font-size: 0.7rem;
  line-height: 1.25;
}

.funder-guide-view-chain > i {
  display: block;
  width: 2.6rem;
  height: 1px;
  background: linear-gradient(90deg, var(--public-amber), var(--public-teal));
}

.funder-guide-overview-card,
.funder-guide-view-card {
  min-height: 17rem;
  padding: clamp(1.35rem, 2.4vw, 2.2rem);
  border: 1px solid rgb(8 28 47 / 0.14);
  border-radius: 0.9rem;
}

.funder-guide-overview-card {
  background: #e9e4da;
}

.funder-guide-card-index,
.funder-guide-step-number {
  color: var(--funder-ink);
  font-family: var(--brand-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
}

.funder-guide-overview-card h3,
.funder-guide-view-card h3,
.funder-guide-step h3 {
  margin: 2rem 0 0;
  color: var(--funder-ink);
  font-family: var(--brand-serif);
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  font-weight: 500;
  line-height: 1.05;
}

.funder-guide-overview-card p,
.funder-guide-view-card p,
.funder-guide-step p {
  margin: 1rem 0 0;
  color: #536270;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.55;
}

.funder-guide-overview-card small,
.funder-guide-step small {
  display: inline-flex;
  margin-top: 1.5rem;
  color: var(--funder-ink);
  font-family: var(--brand-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.funder-guide-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4rem;
  border: 1px solid var(--funder-line);
  border-radius: 0.9rem;
  overflow: hidden;
}

.funder-guide-step {
  min-height: 22rem;
  padding: clamp(1.35rem, 2.3vw, 2.1rem);
  background: rgb(18 48 73 / 0.64);
  border-right: 1px solid var(--funder-line);
}

.funder-guide-step:last-child {
  border-right: 0;
}

.funder-guide-five-step-route .funder-guide-steps {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.funder-guide-five-step-route .funder-guide-step {
  min-height: 15rem;
  padding: clamp(1.1rem, 1.7vw, 1.5rem);
}

.funder-guide-five-step-route .funder-guide-step:nth-child(-n + 3) {
  grid-column: span 2;
  border-bottom: 1px solid var(--funder-line);
}

.funder-guide-five-step-route .funder-guide-step:nth-child(3),
.funder-guide-five-step-route .funder-guide-step:nth-child(5) {
  border-right: 0;
}

.funder-guide-five-step-route .funder-guide-step:nth-child(n + 4) {
  grid-column: span 3;
}

.funder-guide-step h3 {
  color: var(--public-white);
}

.funder-guide-step p {
  color: rgb(255 250 240 / 0.6);
}

.funder-guide-step small {
  color: var(--public-amber);
}

.funder-guide-site .funder-guide-step-number {
  color: var(--public-amber);
}

.funder-guide-view-card {
  position: relative;
  min-height: 25rem;
  padding: clamp(1.6rem, 3vw, 2.8rem);
  background: #f4f0e8;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.funder-guide-view-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  min-height: 2.25rem;
  margin-bottom: 0.95rem;
}

.funder-guide-view-stage > span {
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.funder-guide-view-stage > div {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.funder-guide-view-stage b {
  color: var(--funder-ink);
  font-family: var(--brand-mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
}

.funder-guide-view-stage small {
  overflow: hidden;
  color: #697483;
  font-size: 0.72rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.funder-guide-view-output {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 0.9rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgb(5 13 28 / 0.12);
  color: #536270;
  font-family: var(--brand-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.funder-guide-view-output b {
  flex: 0 0 auto;
  color: var(--public-teal);
  font-size: 0.8rem;
}

.vessel-guide-site .funder-guide-view-card {
  min-height: 27rem;
}

.funder-guide-view-card:hover,
.funder-guide-view-card:focus-visible {
  border-color: var(--funder-ink);
  outline: 0;
  box-shadow: 0 1rem 2.5rem rgb(5 13 28 / 0.12);
}

/* The funder guide is a direct product preview: keep its operating data visible. */
.funder-guide-site:not(.vessel-guide-site) .funder-guide-view-card {
  min-height: 33rem;
  cursor: default;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-hover-preview {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  z-index: 1;
  min-height: 0;
  margin: 0;
  box-shadow: none;
  opacity: 1;
  pointer-events: none;
  transform: none;
}

.funder-guide-site:not(.vessel-guide-site) .funder-guide-view-card:hover .funder-guide-hover-preview,
.funder-guide-site:not(.vessel-guide-site) .funder-guide-view-card:focus-visible .funder-guide-hover-preview {
  opacity: 1;
  transform: none;
}

/* Keep the organization guide open too, with a navy base and blue detail panel. */
.vessel-guide-site .funder-guide-view-card {
  min-height: 33rem;
  color: var(--public-white);
  background: linear-gradient(145deg, var(--funder-ink), var(--funder-panel));
  border-color: rgb(255 255 255 / 0.16);
  cursor: default;
}

.vessel-guide-site .funder-guide-view-card h3 {
  color: var(--public-white);
}

.vessel-guide-site .funder-guide-view-card p {
  color: rgb(255 250 240 / 0.7);
}

.vessel-guide-site .funder-guide-view-stage b {
  color: var(--public-white);
}

.vessel-guide-site .funder-guide-view-stage small,
.vessel-guide-site .funder-guide-view-output {
  color: rgb(255 250 240 / 0.62);
}

.vessel-guide-site .funder-guide-view-output {
  border-color: rgb(255 255 255 / 0.14);
}

.vessel-guide-site .funder-guide-view-output b {
  color: var(--public-amber);
}

.vessel-guide-site .funder-guide-hover-preview {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  z-index: 1;
  min-height: 0;
  margin: 0;
  background: linear-gradient(145deg, var(--funder-panel-light), #102a43);
  box-shadow: none;
  opacity: 1;
  pointer-events: none;
  transform: none;
}

.vessel-guide-site .funder-guide-view-card:hover .funder-guide-hover-preview,
.vessel-guide-site .funder-guide-view-card:focus-visible .funder-guide-hover-preview {
  opacity: 1;
  transform: none;
}

.funder-guide-hover-preview {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: 1rem;
  z-index: 2;
  display: grid;
  gap: 0.6rem;
  min-height: 12rem;
  padding: 1rem;
  color: var(--public-white);
  background: linear-gradient(145deg, #102a43, #071426);
  border: 1px solid rgb(247 189 47 / 0.42);
  border-radius: 0.55rem;
  box-shadow: 0 1.2rem 2rem rgb(5 13 28 / 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.35rem);
  transition: opacity 150ms ease, transform 150ms ease;
}

.funder-guide-view-card:hover .funder-guide-hover-preview,
.funder-guide-view-card:focus-visible .funder-guide-hover-preview {
  opacity: 1;
  transform: translateY(0);
}

.funder-guide-hover-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.funder-guide-hover-preview-head b {
  color: rgb(255 250 240 / 0.42);
  font-size: 0.46rem;
  font-weight: 500;
}

.funder-guide-hover-preview-row {
  display: grid;
  gap: 0.3rem;
  padding: 0.22rem 0;
  color: rgb(255 250 240 / 0.72);
  font-family: var(--brand-sans);
  font-size: 0.68rem;
  line-height: 1.25;
}

.funder-guide-hover-preview-row > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}

.funder-guide-hover-preview-row b {
  flex: 0 0 auto;
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.58rem;
  font-weight: 700;
}

.funder-guide-hover-preview-row > i {
  display: block;
  height: 0.28rem;
  overflow: hidden;
  background: rgb(255 250 240 / 0.14);
  border-radius: 999px;
}

.funder-guide-hover-preview-row > i em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f7bd2f 0%, #a6c94b 55%, #2f9b63 100%);
  border-radius: inherit;
}

.funder-guide-mini-ui {
  display: grid;
  grid-template-columns: repeat(3, 0.35rem);
  align-items: center;
  gap: 0.28rem;
  min-height: 8rem;
  padding: 1rem;
  background: #0b1d31;
  border-radius: 0.55rem;
}

.funder-guide-mini-ui > span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--public-amber);
}

.funder-guide-mini-ui > div {
  display: flex;
  grid-column: 1 / -1;
  align-items: end;
  gap: 0.3rem;
  height: 2rem;
  padding-left: 0.1rem;
}

.funder-guide-mini-ui i {
  flex: 1;
  min-height: 0.4rem;
  background: var(--public-amber);
  border-radius: 0.15rem 0.15rem 0 0;
}

.funder-guide-mini-ui i:nth-child(2) {
  height: 75%;
  background: var(--public-amber);
}

.funder-guide-mini-ui i:nth-child(3) {
  height: 50%;
}

.funder-guide-mini-ui i:nth-child(4) {
  height: 90%;
  background: #e68c2a;
}

.funder-guide-view-card h3 {
  margin-top: 1.8rem;
}

.funder-guide-view-visual {
  display: grid;
  min-height: 13.2rem;
  padding: 1rem;
  color: var(--public-white);
  background: linear-gradient(145deg, #102b45, #071a2d);
  border: 1px solid rgb(5 13 28 / 0.26);
  border-radius: 0.62rem;
}

.funder-guide-visual-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.funder-guide-visual-toolbar b {
  color: rgb(255 250 240 / 0.52);
  font-size: 0.45rem;
  font-weight: 500;
}

.funder-guide-visual-allocation {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.funder-guide-visual-allocation span {
  display: grid;
  grid-template-columns: 0.3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
  color: rgb(255 250 240 / 0.65);
  font-size: 0.55rem;
}

.funder-guide-visual-allocation i {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--public-amber);
}

.funder-guide-visual-allocation b,
.funder-guide-visual-allocation em,
.funder-guide-visual-foot,
.funder-guide-review-checks b,
.funder-guide-review-compare,
.funder-guide-impact-flow {
  font-family: var(--brand-mono);
  font-size: 0.46rem;
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.funder-guide-visual-allocation b {
  color: rgb(255 250 240 / 0.48);
  font-weight: 500;
}

.funder-guide-visual-allocation em {
  color: var(--public-white);
}

.funder-guide-visual-bars {
  display: flex;
  align-items: end;
  gap: 0.38rem;
  height: 3.15rem;
  margin-top: 0.8rem;
  padding: 0 0.1rem;
  border-bottom: 1px solid rgb(255 250 240 / 0.18);
}

.funder-guide-visual-bars i {
  flex: 1;
  min-height: 0.55rem;
  background: linear-gradient(180deg, var(--public-amber), #e58c2d);
  border-radius: 0.15rem 0.15rem 0 0;
}

.funder-guide-visual-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.65rem;
  color: rgb(255 250 240 / 0.48);
}

.funder-guide-visual-foot span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.funder-guide-visual-foot span i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #49c889;
}

.funder-guide-visual-foot b {
  color: var(--public-amber);
  font-weight: 500;
}

.funder-guide-review-score {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 0.2rem 0.35rem;
  margin-top: 0.9rem;
}

.funder-guide-review-score strong {
  color: var(--public-white);
  font-family: var(--brand-serif);
  font-size: 3.3rem;
  font-weight: 500;
  line-height: 0.8;
}

.funder-guide-review-score > span {
  color: rgb(255 250 240 / 0.46);
  font-family: var(--brand-mono);
  font-size: 0.55rem;
}

.funder-guide-review-score > div {
  grid-column: 1 / -1;
  height: 0.35rem;
  overflow: hidden;
  background: rgb(255 250 240 / 0.14);
  border-radius: 999px;
}

.funder-guide-review-score > div i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--public-amber), #49c889);
  border-radius: inherit;
}

.funder-guide-review-checks {
  display: grid;
  gap: 0.52rem;
  margin-top: 1rem;
}

.funder-guide-review-checks span {
  display: grid;
  grid-template-columns: 0.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.42rem;
  color: rgb(255 250 240 / 0.68);
  font-size: 0.55rem;
}

.funder-guide-review-checks i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #49c889;
  box-shadow: 0 0 0 0.14rem rgb(73 200 137 / 0.13);
}

.funder-guide-review-checks b {
  color: #8bdd9c;
  font-weight: 500;
}

.funder-guide-review-compare {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  margin-top: 0.95rem;
  padding-top: 0.6rem;
  color: rgb(255 250 240 / 0.42);
  border-top: 1px solid rgb(255 250 240 / 0.12);
}

.funder-guide-review-compare b {
  color: var(--public-amber);
}

.funder-guide-workflow-visual {
  gap: 0.62rem;
}

.funder-guide-workflow-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
}

.funder-guide-workflow-heading strong {
  color: var(--public-white);
  font-family: var(--brand-serif);
  font-size: 1.1rem;
  font-weight: 500;
}

.funder-guide-workflow-heading span,
.funder-guide-workflow-panel > span,
.funder-guide-workflow-foot {
  color: rgb(255 250 240 / 0.48);
  font-family: var(--brand-mono);
  font-size: 0.43rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.funder-guide-workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0.45rem;
}

.funder-guide-workflow-panel {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.62rem;
  background: rgb(255 255 255 / 0.055);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 0.35rem;
}

.funder-guide-workflow-panel > b {
  color: var(--public-white);
  font-size: 0.62rem;
  font-weight: 600;
}

.funder-guide-workflow-panel > small {
  color: rgb(255 250 240 / 0.62);
  font-size: 0.48rem;
  line-height: 1.35;
}

.funder-guide-workflow-panel > i {
  display: block;
  height: 0.25rem;
  overflow: hidden;
  background: rgb(255 250 240 / 0.14);
  border-radius: 999px;
}

.funder-guide-workflow-panel > i em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--public-amber), #49c889);
  border-radius: inherit;
}

.funder-guide-workflow-panel > div {
  display: grid;
  grid-template-columns: 0.38rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.3rem;
}

.funder-guide-workflow-panel > div > i,
.funder-guide-workflow-foot > span > i {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: #49c889;
  box-shadow: 0 0 0 0.12rem rgb(73 200 137 / 0.12);
}

.funder-guide-workflow-panel > div > small {
  min-width: 0;
  overflow: hidden;
  color: rgb(255 250 240 / 0.68);
  font-size: 0.46rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.funder-guide-workflow-panel > div > b {
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.4rem;
  font-weight: 500;
  white-space: nowrap;
}

.funder-guide-workflow-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgb(255 250 240 / 0.12);
}

.funder-guide-workflow-foot > span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.funder-guide-workflow-foot > b {
  color: var(--public-amber);
  font-weight: 500;
  text-transform: none;
}

.funder-guide-impact-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-top: 1rem;
}

.funder-guide-impact-kpis span {
  display: grid;
  gap: 0.32rem;
  padding: 0.55rem 0.5rem;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 0.35rem;
}

.funder-guide-impact-kpis small {
  color: rgb(255 250 240 / 0.44);
  font-family: var(--brand-mono);
  font-size: 0.4rem;
  letter-spacing: 0.06em;
}

.funder-guide-impact-kpis b {
  color: var(--public-white);
  font-family: var(--brand-mono);
  font-size: 0.85rem;
  font-weight: 500;
}

.funder-guide-impact-kpis i {
  display: block;
  height: 0.18rem;
  overflow: hidden;
  background: rgb(255 250 240 / 0.13);
  border-radius: 999px;
}

.funder-guide-impact-kpis em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--public-teal), var(--public-amber));
  border-radius: inherit;
}

.funder-guide-impact-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.15rem;
  color: rgb(255 250 240 / 0.68);
}

.funder-guide-impact-flow i {
  height: 1px;
  background: linear-gradient(90deg, var(--public-amber), #49c889);
}

.funder-guide-contact {
  display: grid;
  justify-items: center;
  padding: clamp(4rem, 8vw, 8rem) 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgb(247 189 47 / 0.14), transparent 28rem),
    linear-gradient(135deg, var(--public-petrol) 0%, #09192b 52%, var(--public-black) 100%);
}

.funder-guide-contact h2 {
  max-width: 55rem;
}

.funder-guide-contact p {
  max-width: 38rem;
}

.funder-guide-contact .public-button {
  margin-top: 2rem;
}

.vessel-guide-site .funder-guide-hero {
  background:
    radial-gradient(circle at 86% 26%, rgb(247 189 47 / 0.16), transparent 24rem),
    radial-gradient(circle at 18% 14%, rgb(10 92 107 / 0.12), transparent 22rem),
    linear-gradient(135deg, #f7f2e8 0%, #eee8dd 52%, #dbe7e4 100%);
}

.vessel-guide-site .funder-guide-hero h1 {
  color: var(--funder-ink);
}

.vessel-guide-site .funder-guide-hero-copy > p {
  color: #687383;
}

.vessel-guide-site .funder-guide-hero-copy > .funder-guide-hero-note {
  color: #687383;
}

.vessel-guide-site .funder-guide-overview-section {
  background:
    radial-gradient(circle at 82% 12%, rgb(247 189 47 / 0.14), transparent 22rem),
    linear-gradient(135deg, var(--public-petrol) 0%, #09192b 52%, var(--public-black) 100%);
}

.vessel-guide-site .funder-guide-overview-card {
  background:
    linear-gradient(145deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.025)),
    linear-gradient(145deg, #102a43 0%, #071426 100%);
  border-color: rgb(247 189 47 / 0.3);
  box-shadow: 0 1.25rem 2.5rem rgb(5 13 28 / 0.18);
}

.vessel-guide-site .funder-guide-overview-card .funder-guide-card-index,
.vessel-guide-site .funder-guide-overview-card small {
  color: var(--public-amber);
}

.vessel-guide-site .funder-guide-overview-card h3 {
  color: var(--public-white);
}

.vessel-guide-site .funder-guide-overview-card p {
  color: rgb(255 250 240 / 0.72);
}

.vessel-guide-site .funder-guide-metric {
  background: rgb(255 255 255 / 0.62);
  border-color: rgb(8 28 47 / 0.13);
}

.vessel-guide-site .funder-guide-metric strong {
  color: var(--funder-ink);
}

.vessel-guide-site .funder-guide-metric span {
  color: #536270;
}

.vessel-guide-site .funder-guide-hero-actions .public-button-secondary {
  color: var(--funder-ink);
  background: rgb(255 255 255 / 0.35);
  border-color: rgb(8 28 47 / 0.24);
}

.vessel-guide-site .funder-guide-hero-actions .public-button-secondary:hover,
.vessel-guide-site .funder-guide-hero-actions .public-button-secondary:focus-visible {
  color: var(--funder-ink);
  background: var(--public-amber-strong);
  border-color: var(--public-amber-strong);
}

.vessel-guide-site .funder-guide-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vessel-guide-site .funder-guide-overview-card {
  min-height: 19rem;
}

/* Give the organization guide the same confident light/dark cadence as the backer guide. */
.vessel-guide-site .vessel-guide-section-dark {
  color: var(--public-white);
  background:
    radial-gradient(circle at 14% 18%, rgb(247 189 47 / 0.12), transparent 24rem),
    linear-gradient(135deg, var(--public-petrol) 0%, #09192b 52%, var(--public-black) 100%);
}

.vessel-guide-site .vessel-guide-section-dark .funder-guide-section-heading h2 {
  color: var(--public-white);
}

.vessel-guide-site .vessel-guide-section-dark .funder-guide-section-heading p {
  color: rgb(255 250 240 / 0.68);
}

.vessel-guide-site .vessel-guide-section-dark .funder-guide-overview-card {
  background: linear-gradient(145deg, #102a43 0%, #071426 100%);
  border-color: rgb(247 189 47 / 0.34);
}

.vessel-guide-site .vessel-guide-section-dark .funder-guide-view-chain-item {
  background: rgb(16 43 69 / 0.76);
  border-color: rgb(255 250 240 / 0.16);
}

.vessel-guide-site .vessel-guide-section-dark .funder-guide-view-chain-item strong {
  color: var(--public-white);
}

.vessel-guide-site .vessel-guide-section-dark .funder-guide-view-chain-item small {
  color: rgb(255 250 240 / 0.58);
}

.vessel-guide-site .vessel-guide-section-dark .funder-guide-view-card {
  border-color: rgb(255 250 240 / 0.16);
}

.vessel-guide-site .vessel-guide-section-light {
  color: var(--funder-ink);
  background:
    radial-gradient(circle at 82% 12%, rgb(247 189 47 / 0.12), transparent 22rem),
    radial-gradient(circle at 18% 84%, rgb(10 92 107 / 0.08), transparent 20rem),
    linear-gradient(135deg, #f7f2e8 0%, #eee8dd 58%, #e1e9e6 100%);
}

.vessel-guide-site .vessel-guide-section-light .funder-guide-section-heading h2 {
  color: var(--funder-ink);
}

.vessel-guide-site .vessel-guide-section-light .funder-guide-section-heading p {
  color: #52606d;
}

.vessel-guide-site .vessel-guide-section-light .funder-guide-steps {
  border-color: rgb(8 28 47 / 0.16);
  background: rgb(255 250 240 / 0.34);
  box-shadow: 0 1.4rem 3rem rgb(5 13 28 / 0.1);
}

.vessel-guide-site .vessel-guide-section-light .funder-guide-step {
  color: var(--funder-ink);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.66), rgb(255 255 255 / 0.38)),
    #f7f2e8;
  border-color: rgb(8 28 47 / 0.14);
}

.vessel-guide-site .vessel-guide-section-light .funder-guide-step h3 {
  color: var(--funder-ink);
}

.vessel-guide-site .vessel-guide-section-light .funder-guide-step p {
  color: #536270;
}

.vessel-guide-site .vessel-guide-section-light .funder-guide-step small {
  color: #9a6a00;
}

.vessel-guide-site .vessel-guide-section-light .funder-guide-step-number {
  color: var(--public-amber-strong);
}

.vessel-guide-site .vessel-guide-section-light .funder-guide-funding-card {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.68), rgb(255 255 255 / 0.42)),
    #f7f2e8;
  border-color: rgb(8 28 47 / 0.16);
  box-shadow: 0 1rem 2.2rem rgb(5 13 28 / 0.08);
}

.vessel-guide-site .vessel-guide-section-light .funder-guide-funding-card h3 {
  color: var(--funder-ink);
}

.vessel-guide-site .vessel-guide-section-light .funder-guide-funding-card p {
  color: #536270;
}

.vessel-guide-site .funder-guide-views-section {
  background:
    radial-gradient(circle at 12% 20%, rgb(247 189 47 / 0.1), transparent 24rem),
    radial-gradient(circle at 86% 16%, rgb(10 92 107 / 0.28), transparent 28rem),
    linear-gradient(135deg, var(--public-petrol) 0%, #09192b 52%, var(--public-black) 100%);
}

.vessel-guide-site .funder-guide-funding-section {
  background:
    radial-gradient(circle at 82% 12%, rgb(247 189 47 / 0.12), transparent 22rem),
    radial-gradient(circle at 18% 84%, rgb(10 92 107 / 0.08), transparent 20rem),
    linear-gradient(135deg, #f7f2e8 0%, #eee8dd 58%, #e1e9e6 100%);
}

.vessel-guide-site .funder-guide-contact {
  background:
    radial-gradient(circle at 50% 0%, rgb(247 189 47 / 0.14), transparent 28rem),
    radial-gradient(circle at 18% 90%, rgb(10 92 107 / 0.22), transparent 26rem),
    linear-gradient(135deg, var(--public-petrol) 0%, #09192b 52%, var(--public-black) 100%);
}

@media (max-width: 1100px) {
  .vessel-guide-site .funder-guide-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .vessel-guide-site .funder-guide-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .funder-guide-hero {
    grid-template-columns: 1fr;
  }

  .funder-guide-hero-copy {
    max-width: 52rem;
  }

  .funder-guide-devices {
    max-width: 48rem;
    width: 100%;
    margin: 0 auto;
  }

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

  .funder-guide-five-step-route .funder-guide-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .funder-guide-five-step-route .funder-guide-step {
    grid-column: span 1;
  }

  .funder-guide-five-step-route .funder-guide-step:nth-child(n + 1) {
    grid-column: span 1;
  }

  .funder-guide-five-step-route .funder-guide-step {
    min-height: 13.5rem;
  }

  .funder-guide-step:nth-child(2) {
    border-right: 0;
  }

  .funder-guide-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--funder-line);
  }
}

@media (max-width: 720px) {
  .funder-guide-hero {
    min-height: auto;
    padding-top: 3.5rem;
  }

  .funder-guide-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .vessel-guide-site .funder-guide-hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 3.6rem);
    line-height: 0.98;
    overflow-wrap: break-word;
  }

  .vessel-guide-site .funder-guide-section-heading h2,
  .vessel-guide-site .funder-guide-contact h2 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .funder-guide-metrics,
  .funder-guide-overview-grid,
  .funder-guide-view-grid,
  .funder-guide-funding-grid {
    grid-template-columns: 1fr;
  }

  .funder-guide-view-chain {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .funder-guide-view-chain > i {
    width: 1px;
    height: 0.8rem;
    margin-left: 1.25rem;
  }

  .funder-guide-devices {
    min-height: 25rem;
    transform: scale(0.84);
    transform-origin: top left;
    width: 119%;
    margin-bottom: -3rem;
  }

  .funder-guide-device-desktop {
    width: 92%;
  }

  .funder-guide-device-tablet {
    width: 10rem;
  }

  .funder-guide-device-phone {
    right: 2%;
  }

  .funder-guide-steps {
    grid-template-columns: 1fr;
  }

  .funder-guide-five-step-route .funder-guide-steps {
    grid-template-columns: 1fr;
  }

  .funder-guide-step,
  .funder-guide-step:nth-child(-n + 2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--funder-line);
  }

  .funder-guide-five-step-route .funder-guide-step:nth-child(n + 1) {
    grid-column: span 1;
  }

  .funder-guide-step:last-child {
    border-bottom: 0;
  }

  .funder-guide-header-actions {
    flex-wrap: wrap;
  }
}

.route-backer-overview .main,
.route-backer-offers .main,
.route-backer-opportunities .main,
.route-backer-applications .main,
.route-backer-review .main,
.route-backer-committee .main,
.route-backer-awards .main,
.route-backer-organizations .main,
.route-backer-settings .main,
.route-reports .main {
  background:
    radial-gradient(circle at 18% 10%, rgb(245 200 76 / 0.14), transparent 22rem),
    radial-gradient(circle at 82% 16%, rgb(87 217 146 / 0.12), transparent 26rem),
    linear-gradient(145deg, #071627 0%, #102e35 44%, #19343e 100%);
  color: #f7fbfa;
}

.route-backer-overview .main::before,
.route-backer-offers .main::before,
.route-backer-opportunities .main::before,
.route-backer-applications .main::before,
.route-backer-review .main::before,
.route-backer-committee .main::before,
.route-backer-awards .main::before,
.route-backer-organizations .main::before,
.route-backer-settings .main::before,
.route-reports .main::before {
  background:
    linear-gradient(28deg, transparent 0 34%, rgb(245 200 76 / 0.08) 34.15% 34.35%, transparent 34.6%),
    radial-gradient(circle at calc(100% - 12rem) 12rem, transparent 0 4.3rem, rgb(245 200 76 / 0.12) 4.36rem 4.5rem, transparent 4.6rem 8rem),
    repeating-linear-gradient(0deg, rgb(233 244 242 / 0.032) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(90deg, rgb(233 244 242 / 0.026) 0 1px, transparent 1px 88px);
  opacity: 0.95;
}

.backer-workspace {
  display: grid;
  gap: 1rem;
}

.backer-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
  margin: 0;
  border: 1px solid rgb(233 244 242 / 0.18);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.015)),
    #173641;
  color: #f7fbfa;
}

.backer-hero h2,
.backer-section-head h2,
.backer-card h3 {
  color: #f7fbfa;
  font-family: var(--din-font);
  letter-spacing: 0;
}

.backer-hero h2 {
  margin: 0.1rem 0 0.35rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.backer-hero p,
.backer-section-head p,
.backer-card p,
.backer-card li,
.backer-card small,
.backer-table td,
.backer-table th {
  color: rgb(233 244 242 / 0.86);
  font-family: var(--din-font);
  font-weight: 760;
}

.backer-hero-ring {
  width: 7.6rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0.82rem solid rgb(233 244 242 / 0.2);
  border-right-color: #f5c84c;
  border-bottom-color: #72d69d;
  border-radius: 50%;
  background: #0c3540;
}

.backer-hero-ring strong {
  color: #f7fbfa;
  font-size: 1.65rem;
  line-height: 1;
}

.backer-hero-ring span {
  color: rgb(233 244 242 / 0.82);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.backer-hero-pills,
.backer-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.backer-hero-pills span,
.backer-chip-row span,
.backer-status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.8rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: rgb(233 244 242 / 0.12);
  color: #f7fbfa;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.backer-status-pill {
  background: #f5c84c;
  color: #102e35;
}

.backer-status-pill.active,
.backer-status-pill.status-selected,
.backer-status-pill.status-awarded,
.backer-status-pill.status-shortlisted {
  background: #72d69d;
  color: #08251d;
}

.backer-status-pill.warning,
.backer-status-pill.status-additional-info-requested,
.backer-status-pill.status-due-diligence {
  background: #f5c84c;
  color: #102e35;
}

.backer-status-pill.status-ineligible,
.backer-status-pill.status-not-selected {
  background: #e86b5f;
  color: #fff8f4;
}

.backer-nav-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 0.55rem;
}

.backer-nav-strip button {
  display: grid;
  gap: 0.2rem;
  min-height: 72px;
  padding: 0.74rem 0.8rem;
  border: 1px solid rgb(233 244 242 / 0.16);
  border-radius: 8px;
  background: #163743;
  color: #f7fbfa;
  text-align: left;
  box-shadow: none;
}

.backer-nav-strip button:hover,
.backer-nav-strip button:focus-visible,
.backer-nav-strip button.active {
  border-color: rgb(245 200 76 / 0.78);
  background: #f5c84c;
  color: #102e35;
  outline: none;
}

.backer-nav-strip button span {
  font-weight: 950;
}

.backer-nav-strip button small {
  color: inherit;
  opacity: 0.76;
}

.backer-section {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.backer-section,
.backer-section-head,
.backer-card,
.backer-metric {
  border-radius: 8px;
}

.backer-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgb(233 244 242 / 0.16);
  background: #173641;
  box-shadow: var(--shadow-soft);
}

.backer-section-head h2 {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
}

.backer-metric-grid,
.backer-grid,
.backer-offer-grid,
.backer-org-grid {
  display: grid;
  gap: 0.75rem;
}

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

.backer-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

.backer-grid.three,
.backer-offer-grid,
.backer-org-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.backer-metric,
.backer-card {
  border: 1px solid rgb(233 244 242 / 0.16);
  background: #15343f;
  box-shadow: var(--shadow-soft);
}

.backer-metric {
  display: grid;
  gap: 0.25rem;
  min-height: 120px;
  padding: 0.9rem;
}

.backer-metric span,
.backer-card .eyebrow {
  color: #f5c84c;
  font-weight: 950;
  text-transform: uppercase;
}

.backer-metric strong {
  color: #f7fbfa;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.05;
}

.backer-card {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
}

.backer-card.light {
  background: #e9f4f2;
  color: #102e35;
}

.backer-card.light h3,
.backer-card.light p,
.backer-card.light small,
.backer-card.light strong {
  color: #102e35;
}

.backer-card-strong {
  border-left: 0.34rem solid #f5c84c;
  background:
    linear-gradient(135deg, rgb(245 200 76 / 0.1), transparent 46%),
    #15343f;
}

.backer-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}

.backer-card h3 {
  margin: 0;
  color: #f5c84c;
  font-size: 1.2rem;
}

.backer-card ul {
  display: grid;
  gap: 0.32rem;
  margin: 0;
  padding-left: 1.1rem;
}

.backer-definition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.backer-definition-grid div {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.55rem;
  border: 1px solid rgb(233 244 242 / 0.13);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.045);
}

.backer-definition-grid dt {
  color: #f5c84c;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.backer-definition-grid dd {
  margin: 0;
  color: #f7fbfa;
  font-weight: 850;
}

.backer-support-type-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.9rem;
  border: 1px solid rgb(245 200 76 / 0.2);
  border-radius: 8px;
  background: rgb(245 200 76 / 0.08);
}

.backer-support-type-panel span {
  padding: 0.44rem 0.68rem;
  border-radius: 999px;
  background: #e9f4f2;
  color: #102e35;
  font-weight: 950;
}

.backer-builder-steps {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.backer-builder-step {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.backer-builder-step > span {
  display: grid;
  place-items: center;
  width: 2.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f5c84c;
  color: #102e35;
  font-weight: 950;
}

.backer-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding: 0.7rem;
  border: 1px solid rgb(233 244 242 / 0.15);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.045);
}

.backer-filter-bar span,
.backer-filter-bar button {
  min-height: 2rem;
  padding: 0.34rem 0.64rem;
  border-radius: 999px;
  background: #e9f4f2;
  color: #102e35;
  font-weight: 900;
}

.backer-filter-bar button {
  margin-left: auto;
  border: 0;
  background: #f5c84c;
}

.backer-table-wrap {
  overflow-x: auto;
  border: 1px solid rgb(233 244 242 / 0.16);
  border-radius: 8px;
  background: #15343f;
  box-shadow: var(--shadow-soft);
}

.backer-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.backer-table th,
.backer-table td {
  padding: 0.8rem;
  border-bottom: 1px solid rgb(233 244 242 / 0.12);
  text-align: left;
  vertical-align: top;
}

.backer-table th {
  color: #f5c84c;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.backer-table td strong,
.backer-table td small {
  display: block;
}

.backer-mini-progress {
  width: 100%;
  height: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(233 244 242 / 0.2);
}

.backer-mini-progress b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f5c84c, #72d69d);
}

.backer-vessel-grid {
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
}

.backer-vessel-card {
  align-content: start;
}

.backer-share-panel,
.backer-report-row {
  border: 1px solid rgb(233 244 242 / 0.14);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.05);
}

.backer-share-panel {
  display: grid;
  gap: 0.3rem;
  padding: 0.75rem;
}

.backer-share-panel p {
  margin: 0;
}

.backer-report-list {
  display: grid;
  gap: 0.5rem;
}

.backer-report-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem;
}

.backer-report-row strong,
.backer-report-row small {
  display: block;
}

.backer-report-row strong {
  color: #f7fbfa;
}

.backer-empty-note {
  margin: 0;
  padding: 0.7rem;
  border: 1px dashed rgb(233 244 242 / 0.16);
  border-radius: 8px;
  color: rgb(233 244 242 / 0.72);
  font-weight: 850;
}

.backer-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.backer-card-actions button {
  min-height: 2.2rem;
  padding: 0.45rem 0.78rem;
  border: 1px solid rgb(245 200 76 / 0.58);
  border-radius: 999px;
  background: #f5c84c;
  color: #102e35;
  font-weight: 950;
}

.backer-score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.45rem;
}

.backer-score-grid span {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.52rem;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.06);
  color: #f7fbfa;
  font-weight: 850;
}

.backer-pipeline {
  padding: 1rem;
}

.backer-pipeline-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}

.backer-pipeline-row article {
  display: grid;
  gap: 0.2rem;
  min-height: 82px;
  padding: 0.72rem;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.06);
}

.backer-pipeline-row strong {
  color: #f5c84c;
  font-size: 1.55rem;
}

.backer-pipeline-row span {
  color: rgb(233 244 242 / 0.84);
  font-weight: 850;
}

/* Vessel workspace: align the NGO side with the clearer Backer rhythm. */
.route-compass-kpi .main,
.route-compass-fundraising .main,
.route-compass-delivery .main,
.route-compass-wellbeing .main {
  background:
    radial-gradient(circle at 18% 10%, rgb(245 200 76 / 0.14), transparent 22rem),
    radial-gradient(circle at 82% 16%, rgb(87 217 146 / 0.12), transparent 26rem),
    linear-gradient(145deg, #071627 0%, #102e35 44%, #19343e 100%);
  color: #f7fbfa;
}

.route-compass-kpi .main::before,
.route-compass-fundraising .main::before,
.route-compass-delivery .main::before,
.route-compass-wellbeing .main::before {
  background:
    radial-gradient(circle at calc(100% - 18rem) 14rem, transparent 0 5.8rem, rgb(245 200 76 / 0.12) 5.86rem 6.05rem, transparent 6.12rem 8.6rem, rgb(245 200 76 / 0.08) 8.68rem 8.82rem, transparent 8.9rem 12rem),
    conic-gradient(from -45deg at calc(100% - 18rem) 14rem, transparent 0deg 42deg, rgb(245 200 76 / 0.12) 42deg 48deg, transparent 48deg 132deg, rgb(233 244 242 / 0.1) 132deg 138deg, transparent 138deg 222deg, rgb(245 200 76 / 0.12) 222deg 228deg, transparent 228deg 312deg, rgb(233 244 242 / 0.1) 312deg 318deg, transparent 318deg 360deg),
    repeating-linear-gradient(0deg, rgb(233 244 242 / 0.035) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(90deg, rgb(233 244 242 / 0.028) 0 1px, transparent 1px 88px);
  opacity: 0.95;
}

.route-my-goals .main,
.route-governance .main,
.route-detail .main,
.route-results .main,
.route-reporting .main {
  color: #f7fbfa;
}

.route-my-goals .direct-progress-panel,
.route-governance .direct-progress-panel,
.route-detail .direct-progress-panel,
.route-reporting .direct-progress-panel,
.route-results .compass-direct-panel,
.route-results .compass-subpage-panel,
.route-results .results-detail-panel,
.route-results .staff-self-scoring,
.route-results .staff-hr-review,
.route-detail .cargo-manifest,
.route-reporting .impact-narrative-panel,
.route-reporting .manual-reporting-panel,
.route-reporting .main > .panel:not(.reporting-command) {
  width: 100%;
  max-width: none;
}

.route-my-goals .direct-progress-panel .mission-share-hero,
.route-my-goals .direct-progress-panel .personal-share-family,
.route-governance .direct-progress-panel .mission-share-hero,
.route-governance .direct-progress-panel .personal-share-family,
.route-detail .direct-progress-panel .mission-share-hero,
.route-detail .direct-progress-panel .personal-share-family,
.route-reporting .direct-progress-panel .mission-share-hero,
.route-reporting .direct-progress-panel .personal-share-family,
.route-results .compass-subpage-panel .mission-share-hero,
.route-results .compass-subpage-panel .compass-subpage-actions button:not(.primary),
.route-results .compass-route-card {
  border: 1px solid rgb(233 244 242 / 0.16);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.015)),
    #173641;
  color: #f7fbfa;
  box-shadow: var(--shadow-soft);
}

.route-results .compass-route-card:hover,
.route-results .compass-route-card:focus-visible {
  border-color: rgb(245 200 76 / 0.8);
  background: #f5c84c;
  color: #102e35;
}

.route-results .compass-route-card:hover strong,
.route-results .compass-route-card:hover small,
.route-results .compass-route-card:focus-visible strong,
.route-results .compass-route-card:focus-visible small {
  color: #102e35 !important;
}

.route-my-goals .my-goals-group,
.route-results .result-detail-group,
.route-detail .cargo-group,
.route-governance .governance-section,
.route-reporting .impact-narrative-panel,
.route-reporting .manual-reporting-panel,
.route-reporting .logbook-export-panel {
  overflow: hidden;
  border: 1px solid rgb(233 244 242 / 0.16) !important;
  border-radius: 8px;
  background: #15343f !important;
  color: #f7fbfa;
  box-shadow: var(--shadow-soft);
}

.route-my-goals .my-goals-group > .impact-category-head,
.route-results .result-detail-group > .impact-category-head,
.route-detail .cargo-group > summary,
.route-governance .governance-section > .impact-category-head,
.route-reporting .manual-reporting-panel > .panel-head,
.route-reporting .impact-narrative-panel > .panel-head,
.route-reporting .logbook-export-panel > .panel-head {
  border-left: 5px solid #f5c84c;
  background: #173641 !important;
  color: #f7fbfa !important;
}

.route-my-goals .my-goals-stack,
.route-my-goals .my-fundraising-goals-list,
.route-my-goals .my-kpi-goals-list,
.route-results .result-detail-group .result-area-list,
.route-results .my-fundraising-goals-list,
.route-results .my-kpi-goals-list,
.route-results .compass-subpage-panel .my-goals-list,
.route-results .compass-subpage-panel .my-kpi-goals-list,
.route-results .compass-subpage-panel .my-fundraising-goals-list,
.route-results .compass-subpage-panel .result-detail-group .result-area-list,
.route-results .compass-subpage-panel .fundraising-admin-subcategories,
.route-detail .cargo-scope-grid {
  background: rgb(255 255 255 / 0.045) !important;
  padding: 0.75rem;
}

.route-results .compass-subpage-body {
  width: 100%;
}

.route-results .compass-subpage-body > .my-goals-list,
.route-results .compass-subpage-body > .staff-delivery-block,
.route-results .compass-subpage-body > .staff-self-scoring,
.route-results .compass-subpage-body > .staff-wellbeing-module {
  width: 100%;
  max-width: none;
}

.route-results .compass-subpage-panel .my-kpi-pillar,
.route-results .compass-subpage-panel .my-fundraising-category,
.route-my-goals .my-kpi-pillar,
.route-my-goals .my-fundraising-category {
  border: 1px solid rgb(233 244 242 / 0.16) !important;
  background: #14333d !important;
  color: #f7fbfa !important;
}

.route-results .compass-subpage-panel .my-kpi-pillar > summary,
.route-results .compass-subpage-panel .my-fundraising-category > summary,
.route-my-goals .my-kpi-pillar > summary,
.route-my-goals .my-fundraising-category > summary {
  background: #14333d !important;
  color: #f7fbfa !important;
}

.route-results .compass-subpage-panel .my-kpi-program,
.route-results .compass-subpage-panel .my-fundraising-subcategory,
.route-results .compass-subpage-panel .result-goal-line,
.route-results .compass-subpage-panel .impact-kpi-card,
.route-my-goals .my-kpi-program,
.route-my-goals .my-fundraising-subcategory,
.route-my-goals .person-objective-line,
.route-my-goals .my-fundraising-goal-line,
.route-detail .cargo-scope-card,
.route-reporting .manual-reporting-row,
.route-reporting .impact-narrative-recent,
.route-reporting .impact-narrative-form {
  border: 1px solid rgb(233 244 242 / 0.16) !important;
  background: #1b4650 !important;
  color: #f7fbfa !important;
  box-shadow: none;
}

.route-results .compass-subpage-panel .my-kpi-program > summary,
.route-results .compass-subpage-panel .my-fundraising-subcategory > summary,
.route-my-goals .my-kpi-program > summary,
.route-my-goals .my-fundraising-subcategory > summary {
  background: #1b4650 !important;
  color: #f7fbfa !important;
}

.route-my-goals .my-goals-group strong,
.route-results .result-detail-group strong,
.route-detail .cargo-group strong,
.route-detail .cargo-scope-card strong,
.route-governance .governance-section strong,
.route-reporting .impact-narrative-panel strong,
.route-reporting .manual-reporting-panel strong,
.route-reporting .logbook-export-panel strong,
.route-results .compass-subpage-panel strong {
  color: #f7fbfa !important;
  opacity: 1 !important;
}

.route-my-goals .my-goals-group small,
.route-my-goals .my-goals-group p,
.route-results .result-detail-group small,
.route-results .result-detail-group p,
.route-detail .cargo-group small,
.route-detail .cargo-scope-card p,
.route-detail .cargo-scope-card dd,
.route-governance .governance-section small,
.route-governance .governance-section p,
.route-reporting .impact-narrative-panel small,
.route-reporting .impact-narrative-panel p,
.route-reporting .manual-reporting-panel small,
.route-reporting .manual-reporting-panel p,
.route-reporting .logbook-export-panel small,
.route-results .compass-subpage-panel small,
.route-results .compass-subpage-panel p {
  color: rgb(233 244 242 / 0.84) !important;
  opacity: 1 !important;
}

.route-my-goals .my-goals-group .eyebrow,
.route-results .result-detail-group .eyebrow,
.route-detail .cargo-group .eyebrow,
.route-detail .cargo-scope-card span,
.route-governance .governance-section .eyebrow,
.route-reporting .panel-head h2,
.route-results .compass-subpage-panel .impact-category-head strong,
.route-results .compass-subpage-panel .staff-section-summary h3 {
  color: #f5c84c !important;
}

.route-my-goals .my-goals-group > .impact-category-head > span,
.route-results .result-detail-group > .impact-category-head > span,
.route-detail .cargo-group > summary > span,
.route-governance .governance-section > .impact-category-head > span,
.route-results .compass-subpage-panel .my-kpi-pillar > summary > span,
.route-results .compass-subpage-panel .my-fundraising-category > summary > span,
.route-results .compass-subpage-panel .my-kpi-program > summary > span,
.route-results .compass-subpage-panel .my-fundraising-subcategory > summary > span,
.route-my-goals .my-kpi-pillar > summary > span,
.route-my-goals .my-fundraising-category > summary > span,
.route-my-goals .my-kpi-program > summary > span,
.route-my-goals .my-fundraising-subcategory > summary > span {
  border-color: rgb(245 200 76 / 0.72) !important;
  background: #f5c84c !important;
  color: #102e35 !important;
}

.route-detail .cargo-scope-card dl div {
  border-color: rgb(233 244 242 / 0.18);
}

.route-detail .cargo-scope-card dt {
  color: #f5c84c !important;
}

.route-detail .cargo-empty-state,
.route-my-goals .my-goals-group .muted,
.route-results .result-detail-group .muted,
.route-results .compass-subpage-panel .muted {
  border-color: rgb(233 244 242 / 0.16);
  background: rgb(255 255 255 / 0.055) !important;
  color: rgb(233 244 242 / 0.72) !important;
}

.route-results .compass-subpage-panel .my-kpi-program > summary strong,
.route-results .compass-subpage-panel .my-kpi-program > summary small,
.route-results .compass-subpage-panel .my-fundraising-subcategory > summary strong,
.route-results .compass-subpage-panel .my-fundraising-subcategory > summary small,
.route-my-goals .my-kpi-program > summary strong,
.route-my-goals .my-kpi-program > summary small,
.route-my-goals .my-fundraising-subcategory > summary strong,
.route-my-goals .my-fundraising-subcategory > summary small {
  color: #f7fbfa !important;
  opacity: 1 !important;
}

.route-results .compass-subpage-panel .result-goal-line strong,
.route-results .compass-subpage-panel .result-goal-line span:not(.status-chip):not(.badge),
.route-results .compass-subpage-panel .impact-kpi-card strong,
.route-results .compass-subpage-panel .impact-kpi-card span:not(.status-chip):not(.badge),
.route-my-goals .person-objective-line strong,
.route-my-goals .person-objective-line span:not(.status-chip):not(.badge),
.route-my-goals .my-fundraising-goal-line strong,
.route-my-goals .my-fundraising-goal-line span:not(.status-chip):not(.badge) {
  color: #102e35 !important;
  opacity: 1 !important;
}

.route-results .compass-subpage-panel .result-goal-line small,
.route-results .compass-subpage-panel .impact-kpi-card small,
.route-my-goals .person-objective-line small,
.route-my-goals .my-fundraising-goal-line small {
  color: #49666c !important;
  opacity: 1 !important;
}

.route-results .compass-subpage-panel .result-goal-line .muted,
.route-results .compass-subpage-panel .impact-kpi-card .muted,
.route-my-goals .person-objective-line .muted,
.route-my-goals .my-fundraising-goal-line .muted {
  border-color: transparent !important;
  background: transparent !important;
  color: #5b7378 !important;
}

.route-results .compass-subpage-panel .result-goal-line .progress b,
.route-results .compass-subpage-panel .impact-kpi-card .progress b,
.route-my-goals .person-objective-line .progress b,
.route-my-goals .my-fundraising-goal-line .progress b {
  color: #102e35 !important;
}

.route-results .compass-subpage-panel .result-goal-line .status-chip,
.route-results .compass-subpage-panel .result-goal-line .badge,
.route-results .compass-subpage-panel .result-goal-line .result-goal-meta span,
.route-results .compass-subpage-panel .impact-kpi-card .status-chip,
.route-results .compass-subpage-panel .impact-kpi-card .badge,
.route-my-goals .person-objective-line .status-chip,
.route-my-goals .person-objective-line .badge,
.route-my-goals .person-objective-line .result-goal-meta span,
.route-my-goals .my-fundraising-goal-line .status-chip,
.route-my-goals .my-fundraising-goal-line .badge,
.route-my-goals .my-fundraising-goal-line .result-goal-meta span {
  background: #e9f4f2 !important;
  color: #102e35 !important;
}

@media (max-width: 900px) {
  .backer-hero,
  .backer-section-head,
  .backer-card-top {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .backer-metric-grid,
  .backer-grid.two,
  .backer-pipeline-row {
    grid-template-columns: 1fr;
  }

  .backer-filter-bar button {
    margin-left: 0;
  }

  .shell,
  .shell.route-landing {
    grid-template-columns: 1fr;
  }

  .shell.sidebar-collapsed:not(.route-landing) {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 80;
    height: auto;
    min-height: auto;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid #d7e0df;
  }

  .sidebar-collapsed .sidebar {
    display: none;
  }

  .sidebar-resizer,
  .sidebar-size-controls span {
    display: none;
  }

  .main {
    z-index: 120;
  }

  .sidebar::before,
  .sidebar::after {
    display: none;
  }

  .brand {
    min-height: auto;
    padding: 0.72rem 0.9rem 0.5rem;
  }

  .brand-logo-panel {
    width: 100%;
    min-height: auto;
  }

  .brand-lighthouse {
    display: none;
  }

  .brand-wordmark {
    position: static;
  }

  .brand-wordmark-my {
    font-size: 2.55rem;
  }

  .brand-wordmark-name {
    font-size: 1.18rem;
  }

  .analytics-nav {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding: 0.45rem 0.75rem 0.75rem;
    scrollbar-width: thin;
  }

  .nav-section {
    display: contents;
  }

  .nav-section-title {
    display: none;
  }

  .nav-section-items {
    display: flex;
    gap: 0.35rem;
  }

  .nav-cluster,
  .nav-cluster-main,
  .nav-cluster-children {
    display: contents;
  }

  .nav-cluster-children[hidden] {
    display: contents;
  }

  .nav-cluster-toggle {
    display: none;
  }

  .analytics-nav .nav-item {
    grid-template-columns: 1.6rem max-content;
    min-height: 36px;
    width: auto;
    padding: 0.35rem 0.62rem;
    white-space: nowrap;
  }

  .analytics-nav .nav-subitem {
    width: auto;
    margin-left: 0;
    grid-template-columns: 1.6rem max-content;
    min-height: 36px;
    padding: 0.35rem 0.62rem;
    font-size: 0.84rem;
  }

  .analytics-nav .nav-subitem::before {
    display: none;
  }

  .analytics-nav .nav-item-help {
    left: 0;
    top: calc(100% + 0.45rem);
    transform: translateY(0.2rem);
  }

  .analytics-nav .nav-item:hover .nav-item-help,
  .analytics-nav .nav-item:focus-visible .nav-item-help {
    transform: translateY(0);
  }

  .analytics-nav .nav-item-help::before {
    left: 1.05rem;
    top: -0.32rem;
    transform: rotate(135deg);
  }

  .analytics-nav .nav-item-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .analytics-nav .nav-item-icon svg {
    width: 0.82rem;
    height: 0.82rem;
  }

  .brand-meta {
    display: none;
  }
}

/* Public website brandguide layer.
   Scoped to the unauthenticated landing page so the private app keeps its UI. */

.shell.route-landing {
  --public-black: #050d1c;
  --public-navy: #0d2137;
  --public-blue: #102a43;
  --public-panel: #0d2238;
  --public-panel-2: #123049;
  --public-petrol: #0d2137;
  --public-teal: #0a5c6b;
  --public-cyan: #0f8996;
  --public-amber: #f7bd2f;
  --public-amber-strong: #ffc83d;
  --public-cream: #f4f0e8;
  --public-white: #fffaf0;
  --public-muted: #9aa6b5;
  --public-line: rgb(255 255 255 / 0.11);
  --public-gold-line: rgb(247 189 47 / 0.42);
  background: var(--public-black);
}

.shell.route-landing .sidebar,
.shell.route-landing .mobile-topbar,
.shell.route-landing .global-alert {
  display: none;
}

.shell.route-landing .main {
  width: 100%;
  min-height: 100vh;
  margin-left: 0;
  padding: 0;
  color: var(--public-white);
  background:
    radial-gradient(circle at 82% 14%, rgb(247 189 47 / 0.08), transparent 23rem),
    radial-gradient(circle at 22% 44%, rgb(10 92 107 / 0.24), transparent 38rem),
    linear-gradient(135deg, var(--public-petrol) 0%, #0a263b 48%, var(--public-black) 100%);
}

.shell.route-landing .content {
  width: 100%;
  max-width: none;
  padding: 0;
}

.public-site {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 5.25rem 5.25rem;
  font-family: var(--brand-sans);
}

.shared-login-site {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 12%, rgb(247 189 47 / 0.12), transparent 24rem),
    radial-gradient(circle at 18% 56%, rgb(10 92 107 / 0.22), transparent 34rem),
    linear-gradient(135deg, var(--public-petrol) 0%, #0a263b 48%, var(--public-black) 100%);
}

.shared-login-header {
  position: relative;
}

.shared-login-main {
  display: grid;
  gap: 2rem;
  width: min(76rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(4rem, 10vh, 7rem) 0 5rem;
}

.shared-login-heading {
  max-width: 48rem;
}

.shared-login-heading h1 {
  margin: 1.4rem 0 0;
  color: var(--public-white);
  font-family: var(--brand-serif);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  font-style: normal;
  font-weight: 700;
  line-height: 0.98;
}

.shared-login-heading p {
  max-width: 42rem;
  margin: 1.8rem 0 0;
  color: rgb(255 250 240 / 0.68);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 600;
  line-height: 1.6;
}

.shared-login-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.shared-login-card {
  display: grid;
  gap: 0.85rem;
  min-height: 18rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid var(--public-line);
  border-radius: 1rem;
  background: rgb(5 13 28 / 0.42);
  box-shadow: 0 1.4rem 3rem rgb(0 0 0 / 0.18);
}

.shared-login-card-vessel {
  border-top: 4px solid var(--public-amber);
}

.shared-login-card-backer {
  border-top: 4px solid #63c7c9;
}

.shared-login-label {
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.shared-login-card-backer .shared-login-label {
  color: #8ed9d5;
}

.shared-login-card h2 {
  margin: 0;
  color: var(--public-white);
  font-family: var(--brand-serif);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.05;
}

.shared-login-card p {
  max-width: 32rem;
  margin: 0;
  color: rgb(255 250 240 / 0.66);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.shared-login-card > .public-access,
.shared-login-card > .public-button {
  align-self: end;
  margin-top: auto;
}

.shared-login-card > .public-access > summary {
  width: fit-content;
}

.shared-login-footer {
  display: flex;
  justify-content: flex-start;
}

.shared-login-footer .public-button {
  min-height: 2.8rem;
  font-size: 0.68rem;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
  min-height: 6.1rem;
  padding: 1rem clamp(1.5rem, 3vw, 3.25rem);
  background: rgb(5 13 28 / 0.96);
  border-bottom: 1px solid var(--public-line);
  backdrop-filter: blur(18px);
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--public-white);
  text-decoration: none;
}

.public-brand-mark {
  position: relative;
  display: inline-block;
  width: 1.65rem;
  height: 2.35rem;
  flex: 0 0 auto;
  border-radius: 0.2rem 0.2rem 0.12rem 0.12rem;
}

.public-brand-body {
  position: absolute;
  inset: 0;
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
  background: linear-gradient(
    to bottom,
    transparent 0 0.32rem,
    var(--public-amber) 0.32rem 0.74rem,
    var(--public-cream) 0.74rem 1.1rem,
    var(--public-amber) 1.1rem 1.52rem,
    var(--public-cream) 1.52rem 1.88rem,
    var(--public-amber) 1.88rem 100%
  );
  box-shadow: 0 0 1.1rem rgb(247 189 47 / 0.32);
}

.public-brand-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.55rem;
  width: 1.15rem;
  height: 0.9rem;
  border-radius: 0.7rem 0.7rem 0.18rem 0.18rem;
  transform: translateX(-50%);
  background: var(--public-amber);
}

.public-brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.12rem;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--public-cream);
}

.public-brand-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  color: var(--public-white);
  font-family: var(--brand-logo) !important;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.84;
  white-space: nowrap;
}

.public-brand-text span {
  color: var(--public-amber);
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 0.68em;
  font-style: italic;
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 0.78;
}

.public-brand-text strong {
  color: var(--public-white);
  font-family: var(--brand-logo) !important;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.84;
}

.public-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.24rem, 0.55vw, 0.42rem);
  min-width: 0;
}

/* Use the supplied lockup as one transparent asset so the lighthouse, beam and
   wordmark keep their intended proportions without a visible image rectangle. */
.public-brand-lockup-image {
  width: clamp(9.5rem, 13vw, 11.5rem);
  aspect-ratio: 1717 / 916;
  overflow: hidden;
  flex: 0 0 auto;
  gap: 0;
  background: transparent;
}

.public-brand-lockup-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.public-brand-lighthouse {
  position: relative;
  display: inline-block;
  width: clamp(2rem, 3.5vw, 3rem);
  height: auto;
  aspect-ratio: 800 / 1025;
  flex: 0 0 auto;
  align-self: center;
  box-sizing: border-box;
  filter: drop-shadow(0 0.32rem 0.45rem rgb(0 0 0 / 0.22));
}

.public-brand-lighthouse::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 26%;
  left: 54%;
  width: 170%;
  height: 30%;
  background: linear-gradient(90deg, rgb(247 189 47 / 0.68), rgb(247 189 47 / 0.08) 72%, transparent);
  clip-path: polygon(0 38%, 100% 0, 100% 100%, 0 62%);
  opacity: 0.78;
}

.public-brand-lighthouse-light {
  position: absolute;
  z-index: 3;
  top: 17%;
  left: 21%;
  width: 58%;
  height: 25%;
  border: max(1px, 0.09rem) solid var(--public-amber);
  border-radius: 0.16rem 0.16rem 0.1rem 0.1rem;
  background: linear-gradient(90deg, transparent 0 22%, rgb(247 189 47 / 0.76) 22% 35%, transparent 35% 65%, rgb(247 189 47 / 0.76) 65% 78%, transparent 78%), var(--public-navy);
  box-shadow: inset 0 0 0.3rem rgb(247 189 47 / 0.35);
}

.public-brand-lighthouse-light::before {
  content: "";
  position: absolute;
  top: -58%;
  left: 4%;
  width: 92%;
  height: 66%;
  background: var(--public-amber);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.public-brand-lighthouse-light::after {
  content: "";
  position: absolute;
  top: -92%;
  left: 42%;
  width: 16%;
  height: 30%;
  border-radius: 50%;
  background: var(--public-amber);
}

.public-brand-lighthouse-tower {
  position: absolute;
  z-index: 2;
  right: 14%;
  bottom: 8%;
  left: 16%;
  height: 63%;
  background: linear-gradient(108deg, var(--public-amber) 0 58%, rgb(186 113 6) 58% 100%);
  clip-path: polygon(29% 0, 71% 0, 100% 100%, 0 100%);
}

.public-brand-lighthouse-tower::after {
  content: "";
  position: absolute;
  top: 25%;
  right: 27%;
  width: 15%;
  height: 16%;
  background: var(--public-navy);
  box-shadow: 0 0.55rem 0 var(--public-navy);
}

.public-brand-lighthouse-base {
  position: absolute;
  z-index: 3;
  right: 2%;
  bottom: 0;
  left: 2%;
  height: 9%;
  border-radius: 50%;
  background: var(--public-amber);
}

.public-brand-lighthouse-exact {
  overflow: hidden;
  border-radius: 0.2rem;
  background: #071a2d;
  aspect-ratio: 800 / 1025;
}

.public-brand-lighthouse-exact::before,
.public-brand-lighthouse-exact::after {
  content: none;
}

.public-brand-lighthouse-exact img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0.55rem;
  color: var(--public-muted);
  background: transparent;
  border: 1px solid rgb(255 250 240 / 0.25);
  border-radius: 0.62rem;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.public-menu-toggle span {
  display: block;
  width: 1rem;
  height: 1px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.public-menu-toggle:hover,
.public-menu-toggle:focus-visible,
.public-header.is-menu-open .public-menu-toggle {
  color: var(--public-amber-strong);
  border-color: var(--public-amber-strong);
  background: rgb(247 189 47 / 0.08);
  outline: none;
}

.public-header.is-menu-open .public-menu-toggle span:first-child {
  transform: translateY(0.22rem) rotate(45deg);
}

.public-header.is-menu-open .public-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.public-header.is-menu-open .public-menu-toggle span:last-child {
  transform: translateY(-0.22rem) rotate(-45deg);
}

.public-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 1.7vw, 1.8rem);
  min-width: 0;
}

.public-nav a,
.public-nav .public-footer-contact,
.public-footer nav a {
  color: var(--public-muted);
  font-family: var(--brand-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 160ms ease, transform 160ms ease;
}

.public-footer-contact {
  padding: 0;
  color: var(--public-amber);
  background: transparent;
  border: 0;
  font-family: var(--brand-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  line-height: 1.35;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

.public-nav a:hover,
.public-nav a:focus-visible,
.public-nav .public-footer-contact:hover,
.public-nav .public-footer-contact:focus-visible,
.public-footer nav a:hover,
.public-footer nav a:focus-visible,
.public-footer-contact:hover,
.public-footer-contact:focus-visible {
  color: var(--public-amber-strong);
  outline: none;
  transform: translateY(-1px);
}

.public-nav :is(a, .public-footer-contact).is-active,
.public-nav :is(a, .public-footer-contact)[aria-current="page"] {
  color: var(--public-amber-strong);
}

.public-header-actions,
.public-hero-actions,
.public-final-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.public-header-actions {
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.55rem;
}

.public-header-actions > .landing-access {
  align-self: center;
  justify-self: auto;
  margin-top: 0;
}

.public-header-actions .public-button {
  min-height: 2.75rem;
  height: 2.75rem;
  padding: 0.58rem 0.86rem;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.public-header-actions .language-switcher,
.public-header-actions .public-language-switcher {
  min-width: 5.5rem;
}

.public-header-actions .language-switcher span,
.public-header-actions .public-language-switcher span {
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.public-header-actions .language-switcher select,
.public-header-actions .public-language-switcher select {
  min-height: 2.75rem;
  height: 2.75rem;
  padding: 0.58rem 0.86rem;
  border-radius: 0.62rem;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: none;
}

.public-site details {
  position: relative;
}

.public-site summary {
  list-style: none;
}

.public-site summary::-webkit-details-marker {
  display: none;
}

.public-button,
.public-submit,
.public-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid var(--public-gold-line);
  border-radius: 0.62rem;
  font-family: var(--brand-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.public-button:focus-visible,
.public-submit:focus-visible,
.public-access-fields input:focus,
.public-access-fields select:focus {
  outline: 3px solid rgb(247 189 47 / 0.45);
  outline-offset: 3px;
}

.public-button-primary,
.public-submit {
  color: var(--public-black);
  background: var(--public-amber-strong);
  border-color: var(--public-amber-strong);
  box-shadow: 0 1.2rem 2rem rgb(247 189 47 / 0.12);
}

.public-button-primary:hover,
.public-button-primary:focus-visible,
.public-submit:hover,
.public-submit:focus-visible {
  color: var(--public-black);
  background: #ffd45d;
  border-color: #ffd45d;
  transform: translateY(-1px);
}

.public-button-secondary,
.public-button-ghost,
.public-button-dark {
  color: var(--public-white);
  background: rgb(5 13 28 / 0.15);
  border-color: rgb(255 250 240 / 0.25);
}

.landing-access > summary.public-button-primary {
  color: var(--public-black);
  background: var(--public-amber-strong);
  border-color: var(--public-amber-strong);
}

.landing-access > summary.public-button-secondary,
.landing-access > summary.public-button-ghost,
.landing-access > summary.public-button-dark {
  color: var(--public-white);
  background: rgb(5 13 28 / 0.15);
  border-color: rgb(255 250 240 / 0.25);
}

.public-button-secondary:hover,
.public-button-secondary:focus-visible,
.public-button-ghost:hover,
.public-button-ghost:focus-visible,
.public-button-dark:hover,
.public-button-dark:focus-visible {
  color: var(--public-black);
  background: var(--public-amber-strong);
  border-color: var(--public-amber-strong);
  transform: translateY(-1px);
}

.public-access-fields {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  z-index: 30;
  display: grid;
  gap: 0.72rem;
  width: min(24rem, calc(100vw - 2rem));
  padding: 1rem;
  color: var(--public-white);
  background:
    linear-gradient(145deg, rgb(13 34 56 / 0.98), rgb(8 22 38 / 0.98));
  border: 1px solid var(--public-line);
  border-radius: 1rem;
  box-shadow: 0 1.8rem 4rem rgb(0 0 0 / 0.45);
}

.login-access-methods {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-bottom: 0.2rem;
}

.login-access-label,
.login-method-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.25rem 0.48rem;
  border: 1px solid rgb(255 250 240 / 0.16);
  border-radius: 999px;
  color: rgb(255 250 240 / 0.64);
  font-family: var(--brand-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.login-access-label {
  padding-left: 0;
  border: 0;
  color: var(--public-amber);
}

.login-method-chip-active {
  color: var(--public-black);
  background: var(--public-amber);
  border-color: var(--public-amber);
}

.login-remember-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 0.55rem !important;
  color: rgb(255 250 240 / 0.82) !important;
  font-family: var(--brand-mono) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.04em !important;
  line-height: 1.35;
  text-transform: none !important;
}

.login-remember-row input {
  width: 1rem !important;
  min-height: 1rem !important;
  margin: 0;
  accent-color: var(--public-amber);
}

.login-security-help {
  margin: -0.1rem 0 0;
  color: rgb(255 250 240 / 0.54);
  font-family: var(--brand-mono);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  line-height: 1.45;
}

.public-hero-actions .public-access-fields,
.public-final-actions .public-access-fields {
  left: 0;
  right: auto;
}

.public-access-fields label {
  display: grid;
  gap: 0.35rem;
  color: rgb(255 250 240 / 0.72);
  font-family: var(--brand-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.public-access-fields select,
.public-access-fields input,
.public-access-fields textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.72rem 0.85rem;
  color: #0a1928;
  background: var(--public-white);
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 0.7rem;
  font-family: var(--brand-mono);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.public-lead-form {
  width: min(42rem, calc(100vw - 2rem));
  max-height: none;
  overflow-y: auto;
  padding: 1.25rem;
  gap: 1rem;
}

.public-modal-open {
  overflow: hidden;
}

.public-lead-modal[hidden] {
  display: none;
}

.public-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.public-lead-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgb(2 8 18 / 0.78);
  border: 0;
  cursor: default;
  backdrop-filter: blur(0.28rem);
}

.public-lead-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(46rem, 100%);
  max-height: min(90vh, 54rem);
  overflow: hidden;
  background: linear-gradient(145deg, rgb(13 34 56 / 0.99), rgb(5 18 34 / 0.99));
  border: 1px solid var(--public-line);
  border-radius: 1rem;
  box-shadow: 0 2rem 6rem rgb(0 0 0 / 0.52);
}

.public-lead-modal-dialog .public-lead-form {
  position: static;
  width: auto;
  max-height: calc(90vh - 0.2rem);
  overflow-y: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.public-lead-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  color: var(--public-white);
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  font-family: var(--brand-sans);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.public-lead-modal-close::before {
  content: "×";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: var(--brand-sans);
  font-size: 1.5rem;
  line-height: 1;
}

.public-lead-modal-close:hover,
.public-lead-modal-close:focus-visible {
  color: var(--public-black);
  background: var(--public-amber);
  border-color: var(--public-amber);
}

.public-lead-form-heading {
  display: grid;
  gap: 0.45rem;
}

.public-lead-kicker {
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.public-lead-form-heading h3 {
  margin: 0;
  color: var(--public-white);
  font-family: var(--brand-serif);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.05;
}

.public-lead-form-heading p {
  margin: 0;
  color: rgb(255 250 240 / 0.7);
  font-family: var(--brand-sans);
  font-size: 0.88rem;
  line-height: 1.45;
}

.public-lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.public-lead-grid label,
.public-lead-field-full,
.public-lead-consents {
  grid-column: 1 / -1;
}

.public-lead-grid label:not(.public-lead-field-full) {
  grid-column: auto;
}

.public-lead-form select,
.public-lead-form input,
.public-lead-form textarea {
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.025em;
}

.public-lead-form textarea {
  min-height: 5rem;
  resize: vertical;
  line-height: 1.4;
}

.public-lead-consents {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.1rem;
}

.public-lead-consent {
  display: flex !important;
  grid-column: 1 / -1 !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 0.55rem;
  color: rgb(255 250 240 / 0.72) !important;
  font-family: var(--brand-sans) !important;
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.35;
  text-transform: none !important;
}

.public-lead-consent input {
  flex: 0 0 auto;
  width: 1rem;
  min-height: 1rem;
  margin: 0.12rem 0 0;
  padding: 0;
  accent-color: var(--public-amber);
}

.public-lead-form .public-submit {
  width: 100%;
  margin-top: 0.1rem;
}

.public-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(25rem, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  min-height: calc(100vh - 6.1rem);
  padding: clamp(2.5rem, 4vw, 4.2rem) clamp(1.5rem, 3vw, 3.25rem);
}

.public-kicker,
.public-section-label,
.public-section-heading > span,
.public-perspective-card > span,
.public-offer-label,
.public-product-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.public-kicker span {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: var(--public-amber);
  box-shadow: 0 0 1rem rgb(247 189 47 / 0.45);
}

.public-hero h1,
.public-section h2,
.public-final h2 {
  margin: 1.6rem 0 0;
  color: var(--public-white);
  font-family: var(--brand-serif);
  font-size: clamp(3.1rem, 6.6vw, 6.8rem);
  font-style: normal;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.public-hero h1 {
  font-size: clamp(2.8rem, 3.8vw, 3.7rem);
  letter-spacing: 0;
}

.public-hero h1 span,
.public-hero h1 em {
  display: block;
}

.public-hero h1 em,
.public-final h2 em {
  color: var(--public-amber);
  font-style: normal;
}

.public-hero p,
.public-section-heading p,
.public-perspective-card p,
.public-step p,
.public-trust-card p,
.public-final p,
.public-footer p {
  color: rgb(255 250 240 / 0.66);
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.68;
}

.public-hero-copy > p {
  max-width: 49rem;
  margin: 2.25rem 0 0;
  color: rgb(255 250 240 / 0.72);
  font-family: var(--brand-sans);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 400;
  line-height: 1.55;
}

.public-hero-actions {
  margin-top: 2.6rem;
}

.public-hero-actions .public-button,
.public-final-actions .public-button,
.public-perspective-card .public-button {
  align-self: flex-start;
  width: auto;
  min-width: 0;
  min-height: 3.35rem;
  padding: 0.8rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.public-hero-actions .public-access,
.public-final-actions .public-access,
.public-perspective-card .public-access {
  width: auto;
}

.public-pilot-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  max-width: 43rem;
  margin-top: 3.2rem;
  padding: 1.25rem 1.4rem;
  background: rgb(5 13 28 / 0.38);
  border: 1px solid var(--public-line);
  border-radius: 1rem;
}

.public-pilot-note span {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--public-amber);
}

.public-pilot-note p {
  margin: 0;
  font-size: 1rem;
}

.public-product-frame {
  overflow: hidden;
  max-width: 48rem;
  margin-left: auto;
  background: #071426;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 1.4rem;
  box-shadow: 0 2.5rem 5rem rgb(0 0 0 / 0.42);
}

.public-browser-bar {
  display: grid;
  grid-template-columns: repeat(3, 0.75rem) 1fr auto;
  align-items: center;
  gap: 0.65rem;
  min-height: 4rem;
  padding: 0 1.4rem;
  background: #050d1c;
  border-bottom: 1px solid var(--public-line);
}

.public-browser-bar > span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: #263a55;
}

.public-browser-bar strong {
  justify-self: center;
  padding: 0.45rem 1.4rem;
  color: rgb(255 250 240 / 0.36);
  background: #102544;
  border-radius: 0.46rem;
  font-family: var(--brand-mono);
  font-size: 0.78rem;
}

.public-browser-bar div {
  display: inline-flex;
  gap: 0.35rem;
}

.public-browser-bar em,
.public-status {
  padding: 0.38rem 0.72rem;
  color: var(--public-black);
  background: var(--public-amber);
  border-radius: 0.42rem;
  font-family: var(--brand-mono);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.public-browser-bar em + em {
  color: rgb(255 250 240 / 0.42);
  background: rgb(255 255 255 / 0.08);
}

.public-product-body {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  min-height: 31rem;
}

.public-product-body aside {
  display: grid;
  align-content: start;
  gap: 1.15rem;
  padding: 1.6rem 1.15rem;
  background: #06111f;
  border-right: 1px solid var(--public-line);
}

.public-product-body aside span {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 0.45rem;
  background: #263a55;
}

.public-product-body aside span:first-child {
  background: var(--public-amber);
}

.public-product-main {
  padding: clamp(1.4rem, 2.6vw, 2.3rem);
  background: linear-gradient(180deg, #0b2843, #0a2238);
}

.public-product-main h2 {
  margin: 0.45rem 0 1.35rem;
  color: var(--public-white);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.public-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.public-metrics div,
.public-product-row,
.public-mini-dashboard div {
  background: rgb(255 255 255 / 0.045);
  border: 1px solid rgb(255 255 255 / 0.09);
  border-radius: 0.82rem;
}

.public-metrics div {
  padding: 1.1rem;
}

.public-metrics span,
.public-mini-dashboard strong {
  display: block;
  color: var(--public-white);
  font-family: var(--brand-mono);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.public-metrics small,
.public-mini-dashboard small,
.public-product-row span {
  color: rgb(255 250 240 / 0.48);
  font-family: var(--brand-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.public-product-rows {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.45rem;
}

.public-product-row {
  display: grid;
  grid-template-columns: 1.4fr auto minmax(7rem, 0.72fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.public-product-row strong {
  display: block;
  color: var(--public-white);
  font-size: 1rem;
}

.public-status-2 {
  color: var(--public-white);
  background: var(--public-teal);
}

.public-status-3 {
  color: #c9f5d8;
  background: rgb(54 196 98 / 0.18);
}

.public-progress {
  height: 0.23rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.11);
}

.public-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--public-teal), var(--public-amber));
}

/* The public preview is a small technical system map rather than a generic dashboard. */
.public-technical-body {
  min-height: 34rem;
}

.public-technical-sidebar {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem !important;
  padding: 1.4rem 0.75rem !important;
  color: rgb(255 250 240 / 0.4);
  background: #050d1c !important;
}

.public-technical-sidebar-dot {
  width: 0.55rem !important;
  height: 0.55rem !important;
  border-radius: 999px !important;
  background: var(--public-amber) !important;
  box-shadow: 0 0 0 0.22rem rgb(255 190 48 / 0.12);
}

.public-technical-sidebar small,
.public-technical-sidebar > span:not(.public-technical-sidebar-dot):not(.public-technical-sidebar-rule) {
  width: auto !important;
  height: auto !important;
  color: rgb(255 250 240 / 0.42);
  background: transparent !important;
  border-radius: 0 !important;
  font-family: var(--brand-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-align: center;
}

.public-technical-sidebar-rule {
  width: 1px !important;
  height: 5.4rem !important;
  margin: 0.25rem 0 0.2rem;
  background: linear-gradient(180deg, var(--public-amber), transparent) !important;
  border-radius: 0 !important;
}

.public-technical-main {
  min-width: 0;
  padding: clamp(1.2rem, 2.3vw, 2rem) !important;
  background:
    linear-gradient(180deg, rgb(11 40 67 / 0.94), rgb(7 25 43 / 0.98)),
    radial-gradient(circle at 90% 0%, rgb(18 126 137 / 0.18), transparent 42%);
}

.public-technical-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.public-technical-heading-status {
  display: grid;
  justify-items: end;
  gap: 0.42rem;
  flex: 0 0 auto;
}

.public-technical-heading .public-product-kicker {
  display: block;
  margin-bottom: 0.55rem;
}

.public-technical-heading h2 {
  max-width: 31rem;
  margin: 0 !important;
  font-size: clamp(1.25rem, 2.25vw, 1.9rem) !important;
  line-height: 1.08;
}

.public-technical-live {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.42rem;
  padding-top: 0.2rem;
  color: rgb(255 250 240 / 0.58);
  font-family: var(--brand-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.public-dashboard-note {
  display: block;
  color: rgb(255 250 240 / 0.46);
  font-family: var(--brand-mono);
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.public-perspective-card:not(.is-dark) .public-dashboard-note {
  color: rgb(5 13 28 / 0.52);
}

.public-perspective-card .public-dashboard-note {
  margin-top: auto;
  padding-top: 1.1rem;
}

.public-perspective-card .public-mini-dashboard {
  margin-top: 0.55rem;
}

.public-technical-live i {
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: #45c98a;
  box-shadow: 0 0 0 0.2rem rgb(69 201 138 / 0.13);
}

.public-technical-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.45rem;
}

.public-technical-metrics > div {
  min-width: 0;
  padding: 0.7rem 0.8rem;
  background: rgb(255 255 255 / 0.045);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 0.6rem;
}

.public-technical-metrics small,
.public-technical-metrics span {
  display: block;
  color: rgb(255 250 240 / 0.44);
  font-family: var(--brand-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.public-technical-metrics strong {
  display: block;
  margin: 0.25rem 0 0.12rem;
  color: var(--public-white);
  font-family: var(--brand-mono);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.public-technical-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.2rem minmax(0, 1fr) 1.2rem minmax(0, 1fr);
  align-items: stretch;
  gap: 0.4rem;
  margin-top: 1.1rem;
}

.public-technical-node {
  display: grid;
  align-content: start;
  min-width: 0;
  min-height: 5.9rem;
  padding: 0.75rem;
  background: rgb(255 255 255 / 0.035);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 0.65rem;
}

.public-technical-node-shared {
  background: linear-gradient(145deg, rgb(255 190 48 / 0.16), rgb(255 255 255 / 0.04));
  border-color: rgb(255 190 48 / 0.55);
}

.public-technical-node-index,
.public-technical-row-index {
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.public-technical-node strong {
  margin-top: 0.6rem;
  color: var(--public-white);
  font-size: 0.86rem;
  line-height: 1.15;
}

.public-technical-node small {
  margin-top: 0.45rem;
  color: rgb(255 250 240 / 0.48);
  font-size: 0.66rem;
  line-height: 1.35;
}

.public-technical-flow-line {
  position: relative;
  align-self: center;
  width: 100%;
  height: 1px;
  background: rgb(255 250 240 / 0.25);
}

.public-technical-flow-line i {
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.34rem;
  height: 0.34rem;
  background: var(--public-amber);
  border-radius: 999px;
  transform: translate(50%, -50%);
}

.public-technical-table {
  margin-top: 1.1rem;
  border-top: 1px solid rgb(255 255 255 / 0.13);
}

.public-technical-table-head,
.public-technical-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) 0.8fr minmax(4rem, 1fr) 2.7rem;
  align-items: center;
  gap: 0.65rem;
}

.public-technical-table-head {
  padding: 0.62rem 0;
  color: rgb(255 250 240 / 0.38);
  font-family: var(--brand-mono);
  font-size: 0.54rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.public-technical-table-row {
  min-width: 0;
  padding: 0.62rem 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.public-technical-stream-name {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.55rem;
  min-width: 0;
}

.public-technical-stream-name strong {
  min-width: 0;
  overflow: hidden;
  color: var(--public-white);
  font-size: 0.72rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-technical-stream-name small {
  grid-column: 2;
  overflow: hidden;
  color: rgb(255 250 240 / 0.4);
  font-size: 0.56rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-technical-row-status {
  overflow: hidden;
  color: rgb(255 250 240 / 0.54);
  font-family: var(--brand-mono);
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.public-technical-row-progress {
  height: 0.22rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.12);
}

.public-technical-row-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--public-teal), var(--public-amber));
}

.public-technical-row-value {
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.63rem;
  font-weight: 500;
  text-align: right;
}

.public-section {
  padding: clamp(5rem, 7vw, 8rem) clamp(1.5rem, 3vw, 3.25rem);
}

.public-perspective-section {
  color: var(--public-black);
  background: var(--public-cream);
}

.public-section-heading {
  max-width: 64rem;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.public-perspective-section .public-section-heading h2,
.public-perspective-section .public-section-heading p {
  color: var(--public-black);
}

.public-perspective-section .public-section-heading h2 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
}

.public-perspective-section .public-section-heading p,
.public-perspective-card p {
  color: #6e7683;
}

.public-perspectives {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.public-perspective-card {
  display: flex;
  flex-direction: column;
  min-height: 36rem;
  padding: clamp(2rem, 3vw, 3.3rem);
  color: var(--public-black);
  background: #ffffff;
  border: 1px solid rgb(5 13 28 / 0.10);
  border-radius: 1.3rem;
  box-shadow: 0 2rem 4rem rgb(5 13 28 / 0.08);
}

.public-perspective-card.is-dark {
  color: var(--public-white);
  background: #071426;
}

.public-perspective-card h3 {
  max-width: 45rem;
  margin: 2rem 0 0;
  color: inherit;
  font-family: var(--brand-serif);
  font-size: clamp(2rem, 3.4vw, 3.9rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.public-perspective-card em {
  display: block;
  margin-top: 1.1rem;
  color: var(--public-amber);
  font-family: var(--brand-serif);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
}

.public-perspective-card.is-dark p {
  color: rgb(255 250 240 / 0.58);
}

.public-mini-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: auto 0 2rem;
}

.public-mini-dashboard div {
  padding: 1rem;
}

.public-perspective-card:not(.is-dark) .public-mini-dashboard div {
  background: rgb(9 25 43 / 0.06);
  border-color: rgb(9 25 43 / 0.08);
}

.public-perspective-card:not(.is-dark) .public-mini-dashboard strong {
  color: var(--public-teal);
}

.public-perspective-card:not(.is-dark) .public-mini-dashboard small {
  color: #536270;
  font-weight: 800;
}

.public-offer-section {
  color: var(--public-black);
  background: #eee9df;
}

.public-offer-section .public-section-heading h2,
.public-offer-section .public-section-heading p {
  color: var(--public-black);
}

.public-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.public-offer-card {
  display: flex;
  flex-direction: column;
  min-height: 25rem;
  padding: clamp(1.5rem, 2.4vw, 2.4rem);
  color: var(--public-black);
  background: #ffffff;
  border: 1px solid rgb(5 13 28 / 0.12);
  border-radius: 1rem;
}

.public-offer-card.is-dark {
  color: var(--public-white);
  background: #071426;
  border-color: rgb(255 255 255 / 0.13);
}

.public-offer-label {
  color: var(--public-amber-strong);
}

.public-offer-card h3 {
  margin: 1.5rem 0 0;
  color: inherit;
  font-family: var(--brand-serif);
  font-size: clamp(1.8rem, 2.7vw, 2.8rem);
  font-weight: 500;
  line-height: 1.05;
}

.public-offer-card p {
  margin: 1rem 0 0;
  color: #687383;
  font-size: 1rem;
  line-height: 1.55;
}

.public-offer-card.is-dark p {
  color: rgb(255 250 240 / 0.7);
}

.public-offer-card ul {
  display: grid;
  gap: 0;
  margin: auto 0 0;
  padding: 1.4rem 0 0;
  list-style: none;
}

.public-offer-card li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.72rem 0;
  border-top: 1px solid rgb(5 13 28 / 0.12);
  color: #536270;
  font-size: 0.9rem;
  line-height: 1.35;
}

.public-offer-check {
  display: inline-grid;
  flex: 0 0 1.1rem;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.02rem;
  place-items: center;
  border-radius: 50%;
  background: var(--public-amber-strong);
  color: var(--public-black);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.public-offer-card.is-dark li {
  color: rgb(255 250 240 / 0.72);
  border-color: rgb(255 255 255 / 0.14);
}

/* Keep the public site legible as a sequence of clear, alternating bands. */
.public-bitone-overview-section {
  position: relative;
  isolation: isolate;
}

.public-bitone-route-section {
  color: var(--public-white);
  background:
    radial-gradient(circle at 86% 0%, rgb(10 92 107 / 0.26), transparent 28rem),
    linear-gradient(135deg, var(--public-petrol) 0%, #09192b 54%, var(--public-black) 100%);
  border-top: 1px solid rgb(255 255 255 / 0.08);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.public-bitone-route-section .public-section-heading h2,
.public-bitone-route-section .public-section-heading p {
  color: var(--public-white);
}

.public-bitone-route-section .public-section-heading p {
  color: rgb(255 250 240 / 0.64);
}

.public-bitone-route-section .public-section-heading > span {
  color: var(--public-amber);
}

.public-bitone-route-section .public-offer-card {
  color: var(--public-white);
  background: rgb(18 48 73 / 0.66);
  border-color: var(--public-line);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.035);
}

.public-bitone-route-section .public-offer-card.is-dark {
  background: rgb(5 13 28 / 0.58);
}

.public-bitone-route-section .public-offer-card.is-support {
  background: linear-gradient(145deg, rgb(12 84 95 / 0.8), rgb(18 48 73 / 0.72));
}

.public-bitone-route-section .public-offer-card h3 {
  color: var(--public-white);
}

.public-bitone-route-section .public-offer-card p,
.public-bitone-route-section .public-offer-card li {
  color: rgb(255 250 240 / 0.68);
}

.public-bitone-route-section .public-offer-card li {
  border-color: rgb(255 255 255 / 0.14);
}

.public-bitone-route-section .public-offer-label {
  color: var(--public-amber);
}

.public-difference-heading .public-difference-lede {
  max-width: 58rem;
  margin-top: 1.6rem;
  color: var(--public-amber);
  font-family: var(--brand-serif) !important;
  font-size: clamp(1.55rem, 2.6vw, 2.6rem);
  line-height: 1.15;
}

.public-difference-heading > p:not(.public-difference-lede) {
  max-width: 54rem;
  margin-top: 0.85rem;
  color: rgb(255 250 240 / 0.66);
}

.public-difference-offer-grid {
  margin-top: 3rem;
}

.public-difference-section .public-trust-grid {
  margin-top: 3rem;
}

.public-workflow-section,
.public-trust-section,
.public-final,
.public-footer {
  background:
    radial-gradient(circle at 72% 0%, rgb(10 92 107 / 0.24), transparent 26rem),
    linear-gradient(135deg, var(--public-petrol) 0%, #09192b 52%, var(--public-black) 100%);
}

.public-workflow-section h2,
.public-trust-section h2 {
  max-width: 54rem;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
}

.public-workflow-section {
  color: var(--public-black);
  background: var(--public-cream);
  border-top: 1px solid rgb(5 13 28 / 0.1);
  border-bottom: 1px solid rgb(5 13 28 / 0.1);
}

.public-workflow-section .public-section-label {
  color: var(--public-amber-strong);
}

.public-workflow-section h2 {
  color: var(--public-black);
}

.public-tabs {
  display: inline-flex;
  gap: 0.35rem;
  margin-top: 2rem;
  padding: 0.35rem;
  background: rgb(5 13 28 / 0.06);
  border: 1px solid rgb(5 13 28 / 0.14);
  border-radius: 0.85rem;
}

.public-tabs button {
  color: #687383;
  background: transparent;
  border: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.public-tabs button.is-active {
  color: var(--public-black);
  background: var(--public-amber);
}

.public-tabs button:hover,
.public-tabs button:focus-visible {
  color: var(--public-black);
  background: var(--public-amber);
  outline: 0;
}

.public-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4rem;
  border: 1px solid rgb(5 13 28 / 0.16);
  border-radius: 1rem;
  overflow: hidden;
}

.public-step {
  min-height: 20rem;
  padding: clamp(1.5rem, 2.4vw, 2.4rem);
  background: rgb(255 255 255 / 0.56);
  border-right: 1px solid rgb(5 13 28 / 0.14);
}

.public-step:last-child {
  border-right: 0;
}

.public-step span {
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
}

.public-step h3,
.public-trust-card h3 {
  margin: 2rem 0 0;
  color: var(--public-black);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.18;
}

.public-step p,
.public-trust-card p {
  font-size: 1rem;
}

.public-workflow-section .public-step h3 {
  color: var(--public-black);
}

.public-workflow-section .public-step p {
  color: #687383;
}

.public-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 4rem;
}

.public-trust-card {
  min-height: 22rem;
  padding: clamp(1.5rem, 2.4vw, 2.5rem);
  background: rgb(18 48 73 / 0.66);
  border: 1px solid var(--public-line);
  border-radius: 1rem;
}

.public-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  color: var(--public-teal);
  background: rgb(0 131 145 / 0.12);
  border: 1px solid rgb(0 131 145 / 0.45);
  border-radius: 1rem;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.03),
    0 1rem 2rem rgb(0 0 0 / 0.18);
}

.public-trust-icon svg {
  width: 2rem;
  height: 2rem;
}

.public-trust-card:hover .public-trust-icon {
  color: var(--public-amber);
  background: rgb(247 189 47 / 0.1);
  border-color: rgb(247 189 47 / 0.55);
}

/* Keep labels and trust-card headings readable against their section surfaces. */
.public-site .public-workflow-section .public-section-label {
  color: #8f5f00;
  font-weight: 600 !important;
}

.public-trust-card h3 {
  color: var(--public-white) !important;
}

.public-trust-card p {
  color: rgb(255 250 240 / 0.72);
}

.public-final {
  display: grid;
  justify-items: center;
  padding: clamp(5rem, 8vw, 8rem) clamp(1.5rem, 3vw, 3.25rem);
  text-align: center;
  border-top: 1px solid var(--public-line);
}

.public-final > span {
  color: rgb(255 250 240 / 0.34);
  font-family: var(--brand-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.public-final h2 {
  max-width: 68rem;
  font-size: clamp(2.8rem, 5.8vw, 6rem);
}

.public-final p {
  max-width: 48rem;
  margin: 1.8rem 0 0;
}

.public-final-actions {
  justify-content: center;
  margin-top: 2.5rem;
}

.public-footer {
  display: grid;
  grid-template-columns: minmax(13rem, 0.8fr) 1fr auto;
  align-items: start;
  gap: 2rem;
  padding: 4rem clamp(1.5rem, 3vw, 3.25rem);
  border-top: 1px solid var(--public-line);
}

.public-footer p {
  max-width: 28rem;
  margin: 0;
  font-size: 1rem;
}

.public-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.public-footer .public-lead-panel {
  display: contents;
}

.public-inline-link,
.public-legal-links a {
  color: var(--public-amber);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.public-inline-link:hover,
.public-inline-link:focus-visible,
.public-legal-links a:hover,
.public-legal-links a:focus-visible {
  color: var(--public-white);
}

.public-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  grid-column: 1 / -1;
}

.public-legal-links a {
  font-family: var(--brand-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.cookie-banner {
  position: fixed;
  right: clamp(1rem, 3vw, 2.5rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  z-index: 150;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(58rem, calc(100vw - 2rem));
  padding: 1rem 1.15rem;
  color: var(--public-white);
  background: linear-gradient(145deg, rgb(13 34 56 / 0.98), rgb(5 18 34 / 0.98));
  border: 1px solid var(--public-line);
  border-radius: 0.85rem;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.36);
}

.cookie-banner strong {
  display: block;
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cookie-banner p {
  max-width: 36rem;
  margin: 0.35rem 0 0;
  color: rgb(255 250 240 / 0.7);
  font-size: 0.82rem;
  line-height: 1.4;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.55rem;
}

.cookie-button {
  min-height: 2.45rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--public-line);
  border-radius: 0.45rem;
  font-family: var(--brand-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-button-primary {
  color: var(--public-black);
  background: var(--public-amber);
  border-color: var(--public-amber);
}

.cookie-button-secondary {
  color: var(--public-white);
  background: transparent;
}

.cookie-banner-actions a {
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 10%, rgb(10 92 107 / 0.22), transparent 28rem),
    linear-gradient(135deg, var(--public-petrol) 0%, #09192b 52%, var(--public-black) 100%);
}

.legal-page-header {
  position: relative;
}

.legal-page-main {
  width: min(66rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 7rem) 0;
}

.legal-page-back {
  display: inline-block;
  margin-bottom: 3rem;
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-page-main h1 {
  max-width: 52rem;
  margin: 1.2rem 0 1.5rem;
  color: var(--public-white);
  font-family: var(--brand-serif);
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  font-weight: 500;
  line-height: 0.98;
}

.legal-page-intro {
  max-width: 48rem;
  margin: 0;
  color: rgb(255 250 240 / 0.72);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.5;
}

.legal-page-meta {
  margin: 0.65rem 0 0;
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-page-notice {
  max-width: 48rem;
  margin: 1.5rem 0 0;
  padding: 0.9rem 1rem;
  color: var(--public-black);
  background: var(--public-amber);
  border-radius: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.legal-page-sections {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.legal-page-section {
  padding: 1.25rem 1.35rem;
  background: rgb(255 255 255 / 0.045);
  border: 1px solid var(--public-line);
  border-radius: 0.7rem;
}

.legal-page-section h2 {
  margin: 0;
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-page-section p {
  max-width: 58rem;
  margin: 0.7rem 0 0;
  color: rgb(255 250 240 / 0.72);
  font-size: 0.98rem;
  line-height: 1.65;
}

.legal-page-subsection {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.09);
}

.legal-page-subsection h3 {
  margin: 0;
  color: rgb(255 250 240 / 0.9);
  font-family: var(--brand-sans);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
}

.legal-page-list {
  display: grid;
  gap: 0.45rem;
  max-width: 58rem;
  margin: 0.8rem 0 0;
  padding-left: 1.25rem;
  color: rgb(255 250 240 / 0.72);
  font-size: 0.98rem;
  line-height: 1.6;
}

.legal-page-table-wrap {
  max-width: 100%;
  margin: 1.25rem 0 0.25rem;
  overflow-x: auto;
  border: 1px solid var(--public-line);
  border-radius: 0.55rem;
}

.legal-page-table {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  color: rgb(255 250 240 / 0.76);
  font-family: var(--brand-sans);
  font-size: 0.82rem;
  line-height: 1.45;
}

.legal-page-table th,
.legal-page-table td {
  padding: 0.8rem 0.85rem;
  border-right: 1px solid rgb(255 255 255 / 0.08);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  text-align: left;
  vertical-align: top;
}

.legal-page-table th:last-child,
.legal-page-table td:last-child {
  border-right: 0;
}

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

.legal-page-table th {
  color: var(--public-black);
  background: var(--public-amber);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-page-table tbody tr:nth-child(even) {
  background: rgb(255 255 255 / 0.025);
}

.legal-preferences-button {
  margin-top: 2rem;
}

.legal-page-footer {
  grid-template-columns: minmax(13rem, 0.8fr) 1fr auto;
}

.public-footer small {
  color: rgb(255 250 240 / 0.35);
  font-family: var(--brand-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.public-footer {
  grid-template-columns: minmax(12rem, 0.8fr) minmax(16rem, 1.15fr) minmax(13rem, 0.8fr) minmax(20rem, 1.4fr);
  gap: 2.25rem 3rem;
}

.public-footer > .public-brand {
  grid-column: 1;
}

.public-footer > p {
  grid-column: 2;
}

.public-footer > .public-footer-address {
  grid-column: 3;
}

.public-footer > .public-footer-nav-groups {
  grid-column: 4;
}

.public-footer > .public-legal-links,
.public-footer > small {
  grid-column: 1 / -1;
}

.public-footer > p,
.public-footer > small {
  font-family: var(--brand-sans);
  letter-spacing: 0.06em;
}

.public-footer-nav-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.public-footer .public-footer-nav-group {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.55rem;
}

.public-footer .public-footer-nav-group strong {
  margin-bottom: 0.2rem;
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.public-footer .public-footer-nav-group a,
.public-footer .public-footer-nav-group button {
  width: max-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgb(255 250 240 / 0.7);
  cursor: pointer;
  font-family: var(--brand-sans) !important;
  font-size: 0.78rem;
  font-weight: 400 !important;
  letter-spacing: 0.025em;
  line-height: 1.25;
  text-decoration: none;
}

.public-footer .public-footer-nav-group a:hover,
.public-footer .public-footer-nav-group a:focus-visible,
.public-footer .public-footer-nav-group button:hover,
.public-footer .public-footer-nav-group button:focus-visible {
  color: var(--public-amber);
}

.public-footer.legal-page-footer {
  grid-template-columns: minmax(14rem, 0.8fr) minmax(14rem, 0.8fr) minmax(25rem, 1.5fr);
}

.public-footer.legal-page-footer > .public-footer-nav-groups {
  grid-column: 3;
}

.public-footer-address {
  display: grid;
  align-content: start;
  gap: 0.22rem;
  margin: 0;
  color: rgb(255 250 240 / 0.68);
  font-size: 0.9rem;
  font-style: normal;
  font-family: var(--brand-sans);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.public-footer-address strong {
  color: var(--public-amber);
  font-family: var(--brand-sans);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.shared-login-footer {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.shared-login-footer .public-footer-address {
  margin-left: auto;
  text-align: right;
}

@media (min-width: 721px) and (max-width: 1100px) {
  .public-footer,
  .public-footer.legal-page-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-footer > .public-footer-nav-groups,
  .public-footer.legal-page-footer > .public-footer-nav-groups {
    grid-column: 1 / -1;
  }
}

/* Public type system: Instrument Sans by default, Fraunces for display text. */
.public-site {
  font-family: var(--brand-sans);
  font-weight: 400;
}

.public-site :where(*) {
  font-family: var(--brand-sans) !important;
}

.public-site .public-language-switcher > span {
  display: none;
}

.public-site :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .public-lead-form-heading h3,
  .funder-guide-hero h1,
  .funder-guide-section-heading h2,
  .funder-guide-contact h2,
  .funder-guide-overview-card h3,
  .funder-guide-view-card h3,
  .funder-guide-step h3,
  .public-perspective-card h3,
  .public-workflow-section h2,
  .public-trust-section h2,
  .public-final h2,
  .public-product-main h2,
  .legal-page-main h1,
  .legal-page-section h2
) {
  font-family: var(--brand-serif) !important;
  font-style: normal !important;
}

.public-site :is(h1, h2, h3, h4, h5, h6) > :is(span, em, strong, b) {
  font-family: var(--brand-serif) !important;
  font-style: normal !important;
}

.public-site :is(
  .public-button,
  .public-submit,
  .public-tabs button,
  .public-nav a,
  .public-footer nav a,
  .public-footer-contact,
  .public-kicker,
  .public-section-heading > span,
  .public-perspective-card > span,
  .public-product-kicker,
  .public-step > span,
  .public-final > span,
  .public-legal-links a,
  .public-footer small,
  .cookie-banner strong,
  .cookie-button,
  .cookie-banner-actions a,
  .legal-page-back,
  .legal-page-section h2,
  .public-header-actions .language-switcher span,
  .public-header-actions .public-language-switcher span,
  .public-header-actions .language-switcher select,
  .public-header-actions .public-language-switcher select
) {
  font-weight: 400 !important;
}

.public-site .public-brand-text {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  font-family: var(--brand-logo) !important;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--public-white);
}

.public-site .public-brand-text span {
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 0.68em !important;
  font-style: italic !important;
  font-weight: 500 !important;
  font-optical-sizing: auto;
  color: var(--public-amber);
  letter-spacing: -0.015em;
}

.public-site .public-brand-text strong {
  font-family: var(--brand-logo) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  color: var(--public-white);
  letter-spacing: -0.04em;
}

.public-site .public-brand-lockup-image {
  width: clamp(9.5rem, 13vw, 11.5rem);
  background: transparent;
}

/* Brand guide: light surfaces use the same navy as the product wordmark,
   while dark surfaces keep the off-white display treatment. */
.public-site .public-perspective-section,
.public-site .public-offer-section,
.public-site .public-workflow-section {
  color: var(--public-navy);
}

.public-site .public-perspective-section .public-section-heading h2,
.public-site .public-perspective-card:not(.is-dark) h3,
.public-site .public-offer-section .public-section-heading h2,
.public-site .public-offer-card:not(.is-dark) h3,
.public-site .public-workflow-section h2,
.public-site .public-workflow-section .public-step h3 {
  color: var(--public-navy);
}

.public-site .funder-guide-overview-section .funder-guide-section-heading h2,
.public-site .funder-guide-overview-card h3,
.public-site .funder-guide-overview-card small,
.public-site .funder-guide-view-card h3,
.public-site .funder-guide-view-stage b,
.public-site .funder-guide-view-chain-item strong {
  color: var(--public-navy);
}

/* Keep public supporting copy calm and readable; display type is reserved for headings. */
.public-site :where(p, li, label, input, textarea, select, option, small) {
  font-family: var(--brand-sans) !important;
  font-weight: 400 !important;
}

.public-site :where(.public-hero p, .public-section-heading p, .public-perspective-card p, .public-step p, .public-trust-card p, .public-final p, .public-footer p, .funder-guide-hero-copy > p, .funder-guide-section-heading p, .funder-guide-contact p, .funder-guide-overview-card p, .funder-guide-view-card p, .funder-guide-step p, .legal-page-intro, .legal-page-section p) {
  font-family: var(--brand-sans) !important;
  font-weight: 400 !important;
}

@media (max-width: 1100px) {
  .public-header {
    grid-template-columns: 1fr auto;
  }

  .public-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
  }

  .public-hero,
  .public-perspectives {
    grid-template-columns: 1fr;
  }

  .public-product-frame {
    margin: 0;
  }

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

  .public-step:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .public-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }

  .public-nav,
  .public-header-actions {
    justify-content: flex-start;
  }

  .public-offer-grid {
    grid-template-columns: 1fr;
  }

  .public-offer-card {
    min-height: 0;
  }

  .public-nav {
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.2rem;
  }

  .public-header-actions,
  .public-hero-actions,
  .public-final-actions {
    align-items: stretch;
  }

  .public-header-actions {
    flex-wrap: wrap;
    row-gap: 0.55rem;
  }

  .shared-login-main {
    width: min(100% - 1.5rem, 42rem);
    padding-top: 3rem;
  }

  .shared-login-grid {
    grid-template-columns: 1fr;
  }

  .shared-login-card > .public-access > summary,
  .shared-login-card > .public-button,
  .shared-login-footer .public-button {
    width: 100%;
  }

  .public-site details,
  .public-button,
  .public-submit {
    width: 100%;
  }

  .public-access-fields {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
  }

  .public-lead-form {
    padding: 1rem;
  }

  .public-lead-modal {
    align-items: start;
    padding: 0.75rem;
  }

  .public-lead-modal-dialog,
  .public-lead-modal-dialog .public-lead-form {
    max-height: calc(100vh - 1.5rem);
  }

  .public-lead-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 0.85rem;
  }

  .cookie-banner-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .legal-page-main {
    width: min(100% - 1.5rem, 66rem);
  }

  .public-lead-grid label,
  .public-lead-grid label:not(.public-lead-field-full),
  .public-lead-field-full,
  .public-lead-consents {
    grid-column: auto;
  }

  .public-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 4rem;
  }

  .public-hero h1,
  .public-section h2,
  .public-final h2 {
    font-size: clamp(3rem, 18vw, 4.5rem);
  }

  .public-product-body {
    grid-template-columns: 1fr;
  }

  .public-product-body aside {
    display: none;
  }

  .public-browser-bar {
    grid-template-columns: repeat(3, 0.65rem) 1fr;
  }

  .public-browser-bar strong,
  .public-browser-bar div {
    display: none;
  }

  .public-metrics,
  .public-mini-dashboard,
  .public-product-row,
  .public-workflow-grid,
  .public-trust-grid,
  .public-footer {
    grid-template-columns: 1fr;
  }

  .public-footer > .public-brand,
  .public-footer > p,
  .public-footer > .public-footer-address,
  .public-footer > .public-footer-nav-groups,
  .public-footer > nav:not(.public-legal-links),
  .public-footer > .public-legal-links,
  .public-footer > small {
    grid-column: 1;
  }

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

  .shared-login-footer .public-footer-address {
    margin-left: 0;
    text-align: left;
  }

  .public-workflow-grid,
  .public-step {
    border-right: 0;
  }

  .public-step {
    border-bottom: 1px solid var(--public-line);
  }

  .public-step:last-child {
    border-bottom: 0;
  }
}

/* Final readability guard for light data rows inside the dark app shell. */
.route-my-goals :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line),
.route-results :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line),
.route-detail :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line),
.route-admin :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line),
.route-reporting :is(.manual-reporting-row, .impact-narrative-recent, .impact-narrative-form) {
  background: #f7fbf8 !important;
  border-color: rgb(16 46 53 / 0.28) !important;
  color: #102e35 !important;
  opacity: 1 !important;
}

.route-my-goals :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line):hover,
.route-results :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line):hover,
.route-detail :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line):hover,
.route-admin :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line):hover,
.route-reporting :is(.manual-reporting-row, .impact-narrative-recent, .impact-narrative-form):hover {
  background: #ffffff !important;
  border-color: rgb(16 46 53 / 0.42) !important;
}

.route-my-goals :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) :is(strong, span, small, p, div, label),
.route-results :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) :is(strong, span, small, p, div, label),
.route-detail :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) :is(strong, span, small, p, div, label),
.route-admin :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) :is(strong, span, small, p, div, label),
.route-reporting :is(.manual-reporting-row, .impact-narrative-recent, .impact-narrative-form) :is(strong, span, small, p, div, label) {
  color: #102e35 !important;
  opacity: 1 !important;
}

.route-my-goals :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) :is(.muted, small),
.route-results :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) :is(.muted, small),
.route-detail :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) :is(.muted, small),
.route-admin :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) :is(.muted, small),
.route-reporting :is(.manual-reporting-row, .impact-narrative-recent, .impact-narrative-form) :is(.muted, small) {
  color: #49656a !important;
}

.route-my-goals :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) :is(.status-chip, .badge, .pill, .result-goal-meta span),
.route-results :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) :is(.status-chip, .badge, .pill, .result-goal-meta span),
.route-detail :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) :is(.status-chip, .badge, .pill, .result-goal-meta span),
.route-admin :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) :is(.status-chip, .badge, .pill, .result-goal-meta span),
.route-reporting :is(.manual-reporting-row, .impact-narrative-recent, .impact-narrative-form) :is(.status-chip, .badge, .pill, .result-goal-meta span) {
  background: #e4eeeb !important;
  border-color: rgb(16 46 53 / 0.16) !important;
  color: #102e35 !important;
}

.route-my-goals :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) .progress,
.route-results :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) .progress,
.route-detail :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) .progress,
.route-admin :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) .progress,
.route-reporting :is(.manual-reporting-row, .impact-narrative-recent, .impact-narrative-form) .progress {
  background: #dbe8e4 !important;
}

.route-my-goals :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) .progress b,
.route-results :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) .progress b,
.route-detail :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) .progress b,
.route-admin :is(.impact-kpi-card, .result-goal-line, .person-objective-line, .my-fundraising-goal-line) .progress b,
.route-reporting :is(.manual-reporting-row, .impact-narrative-recent, .impact-narrative-form) .progress b {
  background: linear-gradient(90deg, #f5c84c, #65d6bd) !important;
  color: #102e35 !important;
}

/* Keep guide mockups technical and data-led; the background stays quiet so the UI carries the story. */
.funder-guide-screen {
  background-image: none !important;
  background-color: #0b1d31 !important;
}

.funder-guide-portfolio-screen {
  background:
    linear-gradient(145deg, rgb(13 39 64 / 0.98), rgb(5 18 32 / 0.98)),
    radial-gradient(circle at 95% 0%, rgb(255 190 48 / 0.1), transparent 34%) !important;
}

.funder-guide-technical-title,
.funder-guide-review-title,
.funder-guide-portfolio-panel-head,
.funder-guide-portfolio-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.funder-guide-technical-title h2 {
  margin: 0.85rem 0 0.55rem !important;
}

.funder-guide-technical-title > span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: rgb(255 250 240 / 0.5);
  font-family: var(--brand-mono);
  font-size: 0.42rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.funder-guide-technical-title > span i {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: #49c889;
  box-shadow: 0 0 0 0.15rem rgb(73 200 137 / 0.12);
}

.funder-guide-portfolio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.funder-guide-portfolio-panel {
  min-width: 0;
  padding: 0.62rem 0.65rem;
  background: rgb(255 255 255 / 0.045);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 0.42rem;
}

.funder-guide-portfolio-panel-head {
  padding-bottom: 0.48rem;
  color: rgb(255 250 240 / 0.62);
  font-family: var(--brand-mono);
  font-size: 0.44rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.funder-guide-portfolio-panel-head b {
  color: var(--public-amber);
  font-weight: 700;
}

.funder-guide-portfolio-bar-row {
  display: grid;
  gap: 0.26rem;
  padding: 0.42rem 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.funder-guide-portfolio-bar-row > div {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  color: rgb(255 250 240 / 0.64);
  font-size: 0.5rem;
}

.funder-guide-portfolio-bar-row b {
  color: var(--public-white);
  font-family: var(--brand-mono);
  font-size: 0.46rem;
  font-weight: 500;
}

.funder-guide-portfolio-bar-row > i,
.funder-guide-phone-health > i {
  display: block;
  height: 0.22rem;
  overflow: hidden;
  background: rgb(255 250 240 / 0.13);
  border-radius: 999px;
}

.funder-guide-portfolio-bar-row > i em,
.funder-guide-phone-health > i em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--public-teal), var(--public-amber));
  border-radius: inherit;
}

.funder-guide-portfolio-panel-foot {
  margin-top: 0.3rem;
  padding-top: 0.48rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  color: rgb(255 250 240 / 0.44);
  font-family: var(--brand-mono);
  font-size: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.funder-guide-portfolio-panel-foot span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.funder-guide-portfolio-panel-foot i {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: #49c889;
}

.funder-guide-portfolio-panel-foot b {
  color: var(--public-amber);
  font-size: 0.48rem;
}

.funder-guide-decision-panel {
  padding-bottom: 0.35rem;
}

.funder-guide-decision-row {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem;
  padding: 0.43rem 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

.funder-guide-decision-row > span {
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.43rem;
}

.funder-guide-decision-row > div {
  min-width: 0;
}

.funder-guide-decision-row b,
.funder-guide-decision-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.funder-guide-decision-row b {
  color: rgb(255 250 240 / 0.76);
  font-size: 0.48rem;
  font-weight: 600;
}

.funder-guide-decision-row small {
  margin-top: 0.16rem;
  color: rgb(255 250 240 / 0.42);
  font-size: 0.39rem;
}

.funder-guide-decision-row em {
  color: var(--public-amber);
  font-family: var(--brand-mono);
  font-size: 0.45rem;
  font-style: normal;
  font-weight: 700;
}

.funder-guide-decision-row em.is-good {
  color: #72c47e;
}

.funder-guide-decision-row em.is-risk {
  color: #f49c4e;
}

.funder-guide-review-screen {
  background: linear-gradient(145deg, #102b45, #071a2d) !important;
}

.funder-guide-review-title {
  margin: 0.75rem 0 0.8rem;
}

.funder-guide-review-title h2 {
  margin: 0 !important;
}

.funder-guide-review-title > b {
  padding: 0.25rem 0.35rem;
  color: var(--public-black);
  background: var(--public-amber);
  border-radius: 0.2rem;
  font-family: var(--brand-mono);
  font-size: 0.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.funder-guide-review-screen .funder-guide-review-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 0.45rem;
  padding: 0.55rem 0;
}

.funder-guide-review-screen .funder-guide-review-row > div {
  min-width: 0;
  display: block;
}

.funder-guide-review-screen .funder-guide-review-row b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.funder-guide-review-screen .funder-guide-review-row small {
  display: block;
  margin-top: 0.18rem;
  color: rgb(255 250 240 / 0.44);
  font-size: 0.42rem;
}

.funder-guide-review-screen .funder-guide-review-row > span {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.5rem;
}

.funder-guide-review-screen .funder-guide-review-row > i {
  grid-column: 1 / -1;
  grid-row: 2;
}

.funder-guide-review-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.3rem;
  padding-top: 0.55rem;
  color: rgb(255 250 240 / 0.44);
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-family: var(--brand-mono);
  font-size: 0.42rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.funder-guide-review-footer b {
  color: var(--public-white);
}

.funder-guide-phone-screen {
  background: linear-gradient(160deg, #102b45, #071a2d) !important;
}

.funder-guide-phone-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.3rem;
}

.funder-guide-device-phone .funder-guide-app-icon {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 0.28rem;
}

.funder-guide-phone-brand-name {
  min-width: 0;
  overflow: hidden;
  color: var(--public-amber);
  font-family: var(--brand-serif);
  font-size: 0.56rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.funder-guide-phone-brand small {
  color: rgb(255 250 240 / 0.42);
  font-family: var(--brand-mono);
  font-size: 0.35rem;
  letter-spacing: 0.06em;
}

.funder-guide-phone-health {
  display: grid;
  gap: 0.35rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  color: rgb(255 250 240 / 0.54);
  font-family: var(--brand-mono);
  font-size: 0.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.funder-guide-phone-health b {
  color: var(--public-amber);
  font-size: 0.62rem;
}

.funder-guide-phone-alert {
  grid-template-columns: 1.15rem 1fr;
  gap: 0.35rem;
}

.funder-guide-phone-alert span {
  display: grid;
  gap: 0.15rem;
}

.funder-guide-phone-alert small {
  color: rgb(255 250 240 / 0.4);
  font-size: 0.38rem;
}

@media (max-width: 720px) {
  .funder-guide-portfolio-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .public-technical-body {
    min-height: 32rem;
  }

  .public-technical-heading h2 {
    max-width: 25rem;
  }

  .public-technical-flow {
    grid-template-columns: minmax(0, 1fr) 0.8rem minmax(0, 1fr) 0.8rem minmax(0, 1fr);
  }

  .public-technical-node {
    padding: 0.62rem;
  }
}

@media (max-width: 720px) {
  .public-technical-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .public-technical-sidebar {
    display: none !important;
  }

  .public-technical-heading {
    display: block;
  }

  .public-technical-heading-status {
    justify-items: start;
    margin-top: 0.7rem;
  }

  .public-technical-live {
    margin-top: 0;
  }

  .public-technical-metrics {
    gap: 0.45rem;
  }

  .public-technical-metrics > div {
    padding: 0.58rem;
  }

  .public-technical-metrics small,
  .public-technical-metrics span {
    font-size: 0.5rem;
  }

  .public-technical-flow {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .public-technical-flow-line {
    width: 100%;
  }

  .public-technical-flow-line i {
    right: 0;
  }

  .public-technical-table-head,
  .public-technical-table-row {
    grid-template-columns: minmax(0, 1fr) 3rem;
    gap: 0.45rem;
  }

  .public-technical-table-head span:nth-child(2),
  .public-technical-table-row .public-technical-row-status,
  .public-technical-table-head span:nth-child(3) {
    display: none;
  }

  .public-technical-table-head span:last-child {
    text-align: right;
  }

  .public-technical-row-progress {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .public-technical-row-value {
    grid-column: 2;
    grid-row: 1;
  }
}

/* Preserve the intended hierarchy after the public type-system reset. */
.public-site .public-workflow-section .public-section-label {
  color: #8f5f00 !important;
  font-weight: 600 !important;
}

section.public-site section.public-workflow-section.public-bitone-overview-section > span.public-section-label {
  color: #8f5f00 !important;
  font-weight: 600 !important;
}

/* Keep the workflow label above the public type reset in the cascade. */
html section.public-site.public-site .public-workflow-section.public-workflow-section .public-section-label {
  color: #8f5f00 !important;
  font-weight: 600 !important;
}

/* Keep the public header on one line at desktop width, then switch to a compact menu before labels can wrap. */
@media (min-width: 1280px) {
  .public-header {
    gap: 0.7rem;
    min-height: 5.35rem;
    padding: 0.7rem clamp(1rem, 2vw, 2rem);
  }

  .public-nav {
    gap: clamp(0.5rem, 0.85vw, 1rem);
  }

  .public-nav a,
  .public-nav .public-footer-contact {
    font-size: 0.6rem;
    letter-spacing: 0.105em;
  }

  .public-header-actions {
    gap: 0.4rem;
  }

  .public-header-actions .public-button {
    min-height: 2.55rem;
    height: 2.55rem;
    padding: 0.48rem 0.7rem;
    font-size: 0.59rem;
    letter-spacing: 0.08em;
  }

  .public-header-actions .language-switcher,
  .public-header-actions .public-language-switcher {
    width: 6.15rem;
    min-width: 0;
  }

  .public-header-actions .language-switcher select,
  .public-header-actions .public-language-switcher select {
    min-height: 2.55rem;
    height: 2.55rem;
    padding: 0.48rem 0.62rem;
    font-size: 0.59rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 1279px) {
  .public-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.65rem;
    min-height: 5rem;
    padding: 0.7rem 1rem;
  }

  .public-brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .public-menu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }

  .public-header-actions {
    grid-column: 3;
    grid-row: 1;
    gap: 0.4rem;
  }

  .public-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 0.85rem;
    padding: 0.2rem 0 0.35rem;
  }

  .public-header.is-menu-open .public-nav {
    display: flex;
  }

  .public-header-actions .public-button {
    min-height: 2.55rem;
    height: 2.55rem;
    padding: 0.48rem 0.68rem;
    font-size: 0.59rem;
    letter-spacing: 0.08em;
  }

  .public-header-actions .language-switcher,
  .public-header-actions .public-language-switcher {
    width: 6rem;
    min-width: 0;
  }

  .public-header-actions .language-switcher select,
  .public-header-actions .public-language-switcher select {
    min-height: 2.55rem;
    height: 2.55rem;
    padding: 0.48rem 0.6rem;
    font-size: 0.59rem;
    letter-spacing: 0.04em;
  }

  .public-brand-lockup-image,
  .public-site .public-brand-lockup-image {
    width: clamp(9rem, 17vw, 10.5rem);
  }
}

@media (max-width: 720px) {
  .public-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .public-header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
  }

  .public-nav {
    grid-row: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.72rem;
  }

  .public-header-actions .public-button {
    flex: 1 1 auto;
  }

  .public-brand-lockup-image,
  .public-site .public-brand-lockup-image {
    width: min(10.5rem, 54vw);
  }
}

/* Keep footer copy readable without letting long labels run beyond their column. */
.public-site .public-footer > p {
  max-width: 25rem;
  font-size: 0.82rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

  .public-site .public-footer .public-footer-nav-group a,
  .public-site .public-footer .public-footer-nav-group button {
    width: auto;
    max-width: 100%;
    font-size: 0.68rem;
    line-height: 1.35;
    letter-spacing: 0.02em;
    white-space: normal;
    overflow-wrap: anywhere;
  }

.public-site .public-footer-address {
  font-size: 0.76rem;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.public-site .public-footer-address strong {
  font-size: 0.62rem;
}

.public-site .public-footer small {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

@media (max-width: 720px) {
  .public-site .public-footer > p {
    max-width: 32rem;
    font-size: 0.78rem;
  }

  .public-site .public-footer .public-footer-nav-group a,
  .public-site .public-footer .public-footer-nav-group button {
    font-size: 0.66rem;
  }
}
