/* A01 customer workspace. Independent layout; no overrides of the native SPA. */
.ws-app, .ws-shell {
  --ws-bg: #fbfbfd;
  --ws-surface: #ffffff;
  --ws-text: #272a35;
  --ws-muted: #6b6e7c;
  --ws-line: #e7e7ee;
  --ws-accent: #454957;
  --ws-accent-hover: #30333f;
  --ws-tint: #eeeefa;
  --ws-danger: #a94747;
  --ws-shadow: 0 5px 24px #34364705;
  margin: 0;
  min-height: 100svh;
  color: var(--ws-text);
  background: var(--ws-bg);
  background-image: radial-gradient(ellipse 500px 240px at 72% 0%, #eae4f51c, transparent), radial-gradient(ellipse 400px 200px at 96% 12%, #f6e5df20, transparent);
  font: 14px/1.65 Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
}
.ws-app *, .ws-app *::before, .ws-app *::after { box-sizing: border-box; }
.ws-app [hidden] { display: none !important; }
:where(.ws-app) :is(h1,h2,h3,h4,p) { margin: 0; }
:where(.ws-app) :is(button,input,select,textarea) { font: inherit; }
.ws-app button, .ws-app a { -webkit-tap-highlight-color: transparent; }
:where(.ws-app) a { color: inherit; text-decoration: none; }
.ws-app button { cursor: pointer; }
.ws-app button:disabled, .ws-app [aria-disabled="true"] { cursor: not-allowed; opacity: .5; }
.ws-app :focus-visible { outline: 3px solid #7a78ad; outline-offset: 3px; }
.ws-app ::selection { background: #e7e3f7; color: #30333f; }
.ws-app svg { flex-shrink: 0; }

.ws-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 220px;
  padding: 32px 18px 24px;
  background: var(--ws-surface);
  border-right: 1px solid var(--ws-line);
}
.ws-sidebar-top { padding: 0 14px 30px; }
.ws-sidebar-top strong { display: block; font-size: 16px; font-weight: 650; letter-spacing: -.25px; }
.ws-sidebar-top .ws-muted { margin-top: 5px; font-size: 12px; }
.ws-sidebar > .ws-eyebrow { padding: 0 14px 24px; }
.ws-nav { display: flex; flex-direction: column; gap: 7px; }
.ws-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--ws-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s, background-color .15s;
}
.ws-nav-item svg { width: 18px; height: 18px; }
.ws-nav-item:hover { background: #f6f6fa; color: var(--ws-text); }
.ws-nav-item[aria-current="page"] { color: var(--ws-accent); background: var(--ws-tint); font-weight: 650; }
.ws-sidebar-footer { margin-top: auto; padding: 24px 14px 0; font-size: 12px; color: var(--ws-muted); }
.ws-admin-nav { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ws-line); }
.ws-admin-nav .ws-button { width: 100%; font-size: 12px; }
.ws-tool-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ws-tool-card .ws-button { margin-top: auto; }
.ws-tool-card .ws-muted { font-size: 13px; }
.ws-management-section { margin-top: 30px; }
.ws-main { min-width: 0; margin-left: 220px; }
.ws-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  padding: 18px 40px;
  background: var(--ws-surface);
  border-bottom: 1px solid var(--ws-line);
}
.ws-topbar > :first-child { min-width: 0; }
.ws-topbar strong { font-size: 15px; font-weight: 600; }
.ws-topbar .ws-actions { gap: 18px; }
.ws-account { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 13px; }
.ws-avatar { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--ws-tint); color: var(--ws-accent); font-weight: 650; }
.ws-page { width: 100%; max-width: 1240px; margin: 0 auto; padding: 38px 40px 56px; }
.ws-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.ws-page-head > :first-child { min-width: 0; }
.ws-eyebrow { color: var(--ws-accent); font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.ws-title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3; font-weight: 650; letter-spacing: -.85px; overflow-wrap: anywhere; }
.ws-eyebrow + .ws-title { margin-top: 10px; }
.ws-title + .ws-muted { margin-top: 12px; }
.ws-muted { color: var(--ws-muted); }
.ws-page-head .ws-muted { max-width: 680px; font-size: 14px; line-height: 1.85; }
.ws-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ws-overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.ws-stack { display: grid; gap: 24px; align-content: start; min-width: 0; }
.ws-card { min-width: 0; padding: 24px; border: 1px solid var(--ws-line); border-radius: 16px; background: var(--ws-surface); box-shadow: var(--ws-shadow); }
.ws-card-title { font-size: 16px; font-weight: 650; line-height: 1.5; letter-spacing: -.2px; }
.ws-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ws-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ws-section-head :is(h2,h3) { font-size: 17px; font-weight: 650; line-height: 1.5; letter-spacing: -.2px; }
.ws-section-head .ws-muted { font-size: 12px; }
.ws-section-head a { color: var(--ws-accent); font-size: 12px; font-weight: 550; }

