/* Landing Miami Fairs: tutti gli stili sono limitati a .miami-fairs-landing */

.miami-fairs-landing {
  --mf-header-height: 96px;
  --mf-gutter: 32px;
  --mf-gap: 20px;
  /* Footer "Register" del layout compatto: la stessa variabile dà l'altezza del footer
     e lo spazio in fondo al catalogo, così le ultime opere non finiscono sotto il pulsante */
  --mf-footer-height: 100px;
  --mf-footer-total: calc(var(--mf-footer-height) + env(safe-area-inset-bottom, 0px));
  min-height: 100vh;
  background: #ffffff;
}

/* ---------- Header fisso ---------- */

.miami-fairs-landing .mf-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--mf-header-height);
  padding: 0 var(--mf-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

/* barra del brandbook sotto l'header (mock) */
.miami-fairs-landing .mf-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffd516 0%, #ff734b 35%, #7c2467 70%, #330066 100%);
}
.miami-fairs-landing .mf-header__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.miami-fairs-landing .mf-header__signin {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #4a4150;
}
.miami-fairs-landing .mf-header__signin .ant-btn-link {
  font-weight: 700;
  padding-inline: 4px;
}
.miami-fairs-landing .mf-header__brand {
  height: 36px;
  width: auto;
  display: block;
}

.miami-fairs-landing .mf-header__wordmark {
  height: 38px;
  width: auto;
  display: block;
}

/* Spazio sotto l'header fisso per il contenuto */
.miami-fairs-landing .mf-content {
  padding-top: var(--mf-header-height);
}

/* ---------- Layout desktop ----------
   Il layout occupa esattamente il viewport sotto l'header: la pagina non scorre,
   scorrono solo i due pannelli (il catalogo in modo indipendente dal form). */

.miami-fairs-landing .mf-layout {
  height: calc(100vh - var(--mf-header-height));
  height: calc(100dvh - var(--mf-header-height));
  padding: 0 var(--mf-gutter) var(--mf-gap);
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: var(--mf-gap);
  box-sizing: border-box;
}

/* Pannello di registrazione: il contenuto e' quello di /register (AuthFormBox + auth.css) */
.miami-fairs-landing .mf-register {
  min-height: 0;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #ebe5ec;
  border-radius: 12px;
}

.miami-fairs-landing .mf-register .ab-auth-form {
  max-width: none;
  padding: 20px 40px 32px;
}
.miami-fairs-landing .mf-register .ab-auth-form h1 {
  font-size: 22px;
}

/* ---------- Intro (sopra il form su desktop, sopra il catalogo nel layout compatto) ---------- */
.miami-fairs-landing .mf-intro {
  margin: 0 40px;
  padding: 28px 0 20px;
  border-bottom: 1px solid #ebe5ec;
}
.miami-fairs-landing .mf-intro__eyebrow {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #944b82;
}
.miami-fairs-landing .mf-intro__title {
  margin: 0;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 700;
  color: #3d0d34;
}
.miami-fairs-landing .mf-intro__text {
  margin: 8px 0 0;
  font-size: 14.5px;
  color: #4a4150;
}
.miami-fairs-landing .mf-intro__perks {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  color: #4a4150;
}
.miami-fairs-landing .mf-intro__perks li::before {
  content: "✓";
  color: #7c2467;
  font-weight: 700;
  margin-right: 8px;
}

