/* console/src/styles/tokens.css */
:root {
  --wh-slate-50: #F8FAFB;
  --wh-slate-100: #F1F5F7;
  --wh-slate-200: #E2E8ED;
  --wh-slate-300: #CBD5DC;
  --wh-slate-400: #94A3B0;
  --wh-slate-500: #64748B;
  --wh-slate-600: #475569;
  --wh-slate-700: #334155;
  --wh-slate-800: #1E293B;
  --wh-slate-900: #0F172A;
  --wh-sky-50: #f0f7fc;
  --wh-sky-100: #e1eff8;
  --wh-sky-200: #c3dfef;
  --wh-sky-300: #9ac8e3;
  --wh-sky-500: #4177a6;
  --wh-sky-900: #2c4d6c;
  --wh-teal-50: #F0FDFA;
  --wh-teal-100: #CCFBF1;
  --wh-teal-500: #14B8A6;
  --wh-teal-600: #0D9488;
  --wh-teal-700: #0F766E;
  --wh-warning-50: #FFFBEB;
  --wh-warning-500: #F59E0B;
  --wh-warning-700: #92400E;
  --wh-error-500: #EF4444;
  --wh-error-700: #B91C1C;
  --wh-error-300: #FCA5A5;
  --wh-background: #F8FAFB;
  --wh-foreground: #334155;
  --wh-heading: #1E293B;
  --wh-card: #FFFFFF;
  --wh-muted: #F1F5F7;
  --wh-muted-foreground: #64748B;
  --wh-subtle: #475569;
  --wh-border: #E2E8ED;
  --wh-border-strong: #CBD5DC;
  --wh-primary: #4177a6;
  --wh-primary-foreground: #FFFFFF;
  --wh-primary-tint: #e1eff8;
  --wh-primary-deep: #2c4d6c;
  --wh-accent: #14B8A6;
  --wh-accent-text: #0F766E;
  --wh-accent-tint: #F0FDFA;
  --wh-solid: #1E293B;
  --wh-solid-foreground: #FFFFFF;
  --wh-code-bg: #0F172A;
  --wh-code-foreground: #E2E8ED;
  --wh-warning-bg: #FFFBEB;
  --wh-warning-fg: #92400E;
  --wh-destructive: #B91C1C;
  --wh-destructive-border: #FCA5A5;
  --wh-nav: #F1F5F7;
  --wh-overlay: rgba(15, 23, 42, 0.5);
  --wh-font-sans:
    "Manrope",
    system-ui,
    -apple-system,
    sans-serif;
  --wh-font-mono:
    "Geist Mono",
    "JetBrains Mono",
    "Fira Code",
    ui-monospace,
    monospace;
  --wh-radius: 6px;
  --wh-radius-md: 8px;
  --wh-radius-lg: 12px;
  --wh-radius-xl: 16px;
  --wh-shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.06);
  --wh-shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.06);
  --wh-shadow-pop: 0 12px 32px rgba(15, 23, 42, 0.14);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --wh-background: #0F172A;
    --wh-foreground: #E2E8ED;
    --wh-heading: #F8FAFB;
    --wh-card: #1E293B;
    --wh-muted: #1E293B;
    --wh-muted-foreground: #94A3B0;
    --wh-subtle: #CBD5DC;
    --wh-border: #334155;
    --wh-border-strong: #475569;
    --wh-primary: #7eb3d8;
    --wh-primary-foreground: #0F172A;
    --wh-primary-tint: #1c3448;
    --wh-primary-deep: #9ac8e3;
    --wh-accent: #2DD4BF;
    --wh-accent-text: #5EEAD4;
    --wh-accent-tint: #042F2E;
    --wh-solid: #E2E8ED;
    --wh-solid-foreground: #0F172A;
    --wh-warning-bg: #3a2a08;
    --wh-warning-fg: #FCD34D;
    --wh-destructive: #F87171;
    --wh-destructive-border: #7f1d1d;
    --wh-nav: #0b1222;
    --wh-overlay: rgba(2, 6, 23, 0.7);
  }
}
:root[data-theme=dark] {
  --wh-background: #0F172A;
  --wh-foreground: #E2E8ED;
  --wh-heading: #F8FAFB;
  --wh-card: #1E293B;
  --wh-muted: #1E293B;
  --wh-muted-foreground: #94A3B0;
  --wh-subtle: #CBD5DC;
  --wh-border: #334155;
  --wh-border-strong: #475569;
  --wh-primary: #7eb3d8;
  --wh-primary-foreground: #0F172A;
  --wh-primary-tint: #1c3448;
  --wh-primary-deep: #9ac8e3;
  --wh-accent: #2DD4BF;
  --wh-accent-text: #5EEAD4;
  --wh-accent-tint: #042F2E;
  --wh-solid: #E2E8ED;
  --wh-solid-foreground: #0F172A;
  --wh-warning-bg: #3a2a08;
  --wh-warning-fg: #FCD34D;
  --wh-destructive: #F87171;
  --wh-destructive-border: #7f1d1d;
  --wh-nav: #0b1222;
  --wh-overlay: rgba(2, 6, 23, 0.7);
}

