/* Keep the independent portal's base tokens in sync with the currently served shell.
 * The portal is a static prototype, so the query version intentionally prevents an
 * older cached token file from reintroducing the former Shopify-sized sidebar. */
@import url("./tokens.css?rev=20260720-bestshopio-admin-shell-v158");
* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--p-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--p-text);
  background: var(--p-bg);
  font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--p-interactive);
  outline-offset: 2px;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin: 0;
}

h1 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

h2 {
  font-size: 16px;
  line-height: 1.35;
}

h3 {
  font-size: 15px;
}

small {
  color: var(--p-text-subdued);
}

code,
kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: middle;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: #fff;
  background: var(--p-action);
  border: 0;
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shopify-admin {
  min-height: 100vh;
}

.shopify-topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: var(--shopify-sidebar) minmax(280px, 620px) 1fr;
  align-items: center;
  min-height: var(--shopify-topbar);
  padding: 0 12px;
  color: #e6e6e6;
  background: #101010;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}

.shopify-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 4px;
  font-size: 18px;
  letter-spacing: -.04em;
}

.shopify-glyph {
  display: grid;
  width: 28px;
  height: 31px;
  color: #fff;
  background: #6abf4b;
  border-radius: 6px 6px 8px 8px;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  transform: rotate(-2deg);
}

.shopify-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 640px;
  height: 34px;
  padding: 0 10px;
  color: #d1d1d1;
  background: #303030;
  border: 1px solid #4a4a4a;
  border-radius: 9px;
  justify-self: center;
}

.shopify-search span {
  flex: 1;
}

.shopify-search kbd {
  padding: 1px 5px;
  color: #b5b5b5;
  background: #444;
  border: 1px solid #5c5c5c;
  border-radius: 4px;
  font-size: 10px;
}

.shopify-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.shopify-top-static {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #e6e6e6;
  background: transparent;
  border-radius: 8px;
  place-items: center;
}

.shopify-notification-static i {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  background: #ff554a;
  border: 1px solid #1a1a1a;
  border-radius: 50%;
}

.shopify-more-static {
  display: grid;
  width: 28px;
  height: 28px;
  color: var(--p-text-subdued);
  border-radius: 7px;
  place-items: center;
}

.shopify-account {
  display: grid;
  width: 30px;
  height: 30px;
  margin-left: 5px;
  color: #1d3e2c;
  background: #b9e4cc;
  border-radius: 8px;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.shopify-top-actions strong {
  max-width: 150px;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shopify-store-switcher {
  position: relative;
  margin-left: 2px;
}

.shopify-store-trigger {
  display: grid;
  grid-template-columns: 30px minmax(0, 154px) 14px;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 3px 7px 3px 4px;
  color: #f1f1f1;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  text-align: left;
}

.shopify-store-trigger:hover,
.shopify-store-trigger[aria-expanded="true"] {
  background: #2b2b2b;
  border-color: #474747;
}

.shopify-store-trigger .shopify-account {
  margin-left: 0;
}

.shopify-store-trigger > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.shopify-store-trigger > span:nth-child(2) > strong {
  max-width: none;
  color: #f1f1f1;
  font-size: 12px;
  font-weight: 650;
}

.shopify-store-trigger small {
  overflow: hidden;
  color: #b8b8b8;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shopify-store-trigger > i {
  display: grid;
  color: #b8b8b8;
  font-style: normal;
  place-items: center;
}

.shopify-store-menu {
  position: absolute;
  z-index: 90;
  top: calc(100% + 7px);
  right: 0;
  display: grid;
  width: 292px;
  gap: 4px;
  padding: 7px;
  color: var(--p-text);
  background: #fff;
  border: 1px solid #d2d5d8;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}

.shopify-store-menu > header {
  display: grid;
  gap: 2px;
  padding: 5px 7px 7px;
  border-bottom: 1px solid #ebebeb;
}

.shopify-store-menu > header strong {
  max-width: none;
  color: var(--p-text);
  font-size: 12px;
}

.shopify-store-menu > header small {
  color: var(--p-text-subdued);
  font-size: 12px;
  line-height: 1.35;
}

.shopify-store-profile {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 7px;
  color: var(--p-text);
  background: transparent;
  border: 0;
  border-radius: 7px;
  text-align: left;
}

.shopify-store-profile:hover,
.shopify-store-profile.is-selected {
  background: #f1f1f1;
}

.shopify-store-profile .shopify-account {
  margin-left: 0;
}

.shopify-store-profile > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.shopify-store-profile strong {
  max-width: none;
  color: var(--p-text);
  font-size: 12px;
}

.shopify-store-profile small {
  color: var(--p-text-subdued);
  font-size: 12px;
  line-height: 1.35;
}

.shopify-store-profile > b {
  color: #008060;
  font-size: 13px;
  text-align: center;
}

.shopify-body {
  display: grid;
  grid-template-columns: var(--shopify-sidebar) minmax(0, 1fr);
  min-height: calc(100vh - var(--shopify-topbar));
}

.shopify-sidebar {
  position: sticky;
  z-index: 30;
  top: var(--shopify-topbar);
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--shopify-topbar));
  padding: 10px 8px 8px;
  background: #f1f1f1;
  border-right: 1px solid #ddd;
}

.shopify-primary-nav {
  flex: 1;
  overflow-y: auto;
}

.shopify-static-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding: 5px 9px;
  color: #4a4a4a;
  border-radius: 8px;
  font-size: 13px;
  cursor: default;
  user-select: none;
}

.shopify-static-item {
  pointer-events: none;
  user-select: none;
}

.shopify-static-item span {
  flex: 1;
}

.shopify-static-item b {
  min-width: 22px;
  padding: 1px 5px;
  color: #616161;
  background: #ddd;
  border-radius: 8px;
  font-size: 10px;
  text-align: center;
}

.shopify-nav-section,
.shopify-app-context {
  margin-top: 8px;
}

.shopify-section-label {
  display: block;
  padding: 4px 9px 7px;
  color: #737373;
  font-size: 11px;
  font-weight: 500;
}

.shopify-app-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 2px;
  min-height: 34px;
  padding: 2px 3px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
  transition: background .12s ease, box-shadow .12s ease;
}

.shopify-app-title:hover {
  background: #f8f8f8;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}

.shopify-app-home {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 30px;
  padding: 2px 5px;
  color: #303030;
  background: transparent;
  border: 0;
  border-radius: 7px;
  text-align: left;
}

.shopify-app-home:hover,
.shopify-app-home:focus-visible {
  background: #ececec;
}

.shopify-app-home strong {
  overflow: hidden;
  flex: 1;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bestcheckout-mark {
  display: grid;
  width: 26px;
  height: 26px;
  color: #fff;
  background: linear-gradient(145deg, #171717, #4d4d4d);
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.bestcheckout-logo {
  display: block;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 3px 7px rgba(84, 88, 246, .22));
}

.app-nav {
  display: grid;
  position: relative;
  gap: 2px;
  margin: 4px 0 0 12px;
  padding: 0 0 0 17px;
}

.shopify-sidebar .app-nav::before {
  position: absolute;
  top: 0;
  bottom: 15px;
  left: 5px;
  width: 1px;
  background: #d2d2d2;
  content: '';
}

.app-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 29px;
  padding: 4px 9px;
  color: #4a4a4a;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  text-align: left;
}

.shopify-sidebar .app-nav-item {
  position: relative;
  min-height: 28px;
  padding: 4px 8px;
  color: #616161;
  border-radius: 7px;
  transition: background .12s ease, color .12s ease, box-shadow .12s ease;
}

.shopify-sidebar .app-nav-item::before {
  position: absolute;
  top: 50%;
  left: -12px;
  width: 8px;
  height: 1px;
  background: #d2d2d2;
  content: '';
}

.shopify-sidebar .app-nav-item .icon {
  display: none;
}

.shopify-sidebar .app-nav-item:hover,
.shopify-sidebar .app-nav-item:focus-visible {
  color: var(--p-text);
  background: #e8e8e8;
}

.shopify-sidebar .app-nav-item.is-active {
  color: #202020;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
  font-weight: 600;
}

.shopify-sidebar .app-nav-item.is-active:hover {
  background: #fff;
}

.shopify-sidebar-footer {
  display: grid;
  gap: 4px;
  padding-top: 4px;
}

.language-widget {
  position: relative;
}

.desktop-language-floating {
  position: fixed;
  z-index: 48;
  bottom: 12px;
  left: calc(var(--shopify-sidebar) + 16px);
  display: flex;
  align-items: flex-end;
}

.language-trigger {
  display: inline-grid;
  grid-template-columns: 22px auto 12px;
  align-items: center;
  gap: 6px;
  width: auto;
  min-width: 82px;
  min-height: 32px;
  padding: 4px 8px;
  color: #4a4a4a;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
  background: #f7f7f7;
  border-color: #bdbdbd;
}

.language-current-mark,
.language-option-flag {
  display: flex;
  width: 22px;
  height: 16px;
  align-items: center;
  justify-content: center;
}

.language-flag {
  position: relative;
  display: block;
  width: 22px;
  height: 15px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .13);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .34) inset;
}

.language-flag-us {
  background: repeating-linear-gradient(to bottom, #b22234 0 1.15px, #fff 1.15px 2.3px);
}

.language-flag-us::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 10px;
  height: 8px;
  color: #fff;
  background: #3c3b6e;
  content: '★';
  font-size: 5px;
  line-height: 8px;
  text-align: center;
}

.language-flag-cn {
  background: #de2910;
}

.language-flag-cn::before {
  position: absolute;
  top: -1px;
  left: 2px;
  color: #ffde00;
  content: '★';
  font-size: 9px;
  line-height: 14px;
}

.language-trigger > strong {
  font-size: 12px;
}

.language-trigger > i {
  position: relative;
  justify-self: end;
  width: 9px;
  height: 9px;
  color: #777;
  font-style: normal;
  font-size: 0;
  line-height: 0;
}

.language-trigger > i::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: '';
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
}

.language-trigger[aria-expanded="true"] > i::before {
  transform: translate(-50%, -50%) rotate(225deg);
}

.language-menu {
  position: absolute;
  z-index: 90;
  right: auto;
  bottom: calc(100% + 6px);
  left: 0;
  display: grid;
  gap: 4px;
  width: 178px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: 10px;
  box-shadow: var(--p-shadow-popover);
}

.language-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 5px 7px;
  color: var(--p-text);
  background: transparent;
  border: 0;
  border-radius: 7px;
  text-align: left;
}

.language-option:hover,
.language-option-active {
  background: var(--p-info-bg);
}

.language-option > strong {
  font-size: 12px;
  font-weight: 600;
}

.language-option > b {
  color: var(--p-success);
}

.mobile-language-widget {
  display: none;
}

.embedded-app {
  min-width: 0;
  background: var(--p-bg);
}

.embedded-titlebar {
  position: sticky;
  z-index: 25;
  top: var(--shopify-topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 9px 20px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--p-border);
  backdrop-filter: blur(10px);
}

.embedded-titlebar > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.embedded-titlebar strong {
  font-size: 14px;
}

.embedded-titlebar small {
  font-size: 11px;
}

.connection-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--p-text-subdued);
  font-size: 12px;
}

.connection-status i {
  width: 7px;
  height: 7px;
  background: var(--p-success);
  border-radius: 50%;
}

.mobile-app-nav {
  display: none;
}

.page-root {
  max-width: 1240px;
  min-height: calc(100vh - 112px);
  margin: 0 auto;
  padding: 24px 28px 48px;
}

.page-root-editor {
  max-width: none;
  padding: 0;
}

.page-root:focus {
  outline: 0;
}

.page-stack,
.settings-stack {
  display: grid;
  gap: 16px;
}

.page-header {
  display: grid;
  gap: 8px;
}

.page-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.page-heading p {
  max-width: 720px;
  margin-top: 4px;
  color: var(--p-text-subdued);
}

.page-actions,
.inline-actions,
.date-control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.date-control-display {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid var(--p-border-strong);
  border-radius: var(--p-radius-control);
  font-size: 13px;
  font-weight: 600;
}

.date-control-select {
  min-height: 32px;
  padding: 5px 30px 5px 12px;
  color: var(--p-text);
  background: #fff;
  border: 1px solid var(--p-border-strong);
  border-radius: var(--p-radius-control);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.date-control-select:focus-visible {
  outline: 2px solid var(--p-interactive);
  outline-offset: 1px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--p-text-subdued);
  font-size: 12px;
}

.breadcrumbs button {
  padding: 0;
  color: var(--p-interactive);
  background: transparent;
  border: 0;
}

.breadcrumb-separator {
  color: #a3a3a3;
}

.card {
  min-width: 0;
  background: var(--p-surface);
  border: 1px solid var(--p-border);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-card);
}

.card-pad {
  padding: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: var(--p-radius-control);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.button-primary {
  color: #fff;
  background: var(--p-action);
  border-color: var(--p-action);
}

.button-primary:hover {
  background: var(--p-action-hover);
}

.button-secondary {
  color: var(--p-text);
  background: #fff;
  border-color: var(--p-border-strong);
}

.button-secondary:hover {
  background: var(--p-surface-hover);
}

.button-plain {
  min-height: 28px;
  padding: 4px 7px;
  color: var(--p-interactive);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.button-plain:hover {
  color: #004299;
  background: var(--p-info-bg);
}

.button-critical {
  color: var(--p-critical);
  background: #fff;
  border-color: var(--p-critical-border);
}

.button-block {
  width: 100%;
}

.icon-button,
.device-button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--p-text-subdued);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  place-items: center;
}

.icon-button:hover,
.device-button:hover,
.device-button.is-active {
  color: var(--p-text);
  background: #ededed;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  min-height: 22px;
  padding: 2px 7px;
  color: var(--p-text-subdued);
  background: #eee;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #777;
  border-radius: 50%;
}

.badge-success {
  color: #17663f;
  background: var(--p-success-bg);
}

.badge-success .badge-dot {
  background: var(--p-success);
}

.badge-warning {
  color: #704300;
  background: var(--p-warning-bg);
}

.badge-warning .badge-dot {
  background: #c47a0b;
}

.badge-critical {
  color: var(--p-critical);
  background: var(--p-critical-bg);
}

.badge-critical .badge-dot {
  background: #c43f28;
}

.badge-info {
  color: #315a8a;
  background: #edf3fa;
}

.badge-info .badge-dot {
  background: #5a88b7;
}

.banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border: 1px solid;
  border-radius: var(--p-radius);
}

.banner-success {
  color: #174c32;
  background: var(--p-success-bg);
  border-color: var(--p-success-border);
}

.banner-warning {
  color: #624000;
  background: var(--p-warning-bg);
  border-color: var(--p-warning-border);
}

.banner-info {
  color: #244c75;
  background: var(--p-info-bg);
  border-color: var(--p-info-border);
}

.banner-critical {
  color: var(--p-critical);
  background: var(--p-critical-bg);
  border-color: var(--p-critical-border);
}

.banner-copy p {
  margin-top: 2px;
  color: inherit;
  opacity: .84;
}

.banner-action {
  align-self: center;
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.section-header p {
  margin-top: 3px;
  color: var(--p-text-subdued);
  font-size: 13px;
}

.section-header.outside-card {
  margin-bottom: 10px;
}

.eyebrow,
.structure-group-label {
  color: var(--p-text-subdued);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

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

.metric-card {
  padding: 15px;
}

.metric-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--p-text-subdued);
  font-size: 12px;
}

.metric-icon {
  display: grid;
  width: 29px;
  height: 29px;
  color: #555;
  background: #f1f1f1;
  border-radius: 8px;
  place-items: center;
}

.metric-card > strong {
  display: block;
  margin-top: 9px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}

.metric-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: var(--p-text-subdued);
  font-size: 11px;
}

.metric-positive,
.text-success,
.table-lift {
  color: var(--p-success);
  font-weight: 700;
}

.progress-track {
  position: relative;
  height: 7px;
  overflow: hidden;
  background: #dedede;
  border-radius: 999px;
}

.progress-fill {
  display: block;
  height: 100%;
  background: var(--p-action);
  border-radius: inherit;
}

.progress-success {
  background: var(--p-success);
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: 16px;
}

.overview-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr);
  gap: 16px;
  align-items: start;
}

.overview-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, .75fr);
  align-items: start;
  gap: 16px;
}

.overview-dashboard-column {
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
}

.home-trend .card-pad {
  display: grid;
  gap: 8px;
  padding-block: 14px;
}

.home-trend-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.home-trend-heading h2 {
  margin: 0;
  color: var(--p-text);
  font-size: 14px;
  line-height: 1.3;
}

.home-trend-heading p {
  margin: 2px 0 0;
  color: var(--p-text-subdued);
  font-size: 11px;
  line-height: 1.35;
}

.home-trend-kpi {
  display: grid;
  min-width: 50px;
  gap: 1px;
  padding: 4px 7px;
  color: #005bd3;
  background: #edf3ff;
  border-radius: 6px;
  text-align: right;
}

.home-trend-kpi small {
  color: #4972b8;
  font-size: 10px;
  line-height: 1.1;
}

.home-trend-kpi strong {
  color: #005bd3;
  font-size: 15px;
  line-height: 1.05;
}

.home-trend-chart {
  display: grid;
  gap: 4px;
}

.home-trend-plot {
  height: 64px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfdfc 0%, #f5faf7 100%);
  border: 1px solid #e4eee8;
  border-radius: 7px 7px 4px 4px;
}

.home-trend-plot svg {
  display: block;
  width: 100%;
  height: 100%;
}

.home-trend-grid {
  stroke: #dce7e0;
  stroke-width: 1;
  stroke-dasharray: 2 3;
}

.home-trend-area {
  fill: url(#home-trend-area);
}

.home-trend-line {
  fill: none;
  stroke: #008060;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-trend-dot {
  fill: #fff;
  stroke: #008060;
  stroke-width: 1.5;
}

.home-trend-dot.is-current {
  fill: #005bd3;
  stroke: #fff;
  stroke-width: 2;
}

.home-trend-labels {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  padding: 0 3px;
}

.home-trend-labels small {
  overflow: hidden;
  color: var(--p-text-subdued);
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-trend-labels small.is-current {
  color: #005bd3;
  font-weight: 700;
}

.home-trend-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px 14px;
  padding-top: 7px;
  border-top: 1px solid #e8e9eb;
  color: var(--p-text-subdued);
  font-size: 10px;
}

.home-trend-footer strong {
  color: var(--p-text);
  font-size: 10px;
}

.quickstart-card { display: grid; gap: 16px; padding: 18px; background: linear-gradient(112deg, #f1f6ff 0%, #fff 66%); border: 1px solid #b9cdf6; border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.quickstart-overview { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.quickstart-copy { display: grid; align-content: start; }
.quickstart-kicker { color: #005bd3; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.quickstart-card h2 { margin: 4px 0 5px; color: #202223; font-size: 18px; letter-spacing: -.01em; }
.quickstart-card p { margin: 0; color: #5c5f62; font-size: 12px; line-height: 1.45; }
.quickstart-side { display: grid; grid-template-columns: auto auto; align-items: center; gap: 12px; }
.quickstart-progress { display: grid; gap: 2px; min-width: 88px; }
.quickstart-progress > div { display: flex; align-items: baseline; gap: 5px; }
.quickstart-progress strong { color: #202223; font-size: 20px; }
.quickstart-progress span, .quickstart-progress small { color: #5c5f62; font-size: 12px; }
.quickstart-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .38fr); gap: 14px; align-items: stretch; }
.quickstart-steps { display: grid; align-content: start; gap: 7px; min-width: 0; }
.quickstart-step { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto; align-items: center; gap: 9px; min-width: 0; min-height: 58px; padding: 9px 10px; color: #5c5f62; background: #fff; border: 1px solid #d6d6d6; border-radius: 8px; text-align: left; }
.quickstart-step:not(:last-child)::after { position: absolute; top: 38px; bottom: -8px; left: 23px; width: 1px; background: #d6dce5; content: ''; }
.quickstart-step > span { position: relative; z-index: 1; display: grid; width: 24px; height: 24px; color: #5c5f62; background: #ebebeb; border-radius: 50%; font-size: 12px; place-items: center; }
.quickstart-step > div { display: grid; gap: 2px; min-width: 0; }
.quickstart-step strong { color: #303030; font-size: 12px; line-height: 1.35; }
.quickstart-step small { display: block; color: #6d7175; font-size: 12px; line-height: 1.4; }
.quickstart-step em { padding: 3px 6px; color: #6d7175; background: #f1f3f5; border-radius: 999px; font-size: 12px; font-style: normal; white-space: nowrap; }
.quickstart-step-action { display: inline-flex; align-items: center; justify-content: center; min-height: 29px; gap: 4px; padding: 5px 7px; color: #005bd3; background: #fff; border: 1px solid #91b2f7; border-radius: 6px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.quickstart-step-action:hover { color: #003d99; background: #eaf3ff; border-color: #005bd3; }
.quickstart-step.is-complete { border-color: #a9dfc5; background: #f3fcf7; }
.quickstart-step.is-complete > span { color: #fff; background: #008060; }
.quickstart-step.is-current { border-color: #6199f7; box-shadow: 0 0 0 1px #6199f7; }
.quickstart-step.is-current > span { color: #fff; background: #005bd3; }
.quickstart-step:hover { border-color: #005bd3; }
.quickstart-step:disabled, .onboarding-step-row:disabled { cursor: not-allowed; opacity: .58; }
.quickstart-step:disabled:hover { border-color: #d6d6d6; }
.quickstart-system-steps .quickstart-step::after { display: none; }
.quickstart-system-check { grid-template-columns: 28px minmax(0, 1fr) auto auto; }
.quickstart-system-check > div > i { display: block; margin-top: 2px; color: #6d7175; font-size: 12px; font-style: normal; line-height: 1.35; }
.quickstart-system-check.is-complete { border-color: #a9dfc5; background: #f3fcf7; }
.quickstart-system-check.is-complete > span { color: #fff; background: #008060; }
.quickstart-system-check.is-action-required { border-color: #f0c36d; background: #fffaf0; }
.quickstart-system-check.is-action-required > span { color: #8a6116; background: #fff0cf; }
.quickstart-system-check.is-blocked { border-color: #f1a4a4; background: #fff5f5; }
.quickstart-system-check.is-blocked > span { color: #b42318; background: #fee4e2; }
.quickstart-system-check.is-ready { border-color: #91b2f7; background: #f5f9ff; }
.quickstart-system-check.is-ready > span { color: #fff; background: #005bd3; }
.quickstart-system-check em { min-width: 86px; text-align: center; }
.quickstart-optional-growth { border-color: #a9dfc5; background: #f3fcf7; }
.quickstart-optional-growth > span { color: #0b7a53; background: #ddf3e6; }
.quickstart-optional-growth em { color: #0b7a53; background: #ddf3e6; }
.onboarding-optional-growth { border-color: #a9dfc5; background: #f3fcf7; }
.onboarding-optional-growth > span { color: #0b7a53; background: #ddf3e6; }
.onboarding-optional-growth em { color: #0b7a53; }
.quickstart-system-card .quickstart-body { grid-template-columns: minmax(0, 1fr); }
.quickstart-system-card .quickstart-system-summary { display: none; }
.quickstart-system-card [data-action="open-onboarding"],
.banner [data-action="open-onboarding"] { display: none; }
.launch-checklist { overflow:hidden; margin-bottom:18px; border:1px solid #dfe3eb; border-radius:12px; background:#fff; box-shadow:0 8px 24px rgba(28,39,63,.055); }
.launch-checklist-head { display:grid; grid-template-columns:minmax(0,1fr) 210px; align-items:center; gap:24px; padding:20px 22px 17px; border-bottom:1px solid #e8ebf1; }
.launch-checklist-head h2 { margin:4px 0 5px; color:#202b40; font-size:18px; letter-spacing:-.02em; }
.launch-checklist-head p { max-width:620px; margin:0; color:#718098; font-size:12px; line-height:1.5; }
.launch-checklist-progress { display:grid; grid-template-columns:auto minmax(64px,1fr); align-items:center; column-gap:9px; row-gap:5px; justify-self:end; min-width:190px; }
.launch-checklist-progress > div:first-child { display:flex; grid-column:1 / -1; align-items:baseline; justify-content:flex-end; gap:5px; }
.launch-checklist-progress strong { color:#263149; font-size:13px; }.launch-checklist-progress span,.launch-checklist-progress small { color:#7a879a; font-size:11px; }
.launch-checklist-progress > div[role="progressbar"] { grid-column:1 / -1; width:100%; height:5px; overflow:hidden; border-radius:99px; background:#e6eaf1; }
.launch-checklist-progress > div[role="progressbar"] > i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#4d69f2,#6c85ff); }
.launch-checklist-progress small { grid-column:1 / -1; text-align:right; }
.launch-checklist-rows { display:grid; }
.launch-checklist-row { display:grid; grid-template-columns:27px minmax(0,1fr) auto; align-items:center; gap:11px; min-height:69px; padding:13px 20px; border-bottom:1px solid #e8ebf1; }
.launch-checklist-row:last-child { border-bottom:0; }.launch-checklist-icon { display:grid; width:21px; height:21px; color:#9aa4b3; border:2px solid #d4d9e2; border-radius:50%; place-items:center; }
.launch-checklist-row > div { display:grid; gap:3px; min-width:0; }.launch-checklist-row strong { color:#344057; font-size:13px; line-height:1.35; }.launch-checklist-row small { color:#758198; font-size:12px; line-height:1.45; }
.launch-checklist-row.is-complete .launch-checklist-icon { color:#fff; border-color:#28a46f; background:#28a46f; }.launch-checklist-row.is-complete strong { color:#7c8796; text-decoration:line-through; }
.launch-checklist-row.is-current { background:#f5f2ff; }.launch-checklist-row.is-current .launch-checklist-icon { color:#fff; border-color:#7057e8; background:#7057e8; }.launch-checklist-row.is-current strong { color:#30245a; }.launch-checklist-row.is-current small { color:#635689; }
.launch-checklist-row.is-upcoming { opacity:.78; }.launch-checklist-status { min-width:72px; color:#7c899b; font-size:11px; font-weight:700; text-align:right; }.launch-checklist-row.is-complete .launch-checklist-status { color:#19885a; }
.launch-checklist-action { display:inline-flex; align-items:center; justify-content:center; gap:5px; min-height:34px; padding:0 12px; color:#fff; border:0; border-radius:var(--p-radius-control); background:var(--p-action); box-shadow:0 1px 2px rgba(0,102,230,.18); font-size:12px; font-weight:700; white-space:nowrap; }.launch-checklist-action:hover { background:var(--p-action-hover); }
.launch-checklist-footer { display:grid; grid-template-columns:25px minmax(0,1fr); gap:9px; align-items:start; padding:14px 20px; color:#4c67d9; background:#f6f8ff; border-top:1px solid #e5e9fb; }.launch-checklist-footer > span { display:grid; width:23px; height:23px; color:#4263eb; border-radius:7px; background:#e4eaff; place-items:center; }.launch-checklist-footer p { display:grid; gap:2px; margin:0; }.launch-checklist-footer strong { color:#4055a9; font-size:12px; }.launch-checklist-footer small { color:#7380a7; font-size:11px; line-height:1.45; }
.launch-checklist-optional { display:grid; grid-template-columns:25px minmax(0,1fr) auto; gap:9px; align-items:center; margin:15px 20px 18px; padding:12px; color:#2f7e5c; border:1px solid #c9e9d9; border-radius:9px; background:#f4fbf7; }.launch-checklist-optional > span { display:grid; width:23px; height:23px; color:#16865a; border-radius:7px; background:#dff4e8; place-items:center; }.launch-checklist-optional > div { display:grid; gap:2px; }.launch-checklist-optional strong { color:#257151; font-size:12px; }.launch-checklist-optional small { color:#5b8976; font-size:11px; line-height:1.4; }.launch-checklist-optional button { display:inline-flex; align-items:center; gap:4px; min-height:28px; padding:0 7px; color:#247355; border:0; border-radius:6px; background:transparent; font-size:11px; font-weight:750; }.launch-checklist-optional button:hover { background:#e4f7ec; }
.quickstart-system-summary { background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%); border-color: #e1e3e5; }
.quickstart-system-summary > span, .quickstart-system-summary strong { color: #005bd3; }
.onboarding-dashboard-grid { grid-template-columns: minmax(0, 1fr); }
.onboarding-dashboard-grid > .overview-dashboard-column:last-child { display: none; }
.quickstart-current { display: grid; align-content: start; gap: 7px; padding: 18px; background: linear-gradient(180deg, #f7faff 0%, #fff 100%); border: 1px solid #d9e5fb; border-radius: 9px; }
.quickstart-current > span { color: #005bd3; font-size: 12px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.quickstart-current h3 { margin: 0; color: #202223; font-size: 16px; line-height: 1.3; }
.quickstart-current > p { margin: 0; color: #5c5f62; font-size: 12px; line-height: 1.48; }
.quickstart-current > div { display: grid; gap: 2px; margin-top: 6px; padding-top: 10px; border-top: 1px solid #d9e5fb; }
.quickstart-current strong { color: #005bd3; font-size: 12px; }
.quickstart-current small { color: #6d7175; font-size: 12px; line-height: 1.35; }
.quickstart-current > .button { justify-self: start; margin-top: 4px; }
.onboarding-after-launch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.onboarding-after-launch > div { display: grid; align-content: start; gap: 5px; padding: 12px; background: #f6f6f7; border: 1px solid #e1e3e5; border-radius: 8px; }
.onboarding-after-launch > div > span { display: grid; width: 28px; height: 28px; color: #005bd3; background: #eaf3ff; border-radius: 7px; place-items: center; }
.onboarding-after-launch strong { color: #202223; font-size: 12px; }
.onboarding-after-launch small { color: #5c5f62; font-size: 11px; line-height: 1.45; }
.onboarding-health-preview .card-pad { display: grid; gap: 14px; }
.onboarding-health-note { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; align-items: start; padding: 11px; background: #f6f6f7; border: 1px solid #e1e3e5; border-radius: 8px; }
.onboarding-health-note > span { display: grid; width: 30px; height: 30px; color: #005bd3; background: #eaf3ff; border-radius: 7px; place-items: center; }
.onboarding-health-note > div { display: grid; gap: 3px; }
.onboarding-health-note strong { color: #202223; font-size: 12px; }
.onboarding-health-note small { color: #5c5f62; font-size: 11px; line-height: 1.45; }

.onboarding-modal { display: grid; gap: 16px; }
.onboarding-modal-intro { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px; background: #edf6ff; border: 1px solid #c8e3fa; border-radius: 9px; }
.onboarding-modal-intro > span { display: grid; width: 34px; height: 34px; color: #005bd3; background: #d9ecff; border-radius: 8px; place-items: center; }
.onboarding-modal-intro > div { display: grid; gap: 2px; }
.onboarding-modal-intro strong { color: #1f3b57; font-size: 13px; }
.onboarding-modal-intro p { margin: 0; color: #4a6178; font-size: 11px; line-height: 1.4; }
.onboarding-modal-intro b { padding: 4px 7px; color: #005bd3; background: #fff; border-radius: 999px; font-size: 12px; }
.onboarding-modal-grid { display: grid; grid-template-columns: minmax(200px, .82fr) minmax(260px, 1.18fr); gap: 14px; }
.onboarding-step-list { display: grid; gap: 6px; }
.onboarding-step-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 9px; color: #303030; background: #fff; border: 1px solid #d6d6d6; border-radius: 8px; text-align: left; }
.onboarding-step-row > span { display: grid; width: 24px; height: 24px; color: #5c5f62; background: #ebebeb; border-radius: 50%; font-size: 10px; place-items: center; }
.onboarding-step-row > div { display: grid; gap: 2px; min-width: 0; }
.onboarding-step-row strong { font-size: 12px; line-height: 1.35; }
.onboarding-step-row small { color: #6d7175; font-size: 12px; line-height: 1.35; }
.onboarding-step-row em { padding: 3px 5px; color: #005bd3; background: #edf3ff; border-radius: 999px; font-size: 12px; font-style: normal; }
.onboarding-step-row.is-complete { border-color: #a9dfc5; background: #f3fcf7; }
.onboarding-step-row.is-complete > span { color: #fff; background: #008060; }
.onboarding-step-row.is-current { border-color: #6199f7; box-shadow: 0 0 0 1px #6199f7; }
.onboarding-step-row.is-current > span { color: #fff; background: #005bd3; }
.onboarding-system-row.is-complete { border-color: #a9dfc5; background: #f3fcf7; }
.onboarding-system-row.is-complete > span { color: #fff; background: #008060; }
.onboarding-system-row.is-action_required { border-color: #f0c36d; background: #fffaf0; }
.onboarding-system-row.is-action_required > span { color: #8a6116; background: #fff0cf; }
.onboarding-system-row.is-blocked { border-color: #f1a4a4; background: #fff5f5; }
.onboarding-system-row.is-blocked > span { color: #b42318; background: #fee4e2; }
.onboarding-system-row.is-ready { border-color: #91b2f7; background: #f5f9ff; }
.onboarding-system-row.is-ready > span { color: #fff; background: #005bd3; }
.onboarding-current-step { display: grid; align-content: start; gap: 8px; padding: 17px; background: #f6f6f7; border: 1px solid #e1e3e5; border-radius: 9px; }
.onboarding-current-step > span { color: #005bd3; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.onboarding-current-step h3 { margin: 0; color: #202223; font-size: 18px; }
.onboarding-current-step > p { margin: 0; color: #5c5f62; font-size: 12px; line-height: 1.45; }
.onboarding-time { display: inline-grid; grid-template-columns: 18px auto auto; align-items: center; justify-self: start; gap: 5px; padding: 6px 8px; color: #5c5f62; background: #fff; border: 1px solid #d6d6d6; border-radius: 6px; }
.onboarding-time strong { color: #303030; font-size: 11px; }
.onboarding-time small { font-size: 10px; }

.overview-funnel-list {
  display: grid;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--p-border);
  border-radius: 10px;
}

.overview-funnel-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) 94px 118px auto 16px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 9px 12px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--p-border);
  text-align: left;
}

.overview-funnel-row:last-child {
  border-bottom: 0;
}

.overview-funnel-row:hover {
  background: var(--p-surface-hover);
}

.overview-funnel-row > span:not(.overview-funnel-name) {
  display: grid;
  gap: 2px;
}

.overview-funnel-row small {
  color: var(--p-text-subdued);
  font-size: 10px;
}

.overview-funnel-name {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.overview-funnel-name strong,
.overview-funnel-name small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.check-list {
  border-top: 1px solid var(--p-border);
}

.check-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 11px 16px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--p-border);
  text-align: left;
}

.check-row:last-child {
  border-bottom: 0;
  border-radius: 0 0 var(--p-radius) var(--p-radius);
}

.check-row:hover {
  background: var(--p-surface-hover);
}

.check-state,
.summary-icon {
  display: grid;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  place-items: center;
}

.check-state-complete,
.summary-success {
  color: var(--p-success);
  background: var(--p-success-bg);
}

.check-state-attention,
.summary-warning {
  color: var(--p-warning);
  background: var(--p-warning-bg);
}

.check-copy {
  display: grid;
  gap: 2px;
}

.check-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-summary .card-pad {
  display: grid;
  gap: 17px;
}

.today-score {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.today-score div {
  padding: 11px;
  background: #f7f7f7;
  border-radius: 9px;
}

.today-score span,
.today-score strong {
  display: block;
}

.today-score span {
  color: var(--p-text-subdued);
  font-size: 11px;
}

.today-score strong {
  margin-top: 2px;
  font-size: 18px;
}

.traffic-summary {
  display: grid;
  gap: 8px;
}

.traffic-label,
.traffic-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.traffic-label {
  font-size: 12px;
}

.traffic-legend {
  color: var(--p-text-subdued);
  font-size: 10px;
}

.traffic-legend span,
.traffic-allocation-preview span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.traffic-legend i,
.traffic-allocation-preview i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend-bestcheckout {
  background: var(--p-success);
}

.legend-native {
  background: #a7a7a7;
}

.outcome-list,
.mapping-list {
  display: grid;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid var(--p-border);
}

.outcome-list div,
.mapping-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.outcome-list span,
.mapping-list span {
  color: var(--p-text-subdued);
}

.activity-compact-list {
  margin-top: 12px;
  padding: 0;
  list-style: none;
}

.activity-compact {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--p-border);
}

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

.activity-icon,
.tracking-icon,
.sync-stat-icon {
  display: grid;
  width: 30px;
  height: 30px;
  color: #555;
  background: #f0f0f0;
  border-radius: 8px;
  place-items: center;
}

.activity-compact > div {
  display: grid;
  gap: 2px;
}

.activity-compact small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-compact time {
  color: var(--p-text-subdued);
  font-size: 11px;
}

.seed-callout,
.attribution-footnote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  background: #e9e7ff;
  border: 1px solid #d1cdf7;
  border-radius: var(--p-radius);
}

.seed-icon {
  display: grid;
  width: 38px;
  height: 38px;
  color: #4e43bd;
  background: rgba(255, 255, 255, .7);
  border-radius: 10px;
  place-items: center;
}

.seed-callout p,
.attribution-footnote p {
  margin-top: 2px;
  color: #5f5a85;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-group {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.filter-chip {
  min-height: 30px;
  padding: 4px 10px;
  color: var(--p-text-subdued);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: var(--p-text);
  background: #fff;
  border-color: var(--p-border-strong);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.filter-chip.is-active {
  font-weight: 600;
}

.filter-meta {
  color: var(--p-text-subdued);
  font-size: 12px;
  white-space: nowrap;
}

.funnel-workspace {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.funnel-rail {
  position: sticky;
  top: 126px;
  overflow: hidden;
}

.funnel-rail-head {
  display: grid;
  gap: 2px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--p-border);
}

.funnel-rail-head span {
  color: var(--p-text-subdued);
  font-size: 11px;
}

.funnel-list {
  display: grid;
}

.funnel-list-item {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 12px 13px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--p-border);
  text-align: left;
}

.funnel-list-item:last-child {
  border-bottom: 0;
}

.funnel-list-item:hover {
  background: #f8f8f8;
}

.funnel-list-item.is-active {
  background: #f1f1f1;
  box-shadow: inset 3px 0 var(--p-action);
}

.funnel-list-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.funnel-list-audience {
  display: -webkit-box;
  overflow: hidden;
  color: var(--p-text-subdued);
  font-size: 11px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.funnel-list-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.funnel-list-metrics span {
  display: grid;
}

.funnel-list-metrics small {
  font-size: 9px;
}

.funnel-list-metrics b {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.funnel-main,
.funnel-lower-grid {
  display: grid;
  gap: 14px;
}

.funnel-lower-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
}

.funnel-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.title-with-badge {
  display: flex;
  align-items: center;
  gap: 9px;
}

.funnel-title-row p {
  margin-top: 3px;
  color: var(--p-text-subdued);
  font-size: 12px;
}

.traffic-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 280px) auto;
  align-items: center;
  gap: 13px;
  padding: 10px 18px;
  background: #f8f8f8;
  border-top: 1px solid var(--p-border);
  border-bottom: 1px solid var(--p-border);
}

.traffic-bar > div:first-child {
  display: grid;
  gap: 1px;
  font-size: 11px;
}

.traffic-bar > div:first-child span {
  color: var(--p-text-subdued);
}

.canvas-wrap {
  overflow-x: auto;
  padding: 28px 20px 24px;
  background-color: #fbfbfb;
  background-image: radial-gradient(#ddd 1px, transparent 1px);
  background-size: 16px 16px;
}

.funnel-canvas {
  display: flex;
  align-items: center;
  min-width: 900px;
  min-height: 230px;
}

.canvas-stage {
  display: grid;
  align-items: center;
}

.canvas-stage-entry {
  width: 145px;
}

.canvas-stage-checkout {
  width: 180px;
  gap: 7px;
}

.canvas-stage-post {
  width: 210px;
}

.canvas-stage-thankyou {
  width: 160px;
}

.canvas-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  color: #999;
}

.canvas-node {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .07);
  text-align: left;
}

.canvas-node:hover,
.canvas-node.is-selected {
  border-color: #6a6a6a;
  box-shadow: 0 0 0 2px rgba(48, 48, 48, .12), 0 4px 10px rgba(0, 0, 0, .08);
}

.node-icon {
  display: grid;
  width: 30px;
  height: 30px;
  color: #4a4a4a;
  background: #eee;
  border-radius: 8px;
  place-items: center;
}

.node-checkout .node-icon {
  color: #175d3a;
  background: var(--p-success-bg);
}

.node-upsell .node-icon,
.node-downsell .node-icon {
  color: #714800;
  background: var(--p-warning-bg);
}

.node-thank-you .node-icon {
  color: #315a8a;
  background: var(--p-info-bg);
}

.node-copy {
  display: grid;
  min-width: 0;
}

.node-copy small {
  font-size: 9px;
  text-transform: capitalize;
}

.node-copy strong,
.node-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node-copy strong {
  font-size: 11px;
}

.node-copy em {
  color: var(--p-text-subdued);
  font-size: 9px;
  font-style: normal;
}

.node-edit {
  color: #888;
}

.control-split {
  color: var(--p-text-subdued);
  font-size: 9px;
  text-align: center;
}

.control-split i {
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 5px;
  background: #ccc;
  vertical-align: middle;
}

.canvas-branch {
  position: relative;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 34px;
}

.canvas-branch::before {
  position: absolute;
  top: 50%;
  left: -18px;
  width: 18px;
  height: 1px;
  background: #aaa;
  content: "";
}

.branch-up,
.branch-down {
  position: relative;
  display: grid;
  gap: 4px;
}

.branch-node-list {
  display: grid;
  gap: 8px;
}

.branch-label {
  position: absolute;
  left: -5px;
  padding: 1px 4px;
  color: #7a7a7a;
  background: #fbfbfb;
  font-size: 8px;
}

.branch-accept {
  top: 41px;
}

.branch-decline {
  top: 41px;
}

.canvas-skip {
  display: grid;
  min-height: 54px;
  color: var(--p-text-subdued);
  background: rgba(255, 255, 255, .78);
  border: 1px dashed #c9c9c9;
  border-radius: 9px;
  place-items: center;
  font-size: 10px;
}

.canvas-skip-wide {
  min-width: 170px;
}

/* Merchant-facing Funnel journey: business steps first, graph details second. */
.funnel-canvas {
  display: grid;
  grid-template-columns: 135px 30px 160px 30px minmax(310px, 1fr) 30px 150px;
  align-items: start;
  gap: 0;
  min-width: 900px;
  min-height: 260px;
}

.journey-stage {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.journey-stage-label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  color: var(--p-text-subdued);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.journey-stage-label b {
  display: grid;
  width: 20px;
  height: 20px;
  color: #fff;
  background: #555;
  border-radius: 50%;
  place-items: center;
  font-size: 9px;
}

.journey-connector {
  display: grid;
  height: 76px;
  color: #8a8a8a;
  place-items: end center;
}

.journey-stage-offers {
  min-width: 310px;
}

.node-select-indicator {
  color: #8a8a8a;
}

.offer-flow-list,
.offer-flow-card {
  display: grid;
  gap: 8px;
}

.offer-flow-list {
  gap: 12px;
}

.offer-flow-card {
  padding: 10px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid #dedede;
  border-radius: 12px;
}

.offer-outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.offer-outcomes > span {
  display: grid;
  grid-template-columns: auto 14px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 6px 7px;
  border-radius: 7px;
  font-size: 9px;
}

.offer-outcomes b {
  font-size: 9px;
}

.offer-outcomes strong {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.outcome-accept {
  color: #205f43;
  background: var(--p-success-bg);
}

.outcome-decline {
  color: #725019;
  background: var(--p-warning-bg);
}

.offer-outcomes i {
  display: grid;
  font-style: normal;
  place-items: center;
}

.fallback-step {
  display: grid;
  gap: 5px;
  margin-left: 22px;
  padding-left: 10px;
  border-left: 2px solid #e3c26c;
}

.fallback-step-label {
  color: var(--p-text-subdued);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.journey-add-card,
.journey-inline-add {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  color: #3d3d3d;
  background: rgba(255, 255, 255, .9);
  border: 1px dashed #aaa;
  border-radius: 10px;
  text-align: left;
}

.journey-add-card {
  min-height: 112px;
  padding: 14px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.journey-add-card > span,
.journey-inline-add > .icon {
  color: var(--p-interactive);
}

.journey-add-card small,
.journey-inline-add small {
  display: block;
  color: var(--p-text-subdued);
  font-size: 10px;
}

.journey-inline-add {
  min-height: 48px;
  padding: 8px 10px;
}

.journey-inline-add:hover,
.journey-add-card:hover {
  background: #fff;
  border-color: #666;
}

.journey-inline-add-primary {
  border-color: #7c9fca;
}

.funnel-draft-guide {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  color: #244568;
  background: var(--p-info-bg);
  border-top: 1px solid var(--p-info-border);
}

.funnel-draft-guide > span {
  display: grid;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 8px;
  place-items: center;
}

.funnel-draft-guide p {
  margin-top: 2px;
  color: #4e6780;
  font-size: 11px;
}

.funnel-draft-guide ol {
  display: flex;
  gap: 7px;
  padding: 0;
  list-style: none;
}

.funnel-draft-guide li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-size: 10px;
}

.funnel-draft-guide li b {
  display: grid;
  width: 18px;
  height: 18px;
  color: #fff;
  background: #537aa3;
  border-radius: 50%;
  place-items: center;
  font-size: 9px;
}

.funnel-advanced {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-card);
}

.funnel-advanced > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
}

.funnel-advanced > summary::-webkit-details-marker {
  display: none;
}

.funnel-advanced > summary > span {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 1px 8px;
}

.funnel-advanced > summary > span > .icon {
  grid-row: 1 / span 2;
}

.funnel-advanced > summary small {
  font-size: 11px;
}

.funnel-advanced[open] > summary {
  border-bottom: 1px solid var(--p-border);
}

.funnel-advanced[open] > summary > .icon {
  transform: rotate(90deg);
}

.funnel-advanced .funnel-lower-grid {
  padding: 14px;
  background: var(--p-bg-subdued);
}

.node-inspector {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 13px 17px;
  border-top: 1px solid var(--p-border);
}

.offer-settings-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.offer-settings-summary > div {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  background: #f7f7f7;
  border: 1px solid var(--p-border);
  border-radius: 8px;
}

.offer-settings-summary span {
  color: var(--p-text-subdued);
  font-size: 10px;
}

.offer-settings-summary strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.funnel-journey-help {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 10px 17px;
  color: var(--p-text-subdued);
  background: #f8f8f8;
  border-top: 1px solid var(--p-border);
  border-bottom: 1px solid var(--p-border);
  font-size: 12px;
}

.funnel-journey-help span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.funnel-journey-help b {
  display: grid;
  width: 18px;
  height: 18px;
  color: #fff;
  background: var(--p-action);
  border-radius: 50%;
  font-size: 10px;
  place-items: center;
}

.node-inspector h3 {
  margin-top: 2px;
}

.node-inspector p {
  margin-top: 3px;
  color: var(--p-text-subdued);
  font-size: 11px;
}

.node-inspector dl {
  display: flex;
  align-items: center;
  gap: 20px;
}

.node-inspector dl div {
  display: grid;
  gap: 2px;
}

.node-inspector dt {
  color: var(--p-text-subdued);
  font-size: 9px;
}

.node-inspector dd {
  font-size: 11px;
  font-weight: 600;
}

.rule-priority {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  margin-top: 13px;
  padding: 9px 10px;
  background: var(--p-info-bg);
  border-radius: 8px;
}

.rule-priority span,
.rule-priority strong {
  font-size: 12px;
}

.rule-priority small {
  grid-column: 1 / -1;
  color: var(--p-text-subdued);
}

.rule-list {
  display: grid;
  gap: 8px;
  margin-top: 13px;
  padding: 0;
  list-style: none;
}

.rule-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 7px 9px;
  background: #f7f7f7;
  border-radius: 8px;
  font-size: 12px;
}

.rule-list li > span {
  display: grid;
  width: 20px;
  height: 20px;
  color: #666;
  background: #e4e4e4;
  border-radius: 6px;
  place-items: center;
  font-size: 10px;
}

.rule-fallback {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  padding: 9px;
  color: #3e5d4b;
  background: var(--p-success-bg);
  border-radius: 8px;
}

.rule-fallback span {
  display: grid;
}

.guardrail-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.guardrail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--p-border);
  font-size: 12px;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-card {
  overflow: hidden;
}

.page-thumb {
  position: relative;
  height: 156px;
  overflow: hidden;
  background: #f4f4f4;
  border-bottom: 1px solid var(--p-border);
}

.page-thumb-checkout {
  display: grid;
  grid-template-columns: 57% 43%;
  padding-top: 26px;
  background: linear-gradient(90deg, #fff 0 57%, #f1f1f1 57%);
}

.mini-logo {
  position: absolute;
  top: 13px;
  left: 18px;
  width: 58px;
  height: 6px;
  background: var(--page-accent);
  border-radius: 3px;
}

.mini-checkout-left,
.mini-checkout-right {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 13px 18px;
}

.mini-checkout-left i,
.mini-checkout-right span {
  display: block;
  height: 12px;
  background: #e6e6e6;
  border-radius: 3px;
}

.mini-checkout-left b {
  width: 100%;
  height: 24px;
  margin-top: 4px;
  background: var(--page-accent);
  border-radius: 4px;
}

.mini-checkout-right span:first-child {
  height: 31px;
  background: #d9d9d9;
}

.page-thumb-offer,
.page-thumb-thankyou {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
}

.mini-product {
  width: 54px;
  height: 54px;
  background: linear-gradient(145deg, #d8d0c6, #a48873);
  border-radius: 10px;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .5);
}

.page-thumb-offer strong,
.page-thumb-thankyou strong {
  font-family: Georgia, serif;
  font-size: 13px;
}

.page-thumb-offer i,
.page-thumb-thankyou i {
  width: 45%;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
}

.page-thumb-offer button,
.page-thumb-thankyou div {
  width: 42%;
  height: 17px;
  background: var(--page-accent);
  border: 0;
  border-radius: 4px;
}

.page-thumb-offer span {
  width: 30%;
  height: 3px;
  background: #bbb;
}

.mini-check {
  display: grid;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--page-accent);
  border-radius: 50%;
  place-items: center;
  font-size: 18px;
}

.page-card-body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.page-card-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.page-card-title h2 {
  margin-top: 2px;
}

.page-card-meta {
  display: flex;
  gap: 8px;
  color: var(--p-text-subdued);
  font-size: 10px;
}

.page-card-meta span + span::before {
  margin-right: 8px;
  color: #aaa;
  content: "·";
}

.page-card-performance {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 9px;
  background: #f7f7f7;
  border-radius: 8px;
}

.page-card-performance span {
  display: grid;
}

.page-card-performance small {
  font-size: 10px;
}

.page-card-performance strong {
  font-size: 18px;
}

.page-card-performance em {
  color: var(--p-success);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.page-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-card-actions .icon-button {
  margin-left: auto;
}

.page-action-popover {
  position: relative;
  margin-left: auto;
}

.page-action-popover .icon-button {
  margin-left: 0;
}

.page-action-menu {
  position: absolute;
  z-index: 12;
  right: 0;
  bottom: calc(100% + 6px);
  display: grid;
  width: 184px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}

.page-action-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 34px;
  padding: 7px 8px;
  color: var(--p-text);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 12px;
  text-align: left;
}

.page-action-menu button:hover,
.page-action-menu button:focus-visible {
  background: var(--p-surface-subdued);
  outline: 0;
}

.page-action-menu button.is-danger {
  color: var(--p-critical);
}

.page-version-list {
  display: grid;
  gap: 10px;
}

.page-version-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 11px;
  background: var(--p-surface-subdued);
  border-radius: 8px;
}

.page-version-list strong,
.page-version-list small {
  display: block;
}

.page-version-list small {
  margin-top: 3px;
  color: var(--p-text-subdued);
  font-size: 11px;
  line-height: 1.45;
}

.version-state {
  align-self: start;
  padding: 3px 6px;
  color: var(--p-text-subdued);
  background: #e4e5e7;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.version-state.is-draft { color: #1359ad; background: #d9ebff; }
.version-state.is-published { color: #087443; background: #d8f3e5; }

.shared-style-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.shared-style-grid > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 9px;
  padding: 10px;
  background: #f7f7f7;
  border-radius: 9px;
}

.shared-style-grid strong,
.shared-style-grid small {
  grid-column: 2;
}

.style-swatch {
  display: grid;
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  place-items: center;
}

.style-swatch-logo {
  color: #fff;
  background: #303030;
  font-size: 10px;
  font-weight: 800;
}

.style-swatch-color {
  background: #6d5dfc;
}

.style-swatch-radius {
  width: 28px;
  height: 28px;
  margin: 5px;
  background: #ddd;
  border-radius: 9px;
}

.style-swatch-width {
  background: linear-gradient(90deg, #ddd 0 25%, transparent 25% 35%, #ddd 35% 65%, transparent 65% 75%, #ddd 75%);
}

.performance-chart-card {
  overflow: hidden;
}

.comparison-chip {
  padding: 5px 8px;
  color: var(--p-text-subdued);
  background: #f0f0f0;
  border-radius: 8px;
  font-size: 11px;
}

.comparison-chip strong {
  color: var(--p-success);
}

.chart-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  margin-top: 22px;
}

.chart-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 20px;
  color: var(--p-text-subdued);
  font-size: 9px;
}

.performance-chart {
  width: 100%;
  height: 220px;
  overflow: visible;
  background: repeating-linear-gradient(to bottom, transparent 0 41px, #ebebeb 42px);
}

.chart-area {
  fill: url(#chartFill);
}

.chart-line {
  fill: none;
  stroke: var(--p-success);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.chart-points circle {
  fill: #fff;
  stroke: var(--p-success);
  stroke-width: 2;
}

.chart-dates {
  display: flex;
  grid-column: 2;
  justify-content: space-between;
  color: var(--p-text-subdued);
  font-size: 9px;
}

.performance-date-filter { position: relative; display: flex; align-items: center; gap: 8px; }
.date-range-label { color: var(--p-text-subdued); font-size: 12px; }
.date-range-trigger { display: inline-flex; align-items: center; justify-content: space-between; min-width: 170px; min-height: 34px; gap: 12px; padding: 5px 9px 5px 12px; color: var(--p-text); background: #fff; border: 1px solid var(--p-border-strong); border-radius: var(--p-radius-control); font: inherit; font-size: 13px; font-weight: 600; text-align: left; }
.date-range-trigger:hover { border-color: #7b7f85; }.date-range-trigger:focus-visible { outline: 2px solid var(--p-interactive); outline-offset: 1px; }.date-range-trigger .icon { transition: transform .16s ease; }.date-range-trigger[aria-expanded="true"] .icon { transform: rotate(90deg); }
.date-range-popover { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; width: 360px; overflow: hidden; background: #fff; border: 1px solid var(--p-border); border-radius: 10px; box-shadow: 0 10px 28px rgba(0, 0, 0, .16); }
.date-range-popover-head,.date-range-popover footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--p-border); }.date-range-popover-head strong { font-size: 14px; }.date-range-close { width: 28px; height: 28px; padding: 0; color: var(--p-text-subdued); background: transparent; border: 0; border-radius: 5px; font-size: 20px; line-height: 1; }.date-range-close:hover { color: var(--p-text); background: #f1f1f1; }
.date-preset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; }.date-preset { display: grid; gap: 3px; min-height: 56px; padding: 8px; color: var(--p-text); background: #fff; border: 1px solid var(--p-border-strong); border-radius: 7px; text-align: left; }.date-preset:hover { background: #f6f6f7; border-color: #7b7f85; }.date-preset.is-active { color: #003d99; background: #edf5ff; border-color: var(--p-interactive); }.date-preset strong { font-size: 12px; }.date-preset span { color: var(--p-text-subdued); font-size: 10px; }.date-preset.is-active span { color: #2965a8; }
.date-range-custom { padding: 2px 14px 14px; border-top: 1px solid var(--p-border); }.date-range-custom > strong { display: block; margin: 12px 0 8px; font-size: 12px; }.date-range-custom > p { margin: 8px 0 0; color: var(--p-text-subdued); font-size: 11px; }.date-range-inputs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 8px; }.date-range-inputs label { display: grid; gap: 5px; color: var(--p-text-subdued); font-size: 11px; font-weight: 600; }.date-range-inputs input { box-sizing: border-box; width: 100%; height: 34px; padding: 0 7px; color: var(--p-text); background: #fff; border: 1px solid var(--p-border-strong); border-radius: 6px; font: inherit; font-size: 12px; }.date-range-inputs input:focus { outline: 2px solid var(--p-interactive); outline-offset: 1px; }.date-range-separator { padding-bottom: 9px; color: var(--p-text-subdued); font-size: 12px; }.date-range-error { color: var(--p-critical, #d72c0d) !important; }.date-range-popover footer { justify-content: flex-end; gap: 8px; border-top: 1px solid var(--p-border); border-bottom: 0; }.performance-table-range { color: var(--p-text-subdued); font-size: 12px; }

@media (max-width: 600px) { .performance-date-filter { width: 100%; justify-content: space-between; }.date-range-trigger { flex: 1; }.date-range-popover { right: auto; left: 0; width: min(360px, calc(100vw - 32px)); }.date-preset-grid { grid-template-columns: 1fr; }.date-range-inputs { grid-template-columns: 1fr; }.date-range-separator { display: none; }.performance-table-range { display: none; } }

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid var(--p-border);
}

.tabs {
  display: flex;
  gap: 18px;
}

.tab {
  position: relative;
  min-height: 44px;
  padding: 0 2px;
  color: var(--p-text-subdued);
  background: transparent;
  border: 0;
  font-size: 12px;
}

.tab.is-active {
  color: var(--p-text);
  font-weight: 700;
}

.tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--p-action);
  content: "";
}

.table-scroll {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.data-table th,
.data-table td {
  padding: 10px 13px;
  border-bottom: 1px solid var(--p-border);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.data-table th {
  color: var(--p-text);
  background: #fff;
  font-size: 10px;
  font-weight: 600;
}

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

.data-table tbody tr:hover td {
  background: #fafafa;
}

.data-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.attribution-footnote {
  background: #eef5ff;
  border-color: #cadcf3;
}

.attribution-footnote p {
  color: #536a81;
}

.activity-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.activity-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.activity-summary > div {
  display: grid;
}

.activity-summary strong {
  font-size: 18px;
}

.summary-info {
  color: var(--p-info);
  background: var(--p-info-bg);
}

.summary-critical {
  color: var(--p-critical);
  background: var(--p-critical-bg);
}

.activity-filter-bar {
  justify-content: flex-start;
}

.activity-filter-rail {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 4px 7px 4px 10px;
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: 9px;
}

.activity-filter-select {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--p-text-subdued);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.activity-filter-select select {
  height: 30px;
  min-width: 132px;
  padding: 4px 26px 4px 8px;
  color: var(--p-text);
  background: #f6f6f7;
  border: 0;
  border-radius: 6px;
  font-size: 12px;
}

.activity-filter-rail > i {
  width: 1px;
  height: 22px;
  margin: 0 8px;
  background: var(--p-border);
}

.activity-search-control {
  position: relative;
  min-width: 292px;
}

.activity-search-control svg {
  position: absolute;
  top: 8px;
  left: 1px;
  color: #777;
}

.activity-search-control input {
  width: 100%;
  height: 30px;
  padding: 4px 4px 4px 25px;
  color: var(--p-text);
  background: transparent;
  border: 0;
  font-size: 12px;
  outline: 0;
}

.activity-search-control input:focus-visible,
.activity-filter-select select:focus-visible {
  outline: 2px solid var(--p-interactive);
  outline-offset: 2px;
}

.filter-control {
  display: grid;
  gap: 3px;
}

.filter-control label {
  color: var(--p-text-subdued);
  font-size: 10px;
}

.filter-control select,
.filter-control input,
.form-stack input,
.form-stack select,
.inspector-form input,
.inspector-form select {
  min-height: 34px;
  padding: 6px 9px;
  background: #fff;
  border: 1px solid var(--p-border-strong);
  border-radius: 8px;
}

.search-control {
  position: relative;
  display: block;
  min-width: 290px;
}

.search-control svg {
  position: absolute;
  z-index: 1;
  top: 9px;
  left: 9px;
  color: #777;
}

.search-control input {
  width: 100%;
  padding-left: 32px;
}

.activity-filter-bar .filter-meta {
  margin-left: auto;
}

.timeline {
  position: relative;
  display: grid;
  gap: 12px;
  padding-left: 12px;
}

.timeline::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 27px;
  width: 2px;
  background: #ddd;
  content: "";
}

.timeline-event {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
}

.timeline-marker {
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  color: #555;
  background: #eee;
  border: 3px solid var(--p-bg);
  border-radius: 50%;
  place-items: center;
}

.activity-payment,
.activity-writeback {
  color: #17663f;
  background: var(--p-success-bg);
}

.activity-post-purchase {
  color: #704300;
  background: var(--p-warning-bg);
}

.activity-tracking {
  color: #315a8a;
  background: var(--p-info-bg);
}

.timeline-card {
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: 10px;
  box-shadow: var(--p-shadow-card);
}

.timeline-card header,
.timeline-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.timeline-card header > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-card header span,
.timeline-card footer {
  color: var(--p-text-subdued);
  font-size: 10px;
}

.timeline-card p {
  margin: 6px 0 9px;
  color: #505050;
}

.timeline-card footer {
  justify-content: flex-start;
  padding-top: 8px;
  border-top: 1px solid var(--p-border);
}

.timeline-card footer .button {
  margin-left: auto;
}

.settings-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 4px;
  background: #e5e5e5;
  border-radius: 10px;
}

.settings-tab {
  flex: 1 0 auto;
  min-height: 32px;
  padding: 5px 10px;
  color: var(--p-text-subdued);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 12px;
}

.settings-tab:hover,
.settings-tab.is-active {
  color: var(--p-text);
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

.settings-tab.is-active {
  font-weight: 600;
}

.settings-tab {
  font-weight: 600;
}

.domain-setup {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 15px;
  background: #f8f8f8;
  border: 1px solid var(--p-border);
  border-radius: 10px;
}

.setup-assist {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  padding: 11px;
  color: #194a78;
  background: #edf6ff;
  border: 1px solid #b8daf8;
  border-radius: 9px;
}

.setup-assist > span,
.setup-path-icon {
  display: grid;
  width: 30px;
  height: 30px;
  color: #005bd3;
  background: #dceeff;
  border-radius: 7px;
  place-items: center;
}

.setup-assist > div,
.setup-path header > div,
.domain-connected-status > span,
.payment-setup-head > div {
  display: grid;
  gap: 3px;
}

.setup-assist strong,
.setup-path strong,
.domain-connected-status strong {
  font-size: 12px;
}

.setup-assist small,
.setup-path small,
.domain-connected-status small,
.payment-setup-footnote,
.helper-copy {
  color: var(--p-text-subdued);
  font-size: 11px;
  line-height: 1.45;
}

.setup-assist code {
  padding: 1px 4px;
  color: #315a8a;
  background: #fff;
  border-radius: 4px;
  font-size: 10px;
}

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

.setup-path {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: 9px;
}

.setup-path-recommended {
  border-color: #75a9ee;
  box-shadow: 0 0 0 1px rgba(0, 91, 211, .06);
}

.setup-path header {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.setup-path header em {
  padding: 3px 6px;
  color: #005bd3;
  background: #e8f2ff;
  border-radius: 999px;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.setup-path p,
.payment-setup p,
.advanced-connection-note p {
  margin: 0;
  color: var(--p-text-subdued);
  font-size: 11px;
  line-height: 1.48;
}

.setup-path-meta {
  display: grid;
  gap: 5px;
  padding: 8px;
  color: #315a8a;
  background: #f4f9ff;
  border-radius: 6px;
  font-size: 10px;
}

.setup-path-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.setup-path .button {
  justify-self: start;
}

.manual-domain-details {
  display: grid;
  gap: 8px;
  padding: 11px;
  background: #fff;
  border: 1px dashed #9ca3af;
  border-radius: 8px;
}

.helper-copy { margin: 0; }

.domain-connected-status {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 10px;
  color: #17663f;
  background: #f2fbf6;
  border: 1px solid #aee0c4;
  border-radius: 8px;
}

.domain-connected-status > svg {
  margin-top: 2px;
}

.payment-setup .card-pad { display: grid; gap: 15px; }

.payment-setup-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.payment-setup-head h2 {
  margin: 2px 0 0;
  font-size: 18px;
}

.connection-flow,
.provider-connect-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
}

.connection-flow > div,
.provider-connect-flow > div {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 11px;
  background: #f6f6f7;
  border: 1px solid #e1e3e5;
  border-radius: 8px;
}

.connection-flow > div > span,
.provider-connect-flow > div > span {
  display: grid;
  width: 20px;
  height: 20px;
  color: #fff;
  background: #005bd3;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  place-items: center;
}

.connection-flow strong,
.provider-connect-flow strong { font-size: 11px; }

.connection-flow small,
.provider-connect-flow small {
  color: var(--p-text-subdued);
  font-size: 10px;
  line-height: 1.4;
}

.connection-flow > i {
  align-self: center;
  color: #8c9196;
}

.payment-setup-footnote {
  padding-top: 11px;
  border-top: 1px solid var(--p-border);
}

.secure-connect-summary {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 11px;
  color: #194a78;
  background: #edf6ff;
  border: 1px solid #b8daf8;
  border-radius: 8px;
}

.secure-connect-summary > span {
  display: grid;
  width: 34px;
  height: 34px;
  color: #005bd3;
  background: #dceeff;
  border-radius: 8px;
  place-items: center;
}

.secure-connect-summary > div { display: grid; gap: 3px; }
.secure-connect-summary strong { font-size: 12px; }
.secure-connect-summary small { color: #4a6178; font-size: 11px; line-height: 1.4; }

.provider-connect-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.advanced-connection-note {
  padding: 10px;
  background: #f6f6f7;
  border: 1px solid #e1e3e5;
  border-radius: 8px;
}

.advanced-connection-note summary {
  color: var(--p-text);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}

.advanced-connection-note p { margin-top: 8px; }

.provider-connect-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.provider-connect-stepper li {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  color: var(--p-text-subdued);
  font-size: 11px;
}

.provider-connect-stepper li > span {
  display: grid;
  width: 21px;
  height: 21px;
  color: #6d7175;
  background: #e4e5e7;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  place-items: center;
}

.provider-connect-stepper li.is-current,
.provider-connect-stepper li.is-complete { color: var(--p-text); }
.provider-connect-stepper li.is-current > span { color: #fff; background: #005bd3; }
.provider-connect-stepper li.is-complete > span { color: #fff; background: #008060; }

.provider-connect-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 2px 0;
}

.provider-connect-heading > div { display: grid; gap: 2px; }
.provider-connect-heading strong { font-size: 14px; }
.provider-connect-heading small { color: var(--p-text-subdued); font-size: 11px; }

.provider-oauth-card,
.provider-pending-card,
.provider-validation-list > li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 11px;
  background: #f6f6f7;
  border: 1px solid #e1e3e5;
  border-radius: 8px;
}

.provider-oauth-card > span,
.provider-pending-card > span,
.provider-validation-list > li > span {
  display: grid;
  width: 28px;
  height: 28px;
  color: #005bd3;
  background: #dceeff;
  border-radius: 7px;
  place-items: center;
}

.provider-oauth-card > div,
.provider-pending-card > div,
.provider-validation-list > li > div { display: grid; gap: 3px; }
.provider-oauth-card strong,
.provider-pending-card strong,
.provider-validation-list strong { font-size: 12px; }
.provider-oauth-card small,
.provider-pending-card small,
.provider-validation-list small { color: var(--p-text-subdued); font-size: 11px; line-height: 1.4; }

.provider-validation-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.provider-validation-list > li > span { color: #fff; background: #008060; font-size: 13px; font-weight: 700; }
.provider-validation-list > li.is-pending > span { color: #6d7175; background: #e4e5e7; }
.provider-pending-card > span { color: #8a5600; background: #fff1c7; }

@media (max-width: 540px) {
  .provider-connect-stepper { grid-template-columns: 1fr; }
}

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

.domain-setup-head > div {
  display: grid;
  gap: 3px;
}

.domain-setup-head small {
  color: var(--p-text-subdued);
}

.dns-record {
  display: grid;
  grid-template-columns: 110px minmax(100px, .7fr) minmax(190px, 1.4fr) 70px auto;
  gap: 1px;
  overflow: hidden;
  background: var(--p-border);
  border: 1px solid var(--p-border);
  border-radius: 8px;
}

.dns-record > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  background: #fff;
}

.dns-record small {
  color: var(--p-text-subdued);
  font-size: 10px;
}

.dns-record code,
.dns-record strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dns-record .button {
  align-self: stretch;
  border-radius: 0;
}

.domain-steps {
  margin: 0;
}

.editor-theme-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 9px;
  color: var(--p-text-subdued);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
}

.editor-theme-button:hover,
.editor-theme-button.is-active {
  color: var(--p-text);
  background: #fff;
  border-color: var(--p-border);
}

.embedded-app-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.detail-grid > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  background: #f7f7f7;
  border-radius: 8px;
}

.detail-grid dt {
  color: var(--p-text-subdued);
  font-size: 10px;
}

.detail-grid dd {
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
}

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

.sync-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 13px;
}

.sync-stat {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--p-border);
  border-radius: 9px;
}

.sync-stat > div {
  display: grid;
}

.sync-stat strong {
  font-size: 17px;
}

.merchant-connection-ready { display: flex; align-items: flex-start; gap: 10px; padding: 12px; margin: 14px 0; color: #126b43; background: #edf8f1; border: 1px solid #cdebd8; border-radius: 8px; }
.merchant-connection-ready > span { display: grid; width: 26px; height: 26px; flex: none; color: #fff; background: #18804d; border-radius: 50%; place-items: center; }.merchant-connection-ready > div { display: grid; gap: 2px; }.merchant-connection-ready strong { color: #135c3b; font-size: 13px; }.merchant-connection-ready small { color: #4f6d5d; font-size: 12px; line-height: 1.45; }
.merchant-connection-facts { margin-top: 14px; }.merchant-connection-help h2 { margin: 5px 0 7px; font-size: 16px; }.merchant-connection-help p { margin: 0 0 14px; color: var(--p-text-subdued); font-size: 12px; line-height: 1.5; }
.merchant-connection-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }.merchant-connection-steps > div { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 3px 9px; padding: 4px 0; }.merchant-connection-steps > div > span { display: grid; grid-row: 1 / span 2; width: 26px; height: 26px; color: #0c5fba; background: #e8f2ff; border-radius: 50%; font-size: 12px; font-weight: 700; place-items: center; }.merchant-connection-steps strong { font-size: 13px; }.merchant-connection-steps small { color: var(--p-text-subdued); font-size: 12px; line-height: 1.45; }
.product-choice-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -2px 0 2px; padding: 7px 0 9px; border-bottom: 1px solid var(--p-border); }.product-choice-toolbar small { color: var(--p-text-subdued); font-size: 11px; }.product-choice-toolbar .button { min-height: 28px; padding: 4px 7px; font-size: 11px; }

.settings-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 14px;
}

.setup-history,
.numbered-steps {
  display: grid;
  gap: 0;
  margin-top: 13px;
  padding: 0;
  list-style: none;
}

.setup-history li,
.numbered-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) auto;
  gap: 9px;
  padding: 8px 0;
}

.setup-history li > span,
.numbered-steps li > span {
  z-index: 1;
  display: grid;
  width: 24px;
  height: 24px;
  color: var(--p-success);
  background: var(--p-success-bg);
  border-radius: 50%;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}

.setup-history li:not(:last-child)::after,
.numbered-steps li:not(:last-child)::after {
  position: absolute;
  top: 32px;
  bottom: -5px;
  left: 11px;
  width: 1px;
  background: #d5d5d5;
  content: "";
}

.setup-history li > div,
.numbered-steps li > div {
  display: grid;
}

.setup-history time {
  color: var(--p-text-subdued);
  font-size: 10px;
}

.mapping-health {
  display: grid;
  gap: 7px;
  margin: 15px 0;
}

.mapping-health strong {
  font-size: 28px;
}

.mapping-health span {
  color: var(--p-text-subdued);
  font-size: 11px;
}

.installation-card .card-pad {
  display: grid;
  gap: 13px;
}

.installation-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.installation-card-head h2 {
  margin: 3px 0 4px;
  color: var(--p-text);
  font-size: 16px;
}

.installation-card-head p {
  max-width: 680px;
  margin: 0;
  color: var(--p-text-subdued);
  font-size: 12px;
  line-height: 1.45;
}

.installation-instance {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #f5f8ff;
  border: 1px solid #d6e2ff;
  border-radius: 8px;
}

.installation-instance > span {
  display: grid;
  width: 38px;
  height: 38px;
  color: #005bd3;
  background: #e4edff;
  border-radius: 8px;
  place-items: center;
}

.installation-instance > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.installation-instance small {
  color: #4972b8;
  font-size: 11px;
}

.installation-instance strong {
  overflow: hidden;
  color: var(--p-text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.installation-instance code {
  overflow: hidden;
  color: #5c5f62;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.installation-instance em {
  padding: 4px 7px;
  color: #005bd3;
  background: #fff;
  border: 1px solid #bad0ff;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}

.installation-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.installation-facts > div {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px 9px;
  background: #fafafa;
  border: 1px solid #e1e3e5;
  border-radius: 7px;
}

.installation-facts small {
  color: var(--p-text-subdued);
  font-size: 10px;
}

.installation-facts strong {
  overflow: hidden;
  color: var(--p-text);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.installation-modal {
  display: grid;
  gap: 16px;
}

.installation-modal-lead {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  background: #f1f6ff;
  border: 1px solid #c9d8fb;
  border-radius: 9px;
}

.installation-modal-lead > span {
  display: grid;
  width: 36px;
  height: 36px;
  color: #005bd3;
  background: #dfeaff;
  border-radius: 8px;
  place-items: center;
}

.installation-modal-lead > div {
  display: grid;
  gap: 3px;
}

.installation-modal-lead strong {
  color: #1f3b57;
  font-size: 13px;
  line-height: 1.4;
}

.installation-modal-lead p {
  margin: 0;
  color: #4a6178;
  font-size: 12px;
  line-height: 1.45;
}

.installation-start {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #d9e1e8;
  border-radius: 9px;
}

.installation-start > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
}

.installation-start > div > span {
  display: grid;
  width: 30px;
  height: 30px;
  color: #005bd3;
  background: #eaf3ff;
  border-radius: 7px;
  place-items: center;
}

.installation-start > div > div {
  display: grid;
  gap: 2px;
}

.installation-start strong {
  color: var(--p-text);
  font-size: 12px;
}

.installation-start p,
.installation-start > small {
  margin: 0;
  color: var(--p-text-subdued);
  font-size: 11px;
  line-height: 1.45;
}

.installation-start code {
  display: block;
  overflow: hidden;
  padding: 7px 8px;
  color: #303030;
  background: #fff;
  border: 1px solid #c9d8fb;
  border-radius: 6px;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.installation-section-head {
  display: grid;
  gap: 3px;
  margin-bottom: 8px;
}

.installation-section-head > span {
  color: var(--p-text);
  font-size: 12px;
  font-weight: 700;
}

.installation-section-head > small {
  color: var(--p-text-subdued);
  font-size: 11px;
  line-height: 1.4;
}

.installation-flow {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.installation-flow-step {
  display: grid;
  flex: 1;
  gap: 7px;
  min-width: 0;
  padding: 9px;
  background: #fafafa;
  border: 1px solid #e1e3e5;
  border-radius: 8px;
}

.installation-flow-step > span {
  display: grid;
  width: 28px;
  height: 28px;
  color: #005bd3;
  background: #eaf3ff;
  border-radius: 7px;
  place-items: center;
}

.installation-flow-step > div {
  display: grid;
  gap: 3px;
}

.installation-flow-step b {
  color: #6d7175;
  font-size: 10px;
}

.installation-flow-step strong {
  color: var(--p-text);
  font-size: 12px;
  line-height: 1.35;
}

.installation-flow-step small {
  color: var(--p-text-subdued);
  font-size: 10px;
  line-height: 1.4;
}

.installation-flow-arrow {
  display: grid;
  flex: 0 0 17px;
  color: #8c9196;
  place-items: center;
}

.installation-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.installation-scope-grid > article {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid #dfe1e3;
  border-radius: 8px;
}

.installation-scope-grid strong {
  color: var(--p-text);
  font-size: 12px;
  line-height: 1.35;
}

.installation-scope-grid small {
  color: var(--p-text-subdued);
  font-size: 11px;
  line-height: 1.45;
}

.domain-hero-top {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.domain-icon {
  display: grid;
  width: 46px;
  height: 46px;
  color: #315a8a;
  background: var(--p-info-bg);
  border-radius: 12px;
  place-items: center;
}

.domain-hero-top h2 {
  margin-top: 2px;
  font-size: 20px;
}

.domain-hero-top p {
  margin-top: 3px;
  color: var(--p-text-subdued);
}

.domain-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0 14px;
  padding: 13px;
  background: #f7f7f7;
  border-radius: 9px;
}

.domain-facts div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.domain-facts dt {
  color: var(--p-text-subdued);
  font-size: 10px;
}

.domain-facts dd {
  overflow: hidden;
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
}

.url-pattern {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px 14px;
  margin-top: 15px;
  padding: 14px;
  background: #202020;
  border-radius: 10px;
}

.url-pattern span,
.url-pattern code {
  grid-column: auto;
  color: #fff;
}

.url-pattern span {
  color: #aaa;
  font-size: 10px;
}

.url-pattern code {
  grid-row: 2;
  font-size: 11px;
}

.url-pattern i {
  grid-row: 1 / span 2;
  color: #888;
}

.url-guardrails,
.policy-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 13px;
}

.url-guardrails > div,
.policy-list > div {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  background: #f7f7f7;
  border-radius: 8px;
}

.url-guardrails span,
.policy-list span {
  display: grid;
}

.url-guardrails small,
.policy-list small {
  margin-top: 2px;
}

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

.provider-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-card);
}

.provider-card header {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}

.provider-card header > div {
  display: grid;
  min-width: 0;
}

.provider-card header small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-logo {
  display: grid;
  width: 36px;
  height: 36px;
  color: #fff;
  background: #333;
  border-radius: 9px;
  place-items: center;
  font-weight: 800;
}

.provider-stripe { background: #635bff; }
.provider-airwallex { background: #ff5a36; }
.provider-paypal { background: #0b5cab; }
.provider-klarna { color: #111; background: #ffb3c7; }
.provider-checkout-com { background: #111; }
.provider-braintree { background: #3d6fda; }

.provider-card dl {
  display: grid;
  gap: 7px;
}

.provider-card dl div {
  display: grid;
  grid-template-columns: 95px minmax(0, 1fr);
  gap: 7px;
}

.provider-card dt {
  color: var(--p-text-subdued);
  font-size: 10px;
}

.provider-card dd {
  font-size: 11px;
  font-weight: 600;
}

.provider-card p {
  color: var(--p-text-subdued);
  font-size: 11px;
}

.provider-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  color: var(--p-text-subdued);
  border-top: 1px solid var(--p-border);
  font-size: 10px;
}

.tracking-name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tracking-name > div {
  display: grid;
}

.attribution-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 16px;
  padding: 16px;
  overflow-x: auto;
  background: #f7f7f7;
  border-radius: 10px;
}

.attribution-flow > div {
  display: grid;
  min-width: 135px;
  gap: 2px;
  text-align: center;
}

.attribution-flow > div > span {
  display: grid;
  width: 36px;
  height: 36px;
  margin: 0 auto 4px;
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: 9px;
  place-items: center;
}

.attribution-flow > i {
  color: #999;
}

.contract-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.contract-list div {
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--p-border);
  border-radius: 8px;
}

.contract-list span {
  color: var(--p-text-subdued);
  font-size: 11px;
}

.theme-editor-preview {
  overflow: hidden;
  border: 1px solid var(--p-border-strong);
  border-radius: 10px;
}

.theme-editor-preview header {
  display: flex;
  justify-content: space-between;
  padding: 9px 11px;
  color: #ddd;
  background: #272727;
  font-size: 11px;
}

.theme-app-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 13px;
}

.theme-app-row > div {
  display: grid;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch span {
  position: relative;
  display: block;
  width: 38px;
  height: 22px;
  background: #aaa;
  border-radius: 999px;
}

.switch span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
  content: "";
  transition: transform .15s ease;
}

.switch input:checked + span {
  background: var(--p-success);
}

.switch input:checked + span::after {
  transform: translateX(16px);
}

.numbered-steps li > span {
  color: #555;
  background: #ededed;
}

.embed-boundaries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.embed-boundaries > div {
  padding: 13px;
  border: 1px solid;
  border-radius: 9px;
}

.boundary-do {
  color: #24523b;
  background: var(--p-success-bg);
  border-color: var(--p-success-border) !important;
}

.boundary-dont {
  color: #624000;
  background: var(--p-warning-bg);
  border-color: var(--p-warning-border) !important;
}

.embed-boundaries ul {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  padding-left: 18px;
}

.diagnostic-list {
  display: grid;
  margin-top: 14px;
  border: 1px solid var(--p-border);
  border-radius: 9px;
}

.diagnostic-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border-bottom: 1px solid var(--p-border);
}

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

.diagnostic-state {
  display: grid;
  width: 24px;
  height: 24px;
  color: var(--p-success);
  background: var(--p-success-bg);
  border-radius: 50%;
  place-items: center;
}

.diagnostic-row > div {
  display: grid;
}

.policy-list {
  grid-template-columns: 1fr;
}

.snapshot-code {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 10px;
  margin: 13px 0;
  padding: 12px;
  color: #ddd;
  background: #242424;
  border-radius: 9px;
  font-size: 11px;
}

.projection-code {
  display: grid;
  gap: 3px;
  margin: -4px 0 13px;
  padding: 10px;
  color: #315a8a;
  background: var(--p-info-bg);
  border: 1px solid var(--p-info-border);
  border-radius: 8px;
  font-size: 10px;
}

.projection-code strong {
  color: var(--p-success);
}

.snapshot-code span {
  color: #999;
}

.editor-page {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 108px);
  background: #e8e8e8;
}

.editor-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid var(--p-border);
}

.editor-toolbar-left,
.editor-toolbar-actions,
.editor-toolbar-center {
  display: flex;
  align-items: center;
  gap: 8px;
}

.editor-toolbar-actions {
  justify-content: flex-end;
}

.editor-breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-size: 11px;
}

.editor-breadcrumb span {
  color: var(--p-text-subdued);
}

.editor-breadcrumb strong {
  overflow: hidden;
  max-width: 180px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editor-breadcrumb i {
  color: #aaa;
  font-style: normal;
}

.editor-toolbar-center {
  gap: 2px;
  padding: 2px;
  background: #ededed;
  border-radius: 9px;
}

.device-button {
  width: 30px;
  height: 28px;
}

.device-button.is-active {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}

.save-state {
  color: var(--p-text-subdued);
  font-size: 10px;
}

.editor-workspace {
  display: grid;
  flex: 1;
  grid-template-columns: 250px minmax(440px, 1fr) 280px;
  min-height: 0;
}

.editor-shared-notice {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  color: #624000;
  background: var(--p-warning-bg);
  border-bottom: 1px solid var(--p-warning-border);
  font-size: 11px;
}

.editor-shared-notice > span {
  display: grid;
  width: 27px;
  height: 27px;
  background: rgba(255, 255, 255, .55);
  border-radius: 7px;
  place-items: center;
}

.editor-shared-notice > div {
  display: grid;
}

.editor-shared-notice small {
  color: inherit;
  opacity: .78;
}

.editor-deployment-notice {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr)) minmax(220px, auto);
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  background: var(--p-info-bg);
  border-bottom: 1px solid var(--p-info-border);
}

.editor-deployment-notice > span {
  display: grid;
  gap: 1px;
}

.editor-deployment-notice small,
.editor-deployment-notice em {
  color: var(--p-text-subdued);
  font-size: 10px;
  font-style: normal;
}

.editor-deployment-notice strong {
  font-size: 12px;
}

.editor-panel {
  min-width: 0;
  overflow-y: auto;
  background: #fff;
}

.editor-structure {
  border-right: 1px solid var(--p-border);
}

.editor-inspector {
  border-left: 1px solid var(--p-border);
}

.editor-panel-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid var(--p-border);
}

.editor-panel-head > span {
  display: grid;
}

.editor-panel-head small {
  font-size: 10px;
}

.structure-tree,
.editor-shared-settings {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.editor-shared-settings {
  border-top: 1px solid var(--p-border);
}

.structure-group-label {
  padding: 4px 5px;
}

.structure-item {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr) 15px;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 7px;
  color: #4b4b4b;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  text-align: left;
}

.structure-item:hover,
.structure-item.is-active {
  color: var(--p-text);
  background: #f1f1f1;
  border-color: #ddd;
}

.structure-item.is-active {
  box-shadow: inset 2px 0 var(--p-action);
  font-weight: 600;
}

.structure-item.is-locked {
  color: #777;
}

.drag-handle {
  color: #aaa;
  font-size: 9px;
  letter-spacing: -3px;
}

.structure-item.is-locked .drag-handle {
  visibility: hidden;
}

.add-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 33px;
  margin-top: 5px;
  color: var(--p-interactive);
  background: #fff;
  border: 1px dashed #a9bdd5;
  border-radius: 7px;
  font-size: 11px;
}

.editor-stage {
  min-width: 0;
  overflow: auto;
  padding: 14px 18px 28px;
  background: #dedede;
}

.editor-stage-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 980px;
  margin: 0 auto 8px;
  color: #666;
  font-size: 9px;
}

.preview-frame {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid #c9c9c9;
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  transition: max-width .2s ease;
}

.preview-mobile {
  max-width: 390px;
}

.preview-browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  background: #f0f0f0;
  border-bottom: 1px solid #ddd;
}

.preview-browser-bar > span {
  width: 7px;
  height: 7px;
  background: #bbb;
  border-radius: 50%;
}

.preview-browser-bar > div {
  flex: 1;
  max-width: 300px;
  margin: 0 auto;
  padding: 3px 8px;
  color: #777;
  background: #fff;
  border-radius: 5px;
  font-size: 8px;
  text-align: center;
}

.buyer-page {
  min-height: 650px;
  color: #242424;
  background: #fff;
  font-family: Arial, sans-serif;
}

.buyer-logo {
  padding: 17px 5%;
  border-bottom: 1px solid #e5e5e5;
  font: 700 13px/1.2 Georgia, serif;
  letter-spacing: .12em;
}

.buyer-checkout-grid,
.buyer-thankyou-grid {
  display: grid;
  grid-template-columns: 58% 42%;
}

.buyer-checkout-grid > main,
.buyer-thankyou-grid > main {
  padding: 28px 7% 40px 13%;
}

.buyer-checkout-grid > aside,
.buyer-thankyou-grid > aside {
  padding: 28px 11% 40px 8%;
  background: #f4f4f4;
  border-left: 1px solid #e3e3e3;
}

.express-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.express-buttons button {
  min-height: 30px;
  color: #fff;
  background: #5a31f4;
  border: 0;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
}

.express-buttons button:nth-child(2) { color: #123; background: #ffc439; }
.express-buttons button:nth-child(3) { background: #111; }

.or-line {
  position: relative;
  margin: 17px 0;
  border-top: 1px solid #ddd;
  text-align: center;
}

.or-line span {
  position: relative;
  top: -8px;
  padding: 0 8px;
  color: #777;
  background: #fff;
  font-size: 7px;
}

.buyer-checkout main section {
  display: grid;
  gap: 7px;
  margin-top: 17px;
}

.buyer-section-title {
  display: flex;
  justify-content: space-between;
}

.buyer-section-title a,
.buyer-checkout label,
.buyer-checkout small {
  color: #686868;
  font-size: 8px;
}

.fake-input {
  height: 28px;
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
}

.input-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shipping-option {
  display: flex;
  justify-content: space-between;
  padding: 9px;
  background: #eef5ff;
  border: 1px solid #7da9d8;
  border-radius: 5px;
  font-size: 9px;
}

.payment-box {
  overflow: hidden;
  border: 1px solid #777;
  border-radius: 5px;
}

.payment-box > div:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px;
  background: #f7f7f7;
  font-size: 9px;
}

.radio-on {
  width: 9px;
  height: 9px;
  border: 3px solid #303030;
  border-radius: 50%;
}

.card-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 9px;
}

.card-inputs i {
  height: 22px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.card-inputs i:first-child {
  grid-column: 1 / -1;
}

.trust-strip {
  margin: 14px 0 8px;
  color: #56705f;
  font-size: 8px;
  text-align: center;
}

.pay-button,
.offer-accept {
  width: 100%;
  min-height: 36px;
  color: #fff;
  background: #303030;
  border: 0;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
}

.buyer-product {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  font-size: 8px;
}

.buyer-product > span {
  display: grid;
}

.product-art {
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, #d7cbc0, #8e7462);
  border: 1px solid #d0d0d0;
  border-radius: 6px;
}

.product-art-small {
  background: linear-gradient(145deg, #d8c5e2, #7b5b8a);
}

.discount-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px;
  margin: 16px 0;
}

.discount-row div,
.discount-row button {
  min-height: 27px;
  padding: 7px;
  color: #777;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 8px;
}

.discount-row button {
  color: #333;
  font-weight: 700;
}

.buyer-totals {
  display: grid;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid #ddd;
  font-size: 8px;
}

.buyer-totals div {
  display: flex;
  justify-content: space-between;
}

.buyer-totals .total {
  margin-top: 4px;
  font-size: 12px;
}

.buyer-totals small {
  font-size: 7px;
  font-weight: 400;
}

.buyer-offer {
  text-align: center;
}

.secure-message {
  padding: 7px;
  color: #355c46;
  background: #ecf6f0;
  font-size: 8px;
}

.buyer-offer main {
  max-width: 410px;
  margin: 0 auto;
  padding: 26px 24px 45px;
}

.offer-kicker {
  color: #6d5dfc;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.offer-product-art {
  width: 150px;
  height: 150px;
  margin: 13px auto;
  background: radial-gradient(circle at 35% 30%, #e9ded4, #a18572 60%, #6e5544);
  border-radius: 14px;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .35), 0 8px 20px rgba(79, 58, 44, .18);
}

.buyer-offer h1,
.buyer-thankyou h1 {
  font: 700 23px/1.15 Georgia, serif;
}

.buyer-offer p {
  max-width: 330px;
  margin: 8px auto;
  color: #666;
  font-size: 10px;
}

.offer-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
}

.offer-price s {
  color: #888;
}

.offer-price strong {
  font-size: 19px;
}

.offer-price span {
  padding: 2px 5px;
  color: #8a5300;
  background: #fff0c7;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
}

.buyer-offer ul {
  display: inline-grid;
  gap: 4px;
  margin: 0 auto 13px;
  padding-left: 16px;
  color: #555;
  font-size: 9px;
  text-align: left;
}

.offer-accept {
  min-height: 39px;
  background: #6d5dfc;
}

.offer-decline {
  margin: 9px 0;
  color: #777;
  background: transparent;
  border: 0;
  font-size: 9px;
  text-decoration: underline;
}

.offer-trust {
  display: block;
  color: #777;
  font-size: 7px;
}

.confirmation-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 9px;
  color: #fff;
  background: #29845a;
  border-radius: 50%;
  place-items: center;
  font-size: 19px;
}

.buyer-thankyou main > span,
.buyer-thankyou main > p {
  color: #666;
  font-size: 9px;
}

.thankyou-map,
.thankyou-details,
.referral-card {
  margin-top: 17px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 7px;
}

.thankyou-map {
  display: grid;
  gap: 2px;
}

.thankyou-map span,
.thankyou-details span {
  color: #777;
  font-size: 8px;
}

.map-lines {
  height: 65px;
  margin-top: 8px;
  background: linear-gradient(30deg, transparent 0 40%, #c3d8cc 40% 43%, transparent 43% 60%, #d9d9d9 60% 64%, transparent 64%), #f1f1ed;
  border-radius: 5px;
}

.thankyou-details {
  display: grid;
  gap: 9px;
}

.thankyou-details > div {
  display: grid;
  gap: 2px;
}

.thankyou-details b {
  font-size: 8px;
}

.referral-card {
  display: grid;
  gap: 4px;
  color: #fff;
  background: #6d5dfc;
  border: 0;
}

.referral-card span {
  color: #ddd8ff !important;
}

.referral-card button {
  width: fit-content;
  margin-top: 4px;
  padding: 5px 8px;
  color: #4437b1;
  background: #fff;
  border: 0;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
}

.preview-mobile .buyer-checkout-grid,
.preview-mobile .buyer-thankyou-grid {
  grid-template-columns: 1fr;
}

.preview-mobile .buyer-checkout-grid > main,
.preview-mobile .buyer-thankyou-grid > main,
.preview-mobile .buyer-checkout-grid > aside,
.preview-mobile .buyer-thankyou-grid > aside {
  padding: 22px 20px;
}

.preview-mobile .buyer-checkout-grid > aside,
.preview-mobile .buyer-thankyou-grid > aside {
  order: -1;
  border: 0;
  border-bottom: 1px solid #ddd;
}

.editor-inspector-empty {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 50px 20px;
  color: var(--p-text-subdued);
  text-align: center;
}

.editor-inspector-empty span {
  display: grid;
  width: 46px;
  height: 46px;
  background: #f0f0f0;
  border-radius: 12px;
  place-items: center;
}

.editor-inspector-empty p {
  font-size: 11px;
}

.inspector-form {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.inspector-form > label {
  display: grid;
  gap: 5px;
  color: #555;
  font-size: 11px;
  font-weight: 600;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 2px;
  background: #ededed;
  border-radius: 8px;
}

.segmented button {
  min-height: 28px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 10px;
}

.segmented button.is-active {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}

.color-control {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 7px;
}

.color-control span {
  border: 1px solid #c7c7c7;
  border-radius: 7px;
}

.toggle-field {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkbox-row {
  display: grid !important;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  justify-content: initial;
  width: 100%;
  gap: 10px;
  padding: 2px 0;
}

.toggle-field > span,
.checkbox-row > span {
  display: grid;
  gap: 2px;
}

.toggle-field input,
.checkbox-row input {
  flex: 0 0 auto;
  min-height: auto;
  accent-color: var(--p-action);
}

.checkbox-row input {
  width: 14px;
  height: 14px;
  margin: 3px 0 0;
}

.checkbox-row small {
  color: var(--p-text-subdued);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.editor-runtime-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 12px;
  color: #355c46;
  background: var(--p-success-bg);
  border-top: 1px solid var(--p-success-border);
  font-size: 10px;
}

.editor-runtime-note span:last-child {
  color: #5b7464;
}

.not-found {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 100px 20px;
}

.modal-backdrop {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  overflow-y: auto;
  padding: 30px 16px;
  background: rgba(0, 0, 0, .42);
  place-items: center;
}

.modal {
  width: min(500px, 100%);
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--p-shadow-popover);
}

.modal-wide {
  width: min(680px, 100%);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px 13px;
  border-bottom: 1px solid var(--p-border);
}

.modal-header h2 {
  font-size: 18px;
}

.modal-header p {
  margin-top: 3px;
  color: var(--p-text-subdued);
  font-size: 12px;
}

.modal-header .icon-button {
  font-size: 22px;
}

.modal-body {
  max-height: min(70vh, 680px);
  overflow-y: auto;
  padding: 16px 18px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 18px;
  background: #fafafa;
  border-top: 1px solid var(--p-border);
}

.modal:has(.audience-product-control.is-open) { overflow: visible; }
.modal-body:has(.audience-product-control.is-open) { position: relative; z-index: 2; overflow: visible; }

.form-stack {
  display: grid;
  gap: 14px;
}

.form-stack > label,
.form-stack fieldset {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 12px;
  font-weight: 600;
}

.form-stack legend {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
}

.radio-card,
.tracking-review-row {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px !important;
  padding: 9px 10px;
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: 8px;
  font-weight: 400 !important;
}

.radio-card:has(input:checked) {
  background: #f1f1f1;
  border-color: #777;
}

.radio-card > span,
.tracking-review-row > span:not(.tracking-review-icon) {
  display: grid;
}

.wizard-progress {
  display: grid;
  grid-template-columns: 1fr 36px 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.wizard-progress > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--p-text-subdued);
  font-size: 11px;
  font-weight: 600;
}

.wizard-progress > span:last-child {
  justify-content: flex-end;
}

.wizard-progress b {
  display: grid;
  width: 23px;
  height: 23px;
  background: #e5e5e5;
  border-radius: 50%;
  place-items: center;
  font-size: 10px;
}

.wizard-progress .is-current,
.wizard-progress .is-complete {
  color: var(--p-text);
}

.wizard-progress .is-current b,
.wizard-progress .is-complete b {
  color: #fff;
  background: var(--p-action);
}

.wizard-progress > i {
  height: 1px;
  background: #d7d7d7;
}

.goal-grid,
.product-choice-list {
  display: grid;
  gap: 9px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.goal-grid legend,
.product-choice-list legend {
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
}

.offer-product-current {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 11px;
  background: #f6f8fb;
  border: 1px solid #c9d8fb;
  border-radius: 9px;
}

.offer-product-current > div { display: grid; gap: 2px; min-width: 0; }
.offer-product-current small { color: #6d7175; font-size: 10px; }
.offer-product-current strong { overflow: hidden; color: #202223; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.offer-product-current [data-offer-selected-meta] { color: #6d7175; font-size: 10px; }
.offer-product-current .button { min-height: 30px; white-space: nowrap; }
.offer-product-options { display: none; }

.offer-product-picker-modal .modal-body { display: grid; gap: 10px; }
.offer-product-picker-search { position: sticky; top: 0; z-index: 1; box-sizing: border-box; width: 100%; min-height: 36px; padding: 8px 10px; background: #fff; border: 1px solid #8eb8ea; border-radius: 8px; font: inherit; font-size: 12px; }
.offer-product-picker-list { display: grid; gap: 8px; }
.offer-product-picker-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 11px; color: #202223; background: #fff; border: 1px solid #dfe3e8; border-radius: 9px; cursor: pointer; font: inherit; text-align: left; }
.offer-product-picker-option:hover { background: #f7f9fc; border-color: #aeb8c5; }
.offer-product-picker-option.is-selected { background: #edf6ff; border-color: #2c6ecb; box-shadow: inset 0 0 0 1px #2c6ecb; }
.offer-product-picker-option > span { display: grid; gap: 2px; min-width: 0; }
.offer-product-picker-option strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.offer-product-picker-option small { color: #6d7175; font-size: 11px; }
.offer-product-picker-status { display: inline-flex; flex: none; align-items: center; gap: 3px; min-height: 26px; padding: 0 9px; color: #303030; background: #fff; border: 1px solid #b8c2cc; border-radius: 6px; font-size: 11px; font-style: normal; font-weight: 700; line-height: 1; }
.offer-product-picker-status.is-selected { color: #fff; background: #2c6ecb; border-color: #2c6ecb; box-shadow: 0 1px 2px rgba(24, 73, 140, .22); }
.offer-product-picker-status .icon { width: 12px; height: 12px; }

@media (max-width: 640px) {
  .offer-product-current { grid-template-columns: minmax(0, 1fr); }
  .offer-product-current .button { justify-self: start; }
}

.goal-card {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: 10px;
  cursor: pointer;
}

.goal-card:has(input:checked) {
  background: #f6f8fb;
  border-color: #557da9;
  box-shadow: 0 0 0 1px rgba(85, 125, 169, .14);
}

.goal-card-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.goal-card-copy > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.goal-card-copy em {
  padding: 2px 6px;
  color: #235f43;
  background: var(--p-success-bg);
  border-radius: 999px;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.goal-card-copy small {
  font-size: 11px;
}

.goal-card-copy code {
  color: #454545;
  font-size: 10px;
}

.audience-starter-fieldset {
  padding: 0;
  border: 0;
}

.audience-starter-fieldset > p {
  margin: -1px 0 9px;
  color: var(--p-text-subdued);
  font-size: 12px;
  line-height: 1.45;
}

.audience-starter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.audience-starter-card {
  position: relative;
  display: grid;
  grid-template-columns: 16px 31px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  min-height: 123px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: 10px;
  cursor: pointer;
}

.audience-starter-card:has(input:checked) {
  border-color: #557da9;
  background: #f6f8fb;
  box-shadow: 0 0 0 1px rgba(85, 125, 169, .14);
}

.audience-starter-card > input {
  margin-top: 5px;
}

.audience-starter-icon {
  display: grid;
  width: 30px;
  height: 30px;
  color: #315f8e;
  background: #edf4ff;
  border-radius: 8px;
  place-items: center;
}

.audience-starter-copy {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
}

.audience-starter-copy > span {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
}

.audience-starter-copy strong {
  font-size: 12px;
  line-height: 1.25;
}

.audience-starter-copy em,
.audience-starter-availability {
  width: max-content;
  max-width: 100%;
  color: #315f8e;
  background: #edf4ff;
  border-radius: 999px;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
  padding: 2px 6px;
}

.audience-starter-copy em {
  color: #235f43;
  background: var(--p-success-bg);
}

.audience-starter-availability.is-restricted {
  color: #7a4c09;
  background: #fff4d8;
}

.audience-starter-copy small {
  color: var(--p-text-subdued);
  font-size: 10px;
  line-height: 1.35;
}

.audience-starter-copy code {
  overflow: hidden;
  color: #454545;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audience-capability-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  padding: 10px;
  color: #4e6780;
  background: var(--p-info-bg);
  border: 1px solid var(--p-info-border);
  border-radius: 9px;
}

.audience-capability-note > span {
  display: grid;
  width: 27px;
  height: 27px;
  color: #315f8e;
  background: #fff;
  border-radius: 7px;
  place-items: center;
}

.audience-capability-note > div {
  display: grid;
  gap: 2px;
}

.audience-capability-note strong {
  color: var(--p-text);
  font-size: 11px;
}

.audience-capability-note p,
.audience-capability-note small {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
}

.audience-capability-note small {
  color: #715420;
}

.journey-summary,
.offer-placement {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 11px;
  background: var(--p-info-bg);
  border: 1px solid var(--p-info-border);
  border-radius: 10px;
}

.journey-summary-icon,
.offer-placement > span {
  display: grid;
  width: 36px;
  height: 36px;
  color: #315f8e;
  background: #fff;
  border-radius: 9px;
  place-items: center;
}

.journey-summary > div,
.offer-placement > div {
  display: grid;
  gap: 2px;
}

.journey-summary code {
  margin-top: 3px;
  color: #315f8e;
  font-size: 10px;
}

.offer-placement p {
  color: #4e6780;
  font-size: 11px;
}

.offer-display-summary {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 11px;
  background: #f6f8fb;
  border: 1px solid #dfe3e8;
  border-radius: 9px;
}

.offer-display-summary-head { display: grid; gap: 2px; }
.offer-display-summary-head strong { color: #202223; font-size: 13px; }
.offer-display-summary-head small,
.offer-display-summary p { margin: 0; color: #6d7175; font-size: 11px; line-height: 1.45; }
.offer-display-summary-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.offer-display-summary-chips span { padding: 3px 7px; color: #315f8e; background: #eef5ff; border-radius: 999px; font-size: 10px; font-weight: 650; line-height: 1.3; }

.auto-setup-list {
  display: grid;
  gap: 7px;
  padding: 10px;
  background: var(--p-bg-subdued);
  border-radius: 9px;
}

.auto-setup-list span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #3f5f4e;
  font-size: 11px;
}

.product-choice {
  display: grid;
  grid-template-columns: 18px 36px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: 9px;
  cursor: pointer;
}

.product-choice:has(input:checked) {
  background: #f6f8fb;
  border-color: #557da9;
}

.product-choice-art {
  display: grid;
  width: 34px;
  height: 34px;
  color: #6e4c12;
  background: var(--p-warning-bg);
  border-radius: 8px;
  place-items: center;
}

.product-choice > span:last-child {
  display: grid;
}

.offer-outcome-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.offer-outcome-preview span {
  display: grid;
  gap: 2px;
  padding: 9px;
  background: var(--p-bg-subdued);
  border-radius: 8px;
  font-size: 10px;
}

.advanced-disclosure {
  border-top: 1px solid var(--p-border);
}

.advanced-disclosure > summary {
  padding: 10px 0 0;
  color: var(--p-interactive);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}

.advanced-disclosure > .form-stack {
  margin-top: 12px;
  padding: 12px;
  background: var(--p-bg-subdued);
  border-radius: 9px;
}

.modal-callout {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px;
  color: #355c46;
  background: var(--p-success-bg);
  border-radius: 8px;
}

.modal-callout-warning {
  color: #624000;
  background: var(--p-warning-bg);
}

.modal-callout > span {
  display: grid;
}

.modal-callout small {
  color: inherit;
  opacity: .8;
}

.traffic-modal-value {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.traffic-modal-value strong {
  font-size: 26px;
}

.range-input {
  width: 100%;
  accent-color: var(--p-success);
}

.traffic-allocation-preview {
  display: flex;
  justify-content: space-between;
  color: var(--p-text-subdued);
  font-size: 11px;
}

.modal-intro,
.activity-detail-copy {
  margin-bottom: 13px;
  color: var(--p-text-subdued);
}

.tracking-review-list,
.publish-checks {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
}

.tracking-review-icon {
  display: grid;
  width: 28px;
  height: 28px;
  background: #eee;
  border-radius: 7px;
  place-items: center;
}

.publish-check {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 1px solid var(--p-border);
  border-radius: 8px;
}

.activity-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.info-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.info-modal-grid > div {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: #f7f7f7;
  border-radius: 9px;
}

.info-modal-grid > div > span {
  display: grid;
  width: 34px;
  height: 34px;
  background: #fff;
  border: 1px solid var(--p-border);
  border-radius: 8px;
  place-items: center;
}

.info-modal-grid p {
  color: var(--p-text-subdued);
  font-size: 11px;
}

.architecture-diagram {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 15px;
  background: #f7f7f7;
  border-radius: 10px;
}

.architecture-diagram > div:first-child,
.architecture-hosts > div {
  display: grid;
  min-width: 230px;
  padding: 11px;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  text-align: center;
}

.architecture-split {
  width: 1px;
  height: 20px;
  background: #aaa;
}

.architecture-hosts {
  display: flex;
  gap: 12px;
}

.modal-bullets {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  padding-left: 20px;
  color: #4f4f4f;
}

.capability-formula {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 16px;
  overflow-x: auto;
  background: #232323;
  border-radius: 9px;
}

.capability-formula span {
  padding: 6px 8px;
  color: #fff;
  background: #414141;
  border-radius: 6px;
  white-space: nowrap;
}

.capability-formula b {
  color: #999;
}

.toast-root {
  position: fixed;
  z-index: 300;
  right: 18px;
  bottom: 18px;
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  width: min(420px, calc(100vw - 32px));
  padding: 11px 12px;
  color: #fff;
  background: #272727;
  border-radius: 10px;
  box-shadow: var(--p-shadow-popover);
  pointer-events: auto;
  animation: toast-in .18s ease-out;
}

.toast-info { background: #294d73; }
.toast-critical { background: #7d2417; }

.toast button {
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 18px;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Funnel canvas: a merchant-facing journey map, using Shopify's neutral card and status language. */
.funnel-library-panel { overflow: hidden; }

.funnel-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.funnel-library-head > div { display: grid; gap: 2px; }
.funnel-library-head strong { font-size: 14px; }
.funnel-library-head span { color: var(--p-text-subdued); font-size: 12px; }

.funnel-library-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  border-top: 1px solid var(--p-border);
}

.funnel-library-list .funnel-list-item { min-width: 0; border-right: 1px solid var(--p-border); }
.funnel-library-list .funnel-list-item:last-child { border-right: 0; }
.funnel-library-list .funnel-list-item.is-active { background: #f6f6f7; box-shadow: inset 3px 0 #303030; }

.funnel-canvas-shell { border-top: 1px solid var(--p-border); }

.funnel-canvas-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid var(--p-border);
}

.funnel-canvas-toolbar > div:first-child { display: grid; gap: 3px; }
.funnel-canvas-toolbar p { color: var(--p-text-subdued); font-size: 12px; }

.funnel-canvas-toolbar-compact { padding-block: 11px; }
.funnel-canvas-toolbar-compact > div:first-child { display: flex; align-items: center; gap: 9px; }
.funnel-canvas-toolbar-compact strong { color: #202223; font-size: 13px; }
.funnel-canvas-toolbar-compact small { color: var(--p-text-subdued); font-size: 11px; }

.funnel-canvas-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--p-text-subdued);
  font-size: 11px;
  white-space: nowrap;
}

.funnel-canvas-toolbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.canvas-zoom-controls { display: inline-flex; align-items: center; min-height: 32px; overflow: hidden; background: #f6f6f7; border: 1px solid var(--p-border); border-radius: 7px; }
.canvas-zoom-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 30px; min-height: 30px; padding: 4px 7px; color: #303030; background: transparent; border: 0; border-right: 1px solid var(--p-border); font-size: 12px; font-weight: 650; }
.canvas-zoom-controls button:hover { background: #fff; }
.canvas-zoom-controls button:focus-visible { position: relative; outline: 2px solid #005bd3; outline-offset: -2px; }
.canvas-zoom-controls button:first-child { padding-inline: 8px; }
.canvas-zoom-controls button:last-child { border-right: 0; font-size: 17px; line-height: 1; }
.canvas-zoom-controls output { min-width: 43px; color: #5c5f62; font-size: 11px; font-variant-numeric: tabular-nums; text-align: center; }
.canvas-fullscreen-launch { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 6px 9px; color: #303030; background: #fff; border: 1px solid var(--p-border); border-radius: 7px; font-size: 12px; font-weight: 650; }
.canvas-fullscreen-launch:hover { background: #f6f6f7; }
.canvas-fullscreen-launch:focus-visible { outline: 2px solid #005bd3; outline-offset: 2px; }

.funnel-canvas-legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-dot-bestcheckout { background: #303030; }
.legend-dot-shopify { background: #8c9196; }

.focus-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 9px;
  color: var(--p-text);
  background: var(--p-bg-surface-secondary);
  border: 1px solid var(--p-border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 650;
}

.focus-mode-toggle:hover { background: var(--p-bg-surface-hover); }
.focus-mode-toggle:focus-visible { outline: 2px solid #005bd3; outline-offset: 3px; }
.app-window-hostbar {
  position: fixed;
  z-index: 70;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 16px;
  color: #202223;
  background: #fff;
  border-bottom: 1px solid var(--p-border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
.app-window-hostbrand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.app-window-hostbrand .shopify-glyph { width: 24px; height: 24px; font-size: 15px; }
.app-window-hostdivider { width: 1px; height: 18px; background: var(--p-border); }
.app-window-hosttitle { color: var(--p-text-subdued); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-window-exit { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 6px 10px; color: var(--p-text); background: var(--p-bg-surface-secondary); border: 1px solid var(--p-border); border-radius: 6px; font-size: 12px; font-weight: 650; }
.app-window-exit:hover { background: var(--p-bg-surface-hover); }
.app-window-exit:focus-visible { outline: 2px solid #005bd3; outline-offset: 3px; }

/* Shopify App Window prototype: the host owns this exit bar and the app fills the Admin workspace below. */
.shopify-admin.is-focus-mode { min-height: 100vh; }
.shopify-admin.is-focus-mode .shopify-topbar,
.shopify-admin.is-focus-mode .shopify-sidebar,
.shopify-admin.is-focus-mode .embedded-titlebar,
.shopify-admin.is-focus-mode .mobile-app-nav { display: none; }
.shopify-admin.is-focus-mode .shopify-body { display: block; min-height: 100vh; }
.shopify-admin.is-focus-mode .embedded-app { min-height: 100vh; }
.shopify-admin.is-focus-mode .page-root { min-height: 100vh; padding: 52px 0 0; }

.is-focus-canvas .funnel-detail-page { display: block; height: calc(100vh - 52px); min-height: calc(100vh - 52px); padding: 0; overflow: hidden; }
.is-focus-canvas .funnel-detail-page > :not(.card) { display: none; }
.is-focus-canvas .funnel-detail-page > .card { display: flex; height: 100%; min-height: 0; border: 0; border-radius: 0; box-shadow: none; }
.is-focus-canvas .funnel-detail-intro,
.is-focus-canvas .node-inspector { display: none; }
.is-focus-canvas .funnel-canvas-shell { display: flex; flex: 1; flex-direction: column; min-height: 0; width: 100%; border-top: 0; }
.is-focus-canvas .funnel-canvas-toolbar { flex: 0 0 auto; padding: 14px 22px; }
.is-focus-canvas .funnel-canvas-shell .canvas-wrap { flex: 1; min-height: 0; padding: 18px 22px 30px; overflow: auto; border: 0; border-radius: 0; }
.is-focus-canvas .funnel-journey-board { margin: 0 auto; }

.is-focus-editor .editor-page { min-height: calc(100vh - 52px); }
.is-focus-editor .editor-toolbar { position: sticky; z-index: 10; top: 52px; }
.is-focus-editor .editor-shared-notice,
.is-focus-editor .editor-deployment-notice,
.is-focus-editor .editor-runtime-note { display: none; }
.is-focus-editor .editor-workspace { min-height: calc(100vh - 106px); height: calc(100vh - 106px); grid-template-columns: 230px minmax(520px, 1fr) 280px; }
.is-focus-editor .editor-panel,
.is-focus-editor .editor-stage { max-height: calc(100vh - 106px); }

/* Original BestShopio page designer. The App Window supplies the host bar; this
   surface intentionally keeps the original tree / preview / settings language. */
.bcx-editor-shell { height: calc(100vh - 52px); min-height: 620px; background: #fff; }
.bcx-editor { --bcx-ink: #1a2233; --bcx-muted: #697386; --bcx-line: #e1e6ec; --bcx-panel: #f5f7fa; --bcx-brand: #3b6fd4; display: flex; flex-direction: column; height: 100%; min-height: 0; color: var(--bcx-ink); background: #fff; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.bcx-toolbar { display: flex; align-items: center; min-height: 53px; gap: 9px; padding: 8px 14px; background: #fff; border-bottom: 1px solid var(--bcx-line); }
.bcx-back, .bcx-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; padding: 6px 10px; color: #354052; background: #fff; border: 1px solid #d8dee7; border-radius: 7px; font-size: 12px; font-weight: 650; }
.bcx-back:hover, .bcx-button:hover { background: #f5f7fa; border-color: #bfc9d7; }
.bcx-button-primary { color: #fff; background: #2b62d6; border-color: #2b62d6; }
.bcx-button-primary:hover { color: #fff; background: #1f52bd; border-color: #1f52bd; }
.bcx-theme-trigger.is-active { color: #2354ba; background: #edf3ff; border-color: #8faedf; }
.bcx-title { display: grid; gap: 1px; min-width: 0; }
.bcx-title strong { max-width: 300px; overflow: hidden; font-size: 13.5px; text-overflow: ellipsis; white-space: nowrap; }
.bcx-title small { color: var(--bcx-muted); font-size: 10.5px; }
.bcx-toolbar-gap { flex: 1; }
.bcx-device { display: inline-flex; overflow: hidden; border: 1px solid #d8dee7; border-radius: 8px; }
.bcx-device button { display: inline-grid; width: 33px; height: 30px; color: var(--bcx-muted); background: #fff; border: 0; place-items: center; }
.bcx-device button.is-active { color: #fff; background: #2b62d6; }
.bcx-save-state { color: var(--bcx-muted); font-size: 10.5px; white-space: nowrap; }
.bcx-layout { display: grid; flex: 1; grid-template-columns: 238px minmax(460px, 1fr) 292px; min-height: 0; }
.bcx-tree, .bcx-settings { display: flex; flex-direction: column; min-width: 0; background: #fff; }
.bcx-tree { border-right: 1px solid var(--bcx-line); }
.bcx-settings { overflow: auto; border-left: 1px solid var(--bcx-line); }
.bcx-tree > header { display: grid; gap: 2px; padding: 14px 14px 11px; border-bottom: 1px solid var(--bcx-line); }
.bcx-tree > header strong { font-size: 13px; }.bcx-tree > header small { color: var(--bcx-muted); font-size: 11px; }
.bcx-tree-scroll { flex: 1; overflow: auto; padding: 8px 10px 15px; }.bcx-tree footer { padding: 10px; border-top: 1px solid var(--bcx-line); }
.bcx-tree-group { margin: 0 0 12px; }.bcx-tree-group h3 { margin: 0 7px 5px; color: #7a8492; font-size: 10.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.bcx-tree-item { display: grid; grid-template-columns: 12px minmax(0, 1fr) 14px; align-items: center; width: 100%; min-height: 34px; gap: 7px; padding: 6px 8px; color: #445064; background: transparent; border: 0; border-radius: 7px; font-size: 12.5px; text-align: left; }
.bcx-tree-item > i { display: inline-block; width: 6px; height: 6px; color: #b2bac5; background: #c7cfda; border-radius: 50%; }.bcx-tree-item > i .icon { display: block; width: 14px; height: 14px; color: #778294; background: transparent; }.bcx-tree-item > em { display: inline-flex; color: #929bab; font-style: normal; }.bcx-tree-item:hover { background: #f4f6f9; }.bcx-tree-item.is-selected { color: #2354ba; background: #edf3ff; font-weight: 700; }.bcx-tree-item.is-selected > i { background: #2b62d6; }.bcx-tree-item.is-selected > i .icon { color: #2b62d6; }
.bcx-canvas { display: flex; flex-direction: column; min-width: 0; background: #eef1f5; }.bcx-canvas-meta { display: flex; justify-content: space-between; padding: 8px 13px; color: #6c7684; background: #fff; border-bottom: 1px solid var(--bcx-line); font-size: 11px; }.bcx-canvas-scroll { display: flex; flex: 1; justify-content: center; overflow: auto; padding: 20px; }
.bcx-frame { width: min(940px, 100%); min-width: 640px; align-self: flex-start; overflow: hidden; background: var(--bcx-page); border: 1px solid #d7dee8; border-radius: 11px; box-shadow: 0 8px 30px rgba(20, 30, 50, .13); }.bcx-frame.is-mobile { width: 390px; min-width: 330px; }.bcx-browser { display: flex; align-items: center; gap: 5px; height: 29px; padding: 0 10px; background: #f5f6f7; border-bottom: 1px solid #e1e5e9; }.bcx-browser i { width: 7px; height: 7px; background: #c0c6ce; border-radius: 50%; }.bcx-browser span { width: min(260px, 50%); margin: 0 auto; padding: 3px 8px; color: #8b94a0; background: #fff; border-radius: 5px; font-size: 8px; text-align: center; }
.bcx-storefront { color: #1a2233; background: var(--bcx-page); font-family: Inter, system-ui, sans-serif; }.bcx-store-brand { padding: 16px 22px; color: #1a2233; background: #fff; border-bottom: 1px solid #edf0f3; font-family: Georgia, serif; font-size: 14px; font-weight: 800; letter-spacing: .13em; }.bcx-preview-block { position: relative; border: 2px solid transparent; cursor: pointer; }.bcx-preview-block:hover { border-color: rgba(43, 98, 214, .3); }.bcx-preview-block.is-selected { border-color: #2b62d6; }
.bcx-announcement { display: grid; padding: 7px 14px; font-size: 12.5px; font-weight: 650; place-items: center; text-align: center; }.bcx-banner { display: grid; height: 148px; color: #917d59; background: linear-gradient(120deg, #e7d6b8, #f2e6cf); place-items: center; font-size: 12px; }.bcx-checkout-columns { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 22px; padding: 21px; }.bcx-checkout-columns main, .bcx-checkout-columns aside { min-width: 0; }.bcx-bundle h3, .bcx-addon h3, .bcx-summary h3, .bcx-tracking h3, .bcx-benefits h3 { margin: 0 0 11px; font-size: 14px; }.bcx-tier { position: relative; display: grid; grid-template-columns: 17px minmax(0, 1fr) auto auto; align-items: start; gap: 8px; margin: 0 0 10px; padding: 13px; border: 1.5px solid #e0e6ee; border-radius: var(--bcx-radius); }.bcx-tier.is-default { border-color: #1a2233; }.bcx-radio { width: 14px; height: 14px; margin-top: 2px; border: 2px solid #c4ccd6; border-radius: 50%; }.bcx-tier.is-default .bcx-radio { border-color: #1a2233; background: radial-gradient(#1a2233 40%, #fff 45%); }.bcx-tier-copy { display: grid; gap: 3px; }.bcx-tier-copy strong { font-size: 13px; }.bcx-tier-copy small, .bcx-tier-copy span { color: #697386; font-size: 11px; }.bcx-tier > b { font-size: 14px; white-space: nowrap; }.bcx-tier > s { color: #98a2b1; font-size: 11px; }.bcx-tier > em { position: absolute; top: -9px; right: 8px; padding: 2px 7px; color: #fff; background: #1a2233; border-radius: 4px; font-size: 9px; font-style: normal; font-weight: 750; }.bcx-tier > i { position: absolute; right: 9px; bottom: 7px; color: #1f8052; font-size: 8.5px; font-style: normal; font-weight: 750; }
.bcx-addon { margin-top: 14px; padding: 13px; border: 1px solid #e0e6ee; border-radius: var(--bcx-radius); }.bcx-addon > div { display: grid; grid-template-columns: 16px 33px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid #f0f2f5; font-size: 12px; }.bcx-addon > div:first-of-type { border-top: 0; }.bcx-check { width: 13px; height: 13px; border: 2px solid #c5ced9; border-radius: 4px; }.bcx-product-image { width: 31px; height: 31px; background: linear-gradient(145deg, #d7cbc0, #8d7462); border-radius: 6px; }.bcx-addon b { font-size: 12px; }.bcx-addon b s { margin-left: 4px; color: #9ba3ae; font-size: 10px; font-weight: 400; }.bcx-express { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }.bcx-express span { display: grid; height: 36px; color: #fff; background: #ffc439; border-radius: 8px; place-items: center; font-size: 11px; font-weight: 800; }.bcx-express span:nth-child(2) { background: #1f6fd2; }.bcx-express span:nth-child(3) { color: #111; background: #ffd814; }.bcx-or { display: flex; align-items: center; gap: 8px; margin: 12px 0; color: #9ca5b0; font-size: 10px; }.bcx-or::before, .bcx-or::after { flex: 1; height: 1px; background: #e0e5eb; content: ''; }.bcx-payment label { display: block; margin: 10px 0 5px; font-size: 11px; font-weight: 700; }.bcx-input { height: 36px; padding: 0 11px; color: #9aa4af; border: 1px solid #e0e6ee; border-radius: 8px; font-size: 11px; line-height: 36px; }.bcx-card { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 10px; border: 1px solid #e0e6ee; border-radius: 8px; }.bcx-card strong { grid-column: 1 / -1; font-size: 11px; }.bcx-card span { height: 29px; border: 1px solid #e0e6ee; border-radius: 5px; }.bcx-payment button, .bcx-accept { width: 100%; height: 42px; margin-top: 12px; color: #fff; border: 0; border-radius: var(--bcx-radius); font-size: 12px; font-weight: 750; }.bcx-trust { display: grid; gap: 7px; margin-top: 13px; }.bcx-trust div { display: flex; align-items: center; gap: 7px; color: #5b6573; border: 1px solid #e0e6ee; border-radius: 8px; padding: 8px; font-size: 9.5px; font-weight: 700; }.bcx-trust i { color: #16834e; font-style: normal; }.bcx-reviews { padding: 18px 21px; border-top: 1px solid #edf0f3; text-align: center; }.bcx-reviews > strong { display: block; font-size: 20px; }.bcx-reviews > strong i { color: #efad00; font-size: 14px; font-style: normal; letter-spacing: 1px; }.bcx-reviews > small { display: block; margin-bottom: 10px; color: #748091; font-size: 11px; }.bcx-reviews article { padding: 10px 0; border-top: 1px solid #eef0f3; text-align: left; }.bcx-reviews article b { font-size: 11px; }.bcx-reviews article p { margin: 3px 0 0; color: #667181; font-size: 11px; line-height: 1.5; }.bcx-footer { padding: 18px 20px; background: #f7f8fa; text-align: center; }.bcx-footer strong { font-family: Georgia, serif; font-size: 13px; letter-spacing: .1em; }.bcx-footer div { display: flex; justify-content: center; gap: 12px; margin: 9px 0; color: #657080; font-size: 10px; }.bcx-footer small { color: #8a94a1; font-size: 9.5px; }
.bcx-thankyou-main { max-width: 650px; margin: 0 auto; padding: 20px; }.bcx-confirm { padding: 24px 18px; text-align: center; }.bcx-confirm > div { display: grid; width: 50px; height: 50px; margin: 0 auto 12px; color: #1f8052; background: #e7f7ee; border-radius: 50%; place-items: center; font-size: 25px; }.bcx-confirm h1 { margin: 0; font-size: 21px; }.bcx-confirm p { margin: 6px 0 0; color: #697386; font-size: 12px; }.bcx-summary, .bcx-tracking { margin: 14px 0; padding: 14px; border: 1px solid #e0e6ee; border-radius: var(--bcx-radius); }.bcx-summary > div { display: flex; justify-content: space-between; padding: 4px 0; color: #627081; font-size: 12px; }.bcx-summary .is-total { margin-top: 5px; padding-top: 9px; color: #1a2233; border-top: 1px solid #e0e6ee; }.bcx-tracking > div { height: 6px; overflow: hidden; background: #e0e6ee; border-radius: 99px; }.bcx-tracking > div i { display: block; width: 58%; height: 100%; background: #1f8052; }.bcx-tracking > span { display: inline-block; width: 33%; margin-top: 8px; color: #697386; font-size: 9px; }.bcx-offer-main { max-width: 520px; margin: 0 auto; padding: 26px 21px 42px; text-align: center; }.bcx-offer-head small { color: #2b62d6; font-size: 10px; font-weight: 800; letter-spacing: .12em; }.bcx-offer-head h1 { margin: 8px 0; font-family: Georgia, serif; font-size: 27px; }.bcx-offer-head p { margin: 0; color: #697386; font-size: 13px; line-height: 1.55; }.bcx-offer-product > div { width: 152px; height: 152px; margin: 18px auto 11px; background: radial-gradient(circle at 35% 30%, #e9ded4, #a18572 60%, #6e5544); border-radius: 16px; box-shadow: inset 0 0 0 8px rgba(255,255,255,.35); }.bcx-offer-product h2 { margin: 0; font-size: 18px; }.bcx-offer-product p { margin: 7px 0; }.bcx-offer-product s { color: #9da6b1; }.bcx-offer-product strong { margin: 0 4px; font-size: 19px; }.bcx-offer-product em { padding: 3px 6px; color: #8a5300; background: #fff0c7; border-radius: 4px; font-size: 9px; font-style: normal; font-weight: 800; }.bcx-benefits { display: inline-grid; gap: 6px; margin: 11px auto 2px; text-align: left; }.bcx-benefits h3 { text-align: center; }.bcx-benefits div { color: #5a6574; font-size: 12px; }.bcx-decline { margin-top: 9px; color: #6b7581; background: none; border: 0; font-size: 11px; text-decoration: underline; }
.bcx-settings-head { display: flex; align-items: center; gap: 9px; padding: 14px; border-bottom: 1px solid var(--bcx-line); }.bcx-settings-head > span { display: inline-grid; width: 27px; height: 27px; color: #2b62d6; background: #edf3ff; border-radius: 7px; place-items: center; }.bcx-settings-head div { display: grid; gap: 1px; }.bcx-settings-head strong { font-size: 13px; }.bcx-settings-head small { color: #778293; font-size: 10.5px; }.bcx-settings-form { padding: 14px; }.bcx-field { display: grid; gap: 5px; margin-bottom: 12px; color: #667181; font-size: 11px; font-weight: 650; }.bcx-field input, .bcx-field textarea { box-sizing: border-box; width: 100%; color: #283445; background: #fff; border: 1px solid #d7dee8; border-radius: 7px; font-size: 12.5px; font-weight: 400; }.bcx-field input { height: 34px; padding: 0 10px; }.bcx-field textarea { min-height: 66px; padding: 8px 10px; resize: vertical; }.bcx-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.bcx-help { margin: 0 0 10px; color: #778293; font-size: 11.5px; line-height: 1.5; }.bcx-section-label { margin: 16px 0 7px; color: #657080; font-size: 11px; font-weight: 750; }.bcx-repeat { padding: 9px; margin: 0 0 8px; border: 1px solid #e0e6ee; border-radius: 9px; }.bcx-repeat header { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }.bcx-repeat header strong { flex: 1; overflow: hidden; font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }.bcx-repeat header button { display: inline-grid; width: 23px; height: 23px; color: #8993a0; background: transparent; border: 0; border-radius: 5px; place-items: center; }.bcx-repeat header button:hover { color: #c53f36; background: #fdefed; }.bcx-repeat .bcx-field:last-child { margin-bottom: 0; }.bcx-add { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 33px; gap: 5px; color: #2b62d6; background: #fff; border: 1px dashed #8faedf; border-radius: 7px; font-size: 11.5px; font-weight: 700; }.bcx-add:hover { background: #edf3ff; }.bcx-toggle { display: flex; align-items: center; gap: 8px; min-height: 29px; margin: 0 0 8px; padding: 0; color: #394658; background: transparent; border: 0; font-size: 11.5px; text-align: left; }.bcx-toggle i { position: relative; width: 32px; height: 18px; background: #c9d1db; border-radius: 99px; }.bcx-toggle i::after { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; background: #fff; border-radius: 50%; content: ''; transition: left .15s; }.bcx-toggle.is-on i { background: #2b62d6; }.bcx-toggle.is-on i::after { left: 16px; }.bcx-empty { display: grid; justify-items: center; gap: 9px; padding: 48px 20px; color: #7a8492; text-align: center; }.bcx-empty > span { display: grid; width: 42px; height: 42px; background: #f1f3f6; border-radius: 11px; place-items: center; }.bcx-empty p { margin: 0; font-size: 11.5px; line-height: 1.5; }
@media (max-width: 1000px) { .bcx-layout { grid-template-columns: 210px minmax(380px, 1fr) 252px; }.bcx-save-state { display: none; }.bcx-toolbar .bcx-button:not(.bcx-button-primary) { display: none; }.bcx-checkout-columns { grid-template-columns: 1fr 310px; } }
@media (max-width: 760px) { .bcx-editor-shell { min-height: 0; height: auto; }.bcx-toolbar { flex-wrap: wrap; }.bcx-layout { grid-template-columns: 1fr; }.bcx-tree, .bcx-settings { max-height: none; border: 0; border-bottom: 1px solid var(--bcx-line); }.bcx-tree-scroll { max-height: 300px; }.bcx-canvas { min-height: 620px; }.bcx-frame { min-width: 600px; }.bcx-tree footer { display: none; } }

/* --------------------------------------------------------------------------
   BestShopio source-aligned Checkout editor
   Ported from the real Online Store checkout builder structure.  The Custom
   App only hosts it through App Window; these styles deliberately avoid the
   normal admin-page card layout.  Admin-facing labels stay at 12px or above.
   -------------------------------------------------------------------------- */
.source-editor-shell { height: calc(100vh - 52px); min-height: 640px; background: #fff; }
.source-checkout-editor { --sce-ink:#202223; --sce-body:#4a4a4a; --sce-muted:#6d7175; --sce-line:#e1e3e5; --sce-panel:#f6f6f7; --sce-brand:#005bd3; display:flex; flex-direction:column; height:100%; min-height:0; color:var(--sce-ink); background:#fff; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; }
.sce-topbar { display:grid; grid-template-columns:minmax(280px,1fr) auto minmax(280px,1fr); align-items:center; gap:12px; min-height:56px; padding:9px 14px; background:#fff; border-bottom:1px solid var(--sce-line); }
.sce-top-left,.sce-top-center,.sce-top-right { display:flex; align-items:center; gap:8px; min-width:0; }
.sce-top-center { justify-content:center; }.sce-top-right { justify-content:flex-end; }
.sce-icon-button { display:grid; width:32px; height:30px; padding:0; color:var(--sce-muted); background:transparent; border:0; border-radius:6px; place-items:center; }
.sce-icon-button:hover { color:var(--sce-ink); background:var(--sce-panel); }.sce-icon-button.is-active { color:var(--sce-brand); background:#e8f0fe; }
.sce-rail,.sce-device { display:inline-flex; gap:2px; padding:3px; background:var(--sce-panel); border-radius:8px; }
.sce-device button { display:grid; width:30px; height:26px; padding:0; color:var(--sce-muted); background:transparent; border:0; border-radius:6px; place-items:center; }
.sce-device button.is-active { color:var(--sce-ink); background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.12); }
.sce-title { display:grid; min-width:0; gap:1px; }.sce-title strong { overflow:hidden; font-size:13px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; }.sce-title span { display:inline-flex; align-items:center; gap:4px; color:var(--sce-muted); font-size:12px; }
.sce-page-picker { display:flex; align-items:center; gap:7px; min-width:170px; height:32px; padding:0 10px; color:var(--sce-ink); background:#fff; border:1px solid #c9cccf; border-radius:7px; font-size:12px; font-weight:600; }.sce-page-picker:hover { border-color:#616161; }.sce-page-picker span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sce-button { min-height:32px; padding:6px 10px; color:#303030; background:#fff; border:1px solid #c9cccf; border-radius:7px; font-size:12px; font-weight:650; }.sce-button:hover { background:#f6f6f7; border-color:#8c9196; }.sce-button.primary { color:#fff; background:#005bd3; border-color:#005bd3; }.sce-button.primary:hover { color:#fff; background:#003d99; border-color:#003d99; }
.sce-workspace { display:grid; flex:1; min-height:0; grid-template-columns:260px minmax(420px,1fr) 312px; overflow:hidden; }
.sce-tree,.sce-inspector { display:flex; flex-direction:column; min-width:0; background:#fff; }.sce-tree { border-right:1px solid var(--sce-line); }.sce-inspector { border-left:1px solid var(--sce-line); }
.sce-tree>header { display:grid; gap:2px; padding:12px 14px; border-bottom:1px solid var(--sce-line); }.sce-tree>header strong { font-size:13px; }.sce-tree>header small { color:var(--sce-muted); font-size:12px; line-height:1.35; }
.sce-tree-scroll { position:relative; flex:1; overflow:auto; padding:9px; }
.sce-template-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:3px 8px; padding:10px; margin:1px 0 12px; background:#f7f9ff; border:1px solid #c9d8fb; border-radius:8px; }.sce-template-card>b { overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }.sce-template-card small { overflow:hidden; color:#5c5f62; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }.sce-template-card button { grid-row:1 / 3; grid-column:2; display:inline-flex; align-items:center; gap:4px; height:28px; padding:0 7px; color:#005bd3; background:#fff; border:1px solid #c9d8fb; border-radius:6px; font-size:12px; font-weight:650; }
.sce-tree-group { margin:0 0 14px; }.sce-tree-group h3 { margin:0 6px 5px; color:#6d7175; font-size:12px; font-weight:700; letter-spacing:.035em; text-transform:uppercase; }
.sce-tree-row { display:grid; grid-template-columns:18px minmax(0,1fr) 18px; align-items:center; width:100%; min-height:34px; gap:8px; padding:6px 8px; color:#4a4a4a; background:transparent; border:0; border-radius:6px; font-size:12px; text-align:left; }.sce-tree-row:hover { color:#303030; background:#f6f6f7; }.sce-tree-row.is-selected { color:#005bd3; background:#e8f0fe; }.sce-tree-row b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.sce-tree-row>span,.sce-tree-row em,.sce-tree-row i { display:inline-grid; color:#6d7175; font-style:normal; place-items:center; }.sce-tree-row.is-selected>span { color:#005bd3; }.sce-tree-row em { color:#8c9196; }
.sce-add-section { display:flex; align-items:center; justify-content:center; width:100%; min-height:34px; gap:6px; color:#005bd3; background:#fff; border:1px dashed #8c9196; border-radius:7px; font-size:12px; font-weight:650; }.sce-add-section:hover { background:#f7f9ff; border-color:#005bd3; }
.sce-add-menu { position:absolute; z-index:12; right:9px; bottom:9px; left:9px; max-height:420px; overflow:auto; background:#fff; border:1px solid #c9cccf; border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,.16); }.sce-add-menu header { display:flex; align-items:center; justify-content:space-between; padding:10px 11px; border-bottom:1px solid var(--sce-line); }.sce-add-menu header b { font-size:13px; }.sce-add-menu header button { display:grid; width:26px; height:26px; padding:0; color:#5c5f62; background:transparent; border:0; border-radius:5px; place-items:center; }.sce-add-menu header button:hover { background:#f1f1f1; }.sce-add-menu>button { display:grid; width:100%; grid-template-columns:25px minmax(0,1fr); gap:0 7px; padding:9px 11px; color:#303030; text-align:left; background:#fff; border:0; border-bottom:1px solid #f0f0f0; }.sce-add-menu>button:hover { background:#f6f6f7; }.sce-add-menu>button>span { display:grid; grid-row:1 / 3; width:25px; height:25px; color:#005bd3; background:#e8f0fe; border-radius:6px; place-items:center; }.sce-add-menu>button b { overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }.sce-add-menu>button small { color:#6d7175; font-size:12px; }
.sce-settings-nav button { display:flex; align-items:center; width:100%; gap:8px; min-height:34px; padding:6px 8px; color:#4a4a4a; text-align:left; background:transparent; border:0; border-radius:6px; font-size:12px; font-weight:600; }.sce-settings-nav button:hover { color:#005bd3; background:#e8f0fe; }.sce-nav-note { margin:2px 2px 12px; padding:9px; color:#5c5f62; background:#f6f6f7; border-radius:7px; font-size:12px; line-height:1.45; }
.sce-canvas { display:flex; flex-direction:column; min-width:0; background:#eef0f3; }.sce-canvas>header { min-height:34px; padding:8px 14px; color:#6d7175; background:#f7f8fa; border-bottom:1px solid var(--sce-line); font-size:12px; }.sce-canvas-notice { display:flex; align-items:flex-start; gap:6px; padding:7px 13px; color:#4a6178; background:#edf6ff; border-bottom:1px solid #c8e3fa; font-size:12px; line-height:1.4; }.sce-canvas-notice .icon { flex:none; margin-top:1px; }.sce-canvas-scroll { display:flex; flex:1; justify-content:center; overflow:auto; padding:20px; }
.sce-preview-frame { width:1000px; min-width:670px; align-self:flex-start; overflow:hidden; color:#202223; background:var(--sce-form); border:1px solid #d6d6d6; border-radius:4px; box-shadow:0 2px 8px rgba(0,0,0,.10); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; }.sce-preview-frame.is-mobile { width:390px; min-width:390px; }.sce-preview-frame * { box-sizing:border-box; }.sce-brandbar { display:flex; flex-direction:column; gap:7px; padding:20px var(--sce-pad); background:#fff; border-bottom:1px solid #e1e3e5; }.sce-brandbar.left { align-items:flex-start; }.sce-brandbar.center { align-items:center; }.sce-brandbar.right { align-items:flex-end; }.sce-brandbar>b { letter-spacing:.055em; line-height:1; }.sce-brandbar span { display:flex; align-items:center; gap:4px; color:#6d7175; font-size:12px; }
.sce-checkout-columns { display:grid; grid-template-columns:minmax(0,1fr) 42%; min-height:600px; }.sce-checkout-columns.is-left { grid-template-columns:42% minmax(0,1fr); }.sce-checkout-columns main { display:flex; flex-direction:column; gap:var(--sce-gap); padding:var(--sce-pad); background:var(--sce-form); }.sce-checkout-columns aside { display:flex; flex-direction:column; gap:var(--sce-gap); padding:var(--sce-pad); background:var(--sce-summary); }.sce-checkout-columns.is-left aside { order:-1; }.sce-single-page { display:flex; flex-direction:column; gap:var(--sce-gap); width:min(680px,100%); padding:var(--sce-pad); margin:0 auto; }.sce-offer-page { width:min(640px,100%); padding:var(--sce-pad); margin:0 auto; }.sce-preview-footer { padding:20px var(--sce-pad) 26px; color:#6d7175; background:#fff; border-top:1px solid #e1e3e5; font-size:12px; text-align:center; }
.sce-preview-frame.is-mobile .sce-checkout-columns,.sce-preview-frame.is-mobile .sce-checkout-columns.is-left { grid-template-columns:1fr; min-height:0; }.sce-preview-frame.is-mobile .sce-checkout-columns aside,.sce-preview-frame.is-mobile .sce-checkout-columns.is-left aside { order:initial; }.sce-preview-frame.is-mobile .sce-checkout-columns main,.sce-preview-frame.is-mobile .sce-checkout-columns aside { padding:20px; }
.sce-preview-section { position:relative; border:2px solid transparent; border-radius:6px; cursor:pointer; }.sce-preview-section:hover { border-color:#b9d2ff; }.sce-preview-section.is-selected { border-color:var(--sce-brand); }.sce-preview-tag { position:absolute; z-index:3; top:-2px; left:-2px; display:none; padding:2px 6px; color:#fff; background:var(--sce-brand); border-bottom-right-radius:5px; font-size:12px; font-weight:650; }.sce-preview-section:hover .sce-preview-tag,.sce-preview-section.is-selected .sce-preview-tag { display:block; }
.sce-urgency { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; color:#7a5600; background:#fff7df; border:1px solid #eed59b; border-radius:7px; font-size:12px; }.sce-urgency b { font-variant-numeric:tabular-nums; }
.sce-payment { padding:2px; }.sce-payment h3,.sce-summary h3,.sce-addon h3,.sce-bundle h3,.sce-details h3,.sce-tracking h3 { margin:19px 0 9px; color:#202223; font-size:17px; line-height:1.25; }.sce-payment h3:first-of-type { margin-top:0; }.sce-express { display:flex; gap:8px; }.sce-express b { display:grid; flex:1; height:45px; border-radius:6px; place-items:center; font-size:13px; }.sce-express .paypal { color:#003087; background:#ffc439; }.sce-express .apple,.sce-express .gpay { color:#fff; background:#000; }.sce-or { display:flex; align-items:center; gap:10px; margin:16px 0; color:#6d7175; font-size:12px; letter-spacing:.06em; }.sce-or::before,.sce-or::after { flex:1; height:1px; background:#d6d6d6; content:""; }.sce-payment-rating { margin:0 0 17px; color:#5c5f62; font-size:12px; font-weight:650; letter-spacing:.025em; text-align:center; }.sce-checkout-heading { display:flex; align-items:baseline; justify-content:space-between; gap:10px; }.sce-checkout-heading h3 { margin-bottom:9px; }.sce-checkout-heading a { color:var(--sce-accent); font-size:12px; font-weight:650; }.sce-input,.sce-input-pair>div { min-height:42px; padding:12px; color:#8c9196; background:#fff; border:1px solid #c9cccf; border-radius:6px; font-size:12px; }.sce-input { margin-bottom:8px; }.sce-input-pair { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:8px; }.sce-checkline { display:flex; gap:7px; margin:1px 0 15px; color:#4a4a4a; font-size:12px; }.sce-ship { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:12px; color:#303030; background:#fff; border:1px solid #d6d6d6; font-size:12px; }.sce-ship:first-of-type { border-radius:6px 6px 0 0; }.sce-ship + .sce-ship { margin-top:-1px; border-radius:0 0 6px 6px; }.sce-insurance { display:grid; grid-template-columns:22px minmax(0,1fr) auto; align-items:center; gap:8px; padding:10px; margin-top:9px; background:#f7fbf9; border:1px dashed #8ebca7; border-radius:7px; }.sce-insurance>i { display:grid; width:20px; height:20px; color:#fff; background:var(--sce-accent); border-radius:4px; font-size:12px; font-style:normal; place-items:center; }.sce-insurance span { display:grid; gap:2px; }.sce-insurance b { font-size:12px; }.sce-insurance small { color:#6d7175; font-size:12px; }.sce-insurance strong { color:var(--sce-accent); font-size:12px; }.sce-cardbox { display:grid; gap:8px; padding:12px; background:#fff; border:1px solid #c9cccf; border-radius:7px; font-size:12px; }.sce-cardbox>div { min-height:40px; padding:11px; color:#8c9196; background:#f8f8f8; border:1px solid #e1e3e5; border-radius:5px; }.sce-cardbox>div>span { float:right; color:#5c5f62; font-size:12px; }.sce-payment>button,.sce-offer>button { width:100%; min-height:44px; margin-top:16px; color:#fff; border:0; border-radius:6px; font-size:13px; font-weight:750; }.sce-secure { margin:10px 0 0; color:#6d7175; font-size:12px; text-align:center; }
.sce-addon,.sce-bundle,.sce-summary,.sce-details,.sce-tracking { padding:14px; background:#fff; border:1px solid #d6d6d6; border-radius:8px; }.sce-addon h3,.sce-bundle h3,.sce-summary h3,.sce-details h3,.sce-tracking h3 { margin:0 0 12px; font-size:15px; }.sce-addon article,.sce-summary article,.sce-offer article { display:grid; grid-template-columns:18px 42px minmax(0,1fr) auto; align-items:center; gap:8px; }.sce-addon article>i { display:grid; width:17px; height:17px; color:#fff; background:var(--sce-accent); border-radius:4px; font-size:11px; font-style:normal; place-items:center; }.sce-addon article>span:nth-child(3),.sce-summary article>span:nth-child(2) { display:grid; gap:2px; }.sce-addon article b,.sce-summary article b { overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }.sce-addon article small,.sce-summary article small { color:#6d7175; font-size:12px; }.sce-addon article strong { display:grid; gap:2px; color:#303030; font-size:12px; text-align:right; }.sce-addon article s { color:#8c9196; font-size:12px; font-weight:400; }.sce-product-shot { display:inline-block; width:40px; height:40px; background:linear-gradient(135deg,#eddfd0,#a88167); border:1px solid #dfd2c8; border-radius:6px; }.sce-product-shot.second { background:linear-gradient(135deg,#d9e8e0,#7e9f92); }.sce-product-shot.large { width:72px; height:72px; border-radius:8px; }
.sce-bundle article { display:grid; grid-template-columns:20px minmax(0,1fr) auto; align-items:center; gap:8px; padding:10px; margin-top:7px; border:1px solid #d6d6d6; border-radius:7px; color:#5c5f62; font-size:12px; }.sce-bundle article:first-of-type { color:var(--sce-accent); border-color:var(--sce-accent); }.sce-bundle article span { display:grid; gap:2px; color:#303030; }.sce-bundle article b { font-size:12px; }.sce-bundle article small { color:#6d7175; font-size:12px; }.sce-bundle article strong { color:#303030; font-size:12px; }
.sce-summary article { grid-template-columns:42px minmax(0,1fr) auto; padding:8px 0; border-bottom:1px solid #ececec; }.sce-summary article strong { font-size:12px; }.sce-coupon { display:flex; align-items:center; justify-content:space-between; min-height:36px; padding:9px; margin:12px 0; color:#8c9196; border:1px solid #c9cccf; border-radius:6px; font-size:12px; }.sce-coupon button { min-height:24px; padding:2px 7px; color:#fff; background:var(--sce-accent); border:0; border-radius:4px; font-size:12px; }.sce-summary dl { margin:0; }.sce-summary dl>div { display:flex; justify-content:space-between; gap:8px; padding:5px 0; color:#4a4a4a; font-size:12px; }.sce-summary dl .total { padding-top:11px; margin-top:6px; color:#202223; border-top:1px solid #d6d6d6; font-size:14px; font-weight:750; }
.sce-rating { display:flex; flex-direction:column; align-items:center; gap:5px; padding:14px; background:#fff; border:1px solid #d6d6d6; border-radius:8px; text-align:center; }.sce-rating>b { color:#00b67a; font-size:15px; letter-spacing:1px; }.sce-rating strong { font-size:14px; }.sce-rating span { color:#6d7175; font-size:12px; }.sce-trust,.sce-guarantee,.sce-endorsement { display:flex; align-items:center; gap:9px; padding:12px; background:#fff; border:1px solid #d6d6d6; border-radius:8px; }.sce-trust { flex-direction:column; align-items:flex-start; }.sce-trust b,.sce-guarantee strong,.sce-endorsement b { font-size:12px; }.sce-trust span,.sce-guarantee small,.sce-endorsement p { color:#6d7175; font-size:12px; line-height:1.4; }.sce-guarantee>b { display:grid; width:30px; height:30px; flex:none; color:#fff; background:var(--sce-accent); border-radius:50%; place-items:center; }.sce-guarantee span,.sce-endorsement div { display:grid; gap:2px; }.sce-endorsement>span { display:grid; width:34px; height:34px; flex:none; color:#fff; background:#8c6c59; border-radius:50%; font-size:12px; font-weight:700; place-items:center; }.sce-endorsement p { margin:0; }
.sce-confirm { display:flex; flex-direction:column; align-items:center; gap:7px; padding:30px 16px; background:#fff; border:1px solid #d6d6d6; border-radius:9px; text-align:center; }.sce-confirm>i { display:grid; width:50px; height:50px; background:#e3f1df; border-radius:50%; font-size:26px; font-style:normal; place-items:center; }.sce-confirm h1 { margin:4px 0 0; font-size:23px; letter-spacing:-.02em; }.sce-confirm p { margin:0; color:#6d7175; font-size:13px; }.sce-confirm>b { font-size:13px; }.sce-confirm small { color:#6d7175; font-size:12px; }
.sce-details>div { display:grid; grid-template-columns:120px minmax(0,1fr); gap:12px; padding:9px 0; border-top:1px solid #ececec; font-size:12px; }.sce-details>div span { color:#6d7175; }.sce-details>div b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.sce-tracking>div { height:7px; overflow:hidden; background:#e4e5e7; border-radius:99px; }.sce-tracking>div i { display:block; height:100%; border-radius:99px; }.sce-tracking>span { display:inline-block; width:33%; margin-top:9px; color:#6d7175; font-size:12px; }.sce-tracking>span:last-child { text-align:right; }
.sce-offer { padding:22px; background:#fff; border:2px solid color-mix(in srgb,var(--sce-accent) 35%,white); border-radius:12px; text-align:center; }.sce-offer>em { display:inline-block; padding:3px 8px; color:#fff; background:#bd5b38; border-radius:5px; font-size:12px; font-style:normal; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }.sce-offer h1 { margin:12px 0 6px; font-size:24px; letter-spacing:-.02em; }.sce-offer>p { margin:0 auto 12px; color:#6d7175; font-size:13px; line-height:1.45; }.sce-timer { display:inline-flex; padding:6px 8px; margin-bottom:13px; color:#b42318; background:#fff0ef; border-radius:5px; font-size:12px; }.sce-offer-runtime { display:grid; grid-template-columns:1fr 1fr; gap:7px; margin:0 0 14px; text-align:left; }.sce-offer-runtime span { display:grid; gap:3px; min-height:52px; padding:8px; color:#4a4a4a; border:1px solid #e1e3e5; border-radius:7px; font-size:12px; }.sce-offer-runtime b { color:#8c9196; font-size:12px; letter-spacing:.03em; text-transform:uppercase; }.sce-offer article { grid-template-columns:72px minmax(0,1fr); padding:11px; margin-bottom:12px; text-align:left; border:1px solid #d6d6d6; border-radius:8px; }.sce-offer article>span:nth-child(2) { display:grid; gap:3px; }.sce-offer article b { font-size:13px; }.sce-offer article small { color:#6d7175; font-size:12px; }.sce-offer article strong { color:#b42318; font-size:16px; }.sce-offer article s { color:#8c9196; font-size:12px; font-weight:400; }.sce-offer article em { padding:2px 5px; color:#8a5300; background:#fff0c7; border-radius:4px; font-size:11px; font-style:normal; }.sce-offer>a { display:inline-block; margin-top:11px; color:#6d7175; font-size:12px; text-decoration:underline; }
.sce-inspector-head { display:flex; align-items:center; gap:9px; padding:12px 13px; border-bottom:1px solid var(--sce-line); }.sce-inspector-head>span { display:grid; width:31px; height:31px; flex:none; color:#005bd3; background:#e8f0fe; border-radius:7px; place-items:center; }.sce-inspector-head div { display:grid; min-width:0; gap:2px; }.sce-inspector-head strong { overflow:hidden; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }.sce-inspector-head small { color:#6d7175; font-size:12px; }.sce-inspector-scroll { flex:1; overflow:auto; padding:13px; }
.sce-info { margin:0 0 13px; padding:9px; color:#5c5f62; background:#f6f6f7; border-radius:7px; font-size:12px; line-height:1.45; }.sce-setting-subhead { padding-top:13px; margin:16px 0 9px; color:#6d7175; border-top:1px solid #ececec; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }.sce-setting-subhead:first-of-type { padding-top:0; margin-top:0; border-top:0; }.sce-field { display:grid; gap:5px; margin-bottom:12px; color:#4a4a4a; font-size:12px; font-weight:650; }.sce-field input,.sce-field select { width:100%; height:34px; padding:0 9px; color:#202223; background:#fff; border:1px solid #c9cccf; border-radius:6px; font-family:inherit; font-size:12px; font-weight:400; }.sce-field input:focus,.sce-field select:focus { outline:2px solid #005bd3; outline-offset:1px; }.sce-field small { color:#6d7175; font-size:12px; font-weight:400; line-height:1.35; }.sce-field input[type="range"] { padding:0; accent-color:#005bd3; }.sce-field input[type="color"] { padding:2px; cursor:pointer; }.sce-image-picker { display:grid; width:100%; grid-template-columns:25px minmax(0,1fr); gap:1px 8px; padding:10px; margin:0 0 12px; color:#4a4a4a; text-align:left; background:#fff; border:1px dashed #8c9196; border-radius:7px; }.sce-image-picker>span { display:grid; grid-row:1 / 3; width:25px; height:25px; color:#6d7175; background:#f1f1f1; border-radius:5px; place-items:center; }.sce-image-picker b { font-size:12px; }.sce-image-picker small { color:#6d7175; font-size:12px; }.sce-image-picker:hover { border-color:#005bd3; background:#f7f9ff; }
.sce-toggle { display:flex; align-items:center; width:100%; gap:8px; min-height:34px; padding:4px 0; color:#303030; text-align:left; background:transparent; border:0; }.sce-toggle>i { position:relative; width:34px; height:20px; flex:none; background:#c9cccf; border-radius:99px; }.sce-toggle>i::after { position:absolute; top:3px; left:3px; width:14px; height:14px; background:#fff; border-radius:50%; box-shadow:0 1px 2px rgba(0,0,0,.15); content:""; transition:left .15s; }.sce-toggle.is-on>i { background:#005bd3; }.sce-toggle.is-on>i::after { left:17px; }.sce-toggle span { display:grid; gap:1px; }.sce-toggle b { font-size:12px; }.sce-toggle small { color:#6d7175; font-size:12px; }.sce-core-note { display:flex; align-items:center; gap:6px; padding:9px; color:#5c5f62; background:#f6f6f7; border-radius:7px; font-size:12px; line-height:1.4; }.sce-delete { display:flex; align-items:center; justify-content:center; width:100%; min-height:34px; margin-top:18px; color:#b42318; background:#fff; border:1px solid #f0b8b2; border-radius:7px; font-size:12px; font-weight:650; }.sce-delete:hover { background:#fff0ef; }
.source-checkout-editor .icon { display:block; }

/* Reference-aligned Checkout editor: tree hierarchy, schema inspector and buyer canvas. */
.sce-ref-topbar .sce-save-pill { width:max-content; padding:5px 9px; color:#064e3b; background:#dff5ec; border-radius:999px; font-weight:650; }
.sce-ref-workspace { box-sizing:border-box; grid-template-columns:300px minmax(560px,1fr) 332px; grid-template-rows:minmax(0,1fr); column-gap:16px; padding:12px 32px 12px 0; background:#eef1f5; }
.sce-ref-workspace .sce-inspector { min-height:0; margin:0; overflow:hidden; background:#fff; border:1px solid #dfe5ec; border-radius:9px; box-shadow:0 1px 2px rgba(31,41,55,.08); }
.sce-ref-tree>header { min-height:45px; padding:14px 16px; }.sce-ref-tree>header strong { color:#111827; }
.sce-ref-template { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 8px; padding:9px 7px 12px; margin-bottom:11px; border-bottom:1px solid var(--sce-line); }.sce-ref-template>b { font-size:14px; }.sce-ref-template small { color:#5371a0; font-size:12px; }.sce-ref-template button { grid-row:2; grid-column:1 / 3; display:flex; align-items:center; justify-content:space-between; min-height:40px; padding:8px 10px; color:#233e68; background:#f7f9fd; border:0; border-radius:7px; font-size:12px; font-weight:650; text-align:left; }.sce-ref-template button:hover { background:#edf3ff; }.sce-ref-template button .icon { transform:rotate(90deg); }
.sce-ref-tree-heading { padding:7px 7px 5px; color:#5c6e87; font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.sce-ref-tree-wrap { position:relative; }.sce-ref-tree-wrap.is-hidden { opacity:.52; }
.sce-ref-tree-row { display:grid; grid-template-columns:14px 18px minmax(0,1fr) 35px; align-items:center; width:100%; min-height:34px; gap:8px; padding:5px 8px; color:#2d4772; text-align:left; background:transparent; border:0; border-radius:7px; font-size:13px; }.sce-ref-tree-row:hover { background:#f3f6fb; }.sce-ref-tree-row.is-selected { color:#0669da; background:#dfeeff; }.sce-ref-tree-row.is-locked { color:#35527c; }.sce-ref-tree-row b { overflow:hidden; font-weight:500; text-overflow:ellipsis; white-space:nowrap; }.sce-ref-tree-row>span { color:#406695; }.sce-ref-tree-row.is-selected>span { color:#0669da; }.sce-ref-tree-row>em { display:flex; align-items:center; justify-content:flex-end; color:#a7b2c2; font-style:normal; }.sce-ref-row-actions { gap:6px; }.sce-ref-row-actions button { padding:0; color:#78889e; background:transparent; border:0; font-size:13px; }.sce-tree-caret { display:grid; width:14px; height:20px; color:#76879e; place-items:center; transform:rotate(0); }.sce-tree-caret.is-open { transform:rotate(90deg); }
.sce-ref-block { grid-template-columns:18px minmax(0,1fr) 18px; min-height:31px; padding-left:42px; color:#35527c; background:transparent; border:0; border-radius:6px; font-size:12px; text-align:left; }.sce-ref-block:hover { background:#f5f7fb; }.sce-ref-block span,.sce-ref-block em { color:#6c86aa; }.sce-ref-block b { overflow:hidden; font-weight:500; text-overflow:ellipsis; white-space:nowrap; }
.sce-ref-tree .sce-add-section { justify-content:flex-start; padding:0 10px; margin:11px 0 4px; border-color:#b8cae5; color:#0b6fd9; }.sce-ref-tree .sce-add-section span { color:#6e86aa; font-weight:500; }.sce-ref-settings-nav { display:flex; align-items:center; width:100%; min-height:36px; gap:10px; padding:7px; color:#34537d; background:transparent; border:0; border-radius:7px; font-size:13px; text-align:left; }.sce-ref-settings-nav:hover { color:#086bd7; background:#edf4ff; }
.sce-ref-add-menu { right:8px; bottom:10px; left:8px; max-height:calc(100% - 22px); }.sce-ref-add-group { padding:7px 0; border-bottom:1px solid #edf0f4; }.sce-ref-add-group> b { display:block; padding:3px 11px 6px; color:#627592; font-size:11px; letter-spacing:.035em; text-transform:uppercase; }.sce-ref-add-group button { display:grid; grid-template-columns:25px minmax(0,1fr); gap:2px 8px; width:100%; padding:8px 11px; color:#263f67; text-align:left; background:#fff; border:0; }.sce-ref-add-group button:hover { background:#f2f6fc; }.sce-ref-add-group button span { display:grid; grid-row:1 / 3; width:25px; height:25px; color:#0875df; background:#e4f0ff; border-radius:6px; place-items:center; }.sce-ref-add-group button strong { overflow:hidden; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }.sce-ref-add-group button small { color:#7890ae; font-size:11px; }
.sce-ref-canvas { background:#edf0f4; }.sce-ref-canvas>header { color:#577093; background:#f7f9fc; }.sce-ref-canvas .sce-canvas-notice { color:#8d6000; background:#fff8df; border-color:#efd88e; }.sce-ref-canvas .sce-canvas-scroll { padding:20px 24px 56px; }
.sce-ref-frame { width:1080px; min-width:780px; overflow:hidden; color:var(--text); background:var(--page-bg); border:1px solid #dce1e8; border-radius:3px; box-shadow:0 2px 8px rgba(17,24,39,.12); font-size:var(--font-size); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }.sce-ref-frame * { box-sizing:border-box; }.sce-ref-frame.is-mobile { width:390px; min-width:390px; }
.sce-ref-select { position:relative; border:2px solid transparent; border-radius:2px; cursor:pointer; }.sce-ref-select:hover { border-color:#94c5ff; }.sce-ref-select.is-selected { border-color:#076ee9; }.sce-ref-select.is-hidden { display:none; }.sce-ref-select-label { position:absolute; z-index:4; top:-2px; left:-2px; display:none; padding:2px 7px; color:#fff; background:#076ee9; border-radius:0 0 4px 0; font-size:11px; font-style:normal; font-weight:650; }.sce-ref-select:hover>.sce-ref-select-label,.sce-ref-select.is-selected>.sce-ref-select-label { display:block; }
.sce-ref-header { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; min-height:var(--header-height); padding:0 9.2%; color:var(--header-text); background:var(--header-bg); border-bottom:1px solid var(--line); }.sce-ref-header>b { letter-spacing:.17em; line-height:1; }.sce-ref-header>span { color:var(--header-text); font-size:12px; letter-spacing:.16em; text-transform:uppercase; }.sce-ref-header>i { justify-self:end; font-size:24px; font-style:normal; }.sce-ref-mobile-summary { display:none; }
.sce-ref-columns { display:grid; grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr); min-height:810px; }.sce-ref-form-side { padding:48px 7.6% 34px; background:var(--page-bg); }.sce-ref-columns>.sce-ref-select { border-radius:0; }.sce-ref-summary-side { min-height:100%; padding:68px 11% 38px 8%; color:var(--summary-text,#1f1f1f); background:var(--summary-bg); }.sce-ref-main { display:flex; flex-direction:column; gap:18px; }
.sce-ref-express { margin-bottom:2px; text-align:center; }.sce-ref-express p { margin:0 0 11px; color:var(--muted); font-size:12px; }.sce-ref-express>div { display:flex; gap:9px; }.sce-ref-express button { flex:1; height:46px; color:#fff; background:#5a31f4; border:0; border-radius:6px; font-size:13px; font-weight:750; }.sce-ref-express button:nth-child(2) { color:#0d3372; background:#ffc43d; }.sce-ref-express button:nth-child(3) { background:#050505; }.sce-ref-express>span { display:flex; align-items:center; gap:12px; margin:17px 0 0; color:#7e8895; font-size:12px; letter-spacing:.08em; }.sce-ref-express>span::before,.sce-ref-express>span::after { flex:1; height:1px; background:var(--line); content:""; }
.sce-ref-form-block h2,.sce-ref-section-title h2 { margin:0 0 13px; color:var(--text); font-size:var(--heading-size); line-height:1.2; }.sce-ref-form-block p { margin:-6px 0 11px; color:var(--muted); font-size:12px; }.sce-ref-heading,.sce-ref-section-title { display:flex; align-items:center; justify-content:space-between; gap:8px; }.sce-ref-heading a { color:#2b3b54; font-size:12px; }.sce-ref-form-block input,.sce-ref-form-block select,.sce-ref-upssell select { width:100%; height:var(--input-height,48px); padding:0 12px; color:#7a8494; background:var(--input-bg); border:1px solid var(--input-line); border-radius:var(--input-radius); font:inherit; font-size:13px; }.sce-ref-form-block input+input,.sce-ref-form-block select+input { margin-top:10px; }.sce-ref-input-pair { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px; }.sce-ref-card-input { display:grid; gap:9px; padding:13px; border:1px solid var(--input-line); border-radius:var(--input-radius); }.sce-ref-card-input>b { color:var(--text); font-size:13px; }
.sce-ref-shipping { display:flex; align-items:center; justify-content:space-between; min-height:61px; padding:10px 13px; color:var(--text); background:var(--input-bg); border:1px solid var(--input-line); font-size:13px; }.sce-ref-shipping:first-of-type { border-radius:var(--input-radius) var(--input-radius) 0 0; }.sce-ref-shipping+.sce-ref-shipping { margin-top:-1px; border-radius:0 0 var(--input-radius) var(--input-radius); }.sce-ref-shipping span { display:grid; gap:2px; }.sce-ref-shipping small { color:var(--muted); font-size:11px; }.sce-ref-shipping b { font-size:13px; }
.sce-ref-card { border:1px solid #e2e7ee; border-radius:7px; }.sce-ref-upsell { padding:14px; }.sce-ref-section-title h2 { margin:0; font-size:17px; }.sce-ref-section-title span,.sce-ref-section-title>b { display:grid; width:29px; height:29px; color:#78828d; background:#edf0f2; border-radius:50%; font-size:21px; font-weight:400; place-items:center; }.sce-ref-section-title>b { margin-left:-4px; color:#fff; background:#151515; }.sce-ref-upsell-grid { display:grid; grid-template-columns:1fr 1fr; gap:13px; margin-top:13px; overflow:hidden; }.sce-ref-upsell-grid article { display:grid; grid-template-columns:16px 67px minmax(0,1fr); gap:8px; min-width:240px; padding:9px; border:1px solid #e1e5eb; border-radius:7px; }.sce-ref-upsell-grid article>i { color:#8691a0; font-size:18px; font-style:normal; }.sce-ref-upsell-grid article>img { width:67px; height:77px; object-fit:cover; border-radius:5px; }.sce-ref-upsell-grid article>div { display:grid; align-content:start; gap:5px; }.sce-ref-upsell-grid article b { overflow:hidden; color:var(--text); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }.sce-ref-upsell-grid select { height:30px; padding:0 7px; border:1px solid #dbe0e7; border-radius:5px; font-size:11px; }.sce-ref-upsell-grid strong { color:#151515; font-size:14px; }.sce-ref-upsell-grid strong s { color:#9099a6; font-size:10px; font-weight:400; }.sce-ref-upsell-grid small { width:max-content; padding:5px 8px; border:1px solid #e0e4e8; border-radius:5px; color:#212b36; font-size:11px; }
.sce-ref-insurance { display:grid; grid-template-columns:22px minmax(0,1fr) auto; align-items:center; gap:9px; padding:12px; color:var(--text); background:#f6fbf8; border:1px dashed #a2cdb4; border-radius:7px; }.sce-ref-insurance>i { display:grid; width:19px; height:19px; color:#fff; background:#1f7752; border-radius:4px; font-style:normal; place-items:center; }.sce-ref-insurance span { display:grid; gap:2px; }.sce-ref-insurance b { font-size:12px; }.sce-ref-insurance small { color:var(--muted); font-size:11px; }.sce-ref-insurance strong { font-size:12px; }.sce-ref-countdown,.sce-ref-trust,.sce-ref-static,.sce-ref-review { padding:10px 12px; color:#52657d; background:#f5f8fc; border:1px solid #dce7f6; border-radius:6px; font-size:12px; text-align:center; }.sce-ref-countdown { color:#8d6000; background:#fff7df; border-color:#efda95; }.sce-ref-review { color:#087457; background:#ebfbf5; border-color:#b9e7d7; }
.sce-ref-pay { width:100%; margin-top:1px; border:0; font-size:15px; font-weight:750; }.sce-ref-summary-inner { display:flex; flex-direction:column; gap:0; }.sce-ref-line { display:grid; grid-template-columns:60px minmax(0,1fr) auto; align-items:start; gap:10px; padding:11px 0; border-bottom:1px solid #dfe1e3; }.sce-ref-thumb { position:relative; width:58px; height:65px; overflow:visible; border-radius:7px; }.sce-ref-thumb img { width:58px; height:65px; object-fit:cover; border-radius:7px; }.sce-ref-thumb b { position:absolute; top:-7px; right:-7px; display:grid; width:19px; height:19px; color:#fff; background:#677078; border:2px solid var(--summary-bg); border-radius:50%; font-size:10px; place-items:center; }.sce-ref-line>span:nth-child(2) { display:grid; align-content:start; gap:3px; }.sce-ref-line>span:nth-child(2)>strong { color:#1a2735; font-size:13px; font-weight:600; line-height:1.25; }.sce-ref-line small { color:#748093; font-size:11px; }.sce-ref-line em { color:#788798; font-size:10px; font-style:normal; }.sce-ref-line>span:last-child { display:grid; gap:3px; color:#1d2939; font-size:12px; text-align:right; }.sce-ref-line s { color:#7f8a95; font-size:10px; }.sce-ref-coupon { display:grid; grid-template-columns:1fr auto; gap:8px; padding:20px 0; border-bottom:1px solid #dfe1e3; }.sce-ref-coupon span { display:flex; align-items:center; min-height:45px; padding:0 12px; color:#a1a9b5; background:#fff; border:1px solid #d8dce0; border-radius:6px; font-size:13px; }.sce-ref-coupon button { min-width:75px; color:#6d7782; background:#e0e2e4; border:0; border-radius:6px; font-size:13px; font-weight:700; }.sce-ref-summary-inner dl { margin:15px 0 0; }.sce-ref-summary-inner dl>div { display:flex; justify-content:space-between; gap:12px; padding:5px 0; color:#52606e; font-size:13px; }.sce-ref-summary-inner dl .total { padding-top:14px; margin-top:8px; color:#142033; border-top:1px solid #d5d9dc; font-size:16px; font-weight:750; }.sce-ref-footer { padding:26px 8%; color:#7c8796; border-top:1px solid var(--line); font-size:11px; text-align:center; }
.sce-ref-inspector { padding:0 14px 14px; }.sce-expand-all { margin-left:auto; color:#066bd8; background:transparent; border:0; font-size:12px; }.sce-lock-icon { margin-left:auto; color:#a5b0bf; font-style:normal; }.sce-ref-setting-group { border-bottom:1px solid #e7ebf0; }.sce-ref-setting-title { display:grid; grid-template-columns:16px minmax(0,1fr) auto; align-items:center; width:100%; gap:8px; padding:13px 14px; color:#1e3354; text-align:left; background:#fff; border:0; }.sce-ref-setting-title>i { display:grid; color:#6380a7; transform:rotate(0); place-items:center; }.sce-ref-setting-group.is-open .sce-ref-setting-title>i { transform:rotate(90deg); }.sce-ref-setting-title span { display:grid; gap:3px; }.sce-ref-setting-title b { font-size:13px; }.sce-ref-setting-title small { overflow:hidden; color:#6e84a5; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }.sce-ref-setting-title em { color:#52719b; font-size:11px; font-style:normal; }.sce-ref-setting-content { display:none; padding:1px 14px 13px; }.sce-ref-setting-group.is-open .sce-ref-setting-content { display:block; }.sce-ref-field { display:grid; gap:7px; padding:9px 0; color:#2b4165; font-size:12px; font-weight:650; }.sce-ref-field input,.sce-ref-field select { width:100%; height:33px; padding:0 9px; color:#243a5a; background:#fff; border:1px solid #d4dce6; border-radius:6px; font:inherit; font-size:12px; }.sce-ref-field small { color:#7489a5; font-size:11px; font-weight:400; line-height:1.35; }.sce-color { display:grid; grid-template-columns:32px minmax(0,1fr); gap:7px; }.sce-color>i { border:1px solid #ccd5e1; border-radius:6px; }.sce-range { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px; }.sce-range input { height:18px; padding:0; accent-color:#0874df; }.sce-range output { min-width:37px; color:#48678e; font-size:11px; text-align:right; }.sce-switch { display:flex; align-items:center; justify-content:space-between; width:100%; gap:9px; padding:9px 0; color:#294263; background:transparent; border:0; font:inherit; font-size:12px; font-weight:650; text-align:left; }.sce-switch i { position:relative; width:36px; height:21px; order:2; background:#cfd9e5; border-radius:999px; }.sce-switch i::after { position:absolute; top:3px; left:3px; width:15px; height:15px; background:#fff; border-radius:50%; box-shadow:0 1px 2px rgba(0,0,0,.18); content:""; }.sce-switch.is-on i { background:#0874df; }.sce-switch.is-on i::after { left:18px; }.sce-ref-kicker { padding:15px 0 5px; color:#7286a2; border-top:1px solid #e7ebef; font-size:11px; font-weight:750; letter-spacing:.04em; }.sce-ref-kicker:first-child { padding-top:3px; border-top:0; }.sce-ref-image-picker { display:grid; min-height:99px; grid-template-columns:1fr; gap:5px; padding:13px; color:#304d77; background:#f8faff; border:1px dashed #b9c9dd; border-radius:7px; font:inherit; place-items:center; }.sce-ref-image-picker b { font-size:12px; }.sce-ref-image-picker small { color:#6783a8; font-size:11px; }
@media (max-width:1180px) { .sce-ref-workspace { grid-template-columns:260px minmax(430px,1fr) 300px; }.sce-ref-frame { width:960px; }.sce-ref-summary-side { padding-right:8%; }.sce-ref-form-side { padding-left:6%; padding-right:6%; } }
@media (max-width:800px) { .sce-ref-workspace { grid-template-columns:1fr; }.sce-ref-canvas .sce-canvas-scroll { justify-content:flex-start; }.sce-ref-frame { min-width:780px; }.sce-ref-frame.is-mobile { min-width:390px; }.sce-ref-tree .sce-tree-scroll { max-height:370px; }.sce-ref-header { padding:0 18px; }.sce-ref-frame.is-mobile .sce-ref-header { grid-template-columns:1fr auto; }.sce-ref-frame.is-mobile .sce-ref-header>span { display:none; }.sce-ref-frame.is-mobile .sce-ref-mobile-summary { display:flex; align-items:center; gap:9px; padding:16px 18px; color:var(--text); background:var(--summary-bg); border-bottom:1px solid var(--line); font-size:13px; }.sce-ref-frame.is-mobile .sce-ref-mobile-summary b { margin-left:auto; }.sce-ref-frame.is-mobile .sce-ref-columns { grid-template-columns:1fr; min-height:0; }.sce-ref-frame.is-mobile .sce-ref-form-side { padding:24px var(--page-pad); }.sce-ref-frame.is-mobile .sce-ref-summary-side { padding:22px var(--page-pad); }.sce-ref-frame.is-mobile .sce-ref-upsell-grid { grid-template-columns:1fr; }.sce-ref-frame.is-mobile .sce-ref-express>div { gap:5px; }.sce-ref-frame.is-mobile .sce-ref-express button { font-size:11px; }.sce-ref-frame.is-mobile .sce-ref-footer { padding:20px 14px; }.sce-ref-frame.is-mobile .sce-ref-columns>.sce-ref-select { order:2; } }
@media (max-width:1100px) { .sce-workspace { grid-template-columns:225px minmax(360px,1fr) 270px; }.sce-topbar { grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr); }.sce-title span,.sce-top-right .sce-button:not(.primary) { display:none; }.sce-preview-frame { width:850px; } }
@media (max-width:800px) { .source-editor-shell { height:auto; min-height:0; }.source-checkout-editor { height:auto; }.sce-topbar { grid-template-columns:1fr; }.sce-top-center,.sce-top-right { justify-content:flex-start; }.sce-workspace { grid-template-columns:1fr; overflow:visible; }.sce-tree,.sce-inspector { max-height:none; border:0; border-bottom:1px solid var(--sce-line); }.sce-tree-scroll { max-height:330px; }.sce-canvas { min-height:650px; }.sce-preview-frame { min-width:670px; }.sce-canvas-scroll { justify-content:flex-start; } }

/* Shopify-style editor workbench: continuous side drawers and a full canvas. */
.sce-ref-workspace { grid-template-columns:300px minmax(0,1fr) 300px; column-gap:0; padding:0; background:#fff; }
.sce-ref-tree { border-right:1px solid #e1e3e5; }
.sce-ref-workspace .sce-inspector { margin:0; overflow:hidden; background:#fff; border:0; border-left:1px solid #e1e3e5; border-radius:0; box-shadow:none; }
.sce-ref-tree>header { min-height:50px; padding:14px 16px; background:#fff; border-bottom:1px solid #e1e3e5; }
.sce-ref-tree>header strong { font-size:14px; font-weight:650; }
.sce-ref-tree .sce-tree-scroll { padding:8px; }
.sce-ref-template { grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:2px 8px; padding:9px 8px 11px; margin:0 0 8px; border-bottom:1px solid #e1e3e5; }
.sce-ref-template>b { font-size:13px; }
.sce-ref-template small { font-size:11px; }
.sce-ref-template button { grid-row:1 / 3; grid-column:2; min-height:28px; padding:0 4px; color:#005bd3; background:transparent; border:0; border-radius:5px; }
.sce-ref-template button:hover { background:#f1f3f5; }
.sce-ref-tree-heading { padding:7px 8px 5px; color:#6d7175; font-size:11px; }
.sce-ref-tree-row { min-height:33px; padding:5px 8px; color:#303030; border-radius:5px; font-size:12px; }
.sce-ref-tree-row:hover { color:#202223; background:#f1f3f5; }
.sce-ref-tree-row.is-selected { color:#fff; background:#0d63d8; }
.sce-ref-tree-row.is-selected>span,.sce-ref-tree-row.is-selected>em,.sce-ref-tree-row.is-selected i { color:#fff; }
.sce-ref-tree-row.is-locked { color:#303030; }
.sce-ref-tree-row.is-selected.is-locked { color:#fff; }
.sce-ref-row-actions button { color:inherit; }
.sce-ref-block { color:#4a4a4a; }
.sce-ref-tree .sce-add-section { justify-content:flex-start; min-height:32px; padding:4px 8px; margin:7px 0 3px; color:#005bd3; background:transparent; border:0; border-radius:5px; }
.sce-ref-tree .sce-add-section:hover { background:#f1f3f5; }
.sce-ref-tree .sce-nav-note { display:none; }
.sce-ref-canvas { background:#f6f6f7; }
.sce-ref-canvas>header { display:none; }
.sce-ref-canvas .sce-canvas-notice { min-height:32px; padding:7px 16px; color:#6d4b00; background:#fff7d6; border-color:#f0d68e; font-size:11px; }
.sce-ref-canvas .sce-canvas-scroll { align-items:flex-start; justify-content:stretch; padding:0; background:#f7f7f8; }
.sce-ref-frame { width:100%; min-width:0; border:0; border-radius:0; box-shadow:none; }
.sce-ref-frame.is-mobile { width:390px; min-width:390px; margin:20px auto; border:1px solid #d6d6d6; box-shadow:0 1px 3px rgba(0,0,0,.12); }
.sce-ref-columns { grid-template-columns:minmax(0,1.06fr) minmax(330px,.94fr); min-height:820px; }
.sce-ref-form-side { padding:46px 8% 38px; }
.sce-ref-summary-side { padding:60px 9% 38px; }
.sce-inspector-head { min-height:58px; padding:12px 14px; border-bottom:1px solid #e1e3e5; }
.sce-ref-inspector { padding:0 16px 20px; }
.sce-ref-kicker { padding:16px 0 6px; color:#6d7175; font-size:11px; }
.sce-ref-field { gap:6px; padding:10px 0; color:#303030; }
.sce-ref-field input,.sce-ref-field select { height:34px; color:#202223; border-color:#c9cccf; border-radius:6px; }
.sce-ref-image-picker { min-height:100px; color:#303030; background:#f8f9fb; border-color:#b9c9dd; border-radius:6px; }
.sce-ref-image-picker small { color:#6d7175; }
.sce-switch { color:#303030; }
.sce-switch i { background:#b8c0cb; }

@media (max-width:1180px) { .sce-ref-workspace { grid-template-columns:260px minmax(0,1fr) 280px; }.sce-ref-frame { width:100%; }.sce-ref-columns { grid-template-columns:minmax(0,1fr) minmax(300px,.9fr); } }
@media (max-width:800px) { .sce-ref-workspace { grid-template-columns:1fr; }.sce-ref-workspace .sce-inspector { border-left:0; border-top:1px solid #e1e3e5; }.sce-ref-canvas .sce-canvas-scroll { padding:0; }.sce-ref-frame { min-width:780px; }.sce-ref-frame.is-mobile { min-width:390px; } }

.funnel-canvas-shell .canvas-wrap {
  padding: 12px 14px 18px;
  overflow: auto;
  border: 0;
  background-color: #f6f6f7;
  background-image: radial-gradient(#d4d4d4 1px, transparent 1px);
  background-size: 16px 16px;
  cursor: grab;
  scrollbar-width: thin;
}

.funnel-canvas-shell .canvas-wrap.is-panning { cursor: grabbing; user-select: none; }
.funnel-journey-scale { width: 100%; min-width: 0; min-height: calc(650px * var(--journey-zoom)); }
.funnel-journey-scale .funnel-journey-board { width: 100%; min-width: 1050px; transform: scale(var(--journey-zoom)); transform-origin: top left; }

.funnel-graph { position: relative; height: 680px; min-width: 1480px; }

.funnel-graph-edges {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.funnel-graph-edges marker path { fill: #6d7175; }

.funnel-graph-path {
  fill: none;
  stroke: #303030;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.funnel-graph-path.path-success { stroke: #008060; }
.funnel-graph-path.path-decline { stroke: #b98900; }
.funnel-graph-path.path-control,
.funnel-graph-path.path-muted { stroke: #8c9196; }
.funnel-graph-path.is-dashed { stroke-dasharray: 6 5; }

.funnel-graph-annotations {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.funnel-graph-edge-label {
  position: absolute;
  top: var(--edge-label-y);
  left: var(--edge-label-x);
  padding: 3px 6px;
  color: #303030;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}

.funnel-graph-edge-label.edge-success { color: #006e52; border-color: #b7dfd1; }
.funnel-graph-edge-label.edge-decline { color: #795600; border-color: #ead8a5; }
.funnel-graph-edge-label.edge-control,
.funnel-graph-edge-label.edge-muted { color: #5c5f62; border-color: #d6d6d6; }

.funnel-graph-node,
.funnel-graph-add {
  position: absolute;
  z-index: 2;
  top: var(--graph-node-y);
  left: var(--graph-node-x);
  width: 238px;
  text-align: left;
}

.funnel-graph-node {
  display: grid;
  gap: 9px;
  min-height: 126px;
  padding: 12px;
  color: var(--p-text);
  background: #fff;
  border: 1px solid #c9cccf;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
  transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}

.funnel-graph-node:hover {
  border-color: #616161;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .11);
  transform: translateY(-1px);
}

.funnel-graph-node.is-selected {
  border-color: #303030;
  box-shadow: 0 0 0 2px #303030, 0 4px 10px rgba(0, 0, 0, .12);
}

.funnel-graph-node-control {
  min-height: 104px;
  background: #f1f1f1;
  border-style: dashed;
  box-shadow: none;
}

.funnel-graph-node-control:hover { transform: none; }

.funnel-graph-node-head {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.funnel-graph-node-head > span:last-child { display: grid; gap: 1px; min-width: 0; }
.funnel-graph-node-head small { color: var(--p-text-subdued); font-size: 10px; font-weight: 650; }

.funnel-graph-node-head strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.funnel-graph-node-icon {
  display: grid;
  width: 32px;
  height: 32px;
  color: #303030;
  background: #ebebeb;
  border-radius: 8px;
  place-items: center;
}

.funnel-graph-node-checkout .funnel-graph-node-icon { color: #005bd3; background: #e8f0fe; }
.funnel-graph-node-upsell .funnel-graph-node-icon,
.funnel-graph-node-downsell .funnel-graph-node-icon { color: #795600; background: #fff4db; }
.funnel-graph-node-thank-you .funnel-graph-node-icon { color: #006e52; background: #e3f1df; }

.funnel-graph-node-body {
  display: grid;
  gap: 3px;
  min-height: 26px;
  padding-top: 8px;
  border-top: 1px solid #ececec;
}

.funnel-graph-offer,
.funnel-graph-page {
  overflow: hidden;
  color: #4a4a4a;
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.funnel-graph-offer { color: #795600; font-weight: 650; }
.funnel-graph-node-action { color: #005bd3; font-size: 11px; font-weight: 650; }

.funnel-graph-add {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 184px;
  min-height: 52px;
  padding: 9px 10px;
  color: #303030;
  background: rgba(255, 255, 255, .88);
  border: 1px dashed #8c9196;
  border-radius: 10px;
}

.funnel-graph-add:hover { color: #005bd3; background: #fff; border-color: #005bd3; }
.funnel-graph-add > span { display: grid; gap: 1px; }
.funnel-graph-add small { font-size: 10px; }

/* Funnel list and multi-page journey canvas. */
.funnel-detail-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.funnel-detail-intro > div:first-child { display: grid; gap: 3px; }
.funnel-detail-intro p { color: var(--p-text-subdued); font-size: 12px; }

.funnel-index-card { overflow: hidden; }

.global-funnel-router .card-pad { display: grid; gap: 14px; }
.global-funnel-router-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.global-funnel-router-head h2 { margin: 3px 0 4px; color: #202223; font-size: 16px; letter-spacing: -.01em; }
.global-funnel-router-head p { margin: 0; color: #6d7175; font-size: 12px; line-height: 1.4; }
.global-funnel-router-note { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; padding: 5px 7px; color: #3a4b67; background: #edf3ff; border-radius: 5px; font-size: 10px; font-weight: 650; }
.global-funnel-router-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.global-funnel-route,
.global-funnel-fallback { display: grid; grid-template-columns: 30px minmax(0, 1fr) 16px; align-items: center; gap: 9px; min-width: 0; padding: 10px; color: #303030; text-align: left; background: #fff; border: 1px solid #d6d6d6; border-radius: 8px; }
.global-funnel-route:hover { background: #f7f9ff; border-color: #005bd3; }
.global-funnel-route:focus-visible { outline: 2px solid #005bd3; outline-offset: 2px; }
.global-funnel-priority { display: grid; width: 30px; height: 30px; color: #005bd3; background: #e8f0fe; border-radius: 7px; font-size: 11px; font-weight: 700; place-items: center; }
.global-funnel-route-copy { display: grid; gap: 2px; min-width: 0; }
.global-funnel-route-copy > span { display: flex; align-items: center; gap: 6px; min-width: 0; }
.global-funnel-route-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.global-funnel-route-copy .badge { transform: scale(.88); transform-origin: left center; }
.global-funnel-route-copy small { color: #6d7175; font-size: 10px; }
.global-funnel-route-copy em { overflow: hidden; color: #4a4a4a; font-size: 10px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.global-funnel-fallback { grid-template-columns: 30px minmax(0, 1fr); color: #5c5f62; background: #f6f6f7; border-style: dashed; }
.global-funnel-fallback > span { display: grid; width: 30px; height: 30px; background: #ebebeb; border-radius: 7px; place-items: center; }
.global-funnel-fallback > div { display: grid; gap: 1px; }
.global-funnel-fallback small { color: #6d7175; font-size: 10px; font-weight: 650; }
.global-funnel-fallback strong { font-size: 12px; }
.global-funnel-fallback p { margin: 0; color: #6d7175; font-size: 10px; }

.funnel-index-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid var(--p-border);
}

.funnel-index-tabs { display: flex; align-self: stretch; align-items: stretch; gap: 20px; }

.funnel-index-tab {
  position: relative;
  min-height: 56px;
  padding: 0;
  color: #5c5f62;
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 600;
}

.funnel-index-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
  content: '';
}

.funnel-index-tab:hover { color: #303030; }
.funnel-index-tab.is-active { color: #303030; }
.funnel-index-tab.is-active::after { background: #303030; }
.funnel-index-tab:focus-visible { outline: 2px solid #005bd3; outline-offset: -4px; border-radius: 4px; }

.funnel-index-count { color: #6d7175; font-size: 12px; }
.funnel-index-table { overflow-x: auto; }

.funnel-index-header,
.funnel-index-row {
  display: grid;
  grid-template-columns: minmax(300px, 1.8fr) 128px 104px 112px 100px 112px 68px;
  align-items: center;
  min-width: 940px;
}

.funnel-index-header {
  min-height: 40px;
  padding: 0 16px;
  color: #6d7175;
  background: #fafbfb;
  border-bottom: 1px solid var(--p-border);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
}

.funnel-index-row {
  min-height: 76px;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid #e1e3e5;
  transition: background .12s ease;
}

.funnel-index-row:last-child { border-bottom: 0; }
.funnel-index-row:hover { background: #f6f6f7; }

.funnel-index-primary { min-width: 0; }
.funnel-index-primary > button { display: grid; gap: 3px; width: 100%; min-width: 0; padding: 0; color: #005bd3; text-align: left; background: transparent; border: 0; }
.funnel-index-primary > button:hover strong { text-decoration: underline; }
.funnel-index-primary > button:focus-visible { outline: 2px solid #005bd3; outline-offset: 3px; border-radius: 3px; }
.funnel-index-primary strong,
.funnel-index-primary small,
.funnel-index-primary em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.funnel-index-primary strong { color: #005bd3; font-size: 13px; font-weight: 650; }
.funnel-index-primary small { color: #5c5f62; font-size: 11px; }
.funnel-index-primary em { color: #8c9196; font-size: 10px; font-style: normal; }

.funnel-index-status,
.funnel-index-value,
.funnel-index-updated { min-width: 0; }
.funnel-index-value { display: grid; gap: 2px; }
.funnel-index-value strong { color: #303030; font-size: 13px; }
.funnel-index-value small,
.funnel-index-updated { color: #6d7175; font-size: 11px; }

.funnel-index-action { justify-self: end; }
.funnel-index-action > button { display: inline-flex; align-items: center; gap: 2px; padding: 6px; color: #005bd3; font-size: 12px; font-weight: 600; background: transparent; border: 0; border-radius: 4px; }
.funnel-index-action > button:hover { background: #e8f0fe; }
.funnel-index-action > button:focus-visible { outline: 2px solid #005bd3; outline-offset: 2px; }

.funnels-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 64px 20px;
  color: var(--p-text-subdued);
  text-align: center;
}

.funnels-empty > span { display: grid; width: 42px; height: 42px; color: #5c5f62; background: #f1f1f1; border-radius: 12px; place-items: center; }
.funnels-empty strong { color: var(--p-text); }
.funnels-empty p { max-width: 300px; font-size: 12px; }

.funnel-detail-intro { padding-bottom: 12px; }
.funnel-detail-intro .title-with-badge { align-self: flex-start; }

.funnel-journey-board {
  display: grid;
  grid-template-columns: minmax(150px, .78fr) 28px minmax(240px, 1.15fr) 28px minmax(300px, 1.55fr) 28px minmax(180px, .85fr);
  align-items: start;
  min-width: 1050px;
}

.journey-entry-stage,
.journey-lane {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid #d6d6d6;
  border-radius: 12px;
}

.journey-entry-stage > header,
.journey-lane > header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.journey-entry-stage > header > span:nth-child(2),
.journey-lane > header > span:nth-child(2) { display: grid; gap: 1px; min-width: 0; }
.journey-entry-stage small,
.journey-lane small { color: var(--p-text-subdued); font-size: 10px; font-weight: 650; }
.journey-entry-stage strong,
.journey-lane strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.journey-lane > header > b { min-width: 22px; margin-left: auto; padding: 2px 6px; color: #5c5f62; background: #ebebeb; border-radius: 999px; font-size: 11px; text-align: center; }

.journey-lane-icon {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: #303030;
  background: #ebebeb;
  border-radius: 8px;
  place-items: center;
}

.journey-lane-checkout .journey-lane-icon { color: #005bd3; background: #e8f0fe; }
.journey-lane-upsell .journey-lane-icon,
.journey-lane-downsell .journey-lane-icon { color: #795600; background: #fff4db; }
.journey-lane-thankyou .journey-lane-icon { color: #006e52; background: #e3f1df; }

.journey-lane-stack { display: grid; gap: 10px; }

.checkout-route-summary {
  display: grid;
  gap: 8px;
  padding: 9px;
  background: #f7f9ff;
  border: 1px solid #c9d8fb;
  border-radius: 9px;
}

.checkout-route-summary > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.checkout-route-summary > header > div { display: grid; gap: 1px; min-width: 0; }
.checkout-route-summary > header small { color: #315a8a; font-size: 9px; font-weight: 650; }
.checkout-route-summary > header strong { overflow: visible; color: #202223; font-size: 11px; text-overflow: clip; white-space: normal; }
.checkout-route-summary .button { min-height: 26px; padding: 4px 6px; font-size: 10px; white-space: nowrap; }

.checkout-route-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.checkout-route-pills > span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: 100%;
  padding: 3px 5px;
  overflow: hidden;
  color: #4a4a4a;
  font-size: 9px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
}

.checkout-route-pills .checkout-route-native { color: #5c5f62; }
.checkout-route-pills .checkout-route-hosted { color: #005bd3; border-color: #aac9f4; }
.checkout-route-helper { color: #5c5f62; font-size: 9px; line-height: 1.35; }

.journey-page-card {
  display: grid;
  gap: 8px;
  width: 100%;
  min-height: 0;
  padding: 10px;
  color: var(--p-text);
  text-align: left;
  background: #fff;
  border: 1px solid #c9cccf;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
  transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}

.journey-page-card:hover { border-color: #616161; box-shadow: 0 3px 8px rgba(0, 0, 0, .10); transform: translateY(-1px); }
.journey-page-card.is-selected { border-color: #303030; box-shadow: 0 0 0 2px #303030; }

.journey-page-card-select {
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--p-text);
  text-align: left;
  background: transparent;
  border: 0;
}

.journey-page-card-select:focus-visible { outline: 2px solid #005bd3; outline-offset: 3px; border-radius: 4px; }

.journey-page-card-head { display: grid; grid-template-columns: minmax(0, 1fr); }
.journey-page-card-head > span:last-child { display: grid; gap: 1px; min-width: 0; }
.journey-page-card-head small { color: var(--p-text-subdued); font-size: 9px; font-weight: 650; }
.journey-page-card-head strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

.journey-page-card-body { display: grid; min-width: 0; padding-top: 7px; border-top: 1px solid #ececec; }
.journey-page-card-product,
.journey-page-card-page,
.journey-page-card-pending,
.journey-page-card-allocation { overflow: hidden; color: #4a4a4a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.journey-page-card-product { color: #795600; font-weight: 650; }
.journey-page-card-pending { color: #b98900; }
.journey-page-card-allocation { color: #006e52; font-weight: 650; }

.journey-page-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 16px;
}

.journey-page-card-edit,
.journey-page-card-config {
  padding: 0;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
  background: transparent;
  border: 0;
}

.journey-page-card-edit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #005bd3;
}

.journey-page-card-config { color: #4a4a4a; }

.journey-page-card-edit:hover { color: #003d99; text-decoration: underline; }
.journey-page-card-config:hover { color: #003d99; text-decoration: underline; }
.journey-page-card-edit:focus-visible,
.journey-page-card-config:focus-visible { outline: 2px solid #005bd3; outline-offset: 3px; border-radius: 3px; }

.journey-page-card-remove {
  display: inline-grid;
  width: 19px;
  height: 19px;
  margin-left: auto;
  padding: 0;
  color: #b42318;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 17px;
  line-height: 1;
  place-items: center;
}

.journey-page-card-remove:hover { background: #fef0ef; }
.journey-page-card-remove:focus-visible { outline: 2px solid #d92d20; outline-offset: 2px; }
.journey-page-card-required { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; color: #8c9196; font-size: 9px; white-space: nowrap; }
.remove-journey-page-summary { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 9px; margin-top: 13px; padding: 11px; background: #f6f6f7; border: 1px solid #e1e3e5; border-radius: 8px; }
.remove-journey-page-summary > span { display: grid; width: 32px; height: 32px; color: #5c5f62; background: #ebebeb; border-radius: 7px; place-items: center; }
.remove-journey-page-summary > div { display: grid; gap: 2px; min-width: 0; }.remove-journey-page-summary small { color: #6d7175; font-size: 10px; }.remove-journey-page-summary strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

.journey-add-page {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  padding: 9px;
  color: #303030;
  text-align: left;
  background: rgba(255, 255, 255, .62);
  border: 1px dashed #8c9196;
  border-radius: 9px;
}

.journey-add-page:hover { color: #005bd3; background: #fff; border-color: #005bd3; }
.journey-add-page > span:first-child { display: grid; width: 26px; height: 26px; border: 1px solid currentColor; border-radius: 7px; place-items: center; }
.journey-add-page > span:last-child { display: grid; gap: 1px; }
.journey-add-page strong { font-size: 11px; }
.journey-add-page small { color: var(--p-text-subdued); font-size: 10px; }

.journey-lane-empty { display: grid; justify-items: start; gap: 6px; padding: 10px; color: var(--p-text-subdued); background: rgba(255, 255, 255, .55); border: 1px dashed #c9cccf; border-radius: 9px; }
.journey-lane-empty > span { color: #8c9196; }
.journey-lane-empty p { font-size: 11px; }

.journey-entry-split { display: grid; gap: 6px; padding: 8px 0 2px; }
.journey-entry-split span { display: flex; align-items: center; justify-content: space-between; gap: 6px; color: #5c5f62; font-size: 10px; }
.journey-entry-split b { color: #303030; font-size: 11px; }

.journey-native-card { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 9px; color: #5c5f62; background: #f1f1f1; border: 1px dashed #8c9196; border-radius: 9px; }
.journey-native-card > span { display: grid; place-items: center; }
.journey-native-card div { display: grid; gap: 1px; min-width: 0; }
.journey-native-card small { color: #6d7175; font-size: 9px; }
.journey-native-card strong { font-size: 11px; }
.journey-native-card b { font-size: 11px; }

.journey-stage-arrow { display: grid; align-self: start; justify-items: center; gap: 4px; margin-top: 74px; color: #6d7175; }
.journey-stage-arrow small { color: #6d7175; font-size: 9px; font-weight: 650; white-space: nowrap; }
.journey-stage-arrow-checkout { margin-top: 116px; }
.journey-stage-arrow-routing { margin-top: 138px; }
.journey-stage-arrow-to-checkout { margin-top: 104px; }

.journey-routing-stage {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  background: rgba(255, 255, 255, .90);
  border: 1px solid #b9c4d8;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.journey-routing-stage > header { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 8px; }
.journey-routing-stage > header > span:last-child { display: grid; gap: 1px; min-width: 0; }
.journey-routing-stage > header small { color: #5c5f62; font-size: 10px; font-weight: 650; }
.journey-routing-stage > header strong { font-size: 12px; }
.journey-routing-stage > p { color: #5c5f62; font-size: 11px; line-height: 1.35; }

.journey-routing-path {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  padding: 8px;
  background: #f6f6f7;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
}

.journey-routing-path > span:nth-child(2) { display: grid; gap: 1px; min-width: 0; }
.journey-routing-path small { color: #6d7175; font-size: 9px; }
.journey-routing-path strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.journey-routing-path b { color: #303030; font-size: 12px; }
.journey-routing-path-icon { display: grid; width: 28px; height: 28px; color: #5c5f62; background: #ebebeb; border-radius: 7px; place-items: center; }
.journey-routing-best { background: #f7f9ff; border-color: #c9d8fb; }
.journey-routing-best .journey-routing-path-icon { color: #005bd3; background: #e8f0fe; }

.journey-routing-variants { display: grid; gap: 5px; padding: 2px 8px 0 17px; border-left: 1px dashed #8c9196; }
.journey-routing-variant { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 6px; min-width: 0; color: #4a4a4a; font-size: 10px; }
.journey-routing-variant > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.journey-routing-variant b { color: #006e52; font-size: 10px; }
.journey-routing-variant-dot { width: 6px; height: 6px; background: #005bd3; border-radius: 50%; }
.journey-routing-empty { color: #6d7175; font-size: 10px; }

.journey-routing-config { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 30px; padding: 6px 8px; color: #005bd3; font-size: 11px; font-weight: 650; background: transparent; border: 0; border-radius: 5px; }
.journey-routing-config:hover { background: #e8f0fe; }
.journey-routing-config:focus-visible { outline: 2px solid #005bd3; outline-offset: 2px; }

.routing-allocation-section { display: grid; gap: 8px; padding: 10px; background: #f6f6f7; border: 1px solid #d6d6d6; border-radius: 8px; }
.routing-allocation-heading { display: flex; align-items: center; justify-content: space-between; color: #303030; font-size: 12px; font-weight: 650; }
.routing-allocation-heading strong { color: #006e52; }
.routing-allocation-heading strong.is-invalid { color: #d72c0d; }
.routing-allocation-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 76px; align-items: center; gap: 8px; padding: 8px; background: #fff; border: 1px solid #d6d6d6; border-radius: 7px; }
.routing-allocation-row > div { display: grid; gap: 1px; min-width: 0; }
.routing-allocation-row strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.routing-allocation-row small { color: #6d7175; font-size: 10px; }
.routing-allocation-icon { display: grid; width: 30px; height: 30px; color: #005bd3; background: #e8f0fe; border-radius: 7px; place-items: center; }
.routing-allocation-native .routing-allocation-icon { color: #5c5f62; background: #ebebeb; }
.routing-allocation-row label { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 3px; }
.routing-allocation-row input { min-width: 0; padding: 5px; text-align: right; }
.routing-allocation-row label b { color: #6d7175; font-size: 11px; }
.routing-allocation-group-label { display: flex; align-items: center; justify-content: space-between; padding: 4px 1px 0; }
.routing-allocation-group-label span { color: #303030; font-size: 11px; font-weight: 650; }
.routing-allocation-group-label small { color: #6d7175; font-size: 10px; }
.routing-add-checkout { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; color: #005bd3; font-size: 11px; font-weight: 650; background: #fff; border: 1px dashed #8c9196; border-radius: 7px; }
.routing-add-checkout:hover { border-color: #005bd3; background: #f7f9ff; }
.routing-allocation-empty { padding: 8px; color: #6d7175; font-size: 11px; background: #fff; border: 1px dashed #c9cccf; border-radius: 7px; }

.audience-builder { display: grid; gap: 9px; padding: 11px; background: #f6f6f7; border: 1px solid #d6d6d6; border-radius: 8px; }
.audience-builder > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.audience-builder > header > span { display: grid; gap: 2px; }
.audience-builder > header strong { color: #303030; font-size: 12px; font-weight: 650; }
.audience-builder > header small, .audience-builder > p { color: #6d7175; font-size: 10px; line-height: 1.45; }
.audience-builder > header em { flex: 0 0 auto; padding: 3px 6px; color: #5c5f62; background: #ebebeb; border-radius: 999px; font-size: 10px; font-style: normal; white-space: nowrap; }
.audience-builder > p { margin: 0; }
.audience-identity-gate { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 9px; color: #274261; background: #edf5ff; border: 1px solid #b8d4f4; border-radius: 7px; }
.audience-identity-gate > span { display: grid; width: 28px; height: 28px; color: #005bd3; background: #fff; border-radius: 6px; place-items: center; }
.audience-identity-gate > div { display: grid; gap: 2px; min-width: 0; }
.audience-identity-gate strong { color: #17324d; font-size: 11px; }
.audience-identity-gate small { color: #4a6480; font-size: 10px; line-height: 1.35; }
.audience-identity-gate em { padding: 3px 6px; color: #005bd3; background: #dcecff; border-radius: 999px; font-size: 10px; font-style: normal; white-space: nowrap; }
.audience-rule-list { display: grid; gap: 7px; }
.audience-rule-row { display: grid; grid-template-columns: minmax(138px, 1.25fr) minmax(98px, .85fr) minmax(128px, 1.1fr) 28px; align-items: center; gap: 6px; padding: 7px; background: #fff; border: 1px solid #d6d6d6; border-radius: 7px; }
.audience-rule-row select, .audience-rule-row input { min-width: 0; min-height: 30px; padding: 5px 7px; font-size: 11px; }
.audience-number-range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 3px; min-width: 0; }
.audience-number-range > span { color: #6d7175; font-size: 10px; text-align: center; }
.audience-number-range input { width: 100%; }
.audience-money-field { position: relative; display: block; min-width: 0; }
.audience-money-field > b { position: absolute; z-index: 1; top: 50%; left: 7px; color: #6d7175; font-size: 11px; font-weight: 600; line-height: 1; pointer-events: none; transform: translateY(-50%); }
.audience-money-field input { box-sizing: border-box; width: 100%; padding-left: 18px !important; }
.audience-days-field { display: inline-flex; align-items: center; min-width: 0; }
.audience-days-field input { box-sizing: border-box; width: 100%; padding-right: 27px !important; }
.audience-days-field em { margin-left: -24px; color: #6d7175; font-size: 11px; font-style: normal; pointer-events: none; }
.audience-tag-editor { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 30px; padding: 3px 5px; background: #fff; border: 1px solid #c9cccf; border-radius: 6px; }
.audience-tag-editor:focus-within { border-color: #005bd3; box-shadow: 0 0 0 1px #005bd3; }
.audience-tag-list { display: flex; flex-wrap: wrap; gap: 4px; }
.audience-tag-chip { display: inline-flex; align-items: center; gap: 3px; max-width: 100%; padding: 2px 4px 2px 6px; color: #004b8d; background: #e8f2ff; border: 1px solid #b8d4f4; border-radius: 999px; font-size: 10px; line-height: 1.3; }
.audience-tag-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.audience-tag-chip button { display: grid; width: 14px; height: 14px; padding: 0; color: #34617e; background: transparent; border: 0; border-radius: 50%; cursor: pointer; font-size: 13px; line-height: 1; place-items: center; }
.audience-tag-chip button:hover { color: #fff; background: #34617e; }
.audience-tag-editor [data-audience-tag-input] { flex: 1 1 72px; width: 72px; min-width: 0; min-height: 22px; padding: 2px !important; background: transparent; border: 0; outline: 0; box-shadow: none; }
.audience-product-control { position: relative; display: grid; gap: 5px; min-width: 0; }
.audience-product-summary { display: flex; flex-wrap: wrap; gap: 4px; min-height: 20px; }
.audience-product-placeholder { align-self: center; color: #6d7175; font-size: 10px; }
.audience-product-chip { display: inline-flex; align-items: center; gap: 3px; max-width: 100%; padding: 2px 4px 2px 6px; color: #004b8d; background: #e8f2ff; border: 1px solid #b8d4f4; border-radius: 999px; font-size: 10px; line-height: 1.3; }
.audience-product-chip > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.audience-product-chip button { display: grid; width: 14px; height: 14px; padding: 0; color: #34617e; background: transparent; border: 0; border-radius: 50%; cursor: pointer; font-size: 13px; line-height: 1; place-items: center; }
.audience-product-chip button:hover { color: #fff; background: #34617e; }
.audience-product-trigger { display: inline-flex; align-items: center; justify-content: space-between; min-height: 30px; gap: 5px; padding: 5px 7px; color: #005bd3; background: #fff; border: 1px solid #8c9196; border-radius: 6px; font: inherit; font-size: 11px; font-weight: 650; cursor: pointer; }
.audience-product-trigger:hover { background: #f1f8ff; border-color: #005bd3; }
.audience-product-control.has-error .audience-product-trigger { border-color: #d72c0d; }
.audience-product-error { color: #d72c0d; font-size: 10px; line-height: 1.3; }
.audience-product-trigger .icon { transition: transform .15s ease; }
.audience-product-control.is-open { z-index: 2; }
.audience-product-control.is-open .audience-product-trigger .icon { transform: rotate(90deg); }
.audience-product-menu { position: absolute; z-index: 3; top: calc(100% + 4px); right: 0; left: 0; display: none; gap: 6px; padding: 7px; background: #f6f8fb; border: 1px solid #c9d8fb; border-radius: 7px; box-shadow: 0 8px 18px rgba(33, 43, 54, .16); }
.audience-product-control.is-open .audience-product-menu { display: grid; }
.audience-product-menu [data-audience-product-search] { box-sizing: border-box; width: 100%; min-height: 30px; padding: 5px 7px; background: #fff; border: 1px solid #c9cccf; border-radius: 5px; font: inherit; font-size: 11px; }
.audience-product-option-list { display: grid; gap: 4px; max-height: 168px; overflow: auto; }
.audience-product-option { display: grid; grid-template-columns: 15px minmax(0, 1fr); align-items: center; gap: 7px; padding: 6px; background: #fff; border: 1px solid #e1e3e5; border-radius: 5px; cursor: pointer; }
.audience-product-option:hover, .audience-product-option:has(input:checked) { background: #f1f8ff; border-color: #8eb8ea; }
.audience-product-option > span { display: grid; gap: 1px; min-width: 0; }
.audience-product-option strong { overflow: hidden; color: #303030; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.audience-product-option small { color: #6d7175; font-size: 10px; }
.audience-product-empty { margin: 0; color: #6d7175; font-size: 11px; }
.audience-rule-remove { display: grid; width: 28px; height: 28px; color: #8c9196; background: transparent; border: 0; border-radius: 5px; cursor: pointer; font-size: 19px; line-height: 1; place-items: center; }
.audience-rule-remove:hover { color: #d72c0d; background: #fff0f0; }
.audience-add-rule { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; color: #005bd3; background: #fff; border: 1px dashed #8c9196; border-radius: 7px; cursor: pointer; font-size: 11px; font-weight: 650; }
.audience-add-rule:hover { border-color: #005bd3; background: #f7f9ff; }

/* Funnel routing is deliberately separate from the experiment that runs after entry. */
.funnel-entry-summary {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #c9d8fb;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.funnel-entry-summary-icon {
  display: grid;
  width: 30px;
  height: 30px;
  color: #005bd3;
  background: #e8f0fe;
  border-radius: 7px;
  place-items: center;
}

.funnel-entry-summary-audience { display: grid; gap: 4px; min-width: 0; }
.funnel-entry-summary-audience > small,
.funnel-entry-summary-meta small { color: #5c5f62; font-size: 9px; font-weight: 650; }
.funnel-entry-summary .funnel-entry-rule-chips { margin: 0; }
.funnel-entry-summary .funnel-entry-rule-chips span { max-width: 180px; }

.funnel-entry-summary-meta {
  display: grid;
  gap: 1px;
  min-width: 54px;
  padding-left: 10px;
  border-left: 1px solid #e1e3e5;
}

.funnel-entry-summary-meta strong { color: #303030; font-size: 12px; }

.funnel-entry-summary-fallback {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-left: 10px;
  color: #5c5f62;
  border-left: 1px solid #e1e3e5;
}

.funnel-entry-summary-fallback small { max-width: 155px; font-size: 10px; line-height: 1.25; }
.funnel-entry-summary > .button { min-height: 30px; padding: 5px 7px; font-size: 10px; white-space: nowrap; }

.funnel-entry-overview { display: grid; gap: 14px; padding: 16px; background: #fff; border: 1px solid #c9d8fb; border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.funnel-entry-overview > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.funnel-entry-overview h2 { margin: 3px 0 4px; color: #202223; font-size: 16px; letter-spacing: -.01em; }
.funnel-entry-overview p { margin: 0; color: #6d7175; font-size: 12px; line-height: 1.45; }
.funnel-entry-overview-grid { display: grid; grid-template-columns: minmax(280px, 1.45fr) minmax(205px, 1fr) minmax(205px, 1fr); gap: 10px; }
.funnel-entry-overview-grid article { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 9px; min-width: 0; padding: 11px; background: #f6f6f7; border: 1px solid #e1e3e5; border-radius: 9px; }
.funnel-entry-overview-grid article > div { display: grid; gap: 3px; min-width: 0; }
.funnel-entry-overview-grid small { color: #6d7175; font-size: 10px; font-weight: 650; }
.funnel-entry-overview-grid strong { color: #303030; font-size: 12px; }
.funnel-entry-overview-grid p { font-size: 10px; }
.funnel-entry-overview-icon { display: grid; width: 30px; height: 30px; color: #005bd3; background: #e8f0fe; border-radius: 7px; place-items: center; }
.funnel-entry-priority-icon { color: #795600; background: #fff5d6; }
.funnel-entry-fallback-icon { color: #5c5f62; background: #ebebeb; }
.funnel-entry-rule-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.funnel-entry-rule-chips span { max-width: 100%; padding: 3px 5px; overflow: hidden; color: #3a4b67; font-size: 10px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; background: #edf3ff; border-radius: 4px; }

.funnel-preview-session { display: grid; gap: 16px; }
.funnel-preview-session-head { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 10px; color: #204f75; background: #edf6ff; border: 1px solid #c8e3fa; border-radius: 8px; }
.funnel-preview-session-head > span { display: grid; width: 30px; height: 30px; color: #005bd3; background: #d9ecff; border-radius: 7px; place-items: center; }
.funnel-preview-session-head > div { display: grid; gap: 1px; min-width: 0; }
.funnel-preview-session-head strong { color: #1f3b57; font-size: 12px; }
.funnel-preview-session-head small { color: #4a6178; font-size: 10px; }
.funnel-preview-session-head code { color: #4a6178; font-size: 10px; }
.funnel-preview-steps { display: flex; gap: 5px; padding: 1px 0; overflow-x: auto; }
.funnel-preview-step { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 5px 8px; color: #5c5f62; background: #f6f6f7; border: 1px solid #d6d6d6; border-radius: 999px; font-size: 11px; font-weight: 650; white-space: nowrap; }
.funnel-preview-step > span { display: grid; width: 16px; height: 16px; color: #5c5f62; background: #e4e5e7; border-radius: 50%; font-size: 9px; place-items: center; }
.funnel-preview-step.is-active { color: #005bd3; background: #f1f6ff; border-color: #91b2f7; }
.funnel-preview-step.is-active > span { color: #fff; background: #005bd3; }
.funnel-preview-stage { display: grid; grid-template-columns: minmax(200px, .72fr) minmax(340px, 1.28fr); gap: 18px; align-items: center; min-height: 340px; padding: 20px; background: #f6f6f7; border: 1px solid #e1e3e5; border-radius: 10px; }
.funnel-preview-stage > header { display: grid; gap: 6px; }
.funnel-preview-stage > header > span { color: #005bd3; font-size: 11px; font-weight: 650; text-transform: uppercase; }
.funnel-preview-stage h3 { margin: 0; color: #202223; font-size: 20px; }
.funnel-preview-stage p { margin: 0; color: #5c5f62; font-size: 12px; line-height: 1.45; }
.funnel-preview-device { overflow: hidden; background: #fff; border: 1px solid #c9cccf; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.funnel-preview-browser { display: flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 11px; color: #6d7175; background: #f1f1f1; border-bottom: 1px solid #d6d6d6; font-size: 9px; }
.funnel-preview-browser i { width: 6px; height: 6px; background: #b5b5b5; border-radius: 50%; }
.funnel-preview-browser span { width: 56%; margin-left: 5px; padding: 3px 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: #fff; border-radius: 4px; }
.funnel-preview-content { display: grid; gap: 16px; min-height: 270px; padding: 24px; }
.funnel-preview-checkout { display: grid; gap: 13px; padding: 17px; border: 1px solid #e1e3e5; border-radius: 8px; }
.funnel-preview-checkout > div:first-child { display: grid; gap: 2px; }
.funnel-preview-checkout strong { color: #202223; font-size: 15px; }
.funnel-preview-checkout span { color: #6d7175; font-size: 10px; }
.funnel-preview-lines { display: grid; gap: 7px; }
.funnel-preview-lines i { height: 12px; background: #eceeef; border-radius: 4px; }
.funnel-preview-lines i:nth-child(2) { width: 84%; }
.funnel-preview-lines i:nth-child(3) { width: 66%; }
.funnel-preview-total { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid #e1e3e5; }
.funnel-preview-total strong { font-size: 16px; }
.funnel-preview-offer { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 14px; padding: 18px; background: #fff8e8; border: 1px solid #f0d9a6; border-radius: 8px; }
.funnel-preview-product-image { width: 76px; height: 76px; background: linear-gradient(135deg, #e4d1a4, #9f806c); border-radius: 8px; }
.funnel-preview-offer > div:last-child { display: grid; gap: 4px; min-width: 0; }
.funnel-preview-offer span { color: #795600; font-size: 10px; font-weight: 650; text-transform: uppercase; }
.funnel-preview-offer strong { overflow: hidden; color: #202223; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.funnel-preview-offer small { color: #795600; font-size: 14px; font-weight: 650; }
.funnel-preview-thankyou { display: grid; justify-items: center; gap: 10px; padding: 30px 20px; color: #006e52; text-align: center; }
.funnel-preview-thankyou > span { display: grid; width: 50px; height: 50px; background: #dff5eb; border-radius: 50%; place-items: center; }
.funnel-preview-thankyou strong { color: #202223; font-size: 17px; }
.funnel-preview-thankyou small { color: #5c5f62; font-size: 11px; }
.funnel-preview-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: auto; }

/* Buyer-facing preview content: this is intentionally a small but believable checkout session,
   not a wireframe. It mirrors the main editor's page language within the preview modal. */
.funnel-preview-store { overflow: hidden; color: #202223; background: #fff; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.funnel-preview-merchant { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-bottom: 1px solid #eceff2; }
.funnel-preview-merchant strong { font-family: Georgia, serif; font-size: 13px; letter-spacing: .1em; }
.funnel-preview-merchant span { color: #6d7175; font-size: 9px; }
.funnel-preview-store-checkout > main { display: grid; gap: 11px; padding: 14px 16px 17px; }
.funnel-preview-order-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 10px 16px; background: #f7f7f8; border-bottom: 1px solid #e7e9eb; }
.funnel-preview-cart-thumb { width: 32px; height: 32px; background: linear-gradient(145deg, #d7cbc0, #8e7462); border: 1px solid #d4d4d4; border-radius: 6px; }
.funnel-preview-order-row div { display: grid; gap: 1px; min-width: 0; }.funnel-preview-order-row strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.funnel-preview-order-row small { color: #6d7175; font-size: 8px; }.funnel-preview-order-row > b { font-size: 10px; }
.funnel-preview-express { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }.funnel-preview-express span { display: grid; min-height: 29px; color: #fff; background: #5a31f4; border-radius: 5px; font-size: 8px; font-weight: 800; place-items: center; }.funnel-preview-express span:nth-child(2) { color: #123; background: #ffc439; }.funnel-preview-express span:nth-child(3) { background: #111; }
.funnel-preview-or { display: flex; align-items: center; gap: 7px; color: #85898e; font-size: 7px; text-align: center; }.funnel-preview-or::before, .funnel-preview-or::after { flex: 1; height: 1px; background: #e2e4e7; content: ''; }
.funnel-preview-form-section { display: grid; gap: 5px; }.funnel-preview-form-section > div:first-child { display: flex; justify-content: space-between; }.funnel-preview-form-section strong { font-size: 10px; }.funnel-preview-form-section a, .funnel-preview-form-section label { color: #6d7175; font-size: 8px; }.funnel-preview-form-section > i { display: block; height: 28px; border: 1px solid #c9cdd1; border-radius: 4px; }.funnel-preview-field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }.funnel-preview-field-pair i { height: 24px; border: 1px solid #c9cdd1; border-radius: 4px; }.funnel-preview-card-field { display: flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 8px; background: #f7f7f8; border: 1px solid #555; border-radius: 4px; font-size: 8px; }.funnel-preview-card-field b { font-size: 11px; }.funnel-preview-total-row { display: flex; justify-content: space-between; padding-top: 9px; border-top: 1px solid #e2e4e7; font-size: 10px; }.funnel-preview-total-row strong { font-size: 14px; }
.funnel-preview-store-offer { text-align: center; }.funnel-preview-postpurchase-note { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 10px; color: #2e6547; background: #edf8f1; font-size: 8px; }.funnel-preview-store-offer main { padding: 19px 20px 16px; }.funnel-preview-offer-kicker { color: #5f4ac6; font-size: 8px; font-weight: 800; letter-spacing: .13em; }.funnel-preview-store-offer h4 { margin: 9px 0 5px; font-family: Georgia, serif; font-size: 18px; }.funnel-preview-store-offer p { margin: 0; color: #6d7175; font-size: 10px; line-height: 1.45; }.funnel-preview-store-offer .funnel-preview-product-image { width: 104px; height: 104px; margin: 13px auto 0; background: radial-gradient(circle at 35% 30%, #e9ded4, #a18572 60%, #6e5544); border-radius: 14px; box-shadow: inset 0 0 0 6px rgba(255,255,255,.35), 0 7px 16px rgba(79,58,44,.15); }.funnel-preview-price { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 9px 0; }.funnel-preview-price s { color: #90969d; font-size: 11px; }.funnel-preview-price strong { font-size: 18px; }.funnel-preview-price em { padding: 2px 5px; color: #805200; background: #fff0c7; border-radius: 4px; font-size: 7px; font-style: normal; font-weight: 800; }.funnel-preview-store-offer ul { display: inline-grid; gap: 4px; margin: 4px auto 0; padding: 0; color: #5c6570; font-size: 9px; list-style: none; text-align: left; }.funnel-preview-store-offer li::before { color: #18794e; content: '✓ '; }
.funnel-preview-store-thankyou main { padding: 20px 16px; }.funnel-preview-store-thankyou .funnel-preview-thankyou { display: grid; justify-items: center; gap: 5px; padding: 4px 0 17px; text-align: center; }.funnel-preview-thankyou > span { display: grid; width: 42px; height: 42px; color: #167a4b; background: #e2f5ea; border-radius: 50%; place-items: center; }.funnel-preview-thankyou small { color: #6d7175; font-size: 9px; }.funnel-preview-thankyou strong { font-family: Georgia, serif; font-size: 18px; }.funnel-preview-thankyou p { margin: 0; color: #6d7175; font-size: 9px; }.funnel-preview-delivery-card, .funnel-preview-receipt { display: grid; gap: 5px; padding: 11px; border: 1px solid #e0e3e6; border-radius: 7px; }.funnel-preview-delivery-card > span, .funnel-preview-delivery-card small { color: #6d7175; font-size: 8px; }.funnel-preview-delivery-card > strong { font-size: 11px; }.funnel-preview-delivery-card i { display: block; height: 5px; overflow: hidden; background: #e2e6e9; border-radius: 999px; }.funnel-preview-delivery-card i b { display: block; width: 58%; height: 100%; background: #1f8052; }.funnel-preview-receipt { gap: 4px; margin-top: 10px; }.funnel-preview-receipt div { display: flex; justify-content: space-between; color: #5d6773; font-size: 9px; }.funnel-preview-receipt div:last-child { padding-top: 7px; color: #202223; border-top: 1px solid #e1e3e5; font-size: 10px; }

.funnel-entry-modal-intro { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 9px; padding: 11px; color: #303030; background: #f1f6ff; border: 1px solid #c9d8fb; border-radius: 8px; }
.funnel-entry-modal-intro > span { display: grid; width: 30px; height: 30px; color: #005bd3; background: #e8f0fe; border-radius: 7px; place-items: center; }
.funnel-entry-modal-intro > div { display: grid; gap: 2px; }
.funnel-entry-modal-intro small { color: #005bd3; font-size: 10px; font-weight: 650; }
.funnel-entry-modal-intro strong { font-size: 12px; }
.funnel-entry-modal-intro p { margin: 0; color: #5c5f62; font-size: 11px; line-height: 1.4; }
.funnel-priority-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.funnel-priority-fields label { display: grid; grid-template-rows: 16px 34px minmax(27px, auto); align-content: start; gap: 5px; color: #303030; font-size: 12px; font-weight: 650; }
.funnel-priority-fields small { color: #6d7175; font-size: 10px; font-weight: 400; line-height: 1.35; }
.funnel-priority-fields input { box-sizing: border-box; width: 100%; min-height: 34px; height: 34px; margin: 0; }
.funnel-priority-fields input:disabled { color: #5c5f62; background: #f1f1f1; }

.experiment-entry-summary { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 10px; background: #f1f6ff; border: 1px solid #c9d8fb; border-radius: 8px; }
.experiment-entry-summary > span { display: grid; width: 30px; height: 30px; color: #005bd3; background: #e8f0fe; border-radius: 7px; place-items: center; }
.experiment-entry-summary > div { display: grid; gap: 1px; min-width: 0; }
.experiment-entry-summary small { color: #005bd3; font-size: 10px; font-weight: 650; }
.experiment-entry-summary strong { color: #303030; font-size: 12px; }
.experiment-entry-summary p { margin: 0; overflow: hidden; color: #5c5f62; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 980px) {
  .funnel-entry-overview-grid { grid-template-columns: 1fr; }
  .funnel-entry-summary { grid-template-columns: 30px minmax(0, 1fr) auto; }
  .funnel-entry-summary-fallback { grid-column: 2; padding-left: 0; border-left: 0; }
  .funnel-entry-summary > .button { grid-column: 3; grid-row: 1 / span 2; }
}

@media (max-width: 600px) {
  .funnel-entry-overview > header { display: grid; }
  .funnel-entry-overview > header .button { justify-self: start; }
  .funnel-priority-fields { grid-template-columns: 1fr; }
  .experiment-entry-summary { grid-template-columns: 30px minmax(0, 1fr); }
  .experiment-entry-summary .button { grid-column: 2; justify-self: start; }
  .funnel-entry-summary { grid-template-columns: 30px minmax(0, 1fr); }
  .funnel-entry-summary-meta { grid-column: 2; padding-left: 0; border-left: 0; }
  .funnel-entry-summary-fallback { grid-column: 2; }
  .funnel-entry-summary > .button { grid-column: 2; grid-row: auto; justify-self: start; }
  .audience-rule-row { grid-template-columns: minmax(0, 1fr) 28px; align-items: start; }
  .audience-rule-row > select,
  .audience-rule-row > input,
  .audience-rule-row > .audience-tag-editor,
  .audience-rule-row > [data-audience-product-control],
  .audience-rule-row > .audience-number-range,
  .audience-rule-row > [data-audience-money-control],
  .audience-rule-row > [data-audience-days-control] { grid-column: 1; }
  .audience-rule-remove { grid-column: 2; grid-row: 1; }
}

.journey-offer-lanes { display: grid; gap: 16px; min-width: 0; }
.journey-offer-fallback { position: relative; padding-top: 15px; }
.journey-offer-fallback::before { position: absolute; top: 0; left: 19px; width: calc(100% - 38px); border-top: 1px dashed #b98900; content: ''; }
.journey-decline-connector { display: inline-flex; align-items: center; gap: 4px; margin: -3px 0 -5px 18px; color: #795600; font-size: 10px; }
.journey-decline-connector span { transform: rotate(90deg); }
.journey-decline-connector small { font-size: 10px; }

.journey-page-choice-list { display: grid; gap: 8px; }
.journey-page-choice { display: grid; grid-template-columns: 28px minmax(0, 1fr) 18px; align-items: center; gap: 10px; width: 100%; padding: 11px; color: var(--p-text); text-align: left; background: #fff; border: 1px solid var(--p-border); border-radius: 9px; }
.journey-page-choice:hover { border-color: #005bd3; background: #f7f9ff; }
.journey-page-choice > span:first-child { display: grid; width: 28px; height: 28px; color: #005bd3; background: #e8f0fe; border-radius: 7px; place-items: center; }
.journey-page-choice > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.journey-page-choice strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.journey-page-choice small { color: var(--p-text-subdued); font-size: 10px; }
.journey-page-choice-empty { display: grid; justify-items: center; gap: 7px; padding: 28px 12px; color: var(--p-text-subdued); text-align: center; background: #f6f6f7; border: 1px dashed #c9cccf; border-radius: 9px; }
.journey-page-choice-empty strong { color: var(--p-text); }
.journey-page-choice-empty p { font-size: 11px; }

@media (max-width: 1100px) {
  .global-funnel-router-list { grid-template-columns: 1fr; }
  .funnel-index-tabs { gap: 16px; }
}

@media (max-width: 760px) {
  .global-funnel-router-head { display: grid; }
  .global-funnel-router-note { justify-self: start; }
  .funnel-index-toolbar { min-height: 52px; padding: 0 12px; }
  .funnel-index-tabs { gap: 14px; }
  .funnel-index-tab { min-height: 52px; font-size: 12px; }
  .funnel-index-count { display: none; }
  .funnel-detail-intro { align-items: flex-start; }
  .funnel-detail-intro .title-with-badge { display: none; }
}

@media (max-width: 1360px) {
  .funnel-workspace { grid-template-columns: 1fr; }
  .funnel-rail { position: static; }
  .funnel-list { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; }
  .funnel-list-item { border-right: 1px solid var(--p-border); }
}

@media (max-width: 1180px) {
  :root { --shopify-sidebar: 220px; }
  .page-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editor-workspace { grid-template-columns: 220px minmax(400px, 1fr) 250px; }
  .node-inspector { grid-template-columns: 1fr auto; }
  .node-inspector dl { display: none; }
}

@media (max-width: 980px) {
  :root { --shopify-sidebar: 0px; }
  .shopify-topbar { grid-template-columns: 160px minmax(180px, 1fr) auto; }
  .shopify-sidebar { display: none; }
  .desktop-language-floating { display: none; }
  .mobile-language-widget { display: block; }
  .mobile-language-widget .language-trigger {
    display: grid;
    grid-template-columns: 25px;
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 5px;
  }
  .mobile-language-widget .language-trigger > strong,
  .mobile-language-widget .language-trigger > i { display: none; }
  .mobile-language-widget .language-menu {
    top: calc(100% + 6px);
    right: 0;
    bottom: auto;
    left: auto;
    width: 210px;
  }
  .shopify-body { grid-template-columns: 1fr; }
  .mobile-app-nav {
    position: sticky;
    z-index: 24;
    top: calc(var(--shopify-topbar) + 56px);
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 6px 12px;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--p-border);
  }
  .mobile-app-nav .app-nav-item {
    flex: 0 0 auto;
    width: auto;
    min-height: 44px;
  }
  .mobile-app-nav .app-nav-item.is-active { box-shadow: inset 0 -2px var(--p-action); }
  .page-root { min-height: calc(100vh - 150px); padding: 20px 18px 42px; }
  .page-root-editor { padding: 0; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .funnel-workspace { grid-template-columns: 1fr; }
  .funnel-rail { position: static; }
  .funnel-list { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; }
  .funnel-list-item { border-right: 1px solid var(--p-border); }
  .settings-two-col { grid-template-columns: 1fr; }
  .editor-toolbar { grid-template-columns: 1fr auto; }
  .editor-toolbar-center { display: none; }
  .editor-workspace { grid-template-columns: 1fr; }
  .editor-deployment-notice { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .editor-deployment-notice em { grid-column: 1 / -1; }
  .editor-panel { max-height: none; overflow: visible; border: 0; border-bottom: 1px solid var(--p-border); }
  .editor-structure { order: 2; }
  .editor-stage { order: 1; min-height: 600px; }
  .editor-inspector { order: 3; }
  .structure-tree { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .structure-group-label, .add-section { grid-column: 1 / -1; }
  .editor-runtime-note { flex-wrap: wrap; text-align: center; }
}

@media (max-width: 760px) {
  .funnel-library-list { display: flex; overflow-x: auto; }
  .funnel-library-list .funnel-list-item { min-width: 235px; border-right: 1px solid var(--p-border); }
  .funnel-canvas-toolbar { align-items: flex-start; flex-direction: column; }
  .funnel-canvas-legend { white-space: normal; }
  .shopify-topbar { grid-template-columns: 130px 1fr auto; }
  .shopify-search kbd, .shopify-top-actions strong { display: none; }
  .shopify-top-actions { gap: 2px; }
  .embedded-titlebar { padding: 8px 13px; }
  .connection-status { display: none; }
  .page-header-row { flex-direction: column; }
  .page-actions { width: 100%; }
  .home-grid, .overview-main-grid, .overview-dashboard-grid, .funnel-lower-grid { grid-template-columns: 1fr; }
  .quickstart-overview, .quickstart-body { grid-template-columns: 1fr; }
  .launch-checklist-head { grid-template-columns: 1fr; gap: 14px; }
  .launch-checklist-progress { justify-self: start; min-width: 180px; }
  .launch-checklist-progress > div:first-child, .launch-checklist-progress small { justify-content: flex-start; text-align: left; }
  .quickstart-side { justify-content: space-between; }
  .onboarding-modal-grid, .onboarding-after-launch { grid-template-columns: 1fr; }
  .overview-funnel-row { grid-template-columns: minmax(150px, 1fr) 80px auto 16px; }
  .overview-funnel-row > span:nth-child(3) { display: none; }
  .funnel-draft-guide { grid-template-columns: 32px minmax(0, 1fr); }
  .funnel-draft-guide ol { grid-column: 2; flex-wrap: wrap; }
  .page-card-grid, .provider-grid { grid-template-columns: 1fr; }
  .setup-path-grid, .connection-flow { grid-template-columns: 1fr; }
  .connection-flow > i { display: none; }
  .payment-setup-head { align-items: flex-start; flex-direction: column; }
  .activity-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .sync-stats, .domain-facts { grid-template-columns: repeat(2, 1fr); }
  .url-guardrails, .contract-list { grid-template-columns: 1fr; }
  .shared-style-grid { grid-template-columns: repeat(2, 1fr); }
  .installation-facts, .installation-scope-grid { grid-template-columns: 1fr; }
  .installation-flow { display: grid; grid-template-columns: 1fr; }
  .installation-flow-arrow { justify-self: center; transform: rotate(90deg); }
  .seed-callout, .attribution-footnote { grid-template-columns: auto 1fr; }
  .seed-callout .button, .attribution-footnote .button { grid-column: 1 / -1; justify-self: start; }
  .traffic-bar { grid-template-columns: 1fr auto; }
  .traffic-bar .progress-track { grid-column: 1 / -1; grid-row: 2; }
  .node-inspector { grid-template-columns: 1fr; }
  .activity-filter-bar { align-items: center; flex-wrap: wrap; }
  .activity-filter-rail { flex: 1; min-width: min(100%, 380px); }
  .activity-search-control { min-width: 180px; flex: 1; }
  .activity-filter-bar .filter-meta { width: auto; margin-left: auto; }
  .timeline-card header { align-items: flex-start; }
  .timeline-card header > div { display: grid; gap: 2px; }
  .timeline-card footer { flex-wrap: wrap; }
  .timeline-card footer .button { width: 100%; margin-left: 0; justify-content: flex-start; }
  .embed-boundaries { grid-template-columns: 1fr; }
  .settings-tab { min-height: 44px; }
  .architecture-hosts { flex-direction: column; }
  .editor-toolbar { grid-template-columns: 1fr; }
  .editor-toolbar-actions { justify-content: flex-start; padding-left: 39px; }
  .editor-stage { padding: 12px 8px 24px; }
  .editor-stage-meta span:last-child { display: none; }
}

@media (max-width: 520px) {
  .shopify-topbar { grid-template-columns: auto minmax(120px, 1fr) auto; padding: 0 8px; }
  .shopify-brand strong, .shopify-top-actions button:first-child { display: none; }
  .shopify-brand { width: 42px; }
  .shopify-search { height: 32px; }
  .shopify-top-actions .shopify-account { margin-left: 2px; }
  .embedded-titlebar small { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .page-root { padding: 16px 12px 36px; }
  .quickstart-card { padding: 14px; }
  .launch-checklist-head { padding: 16px; }
  .launch-checklist-row { grid-template-columns: 24px minmax(0, 1fr); gap: 9px; min-height: auto; padding: 12px 14px; }
  .launch-checklist-row .launch-checklist-action, .launch-checklist-row .launch-checklist-status { grid-column: 2; justify-self: start; margin-top: 2px; }
  .launch-checklist-icon { width: 20px; height: 20px; }
  .launch-checklist-footer { padding: 12px 14px; }
  .launch-checklist-optional { grid-template-columns: 24px minmax(0, 1fr); margin: 13px 14px 15px; padding: 10px; }
  .launch-checklist-optional button { grid-column: 2; justify-self: start; }
  .quickstart-side { grid-template-columns: 1fr; align-items: stretch; }
  .quickstart-side .button { width: 100%; }
  .quickstart-steps { grid-template-columns: 1fr; }
  .onboarding-modal-intro { grid-template-columns: 30px minmax(0, 1fr); }
  .onboarding-modal-intro > b { grid-column: 2; justify-self: start; }
  .onboarding-current-step { padding: 13px; }
  .setup-assist { grid-template-columns: 28px minmax(0, 1fr); }
  .setup-assist .button { grid-column: 2; justify-self: start; }
  .provider-connect-flow { grid-template-columns: 1fr; }
  .metric-grid, .activity-summary-grid, .sync-stats, .detail-grid, .domain-facts, .shared-style-grid { grid-template-columns: 1fr; }
  .metric-card > strong { font-size: 22px; }
  .check-row { grid-template-columns: 28px minmax(0, 1fr) 16px; }
  .check-row .badge { display: none; }
  .check-copy small { white-space: normal; }
  .activity-compact { grid-template-columns: 32px minmax(0, 1fr); }
  .activity-compact time { grid-column: 2; }
  .filter-bar { align-items: flex-start; flex-direction: column; }
  .funnel-title-row { flex-direction: column; }
  .funnel-title-row .inline-actions { width: 100%; }
  .funnel-title-row .button { flex: 1; }
  .traffic-bar { grid-template-columns: 1fr auto; padding: 10px 12px; }
  .funnel-canvas { grid-template-columns: 1fr; align-items: stretch; gap: 8px; min-width: 0; min-height: 0; }
  .journey-stage { width: 100%; }
  .journey-connector { width: 100%; height: 24px; place-items: center; transform: rotate(90deg); }
  .journey-stage-offers { min-width: 0; }
  .offer-outcomes, .offer-outcome-preview { grid-template-columns: 1fr; }
  .fallback-step { margin-left: 12px; }
  .funnel-draft-guide { grid-template-columns: 30px minmax(0, 1fr); padding: 10px 12px; }
  .funnel-draft-guide ol { grid-column: 1 / -1; }
  .overview-funnel-row { grid-template-columns: minmax(0, 1fr) auto 16px; }
  .overview-funnel-row > span:nth-child(2),
  .overview-funnel-row > span:nth-child(3) { display: none; }
  .wizard-progress { grid-template-columns: 1fr 20px 1fr; }
  .wizard-progress > span { font-size: 10px; }
  .goal-card-copy > span { align-items: flex-start; }
  .audience-starter-grid { grid-template-columns: 1fr; }
  .canvas-stage-entry,
  .canvas-stage-checkout,
  .canvas-stage-post,
  .canvas-stage-thankyou {
    width: 100%;
  }
  .canvas-link {
    width: 100%;
    height: 24px;
    transform: rotate(90deg);
  }
  .canvas-branch { gap: 10px; }
  .canvas-branch::before { display: none; }
  .branch-label {
    position: static;
    display: inline-flex;
    justify-self: start;
    padding: 2px 6px;
    color: var(--p-text-subdued);
    background: var(--p-surface-subdued);
    border-radius: 999px;
    font-size: 9px;
  }
  .page-card-actions { flex-wrap: wrap; }
  .page-card-actions .button { flex: 1; }
  .page-card-actions .icon-button { margin-left: 0; }
  .table-toolbar { align-items: flex-start; flex-direction: column; padding-top: 8px; }
  .tabs { width: 100%; gap: 12px; overflow-x: auto; }
  .tab { flex: 0 0 auto; }
  .timeline { padding-left: 0; }
  .timeline::before { left: 15px; }
  .timeline-event { grid-template-columns: 30px minmax(0, 1fr); gap: 7px; }
  .timeline-marker { width: 30px; height: 30px; }
  .timeline-card { padding: 11px; }
  .domain-hero-top { grid-template-columns: 42px minmax(0, 1fr); }
  .domain-hero-top > .badge { grid-column: 2; }
  .url-pattern { grid-template-columns: 1fr; }
  .url-pattern i { grid-row: auto; transform: rotate(90deg); }
  .url-pattern span, .url-pattern code { grid-column: 1; grid-row: auto; }
  .attribution-flow { justify-content: flex-start; }
  .modal-backdrop { align-items: end; padding: 0; }
  .modal, .modal-wide { width: 100%; border-radius: 16px 16px 0 0; }
  .modal-body { max-height: 68vh; }
  .modal-footer .button { flex: 1; }
  .info-modal-grid { grid-template-columns: 1fr; }
  .capability-formula { justify-content: flex-start; }
  .structure-tree { grid-template-columns: 1fr; }
  .editor-breadcrumb span:first-child, .editor-breadcrumb i:first-of-type, .editor-toolbar-left .badge { display: none; }
  .editor-toolbar-actions { padding-left: 0; }
  .save-state { width: 100%; }
  .editor-toolbar-actions { flex-wrap: wrap; }
  .editor-toolbar-actions .button { flex: 1; }
  .editor-runtime-note span:last-child { display: none; }
  .editor-shared-notice { grid-template-columns: 28px minmax(0, 1fr); }
  .editor-shared-notice .button { grid-column: 1 / -1; justify-self: start; }
  .editor-deployment-notice { grid-template-columns: 1fr 1fr; }
  .editor-deployment-notice > span:last-of-type,
  .editor-deployment-notice em { grid-column: 1 / -1; }
  .preview-frame { border-radius: 8px; }
  .buyer-checkout-grid, .buyer-thankyou-grid { grid-template-columns: 1fr; }
  .buyer-checkout-grid > main, .buyer-thankyou-grid > main, .buyer-checkout-grid > aside, .buyer-thankyou-grid > aside { padding: 22px 20px; }
  .buyer-checkout-grid > aside, .buyer-thankyou-grid > aside { order: -1; border: 0; border-bottom: 1px solid #ddd; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Keep Checkout edits completable on narrow screens. */
.sce-ref-topbar .sce-top-right .sce-button:not(.primary) { display:inline-flex; align-items:center; justify-content:center; }
@media (max-width:800px) {
  .sce-ref-frame.is-mobile { width:min(390px,100%); min-width:0; }
}

/* Standalone BestCheckout portal ------------------------------------------------ */
.marketing-site,
.help-center,
.portal-auth,
.connect-flow {
  --bc-ink: #172033;
  --bc-muted: #5f6b7f;
  --bc-line: #e7eaf1;
  --bc-soft: #f5f7fb;
  --bc-blue: #4263eb;
  --bc-blue-dark: #2c49ce;
  color: var(--bc-ink);
  background: #fff;
}

.portal-mark,
.marketing-brand .portal-mark {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #5973ff, #263fc1);
  border-radius: 9px;
  font-weight: 800;
  letter-spacing: -.08em;
}

.marketing-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 clamp(24px, 6vw, 100px);
  border-bottom: 1px solid rgba(231, 234, 241, .75);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
}

.marketing-brand,
.portal-auth-brand,
.bc-portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  font-size: 16px;
  letter-spacing: -.03em;
  text-decoration: none;
}

.marketing-nav nav,
.marketing-actions,
.marketing-hero-actions,
.marketing-hero-proof,
.marketing-footer > div {
  display: flex;
  align-items: center;
  gap: 26px;
}

.marketing-nav nav a,
.marketing-footer a,
.marketing-footer button,
.marketing-login,
.marketing-text-link {
  padding: 0;
  color: #4b5568;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.marketing-nav nav a:hover,
.marketing-login:hover,
.marketing-text-link:hover,
.marketing-footer a:hover,
.marketing-footer button:hover { color: var(--bc-blue); }

.marketing-cta,
.portal-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  color: #fff;
  border: 1px solid var(--bc-blue);
  border-radius: 9px;
  background: var(--bc-blue);
  box-shadow: 0 6px 15px rgba(66, 99, 235, .22);
  font-weight: 700;
  text-decoration: none;
}

.marketing-cta:hover,
.portal-submit:hover { background: var(--bc-blue-dark); border-color: var(--bc-blue-dark); }
.marketing-cta-large { min-height: 48px; padding: 0 19px; font-size: 14px; }

.marketing-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  min-height: 620px;
  padding: 82px clamp(24px, 8vw, 140px) 104px;
  overflow: hidden;
  background: radial-gradient(circle at 84% 23%, rgba(123, 145, 255, .2), transparent 24%), linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.marketing-eyebrow,
.portal-auth-eyebrow,
.portal-auth-kicker {
  display: block;
  color: var(--bc-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.marketing-hero h1,
.marketing-section-heading h2,
.marketing-final h2,
.portal-auth-aside h1,
.connect-card h1 {
  margin: 14px 0 18px;
  color: #141c2e;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 750;
  letter-spacing: -.065em;
  line-height: .98;
}

.marketing-hero h1 em,
.portal-auth-aside h1 em { color: var(--bc-blue); font-style: normal; }
.marketing-hero p { max-width: 560px; color: var(--bc-muted); font-size: 18px; line-height: 1.65; }
.marketing-hero-actions { margin-top: 30px; }
.marketing-hero-proof { gap: 16px; margin-top: 20px; color: #526075; font-size: 12px; font-weight: 600; }
.marketing-hero-proof span { display: inline-flex; align-items: center; gap: 5px; }
.marketing-hero-proof svg { color: #16835b; }

.marketing-hero-visual {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe4ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(27, 45, 94, .14), 0 5px 18px rgba(27, 45, 94, .08);
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
}
.marketing-preview-top { display:flex; align-items:center; gap:8px; height:52px; padding:0 16px; border-bottom:1px solid #ecedf2; color:#263147; font-size:12px; font-weight:700; }
.marketing-preview-top .preview-logo { display:grid; width:21px; height:21px; place-items:center; color:#fff; border-radius:6px; background:var(--bc-blue); font-size:11px; }
.marketing-preview-top i { flex:1; }
.marketing-preview-top small { padding:5px 8px; border-radius:6px; background:#f4f6fa; font-size:10px; }
.marketing-preview-body { display:grid; grid-template-columns:132px minmax(0,1fr); min-height:340px; background:#f7f8fb; }
.marketing-preview-body aside { display:flex; flex-direction:column; gap:5px; padding:16px 10px; border-right:1px solid #e8eaf0; background:#fff; }
.marketing-preview-body aside span { padding:7px 9px; color:#718098; border-radius:5px; font-size:10px; font-weight:650; }
.marketing-preview-body aside .is-active { color:#3151dd; background:#edf0ff; }
.marketing-preview-body section { padding:26px; }
.preview-heading { display:flex; flex-direction:column; gap:3px; color:#7d899a; font-size:10px; }
.preview-heading b { color:#253049; font-size:16px; }
.preview-metrics { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:18px; }
.preview-metrics > div { display:grid; gap:4px; padding:13px; border:1px solid #e5e8ef; border-radius:9px; background:#fff; }
.preview-metrics small { color:#7b8799; font-size:9px; }
.preview-metrics strong { color:#1e2940; font-size:18px; }
.preview-metrics em { color:#16835b; font-size:10px; font-style:normal; }
.preview-flow { display:flex; align-items:center; gap:7px; margin-top:16px; padding:11px; border-radius:8px; background:#fff; color:#62708a; font-size:10px; }
.preview-flow strong { color:#3151dd; }
.preview-flow svg { width:12px; }
.preview-chart { display:flex; align-items:end; gap:9px; height:80px; margin-top:17px; padding:12px; border-radius:9px; background:#fff; }
.preview-chart i { width:12%; border-radius:4px 4px 1px 1px; background:linear-gradient(180deg, #7e93ff, #405ee8); }
.preview-chart i:nth-child(1){height:35%}.preview-chart i:nth-child(2){height:49%}.preview-chart i:nth-child(3){height:43%}.preview-chart i:nth-child(4){height:68%}.preview-chart i:nth-child(5){height:60%}.preview-chart i:nth-child(6){height:84%}.preview-chart i:nth-child(7){height:100%}

.marketing-value,
.marketing-process,
.marketing-security,
.marketing-final { padding: 110px clamp(24px, 8vw, 140px); }
.marketing-value { display:grid; grid-template-columns:minmax(250px,.9fr) minmax(0,1.1fr); gap:90px; background:#fff; }
.marketing-section-heading h2 { margin-top:12px; font-size:clamp(34px,4vw,54px); }
.marketing-section-heading p { max-width:470px; color:var(--bc-muted); font-size:16px; line-height:1.65; }
.marketing-value-grid { display:grid; gap:0; border-top:1px solid var(--bc-line); }
.marketing-value-grid article { position:relative; padding:26px 0 27px 54px; border-bottom:1px solid var(--bc-line); }
.marketing-value-grid article > span { position:absolute; left:0; display:grid; width:34px; height:34px; place-items:center; color:var(--bc-blue); border-radius:9px; background:#edf0ff; }
.marketing-value-grid h3 { margin-bottom:7px; color:#1b2538; font-size:17px; }
.marketing-value-grid p { max-width:500px; color:var(--bc-muted); font-size:14px; line-height:1.65; }
.marketing-process { display:grid; grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr); gap:90px; background:#182033; }
.marketing-process .marketing-section-heading h2, .marketing-process .marketing-eyebrow { color:#fff; }
.marketing-process .marketing-eyebrow { color:#aab8ff; }
.marketing-process ol { margin:0; padding:0; list-style:none; }
.marketing-process li { display:grid; grid-template-columns:68px 1fr; gap:20px; padding:23px 0; border-top:1px solid rgba(255,255,255,.15); }
.marketing-process li:last-child { border-bottom:1px solid rgba(255,255,255,.15); }
.marketing-process li > span { color:#aab8ff; font-size:13px; font-weight:800; }
.marketing-process h3 { margin-bottom:5px; color:#fff; font-size:18px; }
.marketing-process p { color:#b6c0d2; line-height:1.65; }
.marketing-security { display:grid; grid-template-columns:1fr 1fr; gap:100px; align-items:center; background:#f6f8fc; }
.marketing-security h2 { max-width:530px; margin:12px 0; color:#182033; font-size:clamp(32px,4vw,50px); letter-spacing:-.05em; line-height:1.04; }
.marketing-security > div > p { max-width:500px; color:var(--bc-muted); font-size:16px; line-height:1.65; }
.marketing-security ul { display:grid; gap:18px; margin:0; padding:0; list-style:none; }
.marketing-security li { display:flex; gap:14px; padding:18px; border:1px solid #e3e7f0; border-radius:12px; background:#fff; }
.marketing-security li > svg { flex:0 0 auto; color:var(--bc-blue); }
.marketing-security li span { display:grid; gap:4px; }
.marketing-security li small { color:var(--bc-muted); }
.marketing-final { text-align:center; background:linear-gradient(135deg, #3448c9, #526fee 64%, #6e88ff); }
.marketing-final .marketing-eyebrow { color:#c9d2ff; }
.marketing-final h2 { color:#fff; font-size:clamp(40px,5vw,64px); }
.marketing-final p { margin:0 auto 25px; color:#dce2ff; font-size:16px; }
.marketing-final .marketing-cta { color:#2d45ca; border-color:#fff; background:#fff; box-shadow:none; }
.marketing-final .marketing-cta:hover { color:#1e36b7; background:#e8ecff; }
.marketing-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:28px clamp(24px, 8vw, 140px); color:#768198; border-top:1px solid var(--bc-line); font-size:12px; }
.marketing-footer > span { flex:1; }

.portal-auth { display:grid; grid-template-columns:minmax(360px,.88fr) minmax(460px,1.12fr); min-height:100vh; }
.portal-auth-aside { display:flex; flex-direction:column; justify-content:space-between; padding:42px clamp(32px,6vw,96px); color:#e7ecff; background:radial-gradient(circle at 84% 18%, rgba(111,139,255,.45), transparent 28%), linear-gradient(150deg, #152033, #253a88); }
.portal-auth-aside .portal-auth-brand { color:#fff; }
.portal-auth-kicker { margin-top:112px; color:#b8c5ff; }
.portal-auth-aside h1 { color:#fff; font-size:clamp(40px,4.4vw,61px); }
.portal-auth-aside h1 em { color:#afbcff; }
.portal-auth-aside > div > p { max-width:420px; color:#c4cee8; font-size:16px; line-height:1.7; }
.portal-auth-aside-proof { display:flex; gap:12px; max-width:390px; padding-top:20px; border-top:1px solid rgba(255,255,255,.2); }
.portal-auth-aside-proof svg { flex:0 0 auto; color:#b9c6ff; }
.portal-auth-aside-proof p { color:#c4cee8; font-size:13px; line-height:1.65; }
.portal-auth-main { display:grid; place-items:center; padding:42px 24px; background:#fff; }
.portal-auth-card { width:min(100%, 412px); }
.portal-auth-card h2 { margin:9px 0 6px; color:#1a2438; font-size:30px; letter-spacing:-.04em; }
.portal-auth-card > p { margin-bottom:27px; color:var(--bc-muted); }
.portal-auth-mobile-brand { display:none; margin-bottom:50px; }
.portal-form { display:grid; gap:16px; }
.portal-form label { display:grid; gap:7px; color:#344057; font-size:13px; font-weight:700; }
.portal-field-label { display:block; }
.portal-form input { width:100%; height:44px; padding:0 12px; color:#1e2a40; border:1px solid #d6dce8; border-radius:8px; background:#fff; font-weight:500; }
.portal-form input::placeholder { color:#a5afc0; }
.portal-form input:focus { border-color:var(--bc-blue); box-shadow:0 0 0 3px rgba(66,99,235,.12); outline:0; }
.portal-field.is-invalid > input,
.portal-field.is-invalid .portal-password-field input { border-color:#d72c0d; background:#fffafa; box-shadow:0 0 0 3px rgba(215,44,13,.1); }
.portal-field.is-invalid > input:focus,
.portal-field.is-invalid .portal-password-field input:focus { border-color:#c22b18; box-shadow:0 0 0 3px rgba(215,44,13,.16); }
.portal-field-error { display:block; margin-top:-1px; color:#c22b18; font-size:12px; font-weight:600; line-height:1.4; }
.portal-password-field { position:relative; }
.portal-password-field input { padding-right:42px; }
.portal-password-field button { position:absolute; top:7px; right:7px; display:grid; width:30px; height:30px; place-items:center; color:#78849a; border:0; border-radius:6px; background:transparent; }
.portal-code-field { display:flex; align-items:center; gap:8px; }
.portal-code-field input { min-width:0; }
.portal-code-send { flex:0 0 auto; min-width:104px; height:44px; padding:0 11px; color:var(--bc-blue); border:1px solid #cfd8ff; border-radius:8px; background:#f6f8ff; font-size:12px; font-weight:750; white-space:nowrap; transition:border-color .2s ease, background .2s ease, color .2s ease; }
.portal-code-send:hover:not(:disabled) { border-color:#9eaff9; background:#eef2ff; }
.portal-code-send:disabled { color:#8994a9; border-color:#e0e4ec; background:#f5f6f8; font-weight:500; cursor:not-allowed; }
.portal-form-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.portal-check { display:flex !important; grid-template-columns:16px minmax(0,1fr); align-items:start; gap:8px !important; color:#5e6a7e !important; font-size:12px !important; font-weight:550 !important; }
.portal-check input { width:16px; height:16px; margin:0; accent-color:var(--bc-blue); }
.portal-inline-button { padding:0; color:var(--bc-blue); border:0; background:transparent; font-size:12px; font-weight:700; }
.portal-submit { width:100%; min-height:46px; margin-top:3px; }
.connect-form-actions { display:block; margin-top:3px; }
.connect-form-actions .portal-submit { width:100%; }
.connect-form-actions .portal-submit { min-width:0; margin:0; }
.portal-connect-later { min-height:46px; padding:0 16px; color:#405de5; border:1px solid #cfd7ec; border-radius:8px; background:#fff; font-size:13px; font-weight:700; transition:border-color .2s ease, background .2s ease; }
.portal-connect-later:hover { border-color:#8da2ef; background:#f5f7ff; }
.portal-terms { margin-top:2px; }
.connect-confirmation { margin-top:2px; }
.connect-confirmation.is-invalid .portal-terms { padding:0; border:0; border-radius:0; background:transparent; }
.connect-confirmation.is-invalid .portal-terms input { appearance:none; -webkit-appearance:none; box-sizing:border-box; width:16px; min-width:16px; height:16px; padding:0; border:1px solid #d82c0d; border-radius:2px; background:#fffafa; outline:0; box-shadow:none; }
.connect-confirmation-error { margin:7px 0 0 24px; color:#c22b18; font-size:12px; font-weight:600; line-height:1.4; }
.portal-terms-note { margin:12px 0 0 !important; color:#748097 !important; font-size:11px !important; line-height:1.5; text-align:center; }
.portal-auth-foot { margin:22px 0 0 !important; text-align:center; color:#748097 !important; font-size:13px; }
.portal-auth-foot button { padding:0; color:var(--bc-blue); border:0; background:transparent; font-weight:750; }
.portal-reset-sent { display:grid; grid-template-columns:42px minmax(0,1fr); align-items:start; gap:13px; margin-top:4px; padding:15px; border:1px solid #dce5ff; border-radius:10px; background:#f6f8ff; }
.portal-reset-sent-icon { display:grid; width:42px; height:42px; place-items:center; color:#3f63e8; border-radius:10px; background:#e6ebff; }
.portal-reset-sent p { margin:1px 0 0; color:#59677e; font-size:13px; line-height:1.6; }
.portal-reset-actions { display:grid; gap:15px; margin-top:22px; text-align:center; }
.portal-reset-actions .portal-inline-button { justify-self:center; }

.connect-flow { min-height:100vh; background:#f7f8fc; }
.connect-header { display:flex; align-items:center; justify-content:space-between; height:72px; padding:0 clamp(24px,6vw,90px); border-bottom:1px solid #e6e9f0; background:#fff; }
.connect-header .portal-mark { width:28px; height:28px; border-radius:0; background:transparent; box-shadow:none; filter:none; }
.portal-auth-brand .portal-mark { width:28px; height:28px; border-radius:0; background:transparent; box-shadow:none; filter:none; }
.connect-flow > main { display:grid; justify-items:center; padding:54px 24px 100px; }
.connect-card { width:min(100%, 590px); padding:38px; border:1px solid #e0e5ef; border-radius:16px; background:#fff; box-shadow:0 14px 42px rgba(24,35,63,.08); }
.connect-icon { display:grid; width:44px; height:44px; place-items:center; margin-bottom:20px; color:#405de5; border-radius:12px; background:#eef1ff; }
.connect-card h1 { margin:9px 0 9px; color:#182238; font-size:34px; }
.connect-card > p { margin-bottom:27px; color:#627087; line-height:1.65; }
.portal-domain-input { display:flex; align-items:center; overflow:hidden; border:1px solid #d6dce8; border-radius:8px; }
.portal-domain-input:focus-within { border-color:var(--bc-blue); box-shadow:0 0 0 3px rgba(66,99,235,.12); }
.portal-field.is-invalid .portal-domain-input { border-color:#d72c0d; background:#fffafa; box-shadow:0 0 0 3px rgba(215,44,13,.1); }
.portal-field.is-invalid .portal-domain-input:focus-within { border-color:#c22b18; box-shadow:0 0 0 3px rgba(215,44,13,.16); }
.portal-domain-input input { height:42px; border:0; border-radius:0; box-shadow:none !important; }
.portal-domain-input span { padding-right:11px; color:#7b8799; font-size:12px; white-space:nowrap; }
.portal-form label > small { color:#7a879b; font-size:11px; font-weight:500; line-height:1.45; }
.connect-credentials-help { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:-3px 0 1px; padding:12px 13px; border:1px solid #dce6ff; border-radius:9px; background:#f5f8ff; }
.connect-credentials-help div { display:grid; gap:2px; }
.connect-credentials-help strong { color:#314cae; font-size:12px; }
.connect-credentials-help span { color:#5d6f91; font-size:11.5px; line-height:1.45; }
.connect-credentials-help a { display:inline-flex; flex:none; align-items:center; gap:4px; color:var(--bc-blue); font-size:12px; font-weight:750; text-decoration:none; white-space:nowrap; }
.connect-credentials-help a:hover { text-decoration:underline; }
.connect-help { display:grid; grid-template-columns:20px 1fr; gap:10px; margin-top:24px; padding:15px; border-radius:9px; background:#f2f5ff; color:#3450c5; }
.connect-help svg { margin-top:2px; }
.connect-help strong { color:#3048af; font-size:12px; }
.connect-help p { margin:4px 0 7px; color:#6170a6; font-size:12px; line-height:1.5; }
.connect-help a { display:inline-flex; align-items:center; gap:5px; padding:0; color:#3450c5; font-size:12px; font-weight:750; text-decoration:none; }
.connect-help a:hover { color:#233ba6; text-decoration:underline; }

.help-center { min-height:100vh; background:#f8f9fc; }
.help-header { display:flex; align-items:center; justify-content:space-between; min-height:72px; padding:0 clamp(24px, 7vw, 112px); border-bottom:1px solid var(--bc-line); background:rgba(255,255,255,.94); }
.help-brand { display:inline-flex; align-items:center; gap:9px; color:#1b2538; font-size:16px; font-weight:800; letter-spacing:-.03em; text-decoration:none; }
.help-header nav { display:flex; align-items:center; gap:24px; }
.help-header nav a { display:inline-flex; align-items:center; gap:6px; color:#58667c; font-size:13px; font-weight:650; text-decoration:none; }
.help-header nav a:hover,.help-header nav a[aria-current="page"] { color:var(--bc-blue); }
.help-header .help-account-link { padding:8px 11px; color:#3450c5; border:1px solid #d9dfff; border-radius:8px; background:#f4f6ff; }
.help-main { width:min(100%, 1080px); margin:0 auto; padding:72px 24px 82px; }
.help-hero { max-width:690px; margin-bottom:44px; }
.help-eyebrow { display:block; color:var(--bc-blue); font-size:11px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.help-hero h1,.help-article h1 { margin:12px 0 15px; color:#172033; font-size:clamp(36px,5vw,56px); letter-spacing:-.06em; line-height:1.02; }
.help-hero p,.help-article-lead { max-width:640px; color:var(--bc-muted); font-size:17px; line-height:1.65; }
.help-topic-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.help-topic { display:grid; grid-template-columns:38px minmax(0,1fr); gap:14px; min-height:220px; padding:23px; color:inherit; border:1px solid #e1e5ef; border-radius:14px; background:#fff; text-decoration:none; }
.help-topic-primary { border-color:#cfd8ff; box-shadow:0 12px 26px rgba(47,76,188,.08); }
.help-topic > span { display:grid; width:38px; height:38px; place-items:center; color:#4263eb; border-radius:10px; background:#edf0ff; }
.help-topic small { display:block; margin:2px 0 8px; color:#7b879a; font-size:11px; font-weight:750; }
.help-topic strong { display:block; color:#263149; font-size:16px; line-height:1.25; }
.help-topic p { margin:9px 0 17px; color:#627087; font-size:13px; line-height:1.55; }
.help-topic em { display:inline-flex; align-items:center; gap:5px; color:#536171; font-size:11px; font-style:normal; font-weight:700; }
.help-topic-primary em { color:#3150d1; }
.help-topic-primary:hover { border-color:#aebdff; transform:translateY(-2px); }
.help-support { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:28px; padding:21px 23px; border-radius:13px; background:#202a43; color:#fff; }
.help-support > div { display:flex; align-items:flex-start; gap:12px; }.help-support > div > span { color:#b8c6ff; }.help-support strong { display:block; font-size:14px; }.help-support p { margin-top:5px; color:#b7c2d8; font-size:12px; line-height:1.5; }
.help-support > a { display:inline-flex; flex:0 0 auto; align-items:center; gap:5px; color:#fff; font-size:12px; font-weight:750; text-decoration:none; }.help-support > a:hover { text-decoration:underline; }
.help-article { width:min(100%, 760px); margin:0 auto; }.help-back { display:inline-flex; align-items:center; gap:5px; margin-bottom:38px; color:#5b6880; font-size:13px; font-weight:700; text-decoration:none; }.help-back:hover { color:#3150d1; }
.help-article-lead { margin-bottom:25px; }.help-callout,.help-next { display:grid; grid-template-columns:22px minmax(0,1fr); gap:11px; margin:26px 0 34px; padding:17px; border-radius:10px; background:#eef2ff; color:#3450c5; }.help-callout strong,.help-next strong { display:block; color:#283f9e; font-size:13px; }.help-callout p,.help-next p { margin-top:4px; color:#5870a7; font-size:12px; line-height:1.55; }
.help-article section { padding:26px 0; border-top:1px solid #e4e8f0; }.help-article h2 { margin-bottom:10px; color:#222d43; font-size:20px; letter-spacing:-.025em; }.help-article section p,.help-article li { color:#5d6a7f; font-size:14px; line-height:1.7; }.help-article ul { display:grid; gap:7px; margin:0; padding-left:20px; }.help-muted { margin-top:10px; color:#788498 !important; font-size:12px !important; }.help-next { margin-top:7px; background:#eff9f4; color:#23805b; }.help-next strong { color:#247254; }.help-next p { color:#4d806c; }
.help-screenshot { margin:18px 0 0; overflow:hidden; border:1px solid #273143; border-radius:10px; background:#11181a; box-shadow:0 9px 23px rgba(27, 39, 64, .12); }.help-screenshot img { display:block; width:100%; height:auto; }.help-screenshot figcaption { padding:10px 13px; color:#c0cad8; background:#202939; font-size:11px; line-height:1.45; }
.help-footer { display:flex; justify-content:space-between; gap:20px; padding:24px clamp(24px, 7vw, 112px); color:#7b8798; border-top:1px solid var(--bc-line); background:#fff; font-size:12px; }.help-footer a { color:#5d6b80; text-decoration:none; }.help-footer a:hover { color:#3150d1; }

/* Standalone BestCheckout uses the shared BestShopio Admin application frame.
   Checkout pages provide business content only; the shell and atoms stay reusable. */
.bc-portal { display:grid; grid-template-columns:var(--admin-sidebar) minmax(0,1fr); min-height:100vh; color:var(--p-text); background:var(--p-bg); }
.bc-portal-sidebar { position:sticky; top:0; display:flex; flex-direction:column; height:100dvh; padding:0 8px 12px; border-right:1px solid var(--p-border); background:#fff; }
.bc-portal-brand { height:56px; padding:0 8px; color:var(--p-text); border-bottom:1px solid var(--p-border); }
.bc-portal-brand .bestcheckout-logo { width:26px; height:26px; }
.bc-portal-store { display:grid; grid-template-columns:30px minmax(0,1fr) 15px; align-items:center; gap:8px; margin:12px 4px 14px; padding:9px; border:1px solid var(--p-border); border-radius:8px; background:#fff; }
.bc-store-avatar,.bc-top-avatar { display:grid; place-items:center; color:#1e4fa6; background:var(--p-info-bg); font-size:10px; font-weight:800; }
.bc-store-avatar { width:30px; height:30px; border-radius:8px; }
.bc-portal-store small { display:block; color:var(--p-text-subdued); font-size:10px; line-height:1.2; }
.bc-portal-store strong { display:block; overflow:hidden; color:var(--p-text); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.bc-portal-store > i { color:var(--p-text-subdued); }
.bc-portal-nav { display:grid; gap:2px; }
.bc-portal .app-nav-item { justify-content:flex-start; width:100%; min-height:36px; padding:0 10px; color:var(--p-text-subdued); border:0; border-radius:8px; background:transparent; font-size:13px; font-weight:500; }
.bc-portal .app-nav-item:hover { color:var(--p-text); background:var(--p-bg); }
.bc-portal .app-nav-item.is-active { color:var(--p-action); background:var(--p-info-bg); font-weight:600; }
.bc-portal .app-nav-item .icon { flex:0 0 auto; }
.bc-portal-sidebar-foot { display:grid; gap:7px; margin-top:auto; padding:10px 4px 0; border-top:1px solid var(--p-border); }
.bc-portal-sidebar-foot a,.bc-portal-sidebar-foot button { display:flex; align-items:center; gap:8px; width:100%; min-height:32px; padding:0 7px; color:var(--p-text-subdued); border:0; border-radius:6px; background:transparent; font-size:11px; text-align:left; text-decoration:none; }
.bc-portal-sidebar-foot a span { flex:1; }
.bc-portal-sidebar-foot a:hover,.bc-portal-sidebar-foot button:hover { color:var(--p-text); background:var(--p-bg); }
.bc-portal-content { min-width:0; }
.bc-portal-topbar { display:flex; min-width:0; align-items:center; justify-content:space-between; height:var(--admin-header); padding:0 20px; border-bottom:1px solid var(--p-border); background:#fff; }
.bc-portal-mobile-brand { display:none; align-items:center; gap:7px; }
.bc-portal-mobile-brand .bestcheckout-logo { width:25px; height:25px; }
.bc-portal-search { display:flex; flex:1 1 auto; min-width:0; align-items:center; gap:8px; width:min(480px, 48vw); height:34px; padding:0 12px; color:var(--p-text-subdued); border:1px solid var(--p-border); border-radius:8px; background:var(--p-bg); font-size:12px; }
.bc-portal-search span { flex:1; }
.bc-portal-search kbd { padding:1px 4px; color:#9ba4b3; border:1px solid #e1e4ea; border-radius:4px; background:#fff; font-size:10px; }
.bc-portal-top-actions { display:flex; flex:0 0 auto; min-width:0; align-items:center; gap:8px; }
.bc-top-help,.bc-top-notice { display:inline-flex; align-items:center; gap:5px; height:32px; padding:0 7px; color:var(--p-text-subdued); border:0; border-radius:6px; background:transparent; font-size:12px; font-weight:600; text-decoration:none; }
.bc-top-help:hover,.bc-top-notice:hover { background:var(--p-bg); }
.bc-top-notice { position:relative; width:32px; justify-content:center; }
.bc-top-notice i { position:absolute; top:7px; right:6px; width:5px; height:5px; border:1px solid #fff; border-radius:50%; background:#d84636; }
.bc-top-avatar { width:29px; height:29px; border:0; border-radius:50%; }
/* The legacy embedded App placed this widget at the lower-left, so its menu
 * expanded upward. In the standalone BestShopio-style header it must open
 * downward from the top-right, inside the viewport. */
.bc-portal .desktop-language-floating { position:relative; right:auto; bottom:auto; left:auto; z-index:91; flex:0 0 auto; }
.bc-portal .desktop-language-floating .language-menu { top:calc(100% + 6px); right:0; bottom:auto; left:auto; }
.bc-portal-page { width:100%; max-width:none; min-height:calc(100vh - var(--admin-header)); margin:0; padding:16px 30px 40px; }
.bc-portal .mobile-app-nav { display:none; }
.bc-portal.is-focus-mode { grid-template-columns:1fr; }
.bc-portal.is-focus-mode .bc-portal-sidebar { display:none; }
.bc-portal.is-focus-mode .bc-portal-page { max-width:none; padding:0; }

.orders-metric-grid .metric-card:nth-child(4) .metric-positive { color:#9b4d00; }
.orders-table-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.orders-filters { display:flex; flex-wrap:wrap; gap:6px; }
.filter-chip { height:30px; padding:0 10px; color:#637087; border:1px solid #dce1ea; border-radius:7px; background:#fff; font-size:12px; font-weight:650; }
.filter-chip:hover,.filter-chip.is-active { color:#3552d2; border-color:#cdd6ff; background:#eef1ff; }
.orders-table td { vertical-align:middle; }
.orders-table td small { display:block; margin-top:2px; font-size:11px; }
.order-link { padding:0; color:#3150d1; border:0; background:transparent; font-weight:750; }
.order-link:hover { text-decoration:underline; }
.order-items { max-width:260px; color:#58647a; }
.order-sync { display:inline-flex; align-items:center; gap:5px; font-weight:650; }
.order-sync i { width:6px; height:6px; border-radius:50%; background:#8b97a9; }
.order-sync-success { color:#18815a; }.order-sync-success i { background:#18815a; }
.order-sync-warning { color:#956000; }.order-sync-warning i { background:#d68c00; }
.order-sync-critical { color:#b12f1b; }.order-sync-critical i { background:#cf3d29; }
.back-link { display:inline-flex; align-items:center; gap:5px; margin-bottom:16px; padding:0; color:#5e6b81; border:0; background:transparent; font-size:13px; font-weight:650; }
.back-link:hover { color:#3450cf; }
.order-detail-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr); gap:18px; }
.order-line-items { display:grid; gap:0; margin-top:24px; border-top:1px solid #ebedf2; }
.order-line-items > div { display:flex; justify-content:space-between; gap:20px; padding:12px 0; color:#506078; border-bottom:1px solid #ebedf2; }
.order-line-items > div:last-child { color:#273147; }
.order-timeline { display:grid; gap:17px; margin:0 0 22px; padding:0; list-style:none; }
.order-timeline li { position:relative; display:grid; grid-template-columns:22px minmax(0,1fr) auto; gap:9px; }
.order-timeline li:not(:last-child)::after { position:absolute; top:23px; left:10px; width:1px; height:25px; background:#dfe4ec; content:""; }
.order-timeline li > span { display:grid; width:21px; height:21px; place-items:center; color:#fff; border-radius:50%; background:#2a9667; }
.order-timeline li.is-attention > span { background:#ca7b00; }
.order-timeline strong { display:block; color:#354057; font-size:13px; }
.order-timeline small { display:block; margin-top:2px; font-size:11px; line-height:1.45; }
.order-timeline time { color:#8792a6; font-size:10px; white-space:nowrap; }
.checkout-email-list { display:grid; gap:0; }
.checkout-email-card { display:grid; grid-template-columns:34px minmax(0,1fr) auto auto; align-items:center; gap:14px; padding:17px 0; border-bottom:1px solid #ebedf2; }
.checkout-email-card:last-child { border-bottom:0; }
.checkout-email-card > span { display:grid; width:34px; height:34px; place-items:center; color:#3a56d5; border-radius:8px; background:#edf0ff; }
.checkout-email-card strong { display:block; color:#313b50; font-size:13px; }
.checkout-email-card p { margin-top:3px; color:#728096; font-size:12px; line-height:1.5; }
.checkout-email-card em { padding:3px 8px; color:#49705e; border-radius:999px; background:#e9f6ef; font-size:10px; font-style:normal; font-weight:750; white-space:nowrap; }
.email-brand-preview { display:flex; align-items:center; gap:9px; margin:12px 0; padding:13px; border:1px solid #e8ebf1; border-radius:8px; background:#f9faff; }
.email-brand-preview .bestcheckout-mark { display:grid; width:26px; height:26px; place-items:center; color:#fff; border-radius:7px; background:#5a4bba; font-size:12px; font-weight:800; }
.email-brand-preview strong,.email-brand-preview small { display:block; }.email-brand-preview small { margin-top:2px; font-size:11px; }

@media (max-width: 1040px) {
  .marketing-hero { grid-template-columns:1fr; gap:52px; padding-top:70px; }
  .marketing-hero-copy { max-width:680px; }.marketing-hero-visual { width:min(730px,100%); justify-self:center; transform:none; }
  .marketing-value,.marketing-process,.marketing-security { gap:50px; }
  .bc-portal { grid-template-columns:208px minmax(0,1fr); }.bc-portal-sidebar { padding-left:9px; padding-right:9px; }.bc-portal-page { padding-left:23px; padding-right:23px; }.bc-portal-search { width:38vw; }
}

@media (max-width: 980px) {
  .bc-portal { display:block; }
  .bc-portal-sidebar { display:none; }
  .bc-portal-topbar { padding:0 16px; }
  .bc-portal-mobile-brand { display:flex; }
  .bc-portal .desktop-language-floating { display:flex; position:relative; right:auto; bottom:auto; left:auto; }
  .bc-portal .desktop-language-floating .language-menu { top:calc(100% + 6px); right:0; bottom:auto; left:auto; }
  .bc-portal .mobile-app-nav { display:flex; gap:4px; overflow-x:auto; padding:7px 12px; border-bottom:1px solid var(--p-border); background:#fff; }
  .bc-portal .mobile-app-nav .app-nav-item { flex:0 0 auto; width:auto; min-height:32px; padding:0 9px; }
  .bc-portal-page { min-height:calc(100vh - 104px); padding:16px 20px 40px; }
}

@media (max-width: 780px) {
  .marketing-nav { height:64px; gap:8px; padding:0 16px; }.marketing-nav .marketing-brand strong,.marketing-actions .marketing-login,.marketing-nav nav a:not(:last-child) { display:none; }.marketing-nav nav { display:flex; min-width:0; margin-left:auto; gap:0; }.marketing-nav nav a:last-child { max-width:154px; padding:7px 9px; font-size:11px; line-height:1.2; text-align:center; white-space:normal; }.marketing-actions { gap:0; }.marketing-actions .marketing-cta { min-width:68px; padding:0 11px; font-size:12px; }.marketing-hero { min-height:auto; padding:60px 24px 72px; }.marketing-hero h1 { font-size:48px; }.marketing-hero p { font-size:16px; }.marketing-hero-actions { align-items:flex-start; flex-direction:column; }.marketing-hero-proof { align-items:flex-start; flex-direction:column; gap:8px; }.marketing-preview-body { grid-template-columns:86px minmax(0,1fr); }.marketing-preview-body aside { padding:10px 5px; }.marketing-preview-body aside span { padding:6px 5px; font-size:8px; }.marketing-preview-body section { padding:17px; }.marketing-value,.marketing-process,.marketing-security { grid-template-columns:1fr; padding:74px 24px; }.marketing-value,.marketing-process { gap:40px; }.marketing-security { gap:32px; }.marketing-final { padding:78px 24px; }.marketing-footer { align-items:flex-start; flex-direction:column; padding:25px 24px; }.marketing-footer > span { display:none; }
  .portal-auth { grid-template-columns:1fr; }.portal-auth-aside { display:none; }.portal-auth-main { min-height:100vh; align-items:start; padding-top:36px; }.portal-auth-card { width:100%; max-width:430px; }.portal-auth-mobile-brand { display:block; }.connect-header { padding:0 20px; }.connect-card { padding:28px 20px; }.connect-card h1 { font-size:30px; }.help-header { min-height:64px; padding:0 20px; }.help-header nav { gap:13px; }.help-header nav > a:not(.help-account-link) { display:none; }.help-main { padding:52px 20px 60px; }.help-hero { margin-bottom:28px; }.help-topic-grid { grid-template-columns:1fr; }.help-topic { min-height:0; }.help-support { align-items:flex-start; flex-direction:column; }.help-article h1 { font-size:37px; }.help-back { margin-bottom:26px; }.help-footer { padding:22px 20px; }
  .bc-portal { display:block; }.bc-portal-sidebar { display:none; }.bc-portal-topbar { height:54px; padding:0 16px; }.bc-portal-mobile-brand { display:flex; }.bc-portal-search,.bc-top-help { display:none; }.bc-portal .desktop-language-floating { display:flex; position:relative; right:auto; bottom:auto; left:auto; }.bc-portal .desktop-language-floating .language-menu { top:calc(100% + 6px); right:0; bottom:auto; left:auto; }.bc-portal .mobile-app-nav { display:flex; gap:4px; overflow-x:auto; padding:7px 12px; border-bottom:1px solid var(--p-border); background:#fff; }.bc-portal .mobile-app-nav .app-nav-item { flex:0 0 auto; width:auto; min-height:31px; padding:0 9px; font-size:12px; }.bc-portal-page { min-height:calc(100vh - 95px); padding:20px 16px 42px; }.bc-portal.is-focus-mode .bc-portal-topbar,.bc-portal.is-focus-mode .bc-portal-mobile-nav { display:none; }.bc-portal.is-focus-mode .bc-portal-page { min-height:100vh; }
  .orders-table-head { align-items:flex-start; flex-direction:column; }.orders-filters { width:100%; overflow-x:auto; flex-wrap:nowrap; }.filter-chip { flex:0 0 auto; }.order-detail-grid { grid-template-columns:1fr; }.checkout-email-card { grid-template-columns:34px minmax(0,1fr) auto; }.checkout-email-card .button { grid-column:2 / -1; justify-self:start; }.orders-table { min-width:760px; }
}

/* BestCheckout standalone portal: reuse the BestShopio Admin header structure.
   The app logo lives in the shared 56px header; store and account controls stay
   on the right, while help and language belong to the navigation area. */
.bc-portal-v160 { display:flex; flex-direction:column; min-height:100vh; color:var(--p-text); background:var(--p-bg); }
.bc-portal-v160 .bc-portal-topbar { display:flex; flex:0 0 var(--admin-header); min-width:0; align-items:center; justify-content:space-between; height:var(--admin-header); padding:0 20px; border-bottom:1px solid var(--p-border); background:#fff; }
.bc-portal-v160 .bc-portal-header-brand { display:inline-flex; align-items:center; gap:8px; height:100%; color:var(--p-text); font-size:14px; letter-spacing:-.02em; text-decoration:none; }
.bc-portal-v160 .bc-portal-header-brand .bestcheckout-logo { width:26px; height:26px; }
.bc-portal-v160 .bc-portal-header-actions { display:flex; flex:0 0 auto; align-items:center; gap:8px; }
.bc-portal-v160 .bc-portal-store-trigger { display:inline-flex; align-items:center; gap:5px; min-height:32px; padding:0 8px; color:var(--p-text); border:0; border-radius:6px; background:transparent; font-size:13px; font-weight:500; }
.bc-portal-v160 .bc-portal-store-trigger:hover,.bc-portal-v160 .bc-portal-account-trigger:hover { background:var(--p-bg); }
.bc-portal-v160 .bc-portal-store-trigger svg,.bc-portal-v160 .bc-portal-account-trigger { color:var(--p-text-subdued); }
.bc-portal-v160 .bc-portal-mobile-language { display:none; }
.bc-portal-v160 .bc-portal-body { display:grid; grid-template-columns:var(--admin-sidebar) minmax(0,1fr); flex:1 1 auto; min-height:0; }
.bc-portal-v160 .bc-portal-sidebar { position:sticky; top:var(--admin-header); display:flex; flex-direction:column; height:calc(100dvh - var(--admin-header)); padding:8px 8px 12px; border-right:1px solid var(--p-border); background:#fff; }
.bc-portal-v160 .bc-portal-sidebar-foot { display:grid; gap:7px; margin-top:auto; padding:10px 4px 0; border-top:1px solid var(--p-border); }
.bc-portal-v160 .bc-portal-language { position:relative; padding:2px 0; }
.bc-portal-v160 .bc-portal-language .language-trigger { width:100%; min-height:32px; box-shadow:none; }
.bc-portal-v160 .bc-portal-language .language-menu { top:auto; right:auto; bottom:calc(100% + 6px); left:0; }
.bc-portal-v160 .bc-portal-content { min-width:0; min-height:0; }
.bc-portal-v160.is-focus-mode .bc-portal-body { grid-template-columns:1fr; }
.bc-portal-v160.is-focus-mode .bc-portal-sidebar { display:none; }
.bc-portal-v160.is-focus-mode .bc-portal-page { max-width:none; padding:0; }

@media (max-width:1040px) {
  .bc-portal-v160 .bc-portal-body { grid-template-columns:208px minmax(0,1fr); }
}

@media (max-width:980px) {
  .bc-portal-v160 .bc-portal-body { display:block; }
  .bc-portal-v160 .bc-portal-sidebar { display:none; }
  .bc-portal-v160 .bc-portal-topbar { padding:0 16px; }
  .bc-portal-v160 .bc-portal-mobile-language { display:block; position:relative; }
  .bc-portal-v160 .bc-portal-mobile-language .language-menu { top:calc(100% + 6px); right:0; bottom:auto; left:auto; }
}

@media (max-width:780px) {
  .bc-portal-v160 .bc-portal-topbar { height:54px; }
  .bc-portal-v160 .bc-portal-store-trigger { display:none; }
  .bc-portal-v160 .bc-portal-page { min-height:calc(100vh - 95px); padding:20px 16px 42px; }
}

/* --------------------------------------------------------------------------
   BestCheckout merchant workspace
   Reuses the live BestShopio admin frame: a 60px blue-tinted header, a 200px
   navigation rail, and dense white content. Only the product mark differs.
   -------------------------------------------------------------------------- */
.bc-shell {
  --header-h: 60px;
  --sidebar-w: 200px;
  --p-radius: 8px;
  --p-radius-control: 8px;
  --p-shadow-card: 0 1px 2px rgb(16 24 40 / 4%);
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: #f2f5ff;
}
.bc-shell .bc-shell-header {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 60;
  height: var(--header-h);
  min-height: var(--header-h);
  padding: 0 24px 0 12px;
  border: 0;
  background: #f2f5ff;
}
.bc-shell .sidebar-toggle { display: none; }
.bc-shell .hdr-logo { display: flex; align-items: center; gap: 8px; height: 100%; color: inherit; text-decoration: none; }
.bc-shell .brand-mark {
  display: block;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 7px rgba(84, 88, 246, .22));
}
.bc-shell .hdr-logo-name { font-size: 18px; font-weight: 600; color: #242833; letter-spacing: -.01em; }
.bc-shell .hdr-right { display: flex; align-items: center; gap: 8px; height: 100%; margin-left: auto; }
.bc-shell .bc-header-help {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #62708d;
  border-radius: 7px;
}
.bc-shell .bc-header-help:hover { color: #0066e6; background: rgb(0 102 230 / 7%); }
.bc-shell .bc-header-help .icon { width: 18px; height: 18px; }
.bc-shell .i18n-toggle {
  display: inline-flex;
  height: 30px;
  overflow: hidden;
  border: 1px solid #dce4f3;
  border-radius: 6px;
  background: #fff;
}
.bc-shell .i18n-toggle button {
  min-width: 34px;
  padding: 0 9px;
  border: 0;
  border-right: 1px solid #dce4f3;
  background: #fff;
  color: #62708d;
  font-size: 12px;
  line-height: 28px;
}
.bc-shell .i18n-toggle button:last-child { border-right: 0; }
.bc-shell .i18n-toggle button.on { background: #0066e6; color: #fff; font-weight: 600; }
.bc-shell .hdr-store { height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #242833; font-size: 14px; font-weight: 600; }
.bc-shell .hdr-store:hover { background: rgb(0 0 0 / 4%); }
.bc-shell .hdr-store .icon { width: 16px; height: 16px; color: #62708d; transform: none; }
.bc-shell .hdr-user { width: 34px; height: 34px; border-color: #eaedf1; border-radius: 50%; background: #fff; color: #474f5e; box-shadow: none; }
.bc-shell .app-body { position: relative; display: flex; flex: 1; min-height: 0; border-radius: 0; background: #fff; overflow: hidden; }
.bc-shell .bc-shell-sidebar {
  position: relative;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  height: auto;
  padding: 8px;
  border-right: 1px solid #e6eaf0;
  background: #fff;
  box-shadow: none;
  transform: none;
}
.bc-shell .nav-scroll { display: flex; flex: 1; flex-direction: column; gap: 2px; min-height: 0; padding: 0; overflow-y: auto; }
.bc-shell .nav-footer { padding: 8px 0 0; border-top: 0; }
.bc-shell .app-nav-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 37px;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #43516d;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: left;
  box-shadow: none;
}
.bc-shell .app-nav-item .icon { width: 18px; height: 18px; color: #62708d; }
.bc-shell .app-nav-item:hover { background: #f7f8fb; color: #242833; }
.bc-shell .app-nav-item.is-active,
.bc-shell .app-nav-item.active { background: #ebf0ff; color: #356dff; font-weight: 600; }
.bc-shell .app-nav-item.is-active .icon,
.bc-shell .app-nav-item.active .icon { color: #356dff; }
.bc-shell .bc-shell-page {
  display: block;
  flex: 1;
  min-width: 0;
  max-width: 1260px;
  min-height: calc(100vh - 112px);
  margin: 0 auto;
  padding: 24px 28px 48px;
  background: #fff;
}
.bc-shell .page-root { width: 100%; min-height: calc(100dvh - var(--header-h)); }
.bc-shell .page-stack,
.bc-shell .settings-stack { gap: 16px; }
.bc-shell .card { border-color: #eaedf1; border-radius: 12px; box-shadow: 0 1px 2px rgb(16 24 40 / 4%); }
.bc-shell .card-pad { padding: 16px; }
.bc-shell .button { min-height: 32px; border-radius: 8px; font-size: 13px; }
.bc-shell .bc-shell-menu { top: 42px; min-width: 270px; padding: 6px; border-color: #dfe5ef; border-radius: 8px; z-index: 80; }
.bc-shell .hdr-store-row.current { background: #e8efff; }
.bc-shell .hdr-store-check { color: #0066e6; font-weight: 700; }
.bc-shell .hdr-menu-foot { width: 100%; border: 0; border-top: 1px solid #eaedf1; border-radius: 0; background: transparent; text-align: left; cursor: pointer; }
.bc-shell .bc-mobile-store-switch { display: none; }
.bc-shell .sidebar-backdrop { display: none; }
.bc-shell.is-focus-mode .bc-shell-header,
.bc-shell.is-focus-mode .bc-shell-sidebar { display: none; }
.bc-shell.is-focus-mode .bc-shell-page { max-width: none; min-height: 100dvh; padding: 0; }

@media (max-width: 768px) {
  .bc-shell .bc-shell-header { padding: 0 14px; gap: 8px; }
  .bc-shell .sidebar-toggle { display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #43516d; }
  .bc-shell .sidebar-toggle:hover { background: #e8efff; color: #0066e6; }
  .bc-shell .hdr-logo-name { font-size: 17px; }
  .bc-shell .hdr-right { gap: 7px; }
  .bc-shell .bc-header-help { display: none; }
  .bc-shell .hdr-store { max-width: 120px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .bc-shell .bc-shell-sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 300px); min-width: 0; padding-top: 12px; transform: translateX(-105%); transition: transform .2s ease; }
  .bc-shell .bc-shell-sidebar.open { transform: translateX(0); }
  .bc-shell .bc-mobile-store-switch { display: block; flex: 0 0 auto; margin: 0 0 8px; padding: 0 4px 8px; border-bottom: 1px solid #eaedf1; }
  .bc-shell .bc-mobile-store-switch .hdr-store { display: inline-flex; justify-content: space-between; width: 100%; padding: 0 8px; }
  .bc-shell .bc-mobile-store-switch .bc-shell-menu { top: 38px; right: 0; left: 0; min-width: 0; }
  .bc-shell .sidebar-backdrop.show { position: fixed; z-index: 45; display: block; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgb(15 23 42 / 35%); }
  .bc-shell .bc-shell-page { min-height: calc(100dvh - var(--header-h)); padding: 16px 16px 36px; }
  .bc-shell .page-root { max-width: none; }
  .bc-shell .bc-shell-menu { right: -4px; min-width: min(270px, calc(100vw - 28px)); }
}

@media (max-width: 480px) {
  .bc-shell .i18n-toggle button { min-width: 30px; padding: 0 7px; }
  .bc-shell .hdr-store { display: none; }
  .bc-shell .hdr-right { margin-left: auto; }
}

/* BestCheckout public site ---------------------------------------------------
   Motion-inspired visual language: a focused dark stage, animated light fields
   and product telemetry. The effects are decorative; routes and CTA semantics
   stay exactly the same as the functional onboarding flow. */
.marketing-site--motion {
  --marketing-ink: #f8f9ff;
  --marketing-muted: #adb6d0;
  --marketing-panel: rgba(20, 26, 48, .82);
  --marketing-line: rgba(183, 195, 255, .15);
  --marketing-accent: #a791ff;
  color: #1b2540;
  background: #fff;
  position: relative;
}

.marketing-site--motion .marketing-nav {
  position: fixed;
  z-index: 70;
  inset: 0 0 auto;
  height: 76px;
  padding: 0 clamp(24px, 6vw, 100px);
  border: 0;
  border-bottom: 1px solid rgba(183, 195, 255, .14);
  color: var(--marketing-ink);
  background: rgba(8, 11, 24, .94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .025);
  backdrop-filter: blur(16px);
}
.marketing-site--motion > main { padding-top: 76px; }
.marketing-site--motion .marketing-brand { color: #fff; }
.marketing-site--motion .marketing-brand .portal-mark {
  border: 1px solid rgba(255, 255, 255, .2);
  background: linear-gradient(145deg, #d6c8ff, #7162ff 54%, #3928c9);
  box-shadow: 0 0 22px rgba(141, 117, 255, .45);
}
.marketing-site--motion .marketing-nav nav a,
.marketing-site--motion .marketing-login,
.marketing-site--motion .marketing-text-link { color: #c8cfe3; }
.marketing-site--motion .marketing-nav nav a:hover,
.marketing-site--motion .marketing-login:hover,
.marketing-site--motion .marketing-text-link:hover { color: #fff; }
.marketing-site--motion .marketing-cta {
  color: #11172c;
  border-color: transparent;
  background: linear-gradient(112deg, #fff 0%, #d6ceff 46%, #a7c8ff 100%);
  box-shadow: 0 10px 30px rgba(129, 109, 255, .34), inset 0 1px 0 rgba(255, 255, 255, .85);
}
.marketing-site--motion .marketing-cta:hover {
  color: #11172c;
  border-color: transparent;
  background: linear-gradient(112deg, #fff 0%, #e5e0ff 46%, #bfd8ff 100%);
  box-shadow: 0 14px 34px rgba(129, 109, 255, .45), inset 0 1px 0 #fff;
  transform: translateY(-1px);
}

.marketing-site--motion .marketing-hero {
  position: relative;
  grid-template-columns: minmax(0, .87fr) minmax(500px, 1.13fr);
  gap: clamp(42px, 6.5vw, 112px);
  min-height: 710px;
  isolation: isolate;
  padding-top: 96px;
  padding-bottom: 116px;
  color: var(--marketing-ink);
  background: radial-gradient(circle at 81% 15%, rgba(106, 85, 255, .28), transparent 24%), radial-gradient(circle at 42% 106%, rgba(50, 134, 255, .2), transparent 32%), #080b18;
}
.marketing-site--motion .marketing-hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 180px;
  background: linear-gradient(transparent, rgba(8, 11, 24, .35));
  content: '';
}
.marketing-hero-atmosphere { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.marketing-grid {
  position: absolute;
  top: -22%;
  right: -9%;
  width: min(68vw, 930px);
  height: 126%;
  opacity: .38;
  background-image: linear-gradient(rgba(190, 202, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(190, 202, 255, .14) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 9%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 9%, transparent 70%);
  transform: perspective(740px) rotateX(68deg) rotateZ(-13deg);
}
.marketing-orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .6;
}
.marketing-orb-a { top: 6%; right: 4%; width: 330px; height: 330px; background: radial-gradient(circle at 35% 32%, rgba(199, 176, 255, .92), rgba(112, 83, 255, .28) 44%, transparent 70%); animation: marketing-drift 14s ease-in-out infinite alternate; }
.marketing-orb-b { right: 29%; bottom: -20%; width: 390px; height: 390px; background: radial-gradient(circle at 48% 45%, rgba(64, 151, 255, .46), transparent 65%); animation: marketing-drift 18s ease-in-out -4s infinite alternate-reverse; }
.marketing-orb-c { top: 32%; left: -10%; width: 260px; height: 260px; background: radial-gradient(circle, rgba(102, 84, 255, .26), transparent 67%); animation: marketing-pulse 8s ease-in-out infinite; }

.marketing-site--motion .marketing-hero-copy,
.marketing-site--motion .marketing-hero-visual { position: relative; z-index: 1; }
.marketing-site--motion .marketing-eyebrow { color: #8998ff; }
.marketing-site--motion .marketing-eyebrow--signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: #c3cbff;
  border: 1px solid rgba(159, 173, 255, .2);
  border-radius: 999px;
  background: rgba(114, 100, 213, .11);
  letter-spacing: .075em;
}
.marketing-eyebrow--signal i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a799ff;
  box-shadow: 0 0 0 4px rgba(167, 153, 255, .13), 0 0 15px rgba(174, 155, 255, .75);
  animation: marketing-blink 2.8s ease-in-out infinite;
}
.marketing-site--motion .marketing-hero h1 {
  max-width: 700px;
  margin-top: 22px;
  color: #fff;
  font-size: clamp(52px, 5.65vw, 84px);
  letter-spacing: -.075em;
  line-height: .93;
}
.marketing-site--motion .marketing-hero h1 em {
  display: inline-block;
  color: #c9bcff;
  background: linear-gradient(95deg, #fff 4%, #c8b6ff 44%, #8cc8ff 94%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.marketing-site--motion .marketing-hero p { max-width: 532px; color: var(--marketing-muted); font-size: 18px; line-height: 1.68; }
.marketing-site--motion .marketing-hero-actions { gap: 22px; margin-top: 34px; }
.marketing-site--motion .marketing-text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.marketing-site--motion .marketing-text-link span { color: #aebeff; font-size: 17px; transition: transform .2s ease; }
.marketing-site--motion .marketing-text-link:hover span { transform: translateY(3px); }
.marketing-site--motion .marketing-hero-proof { gap: 15px 19px; margin-top: 25px; color: #a8b2ce; }
.marketing-site--motion .marketing-hero-proof svg { color: #a89aff; }

.marketing-site--motion .marketing-hero-visual {
  width: min(100%, 690px);
  min-height: 447px;
  justify-self: end;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: perspective(1700px) rotateY(-7deg) rotateX(4deg) translateY(0);
  animation: marketing-console-float 8s ease-in-out infinite;
}
.marketing-preview-aura { position: absolute; z-index: -1; top: 20%; right: 5%; width: 74%; height: 58%; border-radius: 50%; background: radial-gradient(ellipse, rgba(126, 105, 255, .45), rgba(76, 117, 255, .13) 46%, transparent 72%); filter: blur(14px); }
.marketing-preview-orbit { position: absolute; z-index: -1; border: 1px solid rgba(168, 180, 255, .18); border-radius: 50%; pointer-events: none; }
.marketing-preview-orbit-a { top: 0; right: 4%; width: 69%; height: 84%; transform: rotate(-22deg); animation: marketing-orbit 18s linear infinite; }
.marketing-preview-orbit-b { right: 17%; bottom: 3%; width: 56%; height: 62%; border-style: dashed; opacity: .48; transform: rotate(25deg); animation: marketing-orbit 21s linear reverse infinite; }
.marketing-preview-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(185, 197, 255, .26);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(25, 31, 56, .94), rgba(12, 16, 32, .92));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 5px rgba(118, 102, 255, .055);
  backdrop-filter: blur(16px);
}
.marketing-site--motion .marketing-preview-top {
  gap: 9px;
  height: 54px;
  padding: 0 16px;
  border-bottom-color: rgba(177, 191, 255, .12);
  color: #f2f3ff;
  background: rgba(255, 255, 255, .025);
}
.marketing-site--motion .marketing-preview-top strong { font-size: 12px; letter-spacing: -.015em; }
.marketing-site--motion .preview-logo { background: linear-gradient(145deg, #cabdff, #6659ef); box-shadow: 0 0 15px rgba(151, 132, 255, .42); }
.preview-window-dots { display: inline-flex; gap: 4px; margin-left: auto; }
.preview-window-dots i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #67708e; }
.preview-window-dots i:first-child { background: #a891ff; }
.marketing-site--motion .marketing-preview-top small { display: inline-flex; align-items: center; gap: 5px; color: #9ff0c4; background: rgba(77, 196, 130, .1); }
.marketing-site--motion .marketing-preview-top small i { width: 5px; height: 5px; border-radius: 50%; background: #6ce49b; box-shadow: 0 0 8px #6ce49b; }
.marketing-site--motion .marketing-preview-body { min-height: 347px; background: rgba(11, 15, 31, .7); }
.marketing-site--motion .marketing-preview-body aside { border-right-color: rgba(177, 191, 255, .1); background: rgba(255, 255, 255, .025); }
.marketing-site--motion .marketing-preview-body aside span { color: #8f9ab9; }
.marketing-site--motion .marketing-preview-body aside .is-active { color: #ddd7ff; background: linear-gradient(90deg, rgba(151, 129, 255, .24), rgba(151, 129, 255, .06)); }
.marketing-site--motion .marketing-preview-body section { padding: 24px; }
.marketing-site--motion .preview-heading { color: #98a2c1; }
.marketing-site--motion .preview-heading b { display: flex; align-items: center; gap: 8px; color: #f3f5ff; font-size: 17px; }
.marketing-site--motion .preview-heading b em { padding: 3px 6px; color: #9ff0c4; border: 1px solid rgba(107, 228, 155, .2); border-radius: 999px; background: rgba(73, 204, 130, .1); font-size: 8px; font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.marketing-site--motion .preview-metrics > div { border-color: rgba(180, 192, 255, .12); background: rgba(255, 255, 255, .055); }
.marketing-site--motion .preview-metrics small { color: #9ca7c7; }
.marketing-site--motion .preview-metrics strong { color: #fff; }
.marketing-site--motion .preview-metrics em { color: #8fecb7; }
.marketing-site--motion .preview-flow { border: 1px solid rgba(180, 192, 255, .11); background: rgba(255, 255, 255, .04); color: #a6b1cb; }
.marketing-site--motion .preview-flow strong { color: #ddd7ff; }
.marketing-site--motion .preview-flow svg { color: #8290b5; }
.marketing-site--motion .preview-chart { display: block; height: 88px; padding: 12px; border: 1px solid rgba(180, 192, 255, .1); background: rgba(255, 255, 255, .035); }
.preview-chart-label { display: block; margin-bottom: 9px; color: #8f9ab9; font-size: 9px; font-weight: 650; }
.marketing-site--motion .preview-chart > div { display: flex; align-items: end; gap: 9px; height: 48px; }
.marketing-site--motion .preview-chart i { width: 12%; background: linear-gradient(180deg, #cabdff, #6758ed); box-shadow: 0 -4px 15px rgba(142, 119, 255, .16); animation: marketing-bar 3.6s ease-in-out infinite alternate; }
.marketing-site--motion .preview-chart i:nth-child(2) { animation-delay: -.7s; }.marketing-site--motion .preview-chart i:nth-child(3) { animation-delay: -1.5s; }.marketing-site--motion .preview-chart i:nth-child(4) { animation-delay: -2.1s; }.marketing-site--motion .preview-chart i:nth-child(5) { animation-delay: -1.1s; }.marketing-site--motion .preview-chart i:nth-child(6) { animation-delay: -2.8s; }.marketing-site--motion .preview-chart i:nth-child(7) { animation-delay: -.35s; }
.preview-signal-card { position: absolute; z-index: 2; display: grid; gap: 3px; padding: 13px 15px; border: 1px solid rgba(203, 212, 255, .26); border-radius: 12px; color: #eef1ff; background: rgba(25, 31, 56, .8); box-shadow: 0 18px 36px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .08); backdrop-filter: blur(12px); }
.preview-signal-card span { color: #aab5d4; font-size: 9px; font-weight: 650; }.preview-signal-card strong { color: #a5f2c5; font-size: 17px; letter-spacing: -.04em; }.preview-signal-card small { color: #8792b0; font-size: 9px; }
.preview-signal-card--rate { top: 13%; right: -6%; animation: marketing-card-float 6s ease-in-out infinite alternate; }
.preview-signal-card--sync { right: 8%; bottom: -4%; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 8px; padding: 10px 12px; color: #c0cae5; font-size: 10px; animation: marketing-card-float 7.5s ease-in-out -1.6s infinite alternate-reverse; }
.preview-signal-card--sync > i { display: grid; width: 20px; height: 20px; place-items: center; color: #8cf0b8; border-radius: 50%; background: rgba(103, 227, 153, .13); }.preview-signal-card--sync svg { width: 12px; }

.marketing-signal-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 clamp(24px, 8vw, 140px); color: #dde4ff; background: #0b0f20; }
.marketing-signal-rail > div { display: grid; gap: 5px; min-height: 132px; align-content: center; padding: 24px 28px; border-left: 1px solid var(--marketing-line); }.marketing-signal-rail > div:last-child { border-right: 1px solid var(--marketing-line); }
.marketing-signal-index { color: #8e9cff; font-size: 10px; font-weight: 800; letter-spacing: .1em; }.marketing-signal-rail strong { color: #f5f7ff; font-size: 16px; letter-spacing: -.025em; }.marketing-signal-rail small { color: #8f9ab8; font-size: 12px; }
.marketing-site--motion .marketing-signal-rail > div,
.marketing-site--motion .marketing-signal-rail > div:last-child { border-right: 0; border-left: 0; }

.marketing-site--motion .marketing-proof {
  position: relative;
  padding: 80px clamp(24px, 8vw, 140px);
  color: #e9edff;
  background: #080d1d;
}
.marketing-proof-heading,
.marketing-proof-metrics,
.marketing-testimonial-heading,
.marketing-testimonial-grid,
.marketing-proof-note { position: relative; z-index: 1; }
.marketing-proof-heading { display: flex; align-items: end; justify-content: space-between; gap: 44px; }
.marketing-proof-heading h2 { margin: 13px 0 0; color: #f7f8ff; font-size: clamp(36px, 4vw, 54px); line-height: .98; letter-spacing: -.055em; }
.marketing-proof-heading p { max-width: 390px; margin: 0 0 3px; color: #aeb8d2; font-size: 15px; line-height: 1.7; }
.marketing-proof-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid rgba(173, 185, 236, .18); border-bottom: 1px solid rgba(173, 185, 236, .18); }
.marketing-proof-metrics article { display: grid; align-content: start; gap: 8px; min-height: 195px; padding: 28px clamp(18px, 2.5vw, 38px); border-left: 1px solid rgba(173, 185, 236, .18); }
.marketing-proof-metrics article:first-child { border-left: 0; }
.marketing-proof-metrics span { max-width: 190px; color: #aab5d2; font-size: 12px; font-weight: 650; line-height: 1.45; }
.marketing-proof-metrics strong { display: block; color: #fff; font-size: clamp(38px, 4.1vw, 57px); font-weight: 700; letter-spacing: -.065em; line-height: 1.04; }
.marketing-proof-metrics strong em { color: #a99aff; font-size: .56em; font-style: normal; letter-spacing: -.04em; }
.marketing-proof-metrics small { color: #7887a9; font-size: 11px; line-height: 1.45; }
.marketing-proof-metrics--fable { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1280px; margin: 0 auto; }
.marketing-proof-metrics--fable article { min-height: 176px; padding: 24px clamp(14px, 2.2vw, 32px); text-align: center; place-items: center; }
.marketing-proof-metrics--fable span { max-width: 210px; color: #aeb9d6; font-size: 13px; font-weight: 500; line-height: 1.45; }
.marketing-proof-metrics--fable strong { color: #f7f8ff; font-size: clamp(38px, 4vw, 55px); }
.marketing-proof-metrics--fable strong em { color: #b09dff; }

.marketing-site--motion .marketing-capabilities { position: relative; padding: 120px clamp(24px, 8vw, 140px); border-top: 1px solid rgba(173, 185, 236, .12); color: #e9edff; background: radial-gradient(circle at 50% 0%, rgba(104, 83, 236, .1), transparent 35%), #080d1d; }
.marketing-capabilities-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1280px; margin: 0 auto; }
.marketing-capabilities-grid article { display: flex; min-height: 338px; flex-direction: column; padding: 32px; border: 1px solid rgba(173, 185, 236, .16); border-radius: 16px; background: linear-gradient(145deg, rgba(30, 38, 70, .48), rgba(12, 17, 35, .56)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035); transition: transform .28s ease, border-color .28s ease, background .28s ease; }
.marketing-capabilities-grid article:hover { border-color: rgba(174, 155, 255, .46); background: linear-gradient(145deg, rgba(56, 48, 113, .58), rgba(16, 23, 48, .7)); transform: translateY(-5px); }
.marketing-capability-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 30px; }
.marketing-capability-top > span { display: grid; width: 48px; height: 48px; color: #b19fff; border: 1px solid rgba(177, 159, 255, .28); border-radius: 12px; background: rgba(142, 119, 255, .11); place-items: center; }
.marketing-capability-top b { color: rgba(179, 189, 226, .12); font-size: 42px; letter-spacing: -.07em; line-height: .85; }
.marketing-capabilities-grid h3 { margin: 0 0 9px; color: #f5f7ff; font-size: 20px; letter-spacing: -.035em; }
.marketing-capabilities-grid p { margin: 0; color: #aeb8d2; font-size: 14px; line-height: 1.65; }
.marketing-capability-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(173, 185, 236, .13); }
.marketing-capability-tags small { padding: 5px 8px; color: #b8c2dd; border: 1px solid rgba(173, 185, 236, .16); border-radius: 6px; background: rgba(255, 255, 255, .035); font-size: 11px; font-weight: 600; }
.marketing-testimonial-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 62px; }
.marketing-testimonial-heading > span { color: #f3f5ff; font-size: 17px; font-weight: 680; letter-spacing: -.025em; }
.marketing-testimonial-heading small { color: #7f8cab; font-size: 11px; }
.marketing-testimonial-grid { display: grid; grid-template-columns: 1.18fr .91fr .91fr; gap: 14px; margin-top: 17px; }
.marketing-testimonial-card { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 296px; padding: 27px; overflow: hidden; border: 1px solid rgba(174, 187, 239, .14); border-radius: 16px; background: linear-gradient(145deg, rgba(29, 37, 70, .87), rgba(17, 23, 46, .85)); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.marketing-testimonial-card::after { position: absolute; right: -55px; bottom: -73px; width: 154px; height: 154px; border-radius: 50%; background: radial-gradient(circle, rgba(116, 98, 255, .2), transparent 69%); content: ''; pointer-events: none; }
.marketing-testimonial-card--featured { border-color: rgba(167, 151, 255, .3); background: linear-gradient(145deg, rgba(58, 48, 119, .78), rgba(21, 28, 59, .92)); }
.marketing-quote-mark { position: absolute; top: 8px; right: 23px; color: rgba(200, 191, 255, .25); font-family: Georgia, serif; font-size: 88px; line-height: 1; pointer-events: none; }
.marketing-stars { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; color: #c9bcff; font-size: 12px; letter-spacing: .08em; }
.marketing-stars small { color: #94a1c0; font-size: 11px; letter-spacing: 0; }
.marketing-testimonial-card blockquote { position: relative; z-index: 1; max-width: 38ch; margin: 24px 0; color: #f1f3ff; font-size: 15px; font-weight: 500; letter-spacing: -.018em; line-height: 1.66; }
.marketing-testimonial-card footer { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; min-width: 0; }
.marketing-avatar { display: grid; width: 34px; height: 34px; flex: 0 0 34px; color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; font-size: 10px; font-weight: 800; letter-spacing: .02em; place-items: center; }
.marketing-avatar--violet { background: linear-gradient(135deg, #8c6fff, #4d44bb); }.marketing-avatar--blue { background: linear-gradient(135deg, #418ee5, #285094); }.marketing-avatar--rose { background: linear-gradient(135deg, #de6b9d, #8d3e72); }
.marketing-testimonial-card footer > span:nth-child(2) { display: grid; min-width: 0; gap: 2px; }
.marketing-testimonial-card cite { overflow: hidden; color: #f1f4ff; font-size: 12px; font-style: normal; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.marketing-testimonial-card footer small { overflow: hidden; color: #8e9abc; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.marketing-testimonial-card footer strong { display: grid; gap: 2px; margin-left: auto; color: #a9b7d6; font-size: 10px; font-weight: 600; line-height: 1.25; text-align: right; white-space: nowrap; }
.marketing-testimonial-card footer strong em { color: #8ef0bb; font-size: 14px; font-style: normal; }
.marketing-proof-note { max-width: 720px; margin: 24px 0 0; color: #667493; font-size: 10px; line-height: 1.55; }

.marketing-site--motion .marketing-testimonials { position: relative; overflow: hidden; padding: 116px clamp(24px, 8vw, 140px); color: #e9edff; background: radial-gradient(circle at 14% 86%, rgba(89, 71, 214, .18), transparent 24%), #080d1d; }
.marketing-site--motion .marketing-testimonials::before { position: absolute; top: -170px; right: -110px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(93, 76, 225, .17), transparent 68%); content: ''; pointer-events: none; }
.marketing-testimonials-heading { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 44px; }
.marketing-testimonials-heading h2 { margin: 13px 0 0; color: #f7f8ff; font-size: clamp(36px, 4vw, 54px); line-height: .98; letter-spacing: -.055em; }
.marketing-testimonials-heading p { max-width: 390px; margin: 0 0 3px; color: #aeb8d2; font-size: 15px; line-height: 1.7; }
.marketing-testimonials .marketing-testimonial-heading { position: relative; z-index: 1; margin-top: 58px; }
.marketing-testimonials .marketing-testimonial-grid { position: relative; z-index: 1; }

.marketing-site--motion .marketing-value { position: relative; gap: clamp(48px, 8vw, 120px); overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f5f7ff 100%); }
.marketing-site--motion .marketing-value::before { position: absolute; top: -190px; right: -120px; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle, rgba(126, 107, 255, .11), transparent 68%); content: ''; }
.marketing-site--motion .marketing-value-grid { position: relative; border-top-color: #e1e5f2; }.marketing-site--motion .marketing-value-grid article { transition: padding-left .2s ease, background .2s ease; }.marketing-site--motion .marketing-value-grid article:hover { padding-left: 62px; background: rgba(238, 241, 255, .45); }.marketing-site--motion .marketing-value-grid article > span { color: #6c59df; background: #eeeaff; }
.marketing-site--motion .marketing-process { background: radial-gradient(circle at 78% 28%, rgba(108, 83, 237, .29), transparent 28%), #0b0f20; }.marketing-site--motion .marketing-security { background: #f5f7ff; }.marketing-site--motion .marketing-final { position: relative; overflow: hidden; background: radial-gradient(circle at 50% -30%, rgba(164, 146, 255, .5), transparent 46%), linear-gradient(135deg, #171246, #2e208e 60%, #172759); }.marketing-site--motion .marketing-final::before { position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px); background-size: 42px 42px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); content: ''; }.marketing-site--motion .marketing-final > * { position: relative; z-index: 1; }
.marketing-site--motion .marketing-footer { color: #98a3c0; border-top-color: rgba(172, 184, 233, .12); background: #070a16; }.marketing-site--motion .marketing-footer .marketing-brand { color: #fff; }.marketing-site--motion .marketing-footer a { color: #aeb8d1; }.marketing-site--motion .marketing-footer a:hover { color: #fff; }

@keyframes marketing-drift { from { transform: translate3d(-2%, -2%, 0) scale(.95); } to { transform: translate3d(4%, 6%, 0) scale(1.08); } }
@keyframes marketing-pulse { 0%, 100% { opacity: .28; transform: scale(.92); } 50% { opacity: .65; transform: scale(1.08); } }
@keyframes marketing-blink { 0%, 100% { opacity: .58; transform: scale(.82); } 50% { opacity: 1; transform: scale(1); } }
@keyframes marketing-console-float { 0%, 100% { transform: perspective(1700px) rotateY(-7deg) rotateX(4deg) translateY(0); } 50% { transform: perspective(1700px) rotateY(-6deg) rotateX(3deg) translateY(-10px); } }
@keyframes marketing-orbit { to { transform: rotate(338deg); } }
@keyframes marketing-card-float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes marketing-bar { from { filter: brightness(.84); transform: scaleY(.78); transform-origin: bottom; } to { filter: brightness(1.16); transform: scaleY(1); transform-origin: bottom; } }

@media (max-width: 1040px) {
  .marketing-site--motion .marketing-hero { grid-template-columns: 1fr; gap: 58px; }.marketing-site--motion .marketing-hero-copy { max-width: 710px; }.marketing-site--motion .marketing-hero-visual { justify-self: center; transform: none; animation: marketing-card-float 8s ease-in-out infinite alternate; }.marketing-site--motion .marketing-hero-visual { width: min(100%, 680px); }.marketing-site--motion .marketing-signal-rail { padding-right: clamp(24px, 6vw, 70px); padding-left: clamp(24px, 6vw, 70px); }
  .marketing-proof-heading,.marketing-testimonials-heading { align-items: flex-start; flex-direction: column; gap: 18px; }.marketing-testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.marketing-testimonial-card--featured { grid-column: span 2; }
}
@media (max-width: 780px) {
  .marketing-site--motion .marketing-nav { height: 64px; padding: 0 16px; background: rgba(8, 11, 24, .96); }.marketing-site--motion > main { padding-top: 64px; }.marketing-site--motion .marketing-nav nav a:last-child { color: #cfd6ff; }.marketing-site--motion .marketing-hero { min-height: 0; padding-top: 72px; padding-bottom: 88px; }.marketing-site--motion .marketing-hero h1 { font-size: clamp(48px, 14vw, 65px); }.marketing-site--motion .marketing-hero p { font-size: 16px; }.marketing-site--motion .marketing-hero-actions { flex-direction: row; align-items: center; gap: 18px; }.marketing-site--motion .marketing-hero-proof { flex-direction: row; flex-wrap: wrap; }.marketing-site--motion .marketing-hero-visual { min-height: 316px; }.marketing-site--motion .marketing-preview-body { grid-template-columns: 82px minmax(0, 1fr); min-height: 260px; }.marketing-site--motion .marketing-preview-body section { padding: 15px; }.marketing-site--motion .preview-metrics { gap: 7px; margin-top: 13px; }.marketing-site--motion .preview-metrics > div { padding: 10px; }.marketing-site--motion .preview-flow { gap: 4px; padding: 9px; font-size: 8px; }.marketing-site--motion .preview-flow svg { width: 9px; }.marketing-site--motion .preview-chart { height: 73px; margin-top: 10px; padding: 9px; }.marketing-site--motion .preview-chart > div { height: 36px; }.preview-signal-card--rate { right: -3%; }.preview-signal-card--sync { right: 3%; }.marketing-signal-rail { grid-template-columns: 1fr; padding: 0 24px; }.marketing-signal-rail > div, .marketing-signal-rail > div:last-child { min-height: 0; padding: 19px 0; border-right: 0; border-bottom: 1px solid var(--marketing-line); }.marketing-signal-rail > div:first-child { border-top: 1px solid var(--marketing-line); }
  .marketing-site--motion .marketing-proof,.marketing-site--motion .marketing-testimonials { padding: 78px 24px; }.marketing-proof-heading h2,.marketing-testimonials-heading h2 { font-size: clamp(36px, 11vw, 50px); }.marketing-proof-metrics { grid-template-columns: 1fr; margin-top: 42px; }.marketing-proof-metrics article { min-height: 0; padding: 22px 0; border-top: 1px solid rgba(173, 185, 236, .18); border-left: 0; }.marketing-proof-metrics article:first-child { border-top: 0; }.marketing-proof-metrics strong { font-size: 46px; }.marketing-testimonial-heading { align-items: flex-start; flex-direction: column; gap: 5px; margin-top: 44px; }.marketing-testimonial-grid { grid-template-columns: 1fr; }.marketing-testimonial-card--featured { grid-column: auto; }.marketing-testimonial-card { min-height: 0; }.marketing-testimonial-card blockquote { max-width: 45ch; }.marketing-proof-note { margin-top: 18px; }
}
@media (max-width: 480px) {
  .marketing-site--motion .marketing-hero { padding-right: 20px; padding-left: 20px; }.marketing-site--motion .marketing-hero-actions { align-items: flex-start; flex-direction: column; }.marketing-site--motion .marketing-hero-visual { width: 100%; min-height: 258px; }.marketing-site--motion .marketing-preview-body aside { display: none; }.marketing-site--motion .marketing-preview-body { grid-template-columns: 1fr; min-height: 230px; }.marketing-site--motion .marketing-preview-top { height: 45px; padding: 0 11px; }.marketing-site--motion .preview-window-dots { display: none; }.marketing-site--motion .marketing-preview-top small { margin-left: auto; }.marketing-site--motion .preview-heading b { font-size: 14px; }.marketing-site--motion .preview-metrics strong { font-size: 15px; }.marketing-site--motion .preview-flow { overflow: hidden; white-space: nowrap; }.marketing-site--motion .preview-flow span:last-child, .marketing-site--motion .preview-flow i:last-of-type { display: none; }.preview-signal-card--rate { top: 9%; right: -6px; padding: 9px 10px; }.preview-signal-card--rate strong { font-size: 14px; }.preview-signal-card--sync { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .marketing-site--motion *, .marketing-site--motion *::before, .marketing-site--motion *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 780px) {
  .marketing-site--motion .marketing-nav { background: rgba(8, 11, 24, .96); }
}

@media (max-width: 780px) {
  .marketing-proof-metrics--fable { margin-top: 0; }
  .marketing-site--motion .marketing-capabilities { padding: 78px 24px; }
  .marketing-capabilities-grid { grid-template-columns: 1fr; gap: 14px; }
  .marketing-capabilities-grid article { min-height: 0; padding: 26px; }
}

/* ===========================================================================
   Marketing site — Fable5 reference reconstruction
   ======================================================================== */
.fable-site {
  --fable-bg: hsl(222 47% 5%);
  --fable-card: hsl(222 35% 9%);
  --fable-line: hsl(220 20% 18% / .68);
  --fable-card-line: hsl(220 20% 22% / .78);
  --fable-text: hsl(220 20% 95%);
  --fable-muted: hsl(220 20% 65%);
  --fable-primary: hsl(262 80% 70%);
  --fable-primary-dark: hsl(222 47% 5%);
  min-width: 0;
  overflow: hidden;
  color: var(--fable-text);
  background: var(--fable-bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.fable-site *, .fable-site *::before, .fable-site *::after { box-sizing: border-box; }
.fable-site a { color: inherit; text-decoration: none; }
.fable-container { width: min(1280px, calc(100% - 32px)); margin: 0 auto; }
.fable-nav {
  position: fixed; z-index: 50; inset: 0 0 auto; height: 80px;
  border-bottom: 1px solid var(--fable-line);
  background: hsl(222 47% 5% / .82); backdrop-filter: blur(16px);
}
.fable-nav nav { display: flex; align-items: center; justify-content: space-between; width: min(1280px, calc(100% - 32px)); height: 100%; margin: 0 auto; }
.fable-brand { color: var(--fable-text); font-size: 24px; font-weight: 700; letter-spacing: -.035em; transition: color .2s ease; }
.fable-brand:hover, .fable-nav-links a:hover, .fable-sign-in:hover { color: var(--fable-primary); }
.fable-nav-links, .fable-nav-actions { display: flex; align-items: center; gap: 32px; }
.fable-nav-links a, .fable-sign-in { color: var(--fable-muted); font-size: 14px; font-weight: 500; transition: color .2s ease; }
.fable-nav-actions { gap: 28px; }
.fable-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 32px; border: 1px solid hsl(262 80% 76% / .55);
  border-radius: 7px; color: var(--fable-primary-dark); background: var(--fable-primary);
  box-shadow: 0 12px 28px hsl(262 80% 55% / .18); font-size: 16px; font-weight: 650;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.fable-button:hover { background: hsl(262 80% 76%); box-shadow: 0 16px 34px hsl(262 80% 55% / .28); transform: translateY(-1px); }
.fable-button svg { width: 16px; height: 16px; }
.fable-button--small { min-height: 38px; padding: 0 20px; font-size: 14px; }
.fable-button--outline { color: var(--fable-text); border-color: var(--fable-card-line); background: transparent; box-shadow: none; }
.fable-button--outline:hover { background: hsl(220 20% 15% / .7); box-shadow: none; }
.fable-hero {
  position: relative; display: flex; align-items: center; min-height: 100dvh; padding: 128px 0 76px; overflow: hidden;
  border-bottom: 1px solid var(--fable-line); isolation: isolate;
}
.fable-hero-aurora { position: absolute; z-index: -3; top: -44%; left: 10%; width: 76%; height: 116%; opacity: .85; background: radial-gradient(ellipse at 50% 53%, hsl(265 76% 51% / .36), transparent 53%), radial-gradient(ellipse at 82% 35%, hsl(217 91% 65% / .12), transparent 46%); filter: blur(18px); animation: fable-aurora 8s ease-in-out infinite; }
.fable-hero-stars { position: absolute; z-index: -2; inset: 0; opacity: .6; background-image: radial-gradient(circle at 9% 19%, hsl(262 80% 78% / .78) 0 1.2px, transparent 1.8px), radial-gradient(circle at 17% 37%, hsl(262 80% 75% / .62) 0 1.5px, transparent 2.2px), radial-gradient(circle at 43% 14%, hsl(262 80% 82% / .7) 0 1.2px, transparent 2px), radial-gradient(circle at 51% 39%, hsl(262 80% 80% / .6) 0 1px, transparent 1.8px), radial-gradient(circle at 81% 19%, hsl(262 80% 78% / .5) 0 1px, transparent 1.8px), radial-gradient(circle at 92% 47%, hsl(262 80% 78% / .52) 0 1.1px, transparent 1.8px); }
.fable-hero-grid { position: absolute; z-index: -1; right: -14%; bottom: -48%; left: -14%; height: 92%; opacity: .55; background-image: linear-gradient(hsl(220 20% 25% / .42) 1px, transparent 1px), linear-gradient(90deg, hsl(220 20% 25% / .36) 1px, transparent 1px); background-size: 68px 68px; transform: perspective(760px) rotateX(60deg); transform-origin: center bottom; mask-image: linear-gradient(to top, black, transparent 78%); }
.fable-hero-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr); align-items: center; gap: clamp(48px, 5.2vw, 84px); }
.fable-hero-copy { animation: fable-reveal .65s ease both; }
.fable-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 9px 15px; color: var(--fable-primary); border: 1px solid hsl(262 80% 70% / .24); border-radius: 999px; background: hsl(262 80% 70% / .1); backdrop-filter: blur(8px); font-size: 12px; font-weight: 700; letter-spacing: .015em; text-transform: uppercase; }
.fable-eyebrow svg { width: 14px; height: 14px; }
.fable-hero h1 { max-width: 680px; margin: 0 0 24px; color: var(--fable-text); font-size: clamp(53px, 5.5vw, 78px); font-weight: 750; letter-spacing: -.055em; line-height: 1.1; }
.fable-hero h1 span { display: inline-block; background: linear-gradient(90deg, hsl(262 80% 70%), hsl(217 91% 65%), hsl(262 80% 70%)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fable-shimmer 6s linear infinite; }
.fable-hero-copy > p { max-width: 590px; margin: 0; color: var(--fable-muted); font-size: 19px; line-height: 1.65; }
.fable-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.fable-workspace { position: relative; width: 100%; animation: fable-reveal .65s .14s ease both; }
.fable-workspace-shell { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); min-height: 486px; overflow: hidden; border: 1px solid hsl(220 20% 28% / .72); border-radius: 14px; background: linear-gradient(145deg, hsl(222 35% 11% / .94), hsl(222 38% 7% / .92)); box-shadow: 0 28px 70px hsl(222 47% 2% / .75), inset 0 1px 0 hsl(220 20% 100% / .05); backdrop-filter: blur(12px); }
.fable-workspace-nav { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 9px; border-right: 1px solid hsl(220 20% 22% / .75); background: hsl(222 35% 8% / .72); }
.fable-preview-logo { display: grid; width: 29px; height: 29px; margin-bottom: 12px; border: 1px solid hsl(262 80% 78% / .45); border-radius: 7px; color: #ede9fe; background: linear-gradient(135deg, hsl(262 80% 70%), hsl(217 91% 65%)); box-shadow: 0 5px 14px hsl(262 80% 60% / .38); font-size: 14px; font-weight: 750; place-items: center; }
.fable-workspace-nav > i { display: grid; width: 34px; height: 34px; border-radius: 7px; color: hsl(220 20% 57%); font-style: normal; place-items: center; }.fable-workspace-nav > i svg { width: 15px; height: 15px; }.fable-workspace-nav > i.is-active { color: var(--fable-primary); border: 1px solid hsl(262 80% 70% / .2); background: hsl(262 80% 70% / .12); }
.fable-workspace-main { min-width: 0; padding: 25px 26px; }.fable-workspace-main > header, .fable-preview-funnel > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }.fable-workspace-main > header h3 { margin: 0; color: var(--fable-text); font-size: 19px; font-weight: 700; letter-spacing: -.025em; }.fable-workspace-main > header > span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid hsl(220 20% 25% / .72); border-radius: 4px; color: var(--fable-muted); background: hsl(220 20% 15% / .36); font-size: 10px; white-space: nowrap; }.fable-workspace-main > header > span svg { width: 11px; height: 11px; }
.fable-preview-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }.fable-preview-stats article { position: relative; overflow: hidden; min-width: 0; padding: 13px; border: 1px solid hsl(220 20% 25% / .74); border-radius: 8px; background: hsl(222 35% 10% / .56); }.fable-preview-stats article::after { position: absolute; right: -9px; bottom: -18px; width: 62px; height: 62px; border-radius: 50%; background: hsl(262 80% 70% / .13); content: ''; filter: blur(12px); }.fable-preview-stats small, .fable-preview-stats em { display: block; overflow: hidden; color: var(--fable-muted); font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }.fable-preview-stats strong { display: block; margin: 4px 0 2px; color: var(--fable-text); font-size: 20px; letter-spacing: -.04em; }.fable-preview-stats em { color: var(--fable-primary); font-weight: 650; }
.fable-preview-funnel { padding: 14px; border: 1px solid hsl(220 20% 25% / .74); border-radius: 8px; background: hsl(222 35% 10% / .45); }.fable-preview-funnel header strong, .fable-preview-funnel header em { color: var(--fable-muted); font-size: 10px; font-style: normal; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }.fable-preview-funnel header em { padding: 3px 7px; border-radius: 4px; color: var(--fable-primary); background: hsl(262 80% 70% / .12); letter-spacing: 0; text-transform: none; }.fable-funnel-line { position: relative; display: flex; align-items: center; justify-content: space-between; height: 26px; margin: 9px 0 4px; }.fable-funnel-line::before { position: absolute; z-index: 0; right: 0; left: 0; height: 4px; border-radius: 99px; background: linear-gradient(90deg, hsl(277 75% 65%), hsl(217 91% 65%)); content: ''; }.fable-funnel-line i { position: relative; z-index: 1; width: 12px; height: 12px; border: 3px solid hsl(262 80% 70%); border-radius: 50%; background: var(--fable-bg); }.fable-funnel-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; color: var(--fable-muted); font-size: 9px; }.fable-funnel-labels b { display: block; margin-bottom: 2px; color: var(--fable-text); font-size: 11px; }
.fable-preview-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }.fable-preview-lists section { min-width: 0; padding: 14px; border: 1px solid hsl(220 20% 25% / .7); border-radius: 8px; background: hsl(222 35% 10% / .4); }.fable-preview-lists h4 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 15px; color: var(--fable-muted); font-size: 9px; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; }.fable-preview-lists h4 em { color: hsl(142 72% 47%); font-size: 16px; font-style: normal; }.fable-preview-lists section:first-child > div { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px; padding: 7px 0 9px; color: var(--fable-muted); font-size: 10px; }.fable-preview-lists section:first-child b { color: var(--fable-text); font-size: 10px; }.fable-preview-lists section:first-child i { position: absolute; bottom: 2px; left: 0; height: 4px; border-radius: 99px; background: var(--fable-primary); }.fable-preview-lists section:last-child > div { display: grid; grid-template-columns: 7px 1fr auto; align-items: start; gap: 7px; padding: 7px 0; border-top: 1px solid hsl(220 20% 22% / .4); color: var(--fable-muted); font-size: 9px; }.fable-preview-lists section:last-child > div > i { width: 6px; height: 6px; margin-top: 3px; border-radius: 50%; background: hsl(142 72% 47%); }.fable-preview-lists section:last-child b, .fable-preview-lists section:last-child strong { color: var(--fable-text); font-size: 10px; }.fable-preview-lists section:last-child small { display: block; margin-top: 1px; color: hsl(220 20% 55%); font-size: 8px; }
.fable-float-pill { position: absolute; z-index: 2; padding: 9px 12px; border: 1px solid hsl(262 80% 70% / .38); border-radius: 10px; color: var(--fable-muted); background: hsl(222 35% 9% / .84); box-shadow: 0 14px 34px hsl(222 47% 2% / .55); backdrop-filter: blur(10px); font-size: 11px; font-weight: 600; }.fable-float-pill strong { color: var(--fable-primary); }.fable-float-pill--recovery { top: -18px; right: 0; }.fable-float-pill--sync { right: 4px; bottom: -17px; color: var(--fable-text); }.fable-float-pill--sync i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: hsl(142 72% 47%); }
.fable-outcomes { padding: 64px 0 74px; border-bottom: 1px solid var(--fable-line); background: linear-gradient(180deg, hsl(220 20% 15% / .3), transparent); }.fable-outcomes-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }.fable-outcomes article { text-align: center; }.fable-outcomes strong { display: block; margin-bottom: 8px; color: var(--fable-text); font-size: clamp(34px, 3.6vw, 56px); font-weight: 750; letter-spacing: -.055em; line-height: 1; }.fable-outcomes em { color: var(--fable-primary); font-size: .62em; font-style: normal; }.fable-outcomes p { max-width: 230px; margin: 0 auto; color: var(--fable-muted); font-size: 14px; line-height: 1.35; }
.fable-section { position: relative; padding: 128px 0; border-bottom: 1px solid var(--fable-line); }.fable-section-title { margin: 0 auto 64px; color: var(--fable-text); font-size: clamp(38px, 4.1vw, 58px); font-weight: 750; letter-spacing: -.055em; line-height: 1.12; text-align: center; }.fable-capabilities { overflow: hidden; }.fable-capability-glow { position: absolute; top: -25%; left: 50%; width: 70%; height: 74%; opacity: .38; background: radial-gradient(ellipse, hsl(262 80% 70% / .18), transparent 68%); transform: translateX(-50%); pointer-events: none; }.fable-capability-grid, .fable-value-grid, .fable-trust-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }.fable-capability-grid article { position: relative; display: flex; flex-direction: column; min-height: 316px; padding: 32px; overflow: hidden; border: 1px solid var(--fable-card-line); border-radius: 16px; background: hsl(222 35% 9% / .3); box-shadow: 0 14px 38px hsl(222 47% 2% / .23), inset 0 1px 0 hsl(220 20% 100% / .025); backdrop-filter: blur(12px); transition: border-color .35s ease, transform .35s ease, background .35s ease; }.fable-capability-grid article:hover { border-color: hsl(262 80% 70% / .4); background: linear-gradient(145deg, hsl(262 80% 70% / .08), hsl(222 35% 9% / .5)); transform: translateY(-4px); }.fable-capability-grid article::before { position: absolute; inset: 0; opacity: 0; background: linear-gradient(145deg, hsl(262 80% 70% / .1), transparent 52%); content: ''; transition: opacity .35s ease; }.fable-capability-grid article:hover::before { opacity: 1; }.fable-capability-grid header { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 31px; }.fable-capability-grid header b { color: hsl(220 20% 65% / .1); font-size: 42px; line-height: .8; }.fable-card-icon { position: relative; z-index: 1; display: grid; width: 48px; height: 48px; border: 1px solid hsl(262 80% 70% / .22); border-radius: 11px; color: var(--fable-primary); background: hsl(262 80% 70% / .1); box-shadow: inset 0 1px 8px hsl(262 80% 84% / .08); place-items: center; }.fable-card-icon svg { width: 22px; height: 22px; }.fable-capability-grid h2 { position: relative; z-index: 1; margin: 0 0 10px; color: var(--fable-text); font-size: 21px; font-weight: 700; letter-spacing: -.035em; }.fable-capability-grid p { position: relative; z-index: 1; margin: 0; color: var(--fable-muted); font-size: 14px; font-weight: 550; }.fable-capability-grid article > div { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; border-top: 1px solid hsl(220 20% 22% / .55); }.fable-capability-grid article > div span { padding: 5px 9px; border: 1px solid hsl(220 20% 25% / .72); border-radius: 6px; color: var(--fable-muted); background: hsl(220 20% 15% / .55); font-size: 11px; font-weight: 600; }
.fable-value-grid article { min-height: 294px; padding: 31px; border: 1px solid var(--fable-card-line); border-radius: 12px; background: hsl(222 35% 9% / .48); transition: border-color .25s ease, transform .25s ease; }.fable-value-grid article:hover { border-color: hsl(262 80% 70% / .42); transform: translateY(-3px); }.fable-value-grid .fable-card-icon { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, hsl(262 80% 70% / .24), hsl(217 91% 65% / .18)); }.fable-value-grid .fable-card-icon svg { width: 19px; height: 19px; }.fable-value-grid h3, .fable-trust-grid h3 { margin: 20px 0 14px; color: var(--fable-text); font-size: 21px; font-weight: 700; letter-spacing: -.03em; }.fable-value-grid p, .fable-trust-grid p { margin: 0; color: var(--fable-muted); font-size: 15px; line-height: 1.65; }
.fable-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding: 0; margin: 0; list-style: none; }.fable-process b { display: block; margin-bottom: 16px; color: hsl(262 80% 70% / .12); font-size: clamp(58px, 5vw, 78px); font-weight: 750; letter-spacing: -.06em; line-height: .9; }.fable-process h3 { margin: 0 0 15px; color: var(--fable-text); font-size: 25px; font-weight: 700; letter-spacing: -.035em; }.fable-process p { max-width: 340px; margin: 0; color: var(--fable-muted); font-size: 16px; line-height: 1.65; }
.fable-testimonials { background: linear-gradient(180deg, transparent, hsl(220 20% 15% / .23), transparent); }.fable-testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }.fable-testimonial-grid article { display: flex; flex-direction: column; min-height: 322px; padding: 24px; border: 1px solid var(--fable-card-line); border-radius: 12px; background: hsl(222 35% 9% / .54); box-shadow: inset 0 1px 0 hsl(220 20% 100% / .025); transition: border-color .25s ease; }.fable-testimonial-grid article:hover { border-color: hsl(262 80% 70% / .3); }.fable-stars { color: var(--fable-primary); font-size: 17px; letter-spacing: 1px; }.fable-testimonial-grid blockquote { flex: 1; margin: 18px 0; color: var(--fable-muted); font-size: 15px; line-height: 1.62; }.fable-metric { align-self: flex-start; padding: 6px 11px; border: 1px solid hsl(262 80% 70% / .25); border-radius: 7px; color: var(--fable-primary); background: hsl(262 80% 70% / .1); font-size: 12px; font-weight: 700; }.fable-testimonial-grid footer { display: flex; align-items: center; gap: 11px; margin-top: 19px; padding-top: 16px; border-top: 1px solid hsl(220 20% 22% / .66); }.fable-testimonial-grid footer > i { display: grid; flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid hsl(262 80% 70% / .23); border-radius: 50%; color: var(--fable-primary); background: hsl(262 80% 70% / .1); font-size: 13px; font-style: normal; font-weight: 700; place-items: center; }.fable-testimonial-grid footer span { min-width: 0; }.fable-testimonial-grid footer b, .fable-testimonial-grid footer small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.fable-testimonial-grid footer b { color: var(--fable-text); font-size: 14px; }.fable-testimonial-grid footer small { margin-top: 3px; color: var(--fable-muted); font-size: 12px; }
.fable-trust-grid article { text-align: center; }.fable-trust-grid .fable-card-icon { width: 56px; height: 56px; margin: 0 auto; }.fable-trust-grid .fable-card-icon svg { width: 25px; height: 25px; }.fable-trust-grid h3 { margin-top: 19px; }.fable-trust-grid p { max-width: 320px; margin: 0 auto; }
.fable-final .fable-container > div { position: relative; overflow: hidden; padding: 48px; border: 1px solid hsl(262 80% 70% / .25); border-radius: 16px; background: linear-gradient(135deg, hsl(262 80% 70% / .14), hsl(217 91% 65% / .06), hsl(262 80% 70% / .13)); text-align: center; }.fable-final .fable-container > div::before { position: absolute; inset: 0; opacity: .7; background: linear-gradient(90deg, hsl(262 80% 70% / .08), transparent 48%, hsl(217 91% 65% / .08)); content: ''; animation: fable-aurora 8s ease-in-out infinite; }.fable-final .fable-section-title, .fable-final .fable-button { position: relative; z-index: 1; }.fable-final .fable-section-title { margin-bottom: 26px; }
.fable-footer { padding: 62px 0 36px; border-top: 1px solid var(--fable-line); background: var(--fable-bg); }.fable-footer .fable-container { display: grid; grid-template-columns: 1fr auto; gap: 38px; }.fable-footer strong { display: block; color: var(--fable-text); font-size: 25px; letter-spacing: -.035em; }.fable-footer p { margin: 8px 0 0; color: var(--fable-muted); font-size: 14px; }.fable-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 11px 25px; }.fable-footer nav a { color: var(--fable-muted); font-size: 14px; transition: color .2s ease; }.fable-footer nav a:hover { color: var(--fable-text); }.fable-footer small { grid-column: 1 / -1; padding-top: 27px; border-top: 1px solid var(--fable-line); color: hsl(220 20% 50%); font-size: 12px; }
.fable-trust-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 21px; }.fable-trust-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 39px; padding: 6px 10px; border: 1px solid hsl(220 20% 28% / .72); border-radius: 8px; color: hsl(220 20% 70%); background: linear-gradient(135deg, hsl(220 20% 17% / .72), hsl(220 20% 11% / .78)); box-shadow: inset 0 1px 0 hsl(220 20% 100% / .035); white-space: nowrap; }.fable-trust-badge > i { display: grid; flex: 0 0 auto; width: 23px; height: 23px; border: 1px solid currentColor; border-radius: 5px; color: hsl(262 80% 75%); font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: -.04em; place-items: center; }.fable-trust-badge > span { display: flex; flex-direction: column; gap: 3px; color: hsl(220 20% 67%); font-size: 9px; font-weight: 750; letter-spacing: .08em; line-height: 1; }.fable-trust-badge b { color: hsl(220 20% 87%); font-size: 9px; letter-spacing: .04em; }.fable-trust-badge--shopify > i { color: #95bf47; background: hsl(91 48% 51% / .1); }.fable-trust-badge--soc > i { color: #71a5da; background: hsl(210 60% 64% / .1); }.fable-trust-badge--pci > i { color: #b8a6ff; background: hsl(262 80% 75% / .1); font-size: 7px; }.fable-trust-badge--gdpr > i { color: #f0ca63; background: hsl(44 82% 66% / .1); }
@keyframes fable-reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fable-aurora { 0%, 100% { opacity: .36; transform: scale(1); } 50% { opacity: .62; transform: scale(1.055); } }
@keyframes fable-shimmer { from { background-position: 0 0; } to { background-position: 200% 0; } }
@media (max-width: 1100px) { .fable-hero-layout { grid-template-columns: 1fr; gap: 58px; }.fable-hero-copy { max-width: 720px; }.fable-workspace { max-width: 720px; justify-self: center; }.fable-hero { padding-top: 144px; }.fable-footer nav { justify-content: flex-start; } }
@media (max-width: 780px) { .fable-nav { height: 64px; }.fable-nav nav, .fable-container { width: min(100% - 40px, 1280px); }.fable-brand { font-size: 0; }.fable-brand::after { content: 'B'; display: grid; width: 32px; height: 32px; border: 1px solid hsl(262 80% 78% / .45); border-radius: 8px; color: #ede9fe; background: linear-gradient(135deg, hsl(262 80% 70%), hsl(217 91% 65%)); font-size: 16px; place-items: center; }.fable-nav-links, .fable-sign-in { display: none; }.fable-nav-actions { gap: 18px; }.fable-nav-actions::before { color: var(--fable-muted); content: 'Connect guide'; font-size: 12px; font-weight: 600; }.fable-button--small { min-height: 42px; padding: 0 16px; }.fable-hero { min-height: 0; padding: 135px 0 75px; }.fable-hero-layout { gap: 62px; }.fable-eyebrow { margin-bottom: 20px; padding: 8px 12px; font-size: 10px; }.fable-hero h1 { font-size: clamp(48px, 14vw, 66px); }.fable-hero-copy > p { font-size: 16px; }.fable-hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 28px; }.fable-button { min-height: 47px; padding: 0 27px; font-size: 15px; }.fable-workspace-shell { grid-template-columns: 1fr; min-height: 420px; }.fable-workspace-nav { flex-direction: row; justify-content: flex-start; height: 52px; padding: 9px 12px; border-right: 0; border-bottom: 1px solid hsl(220 20% 22% / .75); }.fable-preview-logo { margin: 0 8px 0 0; }.fable-workspace-nav > i { width: 30px; height: 30px; }.fable-workspace-nav > i:nth-of-type(n+4) { display: none; }.fable-workspace-main { padding: 17px; }.fable-workspace-main > header h3 { font-size: 15px; }.fable-preview-stats { gap: 7px; margin: 14px 0; }.fable-preview-stats article { padding: 10px; }.fable-preview-stats strong { font-size: 15px; }.fable-preview-lists { display: none; }.fable-float-pill--recovery { top: -13px; right: -7px; padding: 7px 9px; font-size: 9px; }.fable-float-pill--sync { display: none; }.fable-outcomes { padding: 52px 0; }.fable-outcomes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }.fable-outcomes strong { font-size: 34px; }.fable-outcomes p { font-size: 12px; }.fable-section { padding: 78px 0; }.fable-section-title { margin-bottom: 44px; font-size: clamp(35px, 10vw, 48px); }.fable-capability-grid, .fable-value-grid, .fable-trust-grid, .fable-process, .fable-testimonial-grid { grid-template-columns: 1fr; gap: 18px; }.fable-capability-grid article { min-height: 0; padding: 25px; }.fable-capability-grid header { margin-bottom: 25px; }.fable-value-grid article { min-height: 0; padding: 25px; }.fable-process { gap: 40px; }.fable-process b { font-size: 58px; }.fable-process h3 { font-size: 22px; }.fable-testimonial-grid article { min-height: 0; }.fable-final .fable-container > div { padding: 42px 23px; }.fable-footer { padding: 49px 0 28px; }.fable-footer .fable-container { grid-template-columns: 1fr; gap: 24px; }.fable-footer nav { justify-content: flex-start; }.fable-footer small { padding-top: 20px; } }
@media (prefers-reduced-motion: reduce) { .fable-site *, .fable-site *::before, .fable-site *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

.fable-mobile-guide { display: none; }
@media (max-width: 780px) {
  .fable-mobile-guide { display: inline; color: var(--fable-muted); font-size: 12px; font-weight: 600; }
  .fable-nav-actions::before { display: none; content: none; }
}

/* Fable-style motion: initial hero entry, dashboard draw-in, then one-shot
   in-view reveals. JS only adds state classes; CSS owns all visual motion. */
.fable-hero-copy,
.fable-workspace { opacity: 0; animation: none; will-change: opacity, transform; }
.fable-hero-copy { transform: translate3d(-34px, 0, 0); }
.fable-workspace { transform: translate3d(42px, 0, 0); }
.fable-site.is-motion-ready .fable-hero-copy,
.fable-site.is-motion-ready .fable-workspace { opacity: 1; transform: translate3d(0, 0, 0); }
.fable-site.is-motion-ready .fable-hero-copy { animation: fable-hero-enter-left .72s cubic-bezier(.22, 1, .36, 1) both; }
.fable-site.is-motion-ready .fable-workspace { animation: fable-hero-enter-right .8s .13s cubic-bezier(.22, 1, .36, 1) both; }
.fable-workspace.is-animated .fable-preview-stats article { animation: fable-panel-rise .5s cubic-bezier(.22, 1, .36, 1) both; }
.fable-workspace.is-animated .fable-preview-stats article:nth-child(2) { animation-delay: .08s; }
.fable-workspace.is-animated .fable-preview-stats article:nth-child(3) { animation-delay: .16s; }
.fable-workspace.is-animated .fable-funnel-line::before { transform-origin: left center; animation: fable-line-draw .82s .24s cubic-bezier(.22, 1, .36, 1) both; }
.fable-workspace.is-animated .fable-funnel-line i { animation: fable-node-pop .32s cubic-bezier(.34, 1.56, .64, 1) both; }
.fable-workspace.is-animated .fable-funnel-line i:nth-child(1) { animation-delay: .34s; }
.fable-workspace.is-animated .fable-funnel-line i:nth-child(2) { animation-delay: .52s; }
.fable-workspace.is-animated .fable-funnel-line i:nth-child(3) { animation-delay: .7s; }
.fable-workspace.is-animated .fable-funnel-line i:nth-child(4) { animation-delay: .88s; }
.fable-workspace.is-animated .fable-preview-lists section:first-child i { transform-origin: left center; animation: fable-line-draw .66s cubic-bezier(.22, 1, .36, 1) both; }
.fable-workspace.is-animated .fable-preview-lists section:first-child > div:nth-of-type(1) i { animation-delay: .36s; }
.fable-workspace.is-animated .fable-preview-lists section:first-child > div:nth-of-type(2) i { animation-delay: .5s; }
.fable-workspace.is-animated .fable-preview-lists section:first-child > div:nth-of-type(3) i { animation-delay: .64s; }
.fable-workspace.is-animated .fable-preview-lists section:last-child > div { animation: fable-panel-rise .42s cubic-bezier(.22, 1, .36, 1) both; }
.fable-workspace.is-animated .fable-preview-lists section:last-child > div:nth-of-type(1) { animation-delay: .48s; }
.fable-workspace.is-animated .fable-preview-lists section:last-child > div:nth-of-type(2) { animation-delay: .6s; }
.fable-workspace.is-animated .fable-preview-lists section:last-child > div:nth-of-type(3) { animation-delay: .72s; }
.fable-reveal { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .62s cubic-bezier(.22, 1, .36, 1) var(--fable-reveal-delay, 0ms), transform .62s cubic-bezier(.22, 1, .36, 1) var(--fable-reveal-delay, 0ms); will-change: opacity, transform; }
.fable-reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
@keyframes fable-hero-enter-left { from { opacity: 0; transform: translate3d(-34px, 0, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes fable-hero-enter-right { from { opacity: 0; transform: translate3d(42px, 0, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes fable-panel-rise { from { opacity: 0; transform: translate3d(0, 13px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes fable-line-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fable-node-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .fable-hero-copy, .fable-workspace, .fable-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Footer: align brand, payment methods, and navigation as three peer columns. */
.fable-footer { padding: 52px 0 28px; }.fable-footer .fable-container { grid-template-columns: minmax(245px, .9fr) minmax(360px, 1.3fr) minmax(190px, .65fr); grid-template-areas: 'brand payments navigation' 'copyright copyright copyright'; column-gap: 44px; row-gap: 34px; }.fable-footer-brand { grid-area: brand; }.fable-footer nav { display: grid; grid-area: navigation; grid-template-columns: repeat(2, max-content); align-content: start; justify-content: end; gap: 13px 25px; max-width: none; }.fable-payment-methods { display: block; grid-area: payments; padding-top: 3px; }.fable-footer-label { display: block; margin-bottom: 11px; color: hsl(220 20% 52%); font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }.fable-payment-logo { display: block; width: min(100%, 520px); height: auto; }.fable-footer small { grid-area: copyright; grid-column: auto; padding-top: 21px; }.fable-trust-badges { gap: 8px; margin-top: 20px; }.fable-trust-badge { min-height: 34px; padding: 5px 9px; border-radius: 7px; background: hsl(220 20% 14% / .52); }.fable-trust-badge > img { display: block; width: 15px; height: 15px; object-fit: contain; }.fable-trust-badge > span { display: block; color: hsl(220 20% 73%); font-size: 10px; font-weight: 650; letter-spacing: -.01em; line-height: 1; }.fable-trust-badge > i, .fable-trust-badge b { display: none; }.fable-trust-badge--security-scorecard > img { width: 17px; }.fable-trust-badge--gdpr > img { width: 17px; }
@media (max-width: 1100px) { .fable-footer .fable-container { grid-template-columns: minmax(0, 1fr) minmax(210px, .7fr); grid-template-areas: 'brand navigation' 'payments payments' 'copyright copyright'; row-gap: 28px; }.fable-footer nav { justify-content: end; }.fable-payment-icons { max-width: none; } }
@media (max-width: 780px) { .fable-footer .fable-container { grid-template-columns: 1fr; grid-template-areas: 'brand' 'payments' 'navigation' 'copyright'; gap: 24px; }.fable-footer nav { justify-content: start; max-width: none; }.fable-payment-methods { padding-top: 0; }.fable-payment-logo { max-width: 100%; }.fable-footer small { padding-top: 20px; } }

/* Use the supplied payment-logo sheet as one self-contained local footer asset. */

/* Footer hierarchy: utility links and payment support share the upper row;
   legal information gets its own deliberate finishing line. */
.fable-footer { padding: 46px 0 0; }
.fable-footer .fable-footer-main { display: grid; grid-template-columns: minmax(250px, 1fr) minmax(185px, .55fr); grid-template-areas: 'brand navigation'; column-gap: 38px; row-gap: 0; }
.fable-footer .fable-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 30px; padding: 18px 0 20px; border-top: 1px solid var(--fable-line); }
.fable-footer-bottom small { display: block; flex: 0 0 auto; grid-column: auto; padding: 0; border: 0; color: hsl(220 20% 50%); font-size: 12px; opacity: 1 !important; transform: none !important; }
.fable-footer-bottom .fable-payment-methods { display: block; flex: 0 1 auto; margin-left: auto; padding: 0; }
.fable-footer-bottom .fable-footer-label { display: none; }
.fable-footer-bottom .fable-payment-logo { width: min(100%, 440px); }
.fable-footer nav { align-content: center; }
.fable-payment-methods { align-self: center; padding-top: 0; }
.fable-footer-label { margin-bottom: 12px; }
@media (max-width: 1100px) { .fable-footer .fable-footer-main { grid-template-columns: minmax(0, 1fr) minmax(205px, .65fr); grid-template-areas: 'brand navigation'; gap: 34px; }.fable-footer .fable-footer-bottom { margin-top: 30px; } }
@media (max-width: 780px) { .fable-footer { padding-top: 40px; }.fable-footer .fable-footer-main { grid-template-columns: 1fr; grid-template-areas: 'brand' 'navigation'; gap: 25px; }.fable-footer .fable-footer-bottom { align-items: flex-start; flex-direction: column; gap: 15px; margin-top: 28px; padding: 16px 0 18px; }.fable-footer-bottom small { font-size: 11px; }.fable-footer-bottom .fable-payment-methods { width: 100%; margin-left: 0; }.fable-footer-bottom .fable-payment-logo { max-width: 100%; } }

/* Shopify connection progress stays in the form area so the merchant retains
   visual context instead of being interrupted by a full-page overlay. */
.connect-progress { margin: 0; padding: 26px; border: 1px solid #d9e1ff; border-radius: 12px; background: linear-gradient(135deg, #fbfcff, #f2f5ff); box-shadow: inset 0 1px 0 rgba(255,255,255,.76); animation: connect-progress-in .2s ease-out both; }
.connect-progress-heading { display: flex; align-items: center; gap: 14px; }.connect-progress-heading strong { display: block; color: #1e347f; font-size: 17px; line-height: 1.3; }.connect-progress-heading p { margin: 4px 0 0; color: #617096; font-size: 13px; line-height: 1.5; }.connect-progress-orbit,.connect-progress-complete { position: relative; display: grid; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; place-items: center; }.connect-progress-orbit { border: 3px solid #d2dcff; border-top-color: #4263eb; animation: connect-spin 1.1s linear infinite; }.connect-progress-orbit::after { position: absolute; inset: 9px; border-radius: 50%; background: #4263eb; content: ''; }.connect-progress-complete { background: #e6f8ee; color: #198754; font-size: 21px; font-weight: 800; }
.connect-progress ol { display: grid; gap: 13px; margin: 25px 0 18px; padding: 0; list-style: none; }.connect-progress li { display: flex; align-items: center; gap: 10px; color: #8a96ae; font-size: 13px; font-weight: 600; transition: color .25s ease; }.connect-step-mark { display: grid; flex: 0 0 auto; width: 19px; height: 19px; border: 1px solid #c7d0e3; border-radius: 50%; background: #fff; place-items: center; }.connect-progress li.is-active { color: #284cc8; }.connect-progress li.is-active .connect-step-mark { border-color: #4263eb; box-shadow: 0 0 0 4px rgba(66,99,235,.12); }.connect-progress li.is-active .connect-step-mark::after { width: 6px; height: 6px; border-radius: 50%; background: #4263eb; content: ''; animation: connect-pulse 1s ease-in-out infinite; }.connect-progress li.is-complete { color: #31724f; }.connect-progress li.is-complete .connect-step-mark { border-color: #87cfaa; background: #eaf8ef; }.connect-progress li.is-complete .connect-step-mark::after { color: #198754; content: '✓'; font-size: 12px; font-weight: 800; }.connect-progress > small { display: block; color: #7786a2; font-size: 12px; }
@keyframes connect-spin { to { transform: rotate(360deg); } }
@keyframes connect-pulse { 50% { transform: scale(1.45); opacity: .5; } }
@keyframes connect-progress-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 780px) { .connect-progress { padding: 22px; }.connect-progress-heading { align-items: flex-start; }.connect-progress ol { gap: 11px; margin-top: 22px; } }
@media (max-width: 440px) { .connect-form-actions { grid-template-columns:1fr; }.connect-form-actions .portal-submit { grid-row:1; }.portal-connect-later { grid-row:2; } }

/* Brand mark: two routes converge into a verified checkout. The mark is an
   SVG with a transparent canvas so it stays distinctive on every surface. */
.portal-mark,
.marketing-brand .portal-mark { display:block; width:30px; height:30px; object-fit:contain; filter:drop-shadow(0 4px 9px rgba(84,88,246,.28)); }
.fable-brand { display:inline-flex; align-items:center; gap:9px; }
.fable-brand-mark { display:block; flex:0 0 auto; width:31px; height:31px; filter:drop-shadow(0 4px 10px hsl(262 80% 65% / .32)); transition:transform .2s ease, filter .2s ease; }
.fable-brand:hover .fable-brand-mark { filter:drop-shadow(0 5px 12px hsl(262 80% 68% / .48)); transform:translateX(1px); }
.fable-preview-logo { display:block; width:29px; height:29px; margin-bottom:12px; filter:drop-shadow(0 4px 8px hsl(262 80% 60% / .42)); }
.fable-footer-brand > strong { display:inline-flex; align-items:center; gap:9px; }
.fable-footer-brand-mark { display:block; width:29px; height:29px; filter:drop-shadow(0 4px 9px hsl(262 80% 65% / .28)); }
@media (max-width:780px) {
  .fable-brand { font-size:0; }
  .fable-brand::after { display:none; content:none; }
  .fable-brand > span { display:none; }
  .fable-brand-mark { width:32px; height:32px; }
  .fable-preview-logo { margin:0 8px 0 0; }
}
