.public-shell {
  --public-shell-bg-start: #fbfdff;
  --public-shell-bg-mid: #f1f7ff;
  --public-shell-bg-end: #e4f0ff;
  --public-contour-accent-border: rgba(18, 56, 95, 0.14);
  --public-contour-accent-start: #f7fbff;
  --public-contour-accent-mid: #ffffff;
  --public-contour-accent-end: #eef7ff;
  --public-contour-accent-soft: #edf6ff;
  --public-contour-accent-text: #084f9e;
  --public-contour-accent-strong: #084f9e;
  --public-contour-accent-strong-dark: #12385f;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  overflow-y: visible;
  background: linear-gradient(180deg, var(--public-shell-bg-start) 0%, var(--public-shell-bg-mid) 42%, var(--public-shell-bg-end) 100%);
}

.public-shell--cabinet {
  --public-contour-accent-border: rgba(0, 150, 111, 0.18);
  --public-contour-accent-start: #f2fffa;
  --public-contour-accent-mid: #ffffff;
  --public-contour-accent-end: #e4f8f1;
  --public-contour-accent-soft: rgba(0, 150, 111, 0.1);
  --public-contour-accent-text: #00966f;
  --public-contour-accent-strong: #00966f;
  --public-contour-accent-strong-dark: #007f5f;
}

.public-shell--alumni {
  --public-shell-bg-start: #fbfdff;
  --public-shell-bg-mid: #f4f9ff;
  --public-shell-bg-end: #eef6ff;
  --public-contour-accent-border: rgba(8, 79, 158, 0.16);
  --public-contour-accent-start: #f7fbff;
  --public-contour-accent-mid: #ffffff;
  --public-contour-accent-end: #edf8ff;
  --public-contour-accent-soft: rgba(8, 79, 158, 0.08);
  --public-contour-accent-text: #084f9e;
  --public-contour-accent-strong: #084f9e;
  --public-contour-accent-strong-dark: #12385f;
}

.public-shell--trustees {
  --public-shell-bg-start: #fbfdff;
  --public-shell-bg-mid: #f1f7ff;
  --public-shell-bg-end: #e4f0ff;
  --public-contour-accent-border: rgba(18, 56, 95, 0.14);
  --public-contour-accent-start: #f7fbff;
  --public-contour-accent-mid: #ffffff;
  --public-contour-accent-end: #eef7ff;
  --public-contour-accent-soft: #edf6ff;
  --public-contour-accent-text: #084f9e;
  --public-contour-accent-strong: #084f9e;
  --public-contour-accent-strong-dark: #12385f;
}

.public-shell--techhub {
  --public-shell-bg-start: #fbfdff;
  --public-shell-bg-mid: #f4f9ff;
  --public-shell-bg-end: #edf7ff;
  --public-contour-accent-border: rgba(8, 79, 158, 0.16);
  --public-contour-accent-start: #f7fbff;
  --public-contour-accent-mid: #ffffff;
  --public-contour-accent-end: #edf8ff;
  --public-contour-accent-soft: rgba(8, 79, 158, 0.08);
  --public-contour-accent-text: #084f9e;
  --public-contour-accent-strong: #084f9e;
  --public-contour-accent-strong-dark: #12385f;
}

.public-contour-accent-surface {
  border-color: var(--public-contour-accent-border) !important;
  background: linear-gradient(
    135deg,
    var(--public-contour-accent-start) 0%,
    var(--public-contour-accent-mid) 58%,
    var(--public-contour-accent-end) 100%
  ) !important;
}

.public-contour-accent-text {
  color: var(--public-contour-accent-text) !important;
}

.public-contour-accent-meter {
  background: linear-gradient(90deg, var(--public-contour-accent-strong-dark) 0%, var(--public-contour-accent-strong) 100%) !important;
}

.public-contour-accent-pill {
  background: var(--public-contour-accent-soft) !important;
  color: var(--public-contour-accent-text) !important;
}

.public-contour-accent-option {
  border-color: var(--public-contour-accent-border) !important;
  background: var(--public-contour-accent-soft) !important;
  color: var(--public-contour-accent-text) !important;
}

.public-contour-accent-solid {
  border-color: var(--public-contour-accent-strong) !important;
  background: var(--public-contour-accent-strong) !important;
  color: #fff !important;
}

.public-contour-accent-solid:hover {
  border-color: var(--public-contour-accent-strong-dark) !important;
  background: var(--public-contour-accent-strong-dark) !important;
}

.public-ui-panel {
  border: 1px solid #e2e8f0;
  border-radius: 2rem;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.04);
}

.public-ui-card {
  border: 1px solid #e2e8f0;
  border-radius: 1.65rem;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.04);
}

.public-ui-card--interactive {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.public-ui-card--interactive:hover {
  transform: translateY(-2px);
  border-color: var(--public-contour-accent-border);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.public-ui-kicker {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.25;
  text-transform: uppercase;
}

.public-ui-field-label {
  color: #64748b;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}

.public-ui-field {
  width: 100%;
  min-height: 3rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  padding: 0 1rem;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 600;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.public-ui-field:focus {
  border-color: var(--public-contour-accent-border);
  box-shadow: 0 0 0 3px var(--public-contour-accent-soft);
}

textarea.public-ui-field {
  min-height: 8rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-weight: 400;
  line-height: 1.5rem;
  resize: vertical;
}

.endowment-shell {
  min-height: 100vh;
  color: #0f172a;
  font-family: "Fedra Sans Pro", Arial, sans-serif;
}

.public-shell [data-public-home-hero] {
  font-family: "Fedra Sans Pro", Arial, sans-serif;
}

.public-shell [data-public-home-hero] .pm-public-hero-copy-title {
  max-width: 13ch;
  margin: 0;
  color: #0f172a;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

@media (min-width: 640px) {
  .public-shell [data-public-home-hero] .pm-public-hero-copy-title {
    font-size: 2.2rem;
  }
}

@media (min-width: 1024px) {
  .public-shell [data-public-home-hero] .pm-public-hero-copy-title {
    font-size: 2.1875rem;
  }
}

@media (min-width: 1536px) {
  .public-shell [data-public-home-hero] .pm-public-hero-copy-title {
    font-size: 2.875rem;
  }
}

.group:hover .public-contour-accent-hover-icon {
  border-color: var(--public-contour-accent-border) !important;
  background: var(--public-contour-accent-soft) !important;
  color: var(--public-contour-accent-text) !important;
}

.public-shell,
.public-shell *,
.public-cabinet-shell,
.public-cabinet-shell * {
  font-variant-numeric: lining-nums !important;
  font-feature-settings: "lnum" 1, "onum" 0 !important;
}

.public-shell [data-noise-panel] {
  position: relative;
  isolation: isolate;
}

.public-shell [data-noise-panel]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.12) 0.7px, transparent 0.9px),
    radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.9px);
  background-size: 15px 15px, 23px 23px;
  background-position: 0 0, 8px 9px;
  opacity: 0.08;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

.public-shell [data-noise-panel] > * {
  position: relative;
  z-index: 1;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 60;
  overflow: visible;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.public-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 56, 95, 0.18), transparent);
}