/* console/src/styles/base.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body,
#root {
  min-height: 100%;
}
body {
  margin: 0;
  font-family: var(--wh-font-sans);
  color: var(--wh-foreground);
  background: var(--wh-background);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--wh-primary);
}
a:hover {
  color: var(--wh-primary-deep);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
.mono {
  font-family: var(--wh-font-mono);
}
.sr-only {
  position: absolute;
  left: -9999px;
}
:focus-visible {
  outline: 2px solid var(--wh-primary);
  outline-offset: 2px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--wh-border-strong);
  border-radius: var(--wh-radius-md);
  background: var(--wh-card);
  color: var(--wh-foreground);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  border-color: var(--wh-primary);
  color: var(--wh-foreground);
}
.btn.primary {
  background: var(--wh-solid);
  color: var(--wh-solid-foreground);
  border-color: var(--wh-solid);
}
.btn.primary:hover {
  color: var(--wh-solid-foreground);
  opacity: 0.9;
}
.btn.danger {
  color: var(--wh-destructive);
  border-color: var(--wh-destructive-border);
}
.btn.ghost {
  border-color: transparent;
  background: none;
  color: var(--wh-muted-foreground);
}
.btn:disabled,
.btn[aria-disabled=true] {
  background: var(--wh-border);
  color: var(--wh-slate-400);
  border-color: transparent;
  cursor: not-allowed;
  opacity: 1;
}
.tag {
  display: inline-block;
  font-family: var(--wh-font-mono);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--wh-border-strong);
  color: var(--wh-foreground);
  background: var(--wh-card);
}
.tag.ok {
  border-color: var(--wh-accent);
  background: var(--wh-accent-tint);
  color: var(--wh-accent-text);
}
.tag.warn {
  border-color: var(--wh-warning-500);
  background: var(--wh-warning-bg);
  color: var(--wh-warning-fg);
}
.tag.dim {
  color: var(--wh-muted-foreground);
  background: var(--wh-muted);
  border-color: var(--wh-border);
}
.tag.notice {
  border-style: dashed;
  color: var(--wh-muted-foreground);
  background: var(--wh-muted);
}
.label {
  font-size: 12px;
  font-weight: 600;
  color: var(--wh-subtle);
  letter-spacing: 0.02em;
}
.field {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--wh-heading);
  background: var(--wh-card);
  border: 1px solid var(--wh-border-strong);
  border-radius: var(--wh-radius-md);
}
.eyebrow {
  font-family: var(--wh-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--wh-muted-foreground);
  text-transform: uppercase;
}
.card {
  background: var(--wh-card);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-lg);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wh-primary-deep);
  background: var(--wh-primary-tint);
  border: 1px solid var(--wh-sky-300);
  border-radius: 999px;
  cursor: pointer;
}
.chip.quiet {
  background: var(--wh-card);
  border-color: var(--wh-border-strong);
  color: var(--wh-foreground);
  cursor: default;
}
.not-connected {
  cursor: not-allowed;
}
.shell {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}
.nav {
  flex: 1 1 220px;
  max-width: 240px;
  padding: 20px 14px;
  background: var(--wh-nav);
  border-right: 1px solid var(--wh-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 18px;
  font-weight: 800;
  font-size: 15px;
  color: var(--wh-heading);
  text-decoration: none;
}
.nav .brand span {
  font-weight: 500;
  color: var(--wh-muted-foreground);
}
.nav a.item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  min-height: 40px;
  border-radius: var(--wh-radius-md);
  color: var(--wh-subtle);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav a.item:hover {
  background: var(--wh-border);
}
.nav a.item[aria-current=page] {
  background: var(--wh-border);
  color: var(--wh-heading);
}
.nav .spacer {
  flex: 1;
}
.nav .balance-wrap {
  margin-top: 24px;
}
.nav .balance-wrap.has-callout {
  display: block;
}
.nav .balance-wrap.has-callout .balance {
  outline: 2px solid var(--wh-accent);
  outline-offset: -2px;
}
.nav .balance-wrap .callout {
  right: 14px;
}
.nav .balance {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  background: var(--wh-card);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-lg);
  cursor: pointer;
}
.nav .balance small {
  display: block;
  font-size: 12px;
  color: var(--wh-muted-foreground);
}
.nav .balance strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--wh-heading);
}
.nav .balance em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--wh-primary);
}
.nav .user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 6px 0;
  font-size: 13px;
}
.nav .user .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wh-primary-deep);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav .user strong {
  display: block;
  color: var(--wh-heading);
}
.page {
  flex: 999 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.env-tag {
  margin: 0 12px 10px;
  align-self: flex-start;
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--wh-overlay);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 70px 16px 16px;
  overflow: auto;
}
.dialog {
  background: var(--wh-card);
  border: 1px solid var(--wh-border-strong);
  border-radius: var(--wh-radius-xl);
  box-shadow: var(--wh-shadow-pop);
}

/* console/src/styles/playground.css */
.playground {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.pg-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: var(--wh-card);
  border-bottom: 1px solid var(--wh-border);
  min-height: 56px;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--wh-muted-foreground);
}
.crumbs a {
  color: var(--wh-muted-foreground);
  text-decoration: none;
}
.crumbs strong {
  color: var(--wh-heading);
}
.pg-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.progress {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.progress li {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: var(--wh-border);
}
.progress li.done {
  background: var(--wh-accent);
}
.progress li.now {
  background: var(--wh-primary);
}
.notice-bar {
  padding: 10px 24px;
  background: var(--wh-warning-bg);
  color: var(--wh-warning-fg);
  font-size: 14px;
}
.pg-body {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  min-height: 0;
}
.request {
  flex: 1 1 440px;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  background: var(--wh-card);
  border-right: 1px solid var(--wh-border);
}
.pg-right {
  flex: 999 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
.response {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pane-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid var(--wh-border);
  font-size: 14px;
  min-height: 56px;
}
.pane-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
.muted {
  color: var(--wh-muted-foreground);
}
.timing {
  font-size: 12px;
  color: var(--wh-subtle);
  margin-left: 8px;
}
.problems {
  font-size: 12px;
  color: var(--wh-muted-foreground);
}
.problems.bad {
  color: var(--wh-destructive);
}
.seg {
  display: inline-flex;
  border: 1px solid var(--wh-border-strong);
  border-radius: var(--wh-radius-md);
  overflow: hidden;
}
.seg button {
  padding: 7px 12px;
  min-height: 32px;
  font-size: 13px;
  font-weight: 600;
  border: 0;
  background: var(--wh-card);
  color: var(--wh-subtle);
  cursor: pointer;
}
.seg button[aria-pressed=true] {
  background: var(--wh-border);
  color: var(--wh-heading);
}
.request-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 20px;
  min-height: 320px;
}
.json {
  flex: 1;
  min-height: 280px;
  resize: vertical;
  padding: 12px;
  font-family: var(--wh-font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--wh-foreground);
  background: var(--wh-muted);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-md);
}
.problem-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--wh-destructive);
}
.chip-row {
  display: inline-flex;
  align-self: flex-start;
}
.request-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--wh-border);
}
.foot-left {
  display: flex;
  align-items: center;
  gap: 4px;
}
.btn.icon {
  min-width: 44px;
  padding: 0;
}
.endpoint {
  font-size: 12px;
  color: var(--wh-muted-foreground);
  margin-left: 8px;
}
.kbd {
  font-size: 12px;
  opacity: 0.7;
}
.picker {
  font-size: 15px;
}
.picker-head {
  display: flex;
  gap: 14px;
  padding: 6px 0;
  color: var(--wh-muted-foreground);
}
.pick-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  background: var(--wh-card);
  border: 1px solid var(--wh-border);
  border-top-width: 0;
  cursor: pointer;
  color: var(--wh-heading);
}
.pick-option:first-of-type {
  border-top-width: 1px;
}
.pick-option:hover {
  background: var(--wh-muted);
}
.pick-option.has-callout {
  outline: 2px solid var(--wh-accent);
  outline-offset: -2px;
}
.pick-hint {
  font-size: 12px;
  font-style: italic;
  color: var(--wh-muted-foreground);
}
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.hint {
  font-size: 12px;
  color: var(--wh-muted-foreground);
}
.money-input {
  position: relative;
}
.money-input span {
  position: absolute;
  left: 12px;
  top: 10px;
  color: var(--wh-muted-foreground);
}
.money-input .field {
  padding-left: 26px;
}
.coach {
  position: absolute;
  z-index: 5;
  right: 24px;
  bottom: 24px;
  width: 340px;
  max-width: calc(100% - 48px);
  background: var(--wh-card);
  border: 1px solid var(--wh-border-strong);
  border-radius: var(--wh-radius-lg);
  box-shadow: var(--wh-shadow-pop);
  overflow: hidden;
}
.coach-art {
  background: var(--wh-primary-tint);
}
.coach-art svg {
  display: block;
  width: 100%;
  height: 52px;
}
.coach-body {
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.coach .eyebrow {
  font-size: 11px;
}
.coach-title {
  font-weight: 800;
  font-size: 17px;
  color: var(--wh-heading);
}
.coach-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--wh-subtle);
}
.coach-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.coach-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}
.coach-list li svg {
  color: var(--wh-slate-400);
  flex: none;
}
.coach-list li.done {
  color: var(--wh-muted-foreground);
}
.coach-list li.done svg {
  color: var(--wh-teal-600);
}
.coach-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.has-callout {
  position: relative;
  display: inline-block;
}
.callout {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 6;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: #FFFFFF;
  background: var(--wh-primary-deep);
  border-radius: var(--wh-radius);
}
.callout::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 100%;
  border: 7px solid transparent;
  border-top-color: var(--wh-primary-deep);
}
.pick-option .callout {
  right: 18px;
  bottom: calc(100% + 8px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .callout {
    color: var(--wh-slate-900);
    background: var(--wh-sky-300);
  }
  :root:not([data-theme=light]) .callout::after {
    border-top-color: var(--wh-sky-300);
  }
}
.response-body {
  flex: 1;
  padding: 0;
  overflow: auto;
}
.empty {
  padding: 64px 24px;
  text-align: center;
  color: var(--wh-muted-foreground);
  font-size: 15px;
}
.stale {
  padding: 10px 20px;
  background: var(--wh-muted);
  border-bottom: 1px solid var(--wh-border);
  font-size: 13px;
  color: var(--wh-subtle);
}
.stale-body {
  opacity: 0.45;
}
.q-tabs {
  display: flex;
  gap: 6px;
  padding: 8px 20px;
  border-bottom: 1px solid var(--wh-border);
}
.q-tabs button {
  padding: 6px 12px;
  border: 1px solid var(--wh-border-strong);
  border-radius: 999px;
  background: var(--wh-card);
  cursor: pointer;
}
.q-tabs button[aria-selected=true] {
  background: var(--wh-border);
}
.pad {
  padding: 16px 18px;
}
.pad-x {
  padding-left: 20px;
  padding-right: 20px;
}
.card.error {
  margin: 20px;
  border-color: var(--wh-destructive-border);
}
.card.off {
  background: var(--wh-muted);
  border-style: dashed;
}
.card.ok {
  border-color: var(--wh-accent);
}
.answer-view {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
}
.answer-card {
  background: var(--wh-card);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-xl);
  overflow: hidden;
}
.answer-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}
.answer-tags {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.answer-headline {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--wh-heading);
}
.answer-headline.struck {
  text-decoration: line-through;
  text-decoration-color: var(--wh-slate-400);
}
.answer-headline .mark {
  background: var(--wh-primary-tint);
  padding: 0 6px;
  border-radius: 6px;
}
.answer-sub {
  font-size: 14px;
  line-height: 1.6;
  color: var(--wh-subtle);
  margin: 0;
}
.noanswer {
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 16px;
  margin: 0;
  font-size: 14px;
}
.facts dt {
  color: var(--wh-muted-foreground);
  font-family: var(--wh-font-mono);
  font-size: 12px;
  padding-top: 2px;
}
.facts dd {
  margin: 0;
  color: var(--wh-heading);
  overflow-wrap: anywhere;
}
.members {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.answer-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  background: var(--wh-background);
  border-top: 1px solid var(--wh-border);
}
.receipt {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--wh-subtle);
}
.receipt strong {
  color: var(--wh-heading);
}
.answer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.how {
  background: var(--wh-card);
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-xl);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.how ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.how li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
}
.how p {
  margin: 3px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--wh-subtle);
}
.dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 12px var(--wh-font-mono);
  background: var(--wh-primary-tint);
  color: var(--wh-primary-deep);
}
.trace {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--wh-subtle);
}
.how .trace li {
  display: grid;
  grid-template-columns: 76px 64px minmax(0, 1fr);
  gap: 0 12px;
  align-items: baseline;
}
.trace-stage {
  color: var(--wh-heading);
}
.trace-ms {
  text-align: right;
  color: var(--wh-muted-foreground);
}
.table-wrap {
  overflow-x: auto;
}
.hub-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}
.hub-table th {
  text-align: left;
  padding: 12px 20px 10px;
  font: 500 11px var(--wh-font-mono);
  letter-spacing: 0.06em;
  color: var(--wh-muted-foreground);
  text-transform: uppercase;
}
.hub-table td {
  padding: 16px 20px;
  vertical-align: top;
  border-top: 1px solid var(--wh-border);
}
.hub-table tr.off td {
  color: var(--wh-muted-foreground);
}
.note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--wh-subtle);
}
.bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}
.bars > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bars-label {
  width: 30px;
  color: var(--wh-muted-foreground);
}
.bar {
  height: 8px;
  border-radius: 4px;
}
.bar.ask {
  background: var(--wh-primary);
}
.bar.bid {
  background: var(--wh-border-strong);
}
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px;
  align-items: flex-start;
}
.flow section {
  flex: 1 1 230px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.flow h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--wh-heading);
}
.flow p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
.flow-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--wh-solid);
  color: var(--wh-solid-foreground);
  font: 700 12px var(--wh-font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
}
.row-between {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 8px;
}
.json-out {
  margin: 0;
  padding: 20px;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--wh-code-foreground);
  background: var(--wh-code-bg);
  min-height: 100%;
}
.examples {
  background: var(--wh-background);
}
.examples-head {
  padding: 36px 28px 22px;
  border-bottom: 1px solid var(--wh-border);
}
.examples-head h1 {
  margin: 6px 0 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--wh-heading);
}
.examples-body {
  padding: 26px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lesson-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  border: 1px solid var(--wh-border);
  margin-bottom: 18px;
}
.lesson-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--wh-card);
  border: 1px solid var(--wh-border);
  margin: -1px 0 0 -1px;
  text-decoration: none;
  color: var(--wh-foreground);
}
.lesson-card:hover {
  background: var(--wh-muted);
}
.lesson-badge {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  border-radius: 0;
  background: var(--wh-solid);
  color: var(--wh-solid-foreground);
  padding: 4px 10px;
  font-size: 12px;
}
.lesson-art {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wh-muted);
  border-bottom: 1px solid var(--wh-border);
}
.lesson-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--wh-muted-foreground);
}
.lesson-text strong {
  font-size: 15px;
  color: var(--wh-heading);
}
.use-cases {
  border: 1px solid var(--wh-border);
  background: var(--wh-card);
}
.use-case {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  border: 0;
  border-top: 1px solid var(--wh-border);
  background: none;
  cursor: pointer;
  font-size: 15px;
}
.use-case:first-child {
  border-top: 0;
}
.use-case:hover {
  background: var(--wh-muted);
}
.use-case strong {
  color: var(--wh-heading);
}
.use-case span {
  color: var(--wh-muted-foreground);
  flex: 1;
}
.reject-dialog {
  width: 460px;
  max-width: 100%;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 140px;
}
.reject-dialog h2 {
  margin: 0;
  font-size: 22px;
  color: var(--wh-heading);
}
.reject-dialog p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--wh-subtle);
}
.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.btn.danger.solid {
  background: var(--wh-destructive);
  color: #FFFFFF;
  border-color: var(--wh-destructive);
}
.pg-right.with-coach .response-body {
  padding-bottom: 280px;
}
.member-detail {
  margin-left: 8px;
}
.examples-note {
  margin: 0 0 12px;
  color: var(--wh-muted-foreground);
  font-size: 14px;
}

