/* The Jef launcher and cash workspace share their own dark surfaces. */
.jef-view {
  --jef-lime: #C6FF00;
  --jef-text: #f5f7f3;
  --jef-muted: #b1b8bb;
  --jef-border: #373d3f;
  --jef-card: #222729;
  flex: 1;
  min-width: 0;
  padding: clamp(24px, 5vw, 70px) clamp(16px, 5vw, 66px);
  color: var(--jef-text);
  background: radial-gradient(ellipse at 92% 0%, #252e20 0%, transparent 42%), #101315;
}
.jef-shell {
  width: min(100%, 730px);
  margin: 0 auto;
}
.jef-wordmark {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 850;
  letter-spacing: -.075em;
  line-height: .98;
}
.jef-wordmark span { color: var(--jef-lime); }
.jef-wordmark small {
  display: block;
  margin-top: 10px;
  color: var(--jef-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.jef-heading { margin: clamp(24px, 5vw, 46px) 0 20px; }
.jef-heading h2 {
  color: var(--jef-text);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 760;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
  margin: 5px 0 7px;
}
.jef-heading p { color: var(--jef-muted); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.jef-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.jef-tile, .jef-row, .jef-back {
  color: var(--jef-text);
  background: var(--jef-card);
  border: 1px solid var(--jef-border);
  border-radius: 16px;
  text-align: left;
}
.jef-tile {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 130px;
  padding: clamp(13px, 3vw, 24px);
}
.jef-tile svg {
  width: 29px;
  height: 29px;
  margin-bottom: 8px;
  fill: none;
  stroke: var(--jef-lime);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.jef-tile strong { font-size: clamp(18px, 3vw, 24px); letter-spacing: -.035em; }
.jef-tile span, .jef-row small { color: var(--jef-muted); font-size: 12px; line-height: 1.4; }
.jef-tile-primary, .jef-row-primary { background: var(--jef-lime); color: #142005; border-color: var(--jef-lime); }
.jef-tile-primary svg { stroke: currentColor; }
.jef-tile-primary span { color: #37451d; }
.jef-tile:hover, .jef-row:hover, .jef-back:hover { border-color: var(--jef-lime); }
.jef-tile:focus-visible, .jef-row:focus-visible, .jef-back:focus-visible {
  outline: 2px solid var(--jef-lime);
  outline-offset: 3px;
}
.jef-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  margin-top: 10px;
}
.jef-grid + .jef-row { margin-top: 17px; }
.jef-row strong { font-size: 15px; }
.jef-row small { display: block; margin-top: 3px; }
.jef-row > span[aria-hidden] { font-size: 20px; }
.jef-cash-shell { max-width: 540px; }
.jef-cash-shell .jef-heading { margin-top: 20px; }
.jef-back { min-height: 44px; padding: 8px 14px; font-weight: 650; }
.jef-drawer-card {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 20px 18px;
  border: 1px solid #56632f;
  border-radius: 16px;
  background: linear-gradient(122deg, #222729, #303921);
  overflow-wrap: anywhere;
}
.jef-drawer-card strong { font-size: 20px; letter-spacing: -.03em; }
.jef-drawer-card span { font-size: 14px; color: var(--jef-lime); font-variant-numeric: tabular-nums; }
#drawer-form-error { color: #9b2e28; }
.cart-footer:not(:has(> :not([hidden]))) { display: none; }

@media (max-width: 690px) {
  .is-jef .topbar { background: #101315; border-color: #373d3f; }
  .is-jef .topbar .mobile-menu { background: #222729; color: #f5f7f3; border-color: #373d3f; }
  .is-jef .topbar .mobile-title strong { color: #f5f7f3; }
  .is-jef .topbar .mobile-title span { color: #b1b8bb; }
  .is-jef .mobile-tabbar { background: #161a1c; border-color: #373d3f; }
  .is-jef .mobile-tab { color: #b1b8bb; }
  .is-jef .mobile-tab.active, .is-jef .mobile-tab[aria-current="page"] { color: #C6FF00; }
  .is-jef .mobile-tab:active { background: #222729; }
  .is-jef .mobile-tab.active::before { background: #C6FF00; }
  .is-jef .mobile-title img { filter: brightness(0) invert(1); }
  .jef-view { padding-bottom: 105px; }
  .jef-tile { min-height: 112px; }
}
