@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Inter+Tight:wght@500;600;700&display=swap');

/* Workbench system: a quiet command room built from the model plaza language. */
:root {
  --wb-bg: #080d0c;
  --wb-bg-2: #0b1211;
  --wb-panel: #0d1715;
  --wb-panel-2: #101d1a;
  --wb-line: #263633;
  --wb-line-soft: rgba(38, 54, 51, .62);
  --wb-text: #edf6f3;
  --wb-muted: #9aada8;
  --wb-dim: #657873;
  --wb-mint: #11d0a2;
  --wb-mint-soft: #75eed0;
  --wb-blue: #91b8ff;
}

html,
body {
  height: 100%;
  margin: 0;
}

body.wb-page {
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 80% -16%, rgba(18, 70, 61, .2), transparent 70%),
    radial-gradient(760px 500px at 8% 82%, rgba(20, 48, 77, .14), transparent 72%),
    var(--wb-bg);
  color: var(--wb-text);
  font-family: "DM Sans", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  letter-spacing: 0;
}

.wb-page a { color: inherit; text-decoration: none; }
.wb-page button,
.wb-page textarea { font: inherit; letter-spacing: 0; }

.wb-topbar .lzp-global-shell--account {
  width: min(1320px, calc(100% - 48px));
}

.wb-topbar .lzp-global-brand-note {
  color: var(--wb-dim);
}

.wb-header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.wb-console-link,
.wb-balance,
.wb-avatar-button {
  border: 1px solid var(--wb-line);
  background: rgba(13, 23, 21, .72);
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.wb-console-link,
.wb-balance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
  color: var(--wb-muted);
  font-size: 12px;
  white-space: nowrap;
}

.wb-console-link:hover,
.wb-balance:hover {
  border-color: #47766a;
  background: var(--wb-panel-2);
  color: var(--wb-mint-soft);
}

.wb-balance strong {
  color: var(--wb-text);
  font: 500 11px/1 'IBM Plex Mono', monospace;
}

.wb-avatar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border-color: rgba(17, 208, 162, .45);
  background: rgba(17, 208, 162, .12);
  color: var(--wb-mint-soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.wb-avatar-button:hover { transform: translateY(-1px); border-color: var(--wb-mint); }
.wb-header-tools .wb-icon { color: currentColor; }

.wb-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  width: 320px;
  overflow: hidden;
  border: 1px solid var(--wb-line);
  background: rgba(13, 23, 21, .97);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease;
}

.wb-popover.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.wb-popover-balance { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border-bottom: 1px solid var(--wb-line-soft); }
.wb-popover-balance small,
.wb-popover-tile small { display: block; color: var(--wb-dim); font-size: 10px; }
.wb-popover-balance strong { display: block; margin-top: 6px; color: var(--wb-text); font: 500 22px/1 'IBM Plex Mono', monospace; }
.wb-popover-recharge { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border: 1px solid var(--wb-mint); background: var(--wb-mint); color: #07120f; font-size: 11px; font-weight: 700; }
.wb-popover-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--wb-line-soft); }
.wb-popover-tile { padding: 13px; background: var(--wb-panel); }
.wb-popover-tile strong { display: block; margin-top: 6px; color: var(--wb-text); font: 500 12px/1.2 'IBM Plex Mono', monospace; }
.wb-popover-menu { padding: 7px 0; border-top: 1px solid var(--wb-line-soft); }
.wb-popover-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 15px; color: var(--wb-muted); font-size: 12px; }
.wb-popover-menu a:hover { background: rgba(117, 238, 208, .06); color: var(--wb-text); }
.wb-popover-menu a .wb-icon:last-child { margin-left: auto; color: var(--wb-dim); }
.wb-popover-menu a.wb-danger { color: #e39d96; }

.wb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: currentColor;
  line-height: 1;
}

.wb-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.wb-icon.xs { width: 12px; height: 12px; }
.wb-icon.sm { width: 14px; height: 14px; }
.wb-icon.lg { width: 20px; height: 20px; }
.wb-icon.xl { width: 28px; height: 28px; }

body.wb-page .sales-fab-wrap {
  display: none !important;
}

.wb-layout {
  position: relative;
  display: flex;
  height: calc(100dvh - 75px);
  min-height: 0;
  isolation: isolate;
}

body.wb-page:has(.nb-bar:not(.is-leaving)) .wb-layout {
  height: calc(100dvh - 127px);
}

