:root {
  --pro-ink: #101310;
  --pro-paper: #f2f3ed;
  --pro-muted: #666b63;
  --pro-line: rgba(16, 19, 16, 0.12);
  --pro-lime: #dfff4f;
  --pro-violet: #7658ff;
  --pro-white: #fff;
  --pro-radius: 28px;
}

body.pro-builder-open {
  overflow: hidden;
}

.pro-app {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--pro-paper);
  color: var(--pro-ink);
}

.pro-noise {
  position: fixed;
  z-index: 1000;
  inset: 0;
  opacity: 0.022;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.pro-container {
  width: min(1320px, calc(100% - 64px));
  margin-inline: auto;
}

.pro-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-family: var(--font-display), sans-serif;
  font-weight: 750;
  letter-spacing: -0.055em;
}

.pro-brand-mark {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 11px;
  background: var(--pro-ink);
  color: var(--pro-lime);
  font-size: 13px;
  transform: rotate(-5deg);
  overflow: hidden;
}

.pro-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.pro-brand-name {
  font-size: 19px;
}

.pro-header {
  position: relative;
  z-index: 20;
  display: grid;
  height: 86px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.pro-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  color: #454a43;
  font-size: 13px;
  font-weight: 700;
}

.pro-nav a {
  position: relative;
}

.pro-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--pro-ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.pro-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.pro-header-cta {
  justify-self: end;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 15px;
  background: var(--pro-ink);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.pro-header-cta span {
  margin-left: 9px;
  color: var(--pro-lime);
}

.pro-menu-button,
.pro-mobile-hero {
  display: none;
}

.pro-hero {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 730px;
  grid-template-columns: minmax(0, 1.07fr) minmax(460px, 0.93fr);
  align-items: center;
  gap: 80px;
  padding: 60px 0 100px;
}

.pro-hero::before {
  position: absolute;
  z-index: -1;
  top: 5%;
  left: -19%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(223, 255, 79, 0.16);
  content: "";
  filter: blur(2px);
}

.pro-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  padding: 9px 13px;
  border: 1px solid var(--pro-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.pro-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pro-lime);
  box-shadow: 0 0 0 4px rgba(223, 255, 79, 0.25);
}

.pro-hero h1,
.pro-mobile-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(76px, 6.6vw, 104px);
  font-weight: 630;
  letter-spacing: -0.085em;
  line-height: 0.85;
}

.pro-hero h1 em,
.pro-mobile-hero h1 em,
.pro-template-title-row h2 em,
.pro-price-inner h2 em {
  position: relative;
  display: inline-block;
  color: inherit;
  font-style: normal;
  z-index: 1;
}

.pro-hero h1 em::after,
.pro-mobile-hero h1 em::after {
  position: absolute;
  z-index: -1;
  right: -10px;
  bottom: -1px;
  left: -10px;
  height: 30%;
  border-radius: 8px;
  background: var(--pro-lime);
  content: "";
  transform: rotate(-1.5deg);
}

.pro-lead {
  max-width: 610px;
  margin: 28px 0;
  color: var(--pro-muted);
  font-size: 17px;
  line-height: 1.7;
}

.pro-mode-quick {
  display: grid;
  max-width: 650px;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.pro-mode-quick button {
  display: grid;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--pro-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 40px rgba(17, 21, 17, 0.04);
  cursor: pointer;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 11px;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pro-mode-quick button:hover {
  border-color: rgba(16, 19, 16, 0.32);
  box-shadow: 0 18px 50px rgba(17, 21, 17, 0.08);
  transform: translateY(-3px);
}

.pro-quick-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: #eceee7;
  font-size: 23px;
}

.pro-quick-icon.is-lime {
  background: var(--pro-lime);
}

.pro-mode-quick b,
.pro-mode-quick small {
  display: block;
}

.pro-mode-quick b {
  margin-bottom: 3px;
  font-size: 14px;
}

.pro-mode-quick small {
  color: var(--pro-muted);
  font-size: 10px;
}

.pro-mode-quick i {
  font-size: 19px;
  font-style: normal;
}

.pro-domain-claim {
  display: flex;
  max-width: 650px;
  min-height: 62px;
  padding: 7px;
  border: 1px solid var(--pro-line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.68);
  align-items: center;
}

.pro-domain-claim > span {
  padding-left: 14px;
  font-size: 13px;
  font-weight: 800;
}

.pro-domain-claim input {
  min-width: 80px;
  border: 0;
  outline: 0;
  background: transparent;
  flex: 1;
  font-weight: 700;
}

.pro-domain-claim button {
  min-width: 112px;
  align-self: stretch;
  border: 0;
  border-radius: 13px;
  background: var(--pro-ink);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.pro-domain-claim button span {
  margin-left: 8px;
  color: var(--pro-lime);
}

.pro-available {
  margin: 10px 0 0 15px;
  color: var(--pro-muted);
  font-size: 11px;
}

.pro-available span {
  color: #6f8d00;
}

.pro-available.is-checking [data-availability-icon] {
  color: #8a8f87;
}

.pro-available.is-taken,
.pro-available.is-error {
  color: #a12828;
}

.pro-available.is-taken [data-availability-icon],
.pro-available.is-error [data-availability-icon] {
  color: #d53939;
}

.pro-hero-stage {
  position: relative;
  display: grid;
  min-height: 590px;
  place-items: center;
}

.pro-stage-ring {
  position: absolute;
  width: 510px;
  height: 510px;
  border: 1px solid rgba(16, 19, 16, 0.12);
  border-radius: 50%;
}

.pro-stage-ring::before,
.pro-stage-ring::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.pro-stage-ring::before {
  inset: 35px;
  border: 1px dashed rgba(16, 19, 16, 0.12);
}

.pro-stage-ring::after {
  inset: 91px;
  background: linear-gradient(145deg, rgba(223, 255, 79, 0.62), rgba(118, 88, 255, 0.08));
  filter: blur(1px);
}

.pro-phone-shell {
  position: relative;
  z-index: 4;
  width: 284px;
  height: 570px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 42px;
  background: #090b09;
  box-shadow: 0 42px 100px rgba(19, 23, 19, 0.3), 0 8px 24px rgba(19, 23, 19, 0.16);
  overflow: hidden;
}

.pro-phone-top {
  position: absolute;
  z-index: 9;
  top: 16px;
  right: 25px;
  left: 25px;
  display: flex;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  justify-content: space-between;
  mix-blend-mode: difference;
}

.pro-phone-top::after {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 65px;
  height: 18px;
  border-radius: 20px;
  background: #050605;
  content: "";
  transform: translateX(-50%);
}

.pro-phone-home {
  position: absolute;
  z-index: 9;
  bottom: 14px;
  left: 50%;
  width: 84px;
  height: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  mix-blend-mode: difference;
  transform: translateX(-50%);
}

.micro-page {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  padding: 49px 18px 29px;
  border-radius: 34px;
  background: var(--micro-bg);
  color: var(--micro-text);
  flex-direction: column;
  overflow: hidden;
}

.micro-ambient {
  position: absolute;
  z-index: 0;
  top: -80px;
  right: -95px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--micro-accent);
  opacity: 0.24;
  filter: blur(2px);
}

.micro-page > *:not(.micro-ambient) {
  position: relative;
  z-index: 1;
}

.micro-brand-row {
  display: flex;
  margin-bottom: 22px;
  align-items: center;
  justify-content: space-between;
}

.micro-category {
  color: var(--micro-accent-2);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.micro-menu-dot {
  font-size: 9px;
  letter-spacing: 2px;
}

.micro-identity {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 13px;
  align-items: center;
}

.micro-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid color-mix(in srgb, var(--micro-accent) 75%, white);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--micro-accent), var(--micro-accent-2));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
}

.micro-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.micro-kicker {
  margin: 0 0 4px;
  color: var(--micro-accent-2);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.micro-copy h3 {
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: 20px;
  letter-spacing: -0.055em;
  line-height: 1;
}

.micro-bio {
  margin: 12px 0 0;
  color: color-mix(in srgb, var(--micro-text) 73%, transparent);
  font-size: 8px;
  line-height: 1.5;
}

.micro-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 20px 0 13px;
}

.micro-feature {
  min-height: 48px;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--micro-text) 14%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--micro-surface) 12%, transparent);
}

.micro-feature span,
.micro-feature strong {
  display: block;
}

.micro-feature span {
  margin-bottom: 8px;
  color: var(--micro-accent-2);
  font-size: 6px;
  font-weight: 900;
}

.micro-feature strong {
  font-size: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.micro-link-list {
  display: grid;
  gap: 7px;
}

.micro-link {
  display: grid;
  min-height: 38px;
  padding: 6px 9px 6px 6px;
  border: 1px solid color-mix(in srgb, var(--micro-text) 12%, transparent);
  border-radius: 11px;
  background: color-mix(in srgb, var(--micro-surface) 14%, transparent);
  grid-template-columns: 27px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 7px;
  font-weight: 750;
}

.micro-link-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  background: var(--micro-accent);
  color: #fff;
  font-size: 7px;
}

.micro-link b {
  color: var(--micro-accent-2);
  font-size: 11px;
}

.micro-meta {
  margin-top: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--micro-surface) 10%, transparent);
}

.micro-meta p {
  margin: 0;
  color: color-mix(in srgb, var(--micro-text) 72%, transparent);
  font-size: 6px;
  line-height: 1.7;
}

.micro-footer {
  display: flex;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--micro-text) 14%, transparent);
  align-items: center;
  justify-content: space-between;
  font-size: 5px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.micro-footer b {
  display: inline-grid;
  width: 15px;
  height: 15px;
  margin-right: 4px;
  place-items: center;
  border-radius: 5px;
  background: var(--micro-accent);
  color: #111;
  font-size: 6px;
}

.micro-footer i {
  font-style: normal;
}

.micro-page[data-layout="minimal"],
.micro-page[data-layout="grid"],
.micro-page[data-layout="catalog"],
.micro-page[data-layout="glass"],
.micro-page[data-layout="soft"],
.micro-page[data-layout="technical"] {
  color: var(--micro-text);
}

.micro-page[data-layout="bold"] .micro-copy h3,
.micro-page[data-layout="poster"] .micro-copy h3 {
  font-size: 25px;
  text-transform: uppercase;
}

.micro-page[data-layout="split"] .micro-identity {
  padding: 11px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--micro-surface) 16%, transparent);
}

.micro-page[data-layout="luxe"] .micro-avatar,
.micro-page[data-layout="classic"] .micro-avatar {
  border-radius: 50%;
}

.micro-page[data-layout="neon"] .micro-link,
.micro-page[data-layout="technical"] .micro-link {
  box-shadow: inset 3px 0 0 var(--micro-accent);
}

.micro-page[data-layout="glass"]::before {
  position: absolute;
  z-index: 0;
  inset: 35px 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.18);
  content: "";
  backdrop-filter: blur(12px);
}

.micro-page[data-layout="glass"] > *:not(.micro-ambient) {
  padding-inline: 7px;
}

