:root {
  --wb-ink: #182235;
  --wb-muted: #647084;
  --wb-subtle: #8a94a6;
  --wb-line: #dfe4eb;
  --wb-line-strong: #cbd3df;
  --wb-blue: #2d5bd1;
  --wb-blue-dark: #1f459f;
  --wb-soft: #edf3ff;
  --wb-canvas: #f4f6f8;
  --wb-surface: #ffffff;
  --wb-success: #08775a;
  --wb-danger: #b22c25;
  --wb-navy: #151e2f;
  --wb-radius: 14px;
  --wb-shadow: 0 16px 44px rgba(30, 45, 70, .08);
  color-scheme: light;
}

body[data-page="workbench"] {
  background: #f3f5f7;
  color: var(--wb-ink);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.wb-shell { max-width: 1460px; margin: 0 auto; padding: 28px 24px 84px; }
.wb-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px; margin-bottom: 22px; padding: 0 4px; }
.wb-hero-copy { max-width: 970px; }
.wb-kicker { display: block; color: var(--wb-blue); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.wb-hero h1 { max-width: 860px; margin: 8px 0 8px; color: var(--wb-ink); font-size: clamp(30px, 4vw, 44px); letter-spacing: -.045em; line-height: 1.08; }
.wb-hero p { max-width: 900px; margin: 0; color: var(--wb-muted); font-size: 14px; line-height: 1.65; }
.wb-trust-row { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 13px; color: #46546b; font-size: 12px; font-weight: 700; }
.wb-trust-row span::before { content: "✓"; margin-right: 7px; color: var(--wb-success); }

.wb-account,
.wb-secondary,
.wb-link-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--wb-line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--wb-blue-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.wb-builder { overflow: hidden; border: 1px solid var(--wb-line-strong); border-radius: 18px; background: var(--wb-surface); box-shadow: var(--wb-shadow); }
.wb-command-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; padding: 12px 20px; border-bottom: 1px solid var(--wb-line); background: #fff; }
.wb-command-bar h2 { margin: 4px 0 0; color: var(--wb-ink); font-size: 20px; letter-spacing: -.02em; }
.wb-command-status { display: inline-flex; align-items: center; gap: 8px; color: #2f5c4e; font-size: 12px; font-weight: 800; }
.wb-command-status i { width: 8px; height: 8px; border-radius: 50%; background: #10a778; box-shadow: 0 0 0 4px #e1f5ee; }
.wb-command-grid { display: grid; grid-template-columns: 272px minmax(0, 1fr) 310px; min-height: 640px; }

.wb-scenarios { display: none; }
.wb-tool-panel { padding: 17px 14px 18px; border-right: 1px solid var(--wb-line); background: #f6f7f9; }
.wb-tool-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 7px 11px; }
.wb-tool-panel-head h3 { margin: 0; color: #455166; font-size: 12px; font-weight: 850; letter-spacing: .01em; }
.wb-workflows { display: grid; gap: 4px; }
.wb-workflow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-height: 76px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--wb-ink);
  text-align: left;
  cursor: default;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.wb-workflow-toggle { display: grid; grid-template-columns: 18px 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-width: 0; min-height: 74px; padding: 10px 9px 10px 11px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.wb-workflow-configure { align-self: stretch; min-width: 48px; min-height: 44px; padding: 0 9px; border: 0; border-left: 1px solid var(--wb-line); border-radius: 0 10px 10px 0; background: rgba(255, 255, 255, .72); color: var(--wb-blue-dark); font-size: 11px; font-weight: 850; cursor: pointer; }
.wb-workflow-configure:hover { background: #edf3ff; }
.wb-workflow[data-selected="true"] { border-color: #86a6ed; background: #fbfdff; box-shadow: 0 0 0 1px rgba(45, 91, 209, .08); }
.wb-workflow-check { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid #aeb9c9; border-radius: 5px; background: #fff; }
.wb-workflow[data-selected="true"] .wb-workflow-check { border-color: var(--wb-blue); background: var(--wb-blue); }
.wb-workflow[data-selected="true"] .wb-workflow-check::after { content: ""; width: 8px; height: 4px; margin-top: -2px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(-45deg); }
.wb-workflow-svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wb-workflow::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: -1px; width: 3px; border-radius: 0 3px 3px 0; background: transparent; }
.wb-workflow[aria-checked="true"] { border-color: #d5deed; background: #fff; box-shadow: 0 2px 8px rgba(35, 52, 78, .06); }
.wb-workflow[aria-checked="true"]::before { background: var(--wb-blue); }
.wb-workflow-mark { display: grid; place-items: center; min-width: 36px; height: 30px; padding: 0 4px; border-radius: 8px; background: #e8ecf2; color: #4a5a73; font-size: 9px; font-weight: 900; letter-spacing: .02em; }
.wb-workflow[aria-checked="true"] .wb-workflow-mark { background: var(--wb-blue); color: #fff; }
.wb-workflow-copy { min-width: 0; }
.wb-workflow b,
.wb-workflow small,
.wb-workflow em { display: block; }
.wb-workflow b { overflow: hidden; color: var(--wb-ink); font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.wb-workflow small { overflow: hidden; margin-top: 3px; color: var(--wb-muted); font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.wb-workflow em { margin-top: 4px; color: var(--wb-blue-dark); font-size: 10px; font-style: normal; font-weight: 850; }

.wb-source-canvas { min-width: 0; padding: 25px 28px 30px; background: #fff; }
.wb-source-head { display: flex; align-items: start; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.wb-source-head > div { display: flex; align-items: center; gap: 10px; }
.wb-source-head h3 { margin: 0; color: var(--wb-ink); font-size: 18px; letter-spacing: -.02em; }
.wb-source-head p { max-width: 330px; margin: 0; color: var(--wb-muted); font-size: 11px; line-height: 1.55; text-align: right; }
.wb-canvas-step { display: inline-grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; background: var(--wb-soft); color: var(--wb-blue-dark); font-size: 10px; font-weight: 900; }
.wb-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wb-url-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; padding: 7px; border: 1px solid var(--wb-line-strong); border-radius: 14px; background: #f8f9fb; transition: border-color .16s ease, box-shadow .16s ease; }
.wb-url-row:focus-within { border-color: #8ea9e9; box-shadow: 0 0 0 3px rgba(45, 91, 209, .11); }
.wb-url-row input,
.wb-options input,
.wb-options select {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--wb-line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--wb-ink);
  font: 600 14px/1.4 inherit;
}
.wb-channel-source { grid-column: 1 / -1; }
.wb-channel-url-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.wb-channel-url-row button { min-width: 112px; min-height: 44px; padding: 0 14px; border: 1px solid var(--wb-blue); border-radius: 9px; background: var(--wb-blue); color: #fff; font-weight: 850; cursor: pointer; }
.wb-channel-url-row button:disabled { opacity: .58; cursor: wait; }
.wb-channel-source small { color: var(--wb-muted); font-size: 10px; font-weight: 600; line-height: 1.5; }
.wb-url-row input { min-height: 48px; border: 0; background: transparent; outline: 0; }
.wb-url-row button,
.wb-primary { min-height: 48px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--wb-blue); color: #fff; font: 800 13px/1 inherit; cursor: pointer; transition: background .16s ease, transform .16s ease, opacity .16s ease; }
.wb-url-row button:hover,
.wb-primary:hover { background: #244fb9; }
.wb-link-button { border: 0; background: var(--wb-blue); color: #fff; }
.wb-url-row button:disabled,
.wb-primary:disabled { opacity: .58; cursor: wait; }
.wb-microcopy { margin: 9px 2px 0; color: var(--wb-muted); font-size: 11px; line-height: 1.5; }

.wb-summary-dock { min-width: 0; padding: 16px; border-left: 1px solid var(--wb-line); background: #f7f8fa; }
.wb-dock-overview { position: sticky; top: 86px; padding: 20px; border-radius: var(--wb-radius); background: var(--wb-navy); color: #fff; box-shadow: 0 12px 30px rgba(20, 29, 46, .16); }
.wb-dock-overview .wb-kicker { color: #9bb8ff; }
.wb-dock-workflow { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 11px; margin-top: 19px; }
.wb-dock-mark { display: grid; place-items: center; width: 42px; height: 34px; border-radius: 9px; background: #2d5bd1; color: #fff; font-size: 10px; font-weight: 900; }
.wb-dock-workflow h3 { margin: 0; color: #fff; font-size: 15px; line-height: 1.35; }
.wb-dock-workflow p { margin: 5px 0 0; color: #aeb9cb; font-size: 11px; line-height: 1.5; }
.wb-dock-price { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-top: 20px; padding: 17px 0; border-top: 1px solid rgba(255, 255, 255, .11); border-bottom: 1px solid rgba(255, 255, 255, .11); }
.wb-dock-price span { color: #aeb9cb; font-size: 11px; }
.wb-dock-price strong { color: #fff; font-size: 23px; letter-spacing: -.03em; }
.wb-dock-steps { display: grid; gap: 11px; margin: 17px 0 0; padding: 0; list-style: none; }
.wb-dock-steps li { display: flex; align-items: center; gap: 9px; color: #d7deea; }
.wb-dock-steps li span { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid #53617a; border-radius: 50%; color: #b9c6da; font-size: 9px; font-weight: 850; }
.wb-dock-steps b { font-size: 11px; font-weight: 750; }
.wb-dock-promises { display: grid; gap: 7px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .11); color: #aeb9cb; font-size: 10px; line-height: 1.45; }
.wb-dock-promises span::before { content: "✓"; margin-right: 7px; color: #55d4aa; }

.wb-notice { margin-top: 17px; padding: 12px 14px; border: 1px solid #c9d9f5; border-radius: 10px; background: #f1f6ff; color: #174b9b; font-size: 12px; line-height: 1.55; }
.wb-notice.error { border-color: #f0c2c0; background: #fff3f3; color: var(--wb-danger); }
.wb-inspection,
.wb-auth-gate { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--wb-line); }
.wb-block-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.wb-block-head > div:has(.wb-canvas-step) { display: grid; grid-template-columns: 27px minmax(0, 1fr); column-gap: 10px; }
.wb-block-head > div:has(.wb-canvas-step) h2 { align-self: center; margin: 0; }
.wb-block-head > div:has(.wb-canvas-step) p { grid-column: 2; }
.wb-block-head h2 { margin: 4px 0 6px; color: var(--wb-ink); font-size: 20px; letter-spacing: -.02em; }
.wb-block-head p { margin: 4px 0 0; color: var(--wb-muted); font-size: 12px; line-height: 1.55; }
.wb-auth-gate { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; border: 1px solid #cbd9ee; border-radius: var(--wb-radius); background: var(--wb-soft); }
.wb-auth-gate[hidden] { display: none; }
.wb-auth-gate h2 { margin: 4px 0 6px; color: var(--wb-ink); font-size: 18px; }
.wb-auth-gate p { margin: 0; color: var(--wb-muted); font-size: 12px; }
.wb-items { display: grid; gap: 7px; max-height: 340px; overflow: auto; padding-right: 3px; }
.wb-item { display: grid; grid-template-columns: auto 80px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 9px; border: 1px solid var(--wb-line); border-radius: 11px; background: #f9fafb; }
.wb-item img { width: 80px; height: 46px; border-radius: 7px; object-fit: cover; background: #e8ecf2; }
.wb-item b { display: block; color: var(--wb-ink); font-size: 12px; }
.wb-item small { color: var(--wb-muted); font-size: 10px; }
.wb-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin: 17px 0; }
.wb-field { display: grid; gap: 6px; color: #3f4c60; font-size: 11px; font-weight: 800; }
.wb-language-field { position: relative; }
.wb-language-picker { position: relative; min-width: 0; }
.wb-language-control { box-sizing: border-box; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; width: 100%; min-height: 46px; padding: 6px 8px; border: 1px solid var(--wb-line-strong); border-radius: 10px; background: #fff; cursor: text; }
.wb-language-control:focus-within { border-color: var(--wb-blue); box-shadow: 0 0 0 3px rgba(45, 91, 209, .11); }
.wb-options .wb-language-search { flex: 1 1 130px; width: auto; min-width: 110px; min-height: 30px; padding: 0 4px; border: 0; border-radius: 0; background: transparent; outline: 0; font-size: 12px; }
.wb-language-chips { display: contents; }
.wb-language-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 29px; padding: 0 7px 0 9px; border: 1px solid #c3d1eb; border-radius: 999px; background: var(--wb-soft); color: var(--wb-blue-dark); font: 750 11px/1 inherit; cursor: pointer; }
.wb-language-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wb-language-chip b { font-size: 14px; font-weight: 650; line-height: 1; }
.wb-language-count { flex: 0 0 auto; padding: 3px 6px; border-radius: 999px; background: #edf0f4; color: #647084; font-size: 9px; font-weight: 900; }
.wb-language-menu { position: absolute; z-index: 30; top: calc(100% + 7px); left: 0; right: 0; max-height: 300px; padding: 6px; overflow-y: auto; border: 1px solid var(--wb-line-strong); border-radius: 11px; background: #fff; box-shadow: 0 18px 42px rgba(28, 40, 60, .16); }
.wb-language-menu[hidden] { display: none; }
.wb-language-option { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--wb-ink); text-align: left; cursor: pointer; }
.wb-language-option:hover,
.wb-language-option[aria-selected="true"] { background: var(--wb-soft); }
.wb-language-option:disabled { color: #9aa3b2; cursor: not-allowed; }
.wb-language-option span,
.wb-language-option small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wb-language-option span { font-size: 12px; font-weight: 800; }
.wb-language-option small { grid-column: 1; color: var(--wb-muted); font-size: 10px; font-weight: 600; }
.wb-language-option b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--wb-blue); font-size: 12px; }
.wb-language-empty { margin: 0; padding: 18px 10px; color: var(--wb-muted); font-size: 12px; text-align: center; }
.wb-check { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 11px; border: 1px solid var(--wb-line); border-radius: 10px; background: #f9fafb; color: #3f4c60; font-size: 12px; font-weight: 700; }
.wb-check input { width: 17px; height: 17px; }
.wb-clips { grid-column: 1 / -1; display: grid; gap: 8px; }
.wb-clips > strong { color: var(--wb-ink); font-size: 11px; }
.wb-clip { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 8px; }

.wb-checkout { padding: 19px; border: 1px solid var(--wb-line); border-radius: var(--wb-radius); background: #fff; }
.wb-checkout[hidden] { display: none; }
.wb-checkout .wb-block-head { margin-bottom: 14px; }
.wb-checkout .wb-block-head h2 { font-size: 18px; }
.wb-quote { display: grid; gap: 13px; padding: 16px; border-radius: 11px; background: var(--wb-navy); color: #eaf0fb; }
.wb-quote > div:last-child { display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.wb-quote strong { font-size: 25px; }
.wb-quote small { display: block; margin-top: 4px; color: #b6c1d2; font-size: 10px; }
.wb-point-lines { display: grid; gap: 8px; }
.wb-point-lines p { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; margin: 0; }
.wb-point-lines p small { grid-column: 1; }
.wb-point-lines p strong { grid-column: 2; grid-row: 1 / span 2; font-size: 14px; white-space: nowrap; }
.wb-point-total { display: grid !important; align-items: end; justify-items: end; gap: 4px; padding-top: 11px; border-top: 1px solid rgba(255, 255, 255, .14); }
.wb-point-total strong { font-size: 20px; }
.wb-point-total em { color: #ffd5d1; font-size: 10px; font-style: normal; font-weight: 800; }
.wb-delivery-checklist { display: grid; gap: 7px; margin-top: 10px; }
.wb-delivery-item { padding: 11px; border: 1px solid var(--wb-line); border-radius: 9px; background: #f8f9fb; }
.wb-delivery-item b,
.wb-delivery-item span { display: block; }
.wb-delivery-item b { color: var(--wb-ink); font-size: 11px; }
.wb-delivery-item span { margin-top: 4px; color: var(--wb-muted); font-size: 10px; line-height: 1.45; }
.wb-delivery-item b::before { content: "✓"; margin-right: 6px; color: var(--wb-success); }
.wb-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 13px 0; color: var(--wb-muted); font-size: 11px; }
.wb-method { min-height: 40px; padding: 8px 10px; border: 1px solid var(--wb-line-strong); border-radius: 9px; background: #fff; color: #344158; font-weight: 750; cursor: pointer; }
.wb-method.active { border-color: var(--wb-blue); background: var(--wb-soft); color: var(--wb-blue-dark); }
.wb-checkout > .wb-primary { width: 100%; }
.wb-payment-result { margin-top: 13px; padding: 12px; border: 1px solid var(--wb-line); border-radius: 9px; color: var(--wb-muted); font-size: 11px; line-height: 1.55; }
.wb-payment-result.success { border-color: #a7d9c8; background: #eefaf6; color: #076c50; }
.wb-payment-result img { display: block; width: 210px; max-width: 100%; margin: 12px auto; border-radius: 9px; }

.wb-delivery-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(320px, .85fr); gap: 18px; margin-top: 20px; align-items: start; }
.wb-project-section { min-width: 0; padding: 22px; border: 1px solid var(--wb-line-strong); border-radius: 16px; background: #fff; }
.wb-section-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.wb-section-head h2 { margin: 4px 0 3px; color: var(--wb-ink); font-size: 21px; letter-spacing: -.02em; }
.wb-section-head p { margin: 0; color: var(--wb-muted); font-size: 11px; }
.wb-projects { display: grid; gap: 9px; }
.wb-project { padding: 15px; border: 1px solid var(--wb-line); border-radius: 12px; background: #fafbfc; }
.wb-project-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.wb-project h3 { margin: 0; color: var(--wb-ink); font-size: 14px; }
.wb-meta { margin: 5px 0 0; color: var(--wb-muted); font-size: 11px; line-height: 1.5; }
.wb-status { padding: 5px 8px; border-radius: 999px; background: #e8ecf2; color: #46546b; font-size: 10px; font-weight: 850; white-space: nowrap; }
.wb-status.completed { background: #dcf8e9; color: #076c46; }
.wb-status.processing,
.wb-status.ready { background: #e3edff; color: #174b9b; }
.wb-status.failed { background: #ffe5e4; color: var(--wb-danger); }
.wb-progress { --wb-progress-scale: 0; position: relative; height: 9px; margin: 13px 0 8px; overflow: hidden; border-radius: 99px; background: #e0e5ec; }
.wb-progress-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--wb-blue); transform: scaleX(var(--wb-progress-scale)); transform-origin: left center; transition: transform .32s cubic-bezier(.16, 1, .3, 1); }
.wb-progress.is-success .wb-progress-fill { background: var(--wb-success); }
.wb-progress.is-warning .wb-progress-fill { background: #c17a14; }
.wb-progress.is-muted .wb-progress-fill { background: #7c8798; }
.wb-progress.is-error { background: #fde8e6; }
.wb-progress.is-error .wb-progress-fill { background: #d34a42; }
.wb-progress.is-error::after { content: ""; position: absolute; top: 0; bottom: 0; left: max(0px, calc(var(--wb-progress-position, 0%) - 4px)); width: 8px; border-radius: 99px; background: #d34a42; box-shadow: 0 0 0 2px rgba(211, 74, 66, .14); }
.wb-progress.is-indeterminate::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, transparent 0%, rgba(45, 91, 209, .14) 45%, transparent 100%); }
.wb-progress.is-indeterminate::after { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 28%; border-radius: inherit; background: linear-gradient(90deg, rgba(45, 91, 209, .18), #4f76d9, rgba(45, 91, 209, .18)); animation: wb-progress-scan 1.35s cubic-bezier(.65, 0, .35, 1) infinite; }
.wb-progress.is-indeterminate.is-warning::after { background: linear-gradient(90deg, rgba(193, 122, 20, .18), #d79638, rgba(193, 122, 20, .18)); }
.wb-progress-copy { display: grid; gap: 3px; margin-top: 7px; }
.wb-progress-copy strong { color: #293850; font-size: 11px; line-height: 1.45; }
.wb-progress-copy span { color: var(--wb-muted); font-size: 10px; line-height: 1.5; }
@keyframes wb-progress-scan {
  from { transform: translateX(-110%); }
  to { transform: translateX(370%); }
}
.wb-project-detail { display: flex; flex-wrap: wrap; gap: 7px 14px; margin: 7px 0 0; color: var(--wb-muted); font-size: 10px; }
.wb-artifacts,
.wb-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.wb-artifacts a,
.wb-actions button { padding: 7px 9px; border: 1px solid var(--wb-line-strong); border-radius: 8px; background: #fff; color: var(--wb-blue-dark); font-size: 10px; font-weight: 800; text-decoration: none; cursor: pointer; }
.wb-error { margin: 8px 0 0; color: var(--wb-danger); font-size: 11px; }
.wb-payment-result.processing { border-color: #bfd0f1; background: #f4f7ff; color: #293f70; }
.wb-payment-result.failure { border-color: #edc0bc; background: #fff5f4; color: #7c2924; }
.wb-payment-result.warning { border-color: #e8cf9d; background: #fff9ec; color: #795016; }
.wb-payment-result.neutral { border-color: #d5dae2; background: #f7f8fa; color: #4e5b70; }
.wb-live-progress { display: grid; gap: 12px; }
.wb-live-progress-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.wb-live-progress-head b { color: var(--wb-ink); font-size: 11px; }
.wb-live-progress-head small { color: var(--wb-muted); font-size: 9px; white-space: nowrap; }
.wb-live-progress-task { padding-top: 10px; border-top: 1px solid rgba(113, 132, 165, .2); }
.wb-live-progress-task > span { display: block; color: var(--wb-blue-dark); font-size: 10px; font-weight: 850; }
.wb-empty { margin: 0; padding: 28px 18px; border: 1px dashed var(--wb-line-strong); border-radius: 11px; background: #fafbfc; color: var(--wb-muted); text-align: center; font-size: 12px; line-height: 1.6; }
.wb-empty a { color: var(--wb-blue-dark); font-weight: 800; }
.wb-channel-stats { margin-top: 9px; color: var(--wb-muted); font-size: 11px; }

.wb-dialog { box-sizing: border-box; width: min(900px, calc(100% - 28px)); padding: 23px; border: 1px solid var(--wb-line); border-radius: 16px; color: var(--wb-ink); box-shadow: 0 30px 90px rgba(11, 20, 36, .28); }
.wb-dialog::backdrop { background: rgba(15, 23, 42, .65); backdrop-filter: blur(5px); }
.wb-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.wb-dialog h2 { margin: 4px 0; }
.wb-dialog p { color: var(--wb-muted); font-size: 12px; }
.wb-dialog textarea { box-sizing: border-box; width: 100%; height: 50vh; padding: 14px; border: 1px solid var(--wb-line-strong); border-radius: 10px; background: #f8f9fb; color: #172033; font: 13px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; resize: vertical; }
.wb-dialog-actions { display: flex; justify-content: flex-end; margin-top: 13px; }

.wb-workflow:hover { border-color: #c4cede; background: #fff; }
.wb-account:hover,
.wb-secondary:hover { border-color: #9fb0c8; background: #f8fafc; }
.wb-workflow:active,
button:active,
.wb-link-button:active { transform: translateY(1px); }
.wb-workflow:focus-visible,
.wb-url-row input:focus-visible,
.wb-options input:focus-visible,
.wb-options select:focus-visible,
button:focus-visible,
a:focus-visible,
textarea:focus-visible { outline: 3px solid rgba(45, 91, 209, .23); outline-offset: 2px; }
.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; }

@media (max-width: 1180px) {
  .wb-command-grid { grid-template-columns: 238px minmax(0, 1fr); }
  .wb-summary-dock { grid-column: 1 / -1; border-top: 1px solid var(--wb-line); border-left: 0; }
  .wb-dock-overview { position: static; display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px 24px; }
  .wb-dock-overview > .wb-kicker,
  .wb-dock-workflow,
  .wb-dock-promises { grid-column: 1; }
  .wb-dock-price,
  .wb-dock-steps { grid-column: 2; }
  .wb-dock-price { grid-row: 1 / span 2; margin-top: 0; }
  .wb-dock-steps { grid-row: 3; }
  .wb-checkout { max-width: 760px; margin: 0 auto; }
}

@media (max-width: 880px) {
  .wb-shell { padding: 24px 16px 64px; }
  .wb-hero { grid-template-columns: 1fr; gap: 14px; }
  .wb-account { justify-self: start; }
  .wb-command-grid { grid-template-columns: 1fr; }
  .wb-tool-panel { border-right: 0; border-bottom: 1px solid var(--wb-line); }
  .wb-workflows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-source-head { display: block; }
  .wb-source-head p { max-width: 520px; margin-top: 9px; text-align: left; }
  .wb-dock-overview { display: block; }
  .wb-dock-price { margin-top: 18px; }
  .wb-delivery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .wb-shell { padding: 20px 12px 56px; }
  .wb-hero { margin-bottom: 18px; padding: 0 2px; }
  .wb-hero h1 { font-size: 30px; }
  .wb-hero p { display: -webkit-box; overflow: hidden; font-size: 12px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .wb-trust-row,
  .wb-account { display: none; }
  .wb-command-bar { align-items: flex-start; min-height: 0; padding: 15px 16px; }
  .wb-command-bar h2 { font-size: 18px; }
  .wb-command-status { margin-top: 4px; }
  .wb-tool-panel { padding: 14px 10px; }
  .wb-workflows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .wb-workflow { min-height: 75px; padding: 8px; }
  .wb-workflow b { display: -webkit-box; overflow: hidden; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .wb-workflow small { display: none; }
  .wb-source-canvas { padding: 20px 15px 23px; }
  .wb-source-head { margin-bottom: 16px; }
  .wb-source-head h3 { font-size: 16px; }
  .wb-url-row { grid-template-columns: 1fr; padding: 6px; }
  .wb-url-row button { width: 100%; }
  .wb-options { grid-template-columns: 1fr; }
  .wb-channel-url-row { grid-template-columns: 1fr; }
  .wb-channel-url-row button { width: 100%; }
  .wb-clip { grid-template-columns: 1fr 1fr; }
  .wb-clip input:last-child { grid-column: 1 / -1; }
  .wb-item { grid-template-columns: auto 62px minmax(0, 1fr); }
  .wb-item img { width: 62px; height: 40px; }
  .wb-item > small { display: none; }
  .wb-auth-gate { align-items: flex-start; flex-direction: column; }
  .wb-auth-gate .wb-link-button { width: 100%; }
  .wb-summary-dock { padding: 12px; }
  .wb-dock-overview,
  .wb-checkout { padding: 17px; }
  .wb-project-section { padding: 17px 15px; }
  .wb-section-head { align-items: flex-start; }
  .wb-project-top { display: grid; }
  .wb-status { justify-self: start; }
}

@media (max-width: 340px) {
  .wb-workflows { grid-template-columns: 1fr; }
  .wb-workflow small { display: block; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .wb-progress.is-indeterminate::after { left: 36%; transform: none; }
}

/* Current multi-select cards override the legacy guided single-button rules. */
.wb-workflow-group-grid > .wb-workflow { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 76px; padding: 0; cursor: default; }
.wb-workflow-group-grid > .wb-workflow[data-selected="true"] { border-color: #86a6ed; background: #fbfdff; box-shadow: 0 0 0 1px rgba(45, 91, 209, .08); }
.wb-workflow-group-grid > .wb-workflow[data-selected="true"] .wb-workflow-mark { background: #e6efff; color: var(--wb-blue); }
.wb-workflow-group-grid > .wb-workflow .wb-workflow-toggle { display: grid; grid-template-columns: 18px 36px minmax(0, 1fr) auto; min-height: 74px; }
.wb-workflow-group-grid > .wb-workflow .wb-workflow-configure { min-height: 44px; }