.wb-layout::before {
  content: '';
  position: fixed;
  inset: 75px 0 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image: linear-gradient(rgba(38, 54, 51, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(38, 54, 51, .18) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 85%);
}

body.wb-page:has(.nb-bar:not(.is-leaving)) .wb-layout::before {
  inset: 127px 0 0;
}

#wbRail {
  display: flex;
  flex: 0 0 224px;
  width: 224px;
  min-height: 0;
}

.wb-rail {
  display: flex;
  flex: 0 0 224px;
  flex-direction: column;
  width: 224px;
  height: 100%;
  box-sizing: border-box;
  min-height: 0;
  padding: 28px 14px 16px;
  border-right: 1px solid var(--wb-line-soft);
  background: rgba(8, 13, 12, .62);
}

.wb-rail-title,
.wb-conv-kicker,
.wb-kicker,
.wb-section-label {
  color: var(--wb-dim);
  font: 11px/1 'IBM Plex Mono', monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wb-rail-title { margin: 0 12px 11px; }
.wb-rail-title.secondary { margin-top: 26px; }
.wb-rail-item { display: flex; align-items: center; gap: 11px; margin: 2px 0; padding: 11px 12px; border-left: 2px solid transparent; color: var(--wb-muted); font-size: 14px; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.wb-rail-item:hover { background: rgba(117, 238, 208, .045); color: var(--wb-text); }
.wb-rail-item.active { border-left-color: var(--wb-mint); background: rgba(17, 208, 162, .08); color: var(--wb-mint-soft); }
.wb-rail-item.active .wb-icon { color: var(--wb-mint); }
.wb-rail-item .wb-icon { color: var(--wb-dim); }
.wb-rail-spacer { flex: 1; }
.wb-sales-button { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px 0; padding: 11px 10px; border: 1px solid var(--wb-line); background: transparent; color: var(--wb-muted); cursor: pointer; font-size: 14px; }
.wb-sales-button:hover { border-color: #47766a; color: var(--wb-text); background: rgba(117, 238, 208, .04); }
.wb-recharge-link { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; border: 1px solid rgba(17, 208, 162, .4); background: rgba(17, 208, 162, .08); color: var(--wb-mint-soft); font-size: 14px; }
.wb-recharge-link:hover { border-color: var(--wb-mint); background: rgba(17, 208, 162, .14); }

.wb-conversations {
  display: flex;
  flex: 0 0 206px;
  flex-direction: column;
  width: 206px;
  box-sizing: border-box;
  min-height: 0;
  padding: 28px 14px 16px;
  border-right: 1px solid var(--wb-line-soft);
  background: rgba(11, 18, 17, .66);
}

.wb-new-conversation { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border: 1px solid rgba(17, 208, 162, .4); background: rgba(17, 208, 162, .07); color: var(--wb-mint-soft); cursor: pointer; font-size: 14px; }
.wb-new-conversation:hover { border-color: var(--wb-mint); background: rgba(17, 208, 162, .12); }
.wb-conv-kicker { margin: 28px 10px 10px; }
.wb-conv-list { overflow: auto; display: flex; flex-direction: column; gap: 3px; }
.wb-conv-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 11px 10px; border: 1px solid transparent; background: transparent; color: var(--wb-muted); text-align: left; cursor: pointer; font-size: 14px; }
.wb-conv-item:hover { background: rgba(117, 238, 208, .045); color: var(--wb-text); }
.wb-conv-item.active { border-color: var(--wb-line); background: rgba(13, 23, 21, .85); color: var(--wb-text); }
.wb-conv-item .wb-icon:last-child { margin-left: auto; color: var(--wb-dim); }

.wb-main { flex: 1; min-width: 0; min-height: 0; overflow: auto; }
.wb-main-inner { width: min(1100px, calc(100% - 96px)); min-height: 100%; margin: 0 auto; padding: 50px 0 44px; }
.wb-main-inner.narrow { width: min(980px, calc(100% - 96px)); }
.wb-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--wb-mint-soft); }
.wb-kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--wb-mint); box-shadow: 0 0 0 5px rgba(17, 208, 162, .1); }
.wb-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--wb-line); }
.wb-page-heading h1 { margin: 18px 0 0; color: var(--wb-text); font: 600 clamp(40px, 5vw, 64px)/1.2 'Inter Tight', 'PingFang SC', sans-serif; letter-spacing: 0; }
.wb-page-heading h1 span { color: var(--wb-mint); }
.wb-page-heading p { max-width: 430px; margin: 0 0 2px; color: var(--wb-muted); font-size: 13px; line-height: 1.65; }
.wb-status-note { display: inline-flex; align-items: center; gap: 7px; color: var(--wb-mint-soft); font: 11px/1 'IBM Plex Mono', monospace; white-space: nowrap; }
.wb-status-note::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--wb-mint); }

