:root {
  --ink: #152522;
  --muted: #5f716c;
  --paper: #f3f7f6;
  --line: #d2dfdc;
  --green: #0f6b5d;
  --accent: #c8d77a;
  --accent-soft: #eff3d8;
  --lime: var(--accent);
  --soft: #e2efec;
  --orange: #b86b32;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  background: rgba(243, 247, 246, .97);
  box-shadow: 0 7px 22px rgba(23, 35, 31, .09);
}

.header-strip {
  min-height: 28px;
  background: var(--lime);
  color: var(--ink);
}

.header-strip-inner {
  width: 100%;
  max-width: 1120px;
  min-height: 28px;
  margin: 0 auto;
  padding: 3px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.header-strip .top-note {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 5px 9px;
  max-width: none;
  padding-left: 0;
  border-left: 0;
  color: rgba(23, 35, 31, .76);
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.header-strip .top-note strong {
  color: var(--ink);
  font-size: 9px;
  letter-spacing: .12em;
}

.header-strip .top-note i {
  width: 4px;
  height: 4px;
  background: var(--green);
}

.header-strip .visitor-clock {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.header-strip .clock-display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-strip .visitor-clock strong {
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0;
}

.header-strip .clock-details {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(23, 35, 31, .7);
  font-size: 9px;
}

.header-strip .clock-details small {
  max-width: 100px;
  overflow: hidden;
  padding-left: 6px;
  border-left: 1px solid rgba(23, 35, 31, .22);
  color: rgba(23, 35, 31, .7);
  font-size: 9px;
  text-overflow: ellipsis;
}

.site-header .topbar {
  position: relative;
  top: auto;
  z-index: auto;
  width: 100%;
  max-width: 1120px;
  height: 56px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header .brand {
  flex: 0 0 auto;
  font-size: 18px;
}

.site-header .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 0 3px rgba(200, 215, 122, .2);
}

.site-header .function-nav {
  position: static;
  top: auto;
  z-index: auto;
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header .function-nav-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 3px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.site-header .function-nav-inner::-webkit-scrollbar { display: none; }

.site-header .function-nav a {
  flex: 0 0 auto;
  grid-template-columns: 20px auto;
  gap: 6px;
  min-height: 38px;
  padding: 5px 7px;
  border-radius: 4px;
  scroll-snap-align: start;
  white-space: nowrap;
}

.site-header .function-nav a > span {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  font-size: 8px;
}

.site-header .function-nav a strong {
  font-size: 9px;
  line-height: 1.2;
  overflow-wrap: normal;
}

.site-header .function-nav a[aria-current="location"] {
  background: var(--green);
  color: white;
}

.site-header .function-nav a[aria-current="location"] > span {
  border-color: var(--lime);
  background: var(--lime);
}

.shell { padding-top: 52px; }

.agent-orb {
  background: radial-gradient(circle at 35% 30%, #e8fbff 0 8%, var(--lime) 9% 28%, #2a9f91 55%, #0b3b35 76%);
  box-shadow: 0 0 25px rgba(200, 215, 122, .28);
}

.site-footer { background: rgba(243, 247, 246, .96); }

#capacityAssessment,
#deliveryMigration,
#lifecycleTool,
#networkCalculator,
#aiAdvisor {
  scroll-margin-top: 100px;
}

@media (max-width: 900px) {
  .header-strip .top-note { justify-self: start; }
  .site-header .topbar { gap: 16px; }
  .site-header .function-nav-inner { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .header-strip-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-inline: 16px;
  }

  .header-strip .top-note { display: none; }
  .header-strip .visitor-clock { justify-content: center; }
  .header-strip .clock-details small { max-width: 82px; }
  .site-header .topbar { padding-inline: 16px; gap: 12px; }
}

@media (max-width: 420px) {
  .site-header .brand { font-size: 16px; }
  .site-header .brand-mark { width: 30px; height: 30px; }
  .site-header .function-nav a { padding-inline: 6px; }
}

@media print {
  .site-header { display: none; }
}