.miami-fairs-landing .mf-catalog {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* ---------- Footer "Register" (layout compatto, passo 1.7) ----------
   Fisso in basso, sopra il catalogo; porta a /register. Altezza = --mf-footer-height
   (+ area sicura dei telefoni con barra in basso). */

.miami-fairs-landing .mf-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  box-sizing: border-box;
  height: var(--mf-footer-total);
  padding: 0 var(--mf-gutter) env(safe-area-inset-bottom, 0px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  border-top: 1px solid #ebe5ec;
  box-shadow: 0 -10px 30px rgba(28, 20, 32, .06);
}
.miami-fairs-landing .mf-footer__signin {
  text-align: center;
  font-size: 13.5px;
  color: #4a4150;
}
.miami-fairs-landing .mf-footer__signin a,
.miami-fairs-landing .mf-footer__signin a:hover {
  color: #7c2467;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
  .miami-fairs-landing {
    --mf-header-height: 72px;
    --mf-gutter: 16px;
    --mf-gap: 16px;
  }

  .miami-fairs-landing .mf-header__brand {
    height: 38px;
  }

  .miami-fairs-landing .mf-header__wordmark {
    height: 38px;
  }
}

/* ---------- Layout compatto (classe messa dalla pagina: viewport < 768px o dispositivo mobile) ----------
   Una colonna, scroll della pagina; la registrazione e' la pagina /register. */

.miami-fairs-landing.mf--compact .mf-layout {
  height: auto;
  display: block;
  /* in fondo: spazio pari al footer fisso + il normale distacco */
  padding: 0 var(--mf-gutter) calc(var(--mf-footer-total) + var(--mf-gap));
}

.miami-fairs-landing.mf--compact .mf-intro {
  margin: 0;
  padding: 18px 0 20px;
  border-bottom: 0;
}
.miami-fairs-landing.mf--compact .mf-intro__title {
  font-size: 26px;
}
.miami-fairs-landing.mf--compact .mf-intro__text {
  font-size: 14px;
}
.miami-fairs-landing.mf--compact .mf-catalog {
  overflow: visible;
  /* Colonne del catalogo remoto (artworkappbe): 1 nel layout compatto, default 2 */
  --catalog-columns: 1;
}
/* Pagina Saved (mockup Bookmarks). */
.sv-head h1 {
  font-size: 32px;
  font-weight: 700;
  color: #3d0d34;
  margin: 0;
}
.sv-head p {
  color: #7a7180;
  margin: 2px 0 0;
}
.sv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 32px 24px;
}
.sv-ph {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: #efeaf0;
}
.sv-ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sv-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  color: #7c2467;
  font-size: 18px;
}
.sv-meta {
  padding: 12px 2px 0;
}
.sv-artist {
  font-size: 13px;
  color: #944b82;
  font-weight: 600;
}
.sv-meta h3 {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  margin: 2px 0 4px;
}
.sv-sub {
  font-size: 13px;
  color: #7a7180;
}
.sv-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin-top: 8px;
}
.sv-delta {
  font-size: 12.5px;
  font-weight: 600;
}
.sv-delta.up {
  color: #2f7d5b;
}
.sv-delta.down {
  color: #b4233a;
}
.sv-delta.flat {
  color: #7a7180;
}
.sv-price {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ebe5ec;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  color: #4a4150;
}
.sv-price b {
  font-size: 16px;
  color: #131313;
  font-variant-numeric: tabular-nums;
}
.sv-follow-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.sv-follow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #ebe5ec;
  border-radius: 14px;
}
.sv-av {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  background: #f6eef4;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #7c2467;
}
.sv-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sv-follow-txt {
  flex: 1;
  min-width: 0;
}
.sv-follow-txt b {
  display: block;
}
.sv-follow-txt small {
  color: #7a7180;
}
@media (max-width: 767px) {
  .sv-head h1 {
    font-size: 26px;
  }
  .sv-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }
  .sv-meta h3 {
    font-size: 15px;
  }
}
/* Modale "Install Artbeeze" (mock 7 · Installa l'app). Fuori dal ConfigProvider del kit: colori del brand qui. */
.ab-pwa {
  --pwa-primary: #7c2467;
  --pwa-soft: #f6eef4;
  --pwa-ink: #131313;
  --pwa-ink-2: #4a4150;
  --pwa-muted: #7a7180;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(28, 20, 32, 0.48);
  font-family: "Quicksand", system-ui, -apple-system, sans-serif;
  color: var(--pwa-ink);
  animation: ab-pwa-fade 200ms ease;
}
.ab-pwa--center {
  display: grid;
  place-items: center;
  padding: 16px;
}
.ab-pwa__panel {
  position: relative;
  background: #fff;
  box-shadow: 0 30px 70px rgba(28, 20, 32, 0.35);
}
.ab-pwa--center .ab-pwa__panel {
  width: min(460px, 100%);
  border-radius: 22px;
  padding: 28px;
}
.ab-pwa--sheet .ab-pwa__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 26px 26px 0 0;
  padding: 10px 22px calc(26px + env(safe-area-inset-bottom, 0px));
  animation: ab-pwa-up 260ms ease;
}
/* iOS: sopra la barra di Safari, staccata dai bordi */
.ab-pwa--sheet .ab-pwa__panel--float {
  left: 10px;
  right: 10px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  border-radius: 26px;
  padding: 18px 22px 20px;
}
.ab-pwa__grab {
  width: 40px;
  height: 5px;
  border-radius: 999px;
  background: #ddd5de;
  margin: 0 auto 14px;
}
.ab-pwa__x {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--pwa-soft);
  color: var(--pwa-ink-2);
  font-size: 14px;
  cursor: pointer;
}
.ab-pwa__app {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 40px 14px 0;
}
.ab-pwa__app img {
  width: 60px;
  height: 60px;
  flex: none;
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(124, 36, 103, 0.25);
}
.ab-pwa__app h2 {
  margin: 0;
  font-family: inherit;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.15;
  color: var(--pwa-ink);
}
.ab-pwa__app small {
  color: var(--pwa-muted);
  font-size: 12.5px;
}
.ab-pwa__lead {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--pwa-ink-2);
}
.ab-pwa__pros {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--pwa-ink-2);
}
.ab-pwa__pros div {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ab-pwa__pros i {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 8px;
  background: var(--pwa-soft);
  color: var(--pwa-primary);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
}
.ab-pwa__steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: ab-pwa-step;
}
.ab-pwa__steps li {
  counter-increment: ab-pwa-step;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.ab-pwa__steps li::before {
  content: counter(ab-pwa-step);
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--pwa-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.ab-pwa__k {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 8px;
  border-radius: 8px;
  background: var(--pwa-soft);
  color: var(--pwa-primary);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  vertical-align: middle;
}
.ab-pwa__k svg {
  width: 15px;
  height: 15px;
}
.ab-pwa__btns {
  display: grid;
  gap: 4px;
}
.ab-pwa--center .ab-pwa__btns {
  display: flex;
  flex-direction: row-reverse;
  gap: 12px;
}
.ab-pwa--center .ab-pwa__btns > * {
  flex: 1;
}
.ab-pwa__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.ab-pwa__btn svg {
  width: 18px;
  height: 18px;
}
.ab-pwa__btn--primary {
  background: var(--pwa-primary);
  color: #fff;
}
.ab-pwa__link {
  border: 0;
  background: none;
  padding: 10px 6px 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--pwa-primary);
  cursor: pointer;
}
.ab-pwa--center .ab-pwa__link {
  height: 48px;
  padding: 0;
  border: 1px solid #ebe5ec;
  border-radius: 12px;
  color: var(--pwa-ink);
  font-weight: 600;
}
.ab-pwa__btn:focus-visible,
.ab-pwa__link:focus-visible,
.ab-pwa__x:focus-visible {
  outline: 2px solid var(--pwa-primary);
  outline-offset: 2px;
}
/* freccia verso la barra di Safari (iPhone) */
.ab-pwa__arrow {
  position: absolute;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) - 4px);
  transform: translateX(-50%);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  animation: ab-pwa-bounce 1.2s ease-in-out infinite;
}
@keyframes ab-pwa-fade {
  from { opacity: 0; }
}
@keyframes ab-pwa-up {
  from { transform: translateY(40px); opacity: 0.4; }
}
@keyframes ab-pwa-bounce {
  50% { transform: translate(-50%, 4px); }
}
@media (prefers-reduced-motion: reduce) {
  .ab-pwa, .ab-pwa__panel, .ab-pwa__arrow { animation: none; }
}
/* Layout dell'app collezionisti (mockup mocks/desktop.html e mobile.html). Colori del brandbook. */
.ab-shell {
  --ab-paper: #fbf9f7;
  --ab-line: #ebe5ec;
  --ab-ink-2: #4a4150;
  --ab-plum-100: #e0cadb;
  --ab-grad: linear-gradient(90deg, #ffd516 0%, #ff734b 35%, #7c2467 70%, #330066 100%);
  min-height: 100vh;
  background: var(--ab-paper);
}

/* barra in alto (desktop): sostituisce la sidebar fissa */
.ab-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 36px;
  height: 72px;
  padding: 0 40px;
  background: rgba(251, 249, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ab-line);
}
.ab-topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--ab-grad);
  opacity: 0.9;
}
.ab-logo img {
  display: block;
  height: 32px;
  width: auto;
}
.ab-nav {
  display: flex;
  gap: 6px;
}
.ab-nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ab-ink-2);
}
.ab-nav a:hover {
  color: var(--ab-primary);
}
.ab-nav a.on {
  background: var(--ab-plum-100);
  color: var(--ab-primary);
  font-weight: 600;
}
.ab-nav a:focus-visible,
.ab-tabbar a:focus-visible,
.ab-user:focus-visible {
  outline: 2px solid var(--ab-primary);
  outline-offset: 2px;
}
.ab-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ab-user {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  color: inherit;
  padding: 0;
}
.ab-main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 32px 40px 56px;
}