.wb-chat-main { display: flex; flex-direction: column; height: 100%; min-height: 0; overflow: hidden; }
.wb-chat-empty { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; padding: 32px 32px 12px; text-align: center; }
.wb-chat-empty h1 { margin: 0; color: var(--wb-text); font: 600 clamp(30px, 3.4vw, 44px)/1.2 'Inter Tight', 'PingFang SC', sans-serif; letter-spacing: 0; }
.wb-chat-empty h1 span { color: var(--wb-mint); }
.wb-chat-empty p { margin: 14px 0 0; color: var(--wb-dim); font-size: 13px; }
.wb-quick-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.wb-quick-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 13px; border: 1px solid var(--wb-line); background: rgba(13, 23, 21, .68); color: var(--wb-muted); cursor: pointer; font-size: 14px; }
.wb-quick-chip:hover { border-color: #47766a; color: var(--wb-mint-soft); background: rgba(17, 208, 162, .06); }

.wb-composer { width: min(860px, calc(100% - 48px)); margin: 20px auto 32px; padding: 18px 18px 14px; border: 1px solid var(--wb-line); border-top: 2px solid rgba(17, 208, 162, .55); background: rgba(13, 23, 21, .92); box-shadow: 0 18px 50px rgba(0, 0, 0, .18); }
.wb-chat-main > .wb-composer { margin-bottom: 14px; }
.wb-composer:focus-within { border-color: #47766a; border-top-color: var(--wb-mint); }
.wb-composer-input { display: block; width: 100%; min-height: 54px; padding: 0; resize: none; border: 0; outline: 0; background: transparent; color: var(--wb-text); font-size: 14px; line-height: 1.6; }
.wb-composer-input::placeholder { color: var(--wb-dim); }
.wb-composer-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding-top: 14px; border-top: 1px solid var(--wb-line-soft); }
.wb-tool-select { display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 0 10px; border: 1px solid var(--wb-line); background: rgba(8, 13, 12, .72); color: var(--wb-muted); cursor: pointer; font-size: 11px; white-space: nowrap; }
.wb-tool-select:hover { border-color: #47766a; color: var(--wb-text); }
.wb-model-select img { width: 16px; height: 16px; object-fit: contain; }
.wb-tool-spacer { flex: 1; }
.wb-send-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--wb-mint); background: var(--wb-mint); color: #07120f; cursor: pointer; }
.wb-send-button:hover { background: #52e1be; border-color: #52e1be; transform: translateY(-1px); }

.wb-creative-stage { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.wb-creative-center { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 300px; padding: 48px 48px 10px; text-align: center; }
.wb-creative-center h1 { margin: 0; color: var(--wb-text); font: 600 clamp(34px, 4.2vw, 58px)/1.2 'Inter Tight', 'PingFang SC', sans-serif; letter-spacing: 0; }
.wb-creative-center h1 span { color: var(--wb-mint); }
.wb-creative-center p { margin: 14px 0 0; color: var(--wb-dim); font-size: 13px; }
.wb-creative-composer { width: min(980px, calc(100% - 96px)); margin: 0 auto 46px; }
.wb-reference-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.wb-media-slot { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border: 1px solid var(--wb-line); background: rgba(13, 23, 21, .74); color: var(--wb-dim); cursor: pointer; }
.wb-media-slot:hover { border-color: #47766a; background: var(--wb-panel-2); color: var(--wb-mint-soft); }
.wb-media-slot span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 9px; }
.wb-swap-button { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border: 1px solid var(--wb-line); background: var(--wb-bg-2); color: var(--wb-dim); cursor: pointer; }
.wb-swap-button:hover { color: var(--wb-mint-soft); border-color: #47766a; }
.wb-reference-row .wb-composer-input { flex: 1; min-height: 66px; padding: 17px 16px; border: 1px solid var(--wb-line); background: rgba(13, 23, 21, .72); }

.wb-assets-main { padding-bottom: 50px; }
.wb-tabs-bar { display: flex; align-items: center; gap: 22px; min-height: 64px; border-bottom: 1px solid var(--wb-line); }
.wb-tab { position: relative; display: inline-flex; align-items: center; height: 64px; padding: 0 2px; border: 0; background: transparent; color: var(--wb-dim); cursor: pointer; font-size: 14px; }
.wb-tab:hover { color: var(--wb-text); }
.wb-tab.active { color: var(--wb-mint-soft); }
.wb-tab.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--wb-mint); }
.wb-filter-row { display: flex; align-items: center; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--wb-line-soft); }
.wb-filter-button { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 11px; border: 1px solid var(--wb-line); background: transparent; color: var(--wb-muted); cursor: pointer; font-size: 14px; }
.wb-filter-button:hover { color: var(--wb-text); border-color: #47766a; }
.wb-filter-button.active { color: var(--wb-mint-soft); border-color: rgba(17, 208, 162, .5); background: rgba(17, 208, 162, .07); }
.wb-empty-state { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; min-height: 410px; color: var(--wb-dim); text-align: center; }
.wb-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 80px; border: 1px solid var(--wb-line); background: rgba(13, 23, 21, .72); color: var(--wb-dim); }
.wb-empty-state p { margin: 16px 0 0; font-size: 13px; }

.wb-chat-main {
  flex: 1;
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(117, 238, 208, .025), transparent 22%),
    transparent;
}