/* console/src/styles/pages.css */
.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--wh-background);
}
.landing-top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  background: var(--wh-card);
  border-bottom: 1px solid var(--wh-border);
}
.landing-brand,
.signin-brand,
.welcome-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 800;
  font-size: 15px;
  color: var(--wh-heading);
  text-decoration: none;
}
.landing-brand span,
.welcome-brand span {
  font-weight: 500;
  color: var(--wh-muted-foreground);
}
.landing-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.landing-links a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--wh-subtle);
  text-decoration: none;
}
.landing-links a:not(.btn):hover {
  color: var(--wh-heading);
}
.landing-footer {
  border-top: 1px solid var(--wh-border);
  background: var(--wh-card);
  padding: 28px clamp(16px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--wh-muted-foreground);
}
.landing-footer a {
  font-weight: 600;
}
.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.landing-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.landing-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.landing-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) clamp(16px, 4vw, 40px) 64px;
}
.landing-hero-text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.landing-hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--wh-heading);
}
.landing-hero-text p {
  margin: 0;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--wh-subtle);
}
.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.landing-example {
  flex: 1 1 380px;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--wh-radius-xl);
  box-shadow: var(--wh-shadow-sm);
}
.landing-example-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--wh-border);
}
.landing-example-head .eyebrow {
  font-size: 11px;
}
.landing-example-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.landing-example-q {
  font-weight: 700;
  font-size: 17px;
  color: var(--wh-heading);
}
.landing-example-answer {
  border: 1px solid var(--wh-border);
  border-radius: var(--wh-radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  color: var(--wh-muted-foreground);
}
.landing-example-a span {
  display: inline-block;
  font-size: 22px;
  font-weight: 600;
  color: var(--wh-heading);
  background: var(--wh-primary-tint);
  padding: 0 6px;
  border-radius: var(--wh-radius);
}
.landing-example-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--wh-subtle);
}
.landing-example-meta strong {
  color: var(--wh-heading);
}
.landing-props {
  background: var(--wh-card);
  border-top: 1px solid var(--wh-border);
  border-bottom: 1px solid var(--wh-border);
}
.landing-props-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.landing-props h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--wh-heading);
}
.landing-props p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--wh-subtle);
}
.landing-how {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px clamp(16px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.landing-how h2,
.landing-prompt h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--wh-heading);
}
.landing-how ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.landing-how li {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--wh-subtle);
}
.landing-how li .mono {
  font-size: 12px;
  color: var(--wh-primary);
}
.landing-how li strong {
  font-size: 17px;
  color: var(--wh-heading);
}
.landing-prompt {
  background: var(--wh-code-bg);
  color: var(--wh-code-foreground);
}
.landing-prompt-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px clamp(16px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.landing-prompt-inner > div {
  flex: 1 1 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.landing-prompt h2 {
  color: var(--wh-code-foreground);
}
.landing-prompt p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.85;
}
.landing-prompt pre {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  background: var(--wh-code-bg);
  color: var(--wh-code-foreground);
  border-radius: var(--wh-radius-md);
  padding: 16px;
  white-space: pre-wrap;
}
.policies {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 56px 16px;
}
.policies-inner {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.policies-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.policies h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--wh-heading);
}
.policies h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--wh-heading);
}
.policies p,
.policies ul {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--wh-subtle);
}
.policies ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.policies a {
  font-weight: 600;
}
.policies-open {
  font-size: 14px;
  padding: 1px 6px;
  border-radius: var(--wh-radius);
  border: 1px dashed var(--wh-warning-500);
  background: var(--wh-warning-bg);
  color: var(--wh-warning-fg);
}
.signin {
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  background: var(--wh-background);
}
.signin-pitch {
  flex: 1 1 420px;
  padding: clamp(40px, 7vw, 64px) clamp(16px, 5vw, 56px);
  background: var(--wh-code-bg);
  color: var(--wh-code-foreground);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.signin-brand {
  color: var(--wh-code-foreground);
  font-size: 16px;
}
.signin-brand span {
  font-weight: 500;
  opacity: 0.7;
}
.signin-pitch h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.signin-pitch ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 460px;
  font-size: 16px;
  line-height: 1.5;
}
.signin-pitch li {
  display: flex;
  gap: 12px;
}
.signin-pitch li .mono {
  opacity: 0.7;
}
.signin-panel {
  flex: 1 1 420px;
  padding: clamp(32px, 7vw, 64px) 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.signin-card {
  width: 100%;
  max-width: 400px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: var(--wh-radius-xl);
  box-shadow: var(--wh-shadow-sm);
}
.signin-card h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--wh-heading);
}
.signin-card p {
  margin: 8px 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--wh-subtle);
}
.signin-or {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--wh-muted-foreground);
}
.signin-or span {
  flex: 1;
  height: 1px;
  background: var(--wh-border);
}
.signin-email {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.signin-email .field:disabled {
  background: var(--wh-muted);
  cursor: not-allowed;
}
.signin-email small {
  font-size: 12px;
  color: var(--wh-muted-foreground);
}
.signin-new {
  font-size: 13px;
  color: var(--wh-muted-foreground);
  border-top: 1px solid var(--wh-border);
  padding-top: 16px;
}
.signin-link {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--wh-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.welcome {
  min-height: 100vh;
  padding: 56px 16px;
  display: flex;
  justify-content: center;
  background: var(--wh-background);
}
.welcome-inner {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.welcome h1 {
  margin: 8px 0 0;
  font-size: clamp(32px, 5vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--wh-heading);
}
.welcome-inner > div > p {
  margin: 12px 0 0;
  max-width: 600px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--wh-subtle);
}
.welcome-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.welcome-steps li {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  padding: 18px 20px;
}
.welcome-steps li > div {
  flex: 1 1 260px;
  min-width: 0;
}
.welcome-steps strong {
  color: var(--wh-heading);
}
.welcome-steps p {
  margin: 3px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--wh-subtle);
}
.welcome-num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wh-primary-tint);
  color: var(--wh-primary-deep);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.welcome-skip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}