/* mobile: header compatto e tab bar in basso */
.ab-mheader {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid var(--ab-line);
}
.ab-mheader .ab-logo img {
  height: 24px;
}
.ab-mheader .ab-user-name {
  display: none;
}
.ab-main--mobile {
  padding: 16px 16px 96px;
}
.ab-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #fff;
  border-top: 1px solid var(--ab-line);
}
.ab-tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #7a7180;
}
.ab-tabbar a.on {
  color: var(--ab-primary);
}
.ab-tabbar img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* Link del layout senza sottolineatura: senza il CSS dei vecchi MFE (q01utility) restava quella del browser */
.ab-shell a,
.ab-shell a:hover {
  text-decoration: none;
}

/* pagina immersiva su mobile (data-ab-immersive sul body): niente header ne' tab bar, il contenuto parte dal
   bordo in alto e la pagina usa il fondo dello schermo (es. barra d'acquisto del dettaglio opera) */
.ab-main--immersive {
  padding-top: 0;
  padding-bottom: 0;
}

/* pagina senza header ma con la tab bar (data-ab-immersive="header", es. Profilo mobile): rispetta la safe area */
.ab-main--noheader {
  padding-top: calc(16px + env(safe-area-inset-top, 0px));
}
/* Login, registrazione e attivazione (mockup A–D in mocks/desktop.html e mobile.html). */
.ab-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: #fff;
}
.ab-auth-art {
  position: relative;
  background-color: #5d5a57;
  background-position: center 20%;
  background-size: cover;
  background-repeat: no-repeat;
}
.ab-auth-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(61, 13, 52, 0.75));
}
.ab-auth-cap {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 30px;
  z-index: 1;
  color: #fff;
}
.ab-auth-cap b {
  display: block;
  font-size: 26px;
  line-height: 1.15;
}
.ab-auth-cap span {
  font-size: 14px;
  opacity: 0.9;
}
.ab-auth-side {
  display: flex;
  align-items: center;
}
.ab-auth-form {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 56px;
}
.ab-auth-logo {
  width: 150px;
  height: auto;
  margin-bottom: 26px;
}
.ab-auth-form h1 {
  font-size: 30px;
  font-weight: 700;
  margin: 0;
  color: #3d0d34;
}
.ab-auth-lead {
  color: #4a4150;
  font-size: 14.5px;
  margin: 4px 0 22px;
}
.ab-auth-alt {
  text-align: center;
  font-size: 14.5px;
  color: #4a4150;
  margin-top: 16px;
}
.ab-auth-alt a,
.ab-auth-form .ab-link {
  color: var(--ab-primary);
  font-weight: 700;
  text-decoration: none;
}
.ab-auth-foot {
  margin-top: 28px;
  font-size: 12px;
  color: #7a7180;
  text-align: center;
}
.ab-auth-foot a {
  color: inherit;
  text-decoration: underline;
}
/* "Powered by Q01": su desktop e mobile, in fondo al form */
.ab-auth-powered {
  margin: 6px 0 0;
  font-size: 11.5px;
  color: #a79fab;
  text-align: center;
  letter-spacing: 0.02em;
}
.ab-auth-powered a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}
.ab-pwrules {
  font-size: 12.5px;
  color: #7a7180;
}
.ab-pwrules.ok {
  color: #2f7d5b;
}
.ab-auth-mlogo {
  display: none;
}
/* Etichetta con un link a destra (Password · Forgot?) */
.ab-auth-form .ant-form-item-label > label {
  width: 100%;
}
.ab-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
}
.ab-label-row a {
  color: var(--ab-primary);
  font-weight: 700;
}
.ab-status-ic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 18px;
}
.ab-status-ic.ok {
  background: #e3f3ea;
  color: #2f7d5b;
}
.ab-status-ic.err {
  background: #fdecea;
  color: #b42318;
}
.ab-donelist {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 14px;
  color: #4a4150;
}
.ab-donelist span::before {
  content: "✓";
  color: #2f7d5b;
  font-weight: 700;
  margin-right: 8px;
}
.ab-progress {
  height: 4px;
  border-radius: 999px;
  background: #f3eef3;
  overflow: hidden;
  margin: 4px 0 8px;
}
.ab-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ffd516 0%, #ff734b 35%, #7c2467 70%, #330066 100%);
  transition: width 1s linear;
}
.ab-cd-note {
  font-size: 13px;
  color: #7a7180;
  margin: 0 0 18px;
}
.ab-why {
  background: #f8f1f6;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 18px;
  font-size: 13.5px;
  color: #4a4150;
}
.ab-why b {
  display: block;
  color: var(--ab-primary);
  margin-bottom: 6px;
}
.ab-why ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}
.ab-ref {
  font-size: 12px;
  color: #7a7180;
  text-align: center;
  margin-top: 12px;
}

