/*
 * EuroB2B admin visual layer.
 *
 * This stylesheet translates the Claude Design handoff into a restrained
 * Shopify Admin surface while the structural UI stays on App Bridge and Polaris
 * Web Components. The classes are intentionally prefixed so they do not fight
 * Shopify's own embedded Admin chrome.
 */

:root {
  --eb2b-ink: #303030;
  --eb2b-subdued: #616161;
  --eb2b-muted: #8a8a8a;
  --eb2b-border: #e3e3e3;
  --eb2b-surface: #ffffff;
  --eb2b-surface-subdued: #f7f7f7;
  --eb2b-success-bg: #cdffd0;
  --eb2b-success-text: #014b40;
  --eb2b-warning-bg: #ffd6a4;
  --eb2b-warning-text: #5e4200;
  --eb2b-info-bg: #e0efff;
  --eb2b-info-text: #002133;
  --eb2b-critical-bg: #fee8eb;
  --eb2b-critical-text: #8e0b21;
  --eb2b-card-shadow: 0 0 0 1px rgba(26, 26, 26, 0.04),
    0 1px 0 rgba(26, 26, 26, 0.04), 0 1px 3px rgba(26, 26, 26, 0.08);
  --eb2b-font-family: Inter, -apple-system, BlinkMacSystemFont, "San Francisco",
    "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

.eb2b-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eb2b-route-loading-bar {
  animation: eb2b-route-loading 1.1s ease-in-out infinite;
  background: linear-gradient(90deg, #005bd3, #66a3ff, #005bd3);
  background-size: 200% 100%;
  height: 3px;
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 120;
}

.eb2b-plan-banner {
  align-items: center;
  display: flex;
  font-family: var(--eb2b-font-family);
  font-size: 13px;
  gap: 10px;
  left: 0;
  padding: 10px 20px;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 110;
}

.eb2b-plan-banner--critical {
  background: var(--eb2b-critical-bg);
  color: var(--eb2b-critical-text);
}

.eb2b-plan-banner--warning {
  background: var(--eb2b-warning-bg);
  color: var(--eb2b-warning-text);
}

.eb2b-plan-banner--info {
  background: #E8F4FF;
  color: #003D6B;
}

.eb2b-plan-banner__text {
  flex: 1;
}

.eb2b-plan-banner__cta {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.eb2b-page-head {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 4px 0 2px;
}

.eb2b-page-titleblock {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.eb2b-eyebrow {
  color: var(--eb2b-subdued);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 16px;
  text-transform: uppercase;
}

.eb2b-page-title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eb2b-page-title {
  color: var(--eb2b-ink);
  font-family: var(--eb2b-font-family);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  margin: 0;
}

.eb2b-page-description {
  color: var(--eb2b-subdued);
  font-size: 13px;
  line-height: 20px;
  margin: 0;
  max-width: 760px;
}

.eb2b-page-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.eb2b-page-action-content {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

@keyframes eb2b-route-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.eb2b-card {
  background: var(--eb2b-surface);
  border-radius: 12px;
  box-shadow: var(--eb2b-card-shadow);
  overflow: hidden;
}

.eb2b-pol-card {
  border-radius: 12px;
  box-shadow: var(--eb2b-card-shadow);
  display: block;
  overflow: hidden;
}

.eb2b-pol-card + .eb2b-pol-card {
  margin-top: 2px;
}

.eb2b-card-pad {
  padding: 16px;
}

.eb2b-route-panel {
  background: #ffffff;
  border: 1px solid var(--eb2b-border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
}

.eb2b-route-panel-button {
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  width: 100%;
}

.eb2b-route-panel-button:hover {
  background: #f7f7f7;
}

.eb2b-route-panel-selected {
  background: #f7fbff;
  border-color: #005bd3;
  box-shadow: inset 0 0 0 1px rgba(0, 91, 211, 0.14);
}

.eb2b-route-panel-selected:hover {
  background: #f2f8ff;
}

.eb2b-route-callout {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 14px;
}

.eb2b-route-callout-info {
  background: #eff6ff;
  border-color: #cfe2ff;
}

.eb2b-route-callout-success {
  background: #f2fff3;
  border-color: #bce8c0;
}

.eb2b-route-callout-attention {
  background: #fff8ec;
  border-color: #ffd6a4;
}

.eb2b-route-company-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eb2b-route-modal-backdrop {
  align-items: center;
  background: rgba(17, 24, 39, 0.4);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 300;
}

.eb2b-route-modal {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(17, 24, 39, 0.18);
  max-width: 560px;
  padding: 20px;
  width: min(100%, 560px);
}

.eb2b-card-head {
  align-items: center;
  border-bottom: 1px solid var(--eb2b-border);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 16px;
}

.eb2b-card-title {
  color: var(--eb2b-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  margin: 0;
}

.eb2b-card-subtitle {
  color: var(--eb2b-subdued);
  font-size: 12px;
  line-height: 16px;
  margin: 2px 0 0;
}

.eb2b-hero {
  align-items: center;
  background: #303030;
  border-radius: 12px;
  box-shadow: var(--eb2b-card-shadow);
  color: #ffffff;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px 18px;
}

.eb2b-hero-kicker {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  margin-bottom: 2px;
}

.eb2b-hero-title {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eb2b-hero-value {
  font-size: 24px;
  font-weight: 800;
  line-height: 28px;
}

.eb2b-hero-copy {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 18px;
}

.eb2b-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.eb2b-hero-stat {
  min-width: 92px;
  text-align: center;
}

.eb2b-hero-label {
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  line-height: 14px;
  margin-bottom: 2px;
}

.eb2b-hero-stat-value {
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

.eb2b-dashboard-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eb2b-dashboard-grid {
  align-items: flex-start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 280px;
}

.eb2b-dashboard-main,
.eb2b-dashboard-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eb2b-dashboard-hero {
  align-items: center;
  background: #303030;
  border-radius: 10px;
  box-shadow: var(--eb2b-card-shadow);
  color: #ffffff;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 18px;
}

.eb2b-dashboard-hero-copy {
  flex: 1;
  min-width: 0;
}

.eb2b-dashboard-hero-kicker {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 3px;
}

.eb2b-dashboard-hero-value-row {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eb2b-dashboard-hero-value {
  font-size: 22px;
  font-weight: 900;
  line-height: 28px;
}

.eb2b-dashboard-hero-subline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 18px;
}

.eb2b-dashboard-hero-stats {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 20px;
}

.eb2b-dashboard-hero-stat {
  min-width: 92px;
  text-align: center;
}

.eb2b-dashboard-hero-stat + .eb2b-dashboard-hero-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 20px;
}

.eb2b-dashboard-hero-stat-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  line-height: 14px;
  margin-bottom: 2px;
}

.eb2b-dashboard-hero-stat-value {
  align-items: center;
  display: inline-flex;
  gap: 5px;
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
}

.eb2b-dashboard-hero-dot {
  background: #afe9b9;
  border-radius: 50%;
  display: inline-block;
  height: 7px;
  width: 7px;
}

.eb2b-dashboard-help-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 18px;
}

.eb2b-dashboard-help-top {
  align-items: center;
  display: flex;
  gap: 16px;
}

.eb2b-dashboard-help-avatar {
  align-items: center;
  display: flex;
  height: 72px;
  justify-content: center;
  position: relative;
  width: 72px;
}

.eb2b-dashboard-help-avatar-ring {
  background: linear-gradient(135deg, #d8e8ff, #ffd6a4);
  border-radius: 50%;
  height: 72px;
  position: absolute;
  width: 72px;
}

.eb2b-dashboard-help-avatar-face {
  align-items: center;
  background: #f7f7f7;
  border: 3px solid #ffffff;
  border-radius: 50%;
  color: var(--eb2b-ink);
  display: flex;
  height: 60px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 60px;
  z-index: 1;
}

.eb2b-dashboard-help-avatar-face img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.eb2b-dashboard-help-copy {
  min-width: 0;
}

.eb2b-dashboard-help-title {
  color: var(--eb2b-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  margin-bottom: 4px;
}

.eb2b-dashboard-help-text {
  color: var(--eb2b-subdued);
  font-size: 13px;
  line-height: 19px;
  margin: 0;
  max-width: 620px;
}

.eb2b-dashboard-help-actions {
  display: flex;
  gap: 8px;
}

.eb2b-metric-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eb2b-metric {
  background: var(--eb2b-surface);
  border-radius: 12px;
  box-shadow: var(--eb2b-card-shadow);
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 118px;
  padding: 14px;
}

.eb2b-metric-top {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.eb2b-metric-icon {
  align-items: center;
  background: #f1f1f1;
  border-radius: 10px;
  color: var(--eb2b-ink);
  display: flex;
  font-size: 15px;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.eb2b-metric-icon s-icon {
  display: block;
}

.eb2b-metric-label {
  color: var(--eb2b-subdued);
  font-size: 12px;
  line-height: 16px;
  margin: 0;
}

.eb2b-metric-value {
  color: var(--eb2b-ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 26px;
  margin: 2px 0 0;
}

.eb2b-metric-value-warning {
  color: var(--eb2b-warning-text);
}

.eb2b-metric-detail {
  color: var(--eb2b-subdued);
  font-size: 12px;
  line-height: 16px;
  margin: 1px 0 0;
}

.eb2b-pill {
  align-items: center;
  background: #f1f1f1;
  border-radius: 999px;
  color: var(--eb2b-subdued);
  display: inline-flex;
  font-size: 12px;
  font-weight: 650;
  gap: 5px;
  line-height: 16px;
  padding: 2px 8px;
  white-space: nowrap;
}

.eb2b-pill::before {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 6px;
  width: 6px;
}

.eb2b-pill-success {
  background: var(--eb2b-success-bg);
  color: var(--eb2b-success-text);
}

.eb2b-pill-warning,
.eb2b-pill-attention {
  background: var(--eb2b-warning-bg);
  color: var(--eb2b-warning-text);
}

.eb2b-pill-info {
  background: var(--eb2b-info-bg);
  color: var(--eb2b-info-text);
}

.eb2b-pill-critical {
  background: var(--eb2b-critical-bg);
  color: var(--eb2b-critical-text);
}

.eb2b-two-col {
  align-items: flex-start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.eb2b-split-list {
  align-items: flex-start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
}

.eb2b-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eb2b-stack-sm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eb2b-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eb2b-quick-action {
  align-items: center;
  border-right: 1px solid var(--eb2b-border);
  color: var(--eb2b-ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 92px;
  padding: 16px 10px;
  text-align: center;
  text-decoration: none;
}

.eb2b-quick-action:last-child {
  border-right: 0;
}

.eb2b-quick-action:hover {
  background: var(--eb2b-surface-subdued);
  text-decoration: none;
}

.eb2b-quick-action span {
  font-size: 12px;
  font-weight: 650;
}

.eb2b-table {
  border-collapse: collapse;
  font-size: 13px;
  width: 100%;
}

.eb2b-table th {
  background: var(--eb2b-surface-subdued);
  border-bottom: 1px solid var(--eb2b-border);
  color: var(--eb2b-subdued);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 16px;
  text-align: left;
}

.eb2b-table td {
  border-bottom: 1px solid var(--eb2b-border);
  padding: 12px 16px;
  vertical-align: top;
}

.eb2b-table tr:last-child td {
  border-bottom: 0;
}

.eb2b-table tbody tr:hover {
  background: var(--eb2b-surface-subdued);
}

.eb2b-activity-row {
  align-items: flex-start;
  border-top: 1px solid var(--eb2b-border);
  display: flex;
  gap: 10px;
  padding: 10px 16px;
}

.eb2b-activity-row:first-child {
  border-top: 0;
}

.eb2b-activity-dot {
  background: var(--eb2b-ink);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 7px;
  margin-top: 6px;
  width: 7px;
}

.eb2b-activity-title {
  color: var(--eb2b-ink);
  font-size: 13px;
  line-height: 18px;
  margin: 0;
}

.eb2b-activity-time {
  color: var(--eb2b-muted);
  font-size: 11px;
  line-height: 14px;
  margin-top: 2px;
}

.eb2b-dashboard-card-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}

.eb2b-dashboard-card-head-group {
  align-items: center;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.eb2b-dashboard-card-foot {
  border-top: 1px solid var(--eb2b-border);
  padding: 8px 16px;
}

.eb2b-dashboard-inline-link {
  color: var(--eb2b-ink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-decoration: none;
}

.eb2b-dashboard-inline-link:hover {
  text-decoration: none;
}

.eb2b-dashboard-table th {
  white-space: nowrap;
}

.eb2b-dashboard-row-link {
  color: var(--eb2b-ink);
  font-weight: 600;
  text-decoration: none;
}

.eb2b-dashboard-row-link:hover {
  text-decoration: none;
}

.eb2b-dashboard-catalog-pill {
  background: #f1f1f1;
  border-radius: 6px;
  color: var(--eb2b-ink);
  display: inline-flex;
  font-size: 12px;
  line-height: 16px;
  padding: 2px 8px;
  white-space: nowrap;
}

.eb2b-dashboard-status {
  align-items: center;
  border-radius: 10px;
  display: flex;
  gap: 10px;
  padding: 11px 16px;
}

.eb2b-dashboard-status-success {
  background: #f0fff4;
  border: 1px solid #afe9b9;
}

.eb2b-dashboard-status-warning {
  background: #fffbf0;
  border: 1px solid #ffd6a4;
}

.eb2b-dashboard-status-indicator {
  flex: 0 0 auto;
  height: 10px;
  position: relative;
  width: 10px;
}

.eb2b-dashboard-status-dot {
  background: #1a9c4e;
  border-radius: 50%;
  display: block;
  height: 10px;
  position: relative;
  width: 10px;
  z-index: 1;
}

.eb2b-dashboard-status-warning .eb2b-dashboard-status-dot {
  background: #b98900;
}

.eb2b-dashboard-status-halo {
  animation: eb2b-dashboard-pulse 2s ease-in-out infinite;
  background: rgba(26, 156, 78, 0.2);
  border-radius: 50%;
  inset: -3px;
  position: absolute;
}

.eb2b-dashboard-status-warning .eb2b-dashboard-status-halo {
  background: rgba(185, 137, 0, 0.2);
}

.eb2b-dashboard-status-copy {
  flex: 1;
  min-width: 0;
}

.eb2b-dashboard-status-title {
  color: #014b40;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.eb2b-dashboard-status-text {
  color: rgba(1, 75, 64, 0.72);
  font-size: 12px;
  line-height: 16px;
}

.eb2b-dashboard-status-warning .eb2b-dashboard-status-title {
  color: #5e4200;
}

.eb2b-dashboard-status-warning .eb2b-dashboard-status-text {
  color: rgba(94, 66, 0, 0.72);
}

.eb2b-dashboard-status-actions {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.eb2b-dashboard-pending-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px;
}

.eb2b-dashboard-pending-row {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.eb2b-dashboard-pending-name {
  color: var(--eb2b-ink);
  flex: 1;
  font-size: 13px;
  line-height: 18px;
  min-width: 0;
}

.eb2b-dashboard-empty {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.eb2b-dashboard-empty-title {
  color: var(--eb2b-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.eb2b-dashboard-empty-copy {
  color: var(--eb2b-subdued);
  font-size: 12px;
  line-height: 18px;
  margin: 0;
}

.eb2b-dashboard-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--eb2b-ink);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 12px;
  justify-content: center;
  line-height: 16px;
  padding: 0;
  width: 100%;
}

.eb2b-dashboard-toggle-chevron {
  display: inline-block;
  margin-left: 6px;
  transform: rotate(0deg);
  transition: transform 0.15s ease;
}

.eb2b-dashboard-toggle-chevron-open {
  transform: rotate(180deg);
}

@keyframes eb2b-dashboard-pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0;
    transform: scale(1.6);
  }
}

.eb2b-choice-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eb2b-choice {
  background: var(--eb2b-surface);
  border: 1.5px solid var(--eb2b-border);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  padding: 12px 14px;
}

.eb2b-choice-selected {
  background: #f8f8f8;
  border-color: var(--eb2b-ink);
}

.eb2b-choice-mark {
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--eb2b-muted);
  border-radius: 5px;
  display: flex;
  flex: 0 0 auto;
  height: 18px;
  justify-content: center;
  margin-top: 1px;
  width: 18px;
}

.eb2b-choice-selected .eb2b-choice-mark {
  background: var(--eb2b-ink);
  border-color: var(--eb2b-ink);
  color: #ffffff;
}

.eb2b-choice-title {
  color: var(--eb2b-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.eb2b-choice-copy {
  color: var(--eb2b-subdued);
  font-size: 12px;
  line-height: 16px;
  margin-top: 2px;
}

.eb2b-wizard-wrap {
  margin: 0 auto;
  max-width: 720px;
  width: 100%;
}

.eb2b-stepper {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: var(--eb2b-card-shadow);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
  overflow: hidden;
}

.eb2b-step {
  align-items: center;
  border-right: 1px solid var(--eb2b-border);
  color: var(--eb2b-subdued);
  display: flex;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
}

.eb2b-step:last-child {
  border-right: 0;
}

.eb2b-step-current {
  background: var(--eb2b-ink);
  color: #ffffff;
}

.eb2b-step-done {
  background: #f0fff4;
  color: var(--eb2b-success-text);
}

.eb2b-step-index {
  align-items: center;
  background: #f1f1f1;
  border-radius: 50%;
  color: var(--eb2b-muted);
  display: flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.eb2b-step-current .eb2b-step-index {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.eb2b-step-done .eb2b-step-index {
  background: var(--eb2b-success-bg);
  color: var(--eb2b-success-text);
}

.eb2b-step-label {
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.eb2b-status-row {
  align-items: center;
  border-top: 1px solid var(--eb2b-border);
  display: flex;
  gap: 12px;
  padding: 11px 16px;
}

.eb2b-dashboard-quicklinks-grid {
  display: flex;
  flex-direction: column;
  padding: 0 16px 16px;
}

.eb2b-dashboard-quicklink {
  align-items: center;
  border-bottom: 1px solid var(--eb2b-border);
  color: var(--eb2b-ink);
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
  transition: background 0.15s ease;
}

.eb2b-dashboard-quicklink:last-child {
  border-bottom: none;
}

.eb2b-dashboard-quicklink:hover {
  text-decoration: none;
}

.eb2b-dashboard-quicklink:hover .eb2b-dashboard-quicklink-label {
  color: #005bd3;
}

.eb2b-dashboard-quicklink-index {
  align-items: center;
  background: #edf2ff;
  border-radius: 8px;
  color: #005bd3;
  display: inline-flex;
  flex-shrink: 0;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.eb2b-dashboard-quicklink-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eb2b-dashboard-quicklink-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  transition: color 0.15s ease;
}

.eb2b-dashboard-quicklink-copy {
  color: var(--eb2b-subdued);
  font-size: 12px;
  line-height: 17px;
}

.eb2b-settings-shell,
.eb2b-formbuilder-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eb2b-settings-grid,
.eb2b-formbuilder-grid {
  align-items: flex-start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.eb2b-settings-main,
.eb2b-settings-aside,
.eb2b-formbuilder-main,
.eb2b-formbuilder-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eb2b-settings-summary-grid,
.eb2b-formbuilder-summary-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eb2b-settings-summary-card,
.eb2b-formbuilder-summary-card {
  background: var(--eb2b-surface-subdued);
  border: 1px solid var(--eb2b-border);
  border-radius: 10px;
  padding: 12px 14px;
}

.eb2b-settings-mini-label,
.eb2b-formbuilder-summary-label,
.eb2b-formbuilder-step-eyebrow {
  color: var(--eb2b-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 16px;
  margin: 0;
  text-transform: uppercase;
}

.eb2b-settings-summary-value,
.eb2b-formbuilder-summary-value {
  color: var(--eb2b-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  margin: 4px 0 0;
}

.eb2b-settings-section-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.eb2b-settings-surface {
  background: var(--eb2b-surface-subdued);
  border: 1px solid var(--eb2b-border);
  border-radius: 10px;
  padding: 14px;
}

.eb2b-settings-inline-copy {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.eb2b-settings-code {
  color: var(--eb2b-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 18px;
  margin: 4px 0 0;
}

.eb2b-settings-toggle-card {
  background: var(--eb2b-surface-subdued);
  border: 1px solid var(--eb2b-border);
  border-radius: 10px;
  padding: 12px;
}

.eb2b-settings-dark-cta,
.eb2b-formbuilder-dark-cta {
  align-items: center;
  background: #303030;
  border-radius: 10px;
  color: #ffffff;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 16px;
}

.eb2b-settings-dark-cta-title,
.eb2b-formbuilder-dark-cta-title,
.eb2b-formbuilder-help-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  margin: 0 0 4px;
}

.eb2b-settings-dark-cta-copy,
.eb2b-formbuilder-dark-cta-copy {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 18px;
  margin: 0;
}

.eb2b-settings-market-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eb2b-formedit-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eb2b-formedit-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eb2b-formedit-fields--tight {
  gap: 12px;
}

.eb2b-formedit-grid-2 {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eb2b-formedit-grid-3 {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eb2b-formedit-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.eb2b-formedit-color-row {
  align-items: center;
  display: flex;
  gap: 8px;
}

.eb2b-settings-market-card,
.eb2b-settings-step-card,
.eb2b-settings-list-row,
.eb2b-settings-market-row {
  background: var(--eb2b-surface-subdued);
  border: 1px solid var(--eb2b-border);
  border-radius: 10px;
  padding: 14px;
}

.eb2b-settings-market-card-head,
.eb2b-settings-list-row,
.eb2b-settings-market-row,
.eb2b-settings-step-card {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.eb2b-settings-market-title,
.eb2b-settings-list-title,
.eb2b-settings-step-title,
.eb2b-formbuilder-step-title,
.eb2b-form-preview-title {
  color: var(--eb2b-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 19px;
  margin: 0;
}

.eb2b-settings-market-meta,
.eb2b-settings-list-copy,
.eb2b-settings-step-text,
.eb2b-formbuilder-step-copy,
.eb2b-form-preview-copy,
.eb2b-formbuilder-help-copy {
  color: var(--eb2b-subdued);
  font-size: 12px;
  line-height: 18px;
  margin: 4px 0 0;
}

.eb2b-settings-step-index {
  align-items: center;
  background: #303030;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.eb2b-settings-step-copy {
  flex: 1;
  min-width: 0;
}

.eb2b-settings-step-actions,
.eb2b-formbuilder-step-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eb2b-settings-step-card-muted {
  opacity: 0.58;
}

.eb2b-admin-modal-backdrop {
  align-items: center;
  background: rgba(26, 26, 26, 0.5);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 300;
}

.eb2b-admin-modal {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(26, 26, 26, 0.22);
  max-height: calc(100vh - 48px);
  max-width: 640px;
  overflow: auto;
  width: min(100%, 640px);
}

.eb2b-admin-modal-head,
.eb2b-admin-modal-foot {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 18px 20px;
}

.eb2b-admin-modal-head {
  border-bottom: 1px solid var(--eb2b-border);
}

.eb2b-admin-modal-foot {
  border-top: 1px solid var(--eb2b-border);
}

.eb2b-admin-modal-title {
  color: var(--eb2b-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  margin: 0;
}

.eb2b-admin-modal-copy {
  color: var(--eb2b-subdued);
  font-size: 12px;
  line-height: 18px;
  margin: 4px 0 0;
}

.eb2b-admin-modal-close {
  background: transparent;
  border: 0;
  color: var(--eb2b-subdued);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
}

.eb2b-admin-modal-body {
  padding: 20px;
}

.eb2b-modal-divider {
  background: var(--eb2b-border);
  height: 1px;
  width: 100%;
}

/* ── Bulk pricing — selection bar, checkbox column, modal sections ── */
.eb2b-bulk-bar {
  align-items: center;
  background: var(--eb2b-surface-subdued);
  border: 1px solid var(--eb2b-border);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 10px 14px;
}

.eb2b-bulk-bar-count {
  font-size: 13px;
  font-weight: 600;
}

.eb2b-bulk-bar-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.eb2b-bulk-check-cell {
  text-align: center;
  width: 40px;
}

.eb2b-bulk-row-selected {
  background: var(--eb2b-surface-subdued);
}

.eb2b-bulk-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eb2b-bulk-helper {
  background: #e0efff;
  border-radius: 8px;
  color: #002133;
  font-size: 12px;
  line-height: 18px;
  padding: 9px 14px;
}

.eb2b-bulk-section-head {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 9px;
}

.eb2b-bulk-section-title {
  font-size: 14px;
  font-weight: 700;
}

.eb2b-bulk-section-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.eb2b-bulk-narrow {
  max-width: 220px;
}

.eb2b-bulk-replace-note {
  color: var(--eb2b-subdued);
  font-size: 12px;
}

.eb2b-bulk-tier-editor {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eb2b-bulk-qr-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr 1fr;
}

.eb2b-bulk-errors {
  background: #fee8eb;
  border: 1px solid #ffbcc5;
  border-radius: 8px;
  color: #8e0b21;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  gap: 4px;
  padding: 10px 12px;
}

.eb2b-bulk-foot {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.eb2b-bulk-result {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eb2b-bulk-result-banner {
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
}

.eb2b-bulk-result-banner.is-ok {
  background: #cdffd0;
  color: #014b40;
}

.eb2b-bulk-result-banner.is-partial {
  background: #fff8e1;
  color: #5e4200;
}

.eb2b-bulk-result-fails-title {
  color: #8e0b21;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.eb2b-bulk-result-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.eb2b-bulk-result-list li {
  align-items: baseline;
  display: flex;
  font-size: 12px;
  gap: 8px;
}

.eb2b-bulk-result-sku {
  flex-shrink: 0;
  font-weight: 600;
}

.eb2b-bulk-result-reason {
  color: var(--eb2b-subdued);
}

.eb2b-formbuilder-help-banner,
.eb2b-formbuilder-note {
  align-items: center;
  background: var(--eb2b-surface-subdued);
  border: 1px solid var(--eb2b-border);
  border-radius: 10px;
  color: var(--eb2b-subdued);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 14px 16px;
}

.eb2b-formbuilder-step-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eb2b-formbuilder-step-tab {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--eb2b-subdued);
  cursor: pointer;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  text-align: left;
}

.eb2b-formbuilder-step-tab-active {
  background: #f0f7ff;
  border-color: #bdd4f8;
  color: var(--eb2b-ink);
}

.eb2b-formbuilder-step-tab-index {
  align-items: center;
  background: #e3e3e3;
  border-radius: 999px;
  color: var(--eb2b-subdued);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.eb2b-formbuilder-step-tab-active .eb2b-formbuilder-step-tab-index {
  background: #303030;
  color: #ffffff;
}

.eb2b-formbuilder-step-card {
  background: var(--eb2b-surface-subdued);
  border: 1px solid var(--eb2b-border);
  border-radius: 12px;
  padding: 16px;
}

.eb2b-formbuilder-visual {
  margin-top: 14px;
}

.eb2b-formbuilder-visual-dark,
.eb2b-formbuilder-visual-panel,
.eb2b-formbuilder-visual-checklist {
  background: #f8f8f8;
  border: 1px solid var(--eb2b-border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}

.eb2b-formbuilder-visual-dark {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.84);
}

.eb2b-formbuilder-visual-panel-active,
.eb2b-formbuilder-visual-highlight,
.eb2b-formbuilder-visual-checklist div {
  background: #f0f7ff;
  border: 1px solid #bdd4f8;
  border-radius: 8px;
  color: #002133;
  padding: 8px 10px;
}

.eb2b-formbuilder-visual-checklist div {
  background: #f0fff4;
  border-color: #afe9b9;
  color: #014b40;
}

.eb2b-form-preview-modal {
  max-width: 760px;
  width: min(100%, 760px);
}

.eb2b-form-preview-browser {
  align-items: center;
  background: #e8e8e8;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 12px 16px;
}

.eb2b-form-preview-dots {
  display: flex;
  gap: 6px;
}

.eb2b-form-preview-dots span {
  border-radius: 50%;
  display: block;
  height: 10px;
  width: 10px;
}

.eb2b-form-preview-dots span:nth-child(1) {
  background: #ff5f57;
}

.eb2b-form-preview-dots span:nth-child(2) {
  background: #febc2e;
}

.eb2b-form-preview-dots span:nth-child(3) {
  background: #28c840;
}

.eb2b-form-preview-url {
  background: #ffffff;
  border-radius: 7px;
  color: var(--eb2b-muted);
  font-size: 11px;
  line-height: 16px;
  padding: 6px 10px;
  text-align: center;
}

.eb2b-form-preview-body {
  background: #ffffff;
  padding: 28px;
}

.eb2b-form-preview-content {
  margin: 0 auto;
  max-width: 480px;
}

.eb2b-form-preview-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.eb2b-form-preview-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eb2b-form-preview-label {
  color: var(--eb2b-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.eb2b-form-preview-required {
  color: #c43256;
  margin-left: 2px;
}

.eb2b-form-preview-hint {
  color: var(--eb2b-muted);
  font-size: 11px;
  line-height: 16px;
  margin: 0;
}

.eb2b-form-preview-input {
  border: 1.5px solid #d0d0d0;
  border-radius: 8px;
  color: var(--eb2b-subdued);
  font-family: inherit;
  font-size: 13px;
  height: 42px;
  padding: 0 12px;
}

.eb2b-form-preview-textarea {
  height: 80px;
  padding: 10px 12px;
  resize: none;
}

.eb2b-form-preview-submit {
  background: #303030;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  cursor: default;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  height: 44px;
  margin-top: 16px;
  width: 100%;
}

@media (max-width: 900px) {
  .eb2b-dashboard-grid,
  .eb2b-settings-grid,
  .eb2b-formbuilder-grid,
  .eb2b-two-col,
  .eb2b-split-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .eb2b-dashboard-quicklinks-grid,
  .eb2b-settings-summary-grid,
  .eb2b-formbuilder-summary-grid,
  .eb2b-settings-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .eb2b-dashboard-quicklinks-grid,
  .eb2b-settings-summary-grid,
  .eb2b-formbuilder-summary-grid,
  .eb2b-settings-market-grid,
  .eb2b-metric-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .eb2b-page-head,
  .eb2b-settings-section-head,
  .eb2b-settings-inline-copy,
  .eb2b-settings-step-card,
  .eb2b-settings-list-row,
  .eb2b-settings-market-row,
  .eb2b-dashboard-help-card,
  .eb2b-dashboard-hero,
  .eb2b-settings-dark-cta,
  .eb2b-formbuilder-dark-cta,
  .eb2b-formbuilder-help-banner,
  .eb2b-admin-modal-head,
  .eb2b-admin-modal-foot {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
    flex-direction: column;
  }

  .eb2b-dashboard-hero-stats {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .eb2b-form-preview-browser {
    grid-template-columns: minmax(0, 1fr);
  }
}

.eb2b-status-row:first-child {
  border-top: 0;
}

.eb2b-status-dot {
  border-radius: 50%;
  flex: 0 0 auto;
  height: 8px;
  width: 8px;
}

.eb2b-status-main {
  flex: 1;
  min-width: 0;
}

.eb2b-status-label {
  color: var(--eb2b-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.eb2b-status-hint {
  color: var(--eb2b-subdued);
  font-size: 12px;
  line-height: 16px;
}

@media (max-width: 900px) {
  .eb2b-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .eb2b-route-company-grid {
    grid-template-columns: 1fr;
  }

  .eb2b-dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .eb2b-dashboard-hero-stats {
    flex-wrap: wrap;
  }

  .eb2b-dashboard-hero-stat + .eb2b-dashboard-hero-stat {
    border-left: 0;
    padding-left: 0;
  }

  .eb2b-dashboard-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .eb2b-dashboard-help-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .eb2b-dashboard-help-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .eb2b-hero,
  .eb2b-two-col,
  .eb2b-split-list {
    grid-template-columns: 1fr;
  }

  .eb2b-metric-grid,
  .eb2b-quick-grid,
  .eb2b-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .eb2b-page-head {
    flex-direction: column;
  }

  .eb2b-route-modal {
    padding: 16px;
  }

  .eb2b-page-actions {
    justify-content: flex-start;
  }

  .eb2b-dashboard-help-card,
  .eb2b-metric-grid,
  .eb2b-quick-grid,
  .eb2b-choice-grid,
  .eb2b-stepper {
    grid-template-columns: 1fr;
  }

  .eb2b-step {
    border-bottom: 1px solid var(--eb2b-border);
    border-right: 0;
  }
}

.eb2b-save-bar {
  align-items: center;
  animation: eb2b-savebar-in 0.15s ease;
  background: #303030;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  font-size: 13px;
  font-weight: 500;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 8px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.eb2b-save-bar-muted {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.eb2b-registrations-page {
  font-family: var(--eb2b-font-family);
}

.eb2b-registration-toolbar {
  margin-bottom: 8px;
}

.eb2b-chip-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.eb2b-chip-tab {
  align-items: center;
  background: #ffffff;
  border: 1px solid #c9cccf;
  border-radius: 6px;
  color: #303030;
  cursor: pointer;
  display: inline-flex;
  font: 500 13px/1 var(--eb2b-font-family);
  gap: 5px;
  height: 28px;
  padding: 0 12px;
  transition:
    background 0.1s,
    border-color 0.1s,
    color 0.1s;
  white-space: nowrap;
}

.eb2b-chip-tab:hover {
  background: #f7f7f7;
}

.eb2b-chip-tab.active {
  background: #303030;
  border-color: #303030;
  color: #ffffff;
  font-weight: 600;
}

.eb2b-chip-tab .eb2b-chip-count {
  align-items: center;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 999px;
  color: inherit;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  justify-content: center;
  min-width: 16px;
  padding: 0 5px;
}

.eb2b-chip-tab.active .eb2b-chip-count {
  background: rgba(255, 255, 255, 0.2);
}

.eb2b-chip-tab.pending.active .eb2b-chip-count {
  background: rgba(255, 214, 164, 0.35);
  color: #ffffff;
}

.eb2b-chip-tab.pending:not(.active) .eb2b-chip-count {
  background: #ffd6a4;
  color: #5e4200;
}

.eb2b-search-field {
  min-width: 220px;
}

.eb2b-filter-group {
  display: inline-flex;
  justify-content: flex-end;
}

.eb2b-segment {
  align-items: center;
  background: #ffffff;
  border: 1px solid #c9cccf;
  color: #303030;
  cursor: pointer;
  display: inline-flex;
  font: 500 13px/18px var(--eb2b-font-family);
  gap: 6px;
  min-height: 32px;
  padding: 6px 12px;
  white-space: nowrap;
}

.eb2b-segment:first-child {
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
}

.eb2b-segment:last-child {
  border-bottom-right-radius: 8px;
  border-top-right-radius: 8px;
}

.eb2b-segment + .eb2b-segment {
  margin-left: -1px;
}

.eb2b-segment:hover {
  background: #f7f7f7;
}

.eb2b-segment-active {
  background: #303030;
  border-color: #303030;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.eb2b-chip-count {
  align-items: center;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  box-sizing: border-box;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  height: 18px;
  justify-content: center;
  margin-left: 6px;
  min-width: 18px;
  padding: 0 6px;
  white-space: nowrap;
}

.eb2b-segment-active .eb2b-chip-count {
  background: rgba(255, 255, 255, 0.2);
}

.eb2b-search-input {
  align-items: center;
  background: #ffffff;
  border: 1px solid #c9cccf;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  display: flex;
  gap: 6px;
  height: 28px;
  min-width: 200px;
  padding: 0 10px;
}

.eb2b-search-input:focus-within {
  border-color: #005bd3;
  box-shadow: 0 0 0 2px rgba(0, 91, 211, 0.15);
}

.eb2b-search-input input {
  background: transparent;
  border: 0;
  color: #303030;
  font: 13px var(--eb2b-font-family);
  outline: 0;
  width: 100%;
}

.eb2b-search-input input::placeholder {
  color: #8a8a8a;
}

.eb2b-search-clear {
  background: none;
  border: 0;
  color: #8a8a8a;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 0;
}

.eb2b-page-header {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 4px 0 20px;
}

.eb2b-page-title-block {
  min-width: 0;
}

.eb2b-page-subtitle {
  color: #616161;
  font: 400 13px/18px var(--eb2b-font-family);
  margin: 0;
}

.eb2b-orders-toolbar {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: var(--eb2b-card-shadow);
  padding: 14px 16px;
}

.eb2b-orders-toolbar-grid {
  display: block;
}

.eb2b-orders-search,
.eb2b-orders-select {
  min-width: 0;
}

.eb2b-orders-reset {
  align-self: end;
  background: none;
  border: 0;
  color: #616161;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  height: 36px;
  padding: 0 4px;
}

.eb2b-orders-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eb2b-orders-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eb2b-orders-summary-item {
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: var(--eb2b-card-shadow);
  display: inline-flex;
  gap: 8px;
  padding: 8px 12px;
}

.eb2b-orders-summary-label {
  color: #616161;
  font-size: 12px;
}

.eb2b-orders-table-wrap {
  overflow-x: auto;
}

.eb2b-orders-table {
  border-collapse: collapse;
  min-width: 100%;
  width: 100%;
}

.eb2b-orders-table th,
.eb2b-orders-table td {
  border-bottom: 1px solid #e3e3e3;
  font-size: 13px;
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
}

.eb2b-orders-table th {
  color: #8a8a8a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eb2b-orders-table tbody tr {
  cursor: pointer;
  transition: background 120ms ease;
}

.eb2b-orders-table tbody tr:hover {
  background: #fafafa;
}

.eb2b-orders-table tbody tr.is-active {
  background: #f0f7ff;
}

.eb2b-orders-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
}

.eb2b-orders-company {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eb2b-orders-subline {
  color: #8a8a8a;
  font-size: 11px;
}

.eb2b-orders-chevron {
  color: #8a8a8a;
  font-size: 18px;
  text-align: right;
}

.eb2b-orders-empty {
  text-align: center;
}

.eb2b-orders-empty h2 {
  font-size: 16px;
  margin: 0 0 6px;
}

.eb2b-orders-empty p {
  color: #616161;
  font-size: 13px;
  margin: 0;
}

.eb2b-orders-detail-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 240px;
}

.eb2b-orders-detail-main,
.eb2b-orders-detail-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eb2b-orders-context-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eb2b-orders-meta-label {
  color: #8a8a8a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.eb2b-orders-meta-value {
  color: #303030;
  font-size: 13px;
  font-weight: 600;
}

.eb2b-orders-pill-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eb2b-orders-note {
  background: #f7f7f7;
  border-radius: 8px;
  color: #616161;
  font-size: 12px;
  line-height: 18px;
  padding: 10px 12px;
}

.eb2b-orders-alert {
  background: #fee8eb;
  border: 1px solid #ffbcc5;
  border-radius: 8px;
  color: #8e0b21;
  font-size: 12px;
  line-height: 18px;
  padding: 10px 12px;
}

.eb2b-orders-linkbox {
  align-items: center;
  background: #f0f7ff;
  border: 1px solid #c8dfff;
  border-radius: 8px;
  color: #002133;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
}

.eb2b-orders-linkbox a {
  color: #005bd3;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.eb2b-orders-total-card {
  background: #f7f7f7;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  position: sticky;
  top: 14px;
}

.eb2b-orders-total-label,
.eb2b-orders-total-subline,
.eb2b-orders-total-po {
  color: #616161;
  font-size: 12px;
}

.eb2b-orders-total-value {
  color: #303030;
  font-size: 24px;
  font-weight: 800;
  line-height: 28px;
}

.eb2b-orders-loading-hint {
  color: #616161;
  font-size: 12px;
  text-align: right;
}

.eb2b-orders-doc-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.eb2b-orders-doc-field {
  color: #4a4f55;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  gap: 4px;
}

.eb2b-orders-doc-field input,
.eb2b-orders-doc-field select {
  background: #fff;
  border: 1px solid #d2d5d9;
  border-radius: 10px;
  color: #111213;
  font: inherit;
  padding: 10px 12px;
}

.eb2b-orders-doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.eb2b-orders-doc-empty {
  border: 1px dashed #d2d5d9;
  border-radius: 12px;
  color: #616161;
  font-size: 12px;
  padding: 12px 14px;
}

.eb2b-orders-doc-row {
  align-items: flex-start;
  border: 1px solid #e4e7eb;
  border-radius: 12px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 12px 14px;
}

.eb2b-orders-doc-title {
  color: #111213;
  font-weight: 700;
}

.eb2b-orders-doc-meta {
  color: #616161;
  font-size: 12px;
  margin-top: 3px;
}

.eb2b-orders-doc-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.s-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--eb2b-card-shadow);
  overflow: hidden;
}

.s-card-head {
  align-items: center;
  border-bottom: 1px solid #e3e3e3;
  display: flex;
  justify-content: space-between;
  padding: 12px 16px 8px;
}

.s-card-title {
  color: #303030;
  font: 600 14px/20px var(--eb2b-font-family);
  margin: 0;
}

.s-card-body {
  padding: 16px;
}

.s-btn {
  align-items: center;
  border-radius: 8px;
  color: #303030;
  display: inline-flex;
  font-size: 12px;
  font-weight: 500;
  gap: 6px;
  height: 28px;
  justify-content: center;
  padding: 6px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.s-btn-secondary {
  background: #fff;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.1),
    0 1px 0 rgba(0, 0, 0, 0.05);
}

.s-btn-primary {
  background: linear-gradient(180deg, #404040, #303030);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px #303030,
    0 1px 1.5px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-weight: 700;
}

.s-btn-tertiary {
  background: transparent;
  padding: 6px 8px;
}

.s-btn-full {
  justify-content: center;
  width: 100%;
}

.s-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.s-label {
  color: #303030;
  font-size: 13px;
  font-weight: 500;
}

.s-help {
  color: #616161;
  font-size: 12px;
  line-height: 16px;
}

.s-input-wrap {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: inset 0 0 0 0.66px #8a8a8a, 0 1px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  overflow: hidden;
}

.s-input {
  background: transparent;
  border: 0;
  color: #303030;
  flex: 1;
  font-size: 13px;
  height: 30px;
  outline: 0;
  padding: 6px 12px;
}

textarea.s-input {
  height: auto;
  min-height: 60px;
  padding: 8px 12px;
  resize: vertical;
}

.s-input-suffix {
  color: #616161;
  font-size: 13px;
  padding: 0 8px;
}

.s-select-wrap {
  position: relative;
}

.s-select.s-input {
  appearance: none;
  cursor: pointer;
  padding-right: 28px;
}

.s-select-chevron {
  color: #616161;
  pointer-events: none;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.s-btn-icon-only {
  height: 28px;
  padding: 0 8px;
  width: 28px;
}

.s-badge {
  border-radius: 999px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 500;
  gap: 4px;
  padding: 2px 8px;
  background: #f1f1f1;
  color: #616161;
}

.s-badge-info {
  background: #e0f0ff;
  color: #0057ad;
}

.eb2b-select-max-320 {
  max-inline-size: 320px;
}

.s-table {
  border-collapse: collapse;
  font-size: 13px;
  width: 100%;
}

.s-table thead th {
  background: #f7f7f7;
  border-bottom: 1px solid #e3e3e3;
  color: #616161;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 16px;
  text-align: left;
}

.s-table tbody td {
  border-bottom: 1px solid #e3e3e3;
  padding: 12px 16px;
}

.eb2b-drafts-demohint {
  color: #616161;
  font-size: 12px;
  margin-top: -6px;
}

.eb2b-drafts-dropzone {
  background: #fafafa;
  border: 2px dashed #b5b5b5;
  border-radius: 12px;
  cursor: pointer;
  padding: 36px 24px;
  text-align: center;
}

.eb2b-drafts-dropicon {
  align-items: center;
  background: #f1f1f1;
  border-radius: 12px;
  display: flex;
  font-size: 20px;
  height: 44px;
  justify-content: center;
  margin: 0 auto 12px;
  width: 44px;
}

.eb2b-drafts-drophead {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.eb2b-drafts-dropcopy,
.eb2b-drafts-previewcopy {
  color: #8a8a8a;
  font-size: 13px;
}

.eb2b-drafts-formatbox {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 12px 14px;
}

.eb2b-drafts-formatlabel {
  color: #616161;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.eb2b-drafts-formatcode {
  color: #303030;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 20px;
}

.eb2b-drafts-filepill {
  align-items: center;
  background: #e0efff;
  border: 1px solid #91d0ff;
  border-radius: 10px;
  color: #002133;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 14px;
}

.eb2b-drafts-filepill button {
  background: none;
  border: 0;
  color: #8a8a8a;
  cursor: pointer;
}

.eb2b-drafts-successbox {
  align-items: center;
  background: #f0fff4;
  border: 1px solid #afe9b9;
  border-radius: 10px;
  color: #014b40;
  display: flex;
  gap: 10px;
  padding: 12px 16px;
}

.eb2b-drafts-successicon {
  font-size: 16px;
  font-weight: 700;
}

.eb2b-drafts-successhead {
  font-size: 13px;
  font-weight: 600;
}

.eb2b-drafts-successcopy {
  font-size: 12px;
}

.eb2b-drafts-detailgrid {
  align-items: flex-start;
  display: block;
}

.eb2b-drafts-detailmain,
.eb2b-drafts-detailside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eb2b-drafts-two {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.eb2b-drafts-summaryline {
  align-items: center;
  color: #616161;
  display: flex;
  font-size: 13px;
  justify-content: space-between;
}

.eb2b-drafts-summarytotal {
  border-top: 1.5px solid #303030;
  display: flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: space-between;
  padding-top: 10px;
}

.eb2b-drafts-summaryhint {
  background: #f7f7f7;
  border-radius: 7px;
  color: #616161;
  font-size: 11px;
  padding: 7px 10px;
}

.eb2b-drafts-table-actions {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.eb2b-registration-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eb2b-no-plan-gate {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 16px;
}

.eb2b-plan-selection-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.07);
  max-width: 520px;
  padding: 32px 24px;
  width: 100%;
}

/* ── Plan selection gate (no active plan) ────────────────────────────────── */

.eb2b-plan-gate {
  align-items: flex-start;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(48, 48, 48, 0.04), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(48, 48, 48, 0.03), transparent 70%);
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding: 56px 16px 64px;
}

.eb2b-plan-gate-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(26, 26, 26, 0.07),
    0 1px 2px rgba(26, 26, 26, 0.04),
    0 12px 32px -8px rgba(26, 26, 26, 0.08);
  display: flex;
  flex-direction: column;
  font-family: var(--eb2b-font-family);
  gap: 28px;
  max-width: 520px;
  padding: 36px 36px 32px;
  width: 100%;
}

.eb2b-plan-gate-hero {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.eb2b-plan-gate-eyebrow {
  align-self: center;
  background: #f1f8f5;
  border-radius: 999px;
  color: #014b40;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 6px 10px;
  text-transform: uppercase;
}

.eb2b-plan-gate-headline {
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 30px;
  margin: 4px 0 0;
  font-family: var(--eb2b-font-family);
}

.eb2b-plan-gate-subcopy {
  color: #616161;
  font-family: var(--eb2b-font-family);
  font-size: 14px;
  line-height: 20px;
  margin: 0 auto;
  max-width: 420px;
}

.eb2b-plan-gate-features {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eb2b-plan-gate-features-title {
  color: #303030;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 16px;
  text-align: center;
  text-transform: uppercase;
}

.eb2b-plan-gate-feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: fit-content;
}

.eb2b-plan-gate-feature {
  align-items: flex-start;
  color: #303030;
  display: flex;
  font-size: 13px;
  gap: 10px;
  line-height: 18px;
}

.eb2b-plan-gate-feature-icon {
  align-items: center;
  background: #e8f5ee;
  border-radius: 999px;
  color: #014b40;
  display: inline-flex;
  flex-shrink: 0;
  height: 18px;
  justify-content: center;
  margin-top: 0;
  width: 18px;
}

.eb2b-plan-gate-cta {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.eb2b-plan-gate-cta s-button {
  display: block;
}

.eb2b-plan-gate-cta-microcopy {
  color: #8a8a8a;
  font-size: 12px;
  line-height: 16px;
  margin: 0;
  text-align: center;
}

@media (max-width: 600px) {
  .eb2b-plan-gate {
    padding: 32px 12px 48px;
  }

  .eb2b-plan-gate-card {
    gap: 24px;
    padding: 28px 20px 24px;
  }

  .eb2b-plan-gate-headline {
    font-size: 22px;
    line-height: 28px;
  }
}

.eb2b-registration-empty {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 42px 24px;
  text-align: center;
}

.eb2b-empty-icon {
  align-items: center;
  align-self: center;
  background: #f1f1f1;
  border-radius: 10px;
  color: #616161;
  display: flex;
  font-size: 11px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  letter-spacing: 0.04em;
  width: 42px;
}

.eb2b-empty-title {
  color: #303030;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.eb2b-empty-copy {
  color: #616161;
  font-size: 13px;
  line-height: 18px;
  margin: 0 auto;
  max-width: 520px;
}

.eb2b-empty-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 4px;
}

.eb2b-reg-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.07),
    0 1px 3px rgba(26, 26, 26, 0.08);
  overflow: visible;
}

.eb2b-reg-card-summary {
  align-items: center;
  background: transparent;
  border: 0;
  color: #303030;
  cursor: pointer;
  display: flex;
  gap: 14px;
  padding: 13px 18px;
  text-align: left;
  width: 100%;
}

.eb2b-reg-avatar {
  align-items: center;
  background: #f1f1f1;
  border-radius: 10px;
  display: flex;
  flex: 0 0 auto;
  font-size: 20px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.eb2b-reg-primary {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.eb2b-reg-name {
  color: #303030;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eb2b-reg-meta {
  color: #616161;
  font-size: 12px;
  line-height: 16px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eb2b-reg-summary-pills {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.eb2b-reg-chevron {
  color: #8a8a8a;
  flex: 0 0 auto;
  height: 14px;
  transition: transform 0.15s;
  width: 14px;
}

.eb2b-reg-chevron-open {
  transform: rotate(90deg);
}

.eb2b-reg-card-details {
  animation: accordionOpen 0.2s ease;
  border-top: 1px solid #e3e3e3;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px;
}

.eb2b-reg-detail-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eb2b-reg-creation-grid {
  background: #f7f7f7;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.eb2b-reg-creation-item {
  padding: 12px;
}

.eb2b-reg-creation-item + .eb2b-reg-creation-item {
  border-left: 1px solid #e3e3e3;
}

.eb2b-reg-creation-title {
  color: #303030;
  font-size: 13px;
  font-weight: 650;
  line-height: 18px;
}

.eb2b-reg-detail-label {
  color: #8a8a8a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 14px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.eb2b-reg-vat-value {
  color: #303030;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.eb2b-reg-vat-note {
  color: #8a8a8a;
  font-size: 11px;
  line-height: 14px;
  margin-top: 3px;
}

.eb2b-reg-custom-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 6px;
}

.eb2b-reg-custom-item {
  background: #f7f7f7;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  padding: 10px 12px;
}

.eb2b-reg-custom-label {
  color: #8a8a8a;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
}

.eb2b-reg-custom-value {
  color: #303030;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  margin-top: 3px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  word-break: break-word;
}

.eb2b-reg-vat-note-ok {
  color: #014b40;
}

.eb2b-reg-vat-note-bad {
  color: #8e0b21;
}

.eb2b-reg-catalog {
  background: #f1f1f1;
  border-radius: 7px;
  color: #303030;
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  padding: 2px 9px;
}

.eb2b-vat-pill,
.eb2b-tax-pill {
  border-radius: 8px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  padding: 2px 9px;
  white-space: nowrap;
}

.eb2b-vat-pill-empty {
  background: #f1f1f1;
  color: #616161;
}

.eb2b-vat-pill-ok {
  background: #cdffd0;
  color: #014b40;
}

.eb2b-vat-pill-bad {
  background: #fee8eb;
  color: #8e0b21;
}

.eb2b-reg-reject-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eb2b-reg-reject-label {
  color: #616161;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 600;
  gap: 5px;
}

.eb2b-reg-reject-label span {
  font-weight: 400;
}

.eb2b-reg-reject-label textarea {
  border: 1px solid #c9cccf;
  border-radius: 8px;
  box-sizing: border-box;
  color: #303030;
  font-family: inherit;
  font-size: 13px;
  min-height: 56px;
  outline: none;
  padding: 8px 10px;
  resize: vertical;
  width: 100%;
}

.eb2b-reg-reject-label textarea:focus {
  border-color: #005bd3;
  box-shadow: 0 0 0 2px rgba(0, 91, 211, 0.15);
}

.eb2b-reg-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@keyframes accordionOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes eb2b-savebar-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.eb2b-setup-shell {
  margin: 0 auto;
  max-width: 640px;
  padding: 8px 0 48px;
}

.eb2b-setup-header {
  margin-bottom: 18px;
}

.eb2b-setup-brand {
  align-items: center;
  display: flex;
  gap: 10px;
}

.eb2b-setup-brand-mark {
  align-items: center;
  background: #303030;
  border-radius: 8px;
  color: #ffffff;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.eb2b-setup-brand-title {
  color: #303030;
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
}

.eb2b-setup-brand-subtitle {
  color: #8a8a8a;
  font-size: 12px;
  line-height: 16px;
}

/* Single-row stepper: the dots row owns all geometry. Each item is exactly one
   dot wide (18px) and spaced via space-between, so all 7 dot centers are evenly
   spaced — the first flush-left, the last flush-right, each center one
   dot-radius (9px) in from the row's edge. The track + fill are pseudo-elements
   inset by that radius, so the line spans dot-1-center → dot-N-center and the
   fill width (--eb2b-progress, 0%..100%) lands exactly on the current dot's
   center. Labels are absolutely positioned under each dot so their width can
   exceed the 18px column without disturbing dot spacing. */
.eb2b-setup-dots {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 36px;
  position: relative;
}

.eb2b-setup-dots::before,
.eb2b-setup-dots::after {
  border-radius: 999px;
  content: "";
  height: 6px;
  left: 9px;
  position: absolute;
  top: 6px;
}

.eb2b-setup-dots::before {
  background: #e3e3e3;
  right: 9px;
}

.eb2b-setup-dots::after {
  background: #303030;
  transition: width 0.4s ease;
  width: calc((100% - 18px) * var(--eb2b-progress, 0%) / 100%);
}

.eb2b-setup-dot-item {
  display: flex;
  flex: 0 0 18px;
  justify-content: center;
  position: relative;
  width: 18px;
  z-index: 1;
}

.eb2b-setup-dot {
  align-items: center;
  background: #e3e3e3;
  border-radius: 50%;
  color: #8a8a8a;
  display: flex;
  font-size: 10px;
  font-weight: 700;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.eb2b-setup-dot.is-active,
.eb2b-setup-dot.is-done {
  background: #303030;
  color: #ffffff;
}

/* Labels sit below the dot, out of flow, centered on the 18px dot column.
   Centering on a narrow column would push edge labels past the row bounds, so
   the first label pins to the left edge and the last to the right edge. */
.eb2b-setup-dot-label {
  color: #8a8a8a;
  font-size: 10px;
  font-weight: 500;
  left: 50%;
  line-height: 14px;
  position: absolute;
  text-align: center;
  top: 22px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.eb2b-setup-dot-item.is-first .eb2b-setup-dot-label {
  left: 0;
  text-align: left;
  transform: none;
}

.eb2b-setup-dot-item.is-last .eb2b-setup-dot-label {
  left: auto;
  right: 0;
  text-align: right;
  transform: none;
}

.eb2b-setup-dot-label.is-active {
  color: #303030;
  font-weight: 700;
}

.eb2b-setup-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: var(--eb2b-card-shadow);
  margin-bottom: 20px;
  overflow: hidden;
  padding: 16px;
}

.eb2b-setup-choice0-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eb2b-setup-choice0-welcome {
  padding: 8px 4px;
  text-align: center;
}

.eb2b-setup-choice0-welcome-emoji {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 12px;
}

.eb2b-setup-choice0-welcome-title {
  color: #303030;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.eb2b-setup-choice0-welcome-copy {
  color: #616161;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 480px;
}

.eb2b-setup-start-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 600px) {
  .eb2b-setup-start-grid {
    grid-template-columns: 1fr;
  }
}

.eb2b-setup-start-tile {
  background: #ffffff;
  border: 1.5px solid #e1e3e5;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.eb2b-setup-start-tile--featured {
  border-color: #005bd3;
}

.eb2b-setup-start-tile--disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.eb2b-setup-start-tile--disabled:hover {
  border-color: #e1e3e5;
  box-shadow: none;
}

.eb2b-setup-start-tile-visual {
  align-items: center;
  background: linear-gradient(145deg, #edf2ff 0%, #dce8ff 100%);
  border-bottom: 1px solid #dce8ff;
  display: flex;
  height: 156px;
  justify-content: center;
  overflow: hidden;
}

.eb2b-setup-start-tile-visual--expert {
  background: linear-gradient(145deg, #edf2ff 0%, #dce8ff 100%);
  border-bottom-color: #dce8ff;
}

.eb2b-setup-start-tile-photo {
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 91, 211, 0.25);
  height: 96px;
  object-fit: cover;
  object-position: top center;
  width: 96px;
}

.eb2b-setup-start-tile-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.eb2b-setup-start-tile-badge {
  align-self: flex-start;
  background: #005bd3;
  border-radius: 4px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  text-transform: uppercase;
}

.eb2b-setup-start-tile-kicker {
  color: #005bd3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eb2b-setup-start-tile-title {
  color: #303030;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.eb2b-setup-start-tile-copy {
  color: #616161;
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
}

.eb2b-setup-start-tile-action {
  margin-top: 4px;
}

.eb2b-setup-choice0-expert-screen {
  align-items: flex-start;
  display: flex;
  gap: 28px;
}

.eb2b-setup-choice0-expert-photo-wrap {
  flex-shrink: 0;
}

.eb2b-setup-choice0-expert-photo {
  border: 3px solid #e8f0fe;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 91, 211, 0.18);
  height: 100px;
  object-fit: cover;
  object-position: top center;
  width: 100px;
}

@media (max-width: 600px) {
  .eb2b-setup-choice0-expert-screen {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.eb2b-setup-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eb2b-setup-title {
  color: #303030;
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
}

.eb2b-setup-copy {
  color: #616161;
  font-size: 13px;
  line-height: 18px;
  margin-top: 4px;
}

.eb2b-setup-spinner {
  animation: eb2b-wizard-spin 0.7s linear infinite;
  border: 3px solid #e3e3e3;
  border-radius: 50%;
  border-top-color: #303030;
  height: 36px;
  margin: 8px auto 0;
  width: 36px;
}

.eb2b-setup-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eb2b-setup-check-row {
  align-items: center;
  display: flex;
  gap: 10px;
  font-size: 13px;
}

.eb2b-setup-check-row .is-subdued {
  color: #8a8a8a;
}

.eb2b-setup-check-icon {
  align-items: center;
  border-radius: 50%;
  display: flex;
  flex: 0 0 auto;
  font-size: 13px;
  height: 14px;
  justify-content: center;
  width: 14px;
}

.eb2b-setup-check-icon.is-loading {
  animation: eb2b-wizard-spin 0.7s linear infinite;
  border: 2px solid #e3e3e3;
  border-top-color: #8a8a8a;
}

.eb2b-setup-check-icon.is-done {
  color: #014b40;
}

.eb2b-setup-store-card {
  align-items: center;
  background: #f8f8f8;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  display: flex;
  gap: 14px;
  padding: 14px 16px;
}

.eb2b-setup-store-mark {
  align-items: center;
  background: #303030;
  border-radius: 10px;
  color: #ffffff;
  display: flex;
  flex: 0 0 auto;
  font-size: 18px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.eb2b-setup-store-name {
  color: #303030;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.eb2b-setup-store-meta {
  color: #616161;
  font-size: 12px;
  line-height: 16px;
  margin-top: 2px;
}

.eb2b-setup-store-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eb2b-setup-store-flag {
  display: inline-block;
  font-size: 15px;
  margin-right: 5px;
  vertical-align: middle;
}

.eb2b-setup-country-correction-link {
  background: none;
  border: none;
  color: #005bd3;
  cursor: pointer;
  font-size: 12px;
  line-height: 16px;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.eb2b-setup-country-correction-link:hover {
  color: #003d99;
}

.eb2b-setup-country-dropdown {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.eb2b-setup-country-select {
  appearance: none;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23616161' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid #c9cccf;
  border-radius: 8px;
  color: #303030;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  padding: 8px 36px 8px 12px;
  width: 100%;
}

.eb2b-setup-country-select:focus {
  border-color: #005bd3;
  box-shadow: 0 0 0 2px #e0efff;
  outline: none;
}

.eb2b-setup-blocked-box {
  background: #fee8eb;
  border: 1px solid #f6b3bf;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
}

.eb2b-setup-blocked-title {
  color: #8e0b21;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.eb2b-setup-blocked-copy {
  color: #6b0018;
  font-size: 13px;
  line-height: 18px;
}

.eb2b-setup-delete-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eb2b-setup-delete-row {
  align-items: center;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 6px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 8px 10px;
}

.eb2b-setup-delete-label {
  color: #303030;
  font-size: 13px;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eb2b-setup-delete-btn {
  background: none;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: #8e0b21;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding: 4px 10px;
}

.eb2b-setup-delete-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.eb2b-setup-delete-all-btn {
  background: #fee8eb;
  border: 1px solid #f6b3bf;
  border-radius: 6px;
  color: #8e0b21;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
  padding: 8px 14px;
  width: 100%;
}

.eb2b-setup-delete-all-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.eb2b-setup-status-list {
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  overflow: hidden;
}

.eb2b-setup-status-row {
  align-items: center;
  background: #ffffff;
  border-top: 1px solid #e3e3e3;
  display: flex;
  gap: 10px;
  padding: 11px 16px;
}

.eb2b-setup-status-body {
  flex: 1;
  min-width: 0;
}

.eb2b-setup-status-action {
  background: none;
  border: 1px solid #c9cccf;
  border-radius: 6px;
  color: #303030;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding: 4px 10px;
  white-space: nowrap;
}

.eb2b-setup-status-action:hover {
  background: #f6f6f7;
}

.eb2b-setup-status-row:first-child {
  border-top: 0;
}

.eb2b-setup-status-row.tone-info {
  background: #f5f9ff;
}

.eb2b-setup-status-row.tone-warning {
  background: #fffbf0;
}

.eb2b-setup-status-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  margin-top: 1px;
  min-height: 16px;
  min-width: 16px;
}

.eb2b-setup-status-label {
  color: #303030;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.eb2b-setup-status-hint {
  color: #8a8a8a;
  font-size: 12px;
  line-height: 16px;
  margin-top: 2px;
}

.eb2b-setup-plan-card {
  align-items: center;
  background: #303030;
  border-radius: 10px;
  color: #ffffff;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 16px;
}

.eb2b-setup-plan-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 2px;
}

.eb2b-setup-plan-value {
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
}

.eb2b-setup-plan-note {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  line-height: 16px;
  text-align: right;
}

.eb2b-setup-plan-note span {
  color: rgba(255, 255, 255, 0.42);
}

.eb2b-setup-info-box,
.eb2b-setup-error-box {
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
}

.eb2b-setup-info-box {
  background: #e0efff;
  border: 1px solid #91d0ff;
}

.eb2b-setup-warning-box {
  background: #fffbf0;
  border: 1px solid #ffd6a4;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
}

.eb2b-setup-error-box {
  background: #fee8eb;
  border: 1px solid #f6b3bf;
}

.eb2b-setup-success-box {
  background: #f0faf4;
  border: 1px solid #95d5b2;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
}

.eb2b-setup-success-title {
  color: #1a6b3c;
  font-size: 14px;
  font-weight: 600;
}

.eb2b-setup-success-copy {
  color: #2d7d4f;
  font-size: 13px;
}

.eb2b-setup-discount-row {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.eb2b-setup-discount-input-wrap {
  max-width: 120px;
}

.eb2b-setup-discount-input {
  padding: 8px 8px 8px 12px;
}

.eb2b-setup-discount-suffix {
  color: #616161;
  font-size: 13px;
  padding-right: 10px;
}

.eb2b-setup-discount-preview {
  color: #616161;
  font-size: 13px;
}

.eb2b-setup-field-error {
  color: #d82c0d;
  font-size: 12px;
  margin-top: 6px;
}

.eb2b-setup-ack-row {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  font-size: 13px;
  gap: 10px;
  margin-top: 4px;
}

.eb2b-setup-ack-checkbox {
  cursor: pointer;
  flex-shrink: 0;
  height: 16px;
  margin-top: 1px;
  width: 16px;
}

.eb2b-setup-preview-copy {
  color: #616161;
  font-size: 13px;
  line-height: 1.5;
}

.eb2b-setup-info-title {
  color: #002133;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.eb2b-setup-error-box .eb2b-setup-info-title {
  color: #8e0b21;
}

.eb2b-setup-warning-title {
  color: #5e4200;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.eb2b-setup-info-copy {
  color: #002133;
  font-size: 12px;
  line-height: 16px;
}

.eb2b-setup-warning-copy {
  color: #5e4200;
  font-size: 12px;
  line-height: 16px;
}

.eb2b-setup-error-box .eb2b-setup-info-copy {
  color: #8e0b21;
}

.eb2b-setup-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eb2b-setup-inline-note {
  color: #616161;
  font-size: 12px;
  line-height: 16px;
}

.eb2b-setup-products-note {
  background: #e0efff;
  border-radius: 8px;
  color: #002133;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  padding: 10px 14px;
}

.eb2b-setup-choice-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eb2b-setup-choice-row {
  background: #ffffff;
  border: 1.5px solid #e3e3e3;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  text-align: left;
  transition: 0.12s;
}

.eb2b-setup-choice-row.is-selected {
  background: #f8f8f8;
  border-color: #303030;
}

.eb2b-setup-choice-box,
.eb2b-setup-radio {
  flex: 0 0 auto;
  margin-top: 2px;
}

.eb2b-setup-choice-box {
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #c9cccf;
  border-radius: 5px;
  color: #ffffff;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.eb2b-setup-choice-box.is-selected {
  background: #303030;
  border-color: #303030;
}

.eb2b-setup-choice-box.is-selected s-icon {
  filter: invert(1);
}

.eb2b-setup-radio {
  background: #ffffff;
  border: 1.5px solid #c9cccf;
  border-radius: 50%;
  height: 18px;
  width: 18px;
}

.eb2b-setup-radio.is-selected {
  border-color: #303030;
  border-width: 5px;
}

.eb2b-setup-choice-copy {
  min-width: 0;
}

.eb2b-setup-choice-heading {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eb2b-setup-choice-title {
  color: #303030;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
}

.eb2b-setup-choice-desc {
  color: #616161;
  font-size: 13px;
  line-height: 18px;
  margin-top: 3px;
}

.eb2b-setup-choice-detail {
  color: #8a8a8a;
  font-size: 11px;
  line-height: 15px;
  margin-top: 2px;
}

.eb2b-setup-muted-box {
  align-items: center;
  background: #f8f8f8;
  border-radius: 8px;
  color: #616161;
  display: flex;
  font-size: 12px;
  line-height: 16px;
  padding: 10px 12px;
}

.eb2b-setup-detected-market-card {
  background: #f8f8f8;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 16px;
}

.eb2b-setup-detected-market-head,
.eb2b-setup-pricing-summary-head {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.eb2b-setup-market-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eb2b-setup-market-stat {
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  min-width: 0;
  padding: 12px;
}

.eb2b-setup-market-stat-label {
  color: #8a8a8a;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.eb2b-setup-market-stat-value {
  color: #303030;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.eb2b-setup-market-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eb2b-setup-market-chip {
  background: #ffffff;
  border: 1px solid #ffd6a4;
  border-radius: 999px;
  color: #5e4200;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  padding: 4px 10px;
}

.eb2b-setup-currency-row {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eb2b-setup-currency-chip {
  align-items: flex-start;
  background: #ffffff;
  border: 1.5px solid #e3e3e3;
  border-radius: 10px;
  color: #303030;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 12px;
  text-align: left;
}

.eb2b-setup-currency-chip.is-selected {
  background: #f8f8f8;
  border-color: #303030;
}

.eb2b-setup-currency-chip span {
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.eb2b-setup-currency-chip small {
  color: #8a8a8a;
  font-size: 11px;
  line-height: 15px;
}

.eb2b-setup-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eb2b-setup-section-head {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.eb2b-setup-section-title {
  color: #303030;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.eb2b-setup-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eb2b-setup-preview-pill {
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  padding: 2px 9px;
  white-space: nowrap;
}

.eb2b-setup-preview-pill.tone-info {
  background: #e0efff;
  color: #002133;
}

.eb2b-setup-preview-pill.tone-success {
  background: #cdffd0;
  color: #014b40;
}

.eb2b-setup-preview-pill.tone-neutral {
  background: #f1f1f1;
  color: #616161;
}

.eb2b-setup-preview-section {
  background: #f8f8f8;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
}

.eb2b-setup-pricing-summary {
  background: #f8f8f8;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
}

.eb2b-setup-preview-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eb2b-setup-preview-item {
  align-items: flex-start;
  color: #303030;
  display: flex;
  font-size: 12px;
  gap: 8px;
  line-height: 16px;
}

.eb2b-setup-preview-mark {
  align-items: center;
  color: #014b40;
  display: inline-flex;
  flex: 0 0 auto;
}

.eb2b-setup-run-list,
.eb2b-setup-todo-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eb2b-setup-run-row,
.eb2b-setup-todo-row {
  align-items: flex-start;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 12px 14px;
}

.eb2b-setup-run-state {
  align-items: center;
  color: #616161;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  min-height: 16px;
  min-width: 16px;
}

.eb2b-setup-run-state.tone-succeeded {
  color: #014b40;
}

.eb2b-setup-run-state.tone-failed {
  color: #8e0b21;
}

.eb2b-setup-run-state.tone-running {
  color: #303030;
}

.eb2b-setup-run-state.tone-pending {
  color: #8a8a8a;
}

.eb2b-setup-run-spinner {
  animation: eb2b-wizard-spin 0.7s linear infinite;
  border: 2px solid #d4d4d4;
  border-radius: 50%;
  border-top-color: #303030;
  height: 14px;
  width: 14px;
}

.eb2b-setup-run-pending-dot {
  background: currentColor;
  border-radius: 50%;
  display: block;
  height: 8px;
  width: 8px;
}

.eb2b-setup-run-label,
.eb2b-setup-todo-title {
  color: #303030;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.eb2b-setup-run-detail {
  color: #8a8a8a;
  font-size: 12px;
  line-height: 16px;
  margin-top: 2px;
}

.eb2b-setup-todo-title.is-done {
  color: #616161;
  text-decoration: line-through;
}

.eb2b-setup-todo-hint {
  color: #616161;
  font-size: 11px;
  margin-top: 2px;
  max-width: 380px;
  word-break: break-word;
}

/* Quiet collapsed "what was done" summary in the done header. */
.eb2b-setup-done-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eb2b-setup-done-summary-toggle {
  align-items: center;
  background: none;
  border: 0;
  color: #616161;
  cursor: pointer;
  display: flex;
  font-size: 12px;
  gap: 8px;
  justify-content: space-between;
  line-height: 16px;
  padding: 0;
  text-align: left;
}

.eb2b-setup-done-summary-caret {
  color: #8a8a8a;
  flex: 0 0 auto;
  font-size: 10px;
}

.eb2b-setup-done-summary-list {
  color: #616161;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  gap: 4px;
  line-height: 16px;
  list-style: disc;
  margin: 0;
  padding-left: 18px;
}

/* Consolidated checklist progress counter. */
.eb2b-setup-checklist-progress {
  color: #616161;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

/* Checklist row: leading check column + copy. */
.eb2b-setup-todo-lead {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.eb2b-setup-todo-check {
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #c9c9c9;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  height: 18px;
  justify-content: center;
  margin-top: 1px;
  width: 18px;
}

.eb2b-setup-todo-check.is-done {
  background: #014b40;
  border-color: #014b40;
}

.eb2b-setup-todo-check.is-done s-icon {
  filter: invert(1);
}

.eb2b-setup-todo-row.is-complete {
  background: #f8f8f8;
  border-color: #e3e3e3;
}

/* Quieter second-tier section (the self-test block). */
.eb2b-setup-section--muted .eb2b-setup-section-title {
  color: #616161;
}

.eb2b-setup-done-card {
  align-items: center;
  background: #f0fff4;
  border: 1px solid #afe9b9;
  border-radius: 10px;
  color: #014b40;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 10px;
  line-height: 18px;
  padding: 12px 14px;
}

.eb2b-setup-done-icon {
  align-items: center;
  background: #014b40;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  flex: 0 0 auto;
  font-size: 11px;
  height: 18px;
  justify-content: center;
  width: 18px;
}

/* Polaris s-icon renders black by default — invert so it appears white on the
   dark green circle background. */
.eb2b-setup-done-icon s-icon {
  filter: invert(1);
}

.eb2b-setup-run-row--left {
  justify-content: flex-start;
}

.eb2b-setup-run-detail--failed {
  color: #8e0b21;
}

.eb2b-setup-run-progress-wrap {
  background: #e3e3e3;
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 40%,
    rgba(255, 255, 255, 0.46) 50%,
    rgba(255, 255, 255, 0.28) 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: eb2b-progress-shimmer 1.6s linear infinite;
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  position: relative;
}

.eb2b-setup-run-progress-bar {
  background: #303030;
  border-radius: 999px;
  height: 100%;
  position: relative;
  transition: width 0.6s ease;
  z-index: 1;
}

@keyframes eb2b-progress-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.eb2b-setup-failed-alert {
  align-items: flex-start;
  background: #fff8f8;
  border: 1px solid #f7c0c7;
  border-radius: 10px;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
}

.eb2b-setup-failed-alert-icon {
  color: #8e0b21;
  flex-shrink: 0;
  line-height: 1;
}

.eb2b-setup-failed-alert-title {
  color: #8e0b21;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.eb2b-setup-failed-alert-detail {
  color: #c0353f;
  font-size: 12px;
  line-height: 16px;
  margin-top: 2px;
}

.eb2b-setup-failed-alert-support {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.eb2b-setup-failed-alert-support-hint {
  color: #8e0b21;
  font-size: 12px;
  line-height: 16px;
}

.eb2b-setup-ext-loading {
  color: #888;
  font-size: 13px;
  padding: 4px 0;
}

.eb2b-setup-ext-all-active {
  align-items: center;
  color: #014b40;
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
}

.eb2b-setup-ext-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eb2b-setup-ext-row {
  align-items: center;
  display: flex;
  font-size: 13px;
  gap: 10px;
}

.eb2b-setup-ext-dot {
  border-radius: 50%;
  flex-shrink: 0;
  height: 8px;
  width: 8px;
}

.eb2b-setup-ext-dot.status-active { background: #1a9e6e; }
.eb2b-setup-ext-dot.status-available { background: #e8a000; }
.eb2b-setup-ext-dot.status-unavailable { background: #c0c0c0; }

.eb2b-setup-ext-name {
  color: #303030;
  flex: 1;
  font-weight: 500;
}

.eb2b-setup-ext-label {
  color: #888;
  font-size: 12px;
  white-space: nowrap;
}

.eb2b-setup-ext-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.eb2b-setup-link-card {
  align-items: center;
  background: #f8f8f8;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 16px;
}

.eb2b-setup-link-card code {
  color: #303030;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  word-break: break-all;
}

.eb2b-setup-plan-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eb2b-setup-plan-selector-main {
  align-items: stretch;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  display: flex;
  overflow: hidden;
}

.eb2b-setup-plan-selector-shopify {
  background: #f8f8f8;
  border-right: 1px solid #e3e3e3;
  min-width: 160px;
  padding: 14px 18px;
}

.eb2b-setup-plan-selector-arrow {
  align-items: center;
  background: #f8f8f8;
  border-right: 1px solid #e3e3e3;
  color: #8a8a8a;
  display: flex;
  font-size: 18px;
  font-weight: 700;
  justify-content: center;
  padding: 0 12px;
}

.eb2b-setup-plan-selector-recommended {
  background: #303030;
  color: #ffffff;
  flex: 1 1 auto;
  padding: 14px 18px;
}

.eb2b-setup-plan-selector-label {
  color: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 16px;
  margin-bottom: 4px;
  opacity: 0.58;
  text-transform: uppercase;
}

.eb2b-setup-plan-selector-row {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.eb2b-setup-plan-selector-value {
  color: inherit;
  font-size: 18px;
  font-weight: 800;
  line-height: 22px;
}

.eb2b-setup-plan-selector-subline {
  color: inherit;
  font-size: 11px;
  line-height: 15px;
  margin-top: 2px;
  opacity: 0.5;
}

.eb2b-setup-plan-selector-price {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  text-align: right;
}

.eb2b-setup-plan-selector-price small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  margin-top: 4px;
}

.eb2b-setup-plan-trial-banner {
  align-items: center;
  background: #f8f8f8;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  color: #303030;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: space-between;
  padding: 12px 14px;
}

.eb2b-setup-plan-trial-banner strong {
  font-size: 13px;
  line-height: 18px;
}

.eb2b-setup-plan-trial-banner span {
  color: #616161;
  font-size: 12px;
  line-height: 16px;
}

.eb2b-setup-preview-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eb2b-setup-plan-tier-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eb2b-setup-tier-card {
  background: #ffffff;
  border: 1.5px solid #e3e3e3;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  text-align: center;
}

.eb2b-setup-tier-card.is-active {
  background: #f8f8f8;
  border-color: #303030;
}

.eb2b-setup-tier-shopify {
  color: #8a8a8a;
  font-size: 11px;
  line-height: 14px;
}

.eb2b-setup-tier-price {
  color: #303030;
  font-size: 16px;
  font-weight: 800;
  line-height: 20px;
}

.eb2b-setup-tier-label {
  color: #303030;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.eb2b-setup-tier-badge {
  color: #5e4200;
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
  margin-top: 2px;
}

.eb2b-setup-tier-card.is-active .eb2b-setup-tier-badge {
  color: #014b40;
}

.eb2b-setup-dark-cta,
.eb2b-setup-service-footer {
  align-items: center;
  background: #303030;
  border-radius: 10px;
  color: #ffffff;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 14px 20px;
}

.eb2b-setup-dark-kicker,
.eb2b-setup-service-kicker {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 3px;
}

.eb2b-setup-dark-title,
.eb2b-setup-service-title {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.eb2b-setup-dark-copy,
.eb2b-setup-service-copy {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 16px;
  margin-top: 2px;
}

.eb2b-setup-service-footer {
  margin-top: 20px;
}

.eb2b-setup-service-banner {
  align-items: center;
  background: #303030;
  border-radius: 10px;
  color: #ffffff;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-bottom: 20px;
  padding: 14px 20px;
}

.eb2b-setup-footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.eb2b-setup-footer-secondary,
.eb2b-setup-footer-primary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@keyframes eb2b-wizard-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 720px) {
  .eb2b-drafts-detailgrid,
  .eb2b-drafts-two {
    grid-template-columns: 1fr;
  }

  .eb2b-orders-toolbar-grid {
    grid-template-columns: 1fr;
  }

  .eb2b-orders-reset {
    justify-self: start;
  }

  .eb2b-orders-detail-grid,
  .eb2b-orders-context-grid {
    grid-template-columns: 1fr;
  }

  .eb2b-registrations-page {
    padding: 16px 12px 40px;
  }

  .eb2b-reg-card-summary {
    align-items: flex-start;
  }

  .eb2b-reg-summary-pills {
    align-items: flex-end;
    flex-direction: column;
  }

  .eb2b-reg-detail-grid {
    grid-template-columns: 1fr;
  }

  .eb2b-reg-creation-grid {
    grid-template-columns: 1fr;
  }

  .eb2b-reg-creation-item + .eb2b-reg-creation-item {
    border-left: 0;
    border-top: 1px solid #e3e3e3;
  }

  .eb2b-reg-custom-grid {
    grid-template-columns: 1fr;
  }

  .eb2b-setup-footer,
  .eb2b-setup-dark-cta,
  .eb2b-setup-service-footer,
  .eb2b-setup-link-card,
  .eb2b-setup-todo-row,
  .eb2b-setup-run-row,
  .eb2b-setup-plan-card {
    align-items: flex-start;
    flex-direction: column;
  }

  /* Keep the stepper horizontal — 7 small dots fit any width down to ~320px.
     Only the labels get tight, so allow them to wrap onto two lines; the row's
     padding-bottom (36px) reserves space for the two-line case. */
  .eb2b-setup-dot-label {
    max-width: 60px;
    white-space: normal;
  }

  .eb2b-setup-dot-item.is-first .eb2b-setup-dot-label,
  .eb2b-setup-dot-item.is-last .eb2b-setup-dot-label {
    max-width: 72px;
  }

  .eb2b-setup-market-grid,
  .eb2b-setup-currency-row,
  .eb2b-setup-plan-tier-grid,
  .eb2b-setup-preview-grid {
    grid-template-columns: 1fr;
  }

  .eb2b-setup-detected-market-head,
  .eb2b-setup-pricing-summary-head,
  .eb2b-setup-plan-selector-main,
  .eb2b-setup-plan-selector-row,
  .eb2b-setup-plan-trial-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .eb2b-setup-plan-selector-shopify,
  .eb2b-setup-plan-selector-arrow {
    border-right: 0;
    border-bottom: 1px solid #e3e3e3;
    width: 100%;
  }
}

/* ── Companies master-detail ─────────────────────────────────────────────── */

.eb2b-companies-layout {
  align-items: flex-start;
  display: grid;
  gap: 16px;
  grid-template-columns: 300px 1fr;
}

.eb2b-companies-sidebar {
  overflow: hidden;
}

.eb2b-companies-search-row {
  border-bottom: 1px solid var(--eb2b-border);
  padding: 10px 12px;
}

.eb2b-companies-search-form {
  width: 100%;
}

.eb2b-companies-list-item {
  align-items: center;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--eb2b-border);
  border-left: 2.5px solid transparent;
  color: inherit;
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 10px;
  padding: 11px 14px;
  text-align: left;
  transition: background 0.1s;
  width: 100%;
}

.eb2b-companies-list-item:hover {
  background: var(--eb2b-surface-subdued);
}

.eb2b-companies-list-item.is-active {
  background: #f0f7ff;
  border-left-color: #303030;
}

.eb2b-companies-list-flag {
  align-items: center;
  background: var(--eb2b-surface-subdued);
  border-radius: 8px;
  display: flex;
  flex-shrink: 0;
  font-size: 16px;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.eb2b-companies-list-info {
  flex: 1;
  min-width: 0;
}

.eb2b-companies-list-name {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eb2b-companies-list-meta {
  color: var(--eb2b-subdued);
  font-size: 11px;
  margin-top: 2px;
}

.eb2b-companies-detail {
  overflow: hidden;
}

.eb2b-companies-detail-head {
  border-bottom: 1px solid var(--eb2b-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 18px 0;
  padding-bottom: 0;
}

.eb2b-companies-detail-title {
  font: 600 18px/22px var(--eb2b-font-family);
  margin: 0;
}

.eb2b-companies-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  margin-top: 6px;
}

.eb2b-companies-detail-actions {
  display: flex;
  gap: 8px;
  padding-bottom: 10px;
}

.eb2b-companies-steuer-badge {
  border-radius: 7px;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
}

.eb2b-companies-tab-bar {
  border-bottom: 1px solid var(--eb2b-border);
  display: flex;
  padding: 0 18px;
}

.eb2b-companies-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--eb2b-subdued);
  cursor: pointer;
  font: 500 13px/18px var(--eb2b-font-family);
  margin-bottom: -1px;
  padding: 10px 10px 8px;
  transition: color 0.1s;
}

.eb2b-companies-tab:hover {
  color: var(--eb2b-ink);
}

.eb2b-companies-tab.is-active {
  border-bottom-color: var(--eb2b-ink);
  color: var(--eb2b-ink);
  font-weight: 600;
}

.eb2b-companies-panel {
  overflow-x: auto;
}

.eb2b-companies-panel-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px;
}

/* Overview tab */

.eb2b-companies-overview-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  padding: 16px 18px;
}

.eb2b-companies-overview-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eb2b-companies-field-label {
  color: var(--eb2b-subdued);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eb2b-companies-field-value {
  background: var(--eb2b-surface-subdued);
  border: 1px solid var(--eb2b-border);
  border-radius: 7px;
  color: var(--eb2b-ink);
  font-size: 13px;
  padding: 6px 10px;
}

.eb2b-companies-field-value-row {
  align-items: center;
  background: var(--eb2b-surface-subdued);
  border: 1px solid var(--eb2b-border);
  border-radius: 7px;
  display: flex;
  gap: 8px;
  padding: 6px 10px;
}

.eb2b-companies-field-hint {
  color: var(--eb2b-muted);
  font-size: 12px;
  margin-top: 2px;
}

.eb2b-companies-catalog-badge {
  background: #f1f1f1;
  border-radius: 7px;
  color: #303030;
  font-size: 13px;
  font-weight: 500;
  padding: 4px 10px;
}

.eb2b-companies-vies-badge {
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  white-space: nowrap;
}

.eb2b-companies-vies-badge.vies-ok {
  background: var(--eb2b-success-bg);
  color: var(--eb2b-success-text);
}

.eb2b-companies-vies-badge.vies-invalid {
  background: var(--eb2b-critical-bg);
  color: var(--eb2b-critical-text);
}

.eb2b-companies-vies-badge.vies-pending {
  background: #f1f1f1;
  color: var(--eb2b-muted);
}

/* Prices tab */

.eb2b-companies-prices-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.eb2b-companies-divider {
  border: none;
  border-top: 1px solid var(--eb2b-border);
  margin: 0;
}

.eb2b-companies-catalog-link-box {
  align-items: center;
  background: var(--eb2b-surface-subdued);
  border: 1px solid var(--eb2b-border);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
}

/* Table (Locations + Contacts tabs) */

.eb2b-companies-table {
  border-collapse: collapse;
  font-size: 13px;
  width: 100%;
}

.eb2b-companies-table th {
  border-bottom: 1px solid var(--eb2b-border);
  color: var(--eb2b-subdued);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 10px 14px;
  text-align: left;
  text-transform: uppercase;
}

.eb2b-companies-table td {
  border-bottom: 1px solid var(--eb2b-border);
  color: var(--eb2b-ink);
  padding: 10px 14px;
  vertical-align: middle;
}

.eb2b-companies-table tr:last-child td {
  border-bottom: none;
}

.eb2b-companies-table-footer {
  padding: 12px 14px;
}

/* Contacts tab */

.eb2b-companies-contact-avatar {
  align-items: center;
  background: var(--eb2b-surface-subdued);
  border-radius: 50%;
  color: var(--eb2b-subdued);
  display: flex;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.eb2b-companies-role-badge {
  border-radius: 6px;
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
}

.eb2b-companies-icon-btn {
  background: none;
  border: 1px solid var(--eb2b-border);
  border-radius: 6px;
  color: var(--eb2b-subdued);
  cursor: pointer;
  font-size: 14px;
  padding: 3px 7px;
}

.eb2b-companies-icon-btn:hover {
  background: var(--eb2b-surface-subdued);
  color: var(--eb2b-ink);
}

/* Activity tab */

.eb2b-companies-activity-row {
  align-items: flex-start;
  border-bottom: 1px solid #f1f1f1;
  display: flex;
  gap: 12px;
  padding: 10px 18px;
}

.eb2b-companies-activity-dot {
  background: #303030;
  border-radius: 50%;
  flex-shrink: 0;
  height: 8px;
  margin-top: 6px;
  width: 8px;
}

/* CSV import modal */

.eb2b-companies-csv-drop {
  background: #fafafa;
  border: 2px dashed #b5b5b5;
  border-radius: 12px;
  cursor: pointer;
  padding: 40px 24px;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}

.eb2b-companies-csv-drop:hover,
.eb2b-companies-csv-drop.is-drag {
  background: var(--eb2b-surface-subdued);
  border-color: #303030;
}

.eb2b-companies-csv-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.eb2b-companies-csv-format {
  background: var(--eb2b-surface-subdued);
  border-radius: 10px;
  padding: 12px 14px;
}

@media (max-width: 860px) {
  .eb2b-companies-layout {
    grid-template-columns: 1fr;
  }
}

/* Hide ui-save-bar when App Bridge hasn't registered it (e.g. mock-bridge dev). */
ui-save-bar:not(:defined) {
  display: none;
}


/* ── Sichtbare Produkte (per-catalog product visibility) ──────────────────── */
.eb2b-visibility {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.eb2b-visibility-head {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.eb2b-visibility-title {
  color: #303030;
  font-size: 15px;
  font-weight: 700;
}

.eb2b-visibility-status {
  color: #616161;
  font-size: 12px;
  margin-top: 2px;
}

.eb2b-visibility-toggle {
  background: none;
  border: none;
  color: #005bd3;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 0;
}

.eb2b-visibility-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eb2b-visibility-help {
  color: #616161;
  font-size: 12px;
  line-height: 17px;
}

.eb2b-visibility-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eb2b-visibility-empty {
  color: #8a8a8a;
  font-size: 13px;
  padding: 12px 0;
}

.eb2b-visibility-list {
  display: flex;
  flex-direction: column;
}

.eb2b-visibility-row {
  align-items: center;
  border-top: 1px solid #f1f1f1;
  display: flex;
  gap: 12px;
  padding: 8px 0;
}

.eb2b-visibility-thumb {
  background: #f1f1f1;
  border-radius: 6px;
  height: 32px;
  object-fit: cover;
  width: 32px;
}

.eb2b-visibility-thumb-empty {
  background: #f1f1f1;
}

.eb2b-visibility-name {
  color: #303030;
  flex: 1;
  font-size: 13px;
  font-weight: 600;
}

.eb2b-visibility-switch {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 8px;
}

.eb2b-visibility-switch-label {
  color: #616161;
  font-size: 12px;
}

.eb2b-visibility-switch-track {
  border-radius: 999px;
  display: inline-flex;
  height: 18px;
  padding: 2px;
  width: 32px;
}

.eb2b-visibility-switch-track.is-on {
  background: #2a8a4f;
  justify-content: flex-end;
}

.eb2b-visibility-switch-knob {
  background: #ffffff;
  border-radius: 50%;
  height: 14px;
  width: 14px;
}

.eb2b-visibility-truncated {
  color: #8a8a8a;
  font-size: 11px;
  padding-top: 8px;
}

/* ── Form appearance sliders ──────────────────────────────────────────────── */
.eb2b-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  flex: 1;
}

.eb2b-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #303030;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px #303030;
}

.eb2b-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #303030;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px #303030;
  border: none;
}

.eb2b-slider::-moz-range-progress {
  height: 4px;
  background: #303030;
  border-radius: 2px;
}

/* Shared settings helpers */
.eb2b-settings-hint {
  color: var(--eb2b-subdued);
  font-size: 13px;
}

/* Tag input — pills + inline text input */
.eb2b-tag-label {
  color: var(--eb2b-ink);
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 6px;
}

.eb2b-tag-placeholder {
  color: var(--eb2b-muted);
  font-size: 13px;
  pointer-events: none;
  user-select: none;
}

.eb2b-tag-wrap {
  align-items: center;
  border: 1px solid var(--eb2b-border);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 36px;
  padding: 6px 10px;
}

.eb2b-tag-wrap:focus-within {
  border-color: #616161;
  outline: 2px solid rgba(0, 0, 0, 0.08);
  outline-offset: 1px;
}

.eb2b-tag-pill {
  align-items: center;
  background: #f1f1f1;
  border-radius: 999px;
  color: var(--eb2b-ink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 550;
  gap: 4px;
  padding: 2px 6px 2px 9px;
}

.eb2b-tag-pill-remove {
  align-items: center;
  background: none;
  border: none;
  border-radius: 50%;
  color: var(--eb2b-subdued);
  cursor: pointer;
  display: flex;
  font-size: 14px;
  height: 16px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 16px;
}

.eb2b-tag-pill-remove:hover {
  background: #e0e0e0;
  color: var(--eb2b-ink);
}

.eb2b-tag-text-input {
  background: none;
  border: none;
  color: var(--eb2b-ink);
  font-size: 13px;
  min-width: 80px;
  outline: none;
  padding: 2px 0;
}

.eb2b-tag-hint {
  color: var(--eb2b-subdued);
  font-size: 12px;
  margin-top: 4px;
}

/* Theme block status pills */
.eb2b-theme-block-pill {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  white-space: nowrap;
}

.eb2b-theme-block-pill-active {
  background: #CDFFD0;
  color: #014B40;
}

.eb2b-theme-block-pill-inactive {
  background: #F1F1F1;
  color: #616161;
}

/* Theme block row — status pill + button grouped at row end */
.eb2b-theme-block-row-end {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

/* Registration steps panel inside Card 2 of theme section */
.eb2b-theme-reg-steps {
  margin-top: 6px;
}

/* Borderless list row inside a surface container */
.eb2b-settings-surface-row {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.eb2b-settings-surface-row + .eb2b-settings-surface-row {
  margin-top: 8px;
}

/* Theme block skeleton rows (loading state) */
.eb2b-theme-skeleton-title {
  background: #E8E8E8;
  border-radius: 4px;
  height: 13px;
  width: 160px;
}

.eb2b-theme-skeleton-copy {
  background: #F1F1F1;
  border-radius: 4px;
  height: 11px;
  margin-top: 6px;
  width: 240px;
}

/* ── Settings two-column layout ─────────────────────────────────────────── */

.eb2b-settings-layout {
  align-items: flex-start;
  display: grid;
  gap: 16px;
  grid-template-columns: 220px 1fr;
}

/* Content column */
.eb2b-settings-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Settings Shopify-style sidebar nav ──────────────────────────────────── */

/* Gray panel — the Shopify "card on a surface" pattern */
.eb2b-settings-nav {
  background: var(--eb2b-surface-subdued);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  padding: 8px;
}

/* Groups sit inside the panel; first group has no extra top gap */
.eb2b-settings-nav-group {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
}

.eb2b-settings-nav-group:first-child {
  padding-top: 0;
}

/* 11px caps group label — muted, lives inside the panel */
.eb2b-settings-nav-group-label {
  color: var(--eb2b-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0 8px 4px;
  text-transform: uppercase;
}

/* Nav item: icon + label in a row */
.eb2b-settings-nav-item {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--eb2b-ink);
  cursor: pointer;
  display: flex;
  font-family: var(--eb2b-font-family);
  font-size: 13px;
  font-weight: 400;
  gap: 8px;
  padding: 6px 10px;
  text-align: left;
  width: 100%;
}

.eb2b-settings-nav-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* Active: white pill with subtle border — the classic Shopify settings look */
.eb2b-settings-nav-item--active {
  background: var(--eb2b-surface);
  border: 1px solid var(--eb2b-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  font-weight: 600;
}

.eb2b-settings-nav-item--active:hover {
  background: var(--eb2b-surface);
}

/* Icon slot — keeps icon vertically aligned and at a fixed size */
.eb2b-settings-nav-item-icon {
  align-items: center;
  color: var(--eb2b-subdued);
  display: flex;
  flex-shrink: 0;
}

.eb2b-settings-nav-item--active .eb2b-settings-nav-item-icon {
  color: var(--eb2b-ink);
}

/* Section header in the content column above the active section's cards */
.eb2b-settings-section-title {
  color: var(--eb2b-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 20px;
  margin: 0;
}

.eb2b-settings-section-desc {
  color: var(--eb2b-subdued);
  font-size: 13px;
  line-height: 18px;
  margin: 3px 0 0;
}

/* ── Settings misc utilities ─────────────────────────────────────────────── */

/* Page head with bottom margin */
.eb2b-page-head--mb {
  margin-bottom: 16px;
}

/* Inline alert strip (errors above nav) */
.eb2b-alert {
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
  padding: 10px 16px;
}

.eb2b-alert--critical {
  background: var(--eb2b-critical-bg);
  border: 1px solid #f4b8be;
  color: var(--eb2b-critical-text);
}

/* Field row: consistent vertical spacing between form fields in a card */
.eb2b-settings-field-row {
  display: flex;
  flex-direction: column;
}

.eb2b-settings-field-row + .eb2b-settings-field-row {
  margin-top: 12px;
}

/* Card subtitle — one muted line below a CardShell title */
.eb2b-settings-card-subtitle {
  color: var(--eb2b-subdued);
  font-size: 12px;
  line-height: 16px;
  margin: 0 0 4px;
}

/* ── Alert tones ─────────────────────────────────────────────────────────── */

.eb2b-alert--info {
  background: var(--eb2b-info-bg);
  color: var(--eb2b-info-text);
}

.eb2b-alert--warning {
  background: var(--eb2b-warning-bg);
  border: 1px solid #ffd467;
  color: var(--eb2b-warning-text);
}

/* ── Inline select ───────────────────────────────────────────────────────── */

.eb2b-select {
  background: #fff;
  border: 1px solid #c9cccf;
  border-radius: 6px;
  color: var(--eb2b-ink);
  cursor: pointer;
  font-size: 13px;
  max-width: 320px;
  padding: 6px 10px;
}

.eb2b-select--compact {
  height: 30px;
  font-size: 12px;
  max-width: none;
  padding: 0 8px;
}

/* ── Minor/ghost button ──────────────────────────────────────────────────── */

.eb2b-btn-minor {
  background: none;
  border: 1px solid var(--eb2b-border);
  border-radius: 6px;
  color: var(--eb2b-ink);
  cursor: pointer;
  font-size: 11px;
  padding: 3px 10px;
}

.eb2b-btn-minor:disabled {
  cursor: default;
  opacity: 0.5;
}

/* ── Market/mapping list row ─────────────────────────────────────────────── */

.eb2b-market-row {
  align-items: center;
  background: #f8f8f8;
  border: 1px solid var(--eb2b-border);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  padding: 10px 12px;
}

.eb2b-market-row + .eb2b-market-row {
  margin-top: 6px;
}

.eb2b-market-row-body {
  flex: 1;
}

.eb2b-market-row-name {
  color: var(--eb2b-ink);
  font-size: 13px;
  font-weight: 600;
}

.eb2b-market-row-meta {
  color: var(--eb2b-muted);
  font-size: 11px;
  margin-top: 1px;
}

/* ── Status badge ────────────────────────────────────────────────────────── */

.eb2b-badge {
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
}

.eb2b-badge--success {
  background: var(--eb2b-success-bg);
  color: var(--eb2b-success-text);
}

/* ── Tax case choice rows ────────────────────────────────────────────────── */

.eb2b-taxcase-row {
  align-items: flex-start;
  background: #fafafa;
  border: 1.5px solid var(--eb2b-border);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  padding: 10px 12px;
}

.eb2b-taxcase-row--active {
  background: #f8f8f8;
  border-color: var(--eb2b-ink);
}

.eb2b-taxcase-check {
  align-items: center;
  background: #fff;
  border: 1.5px solid #c9cccf;
  border-radius: 4px;
  display: flex;
  flex-shrink: 0;
  height: 16px;
  justify-content: center;
  margin-top: 2px;
  width: 16px;
}

.eb2b-taxcase-check--on {
  background: var(--eb2b-ink);
  border-color: var(--eb2b-ink);
}

.eb2b-taxcase-check-mark {
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.eb2b-taxcase-body {
  flex: 1;
}

.eb2b-taxcase-label {
  color: var(--eb2b-ink);
  font-size: 13px;
  font-weight: 600;
}

.eb2b-taxcase-desc {
  color: var(--eb2b-subdued);
  font-size: 12px;
  margin-top: 1px;
}

/* ── Shipping step cards ─────────────────────────────────────────────────── */

.eb2b-shipping-step {
  align-items: center;
  background: #fff;
  border: 1px solid var(--eb2b-border);
  border-radius: 12px;
  display: flex;
  gap: 16px;
  padding: 14px 16px;
}

.eb2b-shipping-step--card {
  align-items: stretch;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.eb2b-shipping-step--disabled {
  opacity: 0.4;
  pointer-events: none;
}

.eb2b-shipping-step-header {
  align-items: center;
  display: flex;
  gap: 16px;
  padding: 14px 16px;
}

.eb2b-shipping-step-badge {
  align-items: center;
  background: var(--eb2b-ink);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.eb2b-shipping-step-badge--done {
  background: var(--eb2b-success-text);
}

.eb2b-shipping-step-body {
  flex: 1;
}

.eb2b-shipping-step-title {
  color: var(--eb2b-ink);
  font-size: 14px;
  font-weight: 700;
}

.eb2b-shipping-step-desc {
  color: var(--eb2b-subdued);
  font-size: 12px;
  margin-top: 2px;
}

.eb2b-shipping-step-actions {
  display: flex;
  gap: 8px;
}

.eb2b-shipping-mappings {
  border-top: 1px solid var(--eb2b-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 16px;
}

/* ── Utility ─────────────────────────────────────────────────────────────── */

/* Visually hidden but accessible to screen readers */
.eb2b-sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.eb2b-text-success {
  color: var(--eb2b-success-text);
  font-weight: 500;
}

