@font-face {
  font-family: MySpace Jakarta;
  src: url("/marketplace/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
.ms-public,
.ms-branded-auth {
  --ms-ink: #202537;
  --ms-muted: #565e73;
  --ms-accent: #4944ce;
  --ms-line: #d3d9e6;
  --ms-ground: #e9edf5;
  font-family:
    MySpace Jakarta,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ms-ink);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
body:has(.ms-public) {
  margin: 0;
  background: #e9edf5;
}
.ms-public {
  background:
    radial-gradient(ellipse at 90% 0, #e5e3fc88, transparent 35%), #e9edf5;
  min-height: 100vh;
}
.ms-public *,
.ms-branded-auth * {
  box-sizing: border-box;
}
.ms-public a,
.ms-branded-auth a {
  color: #4944ce;
  text-underline-offset: 4px;
}
.ms-public button,
.ms-public input,
.ms-public select,
.ms-public textarea,
.ms-branded-auth button,
.ms-branded-auth input {
  font: inherit;
}
.ms-public :focus-visible,
.ms-branded-auth :focus-visible {
  outline: 3px solid #4944ce;
  outline-offset: 4px;
}
.ms-public button:disabled,
.ms-branded-auth button:disabled {
  opacity: 0.55;
  cursor: default;
}
.ms-public [hidden] {
  display: none !important;
}
.ms-logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  text-decoration: none;
}
.ms-logo img,
.ms-brand-logo {
  display: block;
  max-width: 100%;
  object-fit: contain;
}
.ms-public-header {
  max-width: 1280px;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 26px;
  border: 1px solid white;
  border-radius: 22px;
  background: linear-gradient(120deg, #ffffffd9, #f8f9ffb8);
  box-shadow: 0 10px 25px #303d6612;
}
.ms-public-header nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 12px;
}
.ms-public-header nav a {
  text-decoration: none;
  color: #3c405d;
}
.ms-button,
.ms-public .shop-button,
.ms-public .primary-login,
.ms-branded-auth .shop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  background: #4944ce;
  color: #fff !important;
  border: 1px solid #4944ce;
  border-radius: 12px;
  padding: 11px 20px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.ms-button:hover,
.ms-public .shop-button:hover,
.ms-branded-auth .shop-button:hover {
  box-shadow: 0 7px 16px #4944ce26;
  transform: translateY(-1px);
}
.ms-public .shop-outline,
.ms-branded-auth .shop-outline {
  background: #f3f4fd;
  color: #4944ce !important;
  border-color: #d8d6f3;
}
.ms-public .eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: #565e73;
}
.ms-public h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -1.8px;
  color: #202537;
  font-weight: 800;
}
.ms-public h2 {
  color: #202537;
  line-height: 1.35;
  letter-spacing: -0.5px;
}
.ms-public p {
  line-height: 1.85;
}
.ms-public-footer {
  max-width: 1280px;
  margin: 55px auto 0;
  padding: 28px 10px 35px;
  border-top: 1px solid #d3d9e6;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  color: #565e73;
  font-size: 11px;
}
.ms-public-footer p {
  flex: 1;
}
.ms-public-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  flex-basis: 100%;
  padding: 14px 0;
}
.ms-public-footer nav a {
  color: #565e73;
}
.ms-public-footer small {
  font-size: 10px;
  flex-basis: 100%;
}
.ms-policy-heading {
  max-width: 1280px;
  margin: 55px auto 35px;
  padding: 0 12px;
}
.ms-policy-heading h1 {
  max-width: 850px;
  margin: 15px 0;
}
.ms-policy-heading > p:not(.eyebrow) {
  color: #565e73;
  font-size: 13px;
  max-width: 760px;
}
.ms-policy-layout {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 32px;
  padding: 0 12px;
}
.ms-policy-nav {
  align-self: start;
  position: sticky;
  top: 24px;
  padding: 15px;
  border: 1px solid #ffffffc9;
  border-radius: 18px;
  background: #e9edf5;
  box-shadow:
    6px 6px 16px #cbd2e2,
    -6px -6px 16px white;
}
.ms-policy-nav > a {
  display: block;
  text-decoration: none;
  font-size: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  color: #565e73;
  min-height: 44px;
}
.ms-policy-nav > a[aria-current="page"] {
  background: #dfdef6;
  color: #3933ab;
  font-weight: 700;
}
.ms-policy-content {
  min-width: 0;
  border: 1px solid white;
  border-radius: 22px;
  background: #f8f9fc;
  padding: 34px 40px;
  box-shadow: 0 10px 26px #303d6608;
}
.ms-policy-content section {
  scroll-margin-top: 24px;
  border-top: 1px solid #e1e5ee;
  margin-top: 25px;
  padding-top: 24px;
}
.ms-policy-content section:first-of-type {
  border: 0;
  padding-top: 0;
  margin-top: 0;
}
.ms-policy-content h2 {
  font-size: 20px;
  margin: 0 0 12px;
}
.ms-policy-content p,
.ms-policy-content li {
  font-size: 14px;
  color: #454d63;
  white-space: pre-line;
}
.ms-policy-content .policy-version {
  font-size: 11px;
  color: #565e73;
}
.ms-policy-toc {
  margin: 0 0 28px;
  padding: 16px 20px;
  background: #eeedf9;
  border-radius: 13px;
}
.ms-policy-toc summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 12px;
  min-height: 30px;
}
.ms-policy-toc a {
  display: block;
  padding: 6px 0;
  font-size: 12px;
}
.ms-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.ms-source-links a {
  font-size: 12px;
  padding: 8px 12px;
  min-height: 40px;
  border-radius: 10px;
  background: #eeedf9;
  text-decoration: none;
}
.ms-policy-contact {
  padding: 18px;
  background: #eeedf9;
  border: 1px solid #dfdcf5;
  border-radius: 13px;
  font-size: 12px;
  margin-top: 30px;
}
.ms-auth-layout {
  max-width: 1100px;
  margin: 65px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 75px;
  align-items: center;
  padding: 0 24px;
}
.ms-auth-intro h1 {
  margin: 18px 0 22px;
}
.ms-auth-intro > p:not(.eyebrow) {
  color: #565e73;
  max-width: 400px;
}
.ms-auth-points {
  display: grid;
  gap: 15px;
  margin-top: 30px;
  font-size: 12px;
  color: #565e73;
}
.ms-auth-points span:before {
  content: "✦";
  color: #4944ce;
  margin-right: 12px;
}
.ms-public .shop-policy-page,
.ms-public .ms-account-card {
  width: 100%;
  max-width: 740px;
  margin: 55px auto;
  padding: 35px;
  border-radius: 22px;
  border: 1px solid white;
  background: #f8f9fc;
  box-shadow: 0 12px 25px #303d6612;
}
.ms-public .shop-policy-page h1 {
  font-size: 32px;
}
.ms-public .shop-policy-page form label,
.ms-branded-auth form label {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  font-size: 12px;
  font-weight: 600;
}
.ms-public .shop-policy-page input,
.ms-branded-auth form input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 47px;
  border: 1px solid #c9cfdf;
  background: #fff;
  color: #202537;
  border-radius: 11px;
  padding: 12px 14px;
}
.ms-public .shop-policy-page [role="alert"],
.ms-branded-auth [role="alert"] {
  color: #883832;
  padding: 12px;
  background: #fff2ef;
  border-radius: 10px;
}
.ms-public [role="status"] {
  color: #3933ab;
}
.ms-branded-auth .shop-modal {
  font-family: inherit;
  color: #202537;
  background: #f8f9fc;
  border-radius: 22px;
  border: 1px solid white;
  width: min(540px, calc(100vw - 28px));
  padding: 32px;
  box-shadow: 0 16px 50px #303d6633;
}
.ms-branded-auth.shop-modal-shade {
  z-index: 60;
  background: #20253780;
}
.ms-branded-auth h2 {
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.7px;
  margin: 15px 0 20px;
}
.ms-branded-auth .shop-close {
  background: #eeedf9;
  color: #4944ce;
  border: 1px solid #d3d1ed;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  min-height: 38px;
  font-size: 24px;
}
.ms-branded-auth .ms-auth-logo {
  width: 145px;
  margin-bottom: 18px;
}
.ms-branded-auth .shop-button {
  margin: 6px 5px 6px 0;
  font-size: 12px;
}
.ms-branded-auth form > .shop-button:first-of-type {
  width: 100%;
}
.ms-auth-standalone {
  min-width: 0;
}
.ms-auth-standalone .shop-modal {
  width: 100%;
  box-shadow:
    8px 8px 22px #cbd2e2,
    -8px -8px 22px white;
}
.ms-auth-standalone h2 {
  font-size: 26px;
}
.ms-auth-standalone p {
  font-size: 12px;
}
.ms-public .login-page {
  background: transparent;
  color: #202537;
  min-height: 0;
  padding: 50px 20px;
}
.ms-public .login-brand {
  display: none;
}
.ms-public .login-card {
  background: #f8f9fc;
  border: 1px solid white;
  border-radius: 22px;
  box-shadow:
    7px 7px 20px #cbd2e2,
    -7px -7px 20px white;
  color: #202537;
}
.ms-public .login-card h1 {
  font-size: 34px;
}
.ms-public .login-card input {
  background: white;
  border-color: #c9cfdf;
  border-radius: 11px;
  color: #202537;
}
.ms-public .login-card .eyebrow,
.ms-public .login-card > p,
.ms-public .login-pricing,
.ms-public .login-signup-link {
  color: #565e73;
}
.ms-public .back-demo {
  color: #4944ce;
}
.ms-public .login-error:empty {
  display: none;
}
.ms-public.ms-signup header {
  background: transparent;
  border: 0;
  padding: 0;
}
.ms-public.ms-signup .ms-public-header {
  padding: 8px 26px;
  background: linear-gradient(120deg, #ffffffd9, #f8f9ffb8);
  border: 1px solid white;
}
.ms-public.ms-signup .signup-layout {
  max-width: 1180px;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 55px;
  margin: 55px auto;
}
.ms-public .signup-layout aside {
  color: #202537;
}
.ms-public .signup-layout aside h1 {
  font-size: 36px;
}
.ms-public .signup-card {
  background: #f8f9fc;
  border-color: white;
  border-radius: 22px;
  box-shadow: 0 10px 25px #303d6612;
}
.ms-public .signup-steps li[aria-current="step"] {
  color: #4944ce;
}
.ms-public .signup-steps li[aria-current="step"] .step-number {
  background: #4944ce;
  border-color: #4944ce;
}
.ms-public .signup-field input,
.ms-public .signup-field select,
.ms-public .pricing-review input {
  border-color: #c9cfdf;
  background: white;
  border-radius: 10px;
  color: #202537;
}
.ms-public .signup-note,
.ms-public .required-note,
.ms-public .signup-field small,
.ms-public .privacy-note,
.ms-public .shop-address {
  color: #565e73;
}
.ms-public .pricing-review {
  background: #eeedf9;
  border-color: #dedcf3;
  border-radius: 14px;
}
.ms-public .signup-primary {
  background: #4944ce;
  border-color: #4944ce;
  color: white;
  border-radius: 12px;
}
.ms-public .signup-secondary {
  background: #f5f5ff;
  border-color: #d3d0f0;
  color: #4944ce;
  border-radius: 12px;
}
.ms-public .consent input {
  accent-color: #4944ce;
}
.ms-public .signup-field textarea {
  width: 100%;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #c9cfdf;
}
.ms-public .application-review > div {
  border-color: #dfe3ef;
}
.ms-public .reference {
  background: #eeedf9;
  color: #3933ab;
}
.ms-public .pricing-review input[type="file"] {
  padding: 12px;
  max-width: 100%;
  font-size: 12px;
}
.ms-public .pricing-review input[type="number"],
.ms-public .pricing-review input:not([type]) {
  width: 100%;
  min-height: 44px;
  padding: 10px;
}
.ms-public .password-row button {
  background: #eeedf9;
  border-color: #d3d1ed;
  color: #4944ce;
}
@media (max-width: 1350px) {
  .ms-public-header,
  .ms-public-footer {
    margin-left: 25px;
    margin-right: 25px;
  }
  .ms-policy-heading,
  .ms-policy-layout {
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media (max-width: 800px) {
  .ms-public-header {
    margin: 12px 14px 0;
    padding: 8px 16px;
    gap: 12px;
    border-radius: 18px;
  }
  .ms-public-header .ms-logo img {
    width: 135px;
    height: 54px;
  }
  .ms-public-header nav {
    gap: 12px;
    font-size: 11px;
  }
  .ms-public-header nav > a:first-child {
    display: none;
  }
  .ms-public-header .ms-button {
    padding: 10px 14px;
    min-height: 42px;
  }
  .ms-policy-heading {
    margin: 35px 6px 22px;
    padding: 0 18px;
  }
  .ms-policy-heading h1 {
    font-size: 34px;
  }
  .ms-policy-layout {
    display: block;
    margin: 0 15px;
    padding: 0;
  }
  .ms-policy-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 7px;
    padding: 9px;
    margin-bottom: 22px;
    box-shadow:
      3px 3px 10px #cbd2e2,
      -3px -3px 10px white;
  }
  .ms-policy-nav > a {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px 13px;
  }
  .ms-policy-content {
    padding: 25px 22px;
    border-radius: 18px;
  }
  .ms-policy-content p,
  .ms-policy-content li {
    font-size: 13px;
  }
  .ms-public-footer {
    margin: 35px 18px 0;
    padding: 20px 0;
    gap: 12px;
  }
  .ms-public-footer .ms-logo img {
    width: 130px;
    height: 52px;
  }
  .ms-public-footer p {
    font-size: 11px;
  }
  .ms-public-footer nav {
    gap: 12px 18px;
  }
  .ms-auth-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 35px auto;
    padding: 0 20px;
    max-width: 600px;
  }
  .ms-auth-intro h1 {
    font-size: 36px;
  }
  .ms-auth-intro > p:not(.eyebrow) {
    font-size: 13px;
  }
  .ms-auth-points {
    display: none;
  }
  .ms-public .shop-policy-page {
    margin: 35px 15px;
    width: auto;
    padding: 26px 22px;
  }
  .ms-public .shop-policy-page h1 {
    font-size: 28px;
  }
  .ms-branded-auth .shop-modal {
    padding: 25px 22px;
  }
  .ms-public.ms-signup .signup-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 25px auto;
    max-width: 620px;
  }
  .ms-public.ms-signup .ms-public-header {
    padding: 8px 16px;
  }
  .ms-public .signup-layout aside h1 {
    font-size: 28px;
  }
  .ms-public .login-page {
    padding: 35px 16px;
  }
  .ms-public .login-card {
    padding: 28px 22px;
  }
  .ms-public .login-card h1 {
    font-size: 30px;
  }
}
@media (max-width: 390px) {
  .ms-public-header .ms-logo img {
    width: 115px;
    height: 46px;
  }
  .ms-public-header nav {
    gap: 9px;
    font-size: 10px;
  }
  .ms-public-header .ms-button {
    padding: 9px 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ms-public *,
  .ms-branded-auth * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.ms-public .ms-seller-return {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 0 24px;
  text-align: right;
  font-size: 12px;
  color: #565e73;
}
.ms-public .ms-auth-intro .ms-seller-return {
  text-align: left;
  padding: 0;
  margin-top: 28px;
}
/* Existing storefront/terminal typography must not override public auth pages. */
.ms-public h1,
.ms-public h2,
.ms-branded-auth h2 {
  font-family: inherit;
}
.ms-public .login-card label {
  color: #565e73;
}
body:has(.ms-public) {
  overflow: auto;
  height: auto;
  min-height: 100vh;
}
#root:has(> .ms-public) {
  height: auto;
  min-height: 100vh;
}
.ms-public-header {
  height: auto;
  min-height: 86px;
}
@media (max-width: 800px) {
  .ms-public-header {
    min-height: 72px;
  }
}

/* Onboarding utility controls use the same public palette and touch targets. */
.ms-signup .ms-location-actions, .ms-signup .ms-coordinate-fields { display:flex; flex-wrap:wrap; gap:10px; }
.ms-signup .ms-location-actions button, .ms-signup .ms-coordinate-fields button, .ms-signup .pricing-review button, .ms-signup .signup-review-actions button {
  border:1px solid #d3d8e9; border-radius:10px; background:#f8f9fd; color:#4944ce; padding:10px 14px; min-height:44px; cursor:pointer;
}
.ms-signup .pricing-review input:not([type=file]), .ms-signup .ms-coordinate-fields input { width:100%; min-width:0; border:1px solid #d3d8e9; border-radius:9px; padding:12px; background:#fff; color:#202537; }
.ms-signup #payment-iban { font-family:ui-monospace,monospace; font-size:clamp(12px,2.8vw,15px); margin:8px 0 12px; }
.ms-signup .ms-coordinate-fields label { flex:1 1 160px; }
.ms-signup .ms-location-help, .ms-signup .ms-location-status { color:#565e73; }
.ms-signup .ms-location-error { color:#943d45; }