.home-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  background: var(--wh-primary-tint);
  border-bottom: 1px solid var(--wh-border);
}
.home-hero-text {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.home-hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--wh-heading);
}
.home-hero-text p {
  margin: 0;
  max-width: 460px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--wh-subtle);
}
.home-hero-text .eyebrow {
  color: var(--wh-foreground);
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.home-hero-art {
  flex: 1.1 1 400px;
  width: 100%;
  height: auto;
  max-width: 620px;
  font-family: var(--wh-font-mono);
  font-size: 12px;
}
.home-hero-art text {
  fill: var(--wh-foreground);
}
.home-hero-art .muted {
  fill: var(--wh-muted-foreground);
}
.home-hero-art .box {
  fill: var(--wh-card);
  stroke: var(--wh-primary-deep);
  stroke-width: 2;
}
.home-hero-art .miss {
  fill: var(--wh-card);
  stroke: var(--wh-slate-400);
  stroke-width: 2;
  stroke-dasharray: 5 4;
}
.home-hero-art .hit {
  fill: var(--wh-accent-tint);
  stroke: var(--wh-accent);
  stroke-width: 2;
}
.home-hero-art .hit-text {
  fill: var(--wh-accent-text);
}
.home-hero-art .link {
  stroke: var(--wh-slate-400);
  stroke-width: 2;
  fill: none;
}
.home-hero-art .hit-link {
  stroke: var(--wh-accent);
  stroke-width: 2;
  fill: none;
}
.home-main {
  flex: 1;
  min-width: 0;
  padding: clamp(20px, 4vw, 40px) clamp(16px, 4vw, 48px) 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-content: flex-start;
}
.home-left {
  flex: 999 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.home-lessons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.home-left h2.eyebrow {
  margin: 0;
  font-weight: 400;
}
.home-lesson-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.home-lesson {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: var(--wh-foreground);
}
.home-lesson:hover {
  border-color: var(--wh-primary);
  color: var(--wh-foreground);
}
.home-art {
  position: relative;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wh-muted);
  border-bottom: 1px solid var(--wh-border);
}
.home-art .tag {
  position: absolute;
  top: 10px;
  right: 10px;
}
.home-art svg * {
  stroke: var(--wh-primary-deep);
  stroke-width: 2;
}
.home-art .fill-tint {
  fill: var(--wh-sky-200);
}
.home-art .fill-plain {
  fill: var(--wh-border);
}
.home-art .fill-card {
  fill: var(--wh-card);
}
.home-art .fill-accent {
  fill: var(--wh-accent);
}
.home-art .no-stroke {
  stroke: none;
}
.home-art .dashed {
  fill: none;
  stroke-dasharray: 4 3;
}
.home-art .dashed-accent {
  fill: none;
  stroke: var(--wh-accent);
  stroke-dasharray: 4 3;
}
.home-art .line {
  fill: none;
}
.home-lesson-text {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.home-lesson-text strong {
  font-size: 15px;
  color: var(--wh-heading);
}
.home-lesson-text span {
  font-size: 13px;
  color: var(--wh-muted-foreground);
}
.home-usecases {
  overflow: hidden;
}
.home-usecases h2 {
  padding: 14px 16px 10px;
}
.home-usecase {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
  width: 100%;
  min-height: 44px;
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  background: none;
  border: 0;
  border-top: 1px solid var(--wh-border);
  cursor: pointer;
}
.home-usecase:hover {
  background: var(--wh-muted);
}
.home-usecase strong {
  min-width: 150px;
  color: var(--wh-heading);
}
.home-usecase span {
  flex: 1 1 260px;
  color: var(--wh-muted-foreground);
}
.home-aside {
  flex: 1 1 300px;
  max-width: 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.home-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.home-panel-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--wh-heading);
}
.home-panel-head a {
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.home-quickstart {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.home-quickstart pre {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  background: var(--wh-code-bg);
  color: var(--wh-code-foreground);
  border-radius: var(--wh-radius-md);
  padding: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.home-quickstart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.home-quickstart > .btn {
  justify-content: flex-start;
}
.home-usage {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-usage p {
  margin: 0;
  font-size: 12px;
  color: var(--wh-muted-foreground);
}
.usage {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.usage-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  align-items: center;
  padding: 8px clamp(16px, 3vw, 24px);
  background: var(--wh-card);
  border-bottom: 1px solid var(--wh-border);
}
.usage-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--wh-muted-foreground);
}
.usage-title h1 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--wh-heading);
}
.usage-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.usage-session {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  padding: 16px clamp(16px, 3vw, 32px);
  background: var(--wh-accent-tint);
  border-bottom: 1px solid var(--wh-border);
}
.usage-session > div {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--wh-subtle);
}
.usage-session strong {
  font-size: 15px;
  color: var(--wh-heading);
}
.usage-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
}
.usage-stats dt {
  font-size: 12px;
  color: var(--wh-muted-foreground);
}
.usage-stats dd {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--wh-heading);
}
.usage-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.usage-charts {
  flex: 999 1 520px;
  min-width: 0;
  padding: 28px clamp(16px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.usage-sample-note {
  font-size: 13px;
  color: var(--wh-subtle);
}
.usage-chart {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.usage-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.usage-chart h2,
.usage-breakdown h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--wh-heading);
}
.usage-chart-head .mono {
  font-size: 22px;
  color: var(--wh-foreground);
}
.usage-chart svg {
  display: block;
  width: 100%;
  height: auto;
}
.usage-axis-text {
  font-family: var(--wh-font-mono);
  font-size: 11px;
  fill: var(--wh-muted-foreground);
}
.usage-grid {
  stroke: var(--wh-border);
}
.usage-bars {
  fill: var(--wh-primary);
  opacity: 0.75;
}
.usage-foot {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--wh-muted-foreground);
}
.usage-breakdown {
  flex: 1 1 320px;
  max-width: 460px;
  min-width: 0;
  padding: 28px clamp(16px, 3vw, 32px);
  border-left: 1px dashed var(--wh-border-strong);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.usage-breakdown h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.usage-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--wh-border);
}
.usage-tabs button {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 14px;
  color: var(--wh-muted-foreground);
  cursor: pointer;
}
.usage-tabs button[aria-selected=true] {
  font-weight: 600;
  color: var(--wh-heading);
  border-bottom-color: var(--wh-heading);
}
.usage-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.usage-row {
  display: grid;
  grid-template-columns: minmax(70px, 120px) minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}