.micro-page[data-layout="editorial"] .micro-copy h3 {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.pro-float-card {
  position: absolute;
  z-index: 6;
  display: flex;
  min-width: 135px;
  padding: 13px 15px;
  border: 1px solid rgba(16, 19, 16, 0.1);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(16, 19, 16, 0.1);
  backdrop-filter: blur(10px);
  align-items: center;
  gap: 10px;
}

.pro-float-card span,
.pro-float-card b {
  font-family: var(--font-display), sans-serif;
  font-size: 28px;
  letter-spacing: -0.06em;
}

.pro-float-card small {
  color: var(--pro-muted);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.pro-float-one {
  top: 67px;
  right: 9px;
  transform: rotate(4deg);
}

.pro-float-two {
  bottom: 89px;
  left: 1px;
  transform: rotate(-4deg);
}

.pro-float-two b {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--pro-lime);
  font-size: 15px;
}

.pro-stage-label {
  position: absolute;
  z-index: 6;
  right: 50px;
  bottom: 12px;
  display: flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--pro-ink);
  color: #fff;
  align-items: center;
  gap: 7px;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.pro-stage-label span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pro-lime);
  animation: proPulse 1.8s infinite;
}

@keyframes proPulse {
  50% { opacity: 0.35; }
}

.pro-proof-bar {
  border-block: 1px solid var(--pro-line);
  background: rgba(255, 255, 255, 0.42);
}

