.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 4px solid var(--amsa-ink);
}

.header-desktop {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 102px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 26px;
}

.brand-link {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-link img {
  width: 190px;
  height: auto;
}

.header-workspace {
  min-width: 0;
  display: grid;
  grid-template-rows: 43px 59px;
}

.header-utility {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.main-nav {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: end;
  gap: 1px;
}

.header-mobile,
.mobile-panel {
  display: none;
}

.page-shell {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
}

.main-content {
  width: min(calc(100% - 40px), var(--max-width));
  flex: 1 0 auto;
  margin: 0 auto;
  padding: 24px 0 48px;
}

.page-header {
  min-height: 74px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.breadcrumb {
  margin-bottom: 5px;
  color: var(--amsa-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.view-root {
  min-width: 0;
  min-height: 540px;
}

.content-stack {
  min-width: 0;
  display: grid;
  gap: 13px;
}

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

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

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  gap: 12px;
}

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

.grid-4 > *,
.grid-3 > *,
.grid-2 > *,
.grid-2-even > *,
.operation-grid > * {
  min-width: 0;
}

.site-footer {
  flex: 0 0 auto;
  background: #1b6c79;
  color: var(--white);
}

.footer-inner {
  width: min(calc(100% - 40px), 1120px);
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.footer-inner a {
  color: #d5e8eb;
  text-decoration: none;
}

.footer-inner a:hover strong {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-inner a strong {
  color: var(--white);
  font-size: 13px;
}

.footer-inner > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.footer-inner i {
  width: 7px;
  height: 7px;
  background: var(--amsa-gold);
}