.public-header__inner {
  min-height: 4rem;
}

.public-header__brand-link {
  color: inherit;
  text-decoration: none;
}

.public-header__brand-link img {
  display: block;
}

.public-header__global-switcher {
  position: relative;
  z-index: 40;
  flex-shrink: 0;
}

.public-header__global-summary {
  display: inline-flex;
  min-height: 42px;
  cursor: pointer;
  list-style: none;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.92);
  padding: 0 12px;
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.public-header__global-summary::-webkit-details-marker {
  display: none;
}

.public-header__global-summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.56;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.public-header__global-switcher[open] .public-header__global-summary::after {
  transform: translateY(2px) rotate(225deg);
}

.public-header__global-switcher[open] .public-header__global-summary,
.public-header__global-summary:hover {
  border-color: rgba(8, 79, 158, 0.24);
  background: #eef6ff;
  box-shadow: 0 10px 24px rgba(8, 79, 158, 0.08);
}

.public-header__global-kicker {
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.public-header__global-current {
  max-width: 11rem;
  overflow: hidden;
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-header__global-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  width: min(34rem, calc(100vw - 2rem));
  gap: 6px;
  border: 1px solid rgba(203, 213, 225, 0.86);
  border-radius: 1.35rem;
  background: #fff;
  padding: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(18px);
}

.public-header__mega-nav {
  min-width: 0;
  flex: 1 1 auto;
  align-self: stretch;
  align-items: center;
  gap: clamp(2px, 0.3vw, 6px);
  padding-left: clamp(0.35rem, 0.8vw, 1rem);
}

.public-header__mega-item {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1 1 0;
  align-self: stretch;
  align-items: center;
  justify-content: center;
}

.public-header__mega-item--active::before {
  position: absolute;
  right: 22%;
  bottom: 0;
  left: 22%;
  height: 2px;
  border-radius: 999px;
  background: var(--public-contour-accent-strong);
  content: "";
}

.public-header__mega-dropdown {
  position: relative;
  width: auto;
}

.public-header__mega-dropdown::after {
  position: absolute;
  top: 100%;
  right: -16px;
  left: -16px;
  height: 28px;
  content: "";
}

.public-header__mega-summary,
.public-header__mega-direct {
  display: flex;
  width: auto;
  min-width: 6.5rem;
  min-height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  appearance: none;
  background: transparent;
  padding: 0 clamp(9px, 0.8vw, 14px);
  color: #475569;
  font-size: 12px;
  font-family: inherit;
  font-weight: 800;
  line-height: 1.15;
  list-style: none;
  text-align: center;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.public-header__mega-summary::after {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.55;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.public-header__mega-dropdown:hover .public-header__mega-summary::after,
.public-header__mega-dropdown:focus-within .public-header__mega-summary::after {
  transform: translateY(2px) rotate(225deg);
}

.public-header__mega-summary:hover,
.public-header__mega-direct:hover,
.public-header__mega-dropdown:focus-within .public-header__mega-summary {
  border-color: var(--public-contour-accent-border);
  background: var(--public-contour-accent-soft);
  color: var(--public-contour-accent-text);
}

.public-header__mega-item--active .public-header__mega-summary,
.public-header__mega-item--active .public-header__mega-direct {
  border-color: transparent;
  background: transparent;
  color: var(--public-contour-accent-text);
  box-shadow: none;
}

.public-header__mega-menu {
  position: fixed;
  top: 4.25rem;
  left: 50vw;
  display: grid;
  width: min(64rem, calc(100vw - 2rem));
  grid-template-columns: minmax(13rem, 0.38fr) minmax(0, 1fr);
  gap: 12px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 1.2rem;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  translate: 0 -6px;
  visibility: hidden;
  transition:
    opacity 150ms ease,
    translate 150ms ease,
    visibility 150ms ease;
}

.public-header__mega-dropdown:hover .public-header__mega-menu,
.public-header__mega-dropdown:focus-within .public-header__mega-menu {
  opacity: 1;
  pointer-events: auto;
  translate: 0 0;
  visibility: visible;
}

.public-header__mega-menu-head {
  display: grid;
  gap: 5px;
  align-content: center;
  border-right: 1px solid #e2e8f0;
  padding: 10px 18px 10px 8px;
}

.public-header__mega-menu-head strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.public-header__mega-menu-head small {
  color: #64748b;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}

.public-header__mega-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.public-header__mega-link {
  position: relative;
  display: flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 9px 34px 9px 12px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.public-header__mega-link::after {
  position: absolute;
  right: 14px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  opacity: 0.42;
  content: "";
  transform: rotate(45deg);
}

.public-header__mega-link:hover,
.public-header__mega-link--active {
  border-color: var(--public-contour-accent-border);
  background: var(--public-contour-accent-soft);
  color: var(--public-contour-accent-text);
}

.public-header__mega-link--cabinet {
  border-color: var(--public-contour-accent-border);
  background: var(--public-contour-accent-soft);
  color: var(--public-contour-accent-text);
}

@media (max-width: 1279px) and (min-width: 1024px) {
  .public-header__mega-nav {
    padding-inline: 0.45rem;
  }

  .public-header__mega-summary,
  .public-header__mega-direct {
    padding-inline: 9px;
    font-size: 11px;
  }
}

@media (min-width: 1280px) {
  .public-header__mega-menu {
    top: 5rem;
  }
}

.public-header__brand-context {
  display: none;
}

.public-header__mobile-drawer {
  position: relative;
  z-index: 45;
  margin-left: auto;
  flex-shrink: 0;
}

.public-header__mobile-summary {
  display: inline-flex;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0 18px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.public-header__mobile-summary::-webkit-details-marker {
  display: none;
}

.public-header__mobile-summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.58;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.public-header__mobile-drawer[open] .public-header__mobile-summary::after {
  transform: translateY(2px) rotate(225deg);
}

.public-header__mobile-drawer[open] .public-header__mobile-summary,
.public-header__mobile-summary:hover {
  border-color: var(--public-contour-accent-border);
  background: var(--public-contour-accent-soft);
  color: var(--public-contour-accent-text);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.public-header__mobile-panel {
  position: fixed;
  top: 5.65rem;
  right: 0.75rem;
  left: 0.75rem;
  display: grid;
  max-height: calc(100vh - 6.35rem);
  overflow-y: auto;
  gap: 12px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 1.45rem;
  background: #fff;
  padding: 12px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
}

.public-header__mobile-drawer:not([open]) > .public-header__mobile-panel {
  display: none;
}

.public-header__mobile-group {
  display: grid;
  gap: 10px;
}

.public-header__mobile-group-title {
  margin: 0;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.public-header__mobile-links,
.public-header__mobile-actions {
  display: grid;
  gap: 8px;
}

.public-header__mobile-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-header__mobile-link,
.public-header__mobile-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 1rem;
  background: rgba(248, 250, 252, 0.86);
  padding: 0 12px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.public-header__mobile-link:hover,
.public-header__mobile-link--active,
.public-header__mobile-action:hover {
  border-color: var(--public-contour-accent-border);
  background: var(--public-contour-accent-soft);
  color: var(--public-contour-accent-text);
}

.public-header__mobile-action--cta,
.public-header__mobile-action--cta:hover {
  border-color: #00966f;
  background: #00966f;
  color: #fff;
}

.public-header__mobile-sections {
  display: grid;
  gap: 8px;
}

.public-header__mobile-section {
  display: grid;
  border: 1px solid rgba(203, 213, 225, 0.78);
  border-radius: 1rem;
  background: #fff;
  padding: 0;
  overflow: hidden;
}

.public-header__mobile-section--active {
  border-color: var(--public-contour-accent-border);
  background: var(--public-contour-accent-soft);
}

.public-header__mobile-section-link {
  display: grid;
  gap: 5px;
  padding: 11px 12px;
  color: #0f172a;
  text-decoration: none;
}

.public-header__mobile-section-link span {
  font-size: 15px;
  font-weight: 850;
  line-height: 1.15;
}

.public-header__mobile-section-link small {
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.public-header__mobile-cabinet-link {
  position: relative;
  display: flex;
  min-height: 40px;
  align-items: center;
  border-top: 1px solid rgba(203, 213, 225, 0.72);
  padding: 8px 36px 8px 12px;
  color: var(--public-contour-accent-text);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.public-header__mobile-cabinet-link::after {
  position: absolute;
  right: 14px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  opacity: 0.55;
  content: "";
  transform: rotate(45deg);
}

.public-header__global-section {
  display: grid;
  gap: 8px;
  border-radius: 1rem;
  padding: 4px;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.public-header__global-section:hover,
.public-header__global-section--active {
  background: var(--public-contour-accent-soft);
}

.public-header__global-link {
  display: grid;
  gap: 6px;
  border-radius: 0.85rem;
  padding: 11px 12px;
  color: #0f172a;
  text-decoration: none;
  transition:
    color 160ms ease;
}

.public-header__global-section:hover .public-header__global-link,
.public-header__global-section--active .public-header__global-link {
  color: var(--public-contour-accent-text);
}

.public-header__global-link-label {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.public-header__global-link-summary {
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.public-header__global-sublinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 8px 8px;
}

.public-header__global-sublink {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0 11px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.public-header__global-sublink:hover,
.public-header__global-sublink--active {
  border-color: var(--public-contour-accent-border);
  background: var(--public-contour-accent-strong);
  color: #fff;
}

.public-header__button-nav {
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 0.9vw, 14px);
  min-width: 0;
}

.public-header__nav-button,
.public-header__secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.public-header__nav-button {
  flex: 1 1 0;
  min-width: max-content;
  padding: 0 clamp(12px, 1vw, 20px);
  text-align: center;
}

.public-header__secondary-button {
  padding: 0 14px;
  color: #475569;
  font-size: 12px;
}

.public-header__donation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid #00966f;
  border-radius: 999px;
  background: #00966f;
  padding: 0 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(0, 150, 111, 0.14);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.public-header__donation-button:hover {
  border-color: #008760;
  background: #008760;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 150, 111, 0.16);
}

.public-header__wide-action {
  display: none;
}

@media (min-width: 1600px) {
  .public-header__wide-action {
    display: flex;
  }
}

@media (max-width: 1535px) {
  .public-header__global-current {
    display: none;
  }
}

@media (max-width: 1023px) {
  .public-header {
    border-bottom-color: rgba(203, 213, 225, 0.72);
    border-radius: 0 0 1.25rem 1.25rem;
  }

  .public-header__inner {
    min-height: 5rem;
    gap: 1rem;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .public-header__brand-link {
    flex-direction: column;
    flex: 0 1 auto;
    align-items: flex-start !important;
    gap: 0.35rem !important;
    min-width: 0;
  }

  .public-header__brand-link img {
    height: 2.35rem !important;
    max-width: 10.5rem;
  }

  .public-header__brand-context {
    display: block;
    max-width: 16rem;
    overflow: hidden;
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.12em;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .public-header {
    border-bottom-color: rgba(203, 213, 225, 0.72);
    border-radius: 0 0 1.15rem 1.15rem;
  }

  .public-header__inner {
    min-height: 5rem;
    gap: 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .public-header__brand-link {
    flex-direction: column;
    flex: 0 1 auto;
    align-items: flex-start !important;
    gap: 0.35rem !important;
    min-width: 0;
  }

  .public-header__brand-link img {
    height: 2.35rem !important;
    max-width: 10.25rem;
  }

  .public-header__brand-context {
    display: block;
    max-width: 11rem;
    overflow: hidden;
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.12em;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .public-header__global-switcher {
    margin-left: auto;
  }

  .public-header__mobile-summary {
    min-height: 44px;
    padding: 0 16px;
  }

  .public-header__global-kicker {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .public-header__global-menu {
    position: fixed;
    top: 5.65rem;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    gap: 4px;
    padding: 6px;
  }

  .public-header__global-section {
    gap: 5px;
    border-radius: 1rem;
    padding: 3px;
  }

  .public-header__global-link {
    gap: 5px;
    padding: 9px 10px;
  }

  .public-header__global-link-label {
    font-size: 13px;
  }

  .public-header__global-link-summary {
    font-size: 11px;
    line-height: 1.35;
  }

  .public-header__global-sublinks {
    gap: 5px;
    padding: 0 6px 6px;
  }

  .public-header__global-sublink {
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .public-header__inner {
    min-height: 4.65rem;
    gap: 0.65rem;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .public-header__brand-link img {
    height: 2.05rem !important;
    max-width: 8.1rem;
  }

  .public-header__brand-context {
    max-width: 8.5rem;
    font-size: 9px;
  }

  .public-header__mobile-summary {
    min-height: 40px;
    padding: 0 12px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .public-header__mobile-summary::after {
    width: 6px;
    height: 6px;
  }

  .public-header__mobile-panel {
    top: 5.25rem;
    right: 0.625rem;
    left: 0.625rem;
    max-height: calc(100vh - 5.9rem);
    padding: 10px;
    gap: 10px;
  }

  .public-header__mobile-link {
    min-height: 40px;
    padding: 0 10px;
    font-size: 12px;
  }
}

.public-header__nav-button:hover,
.public-header__secondary-button:hover {
  border-color: var(--public-contour-accent-border);
  background: var(--public-contour-accent-soft);
  color: var(--public-contour-accent-text);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.public-header__nav-button--active,
.public-header__nav-button--active:hover {
  border-color: var(--public-contour-accent-strong);
  background: var(--public-contour-accent-strong);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

/* Unified public navigation */
.public-header {
  position: sticky;
  top: 0;
  z-index: 60;
  overflow: visible;
  border-bottom: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 0 0 1.35rem 1.35rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.045);
  backdrop-filter: blur(18px);
}

.public-header__inner {
  display: grid;
  width: 100%;
  height: 4.75rem;
  min-height: 4.75rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.75rem, 1.25vw, 1.5rem);
  padding: 0 clamp(1.5rem, 2.6vw, 3.125rem);
}

.public-header__inner:not(:has(.public-header__desktop-action)) {
  grid-template-columns: auto minmax(0, 1fr);
}

.public-header__brand-link {
  display: flex;
  min-height: 44px;
  min-width: 0;
  align-items: center;
  gap: 0.85rem;
  border-right: 1px solid #e2e8f0;
  padding-right: clamp(1rem, 1.5vw, 1.65rem);
}

.public-header__brand-link img {
  width: auto;
  height: 2.25rem;
  flex: 0 0 auto;
}

.public-header__brand-context {
  display: none;
}

.public-header__mega-nav {
  display: grid;
  min-width: 0;
  width: 100%;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  align-self: stretch;
  align-items: center;
  gap: clamp(0.2rem, 0.45vw, 0.55rem);
  padding: 0;
}

.public-header__mega-item {
  position: relative;
  display: flex;
  min-width: 0;
  width: 100%;
  align-self: stretch;
  align-items: center;
  justify-content: center;
}

.public-header__mega-item--active::before {
  right: 1rem;
  bottom: 0;
  left: 1rem;
  height: 2px;
}

.public-header__mega-dropdown {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
}

.public-header__mega-dropdown::after {
  top: calc(100% - 4px);
  right: -12px;
  left: -12px;
  height: 24px;
}

.public-header__mega-summary,
.public-header__mega-direct {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border-radius: 0.85rem;
  padding: 0 clamp(0.65rem, 0.85vw, 1rem);
  color: #475569;
  font-size: clamp(11px, 0.74vw, 13px);
  font-weight: 800;
  letter-spacing: 0;
}

.public-header__mega-item--active .public-header__mega-summary,
.public-header__mega-item--active .public-header__mega-direct {
  border-color: var(--public-contour-accent-border);
  background: var(--public-contour-accent-soft);
  color: var(--public-contour-accent-text);
}

.public-header__mega-menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  width: min(29rem, calc(100vw - 2rem));
  grid-template-columns: minmax(10rem, 0.7fr) minmax(0, 1.3fr);
  gap: 0;
  border-radius: 1.15rem;
  padding: 0.65rem;
  opacity: 0;
  transform: none;
  translate: 0 -5px;
}

.public-header__mega-item:nth-last-child(-n + 3) .public-header__mega-menu {
  right: 0;
  left: auto;
  transform: none;
}

.public-header__mega-menu-head {
  gap: 0.45rem;
  padding: 0.8rem 1rem 0.8rem 0.7rem;
}

.public-header__mega-menu-head span {
  color: #94a3b8;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.public-header__mega-menu-head strong {
  font-size: 1rem;
}

.public-header__mega-menu-head small {
  font-size: 0.72rem;
  line-height: 1.45;
}

.public-header__mega-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem;
  padding-left: 0.65rem;
}

.public-header__mega-link {
  min-height: 40px;
  border-radius: 0.75rem;
  padding: 0.6rem 1.8rem 0.6rem 0.75rem;
  font-size: 0.75rem;
}

.public-header__desktop-action {
  display: flex;
  min-height: 100%;
  align-items: center;
  border-left: 1px solid #e2e8f0;
  padding-left: clamp(1rem, 1.4vw, 1.5rem);
}

.public-header__donation-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 1.15rem;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.public-header__mobile-drawer {
  display: none;
}

@media (max-width: 1279px) and (min-width: 1024px) {
  .public-header__inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.65rem;
    padding-inline: 1.4rem;
  }

  .public-header__desktop-action {
    display: none;
  }

  .public-header__brand-link {
    padding-right: 1rem;
  }

  .public-header__brand-link img {
    height: 2rem;
  }

  .public-header__mega-summary,
  .public-header__mega-direct {
    padding-inline: 0.6rem;
    font-size: 11px;
  }
}

@media (max-width: 1023px) {
  .public-header {
    border-radius: 0 0 1.1rem 1.1rem;
  }

  .public-header__inner {
    height: 4.35rem;
    min-height: 4.35rem;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding-inline: 1rem;
  }

  .public-header__brand-link {
    gap: 0.75rem;
    border-right: 0;
    padding-right: 0;
  }

  .public-header__brand-link img {
    height: 2rem !important;
    max-width: 8.7rem;
  }

  .public-header__brand-context {
    display: block;
    max-width: min(34vw, 12rem);
    overflow: hidden;
    border-left: 1px solid #e2e8f0;
    padding-left: 0.75rem;
    color: #64748b;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.1em;
    line-height: 1.25;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .public-header__mega-nav,
  .public-header__desktop-action {
    display: none;
  }

  .public-header__mobile-drawer {
    position: relative;
    z-index: 45;
    display: block;
    margin-left: auto;
  }

  .public-header__mobile-summary {
    display: inline-flex;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    border-radius: 0.85rem;
    padding: 0;
  }

  .public-header__mobile-summary::after {
    display: none;
  }

  .public-header__mobile-summary-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .public-header__mobile-summary-icon,
  .public-header__mobile-summary-icon::before,
  .public-header__mobile-summary-icon::after,
  .public-header__mobile-summary-icon i {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .public-header__mobile-summary-icon {
    position: relative;
    background: transparent;
  }

  .public-header__mobile-summary-icon::before {
    transform: translateY(-5px);
  }

  .public-header__mobile-summary-icon::after {
    transform: translateY(5px);
  }

  .public-header__mobile-drawer[open] .public-header__mobile-summary-icon i {
    opacity: 0;
  }

  .public-header__mobile-drawer[open] .public-header__mobile-summary-icon::before {
    transform: rotate(45deg);
  }

  .public-header__mobile-drawer[open] .public-header__mobile-summary-icon::after {
    transform: rotate(-45deg);
  }

  .public-header__mobile-panel {
    top: 4.85rem;
    right: 0.65rem;
    left: 0.65rem;
    max-height: calc(100dvh - 5.5rem);
    gap: 1rem;
    border-radius: 1.2rem;
    padding: 1rem;
  }

  .public-header__mobile-panel-head {
    display: grid;
    gap: 0.3rem;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.15rem 0 0.9rem;
  }

  .public-header__mobile-panel-head span,
  .public-header__mobile-group-title {
    color: #94a3b8;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
  }

  .public-header__mobile-panel-head strong {
    color: #0f172a;
    font-size: 1.15rem;
    line-height: 1.2;
  }

  .public-header__mobile-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .public-header__mobile-link {
    min-height: 42px;
    border-radius: 0.75rem;
    font-size: 12px;
  }

  .public-header__mobile-sections {
    display: grid;
    gap: 0;
    border-top: 1px solid #e2e8f0;
  }

  .public-header__mobile-section-link {
    position: relative;
    display: grid;
    gap: 0.25rem;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.8rem 2rem 0.8rem 0;
  }

  .public-header__mobile-section-link::after {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    color: #94a3b8;
    content: "";
    transform: translateY(-50%) rotate(45deg);
  }

  .public-header__mobile-section-link span {
    font-size: 14px;
  }

  .public-header__mobile-section-link small {
    font-size: 11px;
    line-height: 1.35;
  }

  .public-header__mobile-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .public-header__mobile-action {
    min-height: 42px;
    border-radius: 0.75rem;
    font-size: 12px;
  }

  .public-header__mobile-action--cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .public-header__inner {
    height: 4rem;
    min-height: 4rem;
    padding-inline: 0.75rem;
  }

  .public-header__brand-link img {
    height: 1.8rem !important;
    max-width: 7.6rem;
  }

  .public-header__brand-context {
    display: none;
  }

  .public-header__mobile-summary {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .public-header__mobile-panel {
    top: 4.45rem;
    right: 0.5rem;
    left: 0.5rem;
    max-height: calc(100dvh - 4.95rem);
    padding: 0.85rem;
  }

  .public-header__mobile-actions {
    grid-template-columns: 1fr;
  }

  .public-header__mobile-action--cta {
    grid-column: auto;
  }
}

.public-cabinet-layout {
  --public-cabinet-rail-width: 100%;
  gap: 0.75rem !important;
}

.public-cabinet-shell {
  padding: 0.75rem !important;
}

.public-shell:has(.public-cabinet-shell) {
  background: #eef3f8;
}

.public-shell:has(.public-cabinet-shell)::before,
.public-shell:has(.public-cabinet-shell)::after {
  display: none;
}

.public-cabinet-rail-card.public-cabinet-rail-card--cms {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.625rem;
  row-gap: 0.625rem;
  border-radius: 0.625rem !important;
  border-color: #d9e2ec !important;
  padding: 0.625rem !important;
  box-shadow: none !important;
}

.public-cabinet-brand-home {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  border-bottom: 1px solid #e4eaf1;
  padding: 0.25rem 0.5rem 0.625rem;
  color: #071226;
  text-decoration: none;
}

.public-cabinet-brand-home img {
  display: block;
  width: 8.65rem;
  max-width: 100%;
  height: auto;
}

.public-cabinet-profile-shell {
  align-self: stretch;
  display: block;
  flex: 0 0 auto;
  height: fit-content;
  width: 100%;
  border: 1px solid var(--public-contour-accent-border);
  border-radius: 0.5rem;
  background: linear-gradient(
    135deg,
    var(--public-contour-accent-start) 0%,
    var(--public-contour-accent-mid) 62%,
    var(--public-contour-accent-end) 100%
  );
  padding: 0.625rem;
}

.public-cabinet-avatar-floating {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.public-cabinet-profile-home .public-cabinet-avatar-floating {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
}

.public-cabinet-profile-home .public-cabinet-avatar-floating > div {
  width: 3.5rem !important;
  height: 3.5rem !important;
  border-width: 3px !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1) !important;
}

.public-cabinet-profile-home {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  align-items: center;
  justify-content: stretch;
  column-gap: 0.75rem;
  row-gap: 0.3rem;
  width: 100%;
  margin-top: 0;
  padding: 0;
  text-align: left;
}

.public-cabinet-profile-home > :not(.public-cabinet-avatar-floating) {
  grid-column: 2;
  justify-self: start;
  min-width: 0;
  max-width: 100%;
}

.public-cabinet-profile-home > h1,
.public-cabinet-profile-home > p {
  text-align: left !important;
}

.public-cabinet-profile-home > h1 {
  width: 100%;
  font-size: 0.9rem !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.public-cabinet-profile-home > p {
  margin: 0 !important;
  font-size: 0.72rem !important;
  line-height: 1.35 !important;
}

.public-cabinet-profile-avatar {
  background: #eef4fb;
}

.public-cabinet-nav {
  align-content: start;
  align-items: start;
  border: 1px solid #dfe7f1;
  border-radius: 0.5rem;
  background: #fff;
  flex: 0 0 auto !important;
  height: auto;
  min-height: 0;
  overflow: visible;
  padding: 0.25rem;
}

.public-cabinet-nav-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.35rem;
  width: 100%;
  border-radius: 0.375rem;
  padding: 0.35rem 0.5rem;
  color: #4f6076;
  text-align: left;
  transition: background 0.18s, color 0.18s;
}

.public-cabinet-nav-item:hover,
.public-cabinet-nav-item.is-active {
  background: var(--public-contour-accent-soft);
  color: var(--public-contour-accent-text);
}

.public-cabinet-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  background: #f3f6fa;
  color: #6b7b91;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.public-cabinet-nav-item:hover .public-cabinet-nav-icon,
.public-cabinet-nav-item.is-active .public-cabinet-nav-icon {
  background: #fff;
  color: var(--public-contour-accent-text);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.public-cabinet-rail-footer {
  border-top: 1px solid #dfe7f1;
  margin-top: auto;
  padding-top: 0.625rem;
}

.public-cabinet-contour-switcher {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.public-cabinet-contour-switcher__label {
  color: #8796aa;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.public-cabinet-contour-switcher__control {
  position: relative;
  display: block;
}

.public-cabinet-contour-switcher__control select {
  width: 100%;
  min-height: 2.35rem;
  appearance: none;
  border: 1px solid #dfe7f1;
  border-radius: 0.375rem;
  background: #fff;
  padding: 0 2.2rem 0 0.75rem;
  color: #24364f;
  font-size: 0.82rem;
  font-weight: 700;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
}

.public-cabinet-contour-switcher__control select:hover,
.public-cabinet-contour-switcher__control select:focus {
  border-color: #aac3df;
  background: #f8fbff;
}

.public-cabinet-contour-switcher__control svg {
  position: absolute;
  top: 50%;
  right: 0.7rem;
  color: #718198;
  pointer-events: none;
  transform: translateY(-50%);
}

.public-cabinet-logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  width: 100%;
  border-radius: 0.375rem;
  background: #084f9e;
  padding: 0 1rem;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 0.18s, box-shadow 0.18s;
}

.public-cabinet-logout-button:hover {
  background: #12385f;
  box-shadow: none;
}

.public-cabinet-main {
  align-content: start;
  gap: 0.75rem !important;
}

.public-cabinet-main :where(h1, h2, h3),
.public-cabinet-main [style*="font-family"] {
  font-family: "Fedra Sans Pro", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

.public-cabinet-main :where(article, section, form)[class*="shadow-"] {
  box-shadow: none !important;
}

.public-cabinet-main
  :where(article, section, form, div, button, input, textarea, select)[class*="rounded-["] {
  border-radius: 0.5rem !important;
}

.public-cabinet-main button[class*="rounded-full"],
.public-cabinet-main a[class*="rounded-full"] {
  border-radius: 0.375rem !important;
}

.public-cabinet-workspace-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
  border: 1px solid #d9e2ec;
  border-radius: 0.625rem;
  background: #fff;
  padding: 0.875rem 1rem;
}

.public-cabinet-workspace-header h2 {
  margin: 0.2rem 0 0;
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.public-cabinet-workspace-header p {
  margin: 0;
}

.public-cabinet-tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
  border-bottom: 1px solid #e4eaf1;
  background: #fff;
  padding: 0.75rem 0.875rem;
}

.public-cabinet-tab-header--standalone {
  border: 1px solid #d9e2ec;
  border-radius: 0.625rem;
}

.public-cabinet-tab-header p,
.public-cabinet-tab-header h2 {
  margin-left: 0;
  margin-right: 0;
}

.public-cabinet-tab-header__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
}

.public-cabinet-tab-header__actions > :where(a, button),
.public-cabinet-tab-header__actions > div > :where(a, button) {
  min-height: 2.35rem !important;
  border-radius: 0.375rem !important;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

.public-cabinet-tab-header__actions > div {
  align-items: center;
}

.public-cabinet-panel-header {
  min-height: 4.75rem;
}

.public-cabinet-panel-header > div:first-child {
  min-width: 0;
}

.public-cabinet-panel-header .public-cabinet-tab-header__actions {
  flex: 0 0 auto;
}

.public-cabinet-field-label {
  display: block;
  color: #64748b;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.public-ui-status-message {
  border: 1px solid transparent;
  border-radius: 0.625rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.public-ui-status-message.is-error {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #be123c;
}

.public-ui-status-message.is-success {
  border-color: var(--public-contour-accent-border);
  background: var(--public-contour-accent-soft);
  color: var(--public-contour-accent-text);
}

.public-ui-status-message.is-neutral {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #475569;
}

.public-cabinet-empty-state {
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cbd5e1;
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 1.5rem;
  text-align: center;
}

.public-cabinet-empty-state__icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
  color: #64748b;
}

.public-cabinet-empty-state__title {
  margin: 0.75rem 0 0;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 600;
}

.public-cabinet-empty-state__summary {
  max-width: 30rem;
  margin: 0.375rem 0 0;
  color: #64748b;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.public-cabinet-empty-state__action {
  margin-top: 1rem;
}

.public-cabinet-toggle {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.625rem;
  background: #fff;
  padding: 0.75rem;
  cursor: pointer;
}

.public-cabinet-toggle__icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
}

.public-cabinet-toggle__copy {
  min-width: 0;
  flex: 1;
}

.public-cabinet-toggle__title {
  display: block;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

.public-cabinet-toggle__summary {
  display: block;
  margin-top: 0.25rem;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.4;
}

.public-cabinet-toggle__control {
  position: relative;
  width: 2.5rem;
  height: 1.375rem;
  flex: 0 0 auto;
  margin-top: 0.125rem;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background-color 160ms ease;
}

.public-cabinet-toggle__control > span {
  position: absolute;
  top: 0.1875rem;
  left: 0.1875rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);
  transition: transform 160ms ease;
}

.public-cabinet-toggle__control.is-checked {
  background: var(--public-contour-accent-strong);
}

.public-cabinet-toggle__control.is-checked > span {
  transform: translateX(1.125rem);
}

.public-cabinet-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}

.public-cabinet-kpi {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.35rem 0.75rem;
  min-height: 6.25rem;
  border: 1px solid #d9e2ec;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.75rem 0.875rem;
  color: #0f172a;
  text-align: left;
  transition: border-color 0.18s, background 0.18s;
}

.public-cabinet-kpi:hover {
  border-color: var(--public-contour-accent-border);
  background: #f8fafc;
}

.public-cabinet-kpi__label {
  color: #718096;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.public-cabinet-kpi__value {
  grid-row: 2;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.public-cabinet-kpi__summary {
  grid-column: 1 / -1;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.35;
}

.public-cabinet-kpi__icon {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  background: var(--public-contour-accent-soft);
  color: var(--public-contour-accent-text);
}

.public-cabinet-work-panel {
  min-height: 0;
  border: 1px solid #d9e2ec;
  border-radius: 0.625rem;
  background: #fff;
  overflow: hidden;
}

.public-cabinet-work-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.5rem;
  border-bottom: 1px solid #e4eaf1;
  padding: 0.75rem 0.875rem;
}

.public-cabinet-work-panel__body {
  padding: 0.875rem;
}

.public-cabinet-list-row {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  min-height: 3.35rem;
  border-bottom: 1px solid #e7edf3;
  padding: 0.65rem 0;
  color: #334155;
  text-align: left;
}

.public-cabinet-list-row:last-child {
  border-bottom: 0;
}

.public-cabinet-notification-list {
  overflow: hidden;
  border: 1px solid #d9e2ec;
  background: #fff;
}

.public-cabinet-notification-row {
  display: grid;
  grid-template-columns: 0.55rem minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.75rem;
  width: 100%;
  min-height: 4.5rem;
  border-bottom: 1px solid #e4eaf1;
  background: #fff;
  padding: 0.75rem 0.875rem;
  color: #334155;
  text-align: left;
  transition: background 0.18s;
}

.public-cabinet-notification-row:last-child {
  border-bottom: 0;
}

.public-cabinet-notification-row:hover,
.public-cabinet-notification-row.is-unread {
  background: #f8fbff;
}

.public-cabinet-notification-row__marker {
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: #d7e0ea;
}

.public-cabinet-notification-row.is-unread
  .public-cabinet-notification-row__marker {
  background: var(--public-contour-accent-strong);
}

.public-cabinet-payments-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: min(42rem, calc(100svh - 2rem));
  max-height: min(42rem, calc(100svh - 2rem));
}

.public-cabinet-payments-list {
  align-content: start;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.25rem;
  scrollbar-gutter: stable;
}

.public-cabinet-requests-panel {
  min-height: min(42rem, calc(100svh - 2rem));
}

.public-cabinet-recurring-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.public-cabinet-documents-panel {
  min-height: min(42rem, calc(100svh - 2rem));
  max-height: min(42rem, calc(100svh - 2rem));
}

.public-cabinet-notifications-panel {
  min-height: min(42rem, calc(100svh - 2rem));
  max-height: min(42rem, calc(100svh - 2rem));
}

.public-cabinet-settings-panel {
  min-height: min(42rem, calc(100svh - 2rem));
  max-height: min(42rem, calc(100svh - 2rem));
}

.public-cabinet-payments-panel,
.public-cabinet-quick-panel,
.public-cabinet-recurring-panel,
.public-cabinet-documents-panel,
.public-cabinet-requests-panel,
.public-cabinet-notifications-panel,
.public-cabinet-settings-panel {
  border-radius: 0.625rem !important;
  padding: 1rem !important;
}

.public-cabinet-settings-media-grid {
  display: grid;
  gap: 1rem;
}

.public-cabinet-settings-media-card {
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  background: #f8fafc;
  padding: 1rem;
}

.public-cabinet-settings-media-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 5.75rem;
  width: 5.75rem;
  height: 5.75rem;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.public-cabinet-settings-media-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.85rem;
}

.public-cabinet-documents-body,
.public-cabinet-notifications-body,
.public-cabinet-settings-body {
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.public-cabinet-recurring-body {
  min-height: 0;
}

.public-cabinet-recurring-column {
  min-height: 0;
}

.public-cabinet-thread-list,
.public-cabinet-thread-messages {
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.public-cabinet-quick-panel {
  display: flex;
  flex-direction: column;
}

.public-cabinet-quick-shell {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
}

.public-cabinet-quick-scroll {
  align-content: start;
  display: grid;
  flex: 1 1 auto;
  gap: 1.25rem;
  margin-top: 1.25rem;
  min-height: 0;
  overflow: visible;
}

.public-cabinet-quick-workspace {
  display: grid;
  gap: 1rem;
  min-height: 0;
}

.public-cabinet-quick-left,
.public-cabinet-quick-right {
  display: grid;
  min-width: 0;
}

.public-cabinet-quick-left {
  align-content: start;
  gap: 1rem;
}

.public-cabinet-quick-right {
  align-content: start;
}

.public-cabinet-company-form {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

@media (max-width: 1279px) {
  .public-cabinet-rail-card.public-cabinet-rail-card--cms {
    display: grid;
    grid-template-columns: minmax(8rem, 0.3fr) minmax(0, 1fr);
    align-items: center;
  }

  .public-cabinet-brand-home {
    align-self: stretch;
    border-right: 1px solid #e4eaf1;
    border-bottom: 0;
    padding: 0.5rem 0.75rem;
  }

  .public-cabinet-profile-shell {
    min-height: 4.8rem;
  }

  .public-cabinet-nav {
    grid-column: 1 / -1;
    display: flex !important;
    gap: 0.25rem !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  .public-cabinet-nav-item {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
  }

  .public-cabinet-rail-footer {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.5rem;
    margin-top: 0;
  }

  .public-cabinet-rail-footer > * {
    flex: 1 1 0;
    margin-bottom: 0 !important;
  }

  .public-cabinet-contour-switcher {
    min-width: 0;
  }

  .public-cabinet-contour-switcher__label {
    display: none;
  }
}

@media (max-width: 639px) {
  .public-cabinet-shell {
    padding: 0.5rem !important;
  }

  .public-cabinet-rail-card.public-cabinet-rail-card--cms {
    grid-template-columns: 7rem minmax(0, 1fr);
  }

  .public-cabinet-brand-home img {
    width: 6.75rem;
  }

  .public-cabinet-profile-home {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    column-gap: 0.55rem;
  }

  .public-cabinet-profile-home .public-cabinet-avatar-floating > div {
    width: 2.75rem !important;
    height: 2.75rem !important;
  }

  .public-cabinet-workspace-header {
    align-items: stretch;
    flex-direction: column;
  }

  .public-cabinet-tab-header {
    align-items: stretch;
    flex-direction: column;
  }

  .public-cabinet-tab-header__actions {
    justify-content: stretch;
  }

  .public-cabinet-tab-header__actions > :where(a, button),
  .public-cabinet-tab-header__actions > div {
    width: 100%;
  }

  .public-cabinet-tab-header__actions > div {
    display: grid;
  }

  .public-cabinet-notification-row {
    grid-template-columns: 0.55rem minmax(0, 1fr);
  }

  .public-cabinet-notification-row > :last-child {
    grid-column: 2;
  }

}

@media (min-width: 1280px) {
  .public-cabinet-layout {
    --public-cabinet-rail-width: 17.5rem;
  }

  .public-cabinet-layout {
    grid-template-columns: var(--public-cabinet-rail-width) minmax(0, 1fr);
    height: 100%;
    min-height: 0;
  }

  .public-shell--cabinet {
    height: 100svh;
    overflow: hidden;
  }

  .public-cabinet-shell {
    box-sizing: border-box;
    height: 100svh;
    overflow: hidden;
  }

  .public-cabinet-rail {
    min-height: 0;
  }

  .public-cabinet-rail-card {
    border-bottom: 0 !important;
  }

  .public-cabinet-rail-card--cms {
    min-height: 0;
    border-bottom: 1px solid #dfe7f1 !important;
  }

  .public-cabinet-main {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .public-cabinet-main--requests {
    align-content: stretch;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .public-cabinet-main--payments {
    align-content: stretch;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .public-cabinet-main--quick-payment {
    align-content: stretch;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .public-cabinet-main--recurring {
    align-content: stretch;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .public-cabinet-main--documents {
    align-content: stretch;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .public-cabinet-main--notifications {
    align-content: stretch;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .public-cabinet-main--settings {
    align-content: stretch;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .public-cabinet-main--alumni-list {
    align-content: stretch;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .public-cabinet-main--alumni {
    align-content: stretch;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .public-cabinet-main--alumni > * {
    min-height: 0;
  }

  .public-cabinet-main--techhub,
  .public-cabinet-main--trustees {
    align-content: stretch;
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .public-cabinet-main--techhub > *,
  .public-cabinet-main--trustees > * {
    height: 100%;
    min-height: 0;
  }

  .public-cabinet-main--trustees > * {
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  .public-cabinet-main--trustees
    > :is(.public-cabinet-notifications-panel, .public-cabinet-settings-panel) {
    overflow: hidden;
  }

  .public-cabinet-main--trustees > section {
    padding: 1rem !important;
  }

  .public-cabinet-main--trustees
    > section
    > .public-cabinet-panel-header {
    margin: -1rem -1rem 0;
    border-bottom: 1px solid #e4eaf1;
    background: #fff;
    padding: 0.75rem 0.875rem;
  }

  .public-alumni-overview,
  .public-cabinet-overview-scroll {
    height: 100%;
    overflow-y: auto;
    padding-right: 0.2rem;
    scrollbar-gutter: stable;
  }

  .public-cabinet-payments-panel {
    height: 100%;
    min-height: 0;
    max-height: 100%;
  }

  .public-cabinet-requests-panel,
  .public-cabinet-recurring-panel,
  .public-cabinet-documents-panel,
  .public-cabinet-notifications-panel,
  .public-cabinet-settings-panel,
  .public-cabinet-requests-body,
  .public-cabinet-thread-panel {
    height: 100%;
    min-height: 0;
    max-height: 100%;
  }

  .public-cabinet-recurring-panel,
  .public-cabinet-documents-panel,
  .public-cabinet-notifications-panel,
  .public-cabinet-settings-panel {
    overflow: hidden;
  }

  .public-cabinet-recurring-body,
  .public-cabinet-documents-body,
  .public-cabinet-notifications-body,
  .public-cabinet-settings-body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.25rem;
    scrollbar-gutter: stable;
  }

  .public-cabinet-recurring-column {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.25rem;
    scrollbar-gutter: stable;
  }

  .public-cabinet-thread-list,
  .public-cabinet-thread-messages {
    min-height: 0;
    overflow-y: auto;
  }

  .public-cabinet-quick-panel {
    height: 100%;
    min-height: 0;
    max-height: 100%;
  }

  .public-cabinet-quick-scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.25rem;
    scrollbar-gutter: stable;
  }

  .public-cabinet-quick-workspace {
    align-items: start;
    grid-template-columns: minmax(25rem, 0.5fr) minmax(0, 1fr);
  }

  .public-cabinet-quick-left {
    position: static;
  }

  .public-cabinet-company-form {
    padding: 1rem;
  }

  .public-cabinet-settings-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (min-width: 1536px) {
  .public-cabinet-company-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .public-cabinet-company-field--wide {
    grid-column: 1 / -1 !important;
  }
}

@media (min-width: 1536px) {
  .public-cabinet-layout {
    --public-cabinet-rail-width: 18rem;
  }
}

@media (min-width: 1900px) {
  .public-cabinet-layout {
    --public-cabinet-rail-width: 18rem;
  }
}

@media (min-width: 1280px) {
  .public-cabinet-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.public-shell [data-preview-card],
.public-shell [data-signal-card],
.public-shell [data-metric-card] {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.public-shell [data-preview-card]:hover,
.public-shell [data-signal-card]:hover,
.public-shell [data-metric-card]:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 56, 95, 0.22);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1);
}

@media (max-width: 960px) {
  .public-shell::before,
  .public-shell::after {
    display: none;
  }
}

/* Russian brand wordmark */
.public-header__brand-wordmark,
.public-cabinet-brand-wordmark {
  display: inline-flex;
  align-items: center;
  color: currentColor;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.public-header__brand-wordmark {
  color: #0b4f9c;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
}

.public-header__brand-context {
  display: block;
  max-width: 8.5rem;
  color: currentColor;
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1.3;
  opacity: 0.58;
  text-transform: uppercase;
}

.public-cabinet-brand-wordmark {
  color: #0b4f9c;
  font-size: 1.35rem;
}

@media (max-width: 1439px) {
  .public-header__brand-context {
    display: none;
  }
}

@media (max-width: 639px) {
  .public-header__brand-wordmark {
    font-size: 1rem;
  }

  .public-cabinet-brand-wordmark {
    font-size: 1rem;
  }
}