.pro-proof-bar .pro-container {
  display: grid;
  min-height: 84px;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.pro-proof-bar span {
  display: flex;
  min-height: 25px;
  border-right: 1px solid var(--pro-line);
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
}

.pro-proof-bar span:last-child {
  border-right: 0;
}

.pro-proof-bar b {
  color: #8a8f87;
  font-size: 9px;
}

.pro-section {
  padding-block: 130px;
}

.pro-section-head {
  display: grid;
  margin-bottom: 55px;
  grid-template-columns: 1fr 360px;
  align-items: end;
  gap: 40px;
}

.pro-overline {
  margin: 0 0 16px;
  color: #73786f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.pro-overline.is-light {
  color: var(--pro-lime);
}

.pro-section-head h2,
.pro-template-title-row h2,
.pro-price-inner h2 {
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(50px, 5vw, 72px);
  font-weight: 620;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.pro-section-head > p {
  margin: 0 0 3px;
  color: var(--pro-muted);
  font-size: 15px;
  line-height: 1.75;
}

.pro-audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.pro-audience-card {
  position: relative;
  min-height: 560px;
  padding: 38px;
  border-radius: 34px;
  overflow: hidden;
}

.pro-audience-card.is-personal {
  border: 1px solid rgba(16, 19, 16, 0.1);
  background: #e8e9e2;
}

.pro-audience-card.is-business {
  background: var(--pro-ink);
  color: #fff;
}

.pro-card-index {
  color: #7b8078;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.pro-audience-art {
  display: grid;
  width: 260px;
  min-height: 230px;
  margin: 33px auto 28px;
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(18, 22, 18, 0.12);
  justify-items: center;
  transform: rotate(-3deg);
}

.pro-art-avatar {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 23px;
  background: linear-gradient(145deg, #7859ff, #c7baff);
  color: #fff;
  font-family: var(--font-display), sans-serif;
  font-size: 19px;
  font-weight: 800;
}

.pro-art-line {
  display: block;
  width: 56%;
  height: 7px;
  border-radius: 7px;
  background: #e3e5de;
}

.pro-art-line.is-long {
  width: 84%;
  margin-top: 5px;
  background: #191d19;
}

.pro-art-button {
  align-self: end;
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  background: var(--pro-lime);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.pro-business-icons {
  display: flex;
  min-height: 230px;
  margin: 33px 0 28px;
  align-items: center;
  justify-content: center;
}

.pro-business-icons span {
  display: grid;
  width: 88px;
  height: 88px;
  margin-left: -13px;
  place-items: center;
  border: 5px solid var(--pro-ink);
  border-radius: 27px;
  background: #272c27;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  font-size: 30px;
  transform: rotate(-7deg);
}

.pro-business-icons span:nth-child(even) {
  background: var(--pro-lime);
  color: var(--pro-ink);
  transform: translateY(23px) rotate(7deg);
}

.pro-business-icons span:last-child {
  background: var(--pro-violet);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.pro-audience-card h3 {
  max-width: 480px;
  margin: 0 0 12px;
  font-family: var(--font-display), sans-serif;
  font-size: 35px;
  letter-spacing: -0.055em;
}

.pro-audience-card p {
  max-width: 480px;
  margin: 0;
  color: #737970;
  font-size: 13px;
  line-height: 1.7;
}

.pro-audience-card.is-business p {
  color: rgba(255, 255, 255, 0.55);
}

.pro-audience-card > button {
  position: absolute;
  right: 35px;
  bottom: 34px;
  min-height: 47px;
  padding: 0 17px;
  border: 1px solid var(--pro-line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.pro-audience-card.is-business > button {
  border: 0;
  background: var(--pro-lime);
  color: var(--pro-ink);
}

.pro-audience-card > button span {
  margin-left: 12px;
}

.pro-template-section {
  padding-block: 125px 110px;
  background: var(--pro-ink);
  color: #fff;
}

.pro-template-title-row {
  display: flex;
  margin-bottom: 65px;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.pro-template-title-row h2 em,
.pro-price-inner h2 em {
  color: var(--pro-lime);
}

.pro-template-title-row > button {
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 15px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.pro-template-title-row > button span {
  margin-left: 12px;
  color: var(--pro-lime);
}

.pro-category-showcase {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.pro-category-showcase button {
  display: flex;
  min-width: 0;
  min-height: 270px;
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 23px;
  background: #191d19;
  color: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: transform 180ms ease, background 180ms ease;
}

.pro-category-showcase button:nth-child(2) { background: #1a2850; }
.pro-category-showcase button:nth-child(3) { background: #f0e9df; color: #151515; }
.pro-category-showcase button:nth-child(4) { background: #26282a; }
.pro-category-showcase button:nth-child(5) { background: #f9e4ec; color: #3f2630; }
.pro-category-showcase button:nth-child(6) { background: #1d302b; }

.pro-category-showcase button:hover {
  transform: translateY(-7px);
}

.pro-category-showcase button > span {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: auto;
  place-items: center;
  border-radius: 20px;
  background: var(--pro-lime);
  color: #111;
  font-size: 27px;
  transform: rotate(-4deg);
}

.pro-category-showcase button:nth-child(2) > span { background: #a7bdff; }
.pro-category-showcase button:nth-child(3) > span { background: #111; color: #fff; }
.pro-category-showcase button:nth-child(4) > span { background: #ff782e; }
.pro-category-showcase button:nth-child(5) > span { background: #dc7297; color: #fff; }
.pro-category-showcase button:nth-child(6) > span { background: #c8a15f; }

.pro-category-showcase b {
  margin: 30px 0 5px;
  font-family: var(--font-display), sans-serif;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.pro-category-showcase small {
  opacity: 0.48;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pro-category-ticker {
  display: flex;
  margin-top: 55px;
  color: rgba(255, 255, 255, 0.32);
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.pro-category-ticker i {
  color: var(--pro-lime);
  font-style: normal;
}

.pro-section-head.is-steps {
  align-items: end;
}

.pro-dark-button {
  justify-self: end;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  background: var(--pro-ink);
  color: #fff;
  cursor: pointer;
  font-weight: 850;
}

.pro-dark-button span {
  margin-left: 10px;
  color: var(--pro-lime);
}

.pro-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-block: 1px solid var(--pro-line);
}

.pro-steps-grid article {
  min-height: 270px;
  padding: 22px;
  border-right: 1px solid var(--pro-line);
}

.pro-steps-grid article:last-child {
  border-right: 0;
}

.pro-steps-grid article > span {
  color: #989c95;
  font-size: 9px;
  font-weight: 900;
}

.pro-step-icon {
  display: grid;
  width: 55px;
  height: 55px;
  margin: 43px 0 30px;
  place-items: center;
  border-radius: 17px;
  background: #e3e5dd;
  font-size: 23px;
}

.pro-steps-grid article:nth-child(3) .pro-step-icon,
.pro-steps-grid article:nth-child(5) .pro-step-icon {
  background: var(--pro-lime);
}

.pro-steps-grid h3 {
  margin: 0 0 8px;
  font-family: var(--font-display), sans-serif;
  font-size: 17px;
  letter-spacing: -0.03em;
}

.pro-steps-grid p {
  margin: 0;
  color: var(--pro-muted);
  font-size: 11px;
  line-height: 1.55;
}

.pro-price-section {
  position: relative;
  padding-block: 125px;
  background: #111411;
  color: #fff;
  overflow: hidden;
}

.pro-price-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(223, 255, 79, 0.12);
  filter: blur(10px);
  transform: translate(-50%, -50%);
}

.pro-price-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.pro-price-box {
  display: flex;
  width: max-content;
  margin: 45px auto 25px;
  align-items: end;
}

.pro-price-number {
  font-family: var(--font-display), sans-serif;
  font-size: 180px;
  font-weight: 650;
  letter-spacing: -0.12em;
  line-height: 0.72;
}

.pro-price-unit {
  display: flex;
  margin-left: 17px;
  color: var(--pro-lime);
  font-family: var(--font-display), sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 0.9;
  flex-direction: column;
  align-items: flex-start;
}

.pro-price-unit small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-body), sans-serif;
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pro-price-inner > p:not(.pro-overline) {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.pro-price-inner > button {
  min-width: 220px;
  min-height: 58px;
  margin-top: 35px;
  border: 0;
  border-radius: 17px;
  background: var(--pro-lime);
  color: #111;
  cursor: pointer;
  font-weight: 900;
}

.pro-price-inner > button span {
  margin-left: 13px;
}

.pro-footer {
  padding: 85px 0 25px;
  background: #080a08;
  color: #fff;
}

.pro-footer-main {
  display: grid;
  min-height: 170px;
  grid-template-columns: 1fr 1fr auto;
  align-items: start;
}

.pro-footer .pro-brand-mark {
  background: var(--pro-lime);
  color: #111;
}

.pro-footer-main p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.7;
}

.pro-footer-main button {
  min-height: 45px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.pro-footer-bottom {
  display: flex;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.36);
  justify-content: space-between;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.pro-footer-bottom b {
  color: var(--pro-lime);
}

/* Builder */
.pro-builder-backdrop {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  padding: 18px;
  background: rgba(4, 6, 4, 0.76);
  backdrop-filter: blur(13px);
  place-items: center;
  overflow: auto;
  overscroll-behavior: contain;
}

.pro-builder {
  display: grid;
  width: min(1500px, 100%);
  height: min(920px, calc(100dvh - 36px));
  max-height: calc(100dvh - 36px);
  min-height: 0;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: #f5f6f1;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.38);
  grid-template-columns: minmax(600px, 1.1fr) minmax(470px, 0.9fr);
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
}

.pro-builder-main {
  display: grid;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  grid-template-rows: 78px minmax(0, 1fr) 76px;
  background: #f7f8f3;
  overflow: hidden;
}

.pro-builder-header {
  display: grid;
  padding: 0 28px;
  border-bottom: 1px solid var(--pro-line);
  grid-template-columns: 140px 1fr 140px;
  align-items: center;
}

.pro-builder-header .pro-brand-mark {
  width: 32px;
  height: 32px;
  font-size: 11px;
}

.pro-builder-header .pro-brand-name {
  font-size: 16px;
}

.pro-progress {
  display: flex;
  justify-content: center;
}

.pro-progress > span {
  position: relative;
  display: flex;
  min-width: 82px;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}

.pro-progress > span:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 13px;
  left: calc(50% + 14px);
  width: calc(100% - 28px);
  height: 1px;
  background: #d1d4cd;
  content: "";
}

.pro-progress > span.is-done:not(:last-child)::after {
  background: #8da315;
}

.pro-progress b {
  position: relative;
  z-index: 1;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #ced1ca;
  border-radius: 50%;
  background: #f7f8f3;
  color: #949991;
  font-size: 9px;
}

.pro-progress i {
  color: #9a9f97;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.pro-progress > span.is-active b,
.pro-progress > span.is-done b {
  border-color: var(--pro-ink);
  background: var(--pro-ink);
  color: var(--pro-lime);
}

.pro-progress > span.is-active i,
.pro-progress > span.is-done i {
  color: var(--pro-ink);
}

.pro-builder-close {
  display: grid;
  width: 38px;
  height: 38px;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--pro-line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
}

.pro-builder-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #c9ccc5 transparent;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}

.pro-builder-scroll::-webkit-scrollbar {
  width: 9px;
}

.pro-builder-scroll::-webkit-scrollbar-track {
  background: #eceee8;
}

.pro-builder-scroll::-webkit-scrollbar-thumb {
  border: 2px solid #eceee8;
  border-radius: 999px;
  background: #aeb3aa;
}

.pro-panel {
  width: min(790px, calc(100% - 60px));
  margin: 0 auto;
  padding: 44px 0 55px;
}

.pro-panel-label {
  margin: 0 0 13px;
  color: #80857d;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.pro-panel h2,
.pro-success h2 {
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(33px, 3vw, 45px);
  font-weight: 640;
  letter-spacing: -0.06em;
  line-height: 1;
}

.pro-panel-intro {
  max-width: 640px;
  margin: 14px 0 30px;
  color: #747a71;
  font-size: 12px;
  line-height: 1.65;
}

.pro-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.pro-mode-card {
  position: relative;
  display: flex;
  min-height: 285px;
  padding: 23px;
  border: 1.5px solid #daddd5;
  border-radius: 24px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pro-mode-card:hover {
  transform: translateY(-3px);
}

.pro-mode-card.is-selected {
  border-color: var(--pro-ink);
  box-shadow: 0 16px 45px rgba(18, 22, 18, 0.1);
}

.pro-mode-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 32px;
  place-items: center;
  border-radius: 18px;
  background: #eceee8;
  font-size: 28px;
}

.pro-mode-icon.is-business {
  background: var(--pro-lime);
}

.pro-mode-check {
  position: absolute;
  top: 22px;
  right: 22px;
  display: none;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--pro-ink);
  color: var(--pro-lime);
  font-size: 10px;
}

.pro-mode-card.is-selected .pro-mode-check {
  display: grid;
}

.pro-mode-card > strong {
  margin-bottom: 8px;
  font-family: var(--font-display), sans-serif;
  font-size: 22px;
  letter-spacing: -0.045em;
}

.pro-mode-card > small {
  max-width: 260px;
  color: #777d74;
  font-size: 10px;
  line-height: 1.55;
}

.pro-mode-tags {
  display: flex;
  margin-top: auto;
  flex-wrap: wrap;
  gap: 5px;
}

.pro-mode-tags i {
  padding: 6px 8px;
  border-radius: 7px;
  background: #f0f1ed;
  color: #62675f;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.pro-mode-card.is-selected .pro-mode-tags i {
  background: #eff7cb;
}

.pro-info-note {
  display: flex;
  margin-top: 17px;
  padding: 15px 17px;
  border-radius: 15px;
  background: #e9ebe5;
  align-items: center;
  gap: 12px;
}

.pro-info-note > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: #fff;
}

.pro-info-note p {
  margin: 0;
  color: #686e65;
  font-size: 9px;
  line-height: 1.5;
}

.pro-info-note b {
  color: var(--pro-ink);
}

.pro-photo-row {
  display: flex;
  margin-bottom: 25px;
  padding: 17px;
  border: 1px solid #dde0d8;
  border-radius: 20px;
  background: #fff;
  align-items: center;
  gap: 16px;
}

.pro-photo-preview {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, #795aff, #c7baff);
  color: #fff;
  font-family: var(--font-display), sans-serif;
  font-size: 20px;
  font-weight: 850;
  overflow: hidden;
}

.pro-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pro-photo-row strong {
  font-size: 12px;
}

.pro-photo-row p {
  margin: 4px 0 10px;
  color: #858a82;
  font-size: 8px;
}

.pro-photo-actions {
  display: flex;
  gap: 7px;
}

.pro-photo-actions label,
.pro-photo-actions button {
  padding: 7px 10px;
  border: 1px solid #d9dcd4;
  border-radius: 9px;
  background: #f7f8f4;
  cursor: pointer;
  font-size: 8px;
  font-weight: 850;
}

.pro-photo-actions button {
  color: #c44949;
}

.pro-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pro-field {
  position: relative;
  display: block;
}

.pro-field.is-wide {
  grid-column: 1 / -1;
}

.pro-field > span {
  display: block;
  margin: 0 0 7px 2px;
  color: #535850;
  font-size: 9px;
  font-weight: 850;
}

.pro-field > span b {
  color: #7e9500;
}

.pro-field input,
.pro-field textarea,
.pro-field select,
.pro-dynamic-row input,
.pro-dynamic-row select,
.pro-service-row input,
.pro-template-search input {
  width: 100%;
  border: 1px solid #daddd5;
  outline: 0;
  background: #fff;
  color: var(--pro-ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.pro-field input,
.pro-field select {
  height: 49px;
  padding: 0 13px;
  border-radius: 13px;
  font-size: 11px;
}

.pro-field textarea {
  min-height: 90px;
  padding: 13px;
  border-radius: 13px;
  font-size: 11px;
  line-height: 1.5;
  resize: vertical;
}

.pro-field input:focus,
.pro-field textarea:focus,
.pro-field select:focus,
.pro-dynamic-row input:focus,
.pro-dynamic-row select:focus,
.pro-service-row input:focus,
.pro-template-search input:focus {
  border-color: #7c826f;
  box-shadow: 0 0 0 3px rgba(124, 130, 111, 0.1);
}

.pro-field > small {
  position: absolute;
  right: 10px;
  bottom: 9px;
  color: #999e96;
  font-size: 7px;
}

.pro-field > small i {
  font-style: normal;
}

.pro-slug-field {
  display: flex;
  height: 51px;
  padding: 5px 6px 5px 13px;
  border: 1px solid #daddd5;
  border-radius: 13px;
  background: #fff;
  align-items: center;
}

.pro-slug-field > b {
  font-size: 10px;
}

.pro-slug-field input {
  min-width: 80px;
  height: 100%;
  padding: 0 2px;
  border: 0;
  background: transparent;
  flex: 1;
}

.pro-slug-field i {
  padding: 8px 9px;
  border-radius: 8px;
  background: #eff7cf;
  color: #617400;
  font-size: 7px;
  font-style: normal;
  font-weight: 850;
}

.pro-content-block {
  margin-bottom: 13px;
  padding: 18px;
  border: 1px solid #dde0d8;
  border-radius: 19px;
  background: #fff;
}

.pro-block-head,
.pro-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pro-block-head h3,
.pro-switch-row h3 {
  margin: 0 0 4px;
  font-size: 12px;
}

.pro-block-head p,
.pro-switch-row p {
  margin: 0;
  color: #858a82;
  font-size: 8px;
}

.pro-block-head > button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #daddd5;
  border-radius: 10px;
  background: #f6f7f3;
  cursor: pointer;
  font-size: 8px;
  font-weight: 850;
}

.pro-dynamic-list,
.pro-service-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.pro-dynamic-row {
  display: grid;
  grid-template-columns: 130px 1fr 34px;
  gap: 7px;
}

.pro-dynamic-row input,
.pro-dynamic-row select,
.pro-service-row input {
  height: 42px;
  padding: 0 10px;
  border-radius: 11px;
  font-size: 9px;
}

.pro-remove-row {
  display: grid;
  width: 34px;
  height: 34px;
  margin: auto;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #f2f3ef;
  color: #a04c4c;
  cursor: pointer;
  font-size: 15px;
}

.pro-empty-row {
  margin: 0;
  padding: 15px;
  border: 1px dashed #d5d8d1;
  border-radius: 11px;
  color: #8a8f87;
  font-size: 8px;
  text-align: center;
}

.pro-social-static {
  display: flex;
  min-width: 0;
  padding: 0 9px;
  border: 1px solid #daddd5;
  border-radius: 11px;
  background: #f7f8f4;
  align-items: center;
  gap: 7px;
}

.pro-social-static span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  background: var(--pro-ink);
  color: #fff;
  font-size: 6px;
}

.pro-social-static b {
  min-width: 0;
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.is-invalid {
  border-color: #d44f4f !important;
  box-shadow: 0 0 0 3px rgba(212, 79, 79, 0.12) !important;
  animation: proShake 250ms ease-in-out 2;
}

@keyframes proShake {
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

@media (max-width: 900px) {
  .pro-app.is-mobile-menu-open .pro-nav {
    position: absolute;
    z-index: 30;
    top: 64px;
    right: 19px;
    left: 19px;
    display: flex;
    padding: 18px;
    border: 1px solid var(--pro-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 55px rgba(16, 19, 16, 0.14);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
}

.pro-platform-picker {
  display: flex;
  margin-top: 13px;
  flex-wrap: wrap;
  gap: 6px;
}

.pro-platform-picker button {
  display: inline-flex;
  min-height: 31px;
  padding: 0 9px;
  border: 1px solid #dfe2da;
  border-radius: 9px;
  background: #f7f8f4;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  font-size: 7px;
  font-weight: 850;
}

.pro-platform-picker button span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 6px;
  background: var(--pro-ink);
  color: #fff;
  font-size: 6px;
}

.pro-platform-picker button.is-added {
  border-color: #b6cb50;
  background: #f3fad7;
}

.pro-switch {
  position: relative;
  display: block;
  flex: 0 0 auto;
}

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

.pro-switch span {
  position: relative;
  display: block;
  width: 42px;
  height: 24px;
  border-radius: 20px;
  background: #d9dcd5;
  cursor: pointer;
  transition: background 160ms ease;
}

.pro-switch span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.15);
  content: "";
  transition: transform 160ms ease;
}

.pro-switch input:checked + span {
  background: var(--pro-ink);
}

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

[data-address-field],
[data-hours-field] {
  margin-top: 14px;
}

.pro-service-row {
  display: grid;
  grid-template-columns: 1fr 150px 34px;
  gap: 7px;
}

.pro-template-tools {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  gap: 10px;
}

.pro-template-search {
  position: relative;
  display: block;
  flex: 1;
}

.pro-template-search span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 13px;
  font-size: 18px;
  transform: translateY(-50%);
}

.pro-template-search input {
  height: 45px;
  padding: 0 13px 0 38px;
  border-radius: 12px;
  font-size: 10px;
}

.pro-template-count {
  min-width: 76px;
  padding: 11px;
  border: 1px solid #daddd5;
  border-radius: 12px;
  background: #fff;
  color: #747971;
  font-size: 8px;
  text-align: center;
}

.pro-template-count b {
  color: var(--pro-ink);
}

.pro-template-filters {
  display: flex;
  margin-bottom: 14px;
  padding-bottom: 3px;
  overflow-x: auto;
  gap: 6px;
  scrollbar-width: none;
}

.pro-template-filters button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #daddd5;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 7px;
  font-weight: 850;
}

.pro-template-filters button.is-active {
  border-color: var(--pro-ink);
  background: var(--pro-ink);
  color: #fff;
}

.pro-template-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pro-template-card {
  position: relative;
  min-width: 0;
  padding: 8px;
  border: 1.5px solid #daddd5;
  border-radius: 17px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}

.pro-template-card.is-selected {
  border-color: var(--pro-ink);
  box-shadow: 0 8px 24px rgba(16, 19, 16, 0.11);
}

.pro-template-card.is-selected::after {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--pro-lime);
  color: #111;
  content: "✓";
  font-size: 8px;
  font-weight: 900;
}

.pro-template-thumb {
  position: relative;
  display: flex;
  min-height: 132px;
  padding: 13px;
  border-radius: 12px;
  background: var(--tpl-bg);
  color: var(--tpl-text);
  flex-direction: column;
  overflow: hidden;
}

.pro-template-thumb::before {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: var(--tpl-accent);
  opacity: 0.42;
  content: "";
}

.pro-template-thumb > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: auto;
  place-items: center;
  border-radius: 12px;
  background: var(--tpl-accent);
  color: #fff;
  font-size: 15px;
}

.pro-template-thumb b,
.pro-template-thumb i {
  position: relative;
  z-index: 1;
  display: block;
}

.pro-template-thumb b {
  margin: 12px 0 4px;
  font-family: var(--font-display), sans-serif;
  font-size: 14px;
  letter-spacing: -0.04em;
}

.pro-template-thumb i {
  width: 67%;
  height: 4px;
  border-radius: 4px;
  background: currentColor;
  font-size: 0;
  opacity: 0.28;
}

.pro-template-meta {
  display: flex;
  padding: 10px 4px 3px;
  align-items: center;
  justify-content: space-between;
}

.pro-template-meta strong {
  min-width: 0;
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-template-meta small {
  color: #92978f;
  font-size: 6px;
  text-transform: uppercase;
}

.pro-empty-templates {
  padding: 45px;
  border: 1px dashed #d0d3cc;
  border-radius: 16px;
  color: #858a82;
  font-size: 10px;
  text-align: center;
}

.pro-summary-card {
  border: 1px solid #daddd5;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
}

.pro-template-meta i {
  display: inline-flex;
  max-width: 100%;
  margin-top: 7px;
  padding: 4px 7px;
  border: 1px solid #dde0d8;
  border-radius: 999px;
  color: #596158;
  font-size: 5.5px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: .04em;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.pro-summary-head {
  position: relative;
  display: flex;
  min-height: 105px;
  padding: 19px;
  background: #171a17;
  color: #fff;
  align-items: center;
  gap: 13px;
}

.pro-summary-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(145deg, var(--pro-violet), #b6a7ff);
  color: #fff;
  flex: 0 0 auto;
  font-size: 14px;
  overflow: hidden;
}

.pro-summary-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pro-summary-head small {
  color: var(--pro-lime);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.pro-summary-head h3 {
  margin: 4px 0 2px;
  font-family: var(--font-display), sans-serif;
  font-size: 19px;
}

.pro-summary-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
}

.pro-ready-badge {
  margin-left: auto;
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--pro-lime);
  color: #111;
  font-size: 7px;
  font-weight: 900;
}

.pro-summary-row {
  display: flex;
  min-height: 54px;
  padding: 0 19px;
  border-bottom: 1px solid #eceee8;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pro-summary-row span {
  color: #858a82;
  font-size: 8px;
}

.pro-summary-row strong {
  max-width: 65%;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-summary-price {
  display: flex;
  min-height: 92px;
  padding: 16px 19px;
  background: #eff2e8;
  align-items: center;
  justify-content: space-between;
}

.pro-summary-price small,
.pro-summary-price strong {
  display: block;
}

.pro-summary-price small {
  color: #858a82;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.pro-summary-price strong {
  margin-top: 3px;
  font-family: var(--font-display), sans-serif;
  font-size: 30px;
  letter-spacing: -0.06em;
}

.pro-summary-price p {
  margin: 0;
  color: #61675e;
  font-size: 8px;
  line-height: 1.6;
  text-align: right;
}

.pro-summary-price p span {
  color: #768c00;
}

.pro-confirm {
  display: flex;
  margin-top: 15px;
  color: #72776f;
  align-items: center;
  gap: 9px;
  font-size: 8px;
}

.pro-confirm input {
  width: 16px;
  height: 16px;
  accent-color: var(--pro-ink);
}

.pro-builder-actions {
  position: relative;
  z-index: 20;
  display: grid;
  min-height: 0;
  padding: 0 28px;
  border-top: 1px solid var(--pro-line);
  background: #f7f8f3;
  box-shadow: 0 -10px 25px rgba(16, 19, 16, 0.035);
  grid-template-columns: 135px 1fr 180px;
  align-items: center;
}

.pro-back,
.pro-next,
.pro-publish {
  min-height: 47px;
  border-radius: 13px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
}

.pro-back {
  width: max-content;
  padding: 0 14px;
  border: 1px solid #d2d5ce;
  background: transparent;
}

.pro-next,
.pro-publish {
  border: 0;
  background: var(--pro-ink);
  color: #fff;
}

.pro-next span,
.pro-publish span {
  margin-left: 11px;
  color: var(--pro-lime);
}

.pro-publish {
  background: var(--pro-lime);
  color: #111;
}

.pro-publish i {
  font-style: normal;
}

.pro-publish:disabled {
  cursor: wait;
  opacity: 0.68;
}

.pro-publish span {
  color: #111;
}

.pro-draft-status {
  color: #8c9189;
  font-size: 7px;
  text-align: center;
}

.pro-draft-status::first-letter {
  color: #86a000;
}

.pro-builder-preview {
  display: grid;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  padding: 24px 27px;
  background: #151815;
  color: #fff;
  grid-template-rows: 38px minmax(0, 1fr) 28px;
  overflow: hidden;
}

.pro-preview-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.pro-preview-head > span {
  display: flex;
  color: rgba(255, 255, 255, 0.62);
  align-items: center;
  gap: 7px;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.pro-preview-head > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pro-lime);
  animation: proPulse 1.8s infinite;
}

.pro-preview-head > div {
  display: flex;
  padding: 3px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  gap: 2px;
}

.pro-preview-head button {
  display: grid;
  width: 28px;
  height: 24px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  font-size: 13px;
}

.pro-preview-head button.is-active {
  background: #fff;
  color: #111;
}

.pro-preview-stage {
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  transition: transform 200ms ease;
}

.pro-preview-stage.is-desktop .pro-phone-shell {
  width: 440px;
  height: 300px;
  border-radius: 18px;
  transform: scale(1);
}

.pro-preview-stage.is-desktop .micro-page {
  display: grid;
  padding: 35px 24px 20px;
  border-radius: 10px;
  grid-template-columns: 1fr 0.9fr;
  grid-template-rows: auto auto 1fr auto;
  column-gap: 20px;
}

.pro-preview-stage.is-desktop .micro-brand-row,
.pro-preview-stage.is-desktop .micro-footer {
  grid-column: 1 / -1;
}

.pro-preview-stage.is-desktop .micro-identity {
  align-self: start;
}

.pro-preview-stage.is-desktop .micro-feature-grid {
  align-self: end;
  grid-column: 1;
}

.pro-preview-stage.is-desktop .micro-link-list {
  align-self: start;
  grid-column: 2;
  grid-row: 2 / 4;
}

.pro-preview-stage.is-desktop .micro-meta {
  display: none;
}

.pro-preview-stage.is-desktop .pro-phone-top,
.pro-preview-stage.is-desktop .pro-phone-home {
  display: none;
}

.pro-preview-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 7px;
  text-align: center;
}

.pro-preview-hint span {
  color: var(--pro-lime);
  font-size: 11px;
}

.pro-success {
  display: flex;
  width: min(620px, calc(100% - 60px));
  height: 100%;
  margin: 0 auto;
  padding: 50px 0;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.pro-success-art {
  position: relative;
  display: grid;
  width: 112px;
  height: 112px;
  margin-bottom: 25px;
  place-items: center;
  border-radius: 34px;
  background: var(--pro-lime);
  box-shadow: 0 25px 60px rgba(144, 171, 17, 0.26);
  transform: rotate(-5deg);
}

.pro-success-art > span {
  font-size: 45px;
  font-weight: 900;
}

.pro-success-art i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--pro-violet);
}

.pro-success-art i:nth-child(2) { top: -17px; left: -14px; }
.pro-success-art i:nth-child(3) { top: 8px; right: -25px; background: #ff765e; }
.pro-success-art i:nth-child(4) { bottom: -20px; left: 14px; background: #45b6df; }

.pro-success > p:not(.pro-panel-label) {
  max-width: 440px;
  margin: 15px 0 25px;
  color: #747a71;
  font-size: 11px;
  line-height: 1.7;
}

.pro-success-link {
  display: flex;
  width: min(430px, 100%);
  min-height: 58px;
  padding: 7px 8px 7px 16px;
  border: 1px solid #d5d8d0;
  border-radius: 15px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 850;
}

.pro-success-actions {
  display: grid;
  width: min(520px, 100%);
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 8px;
}

.pro-success-actions .pro-success-link {
  width: 100%;
  min-width: 0;
}

.pro-success-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-success-view {
  display: flex;
  min-height: 58px;
  padding: 0 14px;
  border-radius: 15px;
  background: var(--pro-lime);
  color: #111;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 9px;
  font-weight: 900;
  text-decoration: none;
}

.pro-success-view span {
  font-size: 13px;
}

.pro-publish-error {
  position: absolute;
  right: 28px;
  bottom: 62px;
  max-width: 380px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #efb6ae;
  border-radius: 10px;
  background: #fff0ed;
  color: #a22e20;
  font-size: 8px;
  font-weight: 750;
  line-height: 1.35;
}

.pro-success-link b {
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--pro-ink);
  color: #fff;
  font-size: 8px;
}

.pro-success-back {
  margin-top: 13px;
  border: 0;
  background: transparent;
  color: #747a71;
  cursor: pointer;
  font-size: 9px;
  text-decoration: underline;
}

/* Short desktop screens: keep navigation fixed, scroll only the form body,
   and scale the live preview so the complete page remains visible. */
@media (min-width: 901px) and (max-height: 800px) {
  .pro-builder-backdrop {
    padding: 10px;
  }

  .pro-builder {
    height: calc(100dvh - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 24px;
  }

  .pro-builder-main {
    grid-template-rows: 64px minmax(0, 1fr) 64px;
  }

  .pro-builder-header {
    padding-inline: 24px;
  }

  .pro-panel {
    width: min(790px, calc(100% - 46px));
    padding: 27px 0 88px;
  }

  .pro-panel h2,
  .pro-success h2 {
    font-size: 37px;
  }

  .pro-panel-intro {
    margin: 11px 0 22px;
  }

  .pro-builder-actions {
    padding-inline: 24px;
  }

  .pro-builder-preview {
    padding: 16px 22px 12px;
    grid-template-rows: 32px minmax(0, 1fr) 22px;
  }

  .pro-preview-stage .pro-phone-shell {
    transform: scale(0.82);
  }

  .pro-preview-stage.is-desktop .pro-phone-shell {
    transform: scale(0.9);
  }
}

@media (min-width: 901px) and (max-height: 680px) {
  .pro-builder-main {
    grid-template-rows: 58px minmax(0, 1fr) 58px;
  }

  .pro-builder-header {
    padding-inline: 20px;
  }

  .pro-builder-header .pro-brand-mark {
    width: 29px;
    height: 29px;
  }

  .pro-progress > span {
    min-width: 72px;
  }

  .pro-progress i {
    font-size: 6px;
  }

  .pro-panel {
    padding: 22px 0 78px;
  }

  .pro-panel-label {
    margin-bottom: 9px;
  }

  .pro-panel h2,
  .pro-success h2 {
    font-size: 33px;
  }

  .pro-panel-intro {
    margin: 9px 0 18px;
  }

  .pro-builder-actions {
    padding-inline: 20px;
  }

  .pro-back,
  .pro-next,
  .pro-publish {
    min-height: 42px;
  }

  .pro-builder-preview {
    padding: 13px 18px 9px;
    grid-template-rows: 29px minmax(0, 1fr) 19px;
  }

  .pro-preview-stage .pro-phone-shell {
    transform: scale(0.69);
  }

  .pro-preview-stage.is-desktop .pro-phone-shell {
    transform: scale(0.82);
  }
}

@media (min-width: 901px) and (max-height: 560px) {
  .pro-builder-main {
    grid-template-rows: 52px minmax(0, 1fr) 54px;
  }

  .pro-builder-header .pro-brand-name,
  .pro-progress i,
  .pro-draft-status {
    display: none;
  }

  .pro-panel {
    padding: 18px 0 70px;
  }

  .pro-preview-stage .pro-phone-shell {
    transform: scale(0.58);
  }

  .pro-preview-stage.is-desktop .pro-phone-shell {
    transform: scale(0.7);
  }
}

@media (max-width: 1180px) {
  .pro-hero {
    grid-template-columns: 1fr 440px;
    gap: 35px;
  }

  .pro-hero h1 {
    font-size: 74px;
  }

  .pro-category-showcase {
    grid-template-columns: repeat(3, 1fr);
  }

  .pro-category-showcase button {
    min-height: 220px;
  }

  .pro-builder {
    grid-template-columns: minmax(560px, 1.05fr) minmax(400px, 0.95fr);
  }

  .pro-progress > span {
    min-width: 66px;
  }
}

@media (max-width: 900px) {
  .pro-container {
    width: min(100% - 38px, 700px);
  }

  .pro-desktop-hero,
  .pro-nav,
  .pro-header-cta {
    display: none;
  }

  .pro-header {
    display: flex;
    height: 70px;
    justify-content: space-between;
  }

  .pro-menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 12px;
    border: 1px solid var(--pro-line);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.58);
    align-content: center;
    gap: 5px;
  }

  .pro-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 3px;
    background: var(--pro-ink);
  }

  .pro-mobile-hero {
    position: relative;
    display: block;
    min-height: 900px;
    padding: 52px 19px 48px;
    text-align: center;
  }

  .pro-mobile-hero > * {
    position: relative;
    z-index: 2;
  }

  .pro-mobile-orb {
    position: absolute;
    z-index: 0;
    top: 120px;
    left: 50%;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(223, 255, 79, 0.4), rgba(118, 88, 255, 0.12));
    transform: translateX(-50%);
  }

  .pro-mobile-hero .pro-pill {
    margin-bottom: 20px;
  }

  .pro-mobile-hero h1 {
    font-size: clamp(55px, 17vw, 78px);
  }

  .pro-mobile-hero > p:not(.pro-pill) {
    max-width: 390px;
    margin: 23px auto 21px;
    color: var(--pro-muted);
    font-size: 14px;
    line-height: 1.65;
  }

  .pro-mobile-mode {
    display: grid;
    max-width: 460px;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pro-mobile-mode button {
    display: grid;
    min-height: 58px;
    padding: 8px 10px;
    border: 1px solid var(--pro-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    grid-template-columns: 31px 1fr auto;
    align-items: center;
    gap: 7px;
    text-align: left;
  }

  .pro-mobile-mode button > span {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 10px;
    background: var(--pro-lime);
  }

  .pro-mobile-mode b {
    font-size: 10px;
  }

  .pro-mobile-mode i {
    font-size: 13px;
    font-style: normal;
  }

  .pro-mobile-phone-wrap {
    position: relative;
    height: 470px;
    margin-top: 42px;
    overflow: hidden;
  }

  .pro-mobile-phone-wrap .pro-phone-shell {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg) scale(0.82);
    transform-origin: top center;
  }

  .pro-mobile-proof {
    display: grid;
    max-width: 500px;
    margin: 5px auto 0;
    grid-template-columns: repeat(3, 1fr);
  }

  .pro-mobile-proof span {
    color: #7b8078;
    font-size: 8px;
  }

  .pro-mobile-proof b {
    display: block;
    margin-bottom: 3px;
    color: var(--pro-ink);
    font-family: var(--font-display), sans-serif;
    font-size: 18px;
  }

  .pro-proof-bar .pro-container {
    min-height: auto;
    padding: 17px 0;
    grid-template-columns: 1fr 1fr;
    gap: 12px 0;
  }

  .pro-proof-bar span {
    border-right: 0;
    font-size: 9px;
  }

  .pro-section {
    padding-block: 80px;
  }

  .pro-section-head,
  .pro-template-title-row {
    display: block;
    margin-bottom: 35px;
  }

  .pro-section-head h2,
  .pro-template-title-row h2,
  .pro-price-inner h2 {
    font-size: clamp(42px, 11vw, 62px);
  }

  .pro-section-head > p {
    margin-top: 20px;
  }

  .pro-audience-grid {
    grid-template-columns: 1fr;
  }

  .pro-audience-card {
    min-height: 520px;
    padding: 26px;
  }

  .pro-audience-card > button {
    right: 25px;
    bottom: 25px;
  }

  .pro-template-section {
    padding-block: 80px;
  }

  .pro-template-title-row > button {
    margin-top: 25px;
  }

  .pro-category-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .pro-category-showcase button {
    min-height: 205px;
  }

  .pro-category-ticker {
    gap: 20px;
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
  }

  .pro-steps-grid {
    grid-template-columns: 1fr;
  }

  .pro-steps-grid article {
    display: grid;
    min-height: 120px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--pro-line);
    grid-template-columns: 35px 55px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 14px;
  }

  .pro-step-icon {
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
  }

  .pro-steps-grid h3,
  .pro-steps-grid p {
    grid-column: 3;
  }

  .pro-dark-button {
    margin-top: 23px;
  }

  .pro-footer-main {
    display: block;
  }

  .pro-footer-main p {
    margin: 25px 0;
  }

  .pro-builder-backdrop {
    padding: 0;
  }

  .pro-builder {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .pro-builder-main {
    height: 100%;
    grid-template-rows: 70px minmax(0, 1fr) 72px;
  }

  .pro-builder-preview {
    display: none;
  }

  .pro-builder-header {
    padding: 0 18px;
    grid-template-columns: 70px 1fr 42px;
  }

  .pro-builder-header .pro-brand-name,
  .pro-progress i {
    display: none;
  }

  .pro-progress > span {
    min-width: 37px;
  }

  .pro-progress > span:not(:last-child)::after {
    left: calc(50% + 12px);
    width: calc(100% - 24px);
  }

  .pro-panel {
    width: min(100% - 32px, 650px);
    padding: 29px 0 38px;
  }

  .pro-mode-grid,
  .pro-field-grid {
    grid-template-columns: 1fr;
  }

  .pro-field.is-wide {
    grid-column: auto;
  }

  .pro-mode-card {
    min-height: 220px;
  }

  .pro-mode-icon {
    margin-bottom: 21px;
  }

  .pro-builder-actions {
    padding: 0 16px;
    grid-template-columns: 90px 1fr 145px;
  }

  .pro-draft-status {
    display: none;
  }

  .pro-template-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pro-success {
    width: min(100% - 40px, 540px);
  }
}

@media (max-width: 520px) {
  .pro-mobile-hero {
    min-height: 845px;
    padding-top: 40px;
  }

  .pro-mobile-mode {
    grid-template-columns: 1fr;
  }

  .pro-mobile-phone-wrap {
    height: 425px;
    margin-top: 28px;
  }

  .pro-mobile-phone-wrap .pro-phone-shell {
    transform: translateX(-50%) rotate(-2deg) scale(0.73);
  }

  .pro-proof-bar span {
    font-size: 8px;
  }

  .pro-audience-card {
    min-height: 490px;
  }

  .pro-audience-art {
    width: 225px;
    min-height: 205px;
  }

  .pro-business-icons span {
    width: 68px;
    height: 68px;
    font-size: 23px;
  }

  .pro-business-icons span:nth-child(1),
  .pro-business-icons span:nth-child(2) {
    display: none;
  }

  .pro-audience-card h3 {
    font-size: 29px;
  }

  .pro-category-showcase button {
    min-height: 175px;
    padding: 15px;
  }

  .pro-category-showcase button > span {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .pro-price-number {
    font-size: 145px;
  }

  .pro-price-unit {
    font-size: 27px;
  }

  .pro-footer-bottom {
    display: grid;
    gap: 10px;
  }

  .pro-panel h2,
  .pro-success h2 {
    font-size: 32px;
  }

  .pro-photo-row {
    padding: 13px;
  }

  .pro-photo-preview {
    width: 62px;
    height: 62px;
  }

  .pro-dynamic-row {
    grid-template-columns: 105px 1fr 34px;
  }

  .pro-service-row {
    grid-template-columns: 1fr 90px 34px;
  }

  .pro-template-card {
    padding: 6px;
  }

  .pro-template-thumb {
    min-height: 115px;
  }

  .pro-builder-actions {
    grid-template-columns: 76px 1fr 132px;
  }

  .pro-back,
  .pro-next,
  .pro-publish {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 1AI builder polish: the live preview is now the main stage and template
   cards communicate structure, not only a colour palette. */
@media (min-width: 1181px) {
  .pro-builder {
    grid-template-columns: minmax(600px, .95fr) minmax(540px, 1.05fr);
  }

  .pro-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .pro-template-thumb {
    min-height: 172px;
  }
}

.pro-builder-preview {
  background:
    radial-gradient(circle at 50% 43%, rgba(217,255,79,.08), transparent 34%),
    #111411;
}

.pro-preview-stage {
  padding: 5px 0;
}

.pro-preview-stage .pro-phone-shell {
  box-shadow: 0 30px 90px rgba(0,0,0,.48);
}

.pro-template-thumb {
  min-height: 150px;
  padding: 12px;
}

.pro-template-thumb::after {
  position: absolute;
  inset: 7px;
  border: 1px solid color-mix(in srgb, var(--tpl-text) 10%, transparent);
  border-radius: 9px;
  pointer-events: none;
  content: "";
}

.pro-template-thumb .pro-thumb-style {
  position: absolute;
  z-index: 3;
  top: 11px;
  right: 11px;
  max-width: 72px;
  padding: 4px 6px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tpl-bg) 78%, transparent);
  color: color-mix(in srgb, var(--tpl-text) 72%, transparent);
  font-size: 5px;
  font-weight: 900;
  letter-spacing: .08em;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.pro-template-thumb .pro-thumb-tagline {
  position: relative;
  z-index: 2;
  display: -webkit-box;
  max-width: 70%;
  margin-top: 4px;
  color: color-mix(in srgb, var(--tpl-text) 62%, transparent);
  font-family: var(--font-body), sans-serif;
  font-size: 5.5px;
  font-style: normal;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.pro-template-thumb .pro-thumb-scene {
  z-index: 2;
  right: 11px;
  bottom: 11px;
  left: auto;
  display: grid;
  width: 42%;
  height: 52px;
  padding: 6px;
  border: 1px solid color-mix(in srgb, var(--tpl-text) 15%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--tpl-bg) 72%, var(--tpl-accent));
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
}

.pro-template-thumb .pro-thumb-scene > i {
  min-width: 0;
  min-height: 0;
  border-radius: 2px;
  background: var(--tpl-accent);
  opacity: .3;
}

.pro-template-thumb .pro-thumb-scene > b {
  position: absolute;
  right: 5px;
  bottom: 3px;
  color: var(--tpl-accent);
  font-size: 7px;
}

.pro-template-meta small {
  display: -webkit-box;
  min-height: 24px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Food and reservation cards */
.pro-template-thumb[data-thumb-kind="menu"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="reservation"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="services"] .pro-thumb-scene {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, 1fr);
}
.pro-template-thumb[data-thumb-kind="menu"] .pro-thumb-scene > i,
.pro-template-thumb[data-thumb-kind="reservation"] .pro-thumb-scene > i,
.pro-template-thumb[data-thumb-kind="services"] .pro-thumb-scene > i { height: 2px; align-self: center; }

/* Editorial catalog and product cards */
.pro-template-thumb[data-thumb-kind="product"] .pro-thumb-scene > i:first-child,
.pro-template-thumb[data-thumb-kind="collection"] .pro-thumb-scene > i:first-child,
.pro-template-thumb[data-thumb-kind="drop"] .pro-thumb-scene > i:first-child,
.pro-template-thumb[data-thumb-kind="luxury"] .pro-thumb-scene > i:first-child,
.pro-template-thumb[data-thumb-kind="device"] .pro-thumb-scene > i:first-child,
.pro-template-thumb[data-thumb-kind="vehicle"] .pro-thumb-scene > i:first-child,
.pro-template-thumb[data-thumb-kind="listing"] .pro-thumb-scene > i:first-child,
.pro-template-thumb[data-thumb-kind="room"] .pro-thumb-scene > i:first-child,
.pro-template-thumb[data-thumb-kind="bouquet"] .pro-thumb-scene > i:first-child {
  grid-row: 1 / 3;
  border-radius: 12px 12px 3px 3px;
  opacity: .66;
}

/* Schedule and learning cards */
.pro-template-thumb[data-thumb-kind="schedule"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="levels"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="calendar"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="course"] .pro-thumb-scene {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  align-items: end;
}
.pro-template-thumb[data-thumb-kind="schedule"] .pro-thumb-scene > i:nth-child(2),
.pro-template-thumb[data-thumb-kind="levels"] .pro-thumb-scene > i:nth-child(2),
.pro-template-thumb[data-thumb-kind="calendar"] .pro-thumb-scene > i:nth-child(2),
.pro-template-thumb[data-thumb-kind="course"] .pro-thumb-scene > i:nth-child(2) { height: 72%; }
.pro-template-thumb[data-thumb-kind="schedule"] .pro-thumb-scene > i:nth-child(3),
.pro-template-thumb[data-thumb-kind="levels"] .pro-thumb-scene > i:nth-child(3),
.pro-template-thumb[data-thumb-kind="calendar"] .pro-thumb-scene > i:nth-child(3),
.pro-template-thumb[data-thumb-kind="course"] .pro-thumb-scene > i:nth-child(3) { height: 42%; }

/* Technical dashboards */
.pro-template-thumb[data-thumb-kind="specs"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="diagnostic"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="search"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="dashboard"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="calculator"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="blueprint"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="stock"] .pro-thumb-scene {
  border-radius: 1px;
  background-image: repeating-linear-gradient(0deg, transparent 0 7px, color-mix(in srgb, var(--tpl-accent) 16%, transparent) 8px);
}
.pro-template-thumb[data-thumb-kind="specs"] .pro-thumb-scene > i,
.pro-template-thumb[data-thumb-kind="diagnostic"] .pro-thumb-scene > i,
.pro-template-thumb[data-thumb-kind="search"] .pro-thumb-scene > i,
.pro-template-thumb[data-thumb-kind="dashboard"] .pro-thumb-scene > i,
.pro-template-thumb[data-thumb-kind="calculator"] .pro-thumb-scene > i,
.pro-template-thumb[data-thumb-kind="blueprint"] .pro-thumb-scene > i,
.pro-template-thumb[data-thumb-kind="stock"] .pro-thumb-scene > i { border-radius: 0; }

/* Map, travel and booking cards */
.pro-template-thumb[data-thumb-kind="route"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="destination"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="booking"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="stay"] .pro-thumb-scene {
  top: auto;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: repeating-linear-gradient(28deg, transparent 0 10px, color-mix(in srgb, var(--tpl-accent) 22%, transparent) 11px 12px);
}
.pro-template-thumb[data-thumb-kind="route"] .pro-thumb-scene::after,
.pro-template-thumb[data-thumb-kind="destination"] .pro-thumb-scene::after,
.pro-template-thumb[data-thumb-kind="booking"] .pro-thumb-scene::after,
.pro-template-thumb[data-thumb-kind="stay"] .pro-thumb-scene::after {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border: 3px solid var(--tpl-accent);
  border-radius: 50%;
  content: "";
}

/* Creative and expressive cards */
.pro-template-thumb[data-thumb-kind="event"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="playlist"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="gallery"] .pro-thumb-scene,
.pro-template-thumb[data-thumb-kind="moodboard"] .pro-thumb-scene {
  transform: rotate(-3deg);
}
.pro-template-thumb[data-thumb-kind="event"] .pro-thumb-scene > i:nth-child(2),
.pro-template-thumb[data-thumb-kind="playlist"] .pro-thumb-scene > i:nth-child(2),
.pro-template-thumb[data-thumb-kind="gallery"] .pro-thumb-scene > i:nth-child(2),
.pro-template-thumb[data-thumb-kind="moodboard"] .pro-thumb-scene > i:nth-child(2) { transform: translateY(-5px) rotate(8deg); }

@media (max-width: 1180px) and (min-width: 901px) {
  .pro-builder { grid-template-columns: minmax(520px, 1fr) minmax(430px, .85fr); }
  .pro-template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ================================================================
   1AI Studio v4 — AI launch, free-form block editor and QR handoff
   ================================================================ */

.pro-ai-hero-button {
  position: relative;
  display: grid;
  width: min(525px, 100%);
  min-height: 62px;
  margin: 12px 0 16px;
  padding: 9px 14px 9px 10px;
  border: 1px solid rgba(217, 255, 79, .32);
  border-radius: 18px;
  background:
    linear-gradient(110deg, rgba(217, 255, 79, .13), transparent 45%),
    #111511;
  color: #fff;
  cursor: pointer;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  text-align: left;
}

.pro-ai-hero-button::after {
  position: absolute;
  top: -45px;
  right: 50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(217, 255, 79, .08);
  filter: blur(8px);
  content: "";
}

.pro-ai-hero-button > span,
.pro-ai-mobile-button > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 13px;
  background: var(--pro-lime);
  color: var(--pro-ink);
  box-shadow: 0 8px 24px rgba(185, 222, 36, .2);
  font-size: 17px;
}

.pro-ai-hero-button b {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-display), sans-serif;
  font-size: 12px;
  letter-spacing: -.02em;
}

.pro-ai-hero-button small {
  position: relative;
  z-index: 1;
  display: block;
  color: rgba(255, 255, 255, .48);
  font-size: 7px;
  font-weight: 650;
}

.pro-ai-hero-button > i {
  position: relative;
  z-index: 1;
  color: var(--pro-lime);
  font-size: 18px;
  font-style: normal;
}

.pro-ai-mobile-button {
  display: grid;
  width: 100%;
  min-height: 58px;
  margin-top: 9px;
  padding: 8px 13px 8px 8px;
  border: 1px solid rgba(217, 255, 79, .28);
  border-radius: 17px;
  background: #111511;
  color: #fff;
  cursor: pointer;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.pro-ai-mobile-button b {
  font-size: 10px;
}

.pro-ai-mobile-button i {
  color: var(--pro-lime);
  font-size: 17px;
  font-style: normal;
}

.pro-builder-main {
  position: relative;
}

.pro-progress > span {
  min-width: 69px;
}

.pro-editor-panel {
  width: min(920px, calc(100% - 38px));
}

.pro-editor-title-row {
  display: flex;
  margin-bottom: 22px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.pro-editor-title-row .pro-panel-intro {
  margin-bottom: 0;
}

.pro-editor-ai-button {
  display: flex;
  min-width: 120px;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: var(--pro-ink);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 8px;
  font-weight: 900;
}

.pro-editor-ai-button span {
  color: var(--pro-lime);
  font-size: 13px;
}

.pro-editor-shell {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.pro-block-library,
.pro-block-editor,
.pro-floating-editor {
  border: 1px solid #daddd5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(23, 28, 23, .035);
}

.pro-block-library {
  position: sticky;
  top: 14px;
  padding: 12px;
}

.pro-block-library-head {
  display: flex;
  padding: 3px 3px 11px;
  align-items: center;
  gap: 9px;
}

.pro-block-library-head > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: var(--pro-lime);
  font-size: 15px;
  font-weight: 900;
}

.pro-block-library-head b,
.pro-block-library-head small {
  display: block;
}

.pro-block-library-head b {
  font-size: 9px;
}

.pro-block-library-head small {
  margin-top: 2px;
  color: #979c94;
  font-size: 6px;
}

.pro-block-library-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.pro-block-library-grid button {
  display: flex;
  min-width: 0;
  min-height: 74px;
  padding: 9px 7px;
  border: 1px solid #e0e2dc;
  border-radius: 11px;
  background: #f7f8f4;
  cursor: pointer;
  align-items: flex-start;
  flex-direction: column;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.pro-block-library-grid button:hover {
  border-color: #9fa794;
  background: #f1f7d9;
  transform: translateY(-2px);
}

.pro-block-library-grid button > span {
  display: grid;
  width: 24px;
  height: 24px;
  margin-bottom: auto;
  place-items: center;
  border-radius: 7px;
  background: #fff;
  color: #111511;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
  font-size: 10px;
  font-weight: 900;
}

.pro-block-library-grid button b {
  display: block;
  margin-top: 7px;
  font-size: 7px;
  line-height: 1.15;
}

.pro-block-library-grid button small {
  display: none;
}

.pro-block-editor {
  min-width: 0;
  padding: 12px;
}

.pro-block-editor-head {
  display: flex;
  min-height: 48px;
  padding: 0 3px 10px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pro-block-editor-head > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.pro-block-editor-head > div > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 10px;
  background: var(--pro-ink);
  color: var(--pro-lime);
  font-size: 9px;
  font-weight: 900;
}

.pro-block-editor-head p,
.pro-block-editor-head b,
.pro-block-editor-head small {
  display: block;
  margin: 0;
}

.pro-block-editor-head b {
  font-size: 9px;
}

.pro-block-editor-head small {
  margin-top: 2px;
  color: #979c94;
  font-size: 6px;
}

.pro-block-editor-head > button {
  border: 0;
  background: transparent;
  color: #a14d44;
  cursor: pointer;
  font-size: 7px;
  font-weight: 800;
}

.pro-editor-empty {
  display: grid;
  min-height: 250px;
  padding: 30px;
  place-items: center;
  align-content: center;
  border: 1px dashed #cdd1c8;
  border-radius: 15px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(17, 21, 17, .025) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(17, 21, 17, .025) 50%, transparent 51%),
    #fafbf8;
  background-size: 26px 26px;
  text-align: center;
}

.pro-editor-empty > span {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 15px;
  background: var(--pro-lime);
  font-size: 21px;
}

.pro-editor-empty h3 {
  margin: 0 0 6px;
  font-size: 12px;
}

.pro-editor-empty p {
  max-width: 250px;
  margin: 0;
  color: #81867e;
  font-size: 8px;
  line-height: 1.5;
}

.pro-editor-list {
  display: grid;
  gap: 8px;
}

.pro-editor-card {
  position: relative;
  border: 1px solid #dde0d8;
  border-radius: 15px;
  background: #fbfcf9;
  transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  overflow: hidden;
}

.pro-editor-card.is-selected {
  border-color: #9cad41;
  background: #fff;
  box-shadow: 0 12px 30px rgba(36, 44, 20, .08);
}

.pro-editor-card.is-hidden-block {
  opacity: .52;
}

.pro-editor-card.is-dragging {
  opacity: .35;
}

.pro-editor-card.is-drag-over {
  border-color: var(--pro-lime);
  box-shadow: 0 0 0 3px rgba(190, 224, 47, .2);
}

.pro-editor-card > header {
  display: grid;
  min-height: 58px;
  padding: 8px 10px 8px 8px;
  cursor: pointer;
  grid-template-columns: 24px 34px minmax(0, 1fr) auto 15px;
  align-items: center;
  gap: 8px;
}

.pro-drag-block {
  display: grid;
  width: 24px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: #eef0ea;
  color: #8c9188;
  cursor: grab;
  font-size: 12px;
}

.pro-drag-block:active {
  cursor: grabbing;
}

.pro-editor-card-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--pro-ink);
  color: var(--pro-lime);
  font-size: 11px;
  font-weight: 900;
}

.pro-editor-card > header b,
.pro-editor-card > header small {
  display: block;
  min-width: 0;
}

.pro-editor-card > header b {
  margin-bottom: 3px;
  font-size: 9px;
}

.pro-editor-card > header small {
  max-width: 260px;
  color: #8a8f86;
  font-size: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pro-editor-card > header > i {
  font-size: 14px;
  font-style: normal;
}

.pro-block-position {
  padding: 5px 7px;
  border-radius: 999px;
  background: #eef0ea;
  color: #72776f;
  font-size: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.pro-editor-card-actions {
  display: flex;
  padding: 7px 10px;
  border-top: 1px solid #e5e7e1;
  background: #f4f5f1;
  align-items: center;
  gap: 5px;
}

.pro-editor-card-actions button {
  min-height: 25px;
  padding: 0 8px;
  border: 1px solid #d9dcd4;
  border-radius: 7px;
  background: #fff;
  color: #545a52;
  cursor: pointer;
  font-size: 6px;
  font-weight: 800;
}

.pro-editor-card-actions button.is-danger {
  margin-left: auto;
  border-color: #efd6d2;
  color: #b3483c;
}

.pro-editor-card-body {
  padding: 13px;
  border-top: 1px solid #e1e4dc;
}

.pro-editor-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.pro-editor-field,
.pro-editor-select,
.pro-editor-file {
  display: block;
  min-width: 0;
}

.pro-editor-field.is-wide {
  grid-column: 1 / -1;
}

.pro-editor-field > span,
.pro-editor-select > span,
.pro-editor-file > span {
  display: block;
  margin-bottom: 5px;
  color: #70756e;
  font-size: 6px;
  font-weight: 850;
}

.pro-editor-field input,
.pro-editor-field textarea,
.pro-editor-select select,
.pro-editor-item input {
  width: 100%;
  min-width: 0;
  border: 1px solid #d8dbd3;
  border-radius: 9px;
  outline: 0;
  background: #f9faf7;
  color: #171b17;
  font: 700 8px var(--font-body), sans-serif;
}

.pro-editor-field input,
.pro-editor-select select {
  height: 36px;
  padding: 0 10px;
}

.pro-editor-field textarea {
  min-height: 72px;
  padding: 10px;
  line-height: 1.5;
  resize: vertical;
}

.pro-editor-field input:focus,
.pro-editor-field textarea:focus,
.pro-editor-select select:focus,
.pro-editor-item input:focus {
  border-color: #9aad36;
  box-shadow: 0 0 0 3px rgba(185, 219, 45, .14);
  background: #fff;
}

.pro-editor-file {
  position: relative;
  display: flex;
  min-height: 57px;
  padding: 8px 10px;
  border: 1px dashed #bcc1b6;
  border-radius: 10px;
  background: #f6f8ef;
  cursor: pointer;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.pro-editor-file b {
  font-size: 7px;
}

.pro-editor-file input,
.pro-editor-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.pro-editor-items {
  display: grid;
  margin-top: 12px;
  gap: 7px;
}

.pro-editor-item {
  display: grid;
  padding: 7px;
  border: 1px solid #e0e2dc;
  border-radius: 10px;
  background: #f8f9f6;
  grid-template-columns: 25px minmax(90px, .55fr) minmax(130px, 1fr) 25px;
  align-items: center;
  gap: 6px;
}

.pro-editor-item.is-three {
  grid-template-columns: 25px minmax(80px, .6fr) minmax(120px, 1fr) 70px 25px;
}

.pro-editor-item.is-gallery {
  grid-template-columns: 25px 32px minmax(110px, 1fr) 82px 42px 25px;
}

.pro-editor-item-index {
  color: #9a9f96;
  font-size: 6px;
  font-weight: 900;
}

.pro-editor-item input {
  height: 31px;
  padding: 0 8px;
}

.pro-editor-item > button {
  display: grid;
  width: 25px;
  height: 25px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: #eceee9;
  color: #a34a40;
  cursor: pointer;
}

.pro-editor-image-mini {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: #e9ece4;
  color: #777c74;
  overflow: hidden;
}

.pro-editor-image-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pro-editor-upload {
  position: relative;
  display: grid;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  background: var(--pro-ink);
  color: #fff;
  cursor: pointer;
  font-size: 6px;
  font-weight: 850;
}

.pro-add-editor-item {
  min-height: 34px;
  border: 1px dashed #bfc4ba;
  border-radius: 9px;
  background: #fff;
  color: #60665d;
  cursor: pointer;
  font-size: 7px;
  font-weight: 850;
}

.pro-editor-style {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #e2e4df;
}

.pro-editor-style h4 {
  margin: 0 0 9px;
  font-size: 8px;
}

.pro-editor-style > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.pro-editor-select select {
  padding: 0 6px;
  font-size: 7px;
}

.pro-floating-editor {
  margin-top: 14px;
  padding: 15px;
}

.pro-floating-editor-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.pro-wa-preview {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, .22);
  font-size: 9px;
  font-weight: 900;
}

.pro-wa-preview i {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--pro-lime);
}

.pro-floating-editor h3 {
  margin: 0 0 4px;
  font-size: 11px;
}

.pro-floating-editor p {
  margin: 0;
  color: #838880;
  font-size: 7px;
  line-height: 1.45;
}

.pro-floating-fields {
  display: grid;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e2e4de;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.pro-floating-fields .pro-field {
  padding: 0;
  border: 0;
  background: transparent;
}

.pro-ai-modal {
  position: absolute;
  z-index: 50;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(8, 11, 9, .76);
  backdrop-filter: blur(16px);
}

.pro-ai-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100% - 10px);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 5%, rgba(217, 255, 79, .19), transparent 28%),
    #f8f9f4;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .35);
  overflow-y: auto;
}

.pro-ai-close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid #d9dcd4;
  border-radius: 11px;
  background: rgba(255, 255, 255, .72);
  cursor: pointer;
  font-size: 19px;
}

.pro-ai-mark {
  position: relative;
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 19px;
  background: var(--pro-ink);
  color: var(--pro-lime);
  box-shadow: 0 18px 40px rgba(17, 21, 17, .2);
  font-size: 23px;
}

.pro-ai-mark i {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 19px;
  height: 19px;
  border: 4px solid #f8f9f4;
  border-radius: 50%;
  background: var(--pro-lime);
}

.pro-ai-dialog h2 {
  max-width: 480px;
  margin: 0;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.055em;
  line-height: 1;
}

.pro-ai-dialog > p:not(.pro-panel-label) {
  max-width: 530px;
  margin: 13px 0 19px;
  color: #747a71;
  font-size: 10px;
  line-height: 1.65;
}

.pro-ai-prompt {
  position: relative;
  display: block;
}

.pro-ai-prompt textarea {
  width: 100%;
  min-height: 145px;
  padding: 16px 18px 30px;
  border: 1.5px solid #ced2c8;
  border-radius: 17px;
  outline: 0;
  background: #fff;
  color: #171b17;
  font: 700 11px/1.6 var(--font-body), sans-serif;
  resize: vertical;
}

.pro-ai-prompt textarea:focus {
  border-color: #9caf34;
  box-shadow: 0 0 0 4px rgba(188, 222, 48, .15);
}

.pro-ai-prompt > span {
  position: absolute;
  right: 13px;
  bottom: 10px;
  color: #999e95;
  font-size: 7px;
  font-style: normal;
}

.pro-ai-prompt > span i {
  font-style: normal;
}

.pro-ai-examples {
  display: flex;
  margin: 10px 0 14px;
  flex-wrap: wrap;
  gap: 6px;
}

.pro-ai-examples button {
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid #daddd4;
  border-radius: 999px;
  background: #fff;
  color: #60665d;
  cursor: pointer;
  font-size: 7px;
  font-weight: 800;
}

.pro-ai-examples button:hover {
  border-color: #9bad38;
  background: #f0f7d4;
}

.pro-ai-result {
  display: flex;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid #cbd9a4;
  border-radius: 11px;
  background: #f1f8d9;
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}

.pro-ai-result b {
  font-size: 8px;
}

.pro-ai-result span,
.pro-ai-result {
  color: #66704a;
  font-size: 7px;
  line-height: 1.5;
}

.pro-ai-generate {
  display: flex;
  width: 100%;
  min-height: 54px;
  padding: 0 17px;
  border: 0;
  border-radius: 14px;
  background: var(--pro-ink);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 900;
}

.pro-ai-generate span {
  color: var(--pro-lime);
}

.pro-ai-generate i {
  font-size: 17px;
  font-style: normal;
}

.pro-ai-generate:disabled {
  cursor: wait;
  opacity: .7;
}

.pro-ai-note {
  display: block;
  margin-top: 9px;
  color: #92978e;
  font-size: 6px;
  text-align: center;
}

.pro-success {
  width: min(720px, calc(100% - 40px));
  padding: 32px 0;
  overflow-y: auto;
}

.pro-success-art {
  width: 76px;
  height: 76px;
  margin-bottom: 16px;
  border-radius: 24px;
}

.pro-success-art > span {
  font-size: 31px;
}

.pro-success > p:not(.pro-panel-label) {
  margin: 11px 0 17px;
}

.pro-success-share {
  display: grid;
  width: 100%;
  padding: 14px;
  border: 1px solid #d8dbd3;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20, 25, 20, .07);
  grid-template-columns: 174px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  text-align: left;
}

.pro-success-qr {
  display: grid;
  width: 174px;
  height: 174px;
  padding: 10px;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eceee8;
}

.pro-success-qr svg {
  width: 100%;
  height: 100%;
}

.pro-success-qr.has-error {
  color: #a54a40;
  font-size: 8px;
  text-align: center;
}

.pro-success-share-copy > small {
  color: #8d9389;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .14em;
}

.pro-success-share-copy h3 {
  margin: 6px 0 5px;
  font-family: var(--font-display), sans-serif;
  font-size: 18px;
  letter-spacing: -.04em;
}

.pro-success-share-copy > p {
  margin: 0 0 10px;
  color: #7b8177;
  font-size: 7px;
  line-height: 1.5;
}

.pro-success-actions {
  width: 100%;
}

.pro-success-link,
.pro-success-view {
  min-height: 48px;
}

.pro-download-qr {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5c6258;
  cursor: pointer;
  font-size: 7px;
  font-weight: 850;
  text-decoration: underline;
}

@media (max-width: 1280px) and (min-width: 901px) {
  .pro-progress > span {
    min-width: 57px;
  }

  .pro-editor-shell {
    grid-template-columns: 1fr;
  }

  .pro-block-library {
    position: static;
  }

  .pro-block-library-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .pro-block-library-grid button {
    min-height: 66px;
  }
}

@media (max-width: 900px) {
  .pro-progress > span {
    min-width: 32px;
  }

  .pro-editor-panel {
    width: min(100% - 24px, 720px);
  }

  .pro-editor-shell {
    grid-template-columns: 1fr;
  }

  .pro-block-library {
    position: static;
  }

  .pro-block-library-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pro-block-library-grid button {
    min-height: 68px;
  }

  .pro-ai-modal {
    position: fixed;
    padding: 12px;
  }

  .pro-ai-dialog {
    padding: 27px 20px 22px;
  }

  .pro-success-share {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .pro-success-qr {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 620px) {
  .pro-editor-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .pro-editor-ai-button {
    width: 100%;
  }

  .pro-block-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pro-block-library-grid button {
    min-height: 74px;
  }

  .pro-block-library-grid button small {
    display: block;
    margin-top: 3px;
    color: #92978f;
    font-size: 5px;
    line-height: 1.25;
  }

  .pro-editor-card > header {
    grid-template-columns: 22px 32px minmax(0, 1fr) 13px;
  }

  .pro-block-position {
    display: none;
  }

  .pro-editor-card-actions {
    overflow-x: auto;
  }

  .pro-editor-card-actions button {
    flex: 0 0 auto;
  }

  .pro-editor-fields,
  .pro-floating-fields {
    grid-template-columns: 1fr;
  }

  .pro-editor-field.is-wide {
    grid-column: auto;
  }

  .pro-editor-item,
  .pro-editor-item.is-three,
  .pro-editor-item.is-gallery {
    grid-template-columns: 24px 1fr 25px;
  }

  .pro-editor-item > input,
  .pro-editor-item > .pro-editor-image-mini,
  .pro-editor-item > .pro-editor-upload {
    grid-column: 2;
  }

  .pro-editor-item > button {
    grid-column: 3;
    grid-row: 1;
  }

  .pro-editor-style > div {
    grid-template-columns: 1fr 1fr;
  }

  .pro-success {
    justify-content: flex-start;
  }

  .pro-success-share {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pro-success-qr {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }

  .pro-success-actions {
    grid-template-columns: 1fr;
  }

  .pro-ai-dialog h2 {
    font-size: 31px;
  }

  .pro-ai-examples {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   1AI Studio v5 — wide editor, searchable block library, AI page mode
   ================================================================ */

.pro-builder {
  position: relative;
  transition: grid-template-columns 220ms ease;
}

.pro-builder.is-editor-mode .pro-builder-main {
  grid-template-rows: 64px minmax(0, 1fr) 60px;
}

.pro-builder.is-editor-mode .pro-builder-header {
  padding-inline: 20px;
}

.pro-builder.is-editor-mode .pro-editor-panel {
  width: calc(100% - 28px);
  max-width: 1120px;
  padding: 22px 0 38px;
}

.pro-builder.is-editor-mode .pro-editor-shell {
  grid-template-columns: 252px minmax(0, 1fr);
}

.pro-editor-title-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.pro-editor-focus-button {
  display: flex;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #d7dad3;
  border-radius: 12px;
  background: #fff;
  color: var(--pro-ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 8px;
  font-weight: 900;
}

.pro-editor-focus-button span { color: #7d9500; font-size: 13px; }
.pro-editor-focus-button i { font-style: normal; white-space: nowrap; }

.pro-block-library {
  max-height: min(590px, calc(100dvh - 238px));
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #adb3a8 transparent;
  scrollbar-width: thin;
}

.pro-block-library::-webkit-scrollbar { width: 7px; }
.pro-block-library::-webkit-scrollbar-thumb { border: 2px solid #fff; border-radius: 999px; background: #adb3a8; }

.pro-block-search {
  display: grid;
  min-height: 36px;
  margin: 0 2px 8px;
  padding: 0 10px;
  border: 1px solid #dde0d9;
  border-radius: 10px;
  background: #f7f8f4;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 4px;
}

.pro-block-search span { color: #7c8279; font-size: 13px; }
.pro-block-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: #111511; font-size: 7px; font-weight: 700; }
.pro-block-search input::placeholder { color: #9ca198; }

.pro-block-groups {
  display: grid;
  margin: 0 2px 10px;
  padding-bottom: 3px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.pro-block-groups button {
  min-width: 0;
  min-height: 24px;
  padding: 0 5px;
  border: 1px solid #dfe2dc;
  border-radius: 999px;
  background: #fff;
  color: #777d74;
  cursor: pointer;
  font-size: 6px;
  font-weight: 850;
}

.pro-block-groups button.is-active { border-color: #111511; background: #111511; color: var(--pro-lime); }
.pro-block-empty { margin: 12px 3px 4px; color: #8b9188; font-size: 7px; line-height: 1.5; text-align: center; }

.pro-builder.is-editor-mode .pro-block-library-grid button {
  min-height: 70px;
}

.pro-builder.is-editor-mode .pro-block-library-grid button small {
  display: -webkit-box;
  margin-top: 3px;
  color: #92978f;
  font-size: 5px;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.pro-editor-item.is-three {
  grid-template-columns: 24px minmax(82px, .65fr) minmax(110px, 1fr) minmax(110px, 1.35fr) 26px;
}

.pro-editor-item.is-three > input:nth-last-of-type(1) { min-width: 80px; }

.pro-ai-dialog {
  width: min(760px, 100%);
}

.pro-ai-understands {
  display: flex;
  margin: 12px 0 10px;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pro-ai-understands::-webkit-scrollbar { display: none; }
.pro-ai-understands span {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid #e1e4dd;
  border-radius: 999px;
  background: #f7f8f4;
  color: #6f756c;
  font-size: 6px;
  font-weight: 850;
}

.pro-ai-safety {
  display: grid;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid #dce5bf;
  border-radius: 12px;
  background: #f6faea;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.pro-ai-safety b { color: #536500; font-size: 7px; }
.pro-ai-safety span { color: #7c8374; font-size: 6px; line-height: 1.4; }

.pro-ai-progress {
  position: relative;
  margin: 10px 0;
  padding-top: 9px;
  border-top: 2px solid #e7e9e3;
}

.pro-ai-progress > span {
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: #769000;
  transition: width 240ms ease;
}

.pro-ai-progress p { margin: 0; color: #737a70; font-size: 7px; font-weight: 800; }

.pro-preview-head { align-items: center; }
.pro-preview-head > span b { font: inherit; }
.pro-preview-head > .pro-preview-head-actions {
  display: flex;
  padding: 0;
  border-radius: 0;
  background: transparent;
  align-items: center;
  gap: 6px;
}

.pro-device-switch {
  display: flex;
  padding: 3px;
  border-radius: 9px;
  background: rgba(255,255,255,.08);
  gap: 2px;
}

.pro-preview-head .pro-ai-edit-button {
  display: none;
  width: auto;
  min-width: 92px;
  padding: 0 12px;
  background: var(--pro-lime);
  color: #111511;
  font-size: 7px;
  font-weight: 900;
  gap: 5px;
}

.pro-preview-head .pro-preview-focus-button {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: #fff;
}

.pro-builder.is-ai-page-mode .pro-ai-edit-button { display: flex; }

.pro-builder.is-editor-focus,
.pro-builder.is-preview-focus {
  grid-template-columns: minmax(0, 1fr) !important;
}

.pro-builder.is-editor-focus .pro-builder-preview { display: none; }
.pro-builder.is-editor-focus .pro-editor-panel { width: min(1180px, calc(100% - 36px)); max-width: none; }
.pro-builder.is-editor-focus .pro-editor-shell { grid-template-columns: 300px minmax(0, 1fr); gap: 18px; }
.pro-builder.is-editor-focus .pro-block-library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pro-builder.is-preview-focus .pro-builder-main { display: none; }
.pro-builder.is-preview-focus .pro-builder-preview {
  display: grid;
  padding: 14px 22px 10px;
  grid-template-rows: 40px minmax(0, 1fr) 24px;
}

.pro-builder.is-preview-focus .pro-preview-stage { padding: 0; }
.pro-builder.is-preview-focus .pro-preview-stage .pro-phone-shell.is-builder-phone {
  width: min(420px, 94%);
  height: min(720px, 100%);
  transform: none !important;
}

.pro-builder.is-preview-focus .pro-preview-stage.is-desktop .pro-phone-shell.is-builder-phone {
  width: min(1180px, 97%);
  height: min(680px, 97%);
  border-radius: 18px;
  transform: none !important;
}

.pro-builder.is-ai-page-mode .pro-builder-preview {
  background:
    radial-gradient(circle at 50% 40%, rgba(217,255,79,.1), transparent 38%),
    #0d100e;
}

@media (min-width: 1281px) {
  .pro-builder.is-editor-mode:not(.is-editor-focus):not(.is-preview-focus) {
    grid-template-columns: minmax(770px, 1.55fr) minmax(420px, .75fr);
  }
}

@media (max-width: 1280px) and (min-width: 901px) {
  .pro-builder.is-editor-mode:not(.is-editor-focus):not(.is-preview-focus) {
    grid-template-columns: minmax(620px, 1.2fr) minmax(390px, .8fr);
  }
  .pro-builder.is-editor-mode .pro-editor-shell { grid-template-columns: 232px minmax(0, 1fr); }
  .pro-builder.is-editor-mode .pro-block-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .pro-editor-title-actions { width: 100%; justify-content: stretch; }
  .pro-editor-title-actions > button { flex: 1; }
  .pro-editor-focus-button { display: none; }
  .pro-builder.is-editor-mode .pro-editor-shell { grid-template-columns: 1fr; }
  .pro-block-library { position: static; max-height: none; }
  .pro-builder.is-editor-mode .pro-block-library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pro-builder.is-preview-focus .pro-builder-preview { display: grid; }
}

@media (max-width: 620px) {
  .pro-builder.is-editor-mode .pro-block-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-ai-safety { grid-template-columns: 1fr; gap: 3px; }
  .pro-ai-understands span { font-size: 7px; }
  .pro-preview-head .pro-ai-edit-button { min-width: 78px; padding-inline: 9px; }
}