.wb-chat-empty {
  padding: 48px 32px 18px;
}

.wb-chat-empty h1 {
  font: 600 clamp(28px, 2.7vw, 36px)/1.2 "Inter Tight", "PingFang SC", sans-serif;
}

.wb-chat-empty p {
  margin-top: 12px;
}

.wb-chat-empty .wb-quick-actions {
  margin-top: 28px;
}

.wb-chat-empty .wb-quick-chip {
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  text-align: center;
}

.wb-chat-board {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1040px, calc(100% - 72px));
  margin: 0 auto;
  padding: 44px 0 16px;
  flex: 1;
  min-height: 0;
}

.wb-workbench-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wb-line);
  color: var(--wb-dim);
  font-size: 12px;
}

.wb-workbench-status strong {
  color: var(--wb-text);
  font-weight: 600;
}

.wb-status-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wb-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--wb-line);
  background: rgba(13, 23, 21, .7);
  color: var(--wb-muted);
  white-space: nowrap;
}

.wb-status-chip img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.wb-chat-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: end;
  gap: 48px;
  padding: 48px 0 0;
}

.wb-chat-title h1,
.wb-creative-heading h1 {
  margin: 14px 0 0;
  color: var(--wb-text);
  font: 600 clamp(44px, 5.2vw, 64px)/1.2 "Inter Tight", "PingFang SC", sans-serif;
  letter-spacing: 0;
  text-wrap: balance;
}

.wb-chat-title h1 span,
.wb-creative-heading h1 span,
.wb-assets-main .wb-page-heading h1 span {
  color: var(--wb-mint);
}

.wb-chat-title p,
.wb-creative-heading p {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--wb-muted);
  font-size: 15px;
  line-height: 1.4;
}

.wb-prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.wb-prompt-grid .wb-quick-chip {
  justify-content: flex-start;
  min-height: 62px;
  padding: 13px 14px;
  border-radius: 0;
  text-align: left;
}

.wb-prompt-grid .wb-quick-chip strong {
  display: block;
  color: var(--wb-text);
  font-size: 13px;
  line-height: 1.4;
}

.wb-prompt-grid .wb-quick-chip small {
  display: block;
  margin-top: 4px;
  color: var(--wb-dim);
  font-size: 11px;
  line-height: 1.4;
}

.wb-chat-aside {
  border-left: 1px solid var(--wb-line);
  padding-left: 24px;
}

.wb-aside-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--wb-line-soft);
}

.wb-aside-row:first-child {
  border-top: 1px solid var(--wb-line-soft);
}

.wb-aside-row span {
  color: var(--wb-dim);
  font-size: 12px;
  line-height: 1.4;
}

.wb-aside-row strong {
  color: var(--wb-text);
  font: 500 13px/1.4 "IBM Plex Mono", monospace;
  text-align: right;
}

.wb-composer {
  border-radius: 0;
}

.wb-composer-input {
  line-height: 1.4;
}

.wb-tool-select,
.wb-send-button,
.wb-media-slot,
.wb-swap-button,
.wb-filter-button,
.wb-tab,
.wb-new-conversation,
.wb-sales-button,
.wb-recharge-link {
  border-radius: 4px;
}

.wb-creative-stage {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: auto;
}

.wb-creative-stage .wb-creative-center {
  flex: 1;
  min-height: 280px;
  padding: 48px 48px 12px;
}

