/* Shared in-app header: login/registration pages continue to hide it themselves. */
.platform-header {
  position:relative;z-index:10;justify-content:space-between;
  align-items:center;gap:20px;flex-wrap:wrap;padding:12px clamp(16px,3vw,40px);
  background:linear-gradient(108deg,#1b805d 0%,#086d7b 46%,#073d73 100%);
  border-bottom:3px solid rgba(220,202,65,.8);color:#fff;
  box-shadow:0 5px 16px rgba(0,44,63,.1);
}
.platform-header .platform-brand {
  display:inline-flex;align-items:center;gap:10px;min-width:0;
  padding:4px 11px 4px 5px;border-radius:11px;
  background:rgba(247,255,248,.98);text-decoration:none;
  box-shadow:0 3px 9px rgba(0,30,54,.12);
}
.platform-header .platform-brand:hover {background:#fff;}
.platform-brand-mark {display:block;width:60px;height:38px;object-fit:contain;flex-shrink:0;}
.platform-brand-wordmark {display:inline-block;white-space:nowrap;color:#2f7d4a;
  font-weight:850;font-size:clamp(20px,1.6vw,25px);line-height:1;
  letter-spacing:-.045em;}
.platform-brand-lift {color:#579F11;-webkit-text-stroke:0;}
.platform-header .platform-nav {display:flex;justify-content:flex-end;
  align-items:center;gap:5px 8px;flex-wrap:wrap;min-width:0;}
.platform-header .platform-nav a,
.platform-header .platform-nav button {
  display:inline-flex;align-items:center;justify-content:center;min-height:38px;
  padding:8px 11px;border-radius:9px;color:#fff;
  background:transparent;text-decoration:none;font-family:inherit;font-weight:650;font-size:14px;
  transition:background .14s ease;line-height:1.3;
}
.platform-header .platform-nav a:hover,
.platform-header .platform-nav button:hover,
.platform-header .platform-nav a[aria-current="page"] {
  background:rgba(255,255,255,.16);
}
.platform-header .platform-nav .platform-logout-form {display:inline-flex;margin:0;}
.platform-header .platform-nav button {border:0;cursor:pointer;}
.platform-header a:focus-visible,
.platform-header button:focus-visible {outline:3px solid #ffe52b;outline-offset:2px;}
@media (max-width:760px) {
  .platform-header {gap:10px;justify-content:center;padding:10px 10px 9px;}
  .platform-header .platform-brand {padding:3px 10px 3px 4px;}
  .platform-brand-mark {width:50px;height:33px;}
  .platform-brand-wordmark {font-size:20px;}
  .platform-header .platform-nav {width:100%;justify-content:center;gap:4px;flex-wrap:wrap;}
  .platform-header .platform-nav a,
  .platform-header .platform-nav button {min-height:34px;padding:6px 8px;font-size:12px;}
}
@media (prefers-reduced-motion:reduce) {
  .platform-header .platform-nav a,
  .platform-header .platform-nav button {transition:none;}
}