/* Mobile (mockup mobile A–D): opera in alto col logotipo bianco, form in un foglio che sale sopra l'opera */
@media (max-width: 767px) {
  .ab-auth {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    background: #fff;
  }
  .ab-auth-art {
    flex: none;
    height: 30vh;
    background-position: center 18%;
  }
  .ab-auth--tall .ab-auth-art {
    height: 46vh;
  }
  .ab-auth--medium .ab-auth-art {
    height: 32vh;
  }
  .ab-auth--short .ab-auth-art {
    height: 22vh;
  }
  .ab-auth-art::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), transparent 40%, rgba(61, 13, 52, 0.55));
  }
  .ab-auth-mlogo {
    display: block;
    position: absolute;
    z-index: 1;
    left: 22px;
    top: calc(22px + env(safe-area-inset-top, 0px));
    width: 120px;
    height: auto;
  }
  .ab-auth-cap,
  .ab-auth-logo,
  .ab-auth-foot {
    display: none;
  }
  .ab-auth-side {
    flex: 1;
    display: block;
    position: relative;
    z-index: 2;
    margin-top: -40px;
    background: #fff;
    border-radius: 26px 26px 0 0;
  }
  .ab-auth-form {
    max-width: none;
    padding: 24px 22px calc(34px + env(safe-area-inset-bottom, 0px));
  }
  .ab-auth-form h1 {
    font-size: 25px;
  }
  .ab-auth-lead {
    font-size: 13.5px;
    margin: 2px 0 16px;
  }
  .ab-auth-alt {
    font-size: 14px;
    margin-top: 14px;
  }
  .ab-auth-form .ant-form-item {
    margin-bottom: 14px;
  }
  .ab-status-ic.err {
    width: 52px;
    height: 52px;
    font-size: 24px;
    margin-bottom: 12px;
  }
}
@media (max-width: 767px) {
  .ab-auth-powered {
    margin-top: 22px;
  }
}

/* "Back to the works": solo arrivando dalla landing Miami Fairs */
.ab-auth-back {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13.5px;
  cursor: pointer;
}
/* Font del brand Artbeeze. Il kit applica a tutta la pagina var(--q01-font), che ricava da BRANDING.font solo
   per i font che conosce (Geist, IBM Plex Sans, Inter, Inter Tight): Quicksand non c'e', quindi la variabile si
   imposta qui. !important batte lo stile inline che il kit mette su <html>. Il file del font lo carica index.html.
   Si toglie quando Quicksand entra fra i font di BRANDING del kit. */
:root {
  --q01-font: "Quicksand", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
}