.ws-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--ws-line);
  border-radius: 9px;
  background: var(--ws-surface);
  color: var(--ws-text);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  text-align: center;
  transition: background-color .15s, border-color .15s, color .15s;
}
.ws-button svg { width: 16px; height: 16px; }
.ws-button:hover:not(:disabled) { background: #f5f5f9; border-color: #d4d2e5; }
.ws-button.primary { border-color: var(--ws-accent); background: var(--ws-accent); color: #fff; }
.ws-button.primary:hover:not(:disabled) { background: var(--ws-accent-hover); border-color: var(--ws-accent-hover); }
.ws-button.secondary { background: var(--ws-surface); color: var(--ws-text); }
.ws-button.ghost { border-color: transparent; background: transparent; color: var(--ws-muted); }
.ws-button.ghost:hover:not(:disabled) { background: var(--ws-tint); color: var(--ws-accent); }
.ws-button.danger { color: var(--ws-danger); }
.ws-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ws-pill { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 3px 8px; border: 1px solid #dfdcee; border-radius: 6px; background: var(--ws-tint); color: var(--ws-accent); font-size: 10px; line-height: 1.6; font-weight: 600; }
.ws-pill.neutral { background: #f5f5f8; border-color: var(--ws-line); color: var(--ws-muted); }
.ws-pill.warning { background: #fcf5e9; border-color: #eedfbd; color: #946124; }
.ws-pill.danger { background: #fbeeee; border-color: #efd4d4; color: var(--ws-danger); }
.ws-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; background: var(--ws-tint); color: var(--ws-accent); }
.ws-icon svg { width: 19px; height: 19px; }

.ws-start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ws-start-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--ws-line);
  border-radius: 14px;
  background: var(--ws-surface);
  text-align: left;
  transition: border-color .15s, box-shadow .15s;
}
a.ws-start-card:hover, button.ws-start-card:hover { border-color: #c9c5e2; box-shadow: 0 7px 24px #34364708; }
.ws-start-card :is(h2,h3,strong) { font-size: 15px; line-height: 1.5; font-weight: 650; }
.ws-start-card .ws-muted, .ws-start-card p { font-size: 12px; line-height: 1.8; }
.ws-start-card .ws-start-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; color: var(--ws-accent); font-size: 12px; font-weight: 600; }
.ws-start-link svg { width: 14px; height: 14px; }
.ws-balance { display: flex; flex-direction: column; gap: 18px; }
.ws-balance .ws-stat-value { font-size: 34px; line-height: 1.25; font-weight: 600; letter-spacing: -1px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ws-stat-label { color: var(--ws-muted); font-size: 12px; }
.ws-stat-label + .ws-stat-value { margin-top: 8px; }
.ws-balance .ws-button { width: 100%; }
.ws-balance .ws-kv { padding-top: 14px; border-top: 1px solid var(--ws-line); }
.ws-kv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 18px 0; font-size: 12px; }
.ws-kv > div { display: grid; grid-template-columns: minmax(90px, .65fr) minmax(0, 1fr); align-items: baseline; gap: 12px 18px; padding-block: 12px; border-bottom: 1px solid var(--ws-line); }
.ws-kv > div:last-child { border-bottom: 0; }
.ws-kv dt { color: var(--ws-muted); }
.ws-kv dd { margin: 0; text-align: right; font-weight: 550; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
div.ws-kv { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 0; }
div.ws-kv > span { color: var(--ws-muted); }
div.ws-kv > code { min-width: 0; overflow-wrap: anywhere; font-size: 12px; }
div.ws-kv > .ws-button { margin-left: auto; }

.ws-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.ws-toolbar > .ws-field { flex: 1 1 240px; margin: 0; }
.ws-toolbar > .ws-field + .ws-field { flex: 0 1 180px; }
.ws-field { display: grid; gap: 8px; margin-bottom: 18px; min-width: 0; }
.ws-field label, label.ws-field { font-size: 12px; font-weight: 600; color: var(--ws-text); }
.ws-field :is(input,select,textarea), input.ws-field, select.ws-field, textarea.ws-field {
  width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px;
  border: 1px solid #d6d7e1; border-radius: 9px; background: #fff; color: var(--ws-text);
  font-size: 13px; font-weight: 400; line-height: 1.6;
}
.ws-field textarea, textarea.ws-field { min-height: 108px; resize: vertical; }
.ws-field :is(input,textarea)::placeholder { color: #818391; }
.ws-field :is(input,select,textarea):focus { outline: 2px solid #7a78ad40; outline-offset: 1px; border-color: var(--ws-accent); }
.ws-field :is(input,select,textarea):disabled { background: #f5f5f8; color: #818391; cursor: not-allowed; }
.ws-field :is(input,select,textarea)[aria-invalid="true"] { border-color: var(--ws-danger); }
.ws-field small { font-size: 11px; font-weight: 400; color: var(--ws-muted); }
.ws-field :is(input[type="checkbox"],input[type="radio"]) { width: 16px; min-height: 16px; height: 16px; padding: 0; accent-color: var(--ws-accent); }

.ws-model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ws-model-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--ws-line); border-radius: 16px; background: var(--ws-surface); box-shadow: var(--ws-shadow); }
.ws-model-card .ws-card-top { align-items: flex-start; }
.ws-model-card :is(h2,h3) { font-size: 17px; line-height: 1.45; font-weight: 650; letter-spacing: -.3px; overflow-wrap: anywhere; }
.ws-model-card .ws-muted { font-size: 12px; line-height: 1.8; }
.ws-model-card > .ws-muted { margin: 10px 0 20px; }
.ws-model-card .ws-price { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--ws-line); }
.ws-model-card .ws-actions { margin-top: 20px; }
.ws-model-card .ws-actions .ws-button { flex: 1; }
.ws-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 20px; font-weight: 600; line-height: 1.45; font-variant-numeric: tabular-nums; }
.ws-price strong { font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -.5px; }
.ws-price :is(small,span) { font-size: 11px; font-weight: 400; color: var(--ws-muted); }
.ws-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 18px; margin-top: auto; border-top: 1px solid var(--ws-line); }
.ws-price-grid .ws-price { padding: 0; border: 0; }
.ws-price-grid .ws-stat-label { margin-bottom: 6px; }
.ws-price-grid .ws-price strong { font-size: 21px; }

.ws-record-list { display: grid; }
.ws-record { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 14px; align-items: center; gap: 16px; width: 100%; padding: 18px 0; border: 0; border-top: 1px solid var(--ws-line); background: transparent; color: var(--ws-text); font: inherit; text-align: left; }
.ws-record:first-child { border-top: 0; padding-top: 3px; }
.ws-record:last-child { padding-bottom: 0; }
.ws-record > :first-child { min-width: 0; }
.ws-record strong { display: block; font-size: 13px; line-height: 1.6; font-weight: 600; overflow-wrap: anywhere; }
.ws-record .ws-muted { font-size: 11px; }
.ws-record-cost { min-width: 76px; text-align: right; font-variant-numeric: tabular-nums; }
.ws-record-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; font-variant-numeric: tabular-nums; }
.ws-code { max-width: 100%; margin: 16px 0; padding: 20px; overflow: auto; border: 1px solid var(--ws-line); border-radius: 12px; background: #f7f7fa; color: #55566f; font: 12px/1.9 "SFMono-Regular", Consolas, "Liberation Mono", monospace; tab-size: 2; white-space: pre; }
.ws-code code { font: inherit; }
.ws-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 190px; padding: 36px 24px; text-align: center; color: var(--ws-muted); }
.ws-empty strong { color: var(--ws-text); font-size: 15px; font-weight: 600; }
.ws-empty p { max-width: 340px; font-size: 12px; line-height: 1.85; }
.ws-empty .ws-button { margin-top: 4px; }
.ws-notice { padding: 14px 16px; border: 1px solid #e3e1ee; border-radius: 10px; background: #f6f5fa; color: #68677c; font-size: 12px; line-height: 1.85; }
.ws-notice.warning { border-color: #eedfbd; background: #fcf7ee; color: #815f2d; }
.ws-loading { color: var(--ws-muted); font-size: 13px; }

.ws-modal-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 28px; background: #272a3540; backdrop-filter: blur(3px); }
.ws-modal { position: fixed; inset: 0; display: flex; flex-direction: column; width: min(640px, calc(100% - 56px)); height: fit-content; max-height: calc(100svh - 56px); margin: auto; padding: 0; overflow: hidden; background: var(--ws-surface); color: var(--ws-text); border: 1px solid var(--ws-line); border-radius: 20px; box-shadow: 0 24px 100px #272a3524; }
dialog.ws-modal:not([open]) { display: none; }
.ws-modal::backdrop { background: #272a3540; backdrop-filter: blur(3px); }
.ws-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-shrink: 0; padding: 24px 28px 20px; border-bottom: 1px solid var(--ws-line); }
.ws-modal-head :is(h2,h3) { font-size: 21px; line-height: 1.4; font-weight: 650; letter-spacing: -.4px; }
.ws-modal-head .ws-muted { margin-top: 6px; font-size: 12px; }
.ws-modal-head .ws-button { flex-shrink: 0; min-width: 36px; min-height: 36px; padding: 7px; }
.ws-modal-body { min-height: 0; padding: 24px 28px 28px; overflow-y: auto; overscroll-behavior: contain; }
.ws-modal-body > .ws-card { margin-block: 18px; }
.ws-modal-body > .ws-actions { margin-top: 18px; }
.ws-modal-body > .ws-muted { font-size: 12px; line-height: 1.85; }
.ws-modal-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; flex-shrink: 0; padding: 18px 28px; border-top: 1px solid var(--ws-line); }
.ws-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Classes used by the independent workspace templates. */
.ws-wordmark { display: block; padding: 0 14px 30px; font-size: 20px; line-height: 1.5; font-weight: 650; letter-spacing: -.5px; }
.ws-wordmark span { display: block; margin-top: 6px; color: var(--ws-muted); font-size: 11px; font-weight: 400; letter-spacing: .2px; }
.ws-sidebar-bottom { display: grid; gap: 9px; margin-top: auto; padding: 24px 14px 0; color: var(--ws-muted); font-size: 11px; }
.ws-sidebar-bottom p { padding-bottom: 2px; }
.ws-sidebar-bottom a:hover { color: var(--ws-accent); }
.ws-profile-link { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 7px 12px; border: 1px solid var(--ws-line); border-radius: 8px; color: var(--ws-text); font-size: 12px; }
.ws-profile-link:hover { border-color: #d4d2e5; background: var(--ws-tint); }
.ws-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 24px; margin-top: 24px; }
.ws-access-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; gap: 24px; }
.ws-account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
.ws-account-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.ws-account-summary > .ws-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ws-card > h2 { font-size: 18px; font-weight: 650; line-height: 1.5; letter-spacing: -.25px; }
.ws-card > .ws-eyebrow + h2, .ws-card > .ws-muted { margin-top: 10px; }
.ws-card > .ws-button { margin-top: 18px; }
.ws-card > .ws-eyebrow + .ws-section-head { margin-top: 10px; }
.ws-section-head .ws-eyebrow { margin-bottom: 6px; }
.ws-small { font-size: 11px; line-height: 1.85; }
.ws-text-link { color: var(--ws-accent); font-size: 12px; font-weight: 550; }
.ws-text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.ws-balance-value, .ws-stat-value { display: block; color: var(--ws-text); font-size: 34px; font-weight: 600; line-height: 1.25; letter-spacing: -1px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ws-balance > .ws-muted, .ws-balance > .ws-button { margin: 0; }
.ws-small-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; color: var(--ws-accent); background: var(--ws-tint); }
.ws-small-icon svg { width: 18px; height: 18px; }
.ws-connect > .ws-small-icon { margin-bottom: 16px; }
.ws-start-card { min-height: 256px; padding: 20px; gap: 10px; }
.ws-start-card p { color: var(--ws-muted); }
.ws-start-art { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; flex-shrink: 0; overflow: hidden; margin-bottom: 5px; border-radius: 10px; background: #f1eef9; color: #7b719d; }
.ws-start-art-icon { position: absolute; z-index: 0; inset: 0; display: grid; place-items: center; }
.ws-start-art-icon svg { width: 31px; height: 31px; }
.ws-start-slide { position: absolute; z-index: 1; inset: 0; display: block; opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.ws-start-slide.is-active { opacity: 1; }
.ws-start-slide.is-media img, .ws-start-slide.is-media video { display: block; width: 100%; height: 100%; object-fit: cover; background: #e9e6f3; }
.ws-start-slide.is-media.is-active img { animation: ws-start-drift 6.5s ease-out both; }
@keyframes ws-start-drift { from { transform: scale(1.04); } to { transform: scale(1); } }
.ws-start-caption { position: absolute; left: 10px; bottom: 9px; z-index: 2; display: flex; flex-direction: column; gap: 1px; max-width: calc(100% - 64px); padding: 5px 9px; border-radius: 9px; background: #ffffffd6; color: #2f2d3a; text-align: left; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 2px 10px #2f2d3a14; }
.ws-start-caption strong { font-size: 11px; line-height: 1.4; font-weight: 650; }
.ws-start-caption small { font-size: 10px; line-height: 1.4; color: #6b677a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-start-slide.is-code { padding: 9px 11px 10px; background: #f8f6f0; color: #3b3a44; text-align: left; -webkit-mask-image: linear-gradient(#000 74%, #0000 100%); mask-image: linear-gradient(#000 74%, #0000 100%); }
.ws-start-code-lang { position: absolute; top: 8px; right: 9px; z-index: 2; padding: 2px 7px; border-radius: 999px; background: #ffffffd0; color: #978453; font-size: 9px; font-weight: 650; letter-spacing: .2px; }
.ws-start-code { margin: 0; overflow: hidden; font: 500 9.5px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 2; color: inherit; }
@media (min-width: 1500px) { .ws-start-code { font-size: 10.5px; } }
.ws-start-code code { font: inherit; }
.ws-start-code .k { color: #7a5cc4; font-weight: 650; }
.ws-start-code .s { color: #2f7d67; }
.ws-start-code .c { color: #9a968c; font-style: italic; }
.ws-carousel-dots { position: absolute; z-index: 3; right: 12px; bottom: 11px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 999px; background: #ffffffb8; color: #3b3a44; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ws-carousel-dot { display: block; width: 5px; height: 5px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; opacity: .45; cursor: pointer; transition: width .2s ease, opacity .2s ease, background .2s ease; }
.ws-carousel-dot.is-active { width: 14px; border-radius: 4px; background: currentColor; opacity: .8; }
.ws-carousel-dot:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .ws-start-slide, .ws-carousel-dot { transition: none; }
  .ws-start-slide.is-media.is-active img { animation: none; }
}
.ws-start-card.video .ws-start-art { background: #f0eff7; color: #82729a; }
.ws-start-card.text .ws-start-art { background: #f5f2e9; color: #978453; }
.ws-start-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding-top: 8px; margin-top: auto; color: var(--ws-accent); font-size: 12px; font-weight: 600; }
.ws-inline-guide { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 28px; padding: 20px 0 0; border-top: 1px solid var(--ws-line); color: var(--ws-muted); font-size: 11px; }
.ws-inline-guide > span:first-child { color: var(--ws-text); font-weight: 600; }
.ws-inline-guide a { color: var(--ws-accent); }
.ws-record-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--ws-line); border-radius: 10px; background: #f8f8fc; color: #878399; }
.ws-record-icon svg { width: 18px; height: 18px; }
.ws-record-main { min-width: 0; }
.ws-record-main small, .ws-record-meta small { display: block; color: var(--ws-muted); font-size: 10px; line-height: 1.7; }
.ws-record-main small { margin-top: 3px; }
.ws-record > :last-child { color: #9b9aaa; font-size: 13px; }
.ws-record:hover { background: #fafafd; }
.ws-label { display: block; margin: 22px 0 8px; font-size: 11px; font-weight: 600; color: var(--ws-muted); }
.ws-copy-field { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
.ws-copy-field .ws-field { flex: 1; min-width: 0; margin: 0; font-size: 12px; }
.ws-copy-field .ws-button { min-height: 44px; flex-shrink: 0; }
.ws-key-list { display: grid; margin-top: 4px; }
.ws-key-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--ws-line); }
.ws-key-item > div { min-width: 0; }
.ws-key-item strong { display: block; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.ws-key-item small { display: block; margin-top: 3px; color: var(--ws-muted); font-size: 10px; }
.ws-key-item > span { flex-shrink: 0; color: var(--ws-muted); font-size: 11px; }
.ws-session { display: flex; align-items: flex-start; gap: 13px; padding: 16px 0; border-top: 1px solid var(--ws-line); }
.ws-session > div { min-width: 0; }
.ws-session strong { font-size: 13px; font-weight: 600; }
.ws-session .ws-muted, .ws-session small { display: block; margin-top: 3px; color: var(--ws-muted); font-size: 11px; overflow-wrap: anywhere; }
.ws-search-label { flex: 1 1 260px; max-width: 400px; min-width: 0; }
.ws-search-label .ws-field { margin: 0; }
.ws-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; color: var(--ws-muted); font-size: 12px; }
.ws-toast { position: fixed; z-index: 150; left: 50%; bottom: 28px; transform: translateX(-50%); max-width: min(420px, calc(100vw - 40px)); padding: 12px 20px; border: 1px solid #dfdcea; border-radius: 10px; box-shadow: 0 8px 32px #34364714; background: #fff; color: var(--ws-accent); text-align: center; font-size: 13px; }
.ws-skip { position: fixed; z-index: 200; top: -100px; left: 16px; padding: 10px 18px; border-radius: 8px; background: var(--ws-accent); color: #fff; }
.ws-skip:focus { top: 12px; }
.ws-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Model gallery markup keeps price and two-action footer aligned between cards. */
[data-model-view] > .ws-toolbar { align-items: flex-end; }
[data-model-summary] { margin-bottom: 16px; font-size: 12px; }
[data-model-results] { margin-bottom: 24px; }
[data-model-results] + .ws-muted { font-size: 11px; line-height: 1.85; }
.ws-model-card > .ws-actions:first-child { margin: 0 0 14px; }
.ws-model-card > .ws-muted { margin: 7px 0; }
.ws-model-card > .ws-muted code { font-size: 11px; overflow-wrap: anywhere; }
.ws-model-card > div:has(> .ws-price) { margin-top: auto; padding-top: 18px; }
.ws-model-card > div > .ws-price { margin-top: 0; padding-top: 16px; }
.ws-model-card > div > .ws-price + .ws-muted { margin-top: 5px; font-size: 11px; }

@media (max-width: 1200px) {
  .ws-topbar { padding-inline: 28px; }
  .ws-page { padding-inline: 28px; }
  .ws-overview-grid { grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; }
  .ws-dashboard-grid { grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; }
  .ws-start-grid { gap: 12px; }
  .ws-start-card { padding: 18px; }
  .ws-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
  .ws-overview-grid { grid-template-columns: minmax(0, 1fr); }
  .ws-dashboard-grid, .ws-access-grid { grid-template-columns: minmax(0, 1fr); }
  .ws-start-card { min-height: 180px; padding: 20px; }
  .ws-balance { gap: 16px; }
  .ws-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ws-admin-nav { margin-top: 0; padding-block: 8px; }
  .ws-model-filters { display: grid; width: 100%; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; }
  .ws-model-filters .ws-button { padding-inline: 4px; gap: 4px; font-size: 12px; white-space: nowrap; }
  .ws-model-filters [data-model-count] { font-size: 10px; }
  .ws-sidebar { position: relative; inset: auto; width: 100%; padding: 14px 16px 0; border-right: 0; border-bottom: 1px solid var(--ws-line); }
  .ws-sidebar-top { padding: 0 4px 10px; }
  .ws-sidebar-top strong { font-size: 14px; }
  .ws-sidebar-top .ws-muted { margin-top: 2px; }
  .ws-sidebar > .ws-eyebrow { padding: 0 4px 10px; }
  .ws-wordmark { padding: 0 4px 12px; font-size: 16px; }
  .ws-wordmark span { display: inline; margin-left: 12px; font-size: 10px; }
  .ws-sidebar-bottom { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 0; padding: 0 4px 12px; font-size: 10px; }
  .ws-sidebar-bottom p { padding: 0; }
  .ws-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; margin-inline: -4px; padding: 0 4px 10px; }
  .ws-nav-item { flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 62px; padding: 8px 2px; gap: 6px; font-size: 10.5px; line-height: 1.4; border-radius: 8px; white-space: normal; text-align: center; }
  .ws-nav-item svg { width: 17px; height: 17px; }
  .ws-sidebar-footer { margin-top: 0; padding: 2px 4px 10px; font-size: 11px; }
  .ws-main { margin-left: 0; }
  .ws-topbar { min-height: 66px; padding: 14px 20px; gap: 12px; flex-wrap: wrap; }
  .ws-topbar .ws-actions { gap: 8px; }
  .ws-topbar .ws-button { min-height: 36px; padding: 7px 9px; font-size: 12px; }
  .ws-account { font-size: 12px; }
  .ws-page { padding: 28px 20px 40px; }
  .ws-page-head { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 24px; }
  .ws-page-head .ws-muted { font-size: 13px; }
  .ws-title { font-size: 28px; letter-spacing: -.65px; }
  .ws-grid, .ws-start-grid, .ws-model-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ws-account-grid, .ws-account-summary { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ws-dashboard-grid { margin-top: 20px; }
  .ws-overview-grid, .ws-stack { gap: 20px; }
  .ws-card, .ws-model-card { padding: 20px; border-radius: 14px; }
  .ws-start-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto auto; align-items: center; min-height: 120px; padding: 16px; gap: 4px 14px; }
  .ws-start-card > h2 { grid-column: 2; grid-row: 1; font-size: 15px; }
  .ws-start-card > p { grid-column: 2; grid-row: 2; font-size: 12px; line-height: 1.7; }
  .ws-start-card .ws-start-link { padding-top: 4px; }
  .ws-start-art { grid-column: 1; grid-row: 1 / 4; align-self: center; width: 56px; height: 56px; aspect-ratio: auto; margin: 0; border-radius: 11px; }
  .ws-start-art-icon svg { width: 26px; height: 26px; }
  .ws-start-slide.is-code { padding: 0; background: transparent; }
  .ws-start-slide.is-code .ws-start-code, .ws-start-slide.is-code .ws-start-code-lang, .ws-start-caption, .ws-carousel-dots { display: none; }
  .ws-start-slide.is-media.is-active img { animation: none; }
  .ws-start-action { grid-column: 2; grid-row: 3; margin: 0; padding-top: 4px; font-size: 11px; }
  .ws-inline-guide { gap: 10px 12px; font-size: 11px; }
  .ws-profile-link { max-width: 140px; }
  .ws-card-top, .ws-section-head { gap: 12px; }
  .ws-toolbar { gap: 10px; margin-bottom: 20px; }
  .ws-toolbar > .ws-field, .ws-toolbar > .ws-field + .ws-field { flex: 1 1 100%; }
  .ws-field :is(input,select,textarea), input.ws-field, select.ws-field, textarea.ws-field { font-size: 16px; }
  .ws-record { grid-template-columns: 32px minmax(0, 1fr) auto 10px; gap: 10px; padding-block: 16px; }
  .ws-record-icon { width: 30px; height: 30px; border-radius: 8px; }
  .ws-record-icon svg { width: 16px; height: 16px; }
  .ws-record strong { font-size: 12px; }
  .ws-record > .ws-pill { grid-column: 1; justify-self: start; }
  .ws-record-cost { grid-column: 2; grid-row: 1; min-width: 62px; }
  .ws-record-meta { gap: 4px 9px; }
  .ws-pagination { gap: 14px; }
  .ws-pagination .ws-button { padding-inline: 12px; }
  .ws-key-item { align-items: flex-start; flex-wrap: wrap; gap: 6px 14px; }
  .ws-code { padding: 16px; font-size: 11px; }
  .ws-modal-backdrop { padding: 0; align-items: stretch; }
  .ws-modal { width: 100%; max-width: 100vw; max-height: 100dvh; height: 100dvh; border: 0; border-radius: 0; }
  .ws-modal-head { padding: 20px; }
  .ws-modal-head :is(h2,h3) { font-size: 20px; }
  .ws-modal-body { flex: 1; padding: 20px; }
  .ws-modal-footer { padding: 16px 20px max(16px, env(safe-area-inset-bottom)); }
  .ws-modal-footer .ws-button { flex: 1; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .ws-shell *, .ws-shell *::before, .ws-shell *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Unified operational pages: compact controls, comparison tables, mobile cards. */
.ws-work-head { margin-bottom: 22px; align-items: center; }
.ws-work-head .ws-title { font-size: 28px; letter-spacing: -.5px; }
.ws-work-head .ws-title + .ws-muted { margin-top: 5px; }
.ws-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; border-bottom: 1px solid var(--ws-line); }
.ws-tabs a { padding: 10px 15px; color: var(--ws-muted); border-bottom: 2px solid transparent; font-size: 14px; }
.ws-tabs a[aria-current=page] { color: var(--ws-accent); border-color: var(--ws-accent); font-weight: 650; }
.ws-filter-card { padding: 20px; border-radius: 12px; margin-bottom: 20px; }
.ws-filter-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr 1.2fr 1.2fr; gap: 14px; }
.ws-filter-grid .ws-field, .ws-table-caption .ws-field { margin: 0; }
.ws-filter-grid .ws-field > span { font-size: 13px; font-weight: 500; }
.ws-filter-grid .ws-field input, .ws-filter-grid .ws-field select { min-height: 40px; padding: 7px 10px; }
.ws-filter-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.ws-filter-more { margin-top: 12px; }
.ws-filter-more summary, .ws-details summary { cursor: pointer; color: var(--ws-accent); padding: 8px 0; font-weight: 550; font-size: 13px; }
.ws-filter-more .ws-filter-grid { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 10px; }
.ws-table-caption { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.ws-table-caption > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.ws-table-caption strong { font-weight: 650; }
.ws-table-caption span { font-size: 12px; color: var(--ws-muted); }
.ws-table-caption .ws-field { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ws-table-caption select { width: 90px; min-height: 36px; padding: 5px 8px; }
.ws-data-card { border: 1px solid var(--ws-line); border-radius: 12px; background: white; overflow: hidden; }
.ws-data-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.ws-data-table th { text-align: left; background: #f5f5f9; color: #6b6c7e; font-size: 12px; font-weight: 550; }
.ws-data-table :is(th,td) { padding: 14px 12px; border-bottom: 1px solid var(--ws-line); overflow-wrap: anywhere; vertical-align: middle; }
.ws-data-table tr:last-child td { border-bottom: 0; }
.ws-data-table tbody tr:hover { background: #fcfcfe; }
.ws-data-table td > :is(strong,span,small,time) { display: block; }
.ws-data-table td > small { margin-top: 4px; color: var(--ws-muted); font-size: 12px; }
.ws-data-table td strong { font-weight: 600; }
.ws-data-table td .ws-pill { display: inline-flex; margin-top: 6px; font-size: 11px; }
.ws-data-table .ws-button { font-size: 12px; min-height: 36px; padding: 5px 8px; }
.ws-log-table th:nth-child(1) { width: 18%; }
.ws-log-table th:nth-child(2) { width: 19%; }
.ws-log-table th:nth-child(3) { width: 16%; }
.ws-log-table th:nth-child(4) { width: 14%; }
.ws-log-table th:nth-child(5) { width: 12%; }
.ws-log-table th:nth-child(6) { width: 12%; }
.ws-log-table th:nth-child(7) { width: 9%; }
.ws-tabular, .ws-data-table time { font-variant-numeric: tabular-nums; }
.ws-log-detail-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ws-log-detail-hero > strong { overflow-wrap: anywhere; font-size: 18px; }
.ws-log-detail-hero > .ws-muted { flex-basis: 100%; font-size: 13px; }
.ws-detail-section h3 { font-size: 14px; margin: 16px 0 10px; }
.ws-detail-section code { overflow-wrap: anywhere; min-width: 0; font-size: 13px; }
.ws-details { border-top: 1px solid var(--ws-line); margin-top: 16px; padding-top: 8px; }
.ws-record-content { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; padding: 10px 0; }
.ws-form-error { color: #a32e34; margin-top: 12px; font-size: 13px; }
.ws-check { display: flex; align-items: center; gap: 9px; font-size: 14px; margin-block: 12px; }
.ws-check input { width: 16px; height: 16px; accent-color: var(--ws-accent); }
.ws-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
.ws-form-grid > .ws-span-all { grid-column: 1/-1; }
.ws-form-footer { display: flex; justify-content: flex-end; gap: 12px; padding-top: 20px; margin-top: 10px; border-top: 1px solid var(--ws-line); }
@media (max-width: 1100px) {
  .ws-filter-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ws-data-table :is(th,td) { padding: 12px 9px; }
}
@media (max-width: 760px) {
  .ws-work-head .ws-title { font-size: 25px; }
  .ws-filter-card { padding: 16px; }
  .ws-filter-grid, .ws-filter-more .ws-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .ws-filter-grid > :first-child { grid-column: 1/-1; }
  .ws-filter-grid .ws-field > span { font-size: 14px; }
  .ws-filter-footer { align-items: stretch; flex-direction: column; }
  .ws-filter-footer > .ws-actions:last-child { justify-content: flex-end; }
  .ws-table-caption { align-items: end; }
  .ws-table-caption > div { gap: 3px; flex-direction: column; }
  .ws-table-caption .ws-field > span { display: none; }
  .ws-data-card { background: transparent; border: 0; overflow: visible; }
  .ws-data-table, .ws-data-table tbody { display: block; }
  .ws-data-table thead { display: none; }
  .ws-data-table tbody tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 18px; padding: 18px; margin-bottom: 12px; background: white; border: 1px solid var(--ws-line); border-radius: 12px; }
  .ws-data-table td { display: block; padding: 0; border: 0; min-width: 0; font-size: 14px; }
  .ws-data-table td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--ws-muted); margin-bottom: 5px; }
  .ws-log-table td:nth-child(2) { grid-column: 1/-1; grid-row: 1; }
  .ws-log-table td:nth-child(1) { grid-column: 1/-1; }
  .ws-log-table td:last-child { display: flex; justify-content: flex-end; align-items: end; }
  .ws-log-table td:last-child::before { display: none; }
  .ws-pagination { align-items: flex-start; flex-direction: column; gap: 12px; }
  .ws-pagination .ws-actions { width: 100%; justify-content: space-between; }
  .ws-form-grid { grid-template-columns: 1fr; }
}
.ws-metric-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:20px; }
.ws-metric-grid article { padding:20px; border-radius:12px; }
.ws-metric-grid strong { display:block; font-size:28px; font-weight:650; font-variant-numeric:tabular-nums; margin-top:8px; overflow-wrap:anywhere; }
.ws-metric-grid .ws-muted { font-size:13px; }
.ws-trend { margin-bottom:24px; }
.ws-chart { width:100%; min-width:0; }
.ws-chart svg { display:block; width:100%; }
.ws-usage-bar { height:4px; background:#f0eff6; border-radius:4px; margin-top:10px; overflow:hidden; }
.ws-usage-bar span { display:block; height:100%; border-radius:4px; background:#aaa3cb; }
.ws-flow-list article { padding:14px 0; border-top:1px solid var(--ws-line); overflow-wrap:anywhere; }
.ws-flow-list span { display:block; color:var(--ws-muted); margin-top:6px; }
.ws-sidebar { overflow-y:auto; }
@media(max-width:760px) {
  .ws-work-head { align-items:flex-start; }
  .ws-metric-grid { gap:8px; }
  .ws-metric-grid article { padding:12px; }
  .ws-metric-grid strong { font-size:20px; }
  .ws-metric-grid .ws-muted { font-size:12px; }
  .ws-sidebar .ws-nav { display:flex;flex-direction:row;overflow-x:auto;padding-bottom:10px; }
  .ws-sidebar .ws-nav-item { flex:0 0 70px; }
}

.ws-operations-metrics { margin-top:20px; }
.ws-operations-links { margin-bottom:24px; }
.ws-operations-section { margin-top:28px; }
.ws-settings-layout { display:grid;grid-template-columns:190px minmax(0,1fr);gap:28px;align-items:start; }
.ws-settings-nav { position:sticky;top:28px;min-width:0; }
.ws-settings-nav nav,.ws-settings-nav [data-search-results] { display:grid;gap:3px;margin-top:18px; }
.ws-settings-nav a { display:block;color:var(--ws-muted);font-size:13px;text-decoration:none;padding:11px 12px;border-radius:8px; }
.ws-settings-nav a:hover,.ws-settings-nav a[aria-current] { color:#56516f;background:#eeecf7; }
.ws-settings-body { min-width:0; }
.ws-option input,.ws-option textarea,.ws-option select { width:100%; }
.ws-option textarea { font-family:inherit;line-height:1.6; }
.ws-option .ws-small { margin-top:8px;line-height:1.65; }
.ws-option + .ws-option { min-width:0; }
.ws-price-search { align-items:end;gap:16px;margin:22px 0; }
.ws-price-search .ws-field { flex:1; }
.ws-price-advanced { margin:24px 0; }
.ws-price-advanced summary { font-weight:600;cursor:pointer; }
.ws-price-advanced form { margin-top:20px; }
.ws-action-selector { flex-wrap:wrap;margin-bottom:18px; }
.ws-action-form h3 { margin-bottom:20px; }
.ws-action-form [data-action-result] { margin-top:24px; }
.ws-result-kv dd { overflow-wrap:anywhere;min-width:0; }
.ws-result-kv .ws-kv { margin:0; }
.ws-result-list { padding-left:18px; }
.ws-secret-input { -webkit-text-security:disc; }
.ws-check-list { display:grid;gap:14px;padding:12px 0; }
.ws-danger-zone { margin-top:24px;border-color:#ead7d4; }
.ws-playground { display:grid;grid-template-columns:330px minmax(0,1fr);gap:24px;align-items:start; }
.ws-play-settings { padding:22px; }
.ws-play-settings h2 { margin-bottom:20px; }
.ws-mobile-composer { margin-top:24px;padding-top:22px;border-top:1px solid var(--ws-line); }
.ws-conversation { min-height:620px; }
.ws-messages { display:grid;gap:24px; }
.ws-message { padding:20px;background:#f8f8fb;border-radius:12px;border:1px solid #e8e7f0;min-width:0; }
.ws-message.user { background:#f1eff8; }
.ws-message > strong { font-size:12px;color:var(--ws-muted); }
.ws-message pre { font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;margin:10px 0 0; }
.ws-message-actions { display:flex;flex-wrap:wrap;gap:8px;margin-top:12px; }
.ws-attach-list { display:flex;flex-wrap:wrap;gap:8px;margin-top:10px; }
.ws-attach-item { margin:0;display:grid;gap:6px;justify-items:start; }
.ws-attach-thumb { width:72px;height:72px;object-fit:cover;border-radius:8px;border:1px solid var(--ws-line);background:#fff; }
.ws-batch-bar { display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 16px; }
.ws-vendor-picker { display:grid;gap:10px; }
.ws-sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.ws-tabs { flex-wrap:nowrap;overflow-x:auto; }
.ws-tabs a { white-space:nowrap; }
.ws-kv dd { overflow-wrap:anywhere; }
.ws-form-grid > [hidden],[data-price-mode][hidden],[data-notify-kind][hidden] { display:none!important; }
@media(max-width:1050px) { .ws-settings-layout { grid-template-columns:160px minmax(0,1fr);gap:18px; } .ws-playground { grid-template-columns:290px minmax(0,1fr);gap:16px; } }
@media(max-width:760px) {
  .ws-settings-layout,.ws-playground { display:block; }
  .ws-settings-nav { position:static;margin-bottom:24px; }
  .ws-settings-nav nav { display:flex;overflow-x:auto;gap:6px;padding-bottom:8px; }
  .ws-settings-nav nav a { flex:0 0 auto; }
  .ws-settings-nav [data-search-results] { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ws-price-search { flex-wrap:wrap; }
  .ws-price-search .ws-field { flex:1 1 130px; }
  .ws-price-search .ws-button { width:100%; }
  .ws-settings-body .ws-card { padding:18px; }
  .ws-conversation { min-height:300px;margin-top:20px; }
  .ws-form-footer { flex-wrap:wrap;align-items:center; }
  .ws-result-kv .ws-kv div { display:block; }
  .ws-action-selector .ws-button { flex:1 1 130px; }
}

/* Small translucent accents; text and data remain on opaque white surfaces. */
.ws-card:has(.ws-stat-value), .ws-operations-metrics .ws-card { background:linear-gradient(120deg,#f0ebfa44,transparent 70%),#fff; }
.ws-operations-metrics .ws-card:nth-child(2) { background:linear-gradient(120deg,#e7ecfc44,transparent 70%),#fff; }
.ws-operations-metrics .ws-card:nth-child(3) { background:linear-gradient(120deg,#faeae444,transparent 70%),#fff; }

.ws-retail-intro { display:flex;align-items:center;gap:30px;margin-bottom:24px;padding:22px 26px;border:1px solid var(--ws-line);border-radius:14px;background:linear-gradient(110deg,#eee8f742,transparent 50%,#fae9e438),#fff; }
.ws-retail-intro p { font-size:12px;margin-top:5px; }
.ws-retail-intro+ .ws-notice { margin-bottom:24px; }
.ws-retail-advanced { margin-top:24px; }
@media(max-width:760px) { .ws-retail-intro { gap:14px;padding:18px; } .ws-retail-intro strong { font-size:13px; } }

.ws-site-content { margin-top:24px; }
.ws-wrap-code { overflow-wrap:anywhere; word-break:break-word; }