.usage-row > .mono:first-child {
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--wh-foreground);
}
.usage-row > .mono:last-child {
  color: var(--wh-muted-foreground);
}
.usage-row-bar span {
  display: block;
  height: 28px;
  border-radius: 3px;
  background: var(--wh-primary);
  opacity: 0.75;
}
.credits {
  width: 1040px;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  background: var(--wh-background);
}
.credits:focus,
.credits-topoff:focus {
  outline: none;
}
.credits-rail {
  flex: 1 1 200px;
  max-width: 220px;
  padding: 18px 16px;
  border-right: 1px solid var(--wh-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.credits-rail-head {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 10px;
}
.credits-rail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: var(--wh-radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--wh-subtle);
  text-decoration: none;
}
.credits-rail-item[aria-current=page] {
  background: var(--wh-border);
  color: var(--wh-heading);
}
.credits-rail-item.not-connected {
  opacity: 0.6;
}
.credits-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: none;
  color: var(--wh-muted-foreground);
  border-radius: var(--wh-radius-md);
  cursor: pointer;
}
.credits-close:hover {
  background: var(--wh-border);
  color: var(--wh-heading);
}
.credits-pane {
  flex: 999 1 480px;
  min-width: 0;
  padding: 28px clamp(16px, 3vw, 32px) 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.credits-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
.credits-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: var(--wh-heading);
}
.credits-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.credits-balance {
  flex: 1 1 260px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.credits-balance > strong,
.credits-mini strong {
  font-size: 14px;
  color: var(--wh-heading);
}
.credits-amount {
  font-size: 34px;
  color: var(--wh-heading);
}
.credits-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--wh-muted-foreground);
}
.credits-auto {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 14px;
  color: var(--wh-heading);
}
.credits-auto small {
  display: block;
  font-size: 12px;
  color: var(--wh-muted-foreground);
  margin-top: 2px;
}
.credits-side {
  flex: 1.2 1 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.credits-mini {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--wh-muted-foreground);
}
.credits-mini > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.credits-activity {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.credits-activity-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
  font-size: 12px;
  color: var(--wh-muted-foreground);
}
.credits-activity-head h3 {
  margin: 0;
  font-size: 15px;
  color: var(--wh-heading);
}
.credits-table-wrap {
  overflow-x: auto;
}
.credits-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}
.credits-table th {
  text-align: left;
  padding: 10px 8px;
  border-top: 1px solid var(--wh-border);
  font-family: var(--wh-font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wh-muted-foreground);
}
.credits-table td {
  padding: 12px 8px;
  border-top: 1px solid var(--wh-border);
  vertical-align: top;
  color: var(--wh-heading);
  line-height: 1.45;
}
.credits-table td.mono {
  font-size: 12px;
  color: var(--wh-subtle);
}
.credits-table .credits-num {
  text-align: right;
  white-space: nowrap;
}
.credits-empty {
  color: var(--wh-muted-foreground) !important;
}
.credits-sample-row td {
  background: var(--wh-muted);
  font-size: 12px;
  color: var(--wh-subtle);
}
.credits-sample td {
  color: var(--wh-muted-foreground);
}
.credits-topoff-overlay {
  z-index: 50;
  padding-top: 140px;
}
.credits-topoff {
  width: 480px;
  max-width: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.credits-topoff-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.credits-topoff-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--wh-heading);
}
.credits-topoff-head p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--wh-subtle);
}
.credits-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.credits-presets {
  display: flex;
  gap: 10px;
}
.credits-presets button {
  flex: 1;
  min-height: 48px;
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--wh-heading);
  background: var(--wh-card);
  border: 1px solid var(--wh-border-strong);
  border-radius: var(--wh-radius-md);
  cursor: pointer;
}
.credits-presets button[aria-pressed=true] {
  border: 2px solid var(--wh-primary);
  background: var(--wh-primary-tint);
}
.credits-money {
  position: relative;
}
.credits-money span {
  position: absolute;
  left: 12px;
  top: 10px;
  color: var(--wh-muted-foreground);
}
.credits-money .field {
  padding-left: 26px;
}
.credits-pay {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--wh-border-strong);
  border-radius: var(--wh-radius-md);
  padding: 12px 14px;
  font-size: 14px;
}
.credits-pay .label {
  display: block;
  margin-bottom: 4px;
}
.credits-new {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  border-top: 1px solid var(--wh-border);
  padding-top: 16px;
  color: var(--wh-muted-foreground);
}
.credits-new strong {
  color: var(--wh-heading);
}
.credits-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
@media (max-width: 640px) {
  .credits-rail {
    max-width: none;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--wh-border);
  }
  .credits-rail-head {
    padding-bottom: 0;
  }
}

/* console/src/styles/index.css */
/*# sourceMappingURL=styles.css.map */
