@import url("/static/greenbadger-tokens.css");

html { scroll-padding-top: 124px; }

.gb-shell {
  --gb-shell-height: 112px;
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--gb-shell-height);
  background: rgba(255, 253, 248, .97);
  border-bottom: 1px solid var(--gb-rule);
  box-shadow: 0 8px 22px rgba(24, 38, 29, .04);
  backdrop-filter: blur(12px);
  color: var(--gb-ink);
  font-family: var(--gb-body);
}
.gb-shell-primary,
.gb-shell-secondary {
  display: grid;
  align-items: center;
  gap: 16px;
  padding-inline: clamp(13px, 4vw, 56px);
}
.gb-shell-primary {
  min-height: 64px;
  grid-template-columns: auto auto minmax(220px, 1fr) auto;
}
.gb-shell-secondary {
  min-height: 47px;
  grid-template-columns: minmax(0, 1fr) auto;
  border-top: 1px solid var(--gb-rule);
}
.gb-shell-brand {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}
.gb-shell-brand img {
  display: block;
  width: auto;
  height: 30px;
}
.gb-shell-products,
.gb-shell-sections {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
.gb-shell-link {
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--gb-ink-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.gb-shell-products .gb-shell-link {
  padding: 8px 12px;
  font-size: 13px;
}
.gb-shell-link:hover,
.gb-shell-link:focus-visible,
.gb-shell-link.is-active {
  background: var(--gb-green-wash);
  color: var(--gb-green);
}
.gb-shell-link.is-active {
  border-color: var(--gb-rule-control);
  font-weight: 700;
}
.gb-project-chip {
  justify-self: center;
  display: grid;
  min-width: 0;
  max-width: 460px;
  padding: 7px 12px;
  border: 1px solid var(--gb-rule);
  border-radius: 6px;
  background: var(--gb-canvas);
  line-height: 1.15;
}
.gb-project-address {
  overflow: hidden;
  color: var(--gb-ink);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gb-project-meta {
  display: flex;
  gap: 5px;
  margin-top: 4px;
  color: var(--gb-ink-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.gb-project-warning button {
  border: 0;
  background: transparent;
  color: var(--gb-green);
  font: 700 10px var(--gb-body);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  cursor: pointer;
}
.gb-address-project-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.gb-address-project-row > input {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
}
.gb-new-project-button {
  flex: 0 0 auto;
  width: auto !important;
  min-width: 94px;
  margin: 0 !important;
  padding: 8px 12px;
  border: 1px solid var(--gb-rule-control);
  border-radius: 4px;
  background: var(--gb-canvas);
  color: var(--gb-green);
  font: 700 11px var(--gb-body);
  white-space: nowrap;
  cursor: pointer;
}
.gb-project-warning {
  position: sticky;
  top: var(--gb-shell-height, 112px);
  z-index: 39;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 16px;
  border-bottom: 1px solid #d7a94b;
  background: #fff7df;
  color: var(--gb-ink);
  font: 600 12px var(--gb-body);
}
.gb-project-warning[hidden] { display: none; }
.gb-shell-account {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gb-ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}
.gb-shell-account small {
  display: block;
  margin-bottom: 2px;
  color: var(--gb-ink-muted);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.gb-account-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--gb-green);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}
.gb-shell-context {
  color: var(--gb-ink-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.gb-shell-controls {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}
.gb-shell-controls label {
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto;
  margin: 0;
  color: var(--gb-ink-muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.gb-shell-controls select {
  width: auto;
  min-width: 72px;
  padding: 6px 8px;
  border: 1px solid var(--gb-rule-control);
  border-radius: 5px;
  background: #fff;
  color: var(--gb-ink);
  font: 400 11px var(--gb-body);
}
.gb-shell-controls select:disabled {
  opacity: .6;
}
.gb-shell a:focus-visible,
.gb-shell select:focus-visible,
.gb-new-project-button:focus-visible,
.gb-project-warning button:focus-visible {
  outline: 2px solid var(--gb-focus);
  outline-offset: 2px;
}
.gb-shell ~ main .side,
.gb-shell ~ script + main .side {
  top: var(--gb-shell-height) !important;
}
.gb-shell ~ main button,
.gb-shell ~ main input,
.gb-shell ~ main select,
.gb-shell ~ main [tabindex] {
  scroll-margin-top: 124px;
}

@media (max-width: 900px) {
  .gb-shell { --gb-shell-height: 159px; }
  .gb-shell-primary {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }
  .gb-project-chip {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    max-width: none;
  }
  .gb-shell-secondary {
    overflow: hidden;
  }
  .gb-shell-sections {
    overflow-x: auto;
  }
  .gb-shell ~ main .side,
  .gb-shell ~ script + main .side {
    top: auto !important;
  }
}
@media (max-width: 620px) {
  .gb-shell { --gb-shell-height: auto; position: relative; }
  .gb-shell-primary {
    grid-template-columns: auto 1fr;
    padding-block: 9px;
  }
  .gb-shell-account { display: none; }
  .gb-shell-products { justify-content: end; overflow-x: auto; }
  .gb-shell-secondary {
    display: block;
    padding-block: 7px;
  }
  .gb-shell-sections { padding-bottom: 7px; }
  .gb-shell-controls {
    justify-content: start;
    overflow-x: auto;
  }
  .gb-shell-context { padding-block: 6px; }
  .gb-address-project-row { flex-wrap: wrap; }
  .gb-address-project-row > input { flex-basis: calc(100% - 102px); }
  .gb-project-warning {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }
}