* { box-sizing: border-box; }

:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #20252d;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body { margin: 0; min-width: 320px; zoom: 1.2; }
.topbar { height: 75px; border-bottom: 1px solid #e8e9eb; }
.topbar-inner { width: min(1208px, calc(100% - 48px)); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #222831; text-decoration: none; font-size: 16px; font-weight: 700; letter-spacing: -.35px; }
.brand-icon { width: 160px; height: 52px; display: grid; place-items: center; border-radius: 6px; color: #5064d7; background: #edf0ff; font-size: 23px; font-weight: 700; }
.brand-icon img, .preview-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.brand-icon img[hidden], .preview-icon img[hidden] { display: none; }
.brand-fallback[hidden] { display: none; }
.demo-tag { padding: 8px 12px; border-radius: 20px; color: #727984; background: #f5f6f8; font-size: 9px; font-weight: 700; letter-spacing: .55px; }
.page { width: min(1190px, calc(100% - 48px)); margin: 44px auto 0; }
.intro { margin-bottom: 31px; }
.eyebrow { margin: 0 0 10px; color: #87909d; font-size: 9px; line-height: 1.3; font-weight: 700; letter-spacing: 1px; }
h1 { margin: 0; font-size: 27px; line-height: 1.25; letter-spacing: -.85px; font-weight: 650; }
.intro-copy { margin: 9px 0 0; color: #7d8590; font-size: 13px; }
.dashboard { display: grid; grid-template-columns: 1.65fr 1.04fr; gap: 24px; align-items: stretch; }
.account-card, .status-card { min-width: 0; border: 1px solid #e2e4e7; border-radius: 13px; background: #fff; }
.account-card { display: grid; grid-template-columns: 245px 1fr; gap: 23px; padding: 21px; }
.brand-preview { min-height: 310px; border: 1px solid #e0e2e5; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; }
.brand-preview.has-large-logo { padding: 10px; }
.brand-preview.has-large-logo .preview-icon { width: 100%; height: auto; min-height: 0; flex: 1; border-radius: 0; background: none; }
.brand-preview.has-large-logo .preview-icon img { object-fit: contain; }
.preview-icon { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 21px; color: #5064d7; background: linear-gradient(145deg, #edf0ff, #dfe5ff); font-size: 39px; font-weight: 600; }
.brand-preview strong { color: #30353c; font-size: 18px; letter-spacing: -.35px; }
.brand-preview.has-large-logo #preview-name { display: none; }
.account-copy { padding: 10px 0; }
.account-copy .eyebrow { margin-bottom: 12px; }
.account-copy .customer-eyebrow { color: #586b8b; font-family: Georgia, "Times New Roman", serif; font-size: 11px; letter-spacing: 1.25px; }
h2 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.35px; }
.notice { margin: 14px 0 17px; padding: 13px 14px; border-radius: 9px; background: #f6f7f9; color: #535b66; font-size: 12px; line-height: 1.55; }
.info-note { display: flex; gap: 10px; margin: 0; color: #7c8590; font-size: 11px; line-height: 1.6; }
.info-icon { flex: 0 0 18px; width: 18px; height: 18px; border: 1px solid #d8dce2; border-radius: 50%; display: grid; place-items: center; color: #84909c; font-family: Georgia, serif; font-size: 12px; font-weight: 700; }
.status-card { padding: 26px 20px 20px; }
.status-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.check-icon { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; border-radius: 12px; color: #54a98e; background: #edf8f5; font-size: 22px; font-weight: 400; }
.status-heading .eyebrow { margin-bottom: 7px; }
.status-heading h2 { font-size: 15px; }
.status-line { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #e9eaec; color: #333941; font-size: 12px; }
.demo-status { display: inline-flex; align-items: center; gap: 8px; color: #747d87; font-size: 11px; }
.demo-status i { width: 7px; height: 7px; border-radius: 50%; background: #aab2ba; }
.demo-status.awaiting-review { padding: 6px 9px; border: 1px solid #f2c9c9; border-radius: 6px; color: #b4232f; background: #fff1f1; font-size: 10px; font-weight: 700; }
.steps { display: grid; gap: 16px; list-style: none; margin: 13px 0 19px; padding: 0; }
.steps li { display: flex; gap: 11px; align-items: flex-start; }
.step-number { width: 23px; height: 23px; flex: 0 0 23px; display: grid; place-items: center; border: 1px solid #e1e4e8; border-radius: 50%; color: #7d858f; font-size: 10px; }
.step-number.current { border-color: #cce9e1; color: #56a78f; background: #f2faf7; }
.steps strong, .steps small { display: block; }
.steps strong { padding-top: 2px; color: #333941; font-size: 10px; font-weight: 650; }
.steps small { margin-top: 4px; color: #87909a; font-size: 9px; line-height: 1.45; }
.hint { width: 100%; min-height: 52px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 8px; background: #20252b; color: white; cursor: pointer; text-align: left; font: inherit; font-size: 13px; font-weight: 700; }
.hint .arrow { font-size: 21px; font-weight: 300; }
.hint:hover { background: #2c3239; }
.demo-form-dialog { width: min(390px, calc(100% - 32px)); max-height: min(720px, calc(100dvh - 32px)); overflow-y: auto; padding: 23px; border: 1px solid #e3e7ed; border-radius: 14px; background: #fff; color: #253044; box-shadow: 0 18px 55px rgba(27, 39, 58, .2); }
.demo-form-dialog::backdrop { background: rgba(20, 28, 40, .42); }
.demo-form-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.demo-form-heading h2 { margin: 0; font-size: 17px; }
.demo-form-heading p { margin: 5px 0 0; color: #4c9a77; font-size: 11px; line-height: 1.4; }
.demo-form-close { width: 30px; height: 30px; flex: 0 0 auto; border: 0; border-radius: 50%; background: #f0f2f5; color: #596273; cursor: pointer; font-size: 21px; line-height: 1; }
.demo-field { display: block; margin: 0 0 14px; color: #68717a; font-size: 11px; }
.demo-field input { display: block; width: 100%; height: 39px; margin-top: 5px; padding: 0 10px; border: 1px solid #dfe3e9; border-radius: 7px; outline: 0; background: #fff; color: #30343a; font: inherit; font-size: 13px; }
.demo-field input:focus { border-color: #8795ed; box-shadow: 0 0 0 3px #5268e814; }
.demo-field input::placeholder { color: #a7aeb9; }
.demo-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-form-submit { width: 100%; height: 42px; margin-top: 4px; border: 0; border-radius: 8px; background: #5268e8; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.demo-form-note, .demo-form-result { margin: 11px 0 0; color: #858e9b; font-size: 10px; line-height: 1.45; text-align: center; }
.demo-form-result { color: #278548; font-weight: 650; }
#demo-form [hidden] { display: none !important; }
.demo-waiting[hidden] { display: none; }
.demo-waiting { padding: 0 8px; text-align: center; }
.demo-waiting-spinner { display: block; width: 36px; height: 36px; margin: 0 auto 15px; border: 4px solid #e5e9ff; border-top-color: #5268e8; border-radius: 50%; animation: demo-wait-spin .8s linear infinite; }
.demo-waiting-spinner[hidden] { display: none; }
.demo-waiting-countdown[hidden] { display: none; }
.demo-waiting-countdown { position: relative; display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 15px; border-radius: 50%; background: conic-gradient(#5268e8 var(--progress, 100%), #e5e9ff 0); color: #253044; font-size: 13px; font-weight: 700; }
.demo-waiting-countdown::before { position: absolute; inset: 4px; border-radius: 50%; background: #fff; content: ""; }
.demo-waiting-countdown span { position: relative; z-index: 1; }
.demo-waiting h3 { margin: 0; color: #253044; font-size: 15px; line-height: 1.4; }
.demo-waiting p { margin: 8px 0 0; color: #858e9b; font-size: 11px; line-height: 1.45; }
.demo-waiting.is-push p { display: inline-block; max-width: 100%; margin: 14px 0 4px; padding: 14px 20px; border: 1px solid #dce3ff; border-radius: 14px; background: linear-gradient(135deg, #f3f5ff, #fff); box-shadow: 0 8px 22px #5268e81a; color: #293765; font-size: clamp(20px, 5vw, 26px); font-weight: 800; line-height: 1.25; letter-spacing: .06em; overflow-wrap: anywhere; }
.demo-waiting.is-error h3, .demo-waiting.is-error > p { color: #b42318; }
.demo-waiting-reply[hidden], .demo-waiting-confirm[hidden] { display: none; }
.demo-waiting-reply { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 18px; text-align: left; }
.demo-waiting-reply > * { grid-column: 1; }
.demo-waiting-reply label { color: #59616a; font-size: 12px; font-weight: 600; }
.demo-waiting-reply input { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #d9dde2; border-radius: 8px; font: inherit; font-size: 14px; }
.demo-waiting-reply button, .demo-waiting-confirm button { min-height: 40px; border: 0; border-radius: 8px; background: #5268e8; color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
.demo-waiting-reply button:disabled, .demo-waiting-confirm button:disabled { opacity: .65; cursor: wait; }
.demo-waiting-reply small { color: #858e9b; font-size: 10px; line-height: 1.45; }
.demo-waiting-reply p, .demo-waiting-confirm p { margin: 0; }
.demo-waiting-confirm { margin-top: 14px; }
.demo-waiting-confirm button { padding: 0 20px; background: #278548; }
.demo-main-menu-button { width: 100%; min-height: 42px; margin-top: 12px; border: 0; border-radius: 9px; background: #20252b; color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.demo-main-menu-button:hover { background: #343b44; }
.demo-main-menu-button[hidden] { display: none; }
.demo-form-dialog.is-waiting { min-height: 210px; display: flex; flex-direction: column; justify-content: center; }
.demo-form-dialog.is-waiting .demo-form-heading { display: none; }
.demo-form.is-waiting { min-height: 0; }
@keyframes demo-wait-spin { to { transform: rotate(360deg); } }
@media (max-width: 420px) { .demo-field-row { grid-template-columns: 1fr; gap: 0; } }
.payment-methods { display: flex; align-items: center; gap: 5px; margin-top: 10px; }
.payment-radio { width: 10px; height: 10px; flex: 0 0 10px; margin: 0 1px 0 6px; border: 1px solid #9ba2aa; border-radius: 50%; position: relative; }
.payment-radio::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: #89929d; }
.payment-logo { height: 26px; border: 1px solid #d9dde2; border-radius: 5px; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.payment-logo.visa { width: 41px; color: #fff; background: #174b9b; border: 3px solid #fff; box-shadow: 0 0 0 1px #d9dde2; font-family: Arial, sans-serif; font-size: 10px; font-style: italic; font-weight: 900; letter-spacing: -.4px; }
.payment-logo.mastercard, .payment-logo.maestro { position: relative; width: 41px; }
.payment-logo.mastercard i, .payment-logo.mastercard b, .payment-logo.maestro i, .payment-logo.maestro b { width: 13px; height: 13px; border-radius: 50%; position: absolute; }
.payment-logo.mastercard i, .payment-logo.maestro i { left: 11px; background: #eb1b2d; }
.payment-logo.mastercard b, .payment-logo.maestro b { left: 18px; background: #f5a623; mix-blend-mode: multiply; }
.payment-logo.maestro { width: 42px; }
.payment-logo.maestro b { background: #0875a9; }
.payment-logo.maestro small { position: absolute; bottom: 2px; color: #777e87; font: 4px Arial, sans-serif; }
.payment-logo.diners { width: 47px; gap: 3px; color: #4d647e; }
.payment-logo.diners b { width: 12px; height: 12px; display: grid; place-items: center; border: 1px solid #526d8d; border-radius: 50%; font: 700 8px Arial, sans-serif; }
.payment-logo.diners small { font: 4px/1.05 Arial, sans-serif; }
.footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 29px; padding-top: 16px; border-top: 1px solid #e8e9eb; color: #8b929b; font-size: 9px; }

@media (max-width: 850px) {
  .page { margin-top: 34px; }
  .dashboard { grid-template-columns: 1fr; gap: 16px; }
  .brand-preview { min-height: 240px; }
}
@media (max-width: 560px) {
  .topbar { height: 64px; }
  .topbar-inner, .page { width: calc(100% - 32px); }
  .page { margin-top: 28px; }
  .intro { margin-bottom: 22px; }
  h1 { font-size: 24px; }
  .intro-copy { max-width: 34ch; line-height: 1.5; }
  .account-card { grid-template-columns: 1fr; gap: 16px; padding: 14px; }
  .brand-preview { min-height: 180px; }
  .account-copy { padding: 3px 2px 8px; }
  .status-card { padding: 20px 15px 15px; }
  .footer { flex-direction: column; gap: 7px; }
}

/* Marketplace delivery form and order status use the Marketplace visual language. */
.marketplace-dialog.demo-form-dialog {
  width: min(430px, calc(100% - 28px));
  padding: 26px;
  border: 1px solid #e2e6eb;
  border-radius: 20px;
  box-shadow: 0 26px 80px rgba(24, 34, 48, .25);
}
.marketplace-dialog.demo-form-dialog::backdrop { background: rgba(24, 34, 48, .48); }
.marketplace-dialog .demo-form-heading { align-items: center; margin-bottom: 22px; }
.marketplace-dialog .demo-form-heading h2 { color: #20252b; font-size: 21px; letter-spacing: -.4px; }
.marketplace-dialog .demo-form-heading p { max-width: 270px; color: #77818e; font-size: 12px; }
.marketplace-payment-examples { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: -10px 0 18px; padding: 10px 0 12px; border-bottom: 1px solid #edf0f3; }
.marketplace-payment-examples > span { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; height: 15px; }
.marketplace-payment-examples > .marketplace-pci-note { flex: 0 0 100%; justify-content: flex-start; gap: 6px; color: #39a34a; font-size: 10px; line-height: 1.2; }
.marketplace-pci-lock { width: 15px; height: 15px; border-radius: 3px; background: #39b54a; color: #fff; font-size: 10px; font-weight: 700; }
.marketplace-payment-visa { color: #5268e8; font: italic 900 14px Arial, sans-serif; }
.marketplace-payment-mastercard { position: relative; width: 26px; }
.marketplace-payment-mastercard i, .marketplace-payment-mastercard b { position: absolute; width: 14px; height: 14px; border-radius: 50%; }
.marketplace-payment-mastercard i { left: 2px; background: #eb1b2d; }
.marketplace-payment-mastercard b { left: 10px; background: #f5a623; mix-blend-mode: multiply; }
.marketplace-payment-amex { color: #5274ce; font: 700 5px/1 Arial, sans-serif; text-align: center; }
.marketplace-payment-discover { color: #454b54; font: 700 6px Arial, sans-serif; }
.marketplace-payment-jcb { position: relative; width: 22px; overflow: hidden; border-radius: 3px; color: #fff; font: italic 700 9px Arial, sans-serif; }
.marketplace-payment-jcb i, .marketplace-payment-jcb b, .marketplace-payment-jcb em { position: absolute; top: 1px; height: 13px; width: 9px; display: grid; place-items: center; font-style: normal; }
.marketplace-payment-jcb i { left: 0; background: #1464b3; }
.marketplace-payment-jcb b { left: 7px; background: #d83242; }
.marketplace-payment-jcb em { left: 14px; background: #46a85c; }
.marketplace-payment-caption { width: 100%; height: auto !important; justify-content: flex-start !important; color: #7b8490; font-size: 10px; }
.marketplace-dialog .demo-form-close { width: 36px; height: 36px; border: 1px solid #e3e6eb; background: #f7f8fa; }
.marketplace-dialog .demo-field { margin-bottom: 15px; color: #535d69; font-size: 12px; font-weight: 600; }
.marketplace-input-with-tooltip { position: relative; display: block; }
.marketplace-input-with-tooltip input { padding-right: 42px !important; }
.marketplace-tooltip-wrap { position: absolute; top: 50%; right: 10px; display: inline-flex; transform: translateY(-50%); }
.marketplace-tooltip-trigger { display: inline-grid; width: 21px; height: 21px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: #e8e9eb; color: #73777c; font: 600 13px/1 Arial, sans-serif; cursor: help; }
.marketplace-tooltip-trigger::before { position: absolute; z-index: 5; right: -9px; bottom: calc(100% + 7px); width: max-content; max-width: min(230px, calc(100vw - 70px)); padding: 9px 11px; border-radius: 7px; background: #252b33; color: #fff; content: attr(data-tooltip); font: 12px/1.2 Arial, sans-serif; white-space: normal; opacity: 0; visibility: hidden; transition: opacity .12s ease; pointer-events: none; }
.marketplace-tooltip-trigger::after { position: absolute; z-index: 5; right: -2px; bottom: calc(100% + 1px); border: 6px solid transparent; border-top-color: #252b33; content: ""; opacity: 0; visibility: hidden; transition: opacity .12s ease; }
.marketplace-tooltip-trigger:hover::before, .marketplace-tooltip-trigger:hover::after, .marketplace-tooltip-trigger:focus-visible::before, .marketplace-tooltip-trigger:focus-visible::after { opacity: 1; visibility: visible; }
.marketplace-dialog .demo-field input { height: 44px; margin-top: 7px; padding: 0 12px; border-color: #dfe3e9; border-radius: 10px; font-size: 14px; }
.marketplace-dialog .demo-field-row { gap: 12px; }
.marketplace-dialog .demo-form-submit { height: 48px; margin-top: 7px; border-radius: 11px; background: #20252b; font-size: 14px; transition: background .15s ease, transform .15s ease; }
.marketplace-dialog .demo-form-submit:hover { transform: translateY(-1px); background: #343b44; }
.marketplace-dialog .demo-form-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.marketplace-dialog .demo-form-note { margin-top: 14px; color: #7b8490; font-size: 11px; }
.marketplace-dialog.is-waiting.demo-form-dialog {
  display: block;
  width: min(470px, calc(100% - 28px));
  min-height: 0;
  padding: 18px;
  overflow: visible;
  border-radius: 20px;
}
.marketplace-dialog.is-waiting .demo-waiting {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  gap: 14px;
  padding: 32px 26px;
  border: 1px solid #e8ebef;
  border-radius: 18px;
  background: linear-gradient(145deg, #fbfcfd, #f1f4f7);
  text-align: center;
}
.marketplace-dialog.is-waiting .demo-waiting-spinner,
.marketplace-dialog.is-waiting .demo-waiting-countdown {
  grid-column: 1;
  grid-row: auto;
  width: 52px;
  height: 52px;
  margin: 0;
}
.marketplace-dialog.is-waiting .demo-waiting-spinner { border-color: #dfe4eb; border-top-color: #5268e8; }
.marketplace-dialog.is-waiting .demo-waiting-countdown { background: conic-gradient(#5268e8 var(--progress, 100%), #dce2e9 0); font-size: 15px; }
.marketplace-dialog.is-waiting .demo-waiting-countdown::before { inset: 5px; background: #f5f7f9; }
.marketplace-dialog.is-waiting .demo-waiting h3 { grid-column: 1; align-self: center; max-width: 32ch; color: #20252b; font-size: 19px; line-height: 1.4; letter-spacing: -.25px; }
.marketplace-dialog.is-waiting .demo-waiting > p { grid-column: 1; align-self: center; max-width: 48ch; margin: -4px 0 0; color: #77818e; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.marketplace-dialog.is-waiting .demo-waiting.is-error h3,
.marketplace-dialog.is-waiting .demo-waiting.is-error > p { color: #a93232; }
.marketplace-dialog.is-waiting .demo-waiting.is-error {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 13px;
  padding: 34px 26px;
  text-align: center;
}
.marketplace-dialog.is-waiting .demo-waiting.is-error h3,
.marketplace-dialog.is-waiting .demo-waiting.is-error > p {
  grid-column: 1;
  align-self: center;
  width: 100%;
  max-width: 38ch;
  text-align: center;
  line-height: 1.55;
}
.marketplace-dialog.is-waiting .demo-waiting-reply,
.marketplace-dialog.is-waiting .demo-waiting-confirm { grid-column: 1 / -1; width: 100%; margin-top: 10px; }
.marketplace-dialog .demo-waiting[hidden],
.marketplace-dialog .demo-waiting-spinner[hidden],
.marketplace-dialog .demo-waiting-countdown[hidden],
.marketplace-dialog .demo-waiting-reply[hidden],
.marketplace-dialog .demo-waiting-confirm[hidden] { display: none !important; }
.marketplace-dialog.is-waiting .demo-waiting-reply { gap: 10px; }
.marketplace-dialog.is-waiting .demo-waiting-reply label { color: #414a55; font-size: 13px; }
.marketplace-dialog.is-waiting .demo-waiting-reply input { min-height: 44px; border-color: #dce1e7; border-radius: 10px; }
.marketplace-dialog.is-waiting .demo-waiting-reply button { min-height: 44px; border-radius: 10px; background: #20252b; }
.marketplace-dialog.is-waiting .demo-waiting-confirm { display: grid; gap: 9px; }
.marketplace-dialog.is-waiting .demo-waiting-confirm button { min-height: 48px; border-radius: 11px; background: #22834c; font-size: 15px; }
.marketplace-dialog.is-waiting .demo-waiting-confirm button:hover { background: #1b713f; }
.marketplace-dialog.is-waiting .demo-waiting-confirm p,
.marketplace-dialog.is-waiting .demo-waiting-reply p { color: #75808c; font-size: 12px; }

@media (max-width: 440px) {
  .marketplace-dialog.demo-form-dialog { padding: 21px; }
  .marketplace-dialog.is-waiting.demo-form-dialog { padding: 12px; }
  .marketplace-dialog.is-waiting .demo-waiting { gap: 12px; padding: 26px 18px; }
  .marketplace-dialog.is-waiting .demo-waiting-spinner,
  .marketplace-dialog.is-waiting .demo-waiting-countdown { width: 48px; height: 48px; }
}