.wb-creative-stage .wb-creative-center h1 {
  font: 600 clamp(28px, 3vw, 36px)/1.2 "Inter Tight", "PingFang SC", sans-serif;
}

.wb-creative-stage .wb-creative-center p {
  margin-top: 12px;
  line-height: 1.4;
}

.wb-creative-shell {
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(1120px, calc(100% - 88px));
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 32px 0 24px;
}

.wb-creative-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--wb-line);
}

.wb-creative-heading h1 {
  margin-top: 12px;
}

.wb-mode-stack {
  min-width: 270px;
  border-left: 1px solid var(--wb-line);
  padding-left: 24px;
}

.wb-mode-stack .wb-status-chip {
  width: 100%;
  justify-content: space-between;
  margin-bottom: 8px;
}

.wb-creative-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 278px;
  align-items: stretch;
  gap: 24px;
  padding: 20px 0;
}

.wb-preview-surface {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--wb-line);
  background:
    linear-gradient(rgba(117, 238, 208, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 238, 208, .035) 1px, transparent 1px),
    rgba(9, 15, 14, .74);
  background-size: 28px 28px;
}

.wb-preview-surface::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(8, 13, 12, .82), transparent);
}

.wb-preview-inner {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: inherit;
  color: var(--wb-dim);
  text-align: center;
}

.wb-preview-inner strong {
  display: block;
  margin-top: 12px;
  color: var(--wb-text);
  font-size: 15px;
  line-height: 1.4;
}

.wb-preview-inner span {
  display: block;
  margin-top: 6px;
  color: var(--wb-dim);
  font-size: 12px;
  line-height: 1.4;
}

.wb-parameter-panel {
  border-top: 1px solid var(--wb-line);
  border-bottom: 1px solid var(--wb-line);
}

.wb-parameter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid var(--wb-line-soft);
  color: var(--wb-muted);
  font-size: 12px;
  line-height: 1.4;
}

.wb-parameter-row:last-child {
  border-bottom: 0;
}

.wb-parameter-row strong {
  color: var(--wb-text);
  font: 500 12px/1.4 "IBM Plex Mono", monospace;
  white-space: nowrap;
}

.wb-creative-composer {
  width: min(880px, calc(100% - 40px));
  margin: 24px auto 32px;
}

.wb-reference-row .wb-composer-input {
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1.4;
}

.wb-media-slot {
  width: 62px;
  height: 62px;
}

.wb-media-slot span {
  font-size: 10px;
  line-height: 1.4;
}

.wb-swap-button {
  width: 28px;
  height: 28px;
}

.wb-assets-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: auto;
}

.wb-assets-main .wb-page-heading {
  align-items: start;
  padding-bottom: 24px;
}

.wb-assets-main .wb-page-heading p {
  max-width: 470px;
  line-height: 1.4;
}

.wb-tabs-bar {
  min-height: 64px;
  gap: 22px;
  padding: 24px 32px 0;
  border-bottom: 1px solid var(--wb-line-soft);
}

.wb-tab {
  height: 40px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  font-size: 14px;
}

.wb-tab.active {
  border-color: transparent;
  background: transparent;
}

.wb-tab.active::after {
  display: block;
}

.wb-filter-row {
  gap: 8px;
  margin-top: 0;
  padding: 20px 32px;
  border-top: 0;
  border-bottom: 1px solid var(--wb-line-soft);
}

.wb-filter-button {
  min-height: 36px;
  padding: 0 13px;
  font-size: 14px;
}

.wb-empty-state {
  flex: 1;
  min-height: 360px;
  margin-top: 0;
  border-top: 0;
  border-bottom: 0;
  background: transparent;
}

.wb-empty-icon {
  width: 92px;
  height: 92px;
  border-radius: 0;
  background: rgba(7, 18, 15, .65);
}

body.wb-page .wb-sales-button,
body.wb-page .wb-recharge-link,
body.wb-page .wb-tab,
body.wb-page .wb-filter-button,
body.wb-page .wb-rail-item,
body.wb-page .wb-new-conversation,
body.wb-page .wb-conv-item,
body.wb-page .wb-quick-chip {
  font-size: 14px;
}

body.wb-page .wb-composer-tools .wb-tool-select {
  font-size: 13px;
}

@media (max-width: 1080px) {
  .wb-topbar .lzp-global-brand-note { display: none; }
  .wb-conversations { flex-basis: 206px; width: 206px; }
  .wb-main-inner, .wb-main-inner.narrow { width: min(100% - 64px, 980px); }
  .wb-chat-board { width: min(100% - 56px, 980px); }
  .wb-chat-hero { grid-template-columns: 1fr; gap: 28px; }
  .wb-chat-aside { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; padding-left: 0; border-left: 0; }
  .wb-aside-row { border-top: 1px solid var(--wb-line-soft); }
  .wb-creative-shell, .wb-assets-main { width: min(100% - 64px, 1040px); }
  .wb-assets-main { width: auto; padding: 0; }
  .wb-creative-grid { grid-template-columns: 1fr; }
  .wb-parameter-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; border-bottom: 0; }
  .wb-parameter-row { min-height: 48px; border-top: 1px solid var(--wb-line); }
}

@media (max-width: 900px) {
  #wbRail { flex-basis: 74px; width: 74px; }
  .wb-rail { flex-basis: 74px; width: 74px; padding: 24px 10px 14px; }
  .wb-rail-title { margin: 0 0 10px; padding: 0; text-align: center; writing-mode: vertical-rl; letter-spacing: .2em; }
  .wb-rail-title.secondary { margin-top: 24px; }
  .wb-rail-item { justify-content: center; margin: 2px 0; padding: 11px 8px; border-left: 0; border-bottom: 2px solid transparent; }
  .wb-rail-item.active { border-bottom-color: var(--wb-mint); border-left-color: transparent; }
  .wb-rail-item span:not(.wb-icon) { display: none; }
  .wb-sales-button span { display: none; }
  .wb-recharge-link { font-size: 0; }
  .wb-recharge-link .wb-icon { margin: auto; }
  .wb-conversations { flex-basis: 206px; width: 206px; }
  .wb-header-tools .wb-console-link { display: none; }
}

@media (max-width: 680px) {
  .wb-topbar .lzp-global-shell { width: min(100% - 30px, 1440px); }
  .wb-topbar .lzp-global-actions { gap: 8px; }
  .wb-balance { display: none; }
  .wb-layout { height: calc(100dvh - 67px); min-height: 0; }
  body.wb-page:has(.nb-bar:not(.is-leaving)) .wb-layout { height: calc(100dvh - 117px); }
  .wb-layout::before { inset: 67px 0 0; }
  body.wb-page:has(.nb-bar:not(.is-leaving)) .wb-layout::before { inset: 117px 0 0; }
  #wbRail { display: none; }
  .wb-rail { display: none; }
  .wb-conversations { flex-basis: 176px; width: 176px; padding: 20px 10px 12px; }
  .wb-main, .wb-chat-main { min-height: 0; }
  .wb-main-inner, .wb-main-inner.narrow { width: calc(100% - 34px); padding-top: 32px; }
  .wb-chat-board { width: calc(100% - 34px); padding-top: 30px; }
  .wb-workbench-status { align-items: flex-start; flex-direction: column; }
  .wb-prompt-grid { grid-template-columns: 1fr; }
  .wb-chat-aside { grid-template-columns: 1fr; }
  .wb-page-heading { display: block; }
  .wb-page-heading h1 { font-size: 36px; }
  .wb-page-heading p { margin-top: 18px; }
  .wb-creative-shell, .wb-assets-main { width: calc(100% - 34px); padding-top: 32px; }
  .wb-assets-main { width: auto; padding: 0; }
  .wb-creative-heading { grid-template-columns: 1fr; }
  .wb-mode-stack { min-width: 0; padding-left: 0; border-left: 0; }
  .wb-parameter-panel { display: block; }
  .wb-creative-center { padding: 34px 20px 10px; }
  .wb-creative-center h1 { font-size: 40px; }
  .wb-creative-composer { width: calc(100% - 34px); margin-bottom: 28px; }
  .wb-creative-shell .wb-creative-composer { width: 100%; margin-bottom: 0; }
  .wb-composer { width: calc(100% - 34px); }
  .wb-chat-main > .wb-composer { width: calc(100% - 34px); }
  .wb-reference-row { align-items: flex-start; flex-wrap: wrap; }
  .wb-reference-row .wb-composer-input { flex-basis: calc(100% - 76px); }
  .wb-tool-spacer { display: none; }
  .wb-send-button { margin-left: auto; }
  .wb-empty-state { min-height: 340px; }
}

@media (max-width: 520px) {
  .wb-conversations { display: none; }
  .wb-quick-actions { gap: 6px; }
  .wb-quick-chip { padding: 0 10px; }
  .wb-tabs-bar { gap: 18px; }
}
